@swagger-api/apidom-parser-adapter-asyncapi-yaml-3 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterAsyncApiYaml3=t():e.apidomParserAdapterAsyncApiYaml3=t()}(self,(()=>(()=>{var __webpack_modules__={85:(e,t,s)=>{"use strict";s(9828);var n=s(1100),i=s(8900),r=s(1811),o=s(6625);for(var a in n)r(i[a],a),o[a]=o.Array},88:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).get(e)}},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},164:(e,t,s)=>{"use strict";var n=s(9098),i=s(4713),r=s(4871),o=s(3410),a=s(2769),c=s(1926),l=s(3671),u=s(3491),d=s(1811),m=s(3999),p=s(3508),h=s(8655),g=s(6625),_=s(2621),f=o.PROPER,b=o.CONFIGURABLE,v=_.IteratorPrototype,y=_.BUGGY_SAFARI_ITERATORS,x=h("iterator"),E="keys",w="values",S="entries",j=function(){return this};e.exports=function(e,t,s,o,h,_,B){c(s,t,o);var O,M,$,P=function(e){if(e===h&&q)return q;if(!y&&e&&e in T)return T[e];switch(e){case E:case w:case S:return function(){return new s(this,e)}}return function(){return new s(this)}},A=t+" Iterator",C=!1,T=e.prototype,F=T[x]||T["@@iterator"]||h&&T[h],q=!y&&F||P(h),I="Array"===t&&T.entries||F;if(I&&(O=l(I.call(new e)))!==Object.prototype&&O.next&&(r||l(O)===v||(u?u(O,v):a(O[x])||p(O,x,j)),d(O,A,!0,!0),r&&(g[A]=j)),f&&h===w&&F&&F.name!==w&&(!r&&b?m(T,"name",w):(C=!0,q=function(){return i(F,this)})),h)if(M={values:P(w),keys:_?q:P(E),entries:P(S)},B)for($ in M)(y||C||!($ in T))&&p(T,$,M[$]);else n({target:t,proto:!0,forced:y||C},M);return r&&!B||T[x]===q||p(T,x,q,{name:h}),g[t]=q,M}},195:(e,t,s)=>{var n=s(4882),i=s(8121),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var s in Object(e))r.call(e,s)&&"constructor"!=s&&t.push(s);return t}},208:(e,t,s)=>{"use strict";var n=s(4572),i=s(4713),r=s(7235),o=s(459),a=s(2877),c=s(8130),l=s(4317),u=s(1613),d=s(967),m=s(1743),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},g=h.prototype;e.exports=function(e,t,s){var _,f,b,v,y,x,E,w=s&&s.that,S=!(!s||!s.AS_ENTRIES),j=!(!s||!s.IS_RECORD),B=!(!s||!s.IS_ITERATOR),O=!(!s||!s.INTERRUPTED),M=n(t,w),$=function(e){return _&&m(_,"normal",e),new h(!0,e)},P=function(e){return S?(r(e),O?M(e[0],e[1],$):M(e[0],e[1])):O?M(e,$):M(e)};if(j)_=e.iterator;else if(B)_=e;else{if(!(f=d(e)))throw new p(o(e)+" is not iterable");if(a(f)){for(b=0,v=c(e);v>b;b++)if((y=P(e[b]))&&l(g,y))return y;return new h(!1)}_=u(e,f)}for(x=j?e.next:_.next;!(E=i(x,_)).done;){try{y=P(E.value)}catch(e){m(_,"throw",e)}if("object"==typeof y&&y&&l(g,y))return y}return new h(!1)}},239:(e,t,s)=>{"use strict";s(5442);var n=s(6656);s(85),e.exports=n},262:(e,t,s)=>{"use strict";var n=s(2769);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},353:(e,t,s)=>{var n=s(1340),i=s(3934),r=s(8861),o=s(1182),a=s(8486),c=s(3142),l=s(5853),u=s(8666),d="[object Arguments]",m="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,g,_,f){var b=c(e),v=c(t),y=b?m:a(e),x=v?m:a(t),E=(y=y==d?p:y)==p,w=(x=x==d?p:x)==p,S=y==x;if(S&&l(e)){if(!l(t))return!1;b=!0,E=!1}if(S&&!E)return f||(f=new n),b||u(e)?i(e,t,s,g,_,f):r(e,t,y,s,g,_,f);if(!(1&s)){var j=E&&h.call(e,"__wrapped__"),B=w&&h.call(t,"__wrapped__");if(j||B){var O=j?e.value():e,M=B?t.value():t;return f||(f=new n),_(O,M,s,g,f)}}return!!S&&(f||(f=new n),o(e,t,s,g,_,f))}},358:(e,t,s)=>{var n=s(6137),i=s(3283),r=s(3142),o=s(5853),a=s(9632),c=s(8666),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var s=r(e),u=!s&&i(e),d=!s&&!u&&o(e),m=!s&&!u&&!d&&c(e),p=s||u||d||m,h=p?n(e.length,String):[],g=h.length;for(var _ in e)!t&&!l.call(e,_)||p&&("length"==_||d&&("offset"==_||"parent"==_)||m&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||a(_,g))||h.push(_);return h}},393:(e,t,s)=>{var n=s(8244),i=s(7979),r=s(1211);e.exports=function(e){return n(e,r,i)}},394:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const s=this.serialiseContent(e.content);return void 0!==s&&(t.content=s),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const s=this.deserialiseContent(e.content);return void 0===s&&null!==t.content||(t.content=s),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,s)=>{e&&(t[s.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},459:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},480:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},484:(e,t,s)=>{"use strict";var n=s(9098),i=s(8900),r=s(7013),o=s(6453),a="WebAssembly",c=i[a],l=7!==new Error("e",{cause:7}).cause,u=function(e,t){var s={};s[e]=o(e,t,l),n({global:!0,constructor:!0,arity:1,forced:l},s)},d=function(e,t){if(c&&c[e]){var s={};s[e]=o(a+"."+e,t,l),n({target:a,stat:!0,constructor:!0,arity:1,forced:l},s)}};u("Error",(function(e){return function(t){return r(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return r(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return r(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return r(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return r(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return r(e,this,arguments)}})),u("URIError",(function(e){return function(t){return r(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return r(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return r(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return r(e,this,arguments)}}))},493:(e,t,s)=>{"use strict";var n=s(4713),i=s(262),r=s(6281),o=s(4674),a=s(9258),c=s(8655),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||r(e))return e;var s,c=o(e,u);if(c){if(void 0===t&&(t="default"),s=n(c,e,t),!i(s)||r(s))return s;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},593:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},674:(e,t,s)=>{var n=s(7379),i=s(5387),r=s(547),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&i(e.length)&&!!o[n(e)]}},701:(e,t,s)=>{"use strict";var n=s(6100),i=s(2137),r=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(i(e),t)}},814:(e,t,s)=>{"use strict";var n=s(2769),i=s(459),r=TypeError;e.exports=function(e){if(n(e))return e;throw new r(i(e)+" is not a function")}},877:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},967:(e,t,s)=>{"use strict";var n=s(8407),i=s(4674),r=s(3057),o=s(6625),a=s(8655)("iterator");e.exports=function(e){if(!r(e))return i(e,a)||i(e,"@@iterator")||o[n(e)]}},986:(e,t,s)=>{var n=s(7379),i=s(547);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==n(e)}},1003:(e,t,s)=>{"use strict";var n=s(8099),i=s(8900),r=s(2769),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},1005:(e,t,s)=>{"use strict";var n=s(3273),i=s(4574),r=s(8130),o=function(e){return function(t,s,o){var a=n(t),c=r(a);if(0===c)return!e&&-1;var l,u=i(o,c);if(e&&s!=s){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===s)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},1100:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},1112:(e,t,s)=>{var n=s(4497),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var s=t[e];return"__lodash_hash_undefined__"===s?void 0:s}return i.call(t,e)?t[e]:void 0}},1129:e=>{e.exports=function(e,t){for(var s=-1,n=t.length,i=e.length;++s<n;)e[i+s]=t[s];return e}},1139:(e,t,s)=>{"use strict";var n=s(8407),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},1182:(e,t,s)=>{var n=s(393),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,r,o,a){var c=1&s,l=n(e),u=l.length;if(u!=n(t).length&&!c)return!1;for(var d=u;d--;){var m=l[d];if(!(c?m in t:i.call(t,m)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var g=!0;a.set(e,t),a.set(t,e);for(var _=c;++d<u;){var f=e[m=l[d]],b=t[m];if(r)var v=c?r(b,f,m,t,e,a):r(f,b,m,e,t,a);if(!(void 0===v?f===b||o(f,b,s,r,a):v)){g=!1;break}_||(_="constructor"==m)}if(g&&!_){var y=e.constructor,x=t.constructor;y==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x||(g=!1)}return a.delete(e),a.delete(t),g}},1203:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},1211:(e,t,s)=>{var n=s(358),i=s(195),r=s(6529);e.exports=function(e){return r(e)?n(e):i(e)}},1212:(e,t,s)=>{e.exports=s(8411)},1268:(e,t,s)=>{"use strict";var n=s(6100),i=0,r=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+r,36)}},1314:(e,t,s)=>{"use strict";var n=s(8900),i=s(2769),r=n.WeakMap;e.exports=i(r)&&/native code/.test(String(r))},1330:(e,t,s)=>{"use strict";var n=s(5024),i=s(1203);e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1340:(e,t,s)=>{var n=s(1386),i=s(4103),r=s(1779),o=s(4162),a=s(7462),c=s(6638);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=c,e.exports=l},1386:(e,t,s)=>{var n=s(2393),i=s(2049),r=s(7144),o=s(7452),a=s(3964);function c(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},1395:(e,t,s)=>{"use strict";var n=s(6100),i=s(1203),r=s(9932),o=Object,a=n("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?a(e,""):o(e)}:o},1517:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},1613:(e,t,s)=>{"use strict";var n=s(4713),i=s(814),r=s(7235),o=s(459),a=s(967),c=TypeError;e.exports=function(e,t){var s=arguments.length<2?a(e):t;if(i(s))return r(n(s,e));throw new c(o(e)+" is not iterable")}},1623:(e,t,s)=>{var n=s(8942).Uint8Array;e.exports=n},1743:(e,t,s)=>{"use strict";var n=s(4713),i=s(7235),r=s(4674);e.exports=function(e,t,s){var o,a;i(e);try{if(!(o=r(e,"return"))){if("throw"===t)throw s;return s}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw s;if(a)throw o;return i(o),s}},1779:e=>{e.exports=function(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}},1780:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},1811:(e,t,s)=>{"use strict";var n=s(4904),i=s(9989).f,r=s(3999),o=s(701),a=s(9559),c=s(8655)("toStringTag");e.exports=function(e,t,s,l){var u=s?e:e&&e.prototype;u&&(o(u,c)||i(u,c,{configurable:!0,value:t}),l&&!n&&r(u,"toString",a))}},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1926:(e,t,s)=>{"use strict";var n=s(2621).IteratorPrototype,i=s(5780),r=s(480),o=s(1811),a=s(6625),c=function(){return this};e.exports=function(e,t,s,l){var u=t+" Iterator";return e.prototype=i(n,{next:r(+!l,s)}),o(e,u,!1,!0),a[u]=c,e}},1950:(e,t,s)=>{var n=s(8942)["__core-js_shared__"];e.exports=n},1966:(e,t,s)=>{"use strict";var n=s(2937),i=String,r=TypeError;e.exports=function(e){if(n(e))return e;throw new r("Can't set "+i(e)+" as a prototype")}},2049:(e,t,s)=>{var n=s(7034),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,s=n(t,e);return!(s<0)&&(s==t.length-1?t.pop():i.call(t,s,1),--this.size,!0)}},2137:(e,t,s)=>{"use strict";var n=s(5426),i=Object;e.exports=function(e){return i(n(e))}},2306:(e,t,s)=>{e=s.nmd(e);var n=s(4967),i=t&&!t.nodeType&&t,r=i&&e&&!e.nodeType&&e,o=r&&r.exports===i&&n.process,a=function(){try{var e=r&&r.require&&r.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},2322:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2536:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}}},2555:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}}},2563:(e,t,s)=>{var n=s(7379),i=s(547);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==n(e)}},2621:(e,t,s)=>{"use strict";var n,i,r,o=s(1203),a=s(2769),c=s(262),l=s(5780),u=s(3671),d=s(3508),m=s(8655),p=s(4871),h=m("iterator"),g=!1;[].keys&&("next"in(r=[].keys())?(i=u(u(r)))!==Object.prototype&&(n=i):g=!0),!c(n)||o((function(){var e={};return n[h].call(e)!==e}))?n={}:p&&(n=l(n)),a(n[h])||d(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},2769:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},2871:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},2877:(e,t,s)=>{"use strict";var n=s(8655),i=s(6625),r=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},2937:(e,t,s)=>{"use strict";var n=s(262);e.exports=function(e){return n(e)||null===e}},3004:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||null,t,s),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3057:e=>{"use strict";e.exports=function(e){return null==e}},3078:()=>{},3085:(e,t,s)=>{"use strict";var n=s(9098),i=s(4317),r=s(3671),o=s(3491),a=s(7464),c=s(5780),l=s(3999),u=s(480),d=s(8148),m=s(4279),p=s(208),h=s(4879),g=s(8655)("toStringTag"),_=Error,f=[].push,b=function(e,t){var s,n=i(v,this);o?s=o(new _,n?r(this):v):(s=n?this:c(v),l(s,g,"Error")),void 0!==t&&l(s,"message",h(t)),m(s,b,s.stack,1),arguments.length>2&&d(s,arguments[2]);var a=[];return p(e,f,{that:a}),l(s,"errors",a),s};o?o(b,_):a(b,_,{name:!0});var v=b.prototype=c(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},3103:(e,t,s)=>{var n=s(4715)(s(8942),"DataView");e.exports=n},3142:e=>{var t=Array.isArray;e.exports=t},3148:(e,t,s)=>{const n=s(394);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const s={element:e.element};e._meta&&e._meta.length>0&&(s.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(s.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(s.attributes=this.serialiseObject(n))}if(n)s.content=this.enumSerialiseContent(e,s);else if(this[`${e.element}SerialiseContent`])s.content=this[`${e.element}SerialiseContent`](e,s);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(s.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(s.content=[]);return s}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),s=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let i=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),i.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==s.length&&i.unshift(e.content),i=i.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),i.length&&t.set("samples",i),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),s=new t;s.element!==e.element&&(s.element=e.element),e.meta&&this.deserialiseObject(e.meta,s.meta),e.attributes&&this.deserialiseObject(e.attributes,s.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==s.content||(s.content=n),"enum"===s.element){s.content&&s.attributes.set("enumerations",s.content);let e=s.attributes.get("samples");if(s.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const i=new t(n);i.element=s.element,e.push(i)}))}));const i=e.shift();s.content=i?i.content:void 0,s.attributes.set("samples",e)}else s.content=void 0;let n=s.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=s.element,s.attributes.set("default",e)}}else if("dataStructure"===s.element&&Array.isArray(s.content))[s.content]=s.content;else if("category"===s.element){const e=s.attributes.get("meta");e&&(s.attributes.set("metadata",e),s.attributes.remove("meta"))}else"member"===s.element&&s.key&&s.key._attributes&&s.key._attributes.getValue("variable")&&(s.attributes.set("variable",s.key.attributes.get("variable")),s.key.attributes.remove("variable"));return s}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,s)=>{if(e){const n=s.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},3212:(e,t,s)=>{var n=s(8250),i=s(1877),r=s(8006);function o(e){var t=-1,s=null==e?0:e.length;for(this.__data__=new n;++t<s;)this.add(e[t])}o.prototype.add=o.prototype.push=i,o.prototype.has=r,e.exports=o},3273:(e,t,s)=>{"use strict";var n=s(1395),i=s(5426);e.exports=function(e){return n(i(e))}},3283:(e,t,s)=>{var n=s(6027),i=s(547),r=Object.prototype,o=r.hasOwnProperty,a=r.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return i(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},3305:(e,t,s)=>{var n=s(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},3311:(e,t,s)=>{const n=s(1517),i=s(4123);class r extends i{map(e,t){return this.elements.map((s=>e.bind(t)(s.value,s.key,s)))}filter(e,t){return new r(this.elements.filter((s=>e.bind(t)(s.value,s.key,s))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((s,n)=>{e.bind(t)(s.value,s.key,s,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=r},3410:(e,t,s)=>{"use strict";var n=s(5024),i=s(701),r=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(r,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&o(r,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},3489:(e,t,s)=>{"use strict";var n=s(1003);e.exports=n("document","documentElement")},3491:(e,t,s)=>{"use strict";var n=s(3574),i=s(262),r=s(5426),o=s(1966);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,s={};try{(e=n(Object.prototype,"__proto__","set"))(s,[]),t=s instanceof Array}catch(e){}return function(s,n){return r(s),o(n),i(s)?(t?e(s,n):s.__proto__=n,s):s}}():void 0)},3507:(e,t,s)=>{"use strict";var n=s(2769),i=s(262),r=s(3491);e.exports=function(e,t,s){var o,a;return r&&n(o=t.constructor)&&o!==s&&i(a=o.prototype)&&a!==s.prototype&&r(e,a),e}},3508:(e,t,s)=>{"use strict";var n=s(3999);e.exports=function(e,t,s,i){return i&&i.enumerable?e[t]=s:n(e,t,s),e}},3531:(e,t,s)=>{"use strict";var n=s(8900).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},3574:(e,t,s)=>{"use strict";var n=s(6100),i=s(814);e.exports=function(e,t,s){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[s]))}catch(e){}}},3655:(e,t,s)=>{var n=s(7379),i=s(1580);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},3671:(e,t,s)=>{"use strict";var n=s(701),i=s(2769),r=s(2137),o=s(4275),a=s(2871),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=r(e);if(n(t,c))return t[c];var s=t.constructor;return i(s)&&t instanceof s?s.prototype:t instanceof l?u:null}},3753:(e,t,s)=>{"use strict";var n=s(4871),i=s(8900),r=s(7525),o="__core-js_shared__",a=e.exports=i[o]||r(o,{});(a.versions||(a.versions=[])).push({version:"3.42.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},3766:e=>{e.exports=function(e,t){return function(s){return e(t(s))}}},3832:(e,t,s)=>{"use strict";var n=s(5571).charAt,i=s(1139),r=s(8417),o=s(164),a=s(877),c="String Iterator",l=r.set,u=r.getterFor(c);o(String,"String",(function(e){l(this,{type:c,string:i(e),index:0})}),(function(){var e,t=u(this),s=t.string,i=t.index;return i>=s.length?a(void 0,!0):(e=n(s,i),t.index+=e.length,a(e,!1))}))},3833:(module,__unused_webpack_exports,__webpack_require__)=>{var __dirname="/",Module=void 0!==Module?Module:{},ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,TreeSitter=function(){var initPromise,document="object"==typeof window?{currentScript:window.document.currentScript}:null;class Parser{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(moduleOptions){return initPromise||(Module=Object.assign({},Module,moduleOptions),initPromise=new Promise((resolveInitPromise=>{var moduleOverrides=Object.assign({},Module),arguments_=[],thisProgram="./this.program",quit_=(e,t)=>{throw t},scriptDirectory="",readAsync,readBinary;function locateFile(e){return Module.locateFile?Module.locateFile(e,scriptDirectory):scriptDirectory+e}if(ENVIRONMENT_IS_NODE){var fs=__webpack_require__(3078),nodePath=__webpack_require__(4142);scriptDirectory=__dirname+"/",readBinary=e=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFileSync(e)),readAsync=(e,t=!0)=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),new Promise(((s,n)=>{fs.readFile(e,t?void 0:"utf8",((e,i)=>{e?n(e):s(t?i.buffer:i)}))}))),!Module.thisProgram&&process.argv.length>1&&(thisProgram=process.argv[1].replace(/\\/g,"/")),arguments_=process.argv.slice(2),module.exports=Module,quit_=(e,t)=>{throw process.exitCode=e,t}}else(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:void 0!==document&&document.currentScript&&(scriptDirectory=document.currentScript.src),scriptDirectory=scriptDirectory.startsWith("blob:")?"":scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1),ENVIRONMENT_IS_WORKER&&(readBinary=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),readAsync=e=>isFileURI(e)?new Promise(((t,s)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{(200==n.status||0==n.status&&n.response)&&s(n.response),t(n.status)},n.onerror=t,n.send(null)})):fetch(e,{credentials:"same-origin"}).then((e=>e.ok?e.arrayBuffer():Promise.reject(new Error(e.status+" : "+e.url)))));var out=Module.print||console.log.bind(console),err=Module.printErr||console.error.bind(console);Object.assign(Module,moduleOverrides),moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var dynamicLibraries=Module.dynamicLibraries||[],wasmBinary,wasmMemory;Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var ABORT=!1,EXITSTATUS,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64,HEAP_DATA_VIEW;function updateMemoryViews(){var e=wasmMemory.buffer;Module.HEAP_DATA_VIEW=HEAP_DATA_VIEW=new DataView(e),Module.HEAP8=HEAP8=new Int8Array(e),Module.HEAP16=HEAP16=new Int16Array(e),Module.HEAPU8=HEAPU8=new Uint8Array(e),Module.HEAPU16=HEAPU16=new Uint16Array(e),Module.HEAP32=HEAP32=new Int32Array(e),Module.HEAPU32=HEAPU32=new Uint32Array(e),Module.HEAPF32=HEAPF32=new Float32Array(e),Module.HEAPF64=HEAPF64=new Float64Array(e)}if(Module.wasmMemory)wasmMemory=Module.wasmMemory;else{var INITIAL_MEMORY=Module.INITIAL_MEMORY||33554432;wasmMemory=new WebAssembly.Memory({initial:INITIAL_MEMORY/65536,maximum:32768})}updateMemoryViews();var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATPOSTRUN__=[],__RELOC_FUNCS__=[],runtimeInitialized=!1;function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,callRuntimeCallbacks(__RELOC_FUNCS__),callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(e){return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies?.(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies?.(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}function abort(e){throw Module.onAbort?.(e),err(e="Aborted("+e+")"),ABORT=!0,EXITSTATUS=1,e+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(e)}var dataURIPrefix="data:application/octet-stream;base64,",isDataURI=e=>e.startsWith(dataURIPrefix),isFileURI=e=>e.startsWith("file://"),wasmBinaryFile;function findWasmBinary(){var e="tree-sitter.wasm";return isDataURI(e)?e:locateFile(e)}function getBinarySync(e){if(e==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(e);throw"both async and sync fetching of the wasm failed"}function getBinaryPromise(e){return wasmBinary?Promise.resolve().then((()=>getBinarySync(e))):readAsync(e).then((e=>new Uint8Array(e)),(()=>getBinarySync(e)))}function instantiateArrayBuffer(e,t,s){return getBinaryPromise(e).then((e=>WebAssembly.instantiate(e,t))).then(s,(e=>{err(`failed to asynchronously prepare wasm: ${e}`),abort(e)}))}function instantiateAsync(e,t,s,n){return e||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(t)||isFileURI(t)||ENVIRONMENT_IS_NODE||"function"!=typeof fetch?instantiateArrayBuffer(t,s,n):fetch(t,{credentials:"same-origin"}).then((e=>WebAssembly.instantiateStreaming(e,s).then(n,(function(e){return err(`wasm streaming compile failed: ${e}`),err("falling back to ArrayBuffer instantiation"),instantiateArrayBuffer(t,s,n)}))))}function getWasmImports(){return{env:wasmImports,wasi_snapshot_preview1:wasmImports,"GOT.mem":new Proxy(wasmImports,GOTHandler),"GOT.func":new Proxy(wasmImports,GOTHandler)}}function createWasm(){var e=getWasmImports();function t(e,t){wasmExports=e.exports,wasmExports=relocateExports(wasmExports,1024);var s=getDylinkMetadata(t);return s.neededDynlibs&&(dynamicLibraries=s.neededDynlibs.concat(dynamicLibraries)),mergeLibSymbols(wasmExports,"main"),LDSO.init(),loadDylibs(),addOnInit(wasmExports.__wasm_call_ctors),__RELOC_FUNCS__.push(wasmExports.__wasm_apply_data_relocs),removeRunDependency("wasm-instantiate"),wasmExports}if(addRunDependency("wasm-instantiate"),Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return err(`Module.instantiateWasm callback failed with error: ${e}`),!1}return wasmBinaryFile||(wasmBinaryFile=findWasmBinary()),instantiateAsync(wasmBinary,wasmBinaryFile,e,(function(e){t(e.instance,e.module)})),{}}var ASM_CONSTS={};function ExitStatus(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}var GOT={},currentModuleWeakSymbols=new Set([]),GOTHandler={get(e,t){var s=GOT[t];return s||(s=GOT[t]=new WebAssembly.Global({value:"i32",mutable:!0})),currentModuleWeakSymbols.has(t)||(s.required=!0),s}},LE_HEAP_LOAD_F32=e=>HEAP_DATA_VIEW.getFloat32(e,!0),LE_HEAP_LOAD_F64=e=>HEAP_DATA_VIEW.getFloat64(e,!0),LE_HEAP_LOAD_I16=e=>HEAP_DATA_VIEW.getInt16(e,!0),LE_HEAP_LOAD_I32=e=>HEAP_DATA_VIEW.getInt32(e,!0),LE_HEAP_LOAD_U32=e=>HEAP_DATA_VIEW.getUint32(e,!0),LE_HEAP_STORE_F32=(e,t)=>HEAP_DATA_VIEW.setFloat32(e,t,!0),LE_HEAP_STORE_F64=(e,t)=>HEAP_DATA_VIEW.setFloat64(e,t,!0),LE_HEAP_STORE_I16=(e,t)=>HEAP_DATA_VIEW.setInt16(e,t,!0),LE_HEAP_STORE_I32=(e,t)=>HEAP_DATA_VIEW.setInt32(e,t,!0),LE_HEAP_STORE_U32=(e,t)=>HEAP_DATA_VIEW.setUint32(e,t,!0),callRuntimeCallbacks=e=>{for(;e.length>0;)e.shift()(Module)},UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder:void 0,UTF8ArrayToString=(e,t,s)=>{for(var n=t+s,i=t;e[i]&&!(i>=n);)++i;if(i-t>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,i));for(var r="";t<i;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)r+=String.fromCharCode(o);else{var l=o-65536;r+=String.fromCharCode(55296|l>>10,56320|1023&l)}}else r+=String.fromCharCode((31&o)<<6|a)}else r+=String.fromCharCode(o)}return r},getDylinkMetadata=e=>{var t=0,s=0;function n(){for(var s=0,n=1;;){var i=e[t++];if(s+=(127&i)*n,n*=128,!(128&i))break}return s}function i(){var s=n();return UTF8ArrayToString(e,(t+=s)-s,s)}function r(e,t){if(e)throw new Error(t)}var o="dylink.0";if(e instanceof WebAssembly.Module){var a=WebAssembly.Module.customSections(e,o);0===a.length&&(o="dylink",a=WebAssembly.Module.customSections(e,o)),r(0===a.length,"need dylink section"),s=(e=new Uint8Array(a[0])).length}else{var c=new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer);r(!(1836278016==c[0]||6386541==c[0]),"need to see wasm magic number"),r(0!==e[8],"need the dylink section to be first"),t=9;var l=n();s=t+l,o=i()}var u={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if("dylink"==o){u.memorySize=n(),u.memoryAlign=n(),u.tableSize=n(),u.tableAlign=n();for(var d=n(),m=0;m<d;++m){var p=i();u.neededDynlibs.push(p)}}else{r("dylink.0"!==o);for(;t<s;){var h=e[t++],g=n();if(1===h)u.memorySize=n(),u.memoryAlign=n(),u.tableSize=n(),u.tableAlign=n();else if(2===h)for(d=n(),m=0;m<d;++m)p=i(),u.neededDynlibs.push(p);else if(3===h)for(var _=n();_--;){var f=i();256&n()&&u.tlsExports.add(f)}else if(4===h)for(_=n();_--;){i(),f=i();1==(3&n())&&u.weakImports.add(f)}else t+=g}}return u};function getValue(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return HEAP8[e];case"i16":return LE_HEAP_LOAD_I16(2*(e>>1));case"i32":return LE_HEAP_LOAD_I32(4*(e>>2));case"i64":abort("to do getValue(i64) use WASM_BIGINT");case"float":return LE_HEAP_LOAD_F32(4*(e>>2));case"double":return LE_HEAP_LOAD_F64(8*(e>>3));case"*":return LE_HEAP_LOAD_U32(4*(e>>2));default:abort(`invalid type for getValue: ${t}`)}}var newDSO=(e,t,s)=>{var n={refcount:1/0,name:e,exports:s,global:!0};return LDSO.loadedLibsByName[e]=n,null!=t&&(LDSO.loadedLibsByHandle[t]=n),n},LDSO={loadedLibsByName:{},loadedLibsByHandle:{},init(){newDSO("__main__",0,wasmImports)}},___heap_base=78112,zeroMemory=(e,t)=>(HEAPU8.fill(0,e,e+t),e),alignMemory=(e,t)=>Math.ceil(e/t)*t,getMemory=e=>{if(runtimeInitialized)return zeroMemory(_malloc(e),e);var t=___heap_base,s=t+alignMemory(e,16);return ___heap_base=s,GOT.__heap_base.value=s,t},isInternalSym=e=>["__cpp_exception","__c_longjmp","__wasm_apply_data_relocs","__dso_handle","__tls_size","__tls_align","__set_stack_limits","_emscripten_tls_init","__wasm_init_tls","__wasm_call_ctors","__start_em_asm","__stop_em_asm","__start_em_js","__stop_em_js"].includes(e)||e.startsWith("__em_js__"),uleb128Encode=(e,t)=>{e<128?t.push(e):t.push(e%128|128,e>>7)},sigToWasmTypes=e=>{for(var t={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"},s={parameters:[],results:"v"==e[0]?[]:[t[e[0]]]},n=1;n<e.length;++n)s.parameters.push(t[e[n]]);return s},generateFuncType=(e,t)=>{var s=e.slice(0,1),n=e.slice(1),i={i:127,p:127,j:126,f:125,d:124,e:111};t.push(96),uleb128Encode(n.length,t);for(var r=0;r<n.length;++r)t.push(i[n[r]]);"v"==s?t.push(0):t.push(1,i[s])},convertJsFunctionToWasm=(e,t)=>{if("function"==typeof WebAssembly.Function)return new WebAssembly.Function(sigToWasmTypes(t),e);var s=[1];generateFuncType(t,s);var n=[0,97,115,109,1,0,0,0,1];uleb128Encode(s.length,n),n.push(...s),n.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var i=new WebAssembly.Module(new Uint8Array(n));return new WebAssembly.Instance(i,{e:{f:e}}).exports.f},wasmTableMirror=[],wasmTable=new WebAssembly.Table({initial:28,element:"anyfunc"}),getWasmTableEntry=e=>{var t=wasmTableMirror[e];return t||(e>=wasmTableMirror.length&&(wasmTableMirror.length=e+1),wasmTableMirror[e]=t=wasmTable.get(e)),t},updateTableMap=(e,t)=>{if(functionsInTableMap)for(var s=e;s<e+t;s++){var n=getWasmTableEntry(s);n&&functionsInTableMap.set(n,s)}},functionsInTableMap,getFunctionAddress=e=>(functionsInTableMap||(functionsInTableMap=new WeakMap,updateTableMap(0,wasmTable.length)),functionsInTableMap.get(e)||0),freeTableIndexes=[],getEmptyTableSlot=()=>{if(freeTableIndexes.length)return freeTableIndexes.pop();try{wasmTable.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return wasmTable.length-1},setWasmTableEntry=(e,t)=>{wasmTable.set(e,t),wasmTableMirror[e]=wasmTable.get(e)},addFunction=(e,t)=>{var s=getFunctionAddress(e);if(s)return s;var n=getEmptyTableSlot();try{setWasmTableEntry(n,e)}catch(s){if(!(s instanceof TypeError))throw s;var i=convertJsFunctionToWasm(e,t);setWasmTableEntry(n,i)}return functionsInTableMap.set(e,n),n},updateGOT=(e,t)=>{for(var s in e)if(!isInternalSym(s)){var n=e[s];s.startsWith("orig$")&&(s=s.split("$")[1],t=!0),GOT[s]||=new WebAssembly.Global({value:"i32",mutable:!0}),(t||0==GOT[s].value)&&("function"==typeof n?GOT[s].value=addFunction(n):"number"==typeof n?GOT[s].value=n:err(`unhandled export type for '${s}': ${typeof n}`))}},relocateExports=(e,t,s)=>{var n={};for(var i in e){var r=e[i];"object"==typeof r&&(r=r.value),"number"==typeof r&&(r+=t),n[i]=r}return updateGOT(n,s),n},isSymbolDefined=e=>{var t=wasmImports[e];return!(!t||t.stub)},dynCallLegacy=(e,t,s)=>(e=e.replace(/p/g,"i"),(0,Module["dynCall_"+e])(t,...s)),dynCall=(e,t,s=[])=>e.includes("j")?dynCallLegacy(e,t,s):getWasmTableEntry(t)(...s),stackSave=()=>_emscripten_stack_get_current(),stackRestore=e=>__emscripten_stack_restore(e),createInvokeFunction=e=>(t,...s)=>{var n=stackSave();try{return dynCall(e,t,s)}catch(e){if(stackRestore(n),e!==e+0)throw e;_setThrew(1,0)}},resolveGlobalSymbol=(e,t=!1)=>{var s;return t&&"orig$"+e in wasmImports&&(e="orig$"+e),isSymbolDefined(e)?s=wasmImports[e]:e.startsWith("invoke_")&&(s=wasmImports[e]=createInvokeFunction(e.split("_")[1])),{sym:s,name:e}},UTF8ToString=(e,t)=>e?UTF8ArrayToString(HEAPU8,e,t):"",loadWebAssemblyModule=(binary,flags,libName,localScope,handle)=>{var metadata=getDylinkMetadata(binary);function loadModule(){var firstLoad=!handle||!HEAP8[handle+8];if(firstLoad){var memAlign=Math.pow(2,metadata.memoryAlign),memoryBase=metadata.memorySize?alignMemory(getMemory(metadata.memorySize+memAlign),memAlign):0,tableBase=metadata.tableSize?wasmTable.length:0;handle&&(HEAP8[handle+8]=1,LE_HEAP_STORE_U32(4*(handle+12>>2),memoryBase),LE_HEAP_STORE_I32(4*(handle+16>>2),metadata.memorySize),LE_HEAP_STORE_U32(4*(handle+20>>2),tableBase),LE_HEAP_STORE_I32(4*(handle+24>>2),metadata.tableSize))}else memoryBase=LE_HEAP_LOAD_U32(4*(handle+12>>2)),tableBase=LE_HEAP_LOAD_U32(4*(handle+20>>2));var tableGrowthNeeded=tableBase+metadata.tableSize-wasmTable.length,moduleExports;function resolveSymbol(e){var t=resolveGlobalSymbol(e).sym;return!t&&localScope&&(t=localScope[e]),t||(t=moduleExports[e]),t}tableGrowthNeeded>0&&wasmTable.grow(tableGrowthNeeded);var proxyHandler={get(e,t){switch(t){case"__memory_base":return memoryBase;case"__table_base":return tableBase}if(t in wasmImports&&!wasmImports[t].stub)return wasmImports[t];var s;t in e||(e[t]=(...e)=>(s||=resolveSymbol(t),s(...e)));return e[t]}},proxy=new Proxy({},proxyHandler),info={"GOT.mem":new Proxy({},GOTHandler),"GOT.func":new Proxy({},GOTHandler),env:proxy,wasi_snapshot_preview1:proxy};function postInstantiation(module,instance){function addEmAsm(addr,body){for(var args=[],arity=0;arity<16&&-1!=body.indexOf("$"+arity);arity++)args.push("$"+arity);args=args.join(",");var func=`(${args}) => { ${body} };`;ASM_CONSTS[start]=eval(func)}if(updateTableMap(tableBase,metadata.tableSize),moduleExports=relocateExports(instance.exports,memoryBase),flags.allowUndefined||reportUndefinedSymbols(),"__start_em_asm"in moduleExports)for(var start=moduleExports.__start_em_asm,stop=moduleExports.__stop_em_asm;start<stop;){var jsString=UTF8ToString(start);addEmAsm(start,jsString),start=HEAPU8.indexOf(0,start)+1}function addEmJs(name,cSig,body){var jsArgs=[];if(cSig=cSig.slice(1,-1),"void"!=cSig)for(var i in cSig=cSig.split(","),cSig){var jsArg=cSig[i].split(" ").pop();jsArgs.push(jsArg.replace("*",""))}var func=`(${jsArgs}) => ${body};`;moduleExports[name]=eval(func)}for(var name in moduleExports)if(name.startsWith("__em_js__")){var start=moduleExports[name],jsString=UTF8ToString(start),parts=jsString.split("<::>");addEmJs(name.replace("__em_js__",""),parts[0],parts[1]),delete moduleExports[name]}var applyRelocs=moduleExports.__wasm_apply_data_relocs;applyRelocs&&(runtimeInitialized?applyRelocs():__RELOC_FUNCS__.push(applyRelocs));var init=moduleExports.__wasm_call_ctors;return init&&(runtimeInitialized?init():__ATINIT__.push(init)),moduleExports}if(flags.loadAsync){if(binary instanceof WebAssembly.Module){var instance=new WebAssembly.Instance(binary,info);return Promise.resolve(postInstantiation(binary,instance))}return WebAssembly.instantiate(binary,info).then((e=>postInstantiation(e.module,e.instance)))}var module=binary instanceof WebAssembly.Module?binary:new WebAssembly.Module(binary),instance=new WebAssembly.Instance(module,info);return postInstantiation(module,instance)}return currentModuleWeakSymbols=metadata.weakImports,flags.loadAsync?metadata.neededDynlibs.reduce(((e,t)=>e.then((()=>loadDynamicLibrary(t,flags,localScope)))),Promise.resolve()).then(loadModule):(metadata.neededDynlibs.forEach((e=>loadDynamicLibrary(e,flags,localScope))),loadModule())},mergeLibSymbols=(e,t)=>{for(var[s,n]of Object.entries(e)){const e=e=>{isSymbolDefined(e)||(wasmImports[e]=n)};e(s);const t="__main_argc_argv";"main"==s&&e(t),s==t&&e("main"),s.startsWith("dynCall_")&&!Module.hasOwnProperty(s)&&(Module[s]=n)}},asyncLoad=(e,t,s,n)=>{var i=n?"":getUniqueRunDependency(`al ${e}`);readAsync(e).then((e=>{t(new Uint8Array(e)),i&&removeRunDependency(i)}),(t=>{if(!s)throw`Loading data file "${e}" failed.`;s()})),i&&addRunDependency(i)};function loadDynamicLibrary(e,t={global:!0,nodelete:!0},s,n){var i=LDSO.loadedLibsByName[e];if(i)return t.global?i.global||(i.global=!0,mergeLibSymbols(i.exports,e)):s&&Object.assign(s,i.exports),t.nodelete&&i.refcount!==1/0&&(i.refcount=1/0),i.refcount++,n&&(LDSO.loadedLibsByHandle[n]=i),!t.loadAsync||Promise.resolve(!0);function r(){if(n){var s=LE_HEAP_LOAD_U32(4*(n+28>>2)),i=LE_HEAP_LOAD_U32(4*(n+32>>2));if(s&&i){var r=HEAP8.slice(s,s+i);return t.loadAsync?Promise.resolve(r):r}}var o=locateFile(e);if(t.loadAsync)return new Promise((function(e,t){asyncLoad(o,e,t)}));if(!readBinary)throw new Error(`${o}: file not found, and synchronous loading of external files is not available`);return readBinary(o)}function o(){return t.loadAsync?r().then((i=>loadWebAssemblyModule(i,t,e,s,n))):loadWebAssemblyModule(r(),t,e,s,n)}function a(t){i.global?mergeLibSymbols(t,e):s&&Object.assign(s,t),i.exports=t}return(i=newDSO(e,n,"loading")).refcount=t.nodelete?1/0:1,i.global=t.global,t.loadAsync?o().then((e=>(a(e),!0))):(a(o()),!0)}var reportUndefinedSymbols=()=>{for(var[e,t]of Object.entries(GOT))if(0==t.value){var s=resolveGlobalSymbol(e,!0).sym;if(!s&&!t.required)continue;if("function"==typeof s)t.value=addFunction(s,s.sig);else{if("number"!=typeof s)throw new Error(`bad export type for '${e}': ${typeof s}`);t.value=s}}},loadDylibs=()=>{dynamicLibraries.length?(addRunDependency("loadDylibs"),dynamicLibraries.reduce(((e,t)=>e.then((()=>loadDynamicLibrary(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})))),Promise.resolve()).then((()=>{reportUndefinedSymbols(),removeRunDependency("loadDylibs")}))):reportUndefinedSymbols()},noExitRuntime=Module.noExitRuntime||!0;function setValue(e,t,s="i8"){switch(s.endsWith("*")&&(s="*"),s){case"i1":case"i8":HEAP8[e]=t;break;case"i16":LE_HEAP_STORE_I16(2*(e>>1),t);break;case"i32":LE_HEAP_STORE_I32(4*(e>>2),t);break;case"i64":abort("to do setValue(i64) use WASM_BIGINT");case"float":LE_HEAP_STORE_F32(4*(e>>2),t);break;case"double":LE_HEAP_STORE_F64(8*(e>>3),t);break;case"*":LE_HEAP_STORE_U32(4*(e>>2),t);break;default:abort(`invalid type for setValue: ${s}`)}}var ___memory_base=new WebAssembly.Global({value:"i32",mutable:!1},1024),___stack_pointer=new WebAssembly.Global({value:"i32",mutable:!0},78112),___table_base=new WebAssembly.Global({value:"i32",mutable:!1},1),__abort_js=()=>{abort("")};__abort_js.sig="v";var nowIsMonotonic=1,__emscripten_get_now_is_monotonic=()=>nowIsMonotonic;__emscripten_get_now_is_monotonic.sig="i";var __emscripten_memcpy_js=(e,t,s)=>HEAPU8.copyWithin(e,t,t+s);__emscripten_memcpy_js.sig="vppp";var _emscripten_date_now=()=>Date.now(),_emscripten_get_now;_emscripten_date_now.sig="d",_emscripten_get_now=()=>performance.now(),_emscripten_get_now.sig="d";var getHeapMax=()=>2147483648,growMemory=e=>{var t=(e-wasmMemory.buffer.byteLength+65535)/65536;try{return wasmMemory.grow(t),updateMemoryViews(),1}catch(e){}},_emscripten_resize_heap=e=>{var t=HEAPU8.length;e>>>=0;var s=getHeapMax();if(e>s)return!1;for(var n,i,r=1;r<=4;r*=2){var o=t*(1+.2/r);o=Math.min(o,e+100663296);var a=Math.min(s,(n=Math.max(e,o))+((i=65536)-n%i)%i);if(growMemory(a))return!0}return!1};_emscripten_resize_heap.sig="ip";var _fd_close=e=>52;_fd_close.sig="ii";var convertI32PairToI53Checked=(e,t)=>t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN;function _fd_seek(e,t,s,n,i){convertI32PairToI53Checked(t,s);return 70}_fd_seek.sig="iiiiip";var printCharBuffers=[null,[],[]],printChar=(e,t)=>{var s=printCharBuffers[e];0===t||10===t?((1===e?out:err)(UTF8ArrayToString(s,0)),s.length=0):s.push(t)},_fd_write=(e,t,s,n)=>{for(var i=0,r=0;r<s;r++){var o=LE_HEAP_LOAD_U32(4*(t>>2)),a=LE_HEAP_LOAD_U32(4*(t+4>>2));t+=8;for(var c=0;c<a;c++)printChar(e,HEAPU8[o+c]);i+=a}return LE_HEAP_STORE_U32(4*(n>>2),i),0};function _tree_sitter_log_callback(e,t){if(currentLogCallback){const s=UTF8ToString(t);currentLogCallback(s,0!==e)}}function _tree_sitter_parse_callback(e,t,s,n,i){const r=currentParseCallback(t,{row:s,column:n});"string"==typeof r?(setValue(i,r.length,"i32"),stringToUTF16(r,e,10240)):setValue(i,0,"i32")}_fd_write.sig="iippp";var runtimeKeepaliveCounter=0,keepRuntimeAlive=()=>noExitRuntime||runtimeKeepaliveCounter>0,_proc_exit=e=>{EXITSTATUS=e,keepRuntimeAlive()||(Module.onExit?.(e),ABORT=!0),quit_(e,new ExitStatus(e))};_proc_exit.sig="vi";var exitJS=(e,t)=>{EXITSTATUS=e,_proc_exit(e)},handleException=e=>{if(e instanceof ExitStatus||"unwind"==e)return EXITSTATUS;quit_(1,e)},lengthBytesUTF8=e=>{for(var t=0,s=0;s<e.length;++s){var n=e.charCodeAt(s);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++s):t+=3}return t},stringToUTF8Array=(e,t,s,n)=>{if(!(n>0))return 0;for(var i=s,r=s+n-1,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o);if(a<=127){if(s>=r)break;t[s++]=a}else if(a<=2047){if(s+1>=r)break;t[s++]=192|a>>6,t[s++]=128|63&a}else if(a<=65535){if(s+2>=r)break;t[s++]=224|a>>12,t[s++]=128|a>>6&63,t[s++]=128|63&a}else{if(s+3>=r)break;t[s++]=240|a>>18,t[s++]=128|a>>12&63,t[s++]=128|a>>6&63,t[s++]=128|63&a}}return t[s]=0,s-i},stringToUTF8=(e,t,s)=>stringToUTF8Array(e,HEAPU8,t,s),stackAlloc=e=>__emscripten_stack_alloc(e),stringToUTF8OnStack=e=>{var t=lengthBytesUTF8(e)+1,s=stackAlloc(t);return stringToUTF8(e,s,t),s},stringToUTF16=(e,t,s)=>{if(s??=2147483647,s<2)return 0;for(var n=t,i=(s-=2)<2*e.length?s/2:e.length,r=0;r<i;++r){var o=e.charCodeAt(r);LE_HEAP_STORE_I16(2*(t>>1),o),t+=2}return LE_HEAP_STORE_I16(2*(t>>1),0),t-n},AsciiToString=e=>{for(var t="";;){var s=HEAPU8[e++];if(!s)return t;t+=String.fromCharCode(s)}},wasmImports={__heap_base:___heap_base,__indirect_function_table:wasmTable,__memory_base:___memory_base,__stack_pointer:___stack_pointer,__table_base:___table_base,_abort_js:__abort_js,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,_emscripten_memcpy_js:__emscripten_memcpy_js,emscripten_get_now:_emscripten_get_now,emscripten_resize_heap:_emscripten_resize_heap,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write,memory:wasmMemory,tree_sitter_log_callback:_tree_sitter_log_callback,tree_sitter_parse_callback:_tree_sitter_parse_callback},wasmExports=createWasm(),___wasm_call_ctors=()=>(___wasm_call_ctors=wasmExports.__wasm_call_ctors)(),___wasm_apply_data_relocs=()=>(___wasm_apply_data_relocs=wasmExports.__wasm_apply_data_relocs)(),_malloc=Module._malloc=e=>(_malloc=Module._malloc=wasmExports.malloc)(e),_calloc=Module._calloc=(e,t)=>(_calloc=Module._calloc=wasmExports.calloc)(e,t),_realloc=Module._realloc=(e,t)=>(_realloc=Module._realloc=wasmExports.realloc)(e,t),_free=Module._free=e=>(_free=Module._free=wasmExports.free)(e),_ts_language_symbol_count=Module._ts_language_symbol_count=e=>(_ts_language_symbol_count=Module._ts_language_symbol_count=wasmExports.ts_language_symbol_count)(e),_ts_language_state_count=Module._ts_language_state_count=e=>(_ts_language_state_count=Module._ts_language_state_count=wasmExports.ts_language_state_count)(e),_ts_language_version=Module._ts_language_version=e=>(_ts_language_version=Module._ts_language_version=wasmExports.ts_language_version)(e),_ts_language_field_count=Module._ts_language_field_count=e=>(_ts_language_field_count=Module._ts_language_field_count=wasmExports.ts_language_field_count)(e),_ts_language_next_state=Module._ts_language_next_state=(e,t,s)=>(_ts_language_next_state=Module._ts_language_next_state=wasmExports.ts_language_next_state)(e,t,s),_ts_language_symbol_name=Module._ts_language_symbol_name=(e,t)=>(_ts_language_symbol_name=Module._ts_language_symbol_name=wasmExports.ts_language_symbol_name)(e,t),_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=(e,t,s,n)=>(_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=wasmExports.ts_language_symbol_for_name)(e,t,s,n),_strncmp=Module._strncmp=(e,t,s)=>(_strncmp=Module._strncmp=wasmExports.strncmp)(e,t,s),_ts_language_symbol_type=Module._ts_language_symbol_type=(e,t)=>(_ts_language_symbol_type=Module._ts_language_symbol_type=wasmExports.ts_language_symbol_type)(e,t),_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=(e,t)=>(_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=wasmExports.ts_language_field_name_for_id)(e,t),_ts_lookahead_iterator_new=Module._ts_lookahead_iterator_new=(e,t)=>(_ts_lookahead_iterator_new=Module._ts_lookahead_iterator_new=wasmExports.ts_lookahead_iterator_new)(e,t),_ts_lookahead_iterator_delete=Module._ts_lookahead_iterator_delete=e=>(_ts_lookahead_iterator_delete=Module._ts_lookahead_iterator_delete=wasmExports.ts_lookahead_iterator_delete)(e),_ts_lookahead_iterator_reset_state=Module._ts_lookahead_iterator_reset_state=(e,t)=>(_ts_lookahead_iterator_reset_state=Module._ts_lookahead_iterator_reset_state=wasmExports.ts_lookahead_iterator_reset_state)(e,t),_ts_lookahead_iterator_reset=Module._ts_lookahead_iterator_reset=(e,t,s)=>(_ts_lookahead_iterator_reset=Module._ts_lookahead_iterator_reset=wasmExports.ts_lookahead_iterator_reset)(e,t,s),_ts_lookahead_iterator_next=Module._ts_lookahead_iterator_next=e=>(_ts_lookahead_iterator_next=Module._ts_lookahead_iterator_next=wasmExports.ts_lookahead_iterator_next)(e),_ts_lookahead_iterator_current_symbol=Module._ts_lookahead_iterator_current_symbol=e=>(_ts_lookahead_iterator_current_symbol=Module._ts_lookahead_iterator_current_symbol=wasmExports.ts_lookahead_iterator_current_symbol)(e),_memset=Module._memset=(e,t,s)=>(_memset=Module._memset=wasmExports.memset)(e,t,s),_memcpy=Module._memcpy=(e,t,s)=>(_memcpy=Module._memcpy=wasmExports.memcpy)(e,t,s),_ts_parser_delete=Module._ts_parser_delete=e=>(_ts_parser_delete=Module._ts_parser_delete=wasmExports.ts_parser_delete)(e),_ts_parser_reset=Module._ts_parser_reset=e=>(_ts_parser_reset=Module._ts_parser_reset=wasmExports.ts_parser_reset)(e),_ts_parser_set_language=Module._ts_parser_set_language=(e,t)=>(_ts_parser_set_language=Module._ts_parser_set_language=wasmExports.ts_parser_set_language)(e,t),_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=e=>(_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=wasmExports.ts_parser_timeout_micros)(e),_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=(e,t,s)=>(_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=wasmExports.ts_parser_set_timeout_micros)(e,t,s),_ts_parser_set_included_ranges=Module._ts_parser_set_included_ranges=(e,t,s)=>(_ts_parser_set_included_ranges=Module._ts_parser_set_included_ranges=wasmExports.ts_parser_set_included_ranges)(e,t,s),_memmove=Module._memmove=(e,t,s)=>(_memmove=Module._memmove=wasmExports.memmove)(e,t,s),_memcmp=Module._memcmp=(e,t,s)=>(_memcmp=Module._memcmp=wasmExports.memcmp)(e,t,s),_ts_query_new=Module._ts_query_new=(e,t,s,n,i)=>(_ts_query_new=Module._ts_query_new=wasmExports.ts_query_new)(e,t,s,n,i),_ts_query_delete=Module._ts_query_delete=e=>(_ts_query_delete=Module._ts_query_delete=wasmExports.ts_query_delete)(e),_iswspace=Module._iswspace=e=>(_iswspace=Module._iswspace=wasmExports.iswspace)(e),_iswalnum=Module._iswalnum=e=>(_iswalnum=Module._iswalnum=wasmExports.iswalnum)(e),_ts_query_pattern_count=Module._ts_query_pattern_count=e=>(_ts_query_pattern_count=Module._ts_query_pattern_count=wasmExports.ts_query_pattern_count)(e),_ts_query_capture_count=Module._ts_query_capture_count=e=>(_ts_query_capture_count=Module._ts_query_capture_count=wasmExports.ts_query_capture_count)(e),_ts_query_string_count=Module._ts_query_string_count=e=>(_ts_query_string_count=Module._ts_query_string_count=wasmExports.ts_query_string_count)(e),_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=(e,t,s)=>(_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=wasmExports.ts_query_capture_name_for_id)(e,t,s),_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=(e,t,s)=>(_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=wasmExports.ts_query_string_value_for_id)(e,t,s),_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=(e,t,s)=>(_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=wasmExports.ts_query_predicates_for_pattern)(e,t,s),_ts_query_disable_capture=Module._ts_query_disable_capture=(e,t,s)=>(_ts_query_disable_capture=Module._ts_query_disable_capture=wasmExports.ts_query_disable_capture)(e,t,s),_ts_tree_copy=Module._ts_tree_copy=e=>(_ts_tree_copy=Module._ts_tree_copy=wasmExports.ts_tree_copy)(e),_ts_tree_delete=Module._ts_tree_delete=e=>(_ts_tree_delete=Module._ts_tree_delete=wasmExports.ts_tree_delete)(e),_ts_init=Module._ts_init=()=>(_ts_init=Module._ts_init=wasmExports.ts_init)(),_ts_parser_new_wasm=Module._ts_parser_new_wasm=()=>(_ts_parser_new_wasm=Module._ts_parser_new_wasm=wasmExports.ts_parser_new_wasm)(),_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=(e,t)=>(_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=wasmExports.ts_parser_enable_logger_wasm)(e,t),_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=(e,t,s,n,i)=>(_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=wasmExports.ts_parser_parse_wasm)(e,t,s,n,i),_ts_parser_included_ranges_wasm=Module._ts_parser_included_ranges_wasm=e=>(_ts_parser_included_ranges_wasm=Module._ts_parser_included_ranges_wasm=wasmExports.ts_parser_included_ranges_wasm)(e),_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=(e,t)=>(_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=wasmExports.ts_language_type_is_named_wasm)(e,t),_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=(e,t)=>(_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=wasmExports.ts_language_type_is_visible_wasm)(e,t),_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=e=>(_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=wasmExports.ts_tree_root_node_wasm)(e),_ts_tree_root_node_with_offset_wasm=Module._ts_tree_root_node_with_offset_wasm=e=>(_ts_tree_root_node_with_offset_wasm=Module._ts_tree_root_node_with_offset_wasm=wasmExports.ts_tree_root_node_with_offset_wasm)(e),_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=e=>(_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=wasmExports.ts_tree_edit_wasm)(e),_ts_tree_included_ranges_wasm=Module._ts_tree_included_ranges_wasm=e=>(_ts_tree_included_ranges_wasm=Module._ts_tree_included_ranges_wasm=wasmExports.ts_tree_included_ranges_wasm)(e),_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=(e,t)=>(_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=wasmExports.ts_tree_get_changed_ranges_wasm)(e,t),_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=e=>(_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=wasmExports.ts_tree_cursor_new_wasm)(e),_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=e=>(_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=wasmExports.ts_tree_cursor_delete_wasm)(e),_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=e=>(_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=wasmExports.ts_tree_cursor_reset_wasm)(e),_ts_tree_cursor_reset_to_wasm=Module._ts_tree_cursor_reset_to_wasm=(e,t)=>(_ts_tree_cursor_reset_to_wasm=Module._ts_tree_cursor_reset_to_wasm=wasmExports.ts_tree_cursor_reset_to_wasm)(e,t),_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=e=>(_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=wasmExports.ts_tree_cursor_goto_first_child_wasm)(e),_ts_tree_cursor_goto_last_child_wasm=Module._ts_tree_cursor_goto_last_child_wasm=e=>(_ts_tree_cursor_goto_last_child_wasm=Module._ts_tree_cursor_goto_last_child_wasm=wasmExports.ts_tree_cursor_goto_last_child_wasm)(e),_ts_tree_cursor_goto_first_child_for_index_wasm=Module._ts_tree_cursor_goto_first_child_for_index_wasm=e=>(_ts_tree_cursor_goto_first_child_for_index_wasm=Module._ts_tree_cursor_goto_first_child_for_index_wasm=wasmExports.ts_tree_cursor_goto_first_child_for_index_wasm)(e),_ts_tree_cursor_goto_first_child_for_position_wasm=Module._ts_tree_cursor_goto_first_child_for_position_wasm=e=>(_ts_tree_cursor_goto_first_child_for_position_wasm=Module._ts_tree_cursor_goto_first_child_for_position_wasm=wasmExports.ts_tree_cursor_goto_first_child_for_position_wasm)(e),_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=e=>(_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=wasmExports.ts_tree_cursor_goto_next_sibling_wasm)(e),_ts_tree_cursor_goto_previous_sibling_wasm=Module._ts_tree_cursor_goto_previous_sibling_wasm=e=>(_ts_tree_cursor_goto_previous_sibling_wasm=Module._ts_tree_cursor_goto_previous_sibling_wasm=wasmExports.ts_tree_cursor_goto_previous_sibling_wasm)(e),_ts_tree_cursor_goto_descendant_wasm=Module._ts_tree_cursor_goto_descendant_wasm=(e,t)=>(_ts_tree_cursor_goto_descendant_wasm=Module._ts_tree_cursor_goto_descendant_wasm=wasmExports.ts_tree_cursor_goto_descendant_wasm)(e,t),_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=e=>(_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=wasmExports.ts_tree_cursor_goto_parent_wasm)(e),_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=e=>(_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=wasmExports.ts_tree_cursor_current_node_type_id_wasm)(e),_ts_tree_cursor_current_node_state_id_wasm=Module._ts_tree_cursor_current_node_state_id_wasm=e=>(_ts_tree_cursor_current_node_state_id_wasm=Module._ts_tree_cursor_current_node_state_id_wasm=wasmExports.ts_tree_cursor_current_node_state_id_wasm)(e),_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=e=>(_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=wasmExports.ts_tree_cursor_current_node_is_named_wasm)(e),_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=e=>(_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=wasmExports.ts_tree_cursor_current_node_is_missing_wasm)(e),_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=e=>(_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=wasmExports.ts_tree_cursor_current_node_id_wasm)(e),_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=e=>(_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=wasmExports.ts_tree_cursor_start_position_wasm)(e),_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=e=>(_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=wasmExports.ts_tree_cursor_end_position_wasm)(e),_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=e=>(_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=wasmExports.ts_tree_cursor_start_index_wasm)(e),_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=e=>(_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=wasmExports.ts_tree_cursor_end_index_wasm)(e),_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=e=>(_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=wasmExports.ts_tree_cursor_current_field_id_wasm)(e),_ts_tree_cursor_current_depth_wasm=Module._ts_tree_cursor_current_depth_wasm=e=>(_ts_tree_cursor_current_depth_wasm=Module._ts_tree_cursor_current_depth_wasm=wasmExports.ts_tree_cursor_current_depth_wasm)(e),_ts_tree_cursor_current_descendant_index_wasm=Module._ts_tree_cursor_current_descendant_index_wasm=e=>(_ts_tree_cursor_current_descendant_index_wasm=Module._ts_tree_cursor_current_descendant_index_wasm=wasmExports.ts_tree_cursor_current_descendant_index_wasm)(e),_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=e=>(_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=wasmExports.ts_tree_cursor_current_node_wasm)(e),_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=e=>(_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=wasmExports.ts_node_symbol_wasm)(e),_ts_node_field_name_for_child_wasm=Module._ts_node_field_name_for_child_wasm=(e,t)=>(_ts_node_field_name_for_child_wasm=Module._ts_node_field_name_for_child_wasm=wasmExports.ts_node_field_name_for_child_wasm)(e,t),_ts_node_children_by_field_id_wasm=Module._ts_node_children_by_field_id_wasm=(e,t)=>(_ts_node_children_by_field_id_wasm=Module._ts_node_children_by_field_id_wasm=wasmExports.ts_node_children_by_field_id_wasm)(e,t),_ts_node_first_child_for_byte_wasm=Module._ts_node_first_child_for_byte_wasm=e=>(_ts_node_first_child_for_byte_wasm=Module._ts_node_first_child_for_byte_wasm=wasmExports.ts_node_first_child_for_byte_wasm)(e),_ts_node_first_named_child_for_byte_wasm=Module._ts_node_first_named_child_for_byte_wasm=e=>(_ts_node_first_named_child_for_byte_wasm=Module._ts_node_first_named_child_for_byte_wasm=wasmExports.ts_node_first_named_child_for_byte_wasm)(e),_ts_node_grammar_symbol_wasm=Module._ts_node_grammar_symbol_wasm=e=>(_ts_node_grammar_symbol_wasm=Module._ts_node_grammar_symbol_wasm=wasmExports.ts_node_grammar_symbol_wasm)(e),_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=e=>(_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=wasmExports.ts_node_child_count_wasm)(e),_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=e=>(_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=wasmExports.ts_node_named_child_count_wasm)(e),_ts_node_child_wasm=Module._ts_node_child_wasm=(e,t)=>(_ts_node_child_wasm=Module._ts_node_child_wasm=wasmExports.ts_node_child_wasm)(e,t),_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=(e,t)=>(_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=wasmExports.ts_node_named_child_wasm)(e,t),_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=(e,t)=>(_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=wasmExports.ts_node_child_by_field_id_wasm)(e,t),_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=e=>(_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=wasmExports.ts_node_next_sibling_wasm)(e),_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=e=>(_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=wasmExports.ts_node_prev_sibling_wasm)(e),_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=e=>(_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=wasmExports.ts_node_next_named_sibling_wasm)(e),_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=e=>(_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=wasmExports.ts_node_prev_named_sibling_wasm)(e),_ts_node_descendant_count_wasm=Module._ts_node_descendant_count_wasm=e=>(_ts_node_descendant_count_wasm=Module._ts_node_descendant_count_wasm=wasmExports.ts_node_descendant_count_wasm)(e),_ts_node_parent_wasm=Module._ts_node_parent_wasm=e=>(_ts_node_parent_wasm=Module._ts_node_parent_wasm=wasmExports.ts_node_parent_wasm)(e),_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=e=>(_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=wasmExports.ts_node_descendant_for_index_wasm)(e),_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=e=>(_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=wasmExports.ts_node_named_descendant_for_index_wasm)(e),_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=e=>(_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=wasmExports.ts_node_descendant_for_position_wasm)(e),_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=e=>(_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=wasmExports.ts_node_named_descendant_for_position_wasm)(e),_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=e=>(_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=wasmExports.ts_node_start_point_wasm)(e),_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=e=>(_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=wasmExports.ts_node_end_point_wasm)(e),_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=e=>(_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=wasmExports.ts_node_start_index_wasm)(e),_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=e=>(_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=wasmExports.ts_node_end_index_wasm)(e),_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=e=>(_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=wasmExports.ts_node_to_string_wasm)(e),_ts_node_children_wasm=Module._ts_node_children_wasm=e=>(_ts_node_children_wasm=Module._ts_node_children_wasm=wasmExports.ts_node_children_wasm)(e),_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=e=>(_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=wasmExports.ts_node_named_children_wasm)(e),_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=(e,t,s,n,i,r,o)=>(_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=wasmExports.ts_node_descendants_of_type_wasm)(e,t,s,n,i,r,o),_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=e=>(_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=wasmExports.ts_node_is_named_wasm)(e),_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=e=>(_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=wasmExports.ts_node_has_changes_wasm)(e),_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=e=>(_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=wasmExports.ts_node_has_error_wasm)(e),_ts_node_is_error_wasm=Module._ts_node_is_error_wasm=e=>(_ts_node_is_error_wasm=Module._ts_node_is_error_wasm=wasmExports.ts_node_is_error_wasm)(e),_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=e=>(_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=wasmExports.ts_node_is_missing_wasm)(e),_ts_node_is_extra_wasm=Module._ts_node_is_extra_wasm=e=>(_ts_node_is_extra_wasm=Module._ts_node_is_extra_wasm=wasmExports.ts_node_is_extra_wasm)(e),_ts_node_parse_state_wasm=Module._ts_node_parse_state_wasm=e=>(_ts_node_parse_state_wasm=Module._ts_node_parse_state_wasm=wasmExports.ts_node_parse_state_wasm)(e),_ts_node_next_parse_state_wasm=Module._ts_node_next_parse_state_wasm=e=>(_ts_node_next_parse_state_wasm=Module._ts_node_next_parse_state_wasm=wasmExports.ts_node_next_parse_state_wasm)(e),_ts_query_matches_wasm=Module._ts_query_matches_wasm=(e,t,s,n,i,r,o,a,c,l,u)=>(_ts_query_matches_wasm=Module._ts_query_matches_wasm=wasmExports.ts_query_matches_wasm)(e,t,s,n,i,r,o,a,c,l,u),_ts_query_captures_wasm=Module._ts_query_captures_wasm=(e,t,s,n,i,r,o,a,c,l,u)=>(_ts_query_captures_wasm=Module._ts_query_captures_wasm=wasmExports.ts_query_captures_wasm)(e,t,s,n,i,r,o,a,c,l,u),_iswalpha=Module._iswalpha=e=>(_iswalpha=Module._iswalpha=wasmExports.iswalpha)(e),_iswblank=Module._iswblank=e=>(_iswblank=Module._iswblank=wasmExports.iswblank)(e),_iswdigit=Module._iswdigit=e=>(_iswdigit=Module._iswdigit=wasmExports.iswdigit)(e),_iswlower=Module._iswlower=e=>(_iswlower=Module._iswlower=wasmExports.iswlower)(e),_iswupper=Module._iswupper=e=>(_iswupper=Module._iswupper=wasmExports.iswupper)(e),_iswxdigit=Module._iswxdigit=e=>(_iswxdigit=Module._iswxdigit=wasmExports.iswxdigit)(e),_memchr=Module._memchr=(e,t,s)=>(_memchr=Module._memchr=wasmExports.memchr)(e,t,s),_strlen=Module._strlen=e=>(_strlen=Module._strlen=wasmExports.strlen)(e),_strcmp=Module._strcmp=(e,t)=>(_strcmp=Module._strcmp=wasmExports.strcmp)(e,t),_strncat=Module._strncat=(e,t,s)=>(_strncat=Module._strncat=wasmExports.strncat)(e,t,s),_strncpy=Module._strncpy=(e,t,s)=>(_strncpy=Module._strncpy=wasmExports.strncpy)(e,t,s),_towlower=Module._towlower=e=>(_towlower=Module._towlower=wasmExports.towlower)(e),_towupper=Module._towupper=e=>(_towupper=Module._towupper=wasmExports.towupper)(e),_setThrew=(e,t)=>(_setThrew=wasmExports.setThrew)(e,t),__emscripten_stack_restore=e=>(__emscripten_stack_restore=wasmExports._emscripten_stack_restore)(e),__emscripten_stack_alloc=e=>(__emscripten_stack_alloc=wasmExports._emscripten_stack_alloc)(e),_emscripten_stack_get_current=()=>(_emscripten_stack_get_current=wasmExports.emscripten_stack_get_current)(),dynCall_jiji=Module.dynCall_jiji=(e,t,s,n,i)=>(dynCall_jiji=Module.dynCall_jiji=wasmExports.dynCall_jiji)(e,t,s,n,i),_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=e=>(_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=wasmExports.orig$ts_parser_timeout_micros)(e),_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=(e,t)=>(_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=wasmExports.orig$ts_parser_set_timeout_micros)(e,t),calledRun;function callMain(e=[]){var t=resolveGlobalSymbol("main").sym;if(t){e.unshift(thisProgram);var s=e.length,n=stackAlloc(4*(s+1)),i=n;e.forEach((e=>{LE_HEAP_STORE_U32(4*(i>>2),stringToUTF8OnStack(e)),i+=4})),LE_HEAP_STORE_U32(4*(i>>2),0);try{var r=t(s,n);return exitJS(r,!0),r}catch(e){return handleException(e)}}}function run(e=arguments_){function t(){calledRun||(calledRun=!0,Module.calledRun=!0,ABORT||(initRuntime(),preMain(),Module.onRuntimeInitialized?.(),shouldRunNow&&callMain(e),postRun()))}runDependencies>0||(preRun(),runDependencies>0||(Module.setStatus?(Module.setStatus("Running..."),setTimeout((function(){setTimeout((function(){Module.setStatus("")}),1),t()}),1)):t()))}if(Module.AsciiToString=AsciiToString,Module.stringToUTF16=stringToUTF16,dependenciesFulfilled=function e(){calledRun||run(),calledRun||(dependenciesFulfilled=e)},Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run();const C=Module,INTERNAL={},SIZE_OF_INT=4,SIZE_OF_CURSOR=4*SIZE_OF_INT,SIZE_OF_NODE=5*SIZE_OF_INT,SIZE_OF_POINT=2*SIZE_OF_INT,SIZE_OF_RANGE=2*SIZE_OF_INT+2*SIZE_OF_POINT,ZERO_POINT={row:0,column:0},QUERY_WORD_REGEX=/[\w-.]*/g,PREDICATE_STEP_TYPE_CAPTURE=1,PREDICATE_STEP_TYPE_STRING=2,LANGUAGE_FUNCTION_REGEX=/^_?tree_sitter_\w+/;let VERSION,MIN_COMPATIBLE_VERSION,TRANSFER_BUFFER,currentParseCallback,currentLogCallback;class ParserImpl{static init(){TRANSFER_BUFFER=C._ts_init(),VERSION=getValue(TRANSFER_BUFFER,"i32"),MIN_COMPATIBLE_VERSION=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}initialize(){C._ts_parser_new_wasm(),this[0]=getValue(TRANSFER_BUFFER,"i32"),this[1]=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}delete(){C._ts_parser_delete(this[0]),C._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error("Argument must be a Language");{t=e[0];const s=C._ts_language_version(t);if(s<MIN_COMPATIBLE_VERSION||VERSION<s)throw new Error(`Incompatible language version ${s}. Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.`)}}else t=0,e=null;return this.language=e,C._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,s){if("string"==typeof e)currentParseCallback=(t,s)=>e.slice(t);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");currentParseCallback=e}this.logCallback?(currentLogCallback=this.logCallback,C._ts_parser_enable_logger_wasm(this[0],1)):(currentLogCallback=null,C._ts_parser_enable_logger_wasm(this[0],0));let n=0,i=0;if(s?.includedRanges){n=s.includedRanges.length,i=C._calloc(n,SIZE_OF_RANGE);let e=i;for(let t=0;t<n;t++)marshalRange(e,s.includedRanges[t]),e+=SIZE_OF_RANGE}const r=C._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,i,n);if(!r)throw currentParseCallback=null,currentLogCallback=null,new Error("Parsing failed");const o=new Tree(INTERNAL,r,this.language,currentParseCallback);return currentParseCallback=null,currentLogCallback=null,o}reset(){C._ts_parser_reset(this[0])}getIncludedRanges(){C._ts_parser_included_ranges_wasm(this[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),s=new Array(e);if(e>0){let n=t;for(let t=0;t<e;t++)s[t]=unmarshalRange(n),n+=SIZE_OF_RANGE;C._free(t)}return s}getTimeoutMicros(){return C._ts_parser_timeout_micros(this[0])}setTimeoutMicros(e){C._ts_parser_set_timeout_micros(this[0],e)}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class Tree{constructor(e,t,s,n){assertInternal(e),this[0]=t,this.language=s,this.textCallback=n}copy(){const e=C._ts_tree_copy(this[0]);return new Tree(INTERNAL,e,this.language,this.textCallback)}delete(){C._ts_tree_delete(this[0]),this[0]=0}edit(e){marshalEdit(e),C._ts_tree_edit_wasm(this[0])}get rootNode(){return C._ts_tree_root_node_wasm(this[0]),unmarshalNode(this)}rootNodeWithOffset(e,t){const s=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(s,e,"i32"),marshalPoint(s+SIZE_OF_INT,t),C._ts_tree_root_node_with_offset_wasm(this[0]),unmarshalNode(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==Tree)throw new TypeError("Argument must be a Tree");C._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=getValue(TRANSFER_BUFFER,"i32"),s=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=new Array(t);if(t>0){let e=s;for(let s=0;s<t;s++)n[s]=unmarshalRange(e),e+=SIZE_OF_RANGE;C._free(s)}return n}getIncludedRanges(){C._ts_tree_included_ranges_wasm(this[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),s=new Array(e);if(e>0){let n=t;for(let t=0;t<e;t++)s[t]=unmarshalRange(n),n+=SIZE_OF_RANGE;C._free(t)}return s}}class Node{constructor(e,t){assertInternal(e),this.tree=t}get typeId(){return marshalNode(this),C._ts_node_symbol_wasm(this.tree[0])}get grammarId(){return marshalNode(this),C._ts_node_grammar_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get grammarType(){return this.tree.language.types[this.grammarId]||"ERROR"}get endPosition(){return marshalNode(this),C._ts_node_end_point_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endIndex(){return marshalNode(this),C._ts_node_end_index_wasm(this.tree[0])}get text(){return getText(this.tree,this.startIndex,this.endIndex)}get parseState(){return marshalNode(this),C._ts_node_parse_state_wasm(this.tree[0])}get nextParseState(){return marshalNode(this),C._ts_node_next_parse_state_wasm(this.tree[0])}get isNamed(){return marshalNode(this),1===C._ts_node_is_named_wasm(this.tree[0])}get hasError(){return marshalNode(this),1===C._ts_node_has_error_wasm(this.tree[0])}get hasChanges(){return marshalNode(this),1===C._ts_node_has_changes_wasm(this.tree[0])}get isError(){return marshalNode(this),1===C._ts_node_is_error_wasm(this.tree[0])}get isMissing(){return marshalNode(this),1===C._ts_node_is_missing_wasm(this.tree[0])}get isExtra(){return marshalNode(this),1===C._ts_node_is_extra_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return marshalNode(this),C._ts_node_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}namedChild(e){return marshalNode(this),C._ts_node_named_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldId(e){return marshalNode(this),C._ts_node_child_by_field_id_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);return-1!==t?this.childForFieldId(t):null}fieldNameForChild(e){marshalNode(this);const t=C._ts_node_field_name_for_child_wasm(this.tree[0],e);if(!t)return null;return AsciiToString(t)}childrenForFieldName(e){const t=this.tree.language.fields.indexOf(e);return-1!==t&&0!==t?this.childrenForFieldId(t):[]}childrenForFieldId(e){marshalNode(this),C._ts_node_children_by_field_id_wasm(this.tree[0],e);const t=getValue(TRANSFER_BUFFER,"i32"),s=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=new Array(t);if(t>0){let e=s;for(let s=0;s<t;s++)n[s]=unmarshalNode(this.tree,e),e+=SIZE_OF_NODE;C._free(s)}return n}firstChildForIndex(e){marshalNode(this);return setValue(TRANSFER_BUFFER+SIZE_OF_NODE,e,"i32"),C._ts_node_first_child_for_byte_wasm(this.tree[0]),unmarshalNode(this.tree)}firstNamedChildForIndex(e){marshalNode(this);return setValue(TRANSFER_BUFFER+SIZE_OF_NODE,e,"i32"),C._ts_node_first_named_child_for_byte_wasm(this.tree[0]),unmarshalNode(this.tree)}get childCount(){return marshalNode(this),C._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return marshalNode(this),C._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){marshalNode(this),C._ts_node_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._children=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._children[t]=unmarshalNode(this.tree,s),s+=SIZE_OF_NODE;C._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){marshalNode(this),C._ts_node_named_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._namedChildren=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._namedChildren[t]=unmarshalNode(this.tree,s),s+=SIZE_OF_NODE;C._free(t)}}return this._namedChildren}descendantsOfType(e,t,s){Array.isArray(e)||(e=[e]),t||(t=ZERO_POINT),s||(s=ZERO_POINT);const n=[],i=this.tree.language.types;for(let t=0,s=i.length;t<s;t++)e.includes(i[t])&&n.push(t);const r=C._malloc(SIZE_OF_INT*n.length);for(let e=0,t=n.length;e<t;e++)setValue(r+e*SIZE_OF_INT,n[e],"i32");marshalNode(this),C._ts_node_descendants_of_type_wasm(this.tree[0],r,n.length,t.row,t.column,s.row,s.column);const o=getValue(TRANSFER_BUFFER,"i32"),a=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=unmarshalNode(this.tree,e),e+=SIZE_OF_NODE}return C._free(a),C._free(r),c}get nextSibling(){return marshalNode(this),C._ts_node_next_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousSibling(){return marshalNode(this),C._ts_node_prev_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get nextNamedSibling(){return marshalNode(this),C._ts_node_next_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousNamedSibling(){return marshalNode(this),C._ts_node_prev_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get descendantCount(){return marshalNode(this),C._ts_node_descendant_count_wasm(this.tree[0])}get parent(){return marshalNode(this),C._ts_node_parent_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);const s=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(s,e,"i32"),setValue(s+SIZE_OF_INT,t,"i32"),C._ts_node_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);const s=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(s,e,"i32"),setValue(s+SIZE_OF_INT,t,"i32"),C._ts_node_named_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);const s=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(s,e),marshalPoint(s+SIZE_OF_POINT,t),C._ts_node_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);const s=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(s,e),marshalPoint(s+SIZE_OF_POINT,t),C._ts_node_named_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}walk(){return marshalNode(this),C._ts_tree_cursor_new_wasm(this.tree[0]),new TreeCursor(INTERNAL,this.tree)}toString(){marshalNode(this);const e=C._ts_node_to_string_wasm(this.tree[0]),t=AsciiToString(e);return C._free(e),t}}class TreeCursor{constructor(e,t){assertInternal(e),this.tree=t,unmarshalTreeCursor(this)}delete(){marshalTreeCursor(this),C._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){marshalNode(e),marshalTreeCursor(this,TRANSFER_BUFFER+SIZE_OF_NODE),C._ts_tree_cursor_reset_wasm(this.tree[0]),unmarshalTreeCursor(this)}resetTo(e){marshalTreeCursor(this,TRANSFER_BUFFER),marshalTreeCursor(e,TRANSFER_BUFFER+SIZE_OF_CURSOR),C._ts_tree_cursor_reset_to_wasm(this.tree[0],e.tree[0]),unmarshalTreeCursor(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeStateId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_state_id_wasm(this.tree[0])}get nodeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){marshalTreeCursor(this);const e=C._ts_tree_cursor_start_index_wasm(this.tree[0]),t=C._ts_tree_cursor_end_index_wasm(this.tree[0]);return getText(this.tree,e,t)}get startPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_start_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_end_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get startIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_end_index_wasm(this.tree[0])}get currentNode(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_wasm(this.tree[0]),unmarshalNode(this.tree)}get currentFieldId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_field_id_wasm(this.tree[0])}get currentFieldName(){return this.tree.language.fields[this.currentFieldId]}get currentDepth(){return marshalTreeCursor(this),C._ts_tree_cursor_current_depth_wasm(this.tree[0])}get currentDescendantIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_current_descendant_index_wasm(this.tree[0])}gotoFirstChild(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoLastChild(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_last_child_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoFirstChildForIndex(e){marshalTreeCursor(this),setValue(TRANSFER_BUFFER+SIZE_OF_CURSOR,e,"i32");const t=C._ts_tree_cursor_goto_first_child_for_index_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===t}gotoFirstChildForPosition(e){marshalTreeCursor(this),marshalPoint(TRANSFER_BUFFER+SIZE_OF_CURSOR,e);const t=C._ts_tree_cursor_goto_first_child_for_position_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===t}gotoNextSibling(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoPreviousSibling(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_previous_sibling_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoDescendant(e){marshalTreeCursor(this),C._ts_tree_cursor_goto_descendant_wasm(this.tree[0],e),unmarshalTreeCursor(this)}gotoParent(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}}class Language{constructor(e,t){assertInternal(e),this[0]=t,this.types=new Array(C._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)C._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=UTF8ToString(C._ts_language_symbol_name(this[0],e)));this.fields=new Array(C._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=C._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?UTF8ToString(t):null}}get version(){return C._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}get stateCount(){return C._ts_language_state_count(this[0])}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const s=lengthBytesUTF8(e),n=C._malloc(s+1);stringToUTF8(e,n,s+1);const i=C._ts_language_symbol_for_name(this[0],n,s,t);return C._free(n),i||null}get nodeTypeCount(){return C._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=C._ts_language_symbol_name(this[0],e);return t?UTF8ToString(t):null}nodeTypeIsNamed(e){return!!C._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!C._ts_language_type_is_visible_wasm(this[0],e)}nextState(e,t){return C._ts_language_next_state(this[0],e,t)}lookaheadIterator(e){const t=C._ts_lookahead_iterator_new(this[0],e);return t?new LookaheadIterable(INTERNAL,t,this):null}query(e){const t=lengthBytesUTF8(e),s=C._malloc(t+1);stringToUTF8(e,s,t+1);const n=C._ts_query_new(this[0],s,t,TRANSFER_BUFFER,TRANSFER_BUFFER+SIZE_OF_INT);if(!n){const t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=getValue(TRANSFER_BUFFER,"i32"),i=UTF8ToString(s,n).length,r=e.substr(i,100).split("\n")[0];let o,a=r.match(QUERY_WORD_REGEX)[0];switch(t){case 2:o=new RangeError(`Bad node name '${a}'`);break;case 3:o=new RangeError(`Bad field name '${a}'`);break;case 4:o=new RangeError(`Bad capture name @${a}`);break;case 5:o=new TypeError(`Bad pattern structure at offset ${i}: '${r}'...`),a="";break;default:o=new SyntaxError(`Bad syntax at offset ${i}: '${r}'...`),a=""}throw o.index=i,o.length=a.length,C._free(s),o}const i=C._ts_query_string_count(n),r=C._ts_query_capture_count(n),o=C._ts_query_pattern_count(n),a=new Array(r),c=new Array(i);for(let e=0;e<r;e++){const t=C._ts_query_capture_name_for_id(n,e,TRANSFER_BUFFER),s=getValue(TRANSFER_BUFFER,"i32");a[e]=UTF8ToString(t,s)}for(let e=0;e<i;e++){const t=C._ts_query_string_value_for_id(n,e,TRANSFER_BUFFER),s=getValue(TRANSFER_BUFFER,"i32");c[e]=UTF8ToString(t,s)}const l=new Array(o),u=new Array(o),d=new Array(o),m=new Array(o),p=new Array(o);for(let e=0;e<o;e++){const t=C._ts_query_predicates_for_pattern(n,e,TRANSFER_BUFFER),s=getValue(TRANSFER_BUFFER,"i32");m[e]=[],p[e]=[];const i=[];let r=t;for(let t=0;t<s;t++){const t=getValue(r,"i32");r+=SIZE_OF_INT;const s=getValue(r,"i32");if(r+=SIZE_OF_INT,t===PREDICATE_STEP_TYPE_CAPTURE)i.push({type:"capture",name:a[s]});else if(t===PREDICATE_STEP_TYPE_STRING)i.push({type:"string",value:c[s]});else if(i.length>0){if("string"!==i[0].type)throw new Error("Predicates must begin with a literal value");const t=i[0].value;let s,n=!0,r=!0;switch(t){case"any-not-eq?":case"not-eq?":n=!1;case"any-eq?":case"eq?":if(3!==i.length)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 2, got ${i.length-1}`);if("capture"!==i[1].type)throw new Error(`First argument of \`#${t}\` predicate must be a capture. Got "${i[1].value}"`);if(r=!t.startsWith("any-"),"capture"===i[2].type){const t=i[1].name,s=i[2].name;p[e].push((e=>{const i=[],o=[];for(const n of e)n.name===t&&i.push(n.node),n.name===s&&o.push(n.node);const a=(e,t,s)=>s?e.text===t.text:e.text!==t.text;return r?i.every((e=>o.some((t=>a(e,t,n))))):i.some((e=>o.some((t=>a(e,t,n)))))}))}else{s=i[1].name;const t=i[2].value,o=e=>e.text===t,a=e=>e.text!==t;p[e].push((e=>{const t=[];for(const n of e)n.name===s&&t.push(n.node);const i=n?o:a;return r?t.every(i):t.some(i)}))}break;case"any-not-match?":case"not-match?":n=!1;case"any-match?":case"match?":if(3!==i.length)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 2, got ${i.length-1}.`);if("capture"!==i[1].type)throw new Error(`First argument of \`#${t}\` predicate must be a capture. Got "${i[1].value}".`);if("string"!==i[2].type)throw new Error(`Second argument of \`#${t}\` predicate must be a string. Got @${i[2].value}.`);s=i[1].name;const o=new RegExp(i[2].value);r=!t.startsWith("any-"),p[e].push((e=>{const t=[];for(const n of e)n.name===s&&t.push(n.node.text);const i=(e,t)=>t?o.test(e):!o.test(e);return 0===t.length?!n:r?t.every((e=>i(e,n))):t.some((e=>i(e,n)))}));break;case"set!":if(i.length<2||i.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${i.length-1}.`);if(i.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');l[e]||(l[e]={}),l[e][i[1].value]=i[2]?i[2].value:null;break;case"is?":case"is-not?":if(i.length<2||i.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${i.length-1}.`);if(i.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const a="is?"===t?u:d;a[e]||(a[e]={}),a[e][i[1].value]=i[2]?i[2].value:null;break;case"not-any-of?":n=!1;case"any-of?":if(i.length<2)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected at least 1. Got ${i.length-1}.`);if("capture"!==i[1].type)throw new Error(`First argument of \`#${t}\` predicate must be a capture. Got "${i[1].value}".`);for(let e=2;e<i.length;e++)if("string"!==i[e].type)throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);s=i[1].name;const c=i.slice(2).map((e=>e.value));p[e].push((e=>{const t=[];for(const n of e)n.name===s&&t.push(n.node.text);return 0===t.length?!n:t.every((e=>c.includes(e)))===n}));break;default:m[e].push({operator:t,operands:i.slice(1)})}i.length=0}}Object.freeze(l[e]),Object.freeze(u[e]),Object.freeze(d[e])}return C._free(s),new Query(INTERNAL,n,a,p,m,Object.freeze(l),Object.freeze(u),Object.freeze(d))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const s=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=__webpack_require__(3078);t=Promise.resolve(e.readFileSync(s))}else t=fetch(s).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const s=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${s}`)}}))))}return t.then((e=>loadWebAssemblyModule(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),s=t.find((e=>LANGUAGE_FUNCTION_REGEX.test(e)&&!e.includes("external_scanner_")));s||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const n=e[s]();return new Language(INTERNAL,n)}))}}class LookaheadIterable{constructor(e,t,s){assertInternal(e),this[0]=t,this.language=s}get currentTypeId(){return C._ts_lookahead_iterator_current_symbol(this[0])}get currentType(){return this.language.types[this.currentTypeId]||"ERROR"}delete(){C._ts_lookahead_iterator_delete(this[0]),this[0]=0}resetState(e){return C._ts_lookahead_iterator_reset_state(this[0],e)}reset(e,t){return!!C._ts_lookahead_iterator_reset(this[0],e[0],t)&&(this.language=e,!0)}[Symbol.iterator](){const e=this;return{next:()=>C._ts_lookahead_iterator_next(e[0])?{done:!1,value:e.currentType}:{done:!0,value:""}}}}class Query{constructor(e,t,s,n,i,r,o,a){assertInternal(e),this[0]=t,this.captureNames=s,this.textPredicates=n,this.predicates=i,this.setProperties=r,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){C._ts_query_delete(this[0]),this[0]=0}matches(e,{startPosition:t=ZERO_POINT,endPosition:s=ZERO_POINT,startIndex:n=0,endIndex:i=0,matchLimit:r=4294967295,maxStartDepth:o=4294967295,timeoutMicros:a=0}={}){if("number"!=typeof r)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,s.row,s.column,n,i,r,o,a);const c=getValue(TRANSFER_BUFFER,"i32"),l=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),u=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),d=new Array(c);this.exceededMatchLimit=Boolean(u);let m=0,p=l;for(let t=0;t<c;t++){const t=getValue(p,"i32");p+=SIZE_OF_INT;const s=getValue(p,"i32");p+=SIZE_OF_INT;const n=new Array(s);if(p=unmarshalCaptures(this,e.tree,p,n),this.textPredicates[t].every((e=>e(n)))){d[m]={pattern:t,captures:n};const e=this.setProperties[t];e&&(d[m].setProperties=e);const s=this.assertedProperties[t];s&&(d[m].assertedProperties=s);const i=this.refutedProperties[t];i&&(d[m].refutedProperties=i),m++}}return d.length=m,C._free(l),d}captures(e,{startPosition:t=ZERO_POINT,endPosition:s=ZERO_POINT,startIndex:n=0,endIndex:i=0,matchLimit:r=4294967295,maxStartDepth:o=4294967295,timeoutMicros:a=0}={}){if("number"!=typeof r)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,s.row,s.column,n,i,r,o,a);const c=getValue(TRANSFER_BUFFER,"i32"),l=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),u=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),d=[];this.exceededMatchLimit=Boolean(u);const m=[];let p=l;for(let t=0;t<c;t++){const t=getValue(p,"i32");p+=SIZE_OF_INT;const s=getValue(p,"i32");p+=SIZE_OF_INT;const n=getValue(p,"i32");if(p+=SIZE_OF_INT,m.length=s,p=unmarshalCaptures(this,e.tree,p,m),this.textPredicates[t].every((e=>e(m)))){const e=m[n],s=this.setProperties[t];s&&(e.setProperties=s);const i=this.assertedProperties[t];i&&(e.assertedProperties=i);const r=this.refutedProperties[t];r&&(e.refutedProperties=r),d.push(e)}}return C._free(l),d}predicatesForPattern(e){return this.predicates[e]}disableCapture(e){const t=lengthBytesUTF8(e),s=C._malloc(t+1);stringToUTF8(e,s,t+1),C._ts_query_disable_capture(this[0],s,t),C._free(s)}didExceedMatchLimit(){return this.exceededMatchLimit}}function getText(e,t,s){const n=s-t;let i=e.textCallback(t,null,s);for(t+=i.length;t<s;){const n=e.textCallback(t,null,s);if(!(n&&n.length>0))break;t+=n.length,i+=n}return t>s&&(i=i.slice(0,n)),i}function unmarshalCaptures(e,t,s,n){for(let i=0,r=n.length;i<r;i++){const r=getValue(s,"i32"),o=unmarshalNode(t,s+=SIZE_OF_INT);s+=SIZE_OF_NODE,n[i]={name:e.captureNames[r],node:o}}return s}function assertInternal(e){if(e!==INTERNAL)throw new Error("Illegal constructor")}function isPoint(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function marshalNode(e){let t=TRANSFER_BUFFER;setValue(t,e.id,"i32"),t+=SIZE_OF_INT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.row,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.column,"i32"),t+=SIZE_OF_INT,setValue(t,e[0],"i32")}function unmarshalNode(e,t=TRANSFER_BUFFER){const s=getValue(t,"i32");if(0===s)return null;const n=getValue(t+=SIZE_OF_INT,"i32"),i=getValue(t+=SIZE_OF_INT,"i32"),r=getValue(t+=SIZE_OF_INT,"i32"),o=getValue(t+=SIZE_OF_INT,"i32"),a=new Node(INTERNAL,e);return a.id=s,a.startIndex=n,a.startPosition={row:i,column:r},a[0]=o,a}function marshalTreeCursor(e,t=TRANSFER_BUFFER){setValue(t+0*SIZE_OF_INT,e[0],"i32"),setValue(t+1*SIZE_OF_INT,e[1],"i32"),setValue(t+2*SIZE_OF_INT,e[2],"i32"),setValue(t+3*SIZE_OF_INT,e[3],"i32")}function unmarshalTreeCursor(e){e[0]=getValue(TRANSFER_BUFFER+0*SIZE_OF_INT,"i32"),e[1]=getValue(TRANSFER_BUFFER+1*SIZE_OF_INT,"i32"),e[2]=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),e[3]=getValue(TRANSFER_BUFFER+3*SIZE_OF_INT,"i32")}function marshalPoint(e,t){setValue(e,t.row,"i32"),setValue(e+SIZE_OF_INT,t.column,"i32")}function unmarshalPoint(e){return{row:getValue(e,"i32")>>>0,column:getValue(e+SIZE_OF_INT,"i32")>>>0}}function marshalRange(e,t){marshalPoint(e,t.startPosition),marshalPoint(e+=SIZE_OF_POINT,t.endPosition),setValue(e+=SIZE_OF_POINT,t.startIndex,"i32"),setValue(e+=SIZE_OF_INT,t.endIndex,"i32"),e+=SIZE_OF_INT}function unmarshalRange(e){const t={};return t.startPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.endPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.startIndex=getValue(e,"i32")>>>0,e+=SIZE_OF_INT,t.endIndex=getValue(e,"i32")>>>0,t}function marshalEdit(e){let t=TRANSFER_BUFFER;marshalPoint(t,e.startPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.oldEndPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.newEndPosition),t+=SIZE_OF_POINT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.oldEndIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.newEndIndex,"i32"),t+=SIZE_OF_INT}for(const e of Object.getOwnPropertyNames(ParserImpl.prototype))Object.defineProperty(Parser.prototype,e,{value:ParserImpl.prototype[e],enumerable:!1,writable:!1});Parser.Language=Language,Module.onRuntimeInitialized=()=>{ParserImpl.init(),resolveInitPromise()}})))}}return Parser}();module.exports=TreeSitter},3885:(e,t,s)=>{"use strict";var n=s(6100),i=Error,r=n("".replace),o=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=r(e,a,"");return e}},3934:(e,t,s)=>{var n=s(3212),i=s(6465),r=s(5568);e.exports=function(e,t,s,o,a,c){var l=1&s,u=e.length,d=t.length;if(u!=d&&!(l&&d>u))return!1;var m=c.get(e),p=c.get(t);if(m&&p)return m==t&&p==e;var h=-1,g=!0,_=2&s?new n:void 0;for(c.set(e,t),c.set(t,e);++h<u;){var f=e[h],b=t[h];if(o)var v=l?o(b,f,h,t,e,c):o(f,b,h,e,t,c);if(void 0!==v){if(v)continue;g=!1;break}if(_){if(!i(t,(function(e,t){if(!r(_,t)&&(f===e||a(f,e,s,o,c)))return _.push(t)}))){g=!1;break}}else if(f!==b&&!a(f,b,s,o,c)){g=!1;break}}return c.delete(e),c.delete(t),g}},3964:(e,t,s)=>{var n=s(7034);e.exports=function(e,t){var s=this.__data__,i=n(s,e);return i<0?(++this.size,s.push([e,t])):s[i][1]=t,this}},3999:(e,t,s)=>{"use strict";var n=s(5024),i=s(9989),r=s(480);e.exports=n?function(e,t,s){return i.f(e,t,r(1,s))}:function(e,t,s){return e[t]=s,e}},4066:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},4103:(e,t,s)=>{var n=s(1386);e.exports=function(){this.__data__=new n,this.size=0}},4123:(e,t,s)=>{const n=s(1517);function i(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class r{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const i=e.bind(t)(n);i&&s.push(i)})),s}filter(e,t){return e=i(e),new r(this.elements.filter(e,t))}reject(e,t){return e=i(e),new r(this.elements.filter(n(e),t))}find(e,t){return e=i(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=r},4142:()=>{},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},4275:(e,t,s)=>{"use strict";var n=s(8141),i=s(1268),r=n("keys");e.exports=function(e){return r[e]||(r[e]=i(e))}},4279:(e,t,s)=>{"use strict";var n=s(3999),i=s(3885),r=s(5791),o=Error.captureStackTrace;e.exports=function(e,t,s,a){r&&(o?o(e,t):n(e,"stack",i(s,a)))}},4317:(e,t,s)=>{"use strict";var n=s(6100);e.exports=n({}.isPrototypeOf)},4497:(e,t,s)=>{var n=s(4715)(Object,"create");e.exports=n},4512:(e,t,s)=>{var n=s(4715)(s(8942),"Set");e.exports=n},4543:(e,t,s)=>{"use strict";var n=s(5024),i=s(4713),r=s(7161),o=s(480),a=s(3273),c=s(5341),l=s(701),u=s(9665),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return o(!i(r.f,e,t),e[t])}},4572:(e,t,s)=>{"use strict";var n=s(9344),i=s(814),r=s(1780),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:r?o(e,t):function(){return e.apply(t,arguments)}}},4574:(e,t,s)=>{"use strict";var n=s(9903),i=Math.max,r=Math.min;e.exports=function(e,t){var s=n(e);return s<0?i(s+t,0):r(s,t)}},4603:(e,t,s)=>{"use strict";var n=s(5547),i=s(1203),r=s(8900).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4674:(e,t,s)=>{"use strict";var n=s(814),i=s(3057);e.exports=function(e,t){var s=e[t];return i(s)?void 0:n(s)}},4687:(e,t,s)=>{var n=s(353),i=s(547);e.exports=function e(t,s,r,o,a){return t===s||(null==t||null==s||!i(t)&&!i(s)?t!=t&&s!=s:n(t,s,r,o,e,a))}},4700:(e,t,s)=>{var n=s(9067);e.exports=function(e,t){var s=e.__data__;return n(t)?s["string"==typeof t?"string":"hash"]:s.map}},4713:(e,t,s)=>{"use strict";var n=s(1780),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},4715:(e,t,s)=>{var n=s(9624),i=s(155);e.exports=function(e,t){var s=i(e,t);return n(s)?s:void 0}},4732:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).has(e)}},4759:(e,t,s)=>{var n,i=s(1950),r=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},4772:e=>{e.exports=function(){return!1}},4871:e=>{"use strict";e.exports=!0},4879:(e,t,s)=>{"use strict";var n=s(1139);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},4882:e=>{var t=Object.prototype;e.exports=function(e){var s=e&&e.constructor;return e===("function"==typeof s&&s.prototype||t)}},4904:(e,t,s)=>{"use strict";var n={};n[s(8655)("toStringTag")]="z",e.exports="[object z]"===String(n)},4967:(e,t,s)=>{var n="object"==typeof s.g&&s.g&&s.g.Object===Object&&s.g;e.exports=n},5024:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5071:(e,t,s)=>{var n=s(4497);e.exports=function(e,t){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},5098:(e,t,s)=>{var n=s(3305),i=s(9361),r=s(1112),o=s(5276),a=s(5071);function c(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},5116:(e,t,s)=>{"use strict";var n=s(8600),i=s(9683).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},5241:e=>{"use strict";e.exports={}},5276:(e,t,s)=>{var n=s(4497),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},5341:(e,t,s)=>{"use strict";var n=s(493),i=s(6281);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5426:(e,t,s)=>{"use strict";var n=s(3057),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},5442:(e,t,s)=>{"use strict";s(5695)},5516:(e,t,s)=>{"use strict";var n=s(9989).f;e.exports=function(e,t,s){s in e||n(e,s,{configurable:!0,get:function(){return t[s]},set:function(e){t[s]=e}})}},5547:(e,t,s)=>{"use strict";var n,i,r=s(8900),o=s(3531),a=r.process,c=r.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},5568:e=>{e.exports=function(e,t){return e.has(t)}},5571:(e,t,s)=>{"use strict";var n=s(6100),i=s(9903),r=s(1139),o=s(5426),a=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(e){return function(t,s){var n,u,d=r(o(t)),m=i(s),p=d.length;return m<0||m>=p?e?"":void 0:(n=c(d,m))<55296||n>56319||m+1===p||(u=c(d,m+1))<56320||u>57343?e?a(d,m):n:e?l(d,m,m+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},5642:(e,t,s)=>{const n=s(1517),i=s(1580),r=s(9796),o=s(7309),a=s(3311);e.exports=class extends r{constructor(e,t,s){super(e||[],t,s),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((s=>s.key.toValue()!==e||(t=s,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(i(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const s=e,n=this.getMember(s);return n?n.value=t:this.content.push(new o(s,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((s=>e.bind(t)(s.value,s.key,s)))}compactMap(e,t){const s=[];return this.forEach(((n,i,r)=>{const o=e.bind(t)(n,i,r);o&&s.push(o)})),s}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((s=>e.bind(t)(s.value,s.key,s)))}}},5650:(e,t,s)=>{var n=s(8942).Symbol;e.exports=n},5681:(e,t,s)=>{var n=s(4700);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},5691:(e,t,s)=>{"use strict";var n=s(1003),i=s(6100),r=s(5116),o=s(7313),a=s(7235),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=r.f(a(e)),s=o.f;return s?c(t,s(e)):t}},5695:(e,t,s)=>{"use strict";s(3085)},5735:(e,t,s)=>{const n=s(9310),i=s(8138),r=s(986),o=s(2563),a=s(1580),c=s(394),l=s(7547);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=l.Element,this.KeyValuePair=l.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",l.NullElement).register("string",l.StringElement).register("number",l.NumberElement).register("boolean",l.BooleanElement).register("array",l.ArrayElement).register("object",l.ObjectElement).register("member",l.MemberElement).register("ref",l.RefElement).register("link",l.LinkElement),this.detect(n,l.NullElement,!1).detect(i,l.StringElement,!1).detect(r,l.NumberElement,!1).detect(o,l.BooleanElement,!1).detect(Array.isArray,l.ArrayElement,!1).detect(a,l.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,s){return void 0===s||s?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let s=0;s<this.elementDetection.length;s+=1){const n=this.elementDetection[s][0],i=this.elementDetection[s][1];if(n(e)){t=new i(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=u,e.exports=u},5777:e=>{"use strict";var t=Math.ceil,s=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?s:t)(n)}},5780:(e,t,s)=>{"use strict";var n,i=s(7235),r=s(7389),o=s(9683),a=s(5241),c=s(3489),l=s(9619),u=s(4275),d="prototype",m="script",p=u("IE_PROTO"),h=function(){},g=function(e){return"<"+m+">"+e+"</"+m+">"},_=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},f=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,s;f="undefined"!=typeof document?document.domain&&n?_(n):(t=l("iframe"),s="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(s),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):_(n);for(var i=o.length;i--;)delete f[d][o[i]];return f()};a[p]=!0,e.exports=Object.create||function(e,t){var s;return null!==e?(h[d]=i(e),s=new h,h[d]=null,s[p]=e):s=f(),void 0===t?s:r.f(s,t)}},5791:(e,t,s)=>{"use strict";var n=s(1203),i=s(480);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},5853:(e,t,s)=>{e=s.nmd(e);var n=s(8942),i=s(4772),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},5894:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e,n){s[++t]=[n,e]})),s}},6027:(e,t,s)=>{var n=s(7379),i=s(547);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},6100:(e,t,s)=>{"use strict";var n=s(1780),i=Function.prototype,r=i.call,o=n&&i.bind.bind(r,r);e.exports=n?o:function(e){return function(){return r.apply(e,arguments)}}},6137:e=>{e.exports=function(e,t){for(var s=-1,n=Array(e);++s<e;)n[s]=t(s);return n}},6138:(e,t,s)=>{"use strict";var n=s(9098),i=s(1003),r=s(7013),o=s(1203),a=s(6453),c="AggregateError",l=i(c),u=!o((function(){return 1!==l([1]).errors[0]}))&&o((function(){return 7!==l([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:a(c,(function(e){return function(t,s){return r(e,this,arguments)}}),u,!0)})},6281:(e,t,s)=>{"use strict";var n=s(1003),i=s(2769),r=s(4317),o=s(7460),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&r(t.prototype,a(e))}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6343:(e,t,s)=>{var n=s(4687);e.exports=function(e,t){return n(e,t)}},6453:(e,t,s)=>{"use strict";var n=s(1003),i=s(701),r=s(3999),o=s(4317),a=s(3491),c=s(7464),l=s(5516),u=s(3507),d=s(4879),m=s(8148),p=s(4279),h=s(5024),g=s(4871);e.exports=function(e,t,s,_){var f="stackTraceLimit",b=_?2:1,v=e.split("."),y=v[v.length-1],x=n.apply(null,v);if(x){var E=x.prototype;if(!g&&i(E,"cause")&&delete E.cause,!s)return x;var w=n("Error"),S=t((function(e,t){var s=d(_?t:e,void 0),n=_?new x(e):new x;return void 0!==s&&r(n,"message",s),p(n,S,n.stack,2),this&&o(E,this)&&u(n,this,S),arguments.length>b&&m(n,arguments[b]),n}));if(S.prototype=E,"Error"!==y?a?a(S,w):c(S,w,{name:!0}):h&&f in x&&(l(S,x,f),l(S,x,"prepareStackTrace")),c(S,x),!g)try{E.name!==y&&r(E,"name",y),E.constructor=S}catch(e){}return S}}},6465:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length;++s<n;)if(t(e[s],s,e))return!0;return!1}},6529:(e,t,s)=>{var n=s(3655),i=s(5387);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},6625:e=>{"use strict";e.exports={}},6638:(e,t,s)=>{var n=s(1386),i=s(9770),r=s(8250);e.exports=function(e,t){var s=this.__data__;if(s instanceof n){var o=s.__data__;if(!i||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new r(o)}return s.set(e,t),this.size=s.size,this}},6656:(e,t,s)=>{"use strict";s(484),s(5695),s(6138),s(9828),s(3832);var n=s(8099);e.exports=n.AggregateError},6850:(e,t,s)=>{"use strict";t.MH=void 0;const n=s(8583);function i(e,t,s){const i=function(e){return e.match(/[^a-f0-9]/i)?NaN:parseInt(e,16)}(e);if(Number.isNaN(i)||void 0!==s&&s!==e.length)throw new SyntaxError(n.errorMessages.get(t));return i}function r(e,t){const s=i(e,n.ErrorType.MalformedUnicode,4);if(void 0!==t){const e=i(t,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(s,e)}return String.fromCharCode(s)}const o=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|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 c(e,t=!1){return e.replace(a,(function(e,s,a,c,l,u,d,m,p){if(void 0!==s)return"\\";if(void 0!==a)return function(e){const t=i(e,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(t)}(a);if(void 0!==c)return function(e){if("{"!==(t=e).charAt(0)||"}"!==t.charAt(t.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var t;const s=i(e.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(s)}catch(e){throw e instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):e}}(c);if(void 0!==l)return r(l,u);if(void 0!==d)return r(d);if("0"===m)return"\0";if(void 0!==m)return function(e,t=!1){if(t)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const s=parseInt(e,8);return String.fromCharCode(s)}(m,!t);if(void 0!==p)return h=p,o.get(h)||h;var h;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}t.MH=c},7013:(e,t,s)=>{"use strict";var n=s(1780),i=Function.prototype,r=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(r):function(){return o.apply(r,arguments)})},7034:(e,t,s)=>{var n=s(6285);e.exports=function(e,t){for(var s=e.length;s--;)if(n(e[s][0],t))return s;return-1}},7144:(e,t,s)=>{var n=s(7034);e.exports=function(e){var t=this.__data__,s=n(t,e);return s<0?void 0:t[s][1]}},7161:(e,t)=>{"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!s.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:s},7202:(e,t,s)=>{"use strict";var n=s(239);e.exports=n},7235:(e,t,s)=>{"use strict";var n=s(262),i=String,r=TypeError;e.exports=function(e){if(n(e))return e;throw new r(i(e)+" is not an object")}},7309:(e,t,s)=>{const n=s(2322),i=s(8631);e.exports=class extends i{constructor(e,t,s,i){super(new n,s,i),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},7313:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},7379:(e,t,s)=>{var n=s(5650),i=s(8870),r=s(9005),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):r(e)}},7389:(e,t,s)=>{"use strict";var n=s(5024),i=s(1330),r=s(9989),o=s(7235),a=s(3273),c=s(8364);t.f=n&&!i?Object.defineProperties:function(e,t){o(e);for(var s,n=a(t),i=c(t),l=i.length,u=0;l>u;)r.f(e,s=i[u++],n[s]);return e}},7447:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e){s[++t]=e})),s}},7452:(e,t,s)=>{var n=s(7034);e.exports=function(e){return n(this.__data__,e)>-1}},7460:(e,t,s)=>{"use strict";var n=s(4603);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},7464:(e,t,s)=>{"use strict";var n=s(701),i=s(5691),r=s(4543),o=s(9989);e.exports=function(e,t,s){for(var a=i(t),c=o.f,l=r.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||s&&n(s,d)||c(e,d,l(t,d))}}},7525:(e,t,s)=>{"use strict";var n=s(8900),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(s){n[e]=t}return t}},7547:(e,t,s)=>{const n=s(8631),i=s(3004),r=s(8712),o=s(2536),a=s(2555),c=s(9796),l=s(7309),u=s(5642),d=s(9620),m=s(593),p=s(4123),h=s(3311),g=s(2322);function _(e){if(e instanceof n)return e;if("string"==typeof e)return new r(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new i;if(Array.isArray(e))return new c(e.map(_));if("object"==typeof e){return new u(e)}return e}n.prototype.ObjectElement=u,n.prototype.RefElement=m,n.prototype.MemberElement=l,n.prototype.refract=_,p.prototype.refract=_,e.exports={Element:n,NullElement:i,StringElement:r,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:l,ObjectElement:u,LinkElement:d,RefElement:m,refract:_,ArraySlice:p,ObjectSlice:h,KeyValuePair:g}},7979:(e,t,s)=>{var n=s(9847),i=s(9306),r=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return r.call(e,t)})))}:i;e.exports=a},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},8099:e=>{"use strict";e.exports={}},8121:(e,t,s)=>{var n=s(3766)(Object.keys,Object);e.exports=n},8130:(e,t,s)=>{"use strict";var n=s(8146);e.exports=function(e){return n(e.length)}},8137:e=>{"use strict";e.exports=function(){}},8138:(e,t,s)=>{var n=s(7379),i=s(3142),r=s(547);e.exports=function(e){return"string"==typeof e||!i(e)&&r(e)&&"[object String]"==n(e)}},8141:(e,t,s)=>{"use strict";var n=s(3753);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},8146:(e,t,s)=>{"use strict";var n=s(9903),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},8148:(e,t,s)=>{"use strict";var n=s(262),i=s(3999);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},8244:(e,t,s)=>{var n=s(1129),i=s(3142);e.exports=function(e,t,s){var r=t(e);return i(e)?r:n(r,s(e))}},8250:(e,t,s)=>{var n=s(9753),i=s(5681),r=s(88),o=s(4732),a=s(9068);function c(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},8326:(e,t,s)=>{const n=s(5735),i=s(7547);t.g$=n,t.KeyValuePair=s(2322),t.G6=i.ArraySlice,t.ot=i.ObjectSlice,t.Hg=i.Element,t.Om=i.StringElement,t.kT=i.NumberElement,t.bd=i.BooleanElement,t.Os=i.NullElement,t.wE=i.ArrayElement,t.Sh=i.ObjectElement,t.Pr=i.MemberElement,t.sI=i.RefElement,t.Ft=i.LinkElement,t.e=i.refract,s(394),s(3148)},8337:(e,t,s)=>{"use strict";s(5442);var n=s(7202);e.exports=n},8364:(e,t,s)=>{"use strict";var n=s(8600),i=s(9683);e.exports=Object.keys||function(e){return n(e,i)}},8407:(e,t,s)=>{"use strict";var n=s(4904),i=s(2769),r=s(9932),o=s(8655)("toStringTag"),a=Object,c="Arguments"===r(function(){return arguments}());e.exports=n?r:function(e){var t,s,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?s:c?r(t):"Object"===(n=r(t))&&i(t.callee)?"Arguments":n}},8411:(e,t,s)=>{"use strict";e.exports=s(8337)},8417:(e,t,s)=>{"use strict";var n,i,r,o=s(1314),a=s(8900),c=s(262),l=s(3999),u=s(701),d=s(3753),m=s(4275),p=s(5241),h="Object already initialized",g=a.TypeError,_=a.WeakMap;if(o||d.state){var f=d.state||(d.state=new _);f.get=f.get,f.has=f.has,f.set=f.set,n=function(e,t){if(f.has(e))throw new g(h);return t.facade=e,f.set(e,t),t},i=function(e){return f.get(e)||{}},r=function(e){return f.has(e)}}else{var b=m("state");p[b]=!0,n=function(e,t){if(u(e,b))throw new g(h);return t.facade=e,l(e,b,t),t},i=function(e){return u(e,b)?e[b]:{}},r=function(e){return u(e,b)}}e.exports={set:n,get:i,has:r,enforce:function(e){return r(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var s;if(!c(t)||(s=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return s}}}},8486:(e,t,s)=>{var n=s(3103),i=s(9770),r=s(9413),o=s(4512),a=s(9270),c=s(7379),l=s(4066),u="[object Map]",d="[object Promise]",m="[object Set]",p="[object WeakMap]",h="[object DataView]",g=l(n),_=l(i),f=l(r),b=l(o),v=l(a),y=c;(n&&y(new n(new ArrayBuffer(1)))!=h||i&&y(new i)!=u||r&&y(r.resolve())!=d||o&&y(new o)!=m||a&&y(new a)!=p)&&(y=function(e){var t=c(e),s="[object Object]"==t?e.constructor:void 0,n=s?l(s):"";if(n)switch(n){case g:return h;case _:return u;case f:return d;case b:return m;case v:return p}return t}),e.exports=y},8583:(e,t)=>{"use strict";var s;Object.defineProperty(t,"__esModule",{value:!0}),t.errorMessages=t.ErrorType=void 0,function(e){e.MalformedUnicode="MALFORMED_UNICODE",e.MalformedHexadecimal="MALFORMED_HEXADECIMAL",e.CodePointLimit="CODE_POINT_LIMIT",e.OctalDeprecation="OCTAL_DEPRECATION",e.EndOfString="END_OF_STRING"}(s=t.ErrorType||(t.ErrorType={})),t.errorMessages=new Map([[s.MalformedUnicode,"malformed Unicode character escape sequence"],[s.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[s.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[s.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[s.EndOfString,"malformed escape sequence at end of string"]])},8600:(e,t,s)=>{"use strict";var n=s(6100),i=s(701),r=s(3273),o=s(1005).indexOf,a=s(5241),c=n([].push);e.exports=function(e,t){var s,n=r(e),l=0,u=[];for(s in n)!i(a,s)&&i(n,s)&&c(u,s);for(;t.length>l;)i(n,s=t[l++])&&(~o(u,s)||c(u,s));return u}},8631:(e,t,s)=>{const n=s(6343),i=s(2322),r=s(4123);class o{constructor(e,t,s){t&&(this.meta=t),s&&(this.attributes=s),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof i?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let s=new r;const n=(e,t)=>(e.push(t),e),o=(e,s)=>{s.element===t&&e.push(s);const r=s.findRecursive(t);return r&&r.reduce(n,e),s.content instanceof i&&(s.content.key&&o(e,s.content.key),s.content.value&&o(e,s.content.value)),e};return this.content&&(this.content.element&&o(s,this.content),Array.isArray(this.content)&&this.content.reduce(o,s)),e.isEmpty||(s=s.filter((t=>{let s=t.parents.map((e=>e.element));for(const t in e){const n=e[t],i=s.indexOf(n);if(-1===i)return!1;s=s.splice(0,i)}return!0}))),s}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof r)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof i)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new r;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new r(this.content);if(this.content instanceof i){const e=new r([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new r([this.content]):new r}get recursiveChildren(){const e=new r;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8655:(e,t,s)=>{"use strict";var n=s(8900),i=s(8141),r=s(701),o=s(1268),a=s(4603),c=s(7460),l=n.Symbol,u=i("wks"),d=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return r(u,e)||(u[e]=a&&r(l,e)?l[e]:d("Symbol."+e)),u[e]}},8666:(e,t,s)=>{var n=s(674),i=s(9460),r=s(2306),o=r&&r.isTypedArray,a=o?i(o):n;e.exports=a},8696:(e,t,s)=>{"use strict";var n=s(1203),i=s(2769),r=/#|\.prototype\./,o=function(e,t){var s=c[a(e)];return s===u||s!==l&&(i(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},8712:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8861:(e,t,s)=>{var n=s(5650),i=s(1623),r=s(6285),o=s(3934),a=s(5894),c=s(7447),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,s,n,l,d,m){switch(s){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=a;case"[object Set]":var h=1&n;if(p||(p=c),e.size!=t.size&&!h)return!1;var g=m.get(e);if(g)return g==t;n|=2,m.set(e,t);var _=o(p(e),p(t),n,l,d,m);return m.delete(e),_;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},8870:(e,t,s)=>{var n=s(5650),i=Object.prototype,r=i.hasOwnProperty,o=i.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=r.call(e,a),s=e[a];try{e[a]=void 0;var n=!0}catch(e){}var i=o.call(e);return n&&(t?e[a]=s:delete e[a]),i}},8900:function(e,t,s){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof s.g&&s.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},8942:(e,t,s)=>{var n=s(4967),i="object"==typeof self&&self&&self.Object===Object&&self,r=n||i||Function("return this")();e.exports=r},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},9068:(e,t,s)=>{var n=s(4700);e.exports=function(e,t){var s=n(this,e),i=s.size;return s.set(e,t),this.size+=s.size==i?0:1,this}},9098:(e,t,s)=>{"use strict";var n=s(8900),i=s(7013),r=s(9344),o=s(2769),a=s(4543).f,c=s(8696),l=s(8099),u=s(4572),d=s(3999),m=s(701);s(3753);var p=function(e){var t=function(s,n,r){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(s);case 2:return new e(s,n)}return new e(s,n,r)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var s,i,h,g,_,f,b,v,y,x=e.target,E=e.global,w=e.stat,S=e.proto,j=E?n:w?n[x]:n[x]&&n[x].prototype,B=E?l:l[x]||d(l,x,{})[x],O=B.prototype;for(g in t)i=!(s=c(E?g:x+(w?".":"#")+g,e.forced))&&j&&m(j,g),f=B[g],i&&(b=e.dontCallGetSet?(y=a(j,g))&&y.value:j[g]),_=i&&b?b:t[g],(s||S||typeof f!=typeof _)&&(v=e.bind&&i?u(_,n):e.wrap&&i?p(_):S&&o(_)?r(_):_,(e.sham||_&&_.sham||f&&f.sham)&&d(v,"sham",!0),d(B,g,v),S&&(m(l,h=x+"Prototype")||d(l,h,{}),d(l[h],g,_),e.real&&O&&(s||!O[g])&&d(O,g,_)))}},9258:(e,t,s)=>{"use strict";var n=s(4713),i=s(2769),r=s(262),o=TypeError;e.exports=function(e,t){var s,a;if("string"===t&&i(s=e.toString)&&!r(a=n(s,e)))return a;if(i(s=e.valueOf)&&!r(a=n(s,e)))return a;if("string"!==t&&i(s=e.toString)&&!r(a=n(s,e)))return a;throw new o("Can't convert object to primitive value")}},9270:(e,t,s)=>{var n=s(4715)(s(8942),"WeakMap");e.exports=n},9306:e=>{e.exports=function(){return[]}},9310:e=>{e.exports=function(e){return null===e}},9344:(e,t,s)=>{"use strict";var n=s(9932),i=s(6100);e.exports=function(e){if("Function"===n(e))return i(e)}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},9413:(e,t,s)=>{var n=s(4715)(s(8942),"Promise");e.exports=n},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},9559:(e,t,s)=>{"use strict";var n=s(4904),i=s(8407);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},9619:(e,t,s)=>{"use strict";var n=s(8900),i=s(262),r=n.document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},9620:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},9624:(e,t,s)=>{var n=s(3655),i=s(4759),r=s(1580),o=s(4066),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,m=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||i(e))&&(n(e)?m:a).test(o(e))}},9632:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,s){var n=typeof e;return!!(s=null==s?9007199254740991:s)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<s}},9665:(e,t,s)=>{"use strict";var n=s(5024),i=s(1203),r=s(9619);e.exports=!n&&!i((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},9683:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9753:(e,t,s)=>{var n=s(5098),i=s(1386),r=s(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(r||i),string:new n}}},9770:(e,t,s)=>{var n=s(4715)(s(8942),"Map");e.exports=n},9796:(e,t,s)=>{const n=s(1517),i=s(8631),r=s(4123);class o extends i{constructor(e,t,s){super(e||[],t,s),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const i=e.bind(t)(n);i&&s.push(i)})),s}filter(e,t){return new r(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=s;t<this.length;t+=1){const s=this.content[t];n="object"===this.primitive()?this.refract(e(n,s.value,s.key,s,this)):this.refract(e(n,s,t,this))}return n}forEach(e,t){this.content.forEach(((s,n)=>{e.bind(t)(s,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const s=t||{},n=!!s.recursive,i=void 0===s.results?[]:s.results;return this.forEach(((t,s,r)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:i,recursive:n}),e(t,s,r)&&i.push(t)})),i}find(e){return new r(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},9828:(e,t,s)=>{"use strict";var n=s(3273),i=s(8137),r=s(6625),o=s(8417),a=s(9989).f,c=s(164),l=s(877),u=s(4871),d=s(5024),m="Array Iterator",p=o.set,h=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){p(this,{type:m,target:n(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,s=e.index++;if(!t||s>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(s,!1);case"values":return l(t[s],!1)}return l([s,t[s]],!1)}),"values");var g=r.Arguments=r.Array;if(i("keys"),i("values"),i("entries"),!u&&d&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},9847:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,i=0,r=[];++s<n;){var o=e[s];t(o,s,e)&&(r[i++]=o)}return r}},9903:(e,t,s)=>{"use strict";var n=s(5777);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},9932:(e,t,s)=>{"use strict";var n=s(6100),i=n({}.toString),r=n("".slice);e.exports=function(e){return r(i(e),8,-1)}},9989:(e,t,s)=>{"use strict";var n=s(5024),i=s(9665),r=s(1330),o=s(7235),a=s(5341),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",m="configurable",p="writable";t.f=n?r?function(e,t,s){if(o(e),t=a(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&p in s&&!s[p]){var n=u(e,t);n&&n[p]&&(e[t]=s.value,s={configurable:m in s?s[m]:n[m],enumerable:d in s?s[d]:n[d],writable:!1})}return l(e,t,s)}:l:function(e,t,s){if(o(e),t=a(t),o(s),i)try{return l(e,t,s)}catch(e){}if("get"in s||"set"in s)throw new c("Accessors not supported");return"value"in s&&(e[t]=s.value),e}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var s=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(s.exports,s,s.exports,__webpack_require__),s.loaded=!0,s.exports}__webpack_require__.d=(e,t)=>{for(var s in t)__webpack_require__.o(t,s)&&!__webpack_require__.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var s=t.getElementsByTagName("script");if(s.length)for(var n=s.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=s[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})();var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{detect:()=>cM,detectionRegExp:()=>aM,mediaTypes:()=>oM,namespace:()=>uM,parse:()=>lM});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{hasElementSourceMap:()=>ci,includesClasses:()=>ui,includesSymbols:()=>li,isAnnotationElement:()=>ii,isArrayElement:()=>ei,isBooleanElement:()=>Qn,isCommentElement:()=>ri,isElement:()=>zn,isLinkElement:()=>si,isMemberElement:()=>ti,isNullElement:()=>Yn,isNumberElement:()=>Kn,isObjectElement:()=>Xn,isParseResultElement:()=>oi,isPrimitiveElement:()=>ai,isRefElement:()=>ni,isStringElement:()=>Zn});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{isJSONReferenceElement:()=>Xr,isJSONSchemaElement:()=>Qr,isLinkDescriptionElement:()=>to,isMediaElement:()=>eo});var s={};__webpack_require__.r(s),__webpack_require__.d(s,{isJSONReferenceElement:()=>Xr,isJSONSchemaElement:()=>pa,isLinkDescriptionElement:()=>ha,isMediaElement:()=>eo});var n={};__webpack_require__.r(n),__webpack_require__.d(n,{isJSONReferenceElement:()=>Xr,isJSONSchemaElement:()=>zc,isLinkDescriptionElement:()=>Zc});var i={};__webpack_require__.r(i),__webpack_require__.d(i,{isAsyncApi2Element:()=>ll,isAsyncApiVersionElement:()=>ul,isBooleanJsonSchemaElement:()=>Sl,isChannelBindingsElement:()=>dl,isChannelItemElement:()=>ml,isChannelsElement:()=>pl,isComponentsElement:()=>hl,isContactElement:()=>gl,isIdentifierElement:()=>_l,isInfoElement:()=>fl,isLicenseElement:()=>bl,isOperationElement:()=>vl,isParameterElement:()=>yl,isParametersElement:()=>xl,isReferenceElement:()=>El,isSchemaElement:()=>wl,isSecurityRequirementElement:()=>jl,isServerBindingsElement:()=>Ol,isServerElement:()=>Bl,isServerVariableElement:()=>$l,isServersElement:()=>Ml});var r={};function o(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(s){return 0===arguments.length||o(s)?t:e.apply(this,arguments)}}function c(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return o(s)?t:a((function(t){return e(s,t)}));default:return o(s)&&o(n)?t:o(s)?a((function(t){return e(t,n)})):o(n)?a((function(t){return e(s,t)})):e(s,n)}}}function l(e){return function t(s,n,i){switch(arguments.length){case 0:return t;case 1:return o(s)?t:c((function(t,n){return e(s,t,n)}));case 2:return o(s)&&o(n)?t:o(s)?c((function(t,s){return e(t,n,s)})):o(n)?c((function(t,n){return e(s,t,n)})):a((function(t){return e(s,n,t)}));default:return o(s)&&o(n)&&o(i)?t:o(s)&&o(n)?c((function(t,s){return e(t,s,i)})):o(s)&&o(i)?c((function(t,s){return e(t,n,s)})):o(n)&&o(i)?c((function(t,n){return e(s,t,n)})):o(s)?a((function(t){return e(t,n,i)})):o(n)?a((function(t){return e(s,t,i)})):o(i)?a((function(t){return e(s,n,t)})):e(s,n,i)}}}__webpack_require__.r(r),__webpack_require__.d(r,{isAsyncApi3Element:()=>_y,isAsyncApiVersionElement:()=>fy,isChannelBindingsElement:()=>by,isChannelElement:()=>vy,isChannelsElement:()=>yy,isComponentsElement:()=>xy,isContactElement:()=>Ey,isIdentifierElement:()=>wy,isInfoElement:()=>Sy,isLicenseElement:()=>jy,isMultiFormatSchemaElement:()=>qy,isOperationElement:()=>By,isParameterElement:()=>Oy,isParametersElement:()=>My,isReferenceElement:()=>$y,isSchemaElement:()=>Py,isServerBindingsElement:()=>Cy,isServerElement:()=>Ay,isServerVariableElement:()=>Fy,isServersElement:()=>Ty});const u=c((function(e,t){return null==t||t!=t?e:t})),d=Number.isInteger||function(e){return(e|0)===e};function m(e){return"[object String]"===Object.prototype.toString.call(e)}function p(e,t){var s=e<0?t.length+e:e;return m(t)?t.charAt(s):t[s]}const h=c((function(e,t){if(null!=t)return d(e)?p(e,t):t[e]}));const g=l((function(e,t,s){return u(e,h(t,s))}));var _=c((function(e,t){for(var s={},n={},i=0,r=e.length;i<r;)n[e[i]]=1,i+=1;for(var o in t)n.hasOwnProperty(o)||(s[o]=t[o]);return s}));const f=_;function b(e,t,s){for(var n=0,i=s.length;n<i;)t=e(t,s[n]),n+=1;return t}const v=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const y=a((function(e){return!!v(e)||!!e&&("object"==typeof e&&(!m(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var x="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,s){return function(n,i,r){if(y(r))return e(n,i,r);if(null==r)return i;if("function"==typeof r["fantasy-land/reduce"])return t(n,i,r,"fantasy-land/reduce");if(null!=r[x])return s(n,i,r[x]());if("function"==typeof r.next)return s(n,i,r);if("function"==typeof r.reduce)return t(n,i,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function w(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function S(e,t,s,n){return s[n](e,t)}const j=E(b,S,w);function B(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!v(n)){for(var i=0;i<e.length;){if("function"==typeof n[e[i]])return n[e[i]].apply(n,Array.prototype.slice.call(arguments,0,-1));i+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return s.apply(this,arguments)}}function O(e,t){for(var s=0,n=t.length,i=Array(n);s<n;)i[s]=e(t[s]),s+=1;return i}const M=function(){return this.xf["@@transducer/init"]()},$=function(e){return this.xf["@@transducer/result"](e)};var P=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=$,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const A=function(e){return function(t){return new P(e,t)}};function C(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,n){return t.apply(this,arguments)};case 4:return function(e,s,n,i){return t.apply(this,arguments)};case 5:return function(e,s,n,i,r){return t.apply(this,arguments)};case 6:return function(e,s,n,i,r,o){return t.apply(this,arguments)};case 7:return function(e,s,n,i,r,o,a){return t.apply(this,arguments)};case 8:return function(e,s,n,i,r,o,a,c){return t.apply(this,arguments)};case 9:return function(e,s,n,i,r,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,s,n,i,r,o,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function T(e,t,s){return function(){for(var n=[],i=0,r=e,a=0,c=!1;a<t.length||i<arguments.length;){var l;a<t.length&&(!o(t[a])||i>=arguments.length)?l=t[a]:(l=arguments[i],i+=1),n[a]=l,o(l)?c=!0:r-=1,a+=1}return!c&&r<=0?s.apply(this,n):C(Math.max(0,r),T(e,n,s))}}const F=c((function(e,t){return 1===e?a(t):C(e,T(e,[],t))}));function q(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var I=Object.prototype.toString;const R=function(){return"[object Arguments]"===I.call(arguments)?function(e){return"[object Arguments]"===I.call(e)}:function(e){return q("callee",e)}}();var k=!{toString:null}.propertyIsEnumerable("toString"),N=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],V=function(){return arguments.propertyIsEnumerable("length")}(),D=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},L="function"!=typeof Object.keys||V?a((function(e){if(Object(e)!==e)return[];var t,s,n=[],i=V&&R(e);for(t in e)!q(t,e)||i&&"length"===t||(n[n.length]=t);if(k)for(s=N.length-1;s>=0;)q(t=N[s],e)&&!D(n,t)&&(n[n.length]=t),s-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const U=L;const W=c(B(["fantasy-land/map","map"],A,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return F(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return b((function(s,n){return s[n]=e(t[n]),s}),{},U(t));default:return O(e,t)}})));const H=c((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(s){return e(s)(t(s))}:j((function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,i=t.length,r=[];for(s=0;s<n;)r[r.length]=e[s],s+=1;for(s=0;s<i;)r[r.length]=t[s],s+=1;return r}(e,W(s,t))}),[],e)}));const G=c((function(e,t){var s=F(e,t);return F(e,(function(){return b(H,W(s,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const J=a((function(e){return G(e.length,e)}));const z=J(a((function(e){return!e})));function Z(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function K(e,t,s){for(var n=0,i=s.length;n<i;){if(e(t,s[n]))return!0;n+=1}return!1}const Y="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Q=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function X(e,t,s,n){var i=Z(e);function r(e,t){return ee(e,t,s.slice(),n.slice())}return!K((function(e,t){return!K(r,t,e)}),Z(t),i)}function ee(e,t,s,n){if(Y(e,t))return!0;var i,r,o=Q(e);if(o!==Q(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(i=e.constructor,null==(r=String(i).match(/^function (\w*)/))?"":r[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!Y(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Y(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=s.length-1;a>=0;){if(s[a]===e)return n[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&X(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&X(e.values(),t.values(),s.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=U(e);if(c.length!==U(t).length)return!1;var l=s.concat([e]),u=n.concat([t]);for(a=c.length-1;a>=0;){var d=c[a];if(!q(d,t)||!ee(t[d],e[d],l,u))return!1;a-=1}return!0}const te=c((function(e,t){return ee(e,t,[],[])}));const se=a((function(e){return function(){return e}}));const ne=se(void 0);const ie=te(ne());const re=z(ie);var oe=__webpack_require__(8326);function ae(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ce(e,t,s){for(var n=0,i=s.length;n<i;){if((t=e["@@transducer/step"](t,s[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const le=c((function(e,t){return C(e.length,(function(){return e.apply(t,arguments)}))}));function ue(e,t,s){for(var n=s.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=s.next()}return e["@@transducer/result"](t)}function de(e,t,s,n){return e["@@transducer/result"](s[n](le(e["@@transducer/step"],e),t))}const me=E(ce,de,ue);var pe=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function he(e){return new pe(e)}const ge=l((function(e,t,s){return me("function"==typeof e?he(e):e,t,s)}));function _e(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return v(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const fe=l(_e("slice",(function(e,t,s){return Array.prototype.slice.call(s,e,t)})));const be=a(_e("tail",fe(1,1/0)));function ve(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return C(arguments[0].length,ge(ae,arguments[0],be(arguments)))}var ye=function(e,t){switch(arguments.length){case 0:return ye;case 1:return function t(s){return 0===arguments.length?t:Y(e,s)};default:return Y(e,t)}};const xe=ye;function Ee(e,t){return function(e,t,s){var n,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(i=e[s])&&1/i===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(i=e[s])&&i!=i)return s;s+=1}return-1}return e.indexOf(t,s);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,s);case"object":if(null===t)return e.indexOf(t,s)}for(;s<e.length;){if(te(e[s],t))return s;s+=1}return-1}(t,e,0)>=0}function we(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Se=function(e){return(e<10?"0":"")+e};const je="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Se(e.getUTCMonth()+1)+"-"+Se(e.getUTCDate())+"T"+Se(e.getUTCHours())+":"+Se(e.getUTCMinutes())+":"+Se(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Be(e){return"[object Object]"===Object.prototype.toString.call(e)}var Oe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=$,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Me(e){return function(t){return new Oe(e,t)}}const $e=c(B(["fantasy-land/filter","filter"],Me,(function(e,t){return Be(t)?b((function(s,n){return e(t[n])&&(s[n]=t[n]),s}),{},U(t)):function(e,t){for(var s=0,n=t.length,i=[];s<n;)e(t[s])&&(i[i.length]=t[s]),s+=1;return i}(e,t)})));const Pe=c((function(e,t){return $e((s=e,function(){return!s.apply(this,arguments)}),t);var s}));function Ae(e,t){var s=function(s){var n=t.concat([e]);return Ee(s,n)?"<Circular>":Ae(s,n)},n=function(e,t){return O((function(t){return we(t)+": "+s(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+O(s,e).join(", ")+"))";case"[object Array]":return"["+O(s,e).concat(n(e,Pe((function(e){return/^\d+$/.test(e)}),U(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+s(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?s(NaN):we(je(e)))+")";case"[object Map]":return"new Map("+s(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+s(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+s(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+s(e.valueOf())+")":we(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var i=e.toString();if("[object Object]"!==i)return i}return"{"+n(e,U(e)).join(", ")+"}"}}const Ce=a((function(e){return Ae(e,[])}));function Te(e,t){for(var s=t,n=0;n<e.length;n+=1){if(null==s)return;var i=e[n];s=d(i)?p(i,s):s[i]}return s}const Fe=l((function(e,t,s){return e(Te(t,s))}));function qe(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Ie=c((function(e,t){return e&&t}));const Re=c((function(e,t){return qe(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:J(Ie)(e,t)}));const ke=te(null);const Ne=z(ke);function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}const De=function(e){return"object"===Ve(e)};const Le=F(1,Re(Ne,De));const Ue=c((function(e,t){if(e===t)return t;function s(e,t){if(e>t!=t>e)return t>e?t:e}var n=s(e,t);if(void 0!==n)return n;var i=s(typeof e,typeof t);if(void 0!==i)return i===typeof e?e:t;var r=Ce(e),o=s(r,Ce(t));return void 0!==o&&o===r?e:t}));const We=c((function(e,t){return W(h(e),t)}));const He=a((function(e){return F(ge(Ue,0,We("length",e)),(function(){for(var t=0,s=e.length;t<s;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const Ge=F(1,ve(Q,xe("GeneratorFunction")));const Je=F(1,ve(Q,xe("AsyncFunction")));const ze=He([ve(Q,xe("Function")),Ge,Je]);var Ze=ve(Q,xe("Object")),Ke=ve(Ce,te(Ce(Object))),Ye=Fe(Re(ze,Ke),["constructor"]);const Qe=F(1,(function(e){if(!Le(e)||!Ze(e))return!1;var t=Object.getPrototypeOf(e);return!!ke(t)||Ye(t)}));class Xe extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const et=Xe;class tt extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="comment"}}const st=tt;class nt extends oe.wE{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(ie(t))return!1;const s=this.content.findIndex((e=>e===t));return-1!==s&&(this.content[s]=e,!0)}}const it=nt;class rt extends oe.g${constructor(){super(),this.register("annotation",et),this.register("comment",st),this.register("parseResult",it)}}const ot=new rt,at=e=>{const t=new rt;return Qe(e)&&t.use(e),t},ct=ot;const lt=F(1,ve(Q,xe("String"))),ut=__webpack_require__.p+"2f9d346f3bc0cf9ba30b2a61e889fb78.wasm",dt=globalThis.fetch;ze(dt)&&(globalThis.fetch=(...e)=>lt(e[0])&&e[0].endsWith("tree-sitter.wasm")?dt.apply(globalThis,[ut,be(e)]):dt.apply(globalThis,e));var mt=__webpack_require__(3833),pt=__webpack_require__(1212);const ht=class extends pt{constructor(e,t,s){if(super(e,t,s),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=s&&"object"==typeof s&&Object.hasOwn(s,"cause")&&!("cause"in this)){const{cause:e}=s;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class gt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(ht,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const _t=gt,ft=__webpack_require__.p+"fe6ac473f020fbdb0dc39a494e428b55.wasm";let bt=null,vt=null;const yt=async e=>{if(null===bt&&null===vt)vt=mt.init().then((()=>mt.Language.load(ft))).then((e=>{const t=new mt;return t.setLanguage(e),t})).finally((()=>{vt=null})),bt=await vt;else if(null===bt&&null!==vt)bt=await vt;else if(null===bt)throw new _t("Error while initializing web-tree-sitter and loading tree-sitter-yaml grammar.");return bt.parse(e)};const xt=class extends _t{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}};const Et=class extends xt{};const wt=class extends Et{};const St=class extends wt{specificTagName;explicitTagName;tagKind;tagStartPositionRow;tagStartPositionColumn;tagStartPositionIndex;tagEndPositionRow;tagEndPositionColumn;tagEndPositionIndex;nodeCanonicalContent;node;constructor(e,t){super(e,t),void 0!==t&&(this.specificTagName=t.specificTagName,this.explicitTagName=t.explicitTagName,this.tagKind=t.tagKind,this.tagStartPositionRow=t.tagStartPositionRow,this.tagStartPositionColumn=t.tagStartPositionColumn,this.tagStartPositionIndex=t.tagStartPositionIndex,this.tagEndPositionRow=t.tagEndPositionRow,this.tagEndPositionColumn=t.tagEndPositionColumn,this.tagEndPositionIndex=t.tagEndPositionIndex,this.nodeCanonicalContent=t.nodeCanonicalContent,this.node=t.node)}};const jt=class{static type="node";type="node";isMissing;children;startPositionRow;startPositionColumn;startIndex;endPositionRow;endPositionColumn;endIndex;constructor({children:e=[],isMissing:t=!1,startPositionRow:s,startPositionColumn:n,startIndex:i,endPositionRow:r,endPositionColumn:o,endIndex:a}={}){this.type=this.constructor.type,this.isMissing=t,this.children=e,this.startPositionRow=s,this.startPositionColumn=n,this.startIndex=i,this.endPositionRow=r,this.endPositionColumn=o,this.endIndex=a}clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const s=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,s)})),e}};let Bt=function(e){return e.Scalar="Scalar",e.Sequence="Sequence",e.Mapping="Mapping",e}({});const Ot=class extends jt{static type="tag";explicitName;kind;constructor({explicitName:e,kind:t,...s}){super({...s}),this.explicitName=e,this.kind=t}};const Mt=class{static uri="";tag="";constructor(){this.tag=this.constructor.uri}test(e){return!0}resolve(e){return e}};const $t=class extends Mt{static uri="tag:yaml.org,2002:map";test(e){return e.tag.kind===Bt.Mapping}};const Pt=class extends Mt{static uri="tag:yaml.org,2002:seq";test(e){return e.tag.kind===Bt.Sequence}};const At=class extends Mt{static uri="tag:yaml.org,2002:str"};const Ct=l((function(e,t,s){return u(e,Te(t,s))}));const Tt=a((function(e){return F(e.length,e)}));var Ft="\t\n\v\f\r \u2028\u2029\ufeff";const qt=a("function"==typeof String.prototype.trim&&!Ft.trim()&&"".trim()?function(e){return e.trim()}:function(e){var t=new RegExp("^["+Ft+"]["+Ft+"]*"),s=new RegExp("["+Ft+"]["+Ft+"]*$");return e.replace(t,"").replace(s,"")});const It=c((function(e,t){return F(e+1,(function(){var s=arguments[e];if(null!=s&&qe(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Ce(s)+' does not have a method named "'+t+'"')}))}));const Rt=It(1,"split");const kt=It(1,"join");const Nt=a((function(e){return m(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}));function Vt(){if(0===arguments.length)throw new Error("compose requires at least one argument");return ve.apply(this,Nt(arguments))}const Dt=F(4,(function(e,t,s,n){return me(e("function"==typeof t?he(t):t),s,n)}));const Lt=c((function(e,t){if(v(e)){if(v(t))return e.concat(t);throw new TypeError(Ce(t)+" is not an array")}if(m(e)){if(m(t))return e+t;throw new TypeError(Ce(t)+" is not a string")}if(null!=e&&qe(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&qe(e.concat))return e.concat(t);throw new TypeError(Ce(e)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Ut=te("");const Wt=c((function(e,t){return F(ge(Ue,0,We("length",t)),(function(){var s=arguments,n=this;return e.apply(n,O((function(e){return e.apply(n,s)}),t))}))}));function Ht(e){return e}const Gt=a(Ht);const Jt=F(1,ve(Q,xe("Number")));var zt=Re(Jt,isFinite);var Zt=F(1,zt);const Kt=ze(Number.isFinite)?F(1,le(Number.isFinite,Number)):Zt;var Yt=Re(Kt,Wt(te,[Math.floor,Gt]));var Qt=F(1,Yt);const Xt=ze(Number.isInteger)?F(1,le(Number.isInteger,Number)):Qt;const es=a((function(e){return F(e.length,(function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)}))}));const ts=z(Kt);const ss=F(1,Re(Jt,c((function(e,t){return e>t}))(0)));var ns=Tt((function(e,t){var s=Number(t);if(s!==t&&(s=0),ss(s))throw new RangeError("repeat count must be non-negative");if(ts(s))throw new RangeError("repeat count must be less than infinity");if(s=Math.floor(s),0===e.length||0===s)return"";if(e.length*s>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=e.length*s;s=Math.floor(Math.log(s)/Math.log(2));for(var i=e;s;)i+=e,s-=1;return i+=i.substring(0,n-i.length)})),is=es(It(1,"repeat"));const rs=ze(String.prototype.repeat)?is:ns;const os=l((function(e,t,s){return s.replace(e,t)}));var as=os(/[\s\uFEFF\xA0]+$/,""),cs=It(0,"trimEnd");const ls=ze(String.prototype.trimEnd)?cs:as;var us=os(/^[\s\uFEFF\xA0]+/,""),ds=It(0,"trimStart");const ms=ze(String.prototype.trimStart)?ds:us;var ps=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=$,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function hs(e){return function(t){return new ps(e,t)}}const gs=c(B(["dropWhile"],hs,(function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return fe(s,1/0,t)})));const _s=es(c(Ee));const fs=Tt((function(e,t){return ve(Rt(""),gs(_s(e)),kt(""))(t)}));const bs=es(Lt);var vs=__webpack_require__(6850);const ys=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,xs=e=>{const t=(e=>{const t=e.match(ys),s=Ct("",["groups","indentation"],t);return Ut(s)?void 0:parseInt(s,10)})(e);if(Xt(t))return rs(" ",t);const s=Ct("",[1],e.split("\n")),n=Ct(0,["groups","indentation","length"],s.match(/^(?<indentation>[ ]*)/));return rs(" ",n)},Es=e=>{const t=e.match(ys),s=Ct("",["groups","chomping"],t);return Ut(s)?void 0:s},ws=(e,t)=>ie(e)?`${ls(t)}\n`:"-"===e?ls(t):t,Ss=e=>e.replace(/\r\n/g,"\n"),js=e=>e.replace(/(\n)?\n([^\n]+)/g,((e,t,s)=>t?e:` ${s.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Bs=Tt(((e,t)=>t.replace(new RegExp(`^${e}`),"").replace(new RegExp(`${e}$`),""))),Os=ve(Ss,qt,js,Rt("\n"),W(ms),kt("\n")),Ms=ve(Ss,qt,js,Rt("\n"),W(ms),kt("\n"),Bs("'")),$s=ve(Ss,qt,(e=>e.replace(/\\\n\s*/g,"")),js,vs.MH,Rt("\n"),W(ms),kt("\n"),Bs('"'));let Ps=function(e){return e.Plain="Plain",e.SingleQuoted="SingleQuoted",e.DoubleQuoted="DoubleQuoted",e.Literal="Literal",e.Folded="Folded",e.Explicit="Explicit",e.SinglePair="SinglePair",e.NextLine="NextLine",e.InLine="InLine",e}({}),As=function(e){return e.Flow="Flow",e.Block="Block",e}({});const Cs=class{static test(e){return e.tag.kind===Bt.Scalar&&"string"==typeof e.content}static canonicalFormat(e){let t=e.content;const s=e.clone();return e.style===Ps.Plain?t=Os(e.content):e.style===Ps.SingleQuoted?t=Ms(e.content):e.style===Ps.DoubleQuoted?t=$s(e.content):e.style===Ps.Literal?t=(e=>{const t=xs(e),s=Es(e),n=Ss(e),i=be(n.split("\n")),r=Vt(W(fs(t)),W(bs("\n"))),o=Dt(r,Lt,"",i);return ws(s,o)})(e.content):e.style===Ps.Folded&&(t=(e=>{const t=xs(e),s=Es(e),n=Ss(e),i=be(n.split("\n")),r=Vt(W(fs(t)),W(bs("\n"))),o=Dt(r,Lt,"",i),a=js(o);return ws(s,a)})(e.content)),s.content=t,s}static resolve(e){return e}};const Ts=class{tags;tagDirectives;constructor(){this.tags=[],this.tagDirectives=[],this.registerTag(new $t),this.registerTag(new Pt),this.registerTag(new At)}toSpecificTagName(e){let t=e.tag.explicitName;return"!"===e.tag.explicitName?e.tag.kind===Bt.Scalar?t=At.uri:e.tag.kind===Bt.Sequence?t=Pt.uri:e.tag.kind===Bt.Mapping&&(t=$t.uri):e.tag.explicitName.startsWith("!<")?t=e.tag.explicitName.replace(/^!</,"").replace(/>$/,""):e.tag.explicitName.startsWith("!!")&&(t=`tag:yaml.org,2002:${e.tag.explicitName.replace(/^!!/,"")}`),t}registerTagDirective(e){this.tagDirectives.push({handle:e.parameters.handle,prefix:e.parameters.prefix})}registerTag(e,t=!1){return t?this.tags.unshift(e):this.tags.push(e),this}overrideTag(e){return this.tags=this.tags.filter((t=>t.tag===e.tag)),this.tags.push(e),this}resolve(e){const t=this.toSpecificTagName(e);if("?"===t)return e;let s=e;Cs.test(e)&&(s=Cs.canonicalFormat(e));const n=this.tags.find((e=>(null==e?void 0:e.tag)===t));if(void 0===n)throw new St(`Tag "${t}" was not recognized.`,{specificTagName:t,explicitTagName:e.tag.explicitName,tagKind:e.tag.kind,tagStartPositionRow:e.tag.startPositionRow,tagStartPositionColumn:e.tag.startPositionColumn,tagStartPositionIndex:e.tag.startIndex,tagEndPositionRow:e.tag.endPositionRow,tagEndPositionColumn:e.tag.endPositionColumn,tagEndPositionIndex:e.tag.endIndex,node:e.clone()});if(!n.test(s))throw new St(`Node couldn't be resolved against the tag "${t}"`,{specificTagName:t,explicitTagName:e.tag.explicitName,tagKind:e.tag.kind,tagStartPositionRow:e.tag.startPositionRow,tagStartPositionColumn:e.tag.startPositionColumn,tagStartPositionIndex:e.tag.startIndex,tagEndPositionRow:e.tag.endPositionRow,tagEndPositionColumn:e.tag.endPositionColumn,tagEndPositionIndex:e.tag.endIndex,nodeCanonicalContent:s.content,node:e.clone()});return n.resolve(s)}};const Fs=class extends Mt{static uri="tag:yaml.org,2002:bool";test(e){return/^(true|false)$/.test(e.content)}resolve(e){const t="true"===e.content,s=e.clone();return s.content=t,s}};const qs=class extends Mt{static uri="tag:yaml.org,2002:float";test(e){return/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(e.content)}resolve(e){const t=parseFloat(e.content),s=e.clone();return s.content=t,s}};const Is=class extends Mt{static uri="tag:yaml.org,2002:int";test(e){return/^-?(0|[1-9][0-9]*)$/.test(e.content)}resolve(e){const t=parseInt(e.content,10),s=e.clone();return s.content=t,s}};const Rs=class extends Mt{static uri="tag:yaml.org,2002:null";test(e){return/^null$/.test(e.content)}resolve(e){const t=e.clone();return t.content=null,t}};const ks=class extends Ts{constructor(){super(),this.registerTag(new Fs,!0),this.registerTag(new qs,!0),this.registerTag(new Is,!0),this.registerTag(new Rs,!0)}toSpecificTagName(e){let t=super.toSpecificTagName(e);if("?"===t)if(e.tag.vkind===Bt.Sequence)t=Pt.uri;else if(e.tag.kind===Bt.Mapping)t=$t.uri;else if(e.tag.kind===Bt.Scalar){const s=this.tags.find((t=>t.test(e)));t=(null==s?void 0:s.tag)||"?"}return t}};const Ns=class extends jt{anchor;tag;style;styleGroup;constructor({anchor:e,tag:t,style:s,styleGroup:n,...i}){super({...i}),this.anchor=e,this.tag=t,this.style=s,this.styleGroup=n}};const Vs=class extends Ns{static type="scalar";content;constructor({content:e,...t}){super({...t}),this.content=e}};const Ds=class extends Et{},Ls=(e,t)=>null!=t&&"object"==typeof t&&"type"in t&&t.type===e,Us=e=>Ls("mapping",e),Ws=e=>Ls("sequence",e),Hs=e=>Ls("keyValuePair",e),Gs=e=>Ls("scalar",e),Js=e=>Ls("alias",e);const zs=class{addAnchor(e){if(!(e=>Ls("anchor",e))(e.anchor))throw new Ds("Expected YAML anchor to be attached the the YAML AST node.",{node:e})}resolveAlias(e){return new Vs({content:e.content,style:Ps.Plain,styleGroup:As.Flow})}},Zs=(e,t,s)=>{const n=e[t];if(null!=n){if(!s&&"function"==typeof n)return n;const e=s?n.leave:n.enter;if("function"==typeof e)return e}else{const n=s?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},Ks={},Ys=e=>null==e?void 0:e.type,Qs=e=>"string"==typeof Ys(e),Xs=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),en=(e,{visitFnGetter:t=Zs,nodeTypeGetter:s=Ys,breakSymbol:n=Ks,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:r=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(l,u,d,m,p,h){let g=l,_=!1;const f={...h,replaceWith(e,t){h.replaceWith(e,t),g=e}};for(let l=0;l<e.length;l+=1)if(c[l]===a){const a=t(e[l],s(g),!1);if("function"==typeof a){const t=a.call(e[l],g,u,d,m,p,f);if("function"==typeof(null==t?void 0:t.then))throw new xt("Async visitor not supported in sync mode",{visitor:e[l],visitFn:a});if(t===r)c[l]=g;else if(t===n)c[l]=n;else{if(t===i)return t;if(void 0!==t){if(!o)return t;g=t,_=!0}}}}return _?g:void 0},leave(i,o,l,u,d,m){let p=i;const h={...m,replaceWith(e,t){m.replaceWith(e,t),p=e}};for(let i=0;i<e.length;i+=1)if(c[i]===a){const a=t(e[i],s(p),!0);if("function"==typeof a){const t=a.call(e[i],p,o,l,u,d,h);if("function"==typeof(null==t?void 0:t.then))throw new xt("Async visitor not supported in sync mode",{visitor:e[i],visitFn:a});if(t===n)c[i]=n;else if(void 0!==t&&t!==r)return t}}else c[i]===p&&(c[i]=a)}}};en[Symbol.for("nodejs.util.promisify.custom")]=(e,{visitFnGetter:t=Zs,nodeTypeGetter:s=Ys,breakSymbol:n=Ks,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:r=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{async enter(l,u,d,m,p,h){let g=l,_=!1;const f={...h,replaceWith(e,t){h.replaceWith(e,t),g=e}};for(let l=0;l<e.length;l+=1)if(c[l]===a){const a=t(e[l],s(g),!1);if("function"==typeof a){const t=await a.call(e[l],g,u,d,m,p,f);if(t===r)c[l]=g;else if(t===n)c[l]=n;else{if(t===i)return t;if(void 0!==t){if(!o)return t;g=t,_=!0}}}}return _?g:void 0},async leave(i,o,l,u,d,m){let p=i;const h={...m,replaceWith(e,t){m.replaceWith(e,t),p=e}};for(let i=0;i<e.length;i+=1)if(c[i]===a){const a=t(e[i],s(p),!0);if("function"==typeof a){const t=await a.call(e[i],p,o,l,u,d,h);if(t===n)c[i]=n;else if(void 0!==t&&t!==r)return t}}else c[i]===p&&(c[i]=a)}}};const tn=(e,t,{keyMap:s=null,state:n={},breakSymbol:i=Ks,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Zs,nodeTypeGetter:c=Ys,nodePredicate:l=Qs,nodeCloneFn:u=Xs,detectCycles:d=!0,detectCyclesCallback:m=null}={})=>{const p=s||{};let h,g,_=Array.isArray(e),f=[e],b=-1,v=[],y=e;const x=[],E=[];do{b+=1;const e=b===f.length;let s;const j=e&&0!==v.length;if(e){if(s=0===E.length?void 0:x.pop(),y=g,g=E.pop(),j)if(_){y=y.slice();let e=0;for(const[t,s]of v){const n=t-e;s===r?(y.splice(n,1),e+=1):y[n]=s}}else{y=u(y);for(const[e,t]of v)y[e]=t}b=h.index,f=h.keys,v=h.edits,_=h.inArray,h=h.prev}else if(g!==r&&void 0!==g){if(s=_?b:f[b],y=g[s],y===r||void 0===y)continue;x.push(s)}let B;if(!Array.isArray(y)){var w;if(!l(y))throw new xt(`Invalid AST Node: ${String(y)}`,{node:y});if(d&&E.includes(y)){"function"==typeof m&&m(y,s,g,x,E),x.pop();continue}const r=a(t,c(y),e);if(r){for(const[e,s]of Object.entries(n))t[e]=s;const i={replaceWith(t,n){"function"==typeof n?n(t,y,s,g,x,E):g&&(g[s]=t),e||(y=t)}};B=r.call(t,y,s,g,x,E,i)}if("function"==typeof(null===(w=B)||void 0===w?void 0:w.then))throw new xt("Async visitor not supported in sync mode",{visitor:t,visitFn:r});if(B===i)break;if(B===o){if(!e){x.pop();continue}}else if(void 0!==B&&(v.push([s,B]),!e)){if(!l(B)){x.pop();continue}y=B}}var S;if(void 0===B&&j&&v.push([s,y]),!e)h={inArray:_,index:b,keys:f,edits:v,prev:h},_=Array.isArray(y),f=_?y:null!==(S=p[c(y)])&&void 0!==S?S:[],b=-1,v=[],g!==r&&void 0!==g&&E.push(g),g=y}while(void 0!==h);return 0!==v.length?v[v.length-1][1]:e};tn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=null,state:n={},breakSymbol:i=Ks,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Zs,nodeTypeGetter:c=Ys,nodePredicate:l=Qs,nodeCloneFn:u=Xs,detectCycles:d=!0,detectCyclesCallback:m=null}={})=>{const p=s||{};let h,g,_=Array.isArray(e),f=[e],b=-1,v=[],y=e;const x=[],E=[];do{b+=1;const e=b===f.length;let s;const S=e&&0!==v.length;if(e){if(s=0===E.length?void 0:x.pop(),y=g,g=E.pop(),S)if(_){y=y.slice();let e=0;for(const[t,s]of v){const n=t-e;s===r?(y.splice(n,1),e+=1):y[n]=s}}else{y=u(y);for(const[e,t]of v)y[e]=t}b=h.index,f=h.keys,v=h.edits,_=h.inArray,h=h.prev}else if(g!==r&&void 0!==g){if(s=_?b:f[b],y=g[s],y===r||void 0===y)continue;x.push(s)}let j;if(!Array.isArray(y)){if(!l(y))throw new xt(`Invalid AST Node: ${String(y)}`,{node:y});if(d&&E.includes(y)){"function"==typeof m&&m(y,s,g,x,E),x.pop();continue}const r=a(t,c(y),e);if(r){for(const[e,s]of Object.entries(n))t[e]=s;const i={replaceWith(t,n){"function"==typeof n?n(t,y,s,g,x,E):g&&(g[s]=t),e||(y=t)}};j=await r.call(t,y,s,g,x,E,i)}if(j===i)break;if(j===o){if(!e){x.pop();continue}}else if(void 0!==j&&(v.push([s,j]),!e)){if(!l(j)){x.pop();continue}y=j}}var w;if(void 0===j&&S&&v.push([s,y]),!e)h={inArray:_,index:b,keys:f,edits:v,prev:h},_=Array.isArray(y),f=_?y:null!==(w=p[c(y)])&&void 0!==w?w:[],b=-1,v=[],g!==r&&void 0!==g&&E.push(g),g=y}while(void 0!==h);return 0!==v.length?v[v.length-1][1]:e};const sn=class extends jt{static type="anchor";name;constructor({name:e,...t}){super({...t}),this.name=e}};class nn extends jt{static type="stream"}Object.defineProperty(nn.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter((e=>(e=>Ls("document",e))(e)||(e=>Ls("comment",e))(e))):[]},enumerable:!0});const rn=nn;const on=a((function(e){return p(0,e)}));const an=class extends jt{static type="parseResult";get rootNode(){return on(this.children)}};const cn="function"==typeof Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),s=1,n=arguments.length;s<n;){var i=arguments[s];if(null!=i)for(var r in i)q(r,i)&&(t[r]=i[r]);s+=1}return t};const ln=c((function(e,t){return cn({},e,t)}));const un=class extends jt{static type="directive";name;parameters;constructor({name:e,parameters:t,...s}){super({...s}),this.name=e,this.parameters=ln({version:void 0,handle:void 0,prefix:void 0},t)}};const dn=class extends jt{static type="document"};const mn=class extends Ns{};class pn extends mn{static type="mapping"}Object.defineProperty(pn.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter(Hs):[]},enumerable:!0});const hn=pn;class gn extends jt{static type="keyValuePair";styleGroup;constructor({styleGroup:e,...t}){super({...t}),this.styleGroup=e}}Object.defineProperties(gn.prototype,{key:{get(){return this.children.filter((e=>Gs(e)||Us(e)||Ws(e)))[0]},enumerable:!0},value:{get(){const{key:e,children:t}=this;return t.filter((t=>(t=>t!==e)(t)&&(e=>Gs(e)||Us(e)||Ws(e)||Js(e))(t)))[0]},enumerable:!0}});const _n=gn;class fn extends mn{static type="sequence"}Object.defineProperty(fn.prototype,"content",{get(){const{children:e}=this;return Array.isArray(e)?e.filter((e=>Ws(e)||Us(e)||Gs(e)||Js(e))):[]},enumerable:!0});const bn=fn;const vn=class extends jt{static type="comment";content;constructor({content:e,...t}){super({...t}),this.content=e}};const yn=class extends jt{static type="alias";content;constructor({content:e,...t}){super({...t}),this.content=e}};const xn=class extends jt{static type="literal";value;constructor({value:e,...t}={}){super({...t}),this.value=e}};const En=class extends jt{static type="error";value;isUnexpected;constructor({value:e,isUnexpected:t=!1,...s}={}){super({...s}),this.value=e,this.isUnexpected=t}};const wn=c((function(e,t){return b((function(s,n){return s[n]=e(t[n],n,t),s}),{},U(t))}));const Sn=a((function(e){return null==e}));var jn=c((function(e,t){if(0===e.length||Sn(t))return!1;for(var s=t,n=0;n<e.length;){if(Sn(s)||!q(e[n],s))return!1;s=s[e[n]],n+=1}return!0}));const Bn=jn;var On=c((function(e,t){return Bn([e],t)}));const Mn=On;const $n=l((function(e,t,s){return e(h(t,s))}));const Pn=c(Te),An=(e,t)=>{const s=u(e,t);return wn((e=>{if(Qe(e)&&Mn("$ref",e)&&$n(lt,"$ref",e)){const t=Pn(["$ref"],e),n=fs("#/",t);return Pn(n.split("/"),s)}return Qe(e)?An(e,s):e}),e)},Cn=(e,t)=>(e.startPositionRow=null==t?void 0:t.startPositionRow,e.startPositionColumn=null==t?void 0:t.startPositionColumn,e.startIndex=null==t?void 0:t.startIndex,e.endPositionRow=null==t?void 0:t.endPositionRow,e.endPositionColumn=null==t?void 0:t.endPositionColumn,e.endIndex=null==t?void 0:t.endIndex,e);const Tn=class{type;startPositionRow;startPositionColumn;startIndex;endPositionRow;endPositionColumn;endIndex;text;isNamed;isMissing;fieldName;hasError=!1;children=[];previousSibling;constructor(e){this.type=e.nodeType,this.startPositionRow=e.startPosition.row,this.startPositionColumn=e.startPosition.column,this.startIndex=e.startIndex,this.endPositionRow=e.endPosition.row,this.endPositionColumn=e.endPosition.column,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("flow_pair"===this.type||"block_mapping_pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("flow_pair"===this.type||"block_mapping_pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}get tag(){let{previousSibling:e}=this;for(;void 0!==e&&"tag"!==e.type;)({previousSibling:e}=e);return e}get anchor(){let{previousSibling:e}=this;for(;void 0!==e&&"anchor"!==e.type;)({previousSibling:e}=e);return e}get firstNamedChild(){return this.children.find((e=>e.isNamed))}setFieldName(e){return this.fieldName=e.currentFieldName,this}setHasError(e){return this.hasError=e.currentNode.hasError,this}setPreviousSibling(e){this.previousSibling=e}pushChildren(...e){this.children.push(...e)}},Fn={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},qn=e=>Array.isArray(e)||Qs(e);class In{static isScalar=this.isKind("scalar");static isMapping=this.isKind("mapping");static isSequence=this.isKind("sequence");static isKind(e){return t=>null!=t&&"object"==typeof t&&"type"in t&&"string"==typeof t.type&&t.type.endsWith(e)}static kindNodeToYamlAnchor(e){const{anchor:t}=e;if(void 0!==t)return new sn(Cn({name:t.text},t))}static hasKeyValuePairEmptyKey(e){return("block_mapping_pair"===e.type||"flow_pair"===e.type)&&void 0===e.keyNode}static hasKeyValuePairEmptyValue(e){return("block_mapping_pair"===e.type||"flow_pair"===e.type)&&void 0===e.valueNode}static kindNodeToYamlTag(e){const{tag:t}=e,s=(null==t?void 0:t.text)||("plain_scalar"===e.type?"?":"!"),n=e.type.endsWith("mapping")?Bt.Mapping:e.type.endsWith("sequence")?Bt.Sequence:Bt.Scalar;return new Ot(Cn({explicitName:s,kind:n},t))}schema;referenceManager;stream={enter:e=>new rn(Cn({children:e.children,isMissing:e.isMissing},e)),leave:e=>new an({children:[e]})};yaml_directive={enter:e=>{var t;const s=null==e||null===(t=e.firstNamedChild)||void 0===t?void 0:t.text;return new un(Cn({name:"%YAML",parameters:{version:s}},e))}};tag_directive={enter:e=>{const t=e.children[0],s=e.children[1],n=new un(Cn({name:"%TAG",parameters:{handle:null==t?void 0:t.text,prefix:null==s?void 0:s.text}},e));return this.schema.registerTagDirective(n),n}};reserved_directive={enter:e=>{const t=e.children[0],s=e.children[1],n=e.children[2];return new un(Cn({name:null==t?void 0:t.text,parameters:{handle:null==s?void 0:s.text,prefix:null==n?void 0:n.text}},e))}};document={enter:e=>new dn(Cn({children:e.children,isMissing:e.isMissing},e)),leave:e=>{e.children=e.children.flat()}};block_node={enter:e=>e.children};flow_node={enter:e=>{const[t]=e.children.slice(-1);if(In.isScalar(t)||In.isMapping(t)||In.isSequence(t))return e.children;const s=new Vs({content:"",anchor:In.kindNodeToYamlAnchor(t),tag:In.kindNodeToYamlTag(t),startPositionRow:t.endPositionRow,startPositionColumn:t.endPositionColumn,startIndex:t.endIndex,endPositionRow:t.endPositionRow,endPositionColumn:t.endPositionColumn,endIndex:t.endIndex,styleGroup:As.Flow,style:Ps.Plain});return this.registerAnchor(s),[...e.children,s]}};tag={enter:()=>null};anchor={enter:()=>null};block_mapping={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new hn(Cn({children:e.children,anchor:s,tag:t,styleGroup:As.Block,style:Ps.NextLine,isMissing:e.isMissing},e));return this.registerAnchor(n),this.schema.resolve(n)}};block_mapping_pair={enter:e=>{const t=[...e.children];if(In.hasKeyValuePairEmptyKey(e)){const s=this.createKeyValuePairEmptyKey(e);t.unshift(s)}if(In.hasKeyValuePairEmptyValue(e)){const s=this.createKeyValuePairEmptyValue(e);t.push(s)}return new _n(Cn({children:t,styleGroup:As.Block,isMissing:e.isMissing},e))}};flow_mapping={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new hn(Cn({children:e.children,anchor:s,tag:t,styleGroup:As.Flow,style:Ps.Explicit,isMissing:e.isMissing},e));return this.registerAnchor(n),this.schema.resolve(n)}};flow_pair={enter:e=>{const t=[...e.children];if(In.hasKeyValuePairEmptyKey(e)){const s=this.createKeyValuePairEmptyKey(e);t.unshift(s)}if(In.hasKeyValuePairEmptyValue(e)){const s=this.createKeyValuePairEmptyValue(e);t.push(s)}return new _n(Cn({children:t,styleGroup:As.Flow,isMissing:e.isMissing},e))}};keyValuePair={leave:e=>{e.children=e.children.flat()}};block_sequence={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new bn(Cn({children:e.children,anchor:s,tag:t,styleGroup:As.Block,style:Ps.NextLine},e));return this.registerAnchor(n),this.schema.resolve(n)}};block_sequence_item={enter:e=>{if(e.children.length>1)return e.children;return[new Vs({content:"",tag:new Ot({explicitName:"?",kind:Bt.Scalar}),startPositionRow:e.endPositionRow,startPositionColumn:e.endPositionColumn,startIndex:e.endIndex,endPositionRow:e.endPositionRow,endPositionColumn:e.endPositionColumn,endIndex:e.endIndex,styleGroup:As.Flow,style:Ps.Plain})]}};flow_sequence={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new bn(Cn({children:e.children.flat(),anchor:s,tag:t,styleGroup:As.Flow,style:Ps.Explicit},e));return this.registerAnchor(n),this.schema.resolve(n)}};sequence={leave:e=>{e.children=e.children.flat(1/0)}};plain_scalar={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new Vs(Cn({content:e.text,anchor:s,tag:t,styleGroup:As.Flow,style:Ps.Plain},e));return this.registerAnchor(n),this.schema.resolve(n)}};single_quote_scalar={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new Vs(Cn({content:e.text,anchor:s,tag:t,styleGroup:As.Flow,style:Ps.SingleQuoted},e));return this.registerAnchor(n),this.schema.resolve(n)}};double_quote_scalar={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new Vs(Cn({content:e.text,anchor:s,tag:t,styleGroup:As.Flow,style:Ps.DoubleQuoted},e));return this.registerAnchor(n),this.schema.resolve(n)}};block_scalar={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=e.text.startsWith("|")?Ps.Literal:e.text.startsWith(">")?Ps.Folded:Ps.Plain,i=new Vs(Cn({content:e.text,anchor:s,tag:t,styleGroup:As.Block,style:n},e));return this.registerAnchor(i),this.schema.resolve(i)}};comment={enter:e=>new vn({content:e.text})};alias={enter:e=>{const t=new yn({content:e.text});return this.referenceManager.resolveAlias(t)}};constructor(e){this.schema=e}enter(e){if(e instanceof Tn&&!e.isNamed){const t=e.type||e.text,{isMissing:s}=e;return new xn(Cn({value:t,isMissing:s},e))}}ERROR(e,t,s,n){const i=new En(Cn({children:e.children,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text},e));return 0===n.length?new an({children:[i]}):i}registerAnchor(e){void 0!==e.anchor&&this.referenceManager.addAnchor(e)}createKeyValuePairEmptyKey(e){const{keyNode:t}=e,s=(null==t?void 0:t.children)||[],n=s.find(In.isKind("tag")),i=s.find(In.isKind("anchor")),r=new Ot(void 0!==n?Cn({explicitName:n.text,kind:Bt.Scalar},n):{explicitName:"?",kind:Bt.Scalar}),o=void 0!==i?new sn(Cn({name:i.text},i)):void 0,a=new Vs({content:"",startPositionRow:e.startPositionRow,startPositionColumn:e.startPositionColumn,startIndex:e.startIndex,endPositionRow:e.startPositionRow,endPositionColumn:e.startPositionColumn,endIndex:e.startIndex,tag:r,anchor:o,styleGroup:As.Flow,style:Ps.Plain});return this.registerAnchor(a),a}createKeyValuePairEmptyValue(e){const{valueNode:t}=e,s=(null==t?void 0:t.children)||[],n=s.find(In.isKind("tag")),i=s.find(In.isKind("anchor")),r=new Ot(void 0!==n?Cn({explicitName:n.text,kind:Bt.Scalar},n):{explicitName:"?",kind:Bt.Scalar}),o=void 0!==i?new sn(Cn({name:i.text},i)):void 0,a=new Vs({content:"",startPositionRow:e.endPositionRow,startPositionColumn:e.endPositionColumn,startIndex:e.endIndex,endPositionRow:e.endPositionRow,endPositionColumn:e.endPositionColumn,endIndex:e.endIndex,tag:r,anchor:o,styleGroup:As.Flow,style:Ps.Plain});return this.registerAnchor(a),a}}const Rn=In;function kn(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var Nn=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=kn(this.xf["@@transducer/step"](e,!1))),e},e}();function Vn(e){return function(t){return new Nn(e,t)}}const Dn=c(B(["all"],Vn,(function(e,t){for(var s=0;s<t.length;){if(!e(t[s]))return!1;s+=1}return!0}))),Ln=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Un=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Wn=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Hn=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof oe.wE)&&t.classes.includes(e),Gn=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Jn=e=>e({hasMethod:Ln,hasBasicElementProps:Un,primitiveEq:Wn,isElementType:Gn,hasClass:Hn}),zn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.Hg||e(s)&&t(void 0,s))),Zn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.Om||e(s)&&t("string",s))),Kn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.kT||e(s)&&t("number",s))),Yn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.Os||e(s)&&t("null",s))),Qn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.bd||e(s)&&t("boolean",s))),Xn=Jn((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof oe.Sh||e(n)&&t("object",n)&&s("keys",n)&&s("values",n)&&s("items",n))),ei=Jn((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof oe.wE&&!(n instanceof oe.Sh)||e(n)&&t("array",n)&&s("push",n)&&s("unshift",n)&&s("map",n)&&s("reduce",n))),ti=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oe.Pr||e(n)&&t("member",n)&&s(void 0,n))),si=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oe.Ft||e(n)&&t("link",n)&&s(void 0,n))),ni=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oe.sI||e(n)&&t("ref",n)&&s(void 0,n))),ii=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof et||e(n)&&t("annotation",n)&&s("array",n))),ri=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof st||e(n)&&t("comment",n)&&s("string",n))),oi=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof it||e(n)&&t("parseResult",n)&&s("array",n))),ai=e=>Gn("object",e)||Gn("array",e)||Gn("boolean",e)||Gn("number",e)||Gn("string",e)||Gn("null",e)||Gn("member",e),ci=e=>!!zn(e)&&(Number.isInteger(e.startPositionRow)&&Number.isInteger(e.startPositionColumn)&&Number.isInteger(e.startIndex)&&Number.isInteger(e.endPositionRow)&&Number.isInteger(e.endPositionColumn)&&Number.isInteger(e.endIndex)),li=(e,t)=>{if(0===e.length)return!0;const s=t.attributes.get("symbols");return!!ei(s)&&Dn(_s(s.toValue()),e)},ui=(e,t)=>0===e.length||Dn(_s(t.classes.toValue()),e);const di=class extends xt{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const mi=class extends di{};const pi=class extends di{},hi=(e,t={})=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);if(e instanceof oe.KeyValuePair){const{key:t,value:i}=e,r=zn(t)?hi(t,n):t,o=zn(i)?hi(i,n):i,a=new oe.KeyValuePair(r,o);return s.set(e,a),a}if(e instanceof oe.ot){const t=e=>hi(e,n),i=[...e].map(t),r=new oe.ot(i);return s.set(e,r),r}if(e instanceof oe.G6){const t=e=>hi(e,n),i=[...e].map(t),r=new oe.G6(i);return s.set(e,r),r}if(zn(e)){const t=fi(e);if(s.set(e,t),e.content)if(zn(e.content))t.content=hi(e.content,n);else if(e.content instanceof oe.KeyValuePair)t.content=hi(e.content,n);else if(Array.isArray(e.content)){const s=e=>hi(e,n);t.content=e.content.map(s)}else t.content=e.content;else t.content=e.content;return t}throw new mi("Value provided to cloneDeep function couldn't be cloned",{value:e})};hi.safe=e=>{try{return hi(e)}catch{return e}};const gi=e=>{const{key:t,value:s}=e;return new oe.KeyValuePair(t,s)},_i=e=>{const t=new e.constructor;if(t.element=e.element,ci(e)&&Cn(t,e),e.meta.length>0&&(t._meta=hi(e.meta)),e.attributes.length>0&&(t._attributes=hi(e.attributes)),zn(e.content)){const s=e.content;t.content=_i(s)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof oe.KeyValuePair?t.content=gi(e.content):t.content=e.content;return t},fi=e=>{if(e instanceof oe.KeyValuePair)return gi(e);if(e instanceof oe.ot)return(e=>{const t=[...e];return new oe.ot(t)})(e);if(e instanceof oe.G6)return(e=>{const t=[...e];return new oe.G6(t)})(e);if(zn(e))return _i(e);throw new pi("Value provided to cloneShallow function couldn't be cloned",{value:e})};fi.safe=e=>{try{return fi(e)}catch{return e}};const bi=e=>Xn(e)?"ObjectElement":ei(e)?"ArrayElement":ti(e)?"MemberElement":Zn(e)?"StringElement":Qn(e)?"BooleanElement":Kn(e)?"NumberElement":Yn(e)?"NullElement":si(e)?"LinkElement":ni(e)?"RefElement":void 0,vi=e=>zn(e)?fi(e):Xs(e),yi=ve(bi,lt),xi={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"]};const Ei=(e,t,{keyMap:s=xi,...n}={})=>tn(e,t,{keyMap:s,nodeTypeGetter:bi,nodePredicate:yi,nodeCloneFn:vi,...n});Ei[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=xi,...n}={})=>tn[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:s,nodeTypeGetter:bi,nodePredicate:yi,nodeCloneFn:vi,...n});const wi=l((function(e,t,s){var n,i={};for(n in s=s||{},t=t||{})q(n,t)&&(i[n]=q(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)q(n,s)&&!q(n,i)&&(i[n]=s[n]);return i}));const Si=l((function e(t,s,n){return wi((function(s,n,i){return Be(n)&&Be(i)?e(t,n,i):t(s,n,i)}),s,n)}));const ji=c((function(e,t){return Si((function(e,t,s){return s}),e,t)}));const Bi=fe(0,-1);const Oi=c((function(e,t){return e.apply(this,t)}));const Mi=z(ze);var $i=a((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():v(e)?[]:m(e)?"":Be(e)?{}:R(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Pi=$i;const Ai=a((function(e){return null!=e&&te(e,Pi(e))}));const Ci=F(1,ze(Array.isArray)?Array.isArray:ve(Q,xe("Array")));const Ti=Re(Ci,Ai);const Fi=F(3,(function(e,t,s){var n=Pn(e,s),i=Pn(Bi(e),s);if(!Mi(n)&&!Ti(e)){var r=le(n,i);return Oi(r,t)}})),qi=()=>({predicates:{...e},namespace:ct}),Ii={toolboxCreator:qi,visitorOptions:{nodeTypeGetter:bi,exposeEdits:!0}},Ri=(e,t,s={})=>{if(0===t.length)return e;const n=ji(Ii,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),a=t.map((e=>e(o))),c=en(a.map(g({},"visitor")),{...r});a.forEach(Fi(["pre"],[]));const l=Ei(e,c,r);return a.forEach(Fi(["post"],[])),l};Ri[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=ji(Ii,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),a=t.map((e=>e(o))),c=en[Symbol.for("nodejs.util.promisify.custom")],l=Ei[Symbol.for("nodejs.util.promisify.custom")],u=c(a.map(g({},"visitor")),{...r});await Promise.allSettled(a.map(Fi(["pre"],[])));const d=await l(e,u,r);return await Promise.allSettled(a.map(Fi(["post"],[]))),d};const ki=(e,{Type:t,plugins:s=[]})=>{const n=new t(e);return zn(e)&&(e.meta.length>0&&(n.meta=hi(e.meta)),e.attributes.length>0&&(n.attributes=hi(e.attributes))),Ri(n,s,{toolboxCreator:qi,visitorOptions:{nodeTypeGetter:bi}})},Ni=e=>(t,s={})=>ki(t,{...s,Type:e});oe.Sh.refract=Ni(oe.Sh),oe.wE.refract=Ni(oe.wE),oe.Om.refract=Ni(oe.Om),oe.bd.refract=Ni(oe.bd),oe.Os.refract=Ni(oe.Os),oe.kT.refract=Ni(oe.kT),oe.Ft.refract=Ni(oe.Ft),oe.sI.refract=Ni(oe.sI),et.refract=Ni(et),st.refract=Ni(st),it.refract=Ni(it);const Vi={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"],...xi},Di=e=>zn(e)?bi(e):Ys(e),Li=e=>zn(e)||Qs(e)||Array.isArray(e);const Ui=class{sourceMap=!1;annotations;namespace;processedDocumentCount=0;stream={leave:e=>{const t=new it;t._content=e.children.flat(1);const s=t.findElements(ai);if(s.length>0){s[0].classes.push("result")}return this.annotations.forEach((e=>{t.push(e)})),this.annotations=[],t}};constructor(){this.annotations=[],this.namespace=at()}comment(e){if(0===this.processedDocumentCount){const t=new st(e.content);return this.maybeAddSourceMap(e,t),t}return null}document(e){const t=1===this.processedDocumentCount,s=this.processedDocumentCount>=1;if(t){const t=new et("Only first document within YAML stream will be used. Rest will be discarded.");t.classes.push("warning"),this.maybeAddSourceMap(e,t),this.annotations.push(t)}return s?null:(this.processedDocumentCount+=1,e.children)}mapping(e){const t=new oe.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}keyValuePair(e){const t=new oe.Pr;return t.content.key=e.key,t.content.value=e.value,this.maybeAddSourceMap(e,t),e.children.filter((e=>"error"===e.type)).forEach((t=>{this.error(t,e,[],[e])})),t}sequence(e){const t=new oe.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}scalar(e){const t=this.namespace.toElement(e.content);return""===e.content&&e.style===Ps.Plain&&(t.classes.push("yaml-e-node"),t.classes.push("yaml-e-scalar")),this.maybeAddSourceMap(e,t),t}literal(e){if(e.isMissing){const t=`(Missing ${e.value})`,s=new et(t);s.classes.push("warning"),this.maybeAddSourceMap(e,s),this.annotations.push(s)}return null}error(e,t,s,n){const i=e.isUnexpected?"(Unexpected YAML syntax error)":"(Error YAML syntax error)",r=new et(i);if(r.classes.push("error"),this.maybeAddSourceMap(e,r),0===n.length){const e=new it;return e.push(r),e}return this.annotations.push(r),null}maybeAddSourceMap(e,t){this.sourceMap&&Cn(t,e)}};class Wi{cursor;constructor(e){this.cursor=e}stream(){return new Tn(this.cursor)}yaml_directive(){return new Tn(this.cursor)}tag_directive(){return new Tn(this.cursor)}reserved_directive(){return new Tn(this.cursor)}document(){return new Tn(this.cursor)}block_node(){return new Tn(this.cursor).setFieldName(this.cursor)}flow_node(){return new Tn(this.cursor).setFieldName(this.cursor)}block_mapping(){return new Tn(this.cursor)}block_mapping_pair(){return new Tn(this.cursor)}flow_mapping(){return new Tn(this.cursor)}flow_pair(){return new Tn(this.cursor)}block_sequence(){return new Tn(this.cursor)}block_sequence_item(){return new Tn(this.cursor)}flow_sequence(){return new Tn(this.cursor)}plain_scalar(){return new Tn(this.cursor)}single_quote_scalar(){return new Tn(this.cursor)}double_quote_scalar(){return new Tn(this.cursor)}block_scalar(){return new Tn(this.cursor)}ERROR(){return new Tn(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Tn(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Wi(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=Array.from(new Wi(this.cursor));e.pushChildren(...t)}e.children.reduce(((e,t)=>(t.setPreviousSibling(e),t)),void 0),this.cursor.gotoParent()}yield e}}const Hi=Wi,Gi=(e,{sourceMap:t=!1}={})=>{const s=e.walk(),n=new Hi(s),[i]=Array.from(n),r=new Rn,o=new Ui,a=new ks,c=new zs,l=tn(i,r,{keyMap:Fn,nodePredicate:qn,state:{schema:a,sourceMap:t,referenceManager:c}});return tn(l.rootNode,o,{keyMap:Vi,nodeTypeGetter:Di,nodePredicate:Li,state:{sourceMap:t}})};var Ji=l((function e(t,s,n){if(0===t.length)return s;var i=t[0];if(t.length>1){var r=!Sn(n)&&q(i,n)&&"object"==typeof n[i]?n[i]:d(t[1])?[]:{};s=e(Array.prototype.slice.call(t,1),s,r)}return function(e,t,s){if(d(e)&&v(s)){var n=[].concat(s);return n[e]=t,n}var i={};for(var r in s)i[r]=s[r];return i[e]=t,i}(i,s,n)}));const zi=Ji;const Zi=l((function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n}));var Ki=l((function(e,t,s){return zi([e],t,s)}));const Yi=Ki;var Qi=c((function e(t,s){if(null==s)return s;switch(t.length){case 0:return s;case 1:return function(e,t){if(null==t)return t;if(d(e)&&v(t))return Zi(e,1,t);var s={};for(var n in t)s[n]=t[n];return delete s[e],s}(t[0],s);default:var n=t[0],i=Array.prototype.slice.call(t,1);return null==s[n]?function(e,t){if(d(e)&&v(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):Yi(n,e(i,s[n]),s)}}));const Xi=Qi;const er=function(){return!0},tr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:bi(e),sr={EphemeralObject:["content"],EphemeralArray:["content"],...xi},nr=(e,t,{keyMap:s=sr,...n}={})=>Ei(e,t,{keyMap:s,nodeTypeGetter:tr,nodePredicate:er,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});nr[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=sr,...s}={})=>Ei[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:tr,nodePredicate:er,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});const ir=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const rr=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class or{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new rr(e.content);return this.references.set(e,t),t}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ir(e.content);return this.references.set(e,t),t}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}RefElement(e,...t){var s;const n=t[3];return"EphemeralObject"===(null===(s=n[n.length-1])||void 0===s?void 0:s.type)?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return Zn(e.href)?e.href.toValue():""}}const ar=e=>zn(e)?Zn(e)||Kn(e)||Qn(e)||Yn(e)?e.toValue():nr(e,new or):e,cr=e=>{const t=e.meta.length>0?hi(e.meta):void 0,s=e.attributes.length>0?hi(e.attributes):void 0;return new e.constructor(void 0,t,s)},lr=(e,t)=>t.clone&&t.isMergeableElement(e)?dr(cr(e),e,t):e,ur={clone:!0,isMergeableElement:e=>Xn(e)||ei(e),arrayElementMerge:(e,t,s)=>e.concat(t)["fantasy-land/map"]((e=>lr(e,s))),objectElementMerge:(e,t,s)=>{const n=Xn(e)?cr(e):cr(t);return Xn(e)&&e.forEach(((e,t,i)=>{const r=fi(i);r.value=lr(e,s),n.content.push(r)})),t.forEach(((t,i,r)=>{const o=ar(i);let a;if(Xn(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);a=fi(r),a.value=((e,t)=>{if("function"!=typeof t.customMerge)return dr;const s=t.customMerge(e,t);return"function"==typeof s?s:dr})(i,s)(n,t,s)}else a=fi(r),a.value=lr(t,s);n.remove(o),n.content.push(a)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},dr=(e,t,s)=>{var n,i,r;const o={...ur,...s};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:ur.isMergeableElement,o.arrayElementMerge=null!==(i=o.arrayElementMerge)&&void 0!==i?i:ur.arrayElementMerge,o.objectElementMerge=null!==(r=o.objectElementMerge)&&void 0!==r?r:ur.objectElementMerge;const a=ei(t);if(!(a===ei(e)))return lr(t,o);const c=a&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return c.meta=(e=>"function"!=typeof e.customMetaMerge?e=>hi(e):e.customMetaMerge)(o)(e.meta,t.meta),c.attributes=(e=>"function"!=typeof e.customAttributesMerge?e=>hi(e):e.customAttributesMerge)(o)(e.attributes,t.attributes),c};dr.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new oe.Sh:e.reduce(((e,s)=>dr(e,s,t)),cr(e[0]))};const mr=dr;const pr=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=mr(t.meta,e.meta)),ci(e)&&Cn(t,e),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=mr(t.attributes,e.attributes))}};const hr=class extends pr{enter(e){return this.element=hi(e),Ks}},gr=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},_r=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:_r(s,[...t,s])},fr=(e,t,s=[])=>{var n;const i=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map((e=>_r(e)));for(;s.every((e=>e.length>0));){const e=s.map((e=>e.pop())),n=e[0];if(!e.every((e=>e===n)))break;t=n}return t})(...e))&&void 0!==n?n:Object.prototype,r=Object.create(i),o=_r(i);for(let t of e){let e=_r(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(gr(r,n,["constructor",...s]),o.push(n))}}return r.constructor=t,r},br=e=>e.filter(((t,s)=>e.indexOf(t)==s)),vr=(e,t)=>{const s=t.map((e=>_r(e)));let n=0,i=!0;for(;i;){i=!1;for(let r=t.length-1;r>=0;r--){const t=s[r][n];if(null!=t&&(i=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[r][0]}n++}},yr=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,s)=>Object.getOwnPropertyDescriptor(vr(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==vr(n,e)||void 0!==t[n],get:(s,n)=>(vr(n,e)||t)[n],set(t,s,n){const i=vr(s,e);if(void 0===i)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return i[s]=n,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce(((e,t)=>t.concat(e.filter((e=>t.indexOf(e)<0)))))}),xr=null,Er="copy",wr="copy",Sr="deep",jr=new WeakMap,Br=e=>jr.get(e),Or=(e,t)=>{var s,n;const i=br([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),r={};for(let o of i)r[o]=br([...null!==(s=null==e?void 0:e[o])&&void 0!==s?s:[],...null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[]]);return r},Mr=(e,t)=>{var s,n,i,r;return{property:Or(null!==(s=null==e?void 0:e.property)&&void 0!==s?s:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:Or(null!==(i=null==e?void 0:e.method)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.method)&&void 0!==r?r:{})}},$r=(e,t)=>{var s,n,i,r,o,a;return{class:br([...null!==(s=null==e?void 0:e.class)&&void 0!==s?s:[],...null!==(n=null==t?void 0:t.class)&&void 0!==n?n:[]]),static:Mr(null!==(i=null==e?void 0:e.static)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.static)&&void 0!==r?r:{}),instance:Mr(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(a=null==t?void 0:t.instance)&&void 0!==a?a:{})}},Pr=new Map,Ar=(...e)=>{const t=((...e)=>{var t;const s=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const i=[..._r(e.prototype).map((e=>e.constructor)),...null!==(t=Br(e))&&void 0!==t?t:[]].filter((e=>!s.has(e)));for(let e of i)n.add(e);s.add(e),n.delete(e)}return[...s]})(...e).map((e=>Pr.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>$r(e,t)))},Cr=e=>{let t=Pr.get(e);return t||(t={},Pr.set(e,t)),t};function Tr(...e){var t,s,n;const i=e.map((e=>e.prototype)),r=xr;if(null!==r){const e=i.map((e=>e[r])).filter((e=>"function"==typeof e)),t=function(...t){for(let s of e)s.apply(this,t)},s={[r]:t};i.push(s)}function o(...t){for(const s of e)gr(this,new s(...t));null!==r&&"function"==typeof this[r]&&this[r].apply(this,t)}var a,c;o.prototype="copy"===wr?fr(i,o):(a=i,c=o,yr([...a,{constructor:c}])),Object.setPrototypeOf(o,"copy"===Er?fr(e,null,["prototype"]):yr(e,Function.prototype));let l=o;if("none"!==Sr){const i="deep"===Sr?Ar(...e):((...e)=>{const t=e.map((e=>Cr(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>$r(e,t)))})(...e);for(let e of null!==(t=null==i?void 0:i.class)&&void 0!==t?t:[]){const t=e(l);t&&(l=t)}Fr(null!==(s=null==i?void 0:i.static)&&void 0!==s?s:{},l),Fr(null!==(n=null==i?void 0:i.instance)&&void 0!==n?n:{},l.prototype)}var u,d;return u=l,d=e,jr.set(u,d),l}const Fr=(e,t)=>{const s=e.property,n=e.method;if(s)for(let e in s)for(let n of s[e])n(t,e);if(n)for(let e in n)for(let s of n[e])s(t,e,Object.getOwnPropertyDescriptor(t,e))};const qr=a((function(e){return F(ge(Ue,0,We("length",e)),(function(){for(var t=0,s=e.length;t<s;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Ir=a((function(e){return!Ai(e)}));const Rr=c((function(e,t){return e||t}));var kr=z(F(1,Re(Ne,c((function(e,t){return qe(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:J(Rr)(e,t)}))(De,ze))));const Nr=qr([lt,kr,Ir]);const Vr=c((function(e,t){for(var s={},n=0;n<e.length;)e[n]in t&&(s[e[n]]=t[e[n]]),n+=1;return s}));const Dr=class extends pr{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Vr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Pn(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Fe(ze,["visitors",...e],this.specObj)?Pn(["visitors",...e],this.specObj):Pn(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof hr&&(null==n?void 0:n.constructor)===hr?hi(t):(Ei(t,n,s),n.element)}};const Lr=class extends Dr{specPath;ignoredFields;constructor({specPath:e,ignoredFields:t,...s}){super({...s}),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,i)=>{if(Zn(n)&&s.includes(ar(n))&&!this.ignoredFields.includes(ar(n))){const s=this.toRefractedElement([...t,"fixedFields",ar(n)],e),r=new oe.Pr(hi(n),s);this.copyMetaAndAttributes(i,r),r.classes.push("fixed-field"),this.element.content.push(r)}else this.ignoredFields.includes(ar(n))||this.element.content.push(hi(i))})),this.copyMetaAndAttributes(e,this.element),Ks}};const Ur=class{parent;constructor({parent:e}){this.parent=e}};class Wr extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Hr=Wr;class Gr extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Jr=Gr;class zr extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Zr=zr;class Kr extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Yr=Kr,Qr=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Hr||e(n)&&t("JSONSchemaDraft4",n)&&s("object",n))),Xr=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Jr||e(n)&&t("JSONReference",n)&&s("object",n))),eo=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Zr||e(n)&&t("media",n)&&s("object",n))),to=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Yr||e(n)&&t("linkDescription",n)&&s("object",n)));class so extends(Tr(Lr,Ur,hr)){constructor(e){super(e),this.element=new Hr,this.specPath=se(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(e){return this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element,Lr.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(ie(this.parent)&&!Zn(e.get("$schema")))this.element.setMetaProperty("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(Qr(this.parent)&&!Zn(e.get("$schema"))){const e=u(ar(this.parent.meta.get("inheritedDialectIdentifier")),ar(this.parent.$schema));this.element.setMetaProperty("inheritedDialectIdentifier",e)}}handleSchemaIdentifier(e,t="id"){const s=void 0!==this.parent?hi(this.parent.getMetaProperty("ancestorsSchemaIdentifiers",[])):new oe.wE,n=ar(e.get(t));Nr(n)&&s.push(n),this.element.setMetaProperty("ancestorsSchemaIdentifiers",s)}}const no=so,io=e=>Xn(e)&&e.hasKey("$ref");class ro extends(Tr(Dr,Ur,hr)){ObjectElement(e){const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ks}ArrayElement(e){return this.element=new oe.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ks}}const oo=ro;const ao=class extends hr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-required"),t}};const co=function(){return!1};const lo=class extends Dr{specPath;ignoredFields;fieldPatternPredicate=co;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,...n}){super({...n}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s)}ObjectElement(e){return e.forEach(((e,t,s)=>{if(!this.ignoredFields.includes(ar(t))&&this.fieldPatternPredicate(ar(t))){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new oe.Pr(hi(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(ar(t))||this.element.content.push(hi(s))})),this.copyMetaAndAttributes(e,this.element),Ks}};const uo=class extends lo{constructor(e){super(e),this.fieldPatternPredicate=Nr}};class mo extends(Tr(uo,Ur,hr)){constructor(e){super(e),this.element=new oe.Sh,this.element.classes.push("json-schema-properties"),this.specPath=e=>io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const po=mo;class ho extends(Tr(uo,Ur,hr)){constructor(e){super(e),this.element=new oe.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const go=ho;class _o extends(Tr(uo,Ur,hr)){constructor(e){super(e),this.element=new oe.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const fo=_o;const bo=class extends hr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-enum"),t}};const vo=class extends hr{StringElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}};class yo extends(Tr(Dr,Ur,hr)){constructor(e){super(e),this.element=new oe.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((e=>{const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ks}}const xo=yo;class Eo extends(Tr(Dr,Ur,hr)){constructor(e){super(e),this.element=new oe.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((e=>{const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ks}}const wo=Eo;class So extends(Tr(Dr,Ur,hr)){constructor(e){super(e),this.element=new oe.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((e=>{const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ks}}const jo=So;class Bo extends(Tr(uo,Ur,hr)){constructor(e){super(e),this.element=new oe.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=e=>io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const Oo=Bo;class Mo extends(Tr(Dr,Ur,hr)){constructor(e){super(e),this.element=new oe.wE,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const $o=Mo;class Po extends(Tr(Lr,hr)){constructor(e){super(e),this.element=new Jr,this.specPath=se(["document","objects","JSONReference"])}ObjectElement(e){const t=Lr.prototype.ObjectElement.call(this,e);return Zn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const Ao=Po;const Co=class extends hr{StringElement(e){const t=this.enter(e);return this.element.classes.push("reference-value"),t}};const To=l((function(e,t,s){return F(Math.max(e.length,t.length,s.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)}))}));const Fo=a((function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}}));var qo=c((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Io=qo;const Ro=a(kn);const ko=z(Sn);const No=Re(Ci,Ir);function Vo(e){return function(e){if(Array.isArray(e))return Do(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Do(e,t);var s={}.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?Do(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Do(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=Array(t);s<t;s++)n[s]=e[s];return n}var Lo=ve(Io(Fo((function(e,t){return e.length>t.length}))),on,h("length")),Uo=Tt((function(e,t,s){var n=s.apply(void 0,Vo(e));return ko(n)?Ro(n):t}));const Wo=To(No,(function(e){var t=Lo(e);return F(t,(function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return ge(Uo(s),void 0,e)}))}),ne);const Ho=class extends Dr{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>To(e,se(t),ne))),s=Wo(t)(e);return this.element=this.toRefractedElement(s,e),Ks}};const Go=class extends Ho{constructor(e){super(e),this.alternator=[{predicate:io,specPath:["document","objects","JSONReference"]},{predicate:er,specPath:["document","objects","JSONSchema"]}]}};class Jo extends(Tr(Lr,hr)){constructor(e){super(e),this.element=new Zr,this.specPath=se(["document","objects","Media"])}}const zo=Jo;class Zo extends(Tr(Lr,hr)){constructor(e){super(e),this.element=new Yr,this.specPath=se(["document","objects","LinkDescription"])}}const Ko=Zo,Yo={visitors:{value:hr,JSONSchemaOrJSONReferenceVisitor:Go,document:{objects:{JSONSchema:{$visitor:no,fixedFields:{id:{$ref:"#/visitors/value"},$schema:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},additionalItems:Go,items:oo,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:ao,properties:po,additionalProperties:Go,patternProperties:go,dependencies:fo,enum:bo,type:vo,allOf:xo,anyOf:wo,oneOf:jo,not:Go,definitions:Oo,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:$o,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:Ao,fixedFields:{$ref:Co}},Media:{$visitor:zo,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:Ko,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Go,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Go}}}}}};const Qo=class extends _t{},Xo=e=>{if(zn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ea={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...xi},ta={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Hr),t.register("jSONReference",Jr),t.register("media",Zr),t.register("linkDescription",Yr),t}},sa=()=>{const e=at(ta);return{predicates:{...t,isStringElement:Zn},namespace:e}},na=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Yo}={})=>{const i=(0,oe.e)(e),r=An(n),o=new(Pn(t,r))({specObj:r});return Ei(i,o),Ri(o.element,s,{toolboxCreator:sa,visitorOptions:{keyMap:ea,nodeTypeGetter:Xo}})},ia=e=>(t,s={})=>na(t,{specPath:e,...s});Hr.refract=ia(["visitors","document","objects","JSONSchema","$visitor"]),Jr.refract=ia(["visitors","document","objects","JSONReference","$visitor"]),Zr.refract=ia(["visitors","document","objects","Media","$visitor"]),Yr.refract=ia(["visitors","document","objects","LinkDescription","$visitor"]);const ra=class extends Hr{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idProp(){throw new Qo("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Qo("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const oa=class extends no{constructor(e){super(e),this.element=new ra}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(e){const t=this.enter(e);return this.element.classes.push("boolean-json-schema"),t}handleSchemaIdentifier(e,t="$id"){return super.handleSchemaIdentifier(e,t)}};const aa=class extends oo{BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Ks}};const ca=class extends hr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-examples"),t}};const la=class extends Yr{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new Qo("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Qo("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new Qo("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Qo("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Qo("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Qo("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};const ua=class extends Ko{constructor(e){super(e),this.element=new la}},da=ve(zi(["visitors","document","objects","JSONSchema","$visitor"],oa),Xi(["visitors","document","objects","JSONSchema","fixedFields","id"]),zi(["visitors","document","objects","JSONSchema","fixedFields","$id"],Yo.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","contains"],Yo.visitors.JSONSchemaOrJSONReferenceVisitor),zi(["visitors","document","objects","JSONSchema","fixedFields","items"],aa),zi(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Yo.visitors.JSONSchemaOrJSONReferenceVisitor),zi(["visitors","document","objects","JSONSchema","fixedFields","const"],Yo.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","examples"],ca),zi(["visitors","document","objects","LinkDescription","$visitor"],ua),zi(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Yo.visitors.JSONSchemaOrJSONReferenceVisitor),Xi(["visitors","document","objects","LinkDescription","fixedFields","schema"]),zi(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Yo.visitors.JSONSchemaOrJSONReferenceVisitor),Xi(["visitors","document","objects","LinkDescription","fixedFields","method"]),Xi(["visitors","document","objects","LinkDescription","fixedFields","encType"]),zi(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Yo.visitors.value))(Yo),ma={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...xi},pa=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ra||e(n)&&t("JSONSchemaDraft6",n)&&s("object",n))),ha=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof la||e(n)&&t("linkDescription",n)&&s("object",n))),ga={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",ra),t.register("jSONReference",Jr),t.register("media",Zr),t.register("linkDescription",la),t}},_a=()=>{const e=at(ga);return{predicates:{...s,isStringElement:Zn},namespace:e}},fa=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=da}={})=>{const i=(0,oe.e)(e),r=An(n),o=new(Pn(t,r))({specObj:r});return Ei(i,o),Ri(o.element,s,{toolboxCreator:_a,visitorOptions:{keyMap:ma,nodeTypeGetter:Xo}})},ba=e=>(t,s={})=>fa(t,{specPath:e,...s});ra.refract=ba(["visitors","document","objects","JSONSchema","$visitor"]),la.refract=ba(["visitors","document","objects","LinkDescription","$visitor"]);const va=class extends ra{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Qo('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Qo('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const ya=class extends oa{constructor(e){super(e),this.element=new va}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}};const xa=class extends la{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){throw new Qo("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Qo("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get submissionEncType(){throw new Qo("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Qo("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}};const Ea=class extends ua{constructor(e){super(e),this.element=new xa}},wa=ve(zi(["visitors","document","objects","JSONSchema","$visitor"],ya),zi(["visitors","document","objects","JSONSchema","fixedFields","$comment"],da.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","if"],da.visitors.JSONSchemaOrJSONReferenceVisitor),zi(["visitors","document","objects","JSONSchema","fixedFields","then"],da.visitors.JSONSchemaOrJSONReferenceVisitor),zi(["visitors","document","objects","JSONSchema","fixedFields","else"],da.visitors.JSONSchemaOrJSONReferenceVisitor),Xi(["visitors","document","objects","JSONSchema","fixedFields","media"]),zi(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],da.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],da.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","$visitor"],Ea),zi(["visitors","document","objects","LinkDescription","fixedFields","anchor"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],da.visitors.value),Xi(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),zi(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","description"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","$comment"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],da.visitors.JSONSchemaOrJSONReferenceVisitor),Xi(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),zi(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],da.visitors.value))(da);const Sa=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=mr(t.meta,e.meta)),ci(e)&&Cn(t,e),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=mr(t.attributes,e.attributes))}};const ja=class extends Sa{enter(e){return this.element=hi(e),Ks}};const Ba=class extends Sa{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Vr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Pn(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Fe(ze,["visitors",...e],this.specObj)?Pn(["visitors",...e],this.specObj):Pn(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof ja&&(null==n?void 0:n.constructor)===ja?hi(t):(Ei(t,n,s),n.element)}};const Oa=class extends Ba{MemberElement(e){return this.element=hi(e),this.element.classes.push("specification-extension"),Ks}};var Ma=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=$,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var s=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?kn(s):s},e}();function $a(e){return function(t){return new Ma(e,t)}}const Pa=c(B(["take"],$a,(function(e,t){return fe(0,e<0?1/0:e,t)})));const Aa=c((function(e,t){return te(Pa(e.length,t),e)})),Ca=e=>Xn(e)&&e.hasKey("$ref"),Ta=e=>Zn(e.key)&&Aa("x-",ar(e.key));const Fa=class extends Ba{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=Ta;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,i)=>{if(Zn(n)&&s.includes(ar(n))&&!this.ignoredFields.includes(ar(n))){const s=this.toRefractedElement([...t,"fixedFields",ar(n)],e),r=new oe.Pr(hi(n),s);r.classes.push("fixed-field"),this.copyMetaAndAttributes(i,r),this.element.content.push(r)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(ar(n))||this.element.content.push(hi(i))})),this.copyMetaAndAttributes(e,this.element),Ks}};class qa extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="asyncApi2",this.classes.push("api")}get asyncapi(){return this.get("asyncapi")}set asyncapi(e){this.set("asyncapi",e)}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get defaultContentType(){return this.get("defaultContentType")}set defaultContentType(e){this.set("defaultContentType",e)}get channels(){return this.get("channels")}set channels(e){this.set("channels",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Ia=qa;class Ra extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Ia,this.specPath=se(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}}const ka=Ra;class Na extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Va=Na;class Da extends(Tr(Ba,ja)){StringElement(e){const t=new Va(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const La=Da;class Ua extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="identifier"}}const Wa=Ua;class Ha extends(Tr(Ba,ja)){StringElement(e){const t=new Wa(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const Ga=Ha;class Ja extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}}const za=Ja;class Za extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new za,this.specPath=se(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const Ka=Za;const Ya=class extends ja{StringElement(e){return this.element=new oe.Om(ar(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),Ks}};class Qa extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const Xa=Qa;class ec extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Xa,this.specPath=se(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const tc=ec;class sc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="correlationID"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const nc=sc;class ic extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new nc,this.specPath=se(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}}const rc=ic;class oc extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}}const ac=oc;class cc extends(Tr(Ba,ja)){StringElement(e){const t=new ac(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const lc=cc;class uc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const dc=uc;class mc extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new dc,this.specPath=se(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const pc=mc;class hc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const gc=hc;class _c extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new gc,this.specPath=se(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const fc=_c;class bc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const vc=bc;class yc extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new vc,this.specPath=se(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const xc=yc;class Ec extends oe.Sh{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Ec.primaryClass)}}const wc=Ec;const Sc=class extends Ba{specPath;ignoredFields;fieldPatternPredicate=co;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=Ta;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:i,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof i&&(this.specificationExtensionPredicate=i)}ObjectElement(e){return e.forEach(((e,t,s)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(ar(t))&&this.fieldPatternPredicate(ar(t))){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new oe.Pr(hi(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(ar(t))||this.element.content.push(hi(s))})),this.copyMetaAndAttributes(e,this.element),Ks}};const jc=class extends Sc{constructor(e){super(e),this.fieldPatternPredicate=Nr}};class Bc extends(Tr(jc,ja)){constructor(e){super(e),this.element=new wc,this.specPath=se(["value"])}}const Oc=Bc;const Mc=c((function(e,t){if(s=e,"[object RegExp]"!==Object.prototype.toString.call(s))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Ce(e));var s;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)}));class $c extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="servers"}}const Pc=$c;class Ac extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="channelBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const Cc=Ac;class Tc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="channelItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get subscribe(){return this.get("subscribe")}set subscribe(e){this.set("subscribe",e)}get publish(){return this.get("publish")}set publish(e){this.set("publish",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const Fc=Tc;class qc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="channels"}}const Ic=qc;class Rc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get serverVariables(){return this.get("serverVariables")}set serverVariables(e){this.set("serverVariables",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get correlationIds(){return this.get("correlationIds")}set correlationIds(e){this.set("correlationIds",e)}get operationTraits(){return this.get("operationTraits")}set operationTraits(e){this.set("operationTraits",e)}get messageTraits(){return this.get("messageTraits")}set messageTraits(e){this.set("messageTraits",e)}get serverBindings(){return this.get("serverBindings")}set serverBindings(e){this.set("serverBindings",e)}get channelBindings(){return this.get("channelBindings")}set channelBindings(e){this.set("channelBindings",e)}get operationBindings(){return this.get("operationBindings")}set operationBindings(e){this.set("operationBindings",e)}get messageBindings(){return this.get("messageBindings")}set messageBindings(e){this.set("messageBindings",e)}}const kc=Rc;class Nc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operation"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}get message(){return this.get("message")}set message(e){this.set("message",e)}}const Vc=Nc;class Dc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="parameter"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const Lc=Dc;class Uc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="parameters"}}const Wc=Uc;class Hc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="reference",this.classes.push("json-reference"),this.classes.push("asyncapi-reference")}set $ref(e){this.set("$ref",e)}get $ref(){return this.get("$ref")}}const Gc=Hc,Jc={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...xi},zc=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof va||e(n)&&t("JSONSchemaDraft7",n)&&s("object",n))),Zc=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof xa||e(n)&&t("linkDescription",n)&&s("object",n))),Kc={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",va),t.register("jSONReference",Jr),t.register("linkDescription",xa),t}},Yc=()=>{const e=at(Kc);return{predicates:{...n,isStringElement:Zn},namespace:e}},Qc=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=wa}={})=>{const i=(0,oe.e)(e),r=An(n),o=new(Pn(t,r))({specObj:r});return Ei(i,o),Ri(o.element,s,{toolboxCreator:Yc,visitorOptions:{keyMap:Jc,nodeTypeGetter:Xo}})},Xc=e=>(t,s={})=>Qc(t,{specPath:e,...s});va.refract=Xc(["visitors","document","objects","JSONSchema","$visitor"]),xa.refract=Xc(["visitors","document","objects","LinkDescription","$visitor"]);const el=class extends va{constructor(e,t,s){super(e,t,s),this.element="schema",this.classes.push("json-schema-draft-7")}get not(){return this.get("not")}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get discriminator(){return this.get("discriminator")}get externalDocs(){return this.get("externalDocs")}get deprecated(){return this.get("deprecated")}};class tl extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}}const sl=tl;class nl extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get protocol(){return this.get("protocol")}set protocol(e){this.set("protocol",e)}get protocolVersion(){return this.get("protocolVersion")}set protocolVersion(e){this.set("protocolVersion",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const il=nl;class rl extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="serverBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const ol=rl;class al extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const cl=al,ll=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>i=>i instanceof Ia&&i.constructor===Ia||e(i)&&t("asyncApi2",i)&&s("object",i)&&n("api",i))),ul=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Va||e(n)&&t("asyncApiVersion",n)&&s("string",n))),dl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Cc||e(n)&&t("channelBindings",n)&&s("object",n))),ml=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Fc||e(n)&&t("channelItem",n)&&s("object",n))),pl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ic||e(n)&&t("channels",n)&&s("object",n))),hl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof kc||e(n)&&t("components",n)&&s("object",n))),gl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Xa||e(n)&&t("contact",n)&&s("object",n))),_l=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Wa||e(n)&&t("identifier",n)&&s("string",n))),fl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof za||e(n)&&t("info",n)&&s("object",n))),bl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof dc||e(n)&&t("license",n)&&s("object",n))),vl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Vc||e(n)&&t("operation",n)&&s("object",n))),yl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Lc||e(n)&&t("parameter",n)&&s("object",n))),xl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Wc||e(n)&&t("parameters",n)&&s("object",n))),El=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Gc||e(n)&&t("reference",n)&&s("object",n))),wl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof el||e(n)&&t("schema",n)&&s("object",n))),Sl=e=>Qn(e)&&e.classes.includes("boolean-json-schema"),jl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof sl||e(n)&&t("securityRequirement",n)&&s("object",n))),Bl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof il||e(n)&&t("server",n)&&s("object",n))),Ol=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ol||e(n)&&t("serverBindings",n)&&s("object",n))),Ml=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Pc||e(n)&&t("servers",n)&&s("object",n))),$l=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof cl||e(n)&&t("serverVariable",n)&&s("object",n)));class Pl extends(Tr(Sc,ja)){constructor(e){super(e),this.element=new Pc,this.element.classes.push("servers"),this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=Mc(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){const t=Sc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const Al=Pl;class Cl extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new il,this.specPath=se(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const Tl=Cl;const Fl=class extends ja{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}};const ql=class extends Ba{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>To(e,se(t),ne))),s=Wo(t)(e);return this.element=this.toRefractedElement(s,e),Ks}};class Il extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}const Rl=Il;class kl extends oe.Sh{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(kl.primaryClass)}}const Nl=kl;class Vl extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Nl,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}}const Dl=Vl;class Ll extends oe.wE{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ll.primaryClass)}}const Ul=Ll;class Wl extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Ul}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Hl=Wl;class Gl extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new cl,this.specPath=se(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const Jl=Gl;class zl extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new ol,this.specPath=se(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}}const Zl=zl;class Kl extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const Yl=Kl;class Ql extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Yl,this.specPath=se(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const Xl=Ql;class eu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new sl,this.specPath=se(["value"])}}const tu=eu;class su extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Gc,this.specPath=se(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Fa.prototype.ObjectElement.call(this,e);return Zn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const nu=su;const iu=class extends ja{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class ru extends(Tr(Fa,ja)){constructor(e){super(e),this.specPath=se(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return this.element=new el,Fa.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=super.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const ou=ru,au=wa.visitors.JSONSchemaOrJSONReferenceVisitor;const cu=class extends au{enter(e){const t=au.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}},lu=wa.visitors.document.objects.JSONSchema.fixedFields.allOf;const uu=class extends lu{ArrayElement(e){const t=lu.prototype.ArrayElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},du=wa.visitors.document.objects.JSONSchema.fixedFields.anyOf;const mu=class extends du{ArrayElement(e){const t=du.prototype.ArrayElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},pu=wa.visitors.document.objects.JSONSchema.fixedFields.oneOf;const hu=class extends pu{ArrayElement(e){const t=pu.prototype.ArrayElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},gu=wa.visitors.document.objects.JSONSchema.fixedFields.definitions;const _u=class extends gu{ObjectElement(e){const t=gu.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},fu=wa.visitors.document.objects.JSONSchema.fixedFields.dependencies;const bu=class extends fu{ObjectElement(e){const t=fu.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},vu=wa.visitors.document.objects.JSONSchema.fixedFields.items;const yu=class extends vu{ObjectElement(e){const t=vu.prototype.ObjectElement.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}ArrayElement(e){const t=vu.prototype.ArrayElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},xu=wa.visitors.document.objects.JSONSchema.fixedFields.patternProperties;const Eu=class extends xu{ObjectElement(e){const t=xu.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},wu=wa.visitors.document.objects.JSONSchema.fixedFields.properties;const Su=class extends wu{ObjectElement(e){const t=wu.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},ju=W((e=>e===wa.visitors.JSONSchemaOrJSONReferenceVisitor?cu:e),wa.visitors.document.objects.JSONSchema.fixedFields);class Bu extends(Tr(Sc,ja)){constructor(e){super(e),this.element=new Wc,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Parameter"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=e=>"string"==typeof e&&/^[A-Za-z0-9_-]+$/.test(e)}ObjectElement(e){const t=Sc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const Ou=Bu;class Mu extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Lc,this.specPath=se(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const $u=Mu;class Pu extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Au=Pu;class Cu extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Tu=Cu;class Fu extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Tu,this.specPath=se(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const qu=Fu;class Iu extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new kc,this.specPath=se(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const Ru=Iu;class ku extends oe.Sh{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(ku.primaryClass)}}const Nu=ku;class Vu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Nu,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const Du=Vu;class Lu extends oe.Sh{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Lu.primaryClass)}}const Uu=Lu;class Wu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Uu,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const Hu=Wu;class Gu extends oe.Sh{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Gu.primaryClass)}}const Ju=Gu;class zu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Ju,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}const Zu=zu;class Ku extends oe.Sh{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(Ku.primaryClass)}}const Yu=Ku;class Qu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Yu,this.specPath=se(["document","objects","ChannelItem"])}}const Xu=Qu;class ed extends oe.Sh{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(ed.primaryClass)}}const td=ed;class sd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new td,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const nd=sd;class id extends oe.Sh{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(id.primaryClass)}}const rd=id;class od extends(Tr(jc,ja)){constructor(e){super(e),this.element=new rd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}const ad=od;class cd extends oe.Sh{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(cd.primaryClass)}}const ld=cd;class ud extends(Tr(jc,ja)){constructor(e){super(e),this.element=new ld,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const dd=ud;class md extends oe.Sh{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(md.primaryClass)}}const pd=md;class hd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new pd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}const gd=hd;class _d extends oe.Sh{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(_d.primaryClass)}}const fd=_d;class bd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new fd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}const vd=bd;class yd extends oe.Sh{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(yd.primaryClass)}}const xd=yd;class Ed extends(Tr(jc,ja)){constructor(e){super(e),this.element=new xd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}const wd=Ed;class Sd extends oe.Sh{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Sd.primaryClass)}}const jd=Sd;class Bd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new jd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}const Od=Bd;class Md extends oe.Sh{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Md.primaryClass)}}const $d=Md;class Pd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new $d,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}const Ad=Pd;class Cd extends oe.Sh{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Cd.primaryClass)}}const Td=Cd;class Fd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Td,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}const qd=Fd;class Id extends oe.Sh{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Id.primaryClass)}}const Rd=Id;class kd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Rd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}const Nd=kd;class Vd extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Vc,this.specPath=se(["document","objects","Operation"])}}const Dd=Vd;class Ld extends oe.wE{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ld.primaryClass)}}const Ud=Ld;class Wd extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Ud}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Hd=Wd;class Gd extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const Jd=Gd;class zd extends oe.wE{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(zd.primaryClass)}}const Zd=zd;class Kd extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Zd}ArrayElement(e){return e.forEach((e=>{let t;Ca(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Yd=Kd;class Qd extends oe.Sh{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(Qd.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const Xd=Qd;class em extends oe.wE{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(em.primaryClass)}}const tm=em;class sm extends(Tr(Ba,ja)){ObjectElement(e){if(Ca(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(ei(e.get("oneOf"))){this.element=new Xd;const t=new tm;e.get("oneOf").forEach((e=>{let s;Ca(e)?(s=this.toRefractedElement(["document","objects","Reference"],e),s.setMetaProperty("referenced-element","message")):s=this.toRefractedElement(["document","objects","Message"],e),t.push(s)})),this.element.oneOf=t}else this.element=this.toRefractedElement(["document","objects","Message"],e);return this.copyMetaAndAttributes(e,this.element),Ks}}const nm=sm;class im extends oe.wE{constructor(e,t,s){super(e,t,s),this.element="tags"}}const rm=im;class om extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new rm}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const am=om;class cm extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const lm=cm;class um extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new lm,this.specPath=se(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const dm=um;class mm extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Ic,this.specPath=se(["document","objects","ChannelItem"])}}const pm=mm;class hm extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Cc,this.specPath=se(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}}const gm=hm;class _m extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Fc,this.specPath=se(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=Fa.prototype.ObjectElement.call(this,e);return Zn(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}const fm=_m;const bm=class extends ja{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class vm extends oe.wE{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(vm.primaryClass)}}const ym=vm;class xm extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new ym}ArrayElement(e){return e.forEach((e=>{const t=hi(e);Zn(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Em=xm;class wm extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}const Sm=wm;class jm extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="messageBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const Bm=jm;class Om extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Bm,this.specPath=se(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}}const Mm=Om;class $m extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="messageExample"}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}}const Pm=$m;class Am extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Pm,this.specPath=se(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}}const Cm=Am;class Tm extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="messageTrait"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const Fm=Tm;class qm extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Fm,this.specPath=se(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}}const Im=qm;class Rm extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const km=Rm;class Nm extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const Vm=Nm;class Dm extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const Lm=Dm;class Um extends oe.wE{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Um.primaryClass)}}const Wm=Um;class Hm extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Wm}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Gm=Hm;const Jm=a((function(e){return p(-1,e)}));const zm=class extends Qo{};const Zm=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new zm("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new zm("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new zm("latest method in MediaTypes class is not yet implemented.")}};const Km=new class extends Zm{filterByFormat(e="generic"){const t="generic"===e?"asyncapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="2.6.0",t="generic"){const s="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find((e=>e.includes(s)))||this.unknownMediaType}latest(e="generic"){return Jm(this.filterByFormat(e))}}("application/vnd.aai.asyncapi;version=2.0.0","application/vnd.aai.asyncapi+json;version=2.0.0","application/vnd.aai.asyncapi+yaml;version=2.0.0","application/vnd.aai.asyncapi;version=2.1.0","application/vnd.aai.asyncapi+json;version=2.1.0","application/vnd.aai.asyncapi+yaml;version=2.1.0","application/vnd.aai.asyncapi;version=2.2.0","application/vnd.aai.asyncapi+json;version=2.2.0","application/vnd.aai.asyncapi+yaml;version=2.2.0","application/vnd.aai.asyncapi;version=2.3.0","application/vnd.aai.asyncapi+json;version=2.3.0","application/vnd.aai.asyncapi+yaml;version=2.3.0","application/vnd.aai.asyncapi;version=2.4.0","application/vnd.aai.asyncapi+json;version=2.4.0","application/vnd.aai.asyncapi+yaml;version=2.4.0","application/vnd.aai.asyncapi;version=2.5.0","application/vnd.aai.asyncapi+json;version=2.5.0","application/vnd.aai.asyncapi+yaml;version=2.5.0","application/vnd.aai.asyncapi;version=2.6.0","application/vnd.aai.asyncapi+json;version=2.6.0","application/vnd.aai.asyncapi+yaml;version=2.6.0");class Ym extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="message"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}}const Qm=Ym;class Xm extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Qm,this.specPath=se(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=Fa.prototype.ObjectElement.call(this,e),s=this.element.get("payload"),n=u(Km.latest(),ar(e.get("schemaFormat")));if(Km.includes(n)&&Ca(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else Km.includes(n)&&Xn(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return t}}const ep=Xm;class tp extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const sp=tp;class np extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const ip=np;class rp extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const op=rp;class ap extends oe.wE{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(ap.primaryClass)}}const cp=ap;class lp extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new cp}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const up=lp;class dp extends oe.wE{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(dp.primaryClass)}}const mp=dp;class pp extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new mp}ArrayElement(e){return e.forEach((e=>{let t;Ca(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const hp=pp;class gp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operationBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const _p=gp;class fp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new _p,this.specPath=se(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}}const bp=fp;class vp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operationTrait"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const yp=vp;class xp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new yp,this.specPath=se(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}}const Ep=xp;class wp extends oe.wE{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(wp.primaryClass)}}const Sp=wp;class jp extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Sp}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Bp=jp;class Op extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const Mp=Op;class $p extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpChannelBinding",this.classes.push("channel-binding")}get is(){return this.get("is")}set is(e){this.set("is",e)}get exchange(){return this.get("exchange")}set exchange(e){this.set("exchange",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Pp=$p;class Ap extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Pp,this.specPath=se(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Cp=Ap;class Tp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpMessageBinding",this.classes.push("message-binding")}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get messageType(){return this.get("messageType")}set messageType(e){this.set("messageType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Fp=Tp;class qp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Fp,this.specPath=se(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ip=qp;class Rp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpOperationBinding",this.classes.push("operation-binding")}get expiration(){return this.get("expiration")}set expiration(e){this.set("expiration",e)}get userId(){return this.get("userId")}set userId(e){this.set("userId",e)}get cc(){return this.get("cc")}set cc(e){this.set("cc",e)}get priority(){return this.get("priority")}set priority(e){this.set("priority",e)}get deliveryMode(){return this.get("deliveryMode")}set deliveryMode(e){this.set("deliveryMode",e)}get mandatory(){return this.get("mandatory")}set mandatory(e){this.set("mandatory",e)}get bcc(){return this.get("bcc")}set bcc(e){this.set("bcc",e)}get replyTo(){return this.get("replyTo")}set replyTo(e){this.set("replyTo",e)}get timestamp(){return this.get("timestamp")}set timestamp(e){this.set("timestamp",e)}get ack(){return this.get("ack")}set ack(e){this.set("ack",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const kp=Rp;class Np extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new kp,this.specPath=se(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Vp=Np;class Dp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}}const Lp=Dp;class Up extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Lp,this.specPath=se(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Wp=Up;class Hp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const Gp=Hp;class Jp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Gp,this.specPath=se(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const zp=Jp;class Zp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const Kp=Zp;class Yp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Kp,this.specPath=se(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Qp=Yp;class Xp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const eh=Xp;class th extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new eh,this.specPath=se(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const sh=th;class nh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const ih=nh;class rh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new ih,this.specPath=se(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const oh=rh;class ah extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqChannelBinding",this.classes.push("channel-binding")}get destination(){return this.get("destination")}set destination(e){this.set("destination",e)}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const ch=ah;class lh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new ch,this.specPath=se(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const uh=lh;class dh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const mh=dh;class ph extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new mh,this.specPath=se(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const hh=ph;class gh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const _h=gh;class fh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new _h,this.specPath=se(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bh=fh;class vh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const yh=vh;class xh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new yh,this.specPath=se(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Eh=xh;class wh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const Sh=wh;class jh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Sh,this.specPath=se(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Bh=jh;class Oh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="httpMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Mh=Oh;class $h extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Mh,this.specPath=se(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ph=$h;class Ah extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="httpOperationBinding",this.classes.push("operation-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Ch=Ah;class Th extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Ch,this.specPath=se(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Fh=Th;class qh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}}const Ih=qh;class Rh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Ih,this.specPath=se(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const kh=Rh;class Nh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubChannelBinding",this.classes.push("channel-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get labels(){return this.get("labels")}set labels(e){this.set("labels",e)}get messageRetentionDuration(){return this.get("messageRetentionDuration")}set messageRetentionDuration(e){this.set("messageRetentionDuration",e)}get messageStoragePolicy(){return this.get("messageStoragePolicy")}set messageStoragePolicy(e){this.set("messageStoragePolicy",e)}get schemaSettings(){return this.get("schemaSettings")}set schemaSettings(e){this.set("schemaSettings",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}}const Vh=Nh;class Dh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Vh,this.specPath=se(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Lh=Dh;class Uh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get attributesProp(){return this.get("attributes")}set attributesProp(e){this.set("attributes",e)}get orderingKey(){return this.get("orderingKey")}set orderingKey(e){this.set("orderingKey",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Wh=Uh;class Hh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Wh,this.specPath=se(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Gh=Hh;class Jh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const zh=Jh;class Zh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new zh,this.specPath=se(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Kh=Zh;class Yh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const Qh=Yh;class Xh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Qh,this.specPath=se(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const eg=Xh;class tg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqChannelBinding",this.classes.push("channel-binding")}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get maxMsgLength(){return this.get("maxMsgLength")}set maxMsgLength(e){this.set("maxMsgLength",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const sg=tg;class ng extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new sg,this.specPath=se(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const ig=ng;class rg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqMessageBinding",this.classes.push("message-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get expiry(){return this.get("expiry")}set expiry(e){this.set("expiry",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const og=rg;class ag extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new og,this.specPath=se(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const cg=ag;class lg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const ug=lg;class dg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new ug,this.specPath=se(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const mg=dg;class pg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqServerBinding",this.classes.push("server-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get ccdtQueueManagerName(){return this.get("ccdtQueueManagerName")}set ccdtQueueManagerName(e){this.set("ccdtQueueManagerName",e)}get cipherSpec(){return this.get("cipherSpec")}set cipherSpec(e){this.set("cipherSpec",e)}get multiEndpointServer(){return this.get("multiEndpointServer")}set multiEndpointServer(e){this.set("multiEndpointServer",e)}get heartBeatInterval(){return this.get("heartBeatInterval")}set heartBeatInterval(e){this.set("heartBeatInterval",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const hg=pg;class gg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new hg,this.specPath=se(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const _g=gg;class fg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const bg=fg;class vg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new bg,this.specPath=se(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const yg=vg;class xg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Eg=xg;class wg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Eg,this.specPath=se(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Sg=wg;class jg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const Bg=jg;class Og extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Bg,this.specPath=se(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Mg=Og;class $g extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}}const Pg=$g;class Ag extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Pg,this.specPath=se(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Cg=Ag;class Tg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="kafkaChannelBinding",this.classes.push("channel-binding")}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get partitions(){return this.get("partitions")}set partitions(e){this.set("partitions",e)}get replicas(){return this.get("replicas")}set replicas(e){this.set("replicas",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Fg=Tg;class qg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Fg,this.specPath=se(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Ig=qg;class Rg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="kafkaMessageBinding",this.classes.push("message-binding")}get key(){return this.get("key")}set key(e){this.set("key",e)}get schemaIdLocation(){return this.get("schemaIdLocation")}set schemaIdLocation(e){this.set("schemaIdLocation",e)}get schemaIdPayloadEncoding(){return this.get("schemaIdPayloadEncoding")}set schemaIdPayloadEncoding(e){this.set("schemaIdPayloadEncoding",e)}get schemaLookupStrategy(){return this.get("schemaLookupStrategy")}set schemaLookupStrategy(e){this.set("schemaLookupStrategy",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const kg=Rg;class Ng extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new kg,this.specPath=se(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Vg=Ng;class Dg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="kafkaOperationBinding",this.classes.push("operation-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Lg=Dg;class Ug extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Lg,this.specPath=se(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Wg=Ug;class Hg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="kafkaServerBinding",this.classes.push("server-binding")}get schemaRegistryUrl(){return this.get("schemaRegistryUrl")}set schemaRegistryUrl(e){this.set("schemaRegistryUrl",e)}get schemaRegistryVendor(){return this.get("schemaRegistryVendor")}set schemaRegistryVendor(e){this.set("schemaRegistryVendor",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Gg=Hg;class Jg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Gg,this.specPath=se(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const zg=Jg;class Zg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const Kg=Zg;class Yg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Kg,this.specPath=se(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Qg=Yg;class Xg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const e_=Xg;class t_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new e_,this.specPath=se(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const s_=t_;class n_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const i_=n_;class r_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new i_,this.specPath=se(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const o_=r_;class a_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}}const c_=a_;class l_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new c_,this.specPath=se(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const u_=l_;class d_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const m_=d_;class p_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new m_,this.specPath=se(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const h_=p_;class g_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const __=g_;class f_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new __,this.specPath=se(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const b_=f_;class v_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttOperationBinding",this.classes.push("operation-binding")}get qos(){return this.get("qos")}set qos(e){this.set("qos",e)}get retain(){return this.get("retain")}set retain(e){this.set("retain",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const y_=v_;class x_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new y_,this.specPath=se(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const E_=x_;class w_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttServerBinding",this.classes.push("server-binding")}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get cleanSession(){return this.get("cleanSession")}set cleanSession(e){this.set("cleanSession",e)}get lastWill(){return this.get("lastWill")}set lastWill(e){this.set("lastWill",e)}get keepAlive(){return this.get("keepAlive")}set keepAlive(e){this.set("keepAlive",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const S_=w_;class j_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new S_,this.specPath=se(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const B_=j_;class O_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const M_=O_;class $_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new M_,this.specPath=se(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const P_=$_;class A_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const C_=A_;class T_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new C_,this.specPath=se(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const F_=T_;class q_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const I_=q_;class R_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new I_,this.specPath=se(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const k_=R_;class N_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const V_=N_;class D_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new V_,this.specPath=se(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const L_=D_;class U_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const W_=U_;class H_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new W_,this.specPath=se(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const G_=H_;class J_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}}const z_=J_;class Z_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new z_,this.specPath=se(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const K_=Z_;class Y_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="natsOperationBinding",this.classes.push("operation-binding")}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Q_=Y_;class X_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Q_,this.specPath=se(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ef=X_;class tf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}}const sf=tf;class nf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new sf,this.specPath=se(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const rf=nf;class of extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarChannelBinding",this.classes.push("channel-binding")}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get persistence(){return this.get("persistence")}set persistence(e){this.set("persistence",e)}get compaction(){return this.get("compaction")}set compaction(e){this.set("compaction",e)}get"geo-replication"(){return this.get("compaction")}set"geo-replication"(e){this.set("geo-replication",e)}get retention(){return this.get("retention")}set retention(e){this.set("retention",e)}get ttl(){return this.get("ttl")}set ttl(e){this.set("ttl",e)}get deduplication(){return this.get("deduplication")}set deduplication(e){this.set("deduplication",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const af=of;class cf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new af,this.specPath=se(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const lf=cf;class uf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const df=uf;class mf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new df,this.specPath=se(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const pf=mf;class hf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const gf=hf;class _f extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new gf,this.specPath=se(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ff=_f;class bf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarServerBinding",this.classes.push("server-binding")}get tenant(){return this.get("tenant")}set tenant(e){this.set("tenant",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const vf=bf;class yf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new vf,this.specPath=se(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const xf=yf;class Ef extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const wf=Ef;class Sf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new wf,this.specPath=se(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const jf=Sf;class Bf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}}const Of=Bf;class Mf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Of,this.specPath=se(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const $f=Mf;class Pf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Af=Pf;class Cf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Af,this.specPath=se(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Tf=Cf;class Ff extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}}const qf=Ff;class If extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new qf,this.specPath=se(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Rf=If;class kf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const Nf=kf;class Vf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Nf,this.specPath=se(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Df=Vf;class Lf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}}const Uf=Lf;class Wf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Uf,this.specPath=se(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Hf=Wf;class Gf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Jf=Gf;class zf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Jf,this.specPath=se(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Zf=zf;class Kf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}}const Yf=Kf;class Qf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Yf,this.specPath=se(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Xf=Qf;class eb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const tb=eb;class sb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new tb,this.specPath=se(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const nb=sb;class ib extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const rb=ib;class ob extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new rb,this.specPath=se(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const ab=ob;class cb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceOperationBinding",this.classes.push("operation-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get destinations(){return this.get("destinations")}set destinations(e){this.set("destinations",e)}}const lb=cb;class ub extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new lb,this.specPath=se(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const db=ub;class mb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceServerBinding",this.classes.push("server-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get msgVpn(){return this.get("msgVpn")}set msgVpn(e){this.set("msgVpn",e)}}const pb=mb;class hb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new pb,this.specPath=se(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const gb=hb;class _b extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const fb=_b;class bb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new fb,this.specPath=se(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const vb=bb;class yb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const xb=yb;class Eb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new xb,this.specPath=se(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const wb=Eb;class Sb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const jb=Sb;class Bb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new jb,this.specPath=se(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ob=Bb;class Mb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}}const $b=Mb;class Pb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new $b,this.specPath=se(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Ab=Pb;class Cb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const Tb=Cb;class Fb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Tb,this.specPath=se(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const qb=Fb;class Ib extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}}const Rb=Ib;class kb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Rb,this.specPath=se(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Nb=kb;class Vb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const Db=Vb;class Lb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Db,this.specPath=se(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ub=Lb;class Wb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}}const Hb=Wb;class Gb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Hb,this.specPath=se(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Jb=Gb;class zb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketChannelBinding",this.classes.push("channel-binding")}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Zb=zb;class Kb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Zb,this.specPath=se(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Yb=Kb;class Qb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const Xb=Qb;class ev extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Xb,this.specPath=se(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const tv=ev;class sv extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const nv=sv;class iv extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new nv,this.specPath=se(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const rv=iv;class ov extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const av=ov;class cv extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new av,this.specPath=se(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const lv=cv,uv={$visitor:nu,fixedFields:{$ref:iu}},dv={$visitor:ou,fixedFields:{...ju,allOf:uu,anyOf:mu,oneOf:hu,items:yu,properties:Su,patternProperties:Eu,dependencies:bu,definitions:_u,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},mv={visitors:{value:ja,document:{objects:{AsyncApi:{$visitor:ka,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$ref:"#/visitors/document/objects/Identifier"},info:{$ref:"#/visitors/document/objects/Info"},servers:{$ref:"#/visitors/document/objects/Servers"},defaultContentType:{$ref:"#/visitors/document/objects/DefaultContentType"},channels:{$ref:"#/visitors/document/objects/Channels"},components:{$ref:"#/visitors/document/objects/Components"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},AsyncApiVersion:{$visitor:La},Identifier:{$visitor:Ga},Info:{$visitor:Ka,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:Ya,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:tc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:pc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{$visitor:Al},Server:{$visitor:Tl,fixedFields:{url:Fl,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:Dl,security:Hl,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Rl}},ServerVariable:{$visitor:Jl,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{$visitor:lc},Channels:{$visitor:pm},ChannelItem:{$visitor:fm,fixedFields:{$ref:bm,description:{$ref:"#/visitors/value"},servers:Em,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Sm}},Operation:{$visitor:Dd,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Hd,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Jd,traits:Yd,message:nm}},OperationTrait:{$visitor:Ep,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Bp,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Mp}},Message:{$visitor:ep,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:sp,payload:{$ref:"#/visitors/value"},correlationId:ip,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:op,examples:up,traits:hp}},MessageTrait:{$visitor:Im,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:km,correlationId:Vm,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Lm,examples:Gm}},MessageExample:{$visitor:Cm,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{$visitor:am},Tag:{$visitor:dm,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:qu,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{$visitor:Ru,fixedFields:{schemas:Du,servers:Hu,serverVariables:Zu,channels:Xu,messages:nd,securitySchemes:ad,parameters:dd,correlationIds:gd,operationTraits:vd,messageTraits:wd,serverBindings:Od,channelBindings:Ad,operationBindings:qd,messageBindings:Nd}},JSONReference:uv,Reference:uv,JSONSchema:dv,Schema:dv,LinkDescription:wa.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:Xl,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},SecurityRequirement:{$visitor:tu},OAuthFlows:{$visitor:fc,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:xc,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Oc}},ServerBindings:{$visitor:Zl,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ServerBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ServerBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ServerBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ServerBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ServerBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ServerBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ServerBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ServerBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ServerBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ServerBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ServerBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ServerBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ServerBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ServerBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ServerBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ServerBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ServerBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ServerBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ServerBinding"}}},Parameters:{$visitor:Ou},Parameter:{$visitor:$u,fixedFields:{description:{$ref:"#/visitors/value"},schema:Au,location:{$ref:"#/visitors/value"}}},ChannelBindings:{$visitor:gm,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ChannelBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ChannelBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ChannelBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ChannelBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ChannelBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ChannelBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ChannelBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ChannelBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ChannelBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ChannelBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ChannelBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ChannelBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ChannelBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ChannelBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ChannelBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ChannelBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ChannelBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ChannelBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ChannelBinding"}}},OperationBindings:{$visitor:bp,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/OperationBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/OperationBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/OperationBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/OperationBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/OperationBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/OperationBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/OperationBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/OperationBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/OperationBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/OperationBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/OperationBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/OperationBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/OperationBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/OperationBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/OperationBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/OperationBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/OperationBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/OperationBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/OperationBinding"}}},MessageBindings:{$visitor:Mm,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/MessageBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/MessageBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/MessageBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/MessageBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/MessageBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/MessageBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/MessageBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/MessageBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/MessageBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/MessageBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/MessageBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/MessageBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/MessageBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/MessageBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/MessageBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/MessageBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/MessageBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/MessageBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/MessageBinding"}}},CorrelationID:{$visitor:rc,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{$visitor:kh},ChannelBinding:{$visitor:Bh},OperationBinding:{$visitor:Fh,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:cu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ph,fixedFields:{headers:cu,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:lv},ChannelBinding:{$visitor:Yb,fixedFields:{method:{$ref:"#/visitors/value"},query:cu,headers:cu,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:rv},MessageBinding:{$visitor:tv}},kafka:{ServerBinding:{$visitor:zg,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Ig,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Wg,fixedFields:{groupId:cu,clientId:cu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Vg,fixedFields:{key:cu,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:Eh},ChannelBinding:{$visitor:uh,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:bh},MessageBinding:{$visitor:hh,fixedFields:{headers:cu,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Wp},ChannelBinding:{$visitor:Cp,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Vp,fixedFields:{expiration:{$ref:"#/visitors/value"},userId:{$ref:"#/visitors/value"},cc:{$ref:"#/visitors/value"},priority:{$ref:"#/visitors/value"},deliveryMode:{$ref:"#/visitors/value"},mandatory:{$ref:"#/visitors/value"},bcc:{$ref:"#/visitors/value"},replyTo:{$ref:"#/visitors/value"},timestamp:{$ref:"#/visitors/value"},ack:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ip,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:oh},ChannelBinding:{$visitor:zp},OperationBinding:{$visitor:sh},MessageBinding:{$visitor:Qp}},mqtt:{ServerBinding:{$visitor:B_,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:h_},OperationBinding:{$visitor:E_,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:b_,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:L_},ChannelBinding:{$visitor:P_},OperationBinding:{$visitor:k_},MessageBinding:{$visitor:F_}},nats:{ServerBinding:{$visitor:rf},ChannelBinding:{$visitor:G_},OperationBinding:{$visitor:ef,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:K_}},pulsar:{ServerBinding:{$visitor:xf,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:lf,fixedFields:{namespace:{$ref:"#/visitors/value"},persistence:{$ref:"#/visitors/value"},compaction:{$ref:"#/visitors/value"},"geo-replication":{$ref:"#/visitors/value"},retention:{$ref:"#/visitors/value"},ttl:{$ref:"#/visitors/value"},deduplication:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:ff},MessageBinding:{$visitor:pf}},jms:{ServerBinding:{$visitor:Cg},ChannelBinding:{$visitor:yg},OperationBinding:{$visitor:Mg},MessageBinding:{$visitor:Sg}},sns:{ServerBinding:{$visitor:Xf},ChannelBinding:{$visitor:Df},OperationBinding:{$visitor:Zf},MessageBinding:{$visitor:Hf}},solace:{ServerBinding:{$visitor:gb,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:nb},OperationBinding:{$visitor:db,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:ab}},sqs:{ServerBinding:{$visitor:Ab},ChannelBinding:{$visitor:vb},OperationBinding:{$visitor:Ob},MessageBinding:{$visitor:wb}},stomp:{ServerBinding:{$visitor:Jb},ChannelBinding:{$visitor:qb},OperationBinding:{$visitor:Ub},MessageBinding:{$visitor:Nb}},redis:{ServerBinding:{$visitor:Rf},ChannelBinding:{$visitor:jf},OperationBinding:{$visitor:Tf},MessageBinding:{$visitor:$f}},mercure:{ServerBinding:{$visitor:u_},ChannelBinding:{$visitor:Qg},OperationBinding:{$visitor:o_},MessageBinding:{$visitor:s_}},googlepubsub:{ServerBinding:{$visitor:eg},ChannelBinding:{$visitor:Lh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},labels:{$ref:"#/visitors/value"},messageRetentionDuration:{$ref:"#/visitors/value"},messageStoragePolicy:{$ref:"#/visitors/value"},schemaSettings:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Kh},MessageBinding:{$visitor:Gh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:_g,fixedFields:{groupId:{$ref:"#/visitors/value"},ccdtQueueManagerName:{$ref:"#/visitors/value"},cipherSpec:{$ref:"#/visitors/value"},multiEndpointServer:{$ref:"#/visitors/value"},heartBeatInterval:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:ig,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:cg,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:mg}}}},extension:{$visitor:Oa}}}};const pv=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=mr(t.meta,e.meta)),ci(e)&&Cn(t,e),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=mr(t.attributes,e.attributes))}};const hv=class extends pv{enter(e){return this.element=hi(e),Ks}};const gv=class extends pv{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Vr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Pn(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Fe(ze,["visitors",...e],this.specObj)?Pn(["visitors",...e],this.specObj):Pn(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof hv&&(null==n?void 0:n.constructor)===hv?hi(t):(Ei(t,n,s),n.element)}},_v=e=>Xn(e)&&e.hasKey("$ref"),fv=e=>Zn(e.key)&&Aa("x-",ar(e.key)),bv=e=>Xn(e)&&e.hasKey("schemaFormat");const vv=class extends gv{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=fv;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,i)=>{if(Zn(n)&&s.includes(ar(n))&&!this.ignoredFields.includes(ar(n))){const s=this.toRefractedElement([...t,"fixedFields",ar(n)],e),r=new oe.Pr(hi(n),s);r.classes.push("fixed-field"),this.copyMetaAndAttributes(i,r),this.element.content.push(r)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(ar(n))||this.element.content.push(hi(i))})),this.copyMetaAndAttributes(e,this.element),Ks}},yv=e=>{if(zn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},xv={AsyncApi2Element:["content"],AsyncApiVersionElement:[],ChannelBindingsElement:["content"],ChannelItemElement:["content"],ChannelsElement:["content"],ComponentsElement:["content"],ContactElement:["content"],CorrelationIDElement:["content"],DefaultContentType:[],ExternalDocumentationElement:["content"],InfoElement:["content"],LicenseElement:["content"],MessageElement:["content"],MessageBindingsElement:["content"],MessageTraitElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OperationElement:["content"],OperationBindingsElement:["content"],OperationTraitElement:["content"],ParameterElement:["content"],ParametersElement:["content"],ReferenceElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerBindingsElement:["content"],ServersElement:["content"],ServerVariableElement:["content"],TagElement:["content"],TagsElement:["content"],AmqpChannelBindingElement:["content"],AmqpMessageBindingElement:["content"],AmqpOperationBindingElement:["content"],AmqpServerBindingElement:["content"],Amqp1ChannelBindingElement:["content"],Amqp1MessageBindingElement:["content"],Amqp1OperationBindingElement:["content"],Amqp1ServerBindingElement:["content"],AnypointmqChannelBindingElement:["content"],AnypointmqMessageBindingElement:["content"],AnypointmqOperationBindingElement:["content"],AnypointmqServerBindingElement:["content"],GooglepubsubChannelBindingElement:["content"],GooglepubsubMessageBindingElement:["content"],GooglepubsubOperationBindingElement:["content"],GooglepubsubServerBindingElement:["content"],HttpChannelBindingElement:["content"],HttpMessageBindingElement:["content"],HttpOperationBindingElement:["content"],HttpServerBindingElement:["content"],IbmmqChannelBindingElement:["content"],IbmmqMessageBindingElement:["content"],IbmmqChannelOperationElement:["content"],IbmmqServerBindingElement:["content"],JmsChannelBindingElement:["content"],JmsMessageBindingElement:["content"],JmsOperationBindingElement:["content"],JmsServerBindingElement:["content"],KafkaChannelBindingElement:["content"],KafkaMessageBindingElement:["content"],KafkaOperationBindingElement:["content"],KafkaServerBindingElement:["content"],MercureChannelBindingElement:["content"],MercureMessageBindingElement:["content"],MercureOperationBindingElement:["content"],MercureServerBindingElement:["content"],MqttChannelBindingElement:["content"],MqttMessageBindingElement:["content"],MqttOperationBindingElement:["content"],MqttServerBindingElement:["content"],Mqtt5ChannelBindingElement:["content"],Mqtt5MessageBindingElement:["content"],Mqtt5OperationBindingElement:["content"],Mqtt5ServerBindingElement:["content"],NatsChannelBindingElement:["content"],NatsMessageBindingElement:["content"],NatsOperationBindingElement:["content"],NatsServerBindingElement:["content"],PulsarChannelBindingElement:["content"],PulsarMessageBindingElement:["content"],PulsarOperationBindingElement:["content"],PulsarServerBindingElement:["content"],RedisChannelBindingElement:["content"],RedisMessageBindingElement:["content"],RedisOperationBindingElement:["content"],RedisServerBindingElement:["content"],SnsChannelBindingElement:["content"],SnsMessageBindingElement:["content"],SnsOperationBindingElement:["content"],SnsServerBindingElement:["content"],SolaceChannelBindingElement:["content"],SolaceMessageBindingElement:["content"],SolaceOperationBindingElement:["content"],SolaceServerBindingElement:["content"],SqsChannelBindingElement:["content"],SqsMessageBindingElement:["content"],SqsOperationBindingElement:["content"],SqsServerBindingElement:["content"],StompChannelBindingElement:["content"],StompMessageBindingElement:["content"],StompOperationBindingElement:["content"],StompServerBindingElement:["content"],WebSocketChannelBindingElement:["content"],WebSocketMessageBindingElement:["content"],WebSocketOperationBindingElement:["content"],WebSocketServerBindingElement:["content"],...xi},Ev={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",Ia),t.register("asyncApiVersion",Va),t.register("channelBindings",Cc),t.register("channelItem",Fc),t.register("channels",Ic),t.register("components",kc),t.register("contact",Xa),t.register("correlationID",nc),t.register("defaultContentType",ac),t.register("externalDocumentation",Tu),t.register("identifier",Wa),t.register("info",za),t.register("license",dc),t.register("message",Qm),t.register("messageBindings",Bm),t.register("messageExample",Pm),t.register("messageTrait",Fm),t.register("oAuthFlow",vc),t.register("oAuthFlows",gc),t.register("operation",Vc),t.register("operationBindings",_p),t.register("operationTrait",yp),t.register("parameter",Lc),t.register("parameters",Wc),t.register("reference",Gc),t.register("schema",el),t.register("securityRequirement",sl),t.register("securityScheme",Yl),t.register("server",il),t.register("serverBindings",ol),t.register("servers",Pc),t.register("serverVariable",cl),t.register("tag",lm),t.register("tags",rm),t.register("amqpChannelBinding",Pp),t.register("amqpMessageBinding",Fp),t.register("amqpOperationBinding",kp),t.register("amqpServerBinding",Lp),t.register("amqp1ChannelBinding",Gp),t.register("amqp1MessageBinding",Kp),t.register("amqp1OperationBinding",eh),t.register("amqp1ServerBinding",ih),t.register("anypointmqChannelBinding",ch),t.register("anypointmqMessageBinding",mh),t.register("anypointmqOperationBinding",_h),t.register("anypointmqServerBinding",yh),t.register("googlepubsubChannelBinding",Vh),t.register("googlepubsubMessageBinding",Wh),t.register("googlepubsubOperationBinding",zh),t.register("googlepubsubServerBinding",Qh),t.register("httpChannelBinding",Sh),t.register("httpMessageBinding",Mh),t.register("httpOperationBinding",Ch),t.register("httpServerBinding",Ih),t.register("ibmmqChannelBinding",sg),t.register("ibmmqMessageBinding",og),t.register("ibmmqOperationBinding",ug),t.register("ibmmqServerBinding",hg),t.register("jmsChannelBinding",bg),t.register("jmsMessageBinding",Eg),t.register("jmsOperationBinding",Bg),t.register("jmsServerBinding",Pg),t.register("kafkaChannelBinding",Fg),t.register("kafkaMessageBinding",kg),t.register("kafkaOperationBinding",Lg),t.register("kafkaServerBinding",Gg),t.register("mercureChannelBinding",Kg),t.register("mercureMessageBinding",e_),t.register("mercureOperationBinding",i_),t.register("mercureServerBinding",c_),t.register("mqttChannelBinding",m_),t.register("mqttMessageBinding",__),t.register("mqttOperationBinding",y_),t.register("mqttServerBinding",S_),t.register("mqtt5ChannelBinding",M_),t.register("mqtt5MessageBinding",C_),t.register("mqtt5OperationBinding",I_),t.register("mqtt5ServerBinding",V_),t.register("natsChannelBinding",W_),t.register("natsMessageBinding",z_),t.register("natsOperationBinding",Q_),t.register("natsServerBinding",sf),t.register("pulsarChannelBinding",af),t.register("pulsarMessageBinding",df),t.register("pulsarOperationBinding",gf),t.register("pulsarServerBinding",vf),t.register("redisChannelBinding",wf),t.register("redisMessageBinding",Of),t.register("redisOperationBinding",Af),t.register("redisServerBinding",qf),t.register("snsChannelBinding",Nf),t.register("snsMessageBinding",Uf),t.register("snsOperationBinding",Jf),t.register("snsServerBinding",Yf),t.register("solaceChannelBinding",tb),t.register("solaceMessageBinding",rb),t.register("solaceOperationBinding",lb),t.register("solaceServerBinding",pb),t.register("sqsChannelBinding",fb),t.register("sqsMessageBinding",xb),t.register("sqsOperationBinding",jb),t.register("sqsServerBinding",$b),t.register("stompChannelBinding",Tb),t.register("stompMessageBinding",Rb),t.register("stompOperationBinding",Db),t.register("stompServerBinding",Hb),t.register("webSocketChannelBinding",Zb),t.register("webSocketMessageBinding",Xb),t.register("webSocketOperationBinding",nv),t.register("webSocketServerBinding",av),t}},wv=()=>{const e=at(Ev);return{predicates:{...i,isStringElement:Zn},namespace:e}},Sv=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:s=[]}={})=>{const n=(0,oe.e)(e),i=An(mv),r=new(Pn(t,i))({specObj:i});return Ei(n,r),Ri(r.element,s,{toolboxCreator:wv,visitorOptions:{keyMap:xv,nodeTypeGetter:yv}})},jv=e=>(t,s={})=>Sv(t,{...s,specPath:e});Ia.refract=jv(["visitors","document","objects","AsyncApi","$visitor"]),Va.refract=jv(["visitors","document","objects","AsyncApiVersion","$visitor"]),Cc.refract=jv(["visitors","document","objects","ChannelBindings","$visitor"]),Fc.refract=jv(["visitors","document","objects","ChannelItem","$visitor"]),Ic.refract=jv(["visitors","document","objects","Channels","$visitor"]),kc.refract=jv(["visitors","document","objects","Components","$visitor"]),Xa.refract=jv(["visitors","document","objects","Contact","$visitor"]),nc.refract=jv(["visitors","document","objects","CorrelationID","$visitor"]),ac.refract=jv(["visitors","document","objects","DefaultContentType","$visitor"]),Tu.refract=jv(["visitors","document","objects","ExternalDocumentation","$visitor"]),Wa.refract=jv(["visitors","document","objects","Identifier","$visitor"]),za.refract=jv(["visitors","document","objects","Info","$visitor"]),dc.refract=jv(["visitors","document","objects","License","$visitor"]),Qm.refract=jv(["visitors","document","objects","Message","$visitor"]),Bm.refract=jv(["visitors","document","objects","MessageBindings","$visitor"]),Pm.refract=jv(["visitors","document","objects","MessageExample","$visitor"]),Fm.refract=jv(["visitors","document","objects","MessageTrait","$visitor"]),vc.refract=jv(["visitors","document","objects","OAuthFlow","$visitor"]),gc.refract=jv(["visitors","document","objects","OAuthFlows","$visitor"]),Vc.refract=jv(["visitors","document","objects","Operation","$visitor"]),_p.refract=jv(["visitors","document","objects","OperationBindings","$visitor"]),yp.refract=jv(["visitors","document","objects","OperationTrait","$visitor"]),Lc.refract=jv(["visitors","document","objects","Parameter","$visitor"]),Wc.refract=jv(["visitors","document","objects","Parameters","$visitor"]),Gc.refract=jv(["visitors","document","objects","Reference","$visitor"]),el.refract=jv(["visitors","document","objects","Schema","$visitor"]),sl.refract=jv(["visitors","document","objects","SecurityRequirement","$visitor"]),Yl.refract=jv(["visitors","document","objects","SecurityScheme","$visitor"]),il.refract=jv(["visitors","document","objects","Server","$visitor"]),ol.refract=jv(["visitors","document","objects","ServerBindings","$visitor"]),Pc.refract=jv(["visitors","document","objects","Servers","$visitor"]),cl.refract=jv(["visitors","document","objects","ServerVariable","$visitor"]),lm.refract=jv(["visitors","document","objects","Tag","$visitor"]),rm.refract=jv(["visitors","document","objects","Tags","$visitor"]),Pp.refract=jv(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),Fp.refract=jv(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),kp.refract=jv(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Lp.refract=jv(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Gp.refract=jv(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),Kp.refract=jv(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),eh.refract=jv(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),ih.refract=jv(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),Sh.refract=jv(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),Mh.refract=jv(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),Ch.refract=jv(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),Ih.refract=jv(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),Vh.refract=jv(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),Wh.refract=jv(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),zh.refract=jv(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),Qh.refract=jv(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),sg.refract=jv(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),og.refract=jv(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),ug.refract=jv(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),hg.refract=jv(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),bg.refract=jv(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Eg.refract=jv(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),Bg.refract=jv(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),Pg.refract=jv(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),Fg.refract=jv(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),kg.refract=jv(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),Lg.refract=jv(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),Gg.refract=jv(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),ch.refract=jv(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),mh.refract=jv(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),_h.refract=jv(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),yh.refract=jv(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),Kg.refract=jv(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),e_.refract=jv(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),i_.refract=jv(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),c_.refract=jv(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),m_.refract=jv(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),__.refract=jv(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),y_.refract=jv(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),S_.refract=jv(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),M_.refract=jv(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),C_.refract=jv(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),I_.refract=jv(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),V_.refract=jv(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),W_.refract=jv(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),z_.refract=jv(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),Q_.refract=jv(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),sf.refract=jv(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),af.refract=jv(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),df.refract=jv(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),gf.refract=jv(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),vf.refract=jv(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),wf.refract=jv(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),Of.refract=jv(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Af.refract=jv(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),qf.refract=jv(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),Nf.refract=jv(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),Uf.refract=jv(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Jf.refract=jv(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),Yf.refract=jv(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),tb.refract=jv(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),rb.refract=jv(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),lb.refract=jv(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),pb.refract=jv(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),fb.refract=jv(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),xb.refract=jv(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),jb.refract=jv(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),$b.refract=jv(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),Tb.refract=jv(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),Rb.refract=jv(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),Db.refract=jv(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),Hb.refract=jv(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),Zb.refract=jv(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),Xb.refract=jv(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),nv.refract=jv(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),av.refract=jv(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const Bv=class extends Ia{constructor(e,t,s){super(e,t,s),this.element="asyncApi3"}get tags(){throw new Qo("tags keyword has been moved to info")}set tags(e){throw new Qo("tags keyword has been moved to info")}get externalDocs(){throw new Qo("externalDocs keyword has been moved to info.")}set externalDocs(e){throw new Qo("externalDocs keyword has been moved to info.")}get operations(){return this.get("operations")}set operations(e){this.set("operations",e)}};class Ov extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Bv,this.specPath=se(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}}const Mv=Ov;const $v=class extends Va{};class Pv extends(Tr(gv,hv)){StringElement(e){const t=new $v(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const Av=Pv;const Cv=class extends gv{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>To(e,se(t),ne))),s=Wo(t)(e);return this.element=this.toRefractedElement(s,e),Ks}};class Tv extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}const Fv=Tv;const qv=class extends gv{specPath;ignoredFields;fieldPatternPredicate=co;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=fv;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:i,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof i&&(this.specificationExtensionPredicate=i)}ObjectElement(e){return e.forEach(((e,t,s)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(ar(t))&&this.fieldPatternPredicate(ar(t))){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new oe.Pr(hi(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(ar(t))||this.element.content.push(hi(s))})),this.copyMetaAndAttributes(e,this.element),Ks}};const Iv=class extends Qm{constructor(e,t,s){super(e,t,s),this.element="message"}get messageId(){throw new Qo("messageId has been removed")}set messageId(e){throw new Qo("messageId has been removed")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};class Rv extends(Tr(qv,hv)){constructor(e){super(e),this.element=new Iv,this.element.classes.push("servers"),this.specPath=e=>_v(e)?["document","objects","Reference"]:["document","objects","Message"],this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=qv.prototype.ObjectElement.call(this,e);return this.element.filter(isReferenceElement).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const kv=Rv;const Nv=class extends Cc{};class Vv extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Nv,this.specPath=se(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}}const Dv=Vv;class Lv extends oe.wE{static primaryClass="channel-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Lv.primaryClass)}}const Uv=Lv;class Wv extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Uv}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Reference"],e);El(t)&&t.setMetaProperty("referenced-element","channel-servers"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Hv=Wv;class Gv extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="channel"}get address(){return this.get("address")}set address(e){this.set("address",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const Jv=Gv;class zv extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Jv,this.specPath=se(["document","objects","Channel"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return vv.prototype.ObjectElement.call(this,e)}}const Zv=zv;const Kv=class extends qv{constructor(e){super(e),this.fieldPatternPredicate=Nr}};const Yv=class extends Ic{};class Qv extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="multiFormatSchema"}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Xv=Qv;const ey=class extends kc{constructor(e,t,s){super(e,t,s),this.element="components"}get operations(){return this.get("operations")}set operations(e){this.set("operations",e)}get replies(){return this.get("replies")}set replies(e){this.set("replies",e)}get replyAddresses(){return this.get("replyAddresses")}set replyAddresses(e){this.set("replyAddresses",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}};const ty=class extends Xa{};const sy=class extends Wa{};const ny=class extends za{constructor(e,t,s){super(e,t,s),this.element="info"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};const iy=class extends dc{};class ry extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operation"}get action(){return this.get("action")}set action(e){this.set("action",e)}get channel(){return this.get("channel")}set channel(e){this.set("channel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}}const oy=ry;const ay=class extends Wc{};class cy extends oe.Sh{constructor(e={},t,s){super(e,t,s),this.element="parameter"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const ly=cy;const uy=class extends Gc{};const dy=class extends el{get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};const my=class extends il{constructor(e,t,s){super(e,t,s),this.element="server"}get url(){throw new Qo("url keyword from Core vocabulary has been removed")}set url(e){throw new Qo("url keyword from Core vocabulary has been removed")}get host(){return this.get("host")}set host(e){this.set("host",e)}get pathName(){return this.get("pathName")}set pathName(e){this.set("pathName",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};const py=class extends Pc{};const hy=class extends ol{};const gy=class extends cl{},_y=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>i=>i instanceof Bv||e(i)&&t("asyncApi3",i)&&s("object",i)&&n("api",i))),fy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof $v||e(n)&&t("asyncApiVersion",n)&&s("string",n))),by=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Nv||e(n)&&t("channelBindings",n)&&s("object",n))),vy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Jv||e(n)&&t("channel",n)&&s("object",n))),yy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Yv||e(n)&&t("channels",n)&&s("object",n))),xy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ey||e(n)&&t("components",n)&&s("object",n))),Ey=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ty||e(n)&&t("contact",n)&&s("object",n))),wy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof sy||e(n)&&t("identifier",n)&&s("string",n))),Sy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ny||e(n)&&t("info",n)&&s("object",n))),jy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof iy||e(n)&&t("license",n)&&s("object",n))),By=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oy||e(n)&&t("operation",n)&&s("object",n))),Oy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ly||e(n)&&t("parameter",n)&&s("object",n))),My=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ay||e(n)&&t("parameters",n)&&s("object",n))),$y=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof uy||e(n)&&t("reference",n)&&s("object",n))),Py=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof dy||e(n)&&t("schema",n)&&s("object",n))),Ay=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof my||e(n)&&t("server",n)&&s("object",n))),Cy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof hy||e(n)&&t("serverBindings",n)&&s("object",n))),Ty=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof py||e(n)&&t("servers",n)&&s("object",n))),Fy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof gy||e(n)&&t("serverVariable",n)&&s("object",n))),qy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Xv||e(n)&&t("multiFormatSchema",n)&&s("object",n)));class Iy extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new Yv,this.specPath=e=>_v(e)?["document","objects","Reference"]:["document","objects","Channel"],this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter($y).forEach((e=>{e.setMetaProperty("referenced-element","channel")})),t}}const Ry=Iy;const ky=class extends Yu{};class Ny extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new ky,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Channel"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","channel")})),t}}const Vy=Ny;class Dy extends oe.Sh{static primaryClass="components-external-documentation";constructor(e,t,s){super(e,t,s),this.classes.push(Dy.primaryClass)}}const Ly=Dy;class Uy extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new Ly,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ExternalDocumentation"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","externalDocumentation")})),t}}const Wy=Uy;class Hy extends oe.Sh{static primaryClass="components-operations";constructor(e,t,s){super(e,t,s),this.classes.push(Hy.primaryClass)}}const Gy=Hy;class Jy extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new Gy,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Operation"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operation")})),t}}const zy=Jy;class Zy extends oe.Sh{static primaryClass="components-replies";constructor(e,t,s){super(e,t,s),this.classes.push(Zy.primaryClass)}}const Ky=Zy;class Yy extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new Ky,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","OperationReply"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operationReply")})),t}}const Qy=Yy;class Xy extends oe.Sh{static primaryClass="components-reply-addresses";constructor(e,t,s){super(e,t,s),this.classes.push(Xy.primaryClass)}}const ex=Xy;class tx extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new ex,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","OperationReplyAddress"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operation-reply-address")})),t}}const sx=tx;const nx=class extends Nu{};class ix extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new nx,this.specPath=e=>Ca(e)?["document","objects","Reference"]:bv(e)?["document","objects","MultiFormatSchema"]:["document","objects","Schema"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter($y).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),this.element.filter(qy).forEach((e=>{e.setMetaProperty("multiformat-schema-element","schema")})),t}}const rx=ix;class ox extends oe.Sh{static primaryClass="components-tags";constructor(e,t,s){super(e,t,s),this.classes.push(ox.primaryClass)}}const ax=ox;class cx extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new ax,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Tag"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","tag")})),t}}const lx=cx,ux=mv.visitors.document.objects.Components.$visitor;const dx=class extends ux{constructor(e){super(e),this.element=new ey}},mx=mv.visitors.document.objects.Contact.$visitor;const px=class extends mx{constructor(e){super(e),this.element=new ty}};const hx=class extends nc{},gx=mv.visitors.document.objects.CorrelationID.$visitor;const _x=class extends gx{constructor(e){super(e),this.element=new hx}};const fx=class extends ac{};class bx extends(Tr(gv,hv)){StringElement(e){const t=new fx(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const vx=bx;const yx=class extends Cv{constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ExternalDocumentation"]}]}enter(e){const t=Cv.prototype.enter.call(this,e);return $y(this.element)&&this.element.setMetaProperty("referenced-element","externalDocumentation"),t}};const xx=class extends Tu{},Ex=mv.visitors.document.objects.ExternalDocumentation.$visitor;const wx=class extends Ex{constructor(e){super(e),this.element=new xx}};class Sx extends(Tr(gv,hv)){StringElement(e){const t=new sy(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const jx=Sx,Bx=mv.visitors.document.objects.Info.$visitor;const Ox=class extends Bx{constructor(e){super(e),this.element=new ny}},Mx=mv.visitors.document.objects.License.$visitor;const $x=class extends Mx{constructor(e){super(e),this.element=new iy}};const Px=class extends Bm{},Ax=mv.visitors.document.objects.MessageBindings.$visitor;const Cx=class extends Ax{constructor(e){super(e),this.element=new Px}};class Tx extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const Fx=Tx;class qx extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const Ix=qx;const Rx=class extends Pm{},kx=mv.visitors.document.objects.MessageExample.$visitor;const Nx=class extends kx{constructor(e){super(e),this.element=new Rx}};const Vx=class extends cp{};class Dx extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Vx}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Lx=Dx;class Ux extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:bv,specPath:["document","objects","MultiFormatSchema"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","ref-header"),wl(this.element)&&this.element.setMetaProperty("schema","header-schema"),qy(this.element)&&this.element.setMetaProperty("schema","header-multiformat-schema"),t}}const Wx=Ux;class Hx extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:bv,specPath:["document","objects","MultiFormatSchema"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","ref-payload"),wl(this.element)&&this.element.setMetaProperty("schema","payload-schema"),qy(this.element)&&this.element.setMetaProperty("schema","payload-multiformat-schema"),t}}const Gx=Hx;class Jx extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:bv,specPath:["document","objects","MultiFormatSchema"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","ref-header"),wl(this.element)&&this.element.setMetaProperty("schema","header-schema"),qy(this.element)&&this.element.setMetaProperty("schema","header-multiformat-schema"),t}}const zx=Jx;const Zx=class extends Fm{constructor(e,t,s){super(e,t,s),this.element="messageTrait"}get messageId(){throw new Qo("messageId keyword from Core vocabulary has been removed")}set messageId(e){throw new Qo("messageId keyword from Core vocabulary has been removed")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}},Kx=mv.visitors.document.objects.MessageTrait.$visitor;const Yx=class extends Kx{constructor(e){super(e),this.element=new Zx}};const Qx=class extends mp{};class Xx extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Qx}ArrayElement(e){return e.forEach((e=>{let t;_v(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const eE=Xx;class tE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Iv,this.specPath=se(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}}const sE=tE;class nE extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="messages"}}const iE=nE;class rE extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new iE,this.element.classes.push("messages"),this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Message"],this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter($y).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const oE=rE;class aE extends Zm{filterByFormat(e="generic"){const t="generic"===e?"asyncapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.0.0",t="generic"){const s="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find((e=>e.includes(s)))||this.unknownMediaType}latest(e="generic"){return Jm(this.filterByFormat(e))}}const cE=new aE("application/vnd.aai.asyncapi;version=3.0.0","application/vnd.aai.asyncapi+json;version=3.0.0","application/vnd.aai.asyncapi+yaml;version=3.0.0");class lE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Xv,this.specPath=se(["document","objects","MultiFormatSchema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=vv.prototype.ObjectElement.call(this,e),s=this.element.get("schema"),n=u(cE.latest(),ar(e.get("schemaFormat")));if(cE.includes(n)&&Ca(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.schema=e}else cE.includes(n)&&Xn(this.element.schema)&&(this.element.schema=this.toRefractedElement(["document","objects","Schema"],this.element.schema));return t}}const uE=lE;const dE=class extends vc{constructor(e,t,s){super(e,t,s),this.element="oAuthFlow"}get scopes(){throw new Qo("scopes keyword from Core vocabulary has been renamed to availableScopes.")}set scopes(e){throw new Qo("scopes keyword from Core vocabulary has been renamed to availableScopes.")}get availableScopes(){return this.get("availableScopes")}set availableScopes(e){this.set("availableScopes",e)}},mE=mv.visitors.document.objects.OAuthFlow.$visitor;const pE=class extends mE{constructor(e){super(e),this.element=new dE}};const hE=class extends gc{},gE=mv.visitors.document.objects.OAuthFlows.$visitor;const _E=class extends gE{constructor(e){super(e),this.element=new hE}};const fE=class extends _p{},bE=mv.visitors.document.objects.OperationBindings.$visitor;const vE=class extends bE{constructor(e){super(e),this.element=new fE}};class yE extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const xE=yE;class EE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uy,this.specPath=se(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=vv.prototype.ObjectElement.call(this,e);return Zn(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channel")),t}}const wE=EE;class SE extends oe.wE{static primaryClass="operation-messages";constructor(e,t,s){super(e,t,s),this.classes.push(SE.primaryClass)}}const jE=SE;class BE extends(Tr(gv,hv)){constructor(e){super(e),this.element=new jE}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Reference"],e);$y(t)&&t.setMetaProperty("referenced-element","operation-message"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const OE=BE;class ME extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationReply"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationReply"),t}}const $E=ME;class PE extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operationReplyAddress"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const AE=PE;class CE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new AE,this.specPath=se(["document","objects","OperationReplyAddress"]),this.canSupportSpecificationExtensions=!0}}const TE=CE;class FE extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationReplyAddress"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationReplyAddress"),t}}const qE=FE;class IE extends oe.wE{static primaryClass="operation-reply-messages";constructor(e,t,s){super(e,t,s),this.classes.push(IE.primaryClass)}}const RE=IE;class kE extends(Tr(gv,hv)){constructor(e){super(e),this.element=new RE}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Reference"],e);El(t)&&t.setMetaProperty("referenced-element","operation-reply-message"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const NE=kE;class VE extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operationReply"}get address(){return this.get("address")}set address(e){this.set("address",e)}get channel(){return this.get("channel")}set channel(e){this.set("channel",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}}const DE=VE;class LE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new DE,this.specPath=se(["document","objects","OperationReply"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return vv.prototype.ObjectElement.call(this,e)}}const UE=LE;const WE=class extends Ud{};class HE extends(Tr(gv,hv)){constructor(e){super(e),this.element=new WE}ArrayElement(e){return e.forEach((e=>{let t;_v(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","securityScheme")):t=this.toRefractedElement(["document","objects","SecurityScheme"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const GE=HE;const JE=class extends yp{constructor(e,t,s){super(e,t,s),this.element="operationTrait"}get operationId(){throw new Qo("operationId keyword from Core vocabulary has been removed")}set operationId(e){throw new Qo("operationId keyword from Core vocabulary has been removed")}get title(){return this.get("title")}set title(e){this.set("title",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}},zE=mv.visitors.document.objects.OperationTrait.$visitor;const ZE=class extends zE{constructor(e){super(e),this.element=new JE}};const KE=class extends Zd{};class YE extends(Tr(gv,hv)){constructor(e){super(e),this.element=new KE}ArrayElement(e){return e.forEach((e=>{let t;_v(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const QE=YE;class XE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new oy,this.specPath=se(["document","objects","Operation"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=vv.prototype.ObjectElement.call(this,e),s=e.get("action");if(Zn(s)){const e=s.toValue();"send"!==e&&"receive"!==e||this.element.setMetaProperty("operation-action",e)}return t}}const ew=XE;class tw extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operations"}}const sw=tw;class nw extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new sw,this.element.classes.push("operations"),this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Operation"],this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter($y).forEach((e=>{e.setMetaProperty("referenced-element","operation")})),t}}const iw=nw;class rw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ly,this.specPath=se(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const ow=rw,aw=mv.visitors.document.objects.Parameters.$visitor;const cw=class extends aw{constructor(e){super(e),this.element=new ay}},lw=mv.visitors.document.objects.Reference.$visitor;const uw=class extends lw{constructor(e){super(e),this.element=new uy}},dw=wa.visitors.JSONSchemaOrJSONReferenceVisitor;const mw=class extends dw{enter(e){const t=dw.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}},pw=mv.visitors.document.objects.Schema.$visitor;const hw=class extends pw{constructor(e){super(e),this.element=new dy}ObjectElement(e){return this.element=new dy,vv.prototype.ObjectElement.call(this,e)}};class gw extends oe.wE{static primaryClass="security-scheme-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(gw.primaryClass)}}const _w=gw;class fw extends(Tr(gv,hv)){constructor(e){super(e),this.element=new _w}ArrayElement(e){return e.forEach((e=>{const t=hi(e);Zn(t)&&t.classes.push("scope-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const bw=fw;const vw=class extends Yl{constructor(e,t,s){super(e,t,s),this.element="securityScheme"}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}},yw=mv.visitors.document.objects.SecurityScheme.$visitor;const xw=class extends yw{constructor(e){super(e),this.element=new vw}},Ew=mv.visitors.document.objects.ServerBindings.$visitor;const ww=class extends Ew{constructor(e){super(e),this.element=new hy}};const Sw=class extends Ul{};class jw extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Sw}ArrayElement(e){return e.forEach((e=>{let t;Ca(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","securityScheme")):t=this.toRefractedElement(["document","objects","SecurityScheme"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Bw=jw,Ow=mv.visitors.document.objects.ServerVariable.$visitor;const Mw=class extends Ow{constructor(e){super(e),this.element=new gy}},$w=mv.visitors.document.objects.Server.$visitor;const Pw=class extends $w{constructor(e){super(e),this.element=new my}},Aw=mv.visitors.document.objects.Servers.$visitor;const Cw=class extends Aw{constructor(e){super(e),this.element=new py,this.element.classes.push("servers")}};const Tw=class extends lm{constructor(e,t,s){super(e,t,s),this.element="tag"}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};class Fw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Tw,this.specPath=se(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const qw=Fw;const Iw=class extends rm{};class Rw extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Iw}ArrayElement(e){return e.forEach((e=>{let t;Ca(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","tag")):t=this.toRefractedElement(["document","objects","Tag"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const kw=Rw,Nw=W((e=>e===wa.visitors.JSONSchemaOrJSONReferenceVisitor?mw:e),wa.visitors.document.objects.JSONSchema.fixedFields);const Vw=class extends Pp{};class Dw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Vw,this.specPath=se(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Lw=Dw;const Uw=class extends Fp{};class Ww extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Uw,this.specPath=se(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Hw=Ww;const Gw=class extends kp{};class Jw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Gw,this.specPath=se(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const zw=Jw;const Zw=class extends Lp{};class Kw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Zw,this.specPath=se(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Yw=Kw;const Qw=class extends Gp{};class Xw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Qw,this.specPath=se(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const eS=Xw;const tS=class extends Kp{};class sS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new tS,this.specPath=se(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const nS=sS;const iS=class extends eh{};class rS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new iS,this.specPath=se(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const oS=rS;const aS=class extends ih{};class cS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new aS,this.specPath=se(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const lS=cS;const uS=class extends ch{};class dS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uS,this.specPath=se(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const mS=dS;const pS=class extends mh{};class hS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new pS,this.specPath=se(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const gS=hS;const _S=class extends _h{};class fS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new _S,this.specPath=se(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bS=fS;const vS=class extends yh{};class yS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new vS,this.specPath=se(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const xS=yS;const ES=class extends Sh{};class wS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ES,this.specPath=se(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const SS=wS;const jS=class extends Mh{};class BS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new jS,this.specPath=se(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const OS=BS;const MS=class extends Ch{};class $S extends(Tr(vv,hv)){constructor(e){super(e),this.element=new MS,this.specPath=se(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const PS=$S;const AS=class extends Ih{};class CS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new AS,this.specPath=se(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const TS=CS;const FS=class extends Vh{};class qS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new FS,this.specPath=se(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const IS=qS;const RS=class extends Wh{};class kS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new RS,this.specPath=se(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const NS=kS;const VS=class extends zh{};class DS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new VS,this.specPath=se(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const LS=DS;const US=class extends Qh{};class WS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new US,this.specPath=se(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const HS=WS;const GS=class extends sg{};class JS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new GS,this.specPath=se(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const zS=JS;const ZS=class extends og{};class KS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ZS,this.specPath=se(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const YS=KS;const QS=class extends ug{};class XS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new QS,this.specPath=se(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ej=XS;const tj=class extends hg{};class sj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new tj,this.specPath=se(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const nj=sj;const ij=class extends bg{};class rj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ij,this.specPath=se(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const oj=rj;const aj=class extends Eg{};class cj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new aj,this.specPath=se(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const lj=cj;const uj=class extends Bg{};class dj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uj,this.specPath=se(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const mj=dj;const pj=class extends Pg{};class hj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new pj,this.specPath=se(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const gj=hj;const _j=class extends Fg{};class fj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new _j,this.specPath=se(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const bj=fj;const vj=class extends kg{};class yj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new vj,this.specPath=se(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const xj=yj;const Ej=class extends Lg{};class wj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Ej,this.specPath=se(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Sj=wj;const jj=class extends Gg{};class Bj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new jj,this.specPath=se(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Oj=Bj;const Mj=class extends Kg{};class $j extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Mj,this.specPath=se(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Pj=$j;const Aj=class extends e_{};class Cj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Aj,this.specPath=se(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Tj=Cj;const Fj=class extends i_{};class qj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Fj,this.specPath=se(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ij=qj;const Rj=class extends c_{};class kj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Rj,this.specPath=se(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Nj=kj;const Vj=class extends m_{};class Dj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Vj,this.specPath=se(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Lj=Dj;const Uj=class extends __{};class Wj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Uj,this.specPath=se(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Hj=Wj;const Gj=class extends y_{};class Jj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Gj,this.specPath=se(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const zj=Jj;const Zj=class extends S_{};class Kj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Zj,this.specPath=se(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Yj=Kj;const Qj=class extends M_{};class Xj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Qj,this.specPath=se(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const eB=Xj;const tB=class extends C_{};class sB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new tB,this.specPath=se(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const nB=sB;const iB=class extends I_{};class rB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new iB,this.specPath=se(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const oB=rB;const aB=class extends V_{};class cB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new aB,this.specPath=se(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const lB=cB;const uB=class extends W_{};class dB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uB,this.specPath=se(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const mB=dB;const pB=class extends z_{};class hB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new pB,this.specPath=se(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const gB=hB;const _B=class extends Q_{};class fB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new _B,this.specPath=se(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bB=fB;const vB=class extends sf{};class yB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new vB,this.specPath=se(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const xB=yB;const EB=class extends af{};class wB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new EB,this.specPath=se(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const SB=wB;const jB=class extends df{};class BB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new jB,this.specPath=se(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const OB=BB;const MB=class extends gf{};class $B extends(Tr(vv,hv)){constructor(e){super(e),this.element=new MB,this.specPath=se(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const PB=$B;const AB=class extends vf{};class CB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new AB,this.specPath=se(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const TB=CB;const FB=class extends wf{};class qB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new FB,this.specPath=se(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const IB=qB;const RB=class extends Of{};class kB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new RB,this.specPath=se(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const NB=kB;const VB=class extends Af{};class DB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new VB,this.specPath=se(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const LB=DB;const UB=class extends qf{};class WB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new UB,this.specPath=se(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const HB=WB;const GB=class extends Nf{};class JB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new GB,this.specPath=se(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const zB=JB;const ZB=class extends Uf{};class KB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ZB,this.specPath=se(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const YB=KB;const QB=class extends Jf{};class XB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new QB,this.specPath=se(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const eO=XB;const tO=class extends Yf{};class sO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new tO,this.specPath=se(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const nO=sO;const iO=class extends tb{};class rO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new iO,this.specPath=se(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const oO=rO;const aO=class extends rb{};class cO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new aO,this.specPath=se(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const lO=cO;const uO=class extends lb{};class dO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uO,this.specPath=se(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const mO=dO;const pO=class extends pb{};class hO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new pO,this.specPath=se(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const gO=hO;const _O=class extends fb{};class fO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new _O,this.specPath=se(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const bO=fO;const vO=class extends xb{};class yO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new vO,this.specPath=se(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const xO=yO;const EO=class extends jb{};class wO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new EO,this.specPath=se(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const SO=wO;const jO=class extends $b{};class BO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new jO,this.specPath=se(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const OO=BO;const MO=class extends Tb{};class $O extends(Tr(vv,hv)){constructor(e){super(e),this.element=new MO,this.specPath=se(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const PO=$O;const AO=class extends Rb{};class CO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new AO,this.specPath=se(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const TO=CO;const FO=class extends Db{};class qO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new FO,this.specPath=se(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const IO=qO;const RO=class extends Hb{};class kO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new RO,this.specPath=se(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const NO=kO;const VO=class extends Zb{};class DO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new VO,this.specPath=se(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const LO=DO;const UO=class extends Xb{};class WO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new UO,this.specPath=se(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const HO=WO;const GO=class extends nv{};class JO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new GO,this.specPath=se(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const zO=JO;const ZO=class extends av{};class KO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ZO,this.specPath=se(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const YO=KO,QO={$visitor:hw,fixedFields:{...Nw,allOf:mv.visitors.document.objects.Schema.fixedFields.allOf,anyOf:mv.visitors.document.objects.Schema.fixedFields.anyOf,oneOf:mv.visitors.document.objects.Schema.fixedFields.oneOf,items:mv.visitors.document.objects.Schema.fixedFields.items,properties:mv.visitors.document.objects.Schema.fixedFields.properties,patternProperties:mv.visitors.document.objects.Schema.fixedFields.patternProperties,dependencies:mv.visitors.document.objects.Schema.fixedFields.dependencies,definitions:mv.visitors.document.objects.Schema.fixedFields.definitions,discriminator:mv.visitors.document.objects.Schema.fixedFields.discriminator,externalDocs:yx,deprecated:mv.visitors.document.objects.Schema.fixedFields.deprecated}},XO={visitors:{value:hv,document:{objects:{AsyncApi:{$visitor:Mv,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$ref:"#/visitors/document/objects/Identifier"},info:{$ref:"#/visitors/document/objects/Info"},servers:{$ref:"#/visitors/document/objects/Servers"},defaultContentType:{$ref:"#/visitors/document/objects/DefaultContentType"},channels:{$ref:"#/visitors/document/objects/Channels"},operations:{$ref:"#/visitors/document/objects/Operations"},components:{$ref:"#/visitors/document/objects/Components"}}},AsyncApiVersion:{$visitor:Av},Identifier:{$visitor:jx},Info:{$visitor:Ox,fixedFields:{title:mv.visitors.document.objects.Info.fixedFields.title,version:mv.visitors.document.objects.Info.fixedFields.version,description:mv.visitors.document.objects.Info.fixedFields.description,termsOfService:mv.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx}},Contact:{$visitor:px,fixedFields:{name:mv.visitors.document.objects.Contact.fixedFields.name,url:mv.visitors.document.objects.Contact.fixedFields.url,email:mv.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:$x,fixedFields:{name:mv.visitors.document.objects.License.fixedFields.name,url:mv.visitors.document.objects.License.fixedFields.url}},Servers:{$visitor:Cw},Server:{$visitor:Pw,fixedFields:{host:{$ref:"#/visitors/value"},protocol:mv.visitors.document.objects.Server.fixedFields.protocol,protocolVersion:mv.visitors.document.objects.Server.fixedFields.protocolVersion,pathname:{$ref:"#/visitors/value"},description:mv.visitors.document.objects.Server.fixedFields.description,title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},variables:mv.visitors.document.objects.Server.fixedFields.variables,security:Bw,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:mv.visitors.document.objects.Server.fixedFields.bindings}},ServerVariable:{$visitor:Mw,fixedFields:{enum:mv.visitors.document.objects.ServerVariable.fixedFields.enum,default:mv.visitors.document.objects.ServerVariable.fixedFields.default,description:mv.visitors.document.objects.ServerVariable.fixedFields.description,examples:mv.visitors.document.objects.ServerVariable.fixedFields.examples}},DefaultContentType:{$visitor:vx},Channels:{$visitor:Ry},Channel:{$visitor:Zv,fixedFields:{address:{$ref:"#/visitors/value"},messages:{$ref:"#/visitors/document/objects/Messages"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},servers:Hv,parameters:{$ref:"#/visitors/document/objects/Parameters"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:Fv}},ChannelAddressExpressions:{$visitor:kv},Messages:{$visitor:oE},Operations:{$visitor:iw},Operation:{$visitor:ew,fixedFields:{action:{$ref:"#/visitors/value"},channel:wE,title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:GE,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:xE,traits:QE,messages:OE,reply:$E}},OperationTrait:{$visitor:ZE,fixedFields:{title:{$ref:"#/visitors/value"},summary:mv.visitors.document.objects.OperationTrait.fixedFields.summary,description:mv.visitors.document.objects.OperationTrait.fixedFields.description,security:GE,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:mv.visitors.document.objects.OperationTrait.fixedFields.bindings}},OperationReply:{$visitor:UE,fixedFields:{address:qE,channel:wE,messages:NE}},OperationReplyAddress:{$visitor:TE,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},Parameters:{$visitor:cw},Parameter:{$visitor:ow,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},ServerBindings:{$visitor:ww,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ServerBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ServerBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ServerBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ServerBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ServerBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ServerBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ServerBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ServerBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ServerBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ServerBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ServerBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ServerBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ServerBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ServerBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ServerBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ServerBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ServerBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ServerBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ServerBinding"}}},ChannelBindings:{$visitor:Dv,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ChannelBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ChannelBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ChannelBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ChannelBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ChannelBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ChannelBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ChannelBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ChannelBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ChannelBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ChannelBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ChannelBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ChannelBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ChannelBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ChannelBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ChannelBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ChannelBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ChannelBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ChannelBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ChannelBinding"}}},OperationBindings:{$visitor:vE,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/OperationBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/OperationBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/OperationBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/OperationBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/OperationBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/OperationBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/OperationBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/OperationBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/OperationBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/OperationBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/OperationBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/OperationBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/OperationBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/OperationBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/OperationBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/OperationBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/OperationBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/OperationBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/OperationBinding"}}},MessageBindings:{$visitor:Cx,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/MessageBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/MessageBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/MessageBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/MessageBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/MessageBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/MessageBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/MessageBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/MessageBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/MessageBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/MessageBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/MessageBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/MessageBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/MessageBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/MessageBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/MessageBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/MessageBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/MessageBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/MessageBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/MessageBinding"}}},Message:{$visitor:sE,fixedFields:{headers:Wx,payload:Gx,correlationId:Ix,contetType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:Fx,examples:Lx,traits:eE}},MessageTrait:{$visitor:Yx,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:zx,correlationId:mv.visitors.document.objects.MessageTrait.fixedFields.correlationId,schemaFormat:mv.visitors.document.objects.MessageTrait.fixedFields.schemaFormat,contentType:mv.visitors.document.objects.MessageTrait.fixedFields.contentType,name:mv.visitors.document.objects.MessageTrait.fixedFields.name,title:mv.visitors.document.objects.MessageTrait.fixedFields.title,summary:mv.visitors.document.objects.MessageTrait.fixedFields.summary,description:mv.visitors.document.objects.MessageTrait.fixedFields.description,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:mv.visitors.document.objects.MessageTrait.fixedFields.bindings,examples:mv.visitors.document.objects.MessageTrait.fixedFields.examples}},MessageExample:{$visitor:Nx,fixedFields:{headers:mv.visitors.document.objects.MessageExample.fixedFields.headers,payload:mv.visitors.document.objects.MessageExample.fixedFields.payload,name:mv.visitors.document.objects.MessageExample.fixedFields.name,summary:mv.visitors.document.objects.MessageExample.fixedFields.summary}},Tags:{$visitor:kw},Tag:{$visitor:qw,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:yx}},ExternalDocumentation:{$visitor:wx,fixedFields:{description:mv.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:mv.visitors.document.objects.ExternalDocumentation.fixedFields.url}},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Reference:{$visitor:uw,fixedFields:{$ref:mv.visitors.document.objects.Reference.fixedFields.$ref}},LinkDescription:mv.visitors.document.objects.LinkDescription,Components:{$visitor:dx,fixedFields:{schemas:rx,servers:mv.visitors.document.objects.Components.fixedFields.servers,channels:Vy,serverVariables:mv.visitors.document.objects.Components.fixedFields.serverVariables,operations:zy,messages:mv.visitors.document.objects.Components.fixedFields.messages,securitySchemes:mv.visitors.document.objects.Components.fixedFields.securitySchemes,parameters:mv.visitors.document.objects.Components.fixedFields.parameters,correlationIds:mv.visitors.document.objects.Components.fixedFields.correlationIds,replies:Qy,replyAddresses:sx,tags:lx,externalDocs:Wy,operationTraits:mv.visitors.document.objects.Components.fixedFields.operationTraits,messageTraits:mv.visitors.document.objects.Components.fixedFields.messageTraits,serverBindings:mv.visitors.document.objects.Components.fixedFields.serverBindings,channelBindings:mv.visitors.document.objects.Components.fixedFields.channelBindings,operationBindings:mv.visitors.document.objects.Components.fixedFields.operationBindings,messageBindings:mv.visitors.document.objects.Components.fixedFields.messageBindings}},MultiFormatSchema:{$visitor:uE,fixedFields:{schemaFormat:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}},JSONSchema:QO,Schema:QO,SecurityScheme:{$visitor:xw,fixedFields:{type:mv.visitors.document.objects.SecurityScheme.fixedFields.type,description:mv.visitors.document.objects.SecurityScheme.fixedFields.description,name:mv.visitors.document.objects.SecurityScheme.fixedFields.name,in:mv.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:mv.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:mv.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:mv.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl,scopes:bw}},OAuthFlows:{$visitor:_E,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:pE,fixedFields:{authorizationUrl:mv.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:mv.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:mv.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,availableScopes:mv.visitors.document.objects.OAuthFlow.fixedFields.scopes}},CorrelationID:{$visitor:_x,fixedFields:{description:mv.visitors.document.objects.CorrelationID.fixedFields.description,location:mv.visitors.document.objects.CorrelationID.fixedFields.location}},bindings:{http:{ServerBinding:{$visitor:TS},ChannelBinding:{$visitor:SS},OperationBinding:{$visitor:PS,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:mw,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:OS,fixedFields:{headers:mw,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:YO},ChannelBinding:{$visitor:LO,fixedFields:{method:{$ref:"#/visitors/value"},query:mw,headers:mw,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:zO},MessageBinding:{$visitor:HO}},kafka:{ServerBinding:{$visitor:Oj,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:bj,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Sj,fixedFields:{groupId:mw,clientId:mw,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:xj,fixedFields:{key:mw,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:xS},ChannelBinding:{$visitor:mS,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:bS},MessageBinding:{$visitor:gS,fixedFields:{headers:mw,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Yw},ChannelBinding:{$visitor:Lw,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:zw,fixedFields:{expiration:{$ref:"#/visitors/value"},userId:{$ref:"#/visitors/value"},cc:{$ref:"#/visitors/value"},priority:{$ref:"#/visitors/value"},deliveryMode:{$ref:"#/visitors/value"},mandatory:{$ref:"#/visitors/value"},bcc:{$ref:"#/visitors/value"},replyTo:{$ref:"#/visitors/value"},timestamp:{$ref:"#/visitors/value"},ack:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Hw,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:lS},ChannelBinding:{$visitor:eS},OperationBinding:{$visitor:oS},MessageBinding:{$visitor:nS}},mqtt:{ServerBinding:{$visitor:Yj,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Lj},OperationBinding:{$visitor:zj,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Hj,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:lB},ChannelBinding:{$visitor:eB},OperationBinding:{$visitor:oB},MessageBinding:{$visitor:nB}},nats:{ServerBinding:{$visitor:xB},ChannelBinding:{$visitor:mB},OperationBinding:{$visitor:bB,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:gB}},pulsar:{ServerBinding:{$visitor:TB,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:SB,fixedFields:{namespace:{$ref:"#/visitors/value"},persistence:{$ref:"#/visitors/value"},compaction:{$ref:"#/visitors/value"},"geo-replication":{$ref:"#/visitors/value"},retention:{$ref:"#/visitors/value"},ttl:{$ref:"#/visitors/value"},deduplication:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:PB},MessageBinding:{$visitor:OB}},jms:{ServerBinding:{$visitor:gj},ChannelBinding:{$visitor:oj},OperationBinding:{$visitor:mj},MessageBinding:{$visitor:lj}},sns:{ServerBinding:{$visitor:nO},ChannelBinding:{$visitor:zB},OperationBinding:{$visitor:eO},MessageBinding:{$visitor:YB}},solace:{ServerBinding:{$visitor:gO,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:oO},OperationBinding:{$visitor:mO,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:lO}},sqs:{ServerBinding:{$visitor:OO},ChannelBinding:{$visitor:bO},OperationBinding:{$visitor:SO},MessageBinding:{$visitor:xO}},stomp:{ServerBinding:{$visitor:NO},ChannelBinding:{$visitor:PO},OperationBinding:{$visitor:IO},MessageBinding:{$visitor:TO}},redis:{ServerBinding:{$visitor:HB},ChannelBinding:{$visitor:IB},OperationBinding:{$visitor:LB},MessageBinding:{$visitor:NB}},mercure:{ServerBinding:{$visitor:Nj},ChannelBinding:{$visitor:Pj},OperationBinding:{$visitor:Ij},MessageBinding:{$visitor:Tj}},googlepubsub:{ServerBinding:{$visitor:HS},ChannelBinding:{$visitor:IS,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},labels:{$ref:"#/visitors/value"},messageRetentionDuration:{$ref:"#/visitors/value"},messageStoragePolicy:{$ref:"#/visitors/value"},schemaSettings:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:LS},MessageBinding:{$visitor:NS,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:nj,fixedFields:{groupId:{$ref:"#/visitors/value"},ccdtQueueManagerName:{$ref:"#/visitors/value"},cipherSpec:{$ref:"#/visitors/value"},multiEndpointServer:{$ref:"#/visitors/value"},heartBeatInterval:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:zS,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:YS,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:ej}}}}}}},eM=e=>{if(zn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},tM={AsyncApi3Element:["content"],AsyncApiVersionElement:[],ChannelBindingsElement:["content"],ChannelElement:["content"],ChannelsElement:["content"],ComponentsElement:["content"],ContactElement:["content"],CorrelationIDElement:["content"],DefaultContentTypeElement:[],ExternalDocumentationElement:["content"],InfoElement:["content"],LicenseElement:["content"],MessagesElement:["content"],MessageElement:["content"],MessageExampleElement:["content"],MessageBindingsElement:["content"],MessageTraitElement:["content"],MultiFormatSchemaElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OperationsElement:["content"],OperationElement:["content"],OperationBindingsElement:["content"],OperationReplyElement:["content"],OperationReplyAddressElement:["content"],OperationTraitElement:["content"],ParameterElement:["content"],ParametersElement:["content"],ReferenceElement:["content"],SchemaElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerBindingsElement:["content"],ServersElement:["content"],ServerVariableElement:["content"],TagElement:["content"],TagsElement:["content"],AmqpChannelBindingElement:["content"],AmqpMessageBindingElement:["content"],AmqpOperationBindingElement:["content"],AmqpServerBindingElement:["content"],Amqp1ChannelBindingElement:["content"],Amqp1MessageBindingElement:["content"],Amqp1OperationBindingElement:["content"],Amqp1ServerBindingElement:["content"],AnypointmqChannelBindingElement:["content"],AnypointmqMessageBindingElement:["content"],AnypointmqOperationBindingElement:["content"],AnypointmqServerBindingElement:["content"],GooglepubsubChannelBindingElement:["content"],GooglepubsubMessageBindingElement:["content"],GooglepubsubOperationBindingElement:["content"],GooglepubsubServerBindingElement:["content"],HttpChannelBindingElement:["content"],HttpMessageBindingElement:["content"],HttpOperationBindingElement:["content"],HttpServerBindingElement:["content"],IbmmqChannelBindingElement:["content"],IbmmqMessageBindingElement:["content"],IbmmqChannelOperationElement:["content"],IbmmqServerBindingElement:["content"],JmsChannelBindingElement:["content"],JmsMessageBindingElement:["content"],JmsOperationBindingElement:["content"],JmsServerBindingElement:["content"],KafkaChannelBindingElement:["content"],KafkaMessageBindingElement:["content"],KafkaOperationBindingElement:["content"],KafkaServerBindingElement:["content"],MercureChannelBindingElement:["content"],MercureMessageBindingElement:["content"],MercureOperationBindingElement:["content"],MercureServerBindingElement:["content"],MqttChannelBindingElement:["content"],MqttMessageBindingElement:["content"],MqttOperationBindingElement:["content"],MqttServerBindingElement:["content"],Mqtt5ChannelBindingElement:["content"],Mqtt5MessageBindingElement:["content"],Mqtt5OperationBindingElement:["content"],Mqtt5ServerBindingElement:["content"],NatsChannelBindingElement:["content"],NatsMessageBindingElement:["content"],NatsOperationBindingElement:["content"],NatsServerBindingElement:["content"],PulsarChannelBindingElement:["content"],PulsarMessageBindingElement:["content"],PulsarOperationBindingElement:["content"],PulsarServerBindingElement:["content"],RedisChannelBindingElement:["content"],RedisMessageBindingElement:["content"],RedisOperationBindingElement:["content"],RedisServerBindingElement:["content"],SnsChannelBindingElement:["content"],SnsMessageBindingElement:["content"],SnsOperationBindingElement:["content"],SnsServerBindingElement:["content"],SolaceChannelBindingElement:["content"],SolaceMessageBindingElement:["content"],SolaceOperationBindingElement:["content"],SolaceServerBindingElement:["content"],SqsChannelBindingElement:["content"],SqsMessageBindingElement:["content"],SqsOperationBindingElement:["content"],SqsServerBindingElement:["content"],StompChannelBindingElement:["content"],StompMessageBindingElement:["content"],StompOperationBindingElement:["content"],StompServerBindingElement:["content"],WebSocketChannelBindingElement:["content"],WebSocketMessageBindingElement:["content"],WebSocketOperationBindingElement:["content"],WebSocketServerBindingElement:["content"],...xi},sM={namespace:e=>{const{base:t}=e;return t.register("asyncApi3",Bv),t.register("asyncApiVersion",$v),t.register("channel",Jv),t.register("channelBindings",Nv),t.register("channels",Yv),t.register("components",ey),t.register("contact",ty),t.register("correlationID",hx),t.register("defaultContentType",fx),t.register("externalDocumentation",xx),t.register("identifier",sy),t.register("info",ny),t.register("license",iy),t.register("message",Iv),t.register("messageBindings",Px),t.register("messageExample",Rx),t.register("messages",iE),t.register("messageTrait",Zx),t.register("multiFormatSchema",Xv),t.register("oAuthFlow",dE),t.register("oAuthFlows",hE),t.register("operation",oy),t.register("operationBindings",fE),t.register("operationReply",DE),t.register("operationReplyAddress",AE),t.register("operations",sw),t.register("operationTrait",JE),t.register("parameter",ly),t.register("parameters",ay),t.register("reference",uy),t.register("schema",dy),t.register("securityScheme",vw),t.register("server",my),t.register("serverBindings",hy),t.register("servers",py),t.register("serverVariable",gy),t.register("tag",Tw),t.register("tags",Iw),t.register("amqpChannelBinding",Vw),t.register("amqpMessageBinding",Uw),t.register("amqpOperationBinding",Gw),t.register("amqpServerBinding",Zw),t.register("amqp1ChannelBinding",Qw),t.register("amqp1MessageBinding",tS),t.register("amqp1OperationBinding",iS),t.register("amqp1ServerBinding",aS),t.register("anypointmqChannelBinding",uS),t.register("anypointmqMessageBinding",pS),t.register("anypointmqOperationBinding",_S),t.register("anypointmqServerBinding",vS),t.register("googlepubsubChannelBinding",FS),t.register("googlepubsubMessageBinding",RS),t.register("googlepubsubOperationBinding",VS),t.register("googlepubsubServerBinding",US),t.register("httpChannelBinding",ES),t.register("httpMessageBinding",jS),t.register("httpOperationBinding",MS),t.register("httpServerBinding",AS),t.register("ibmmqChannelBinding",GS),t.register("ibmmqMessageBinding",ZS),t.register("ibmmqOperationBinding",QS),t.register("ibmmqServerBinding",tj),t.register("jmsChannelBinding",ij),t.register("jmsMessageBinding",aj),t.register("jmsOperationBinding",uj),t.register("jmsServerBinding",pj),t.register("kafkaChannelBinding",_j),t.register("kafkaMessageBinding",vj),t.register("kafkaOperationBinding",Ej),t.register("kafkaServerBinding",jj),t.register("mercureChannelBinding",Mj),t.register("mercureMessageBinding",Aj),t.register("mercureOperationBinding",Fj),t.register("mercureServerBinding",Rj),t.register("mqttChannelBinding",Vj),t.register("mqttMessageBinding",Uj),t.register("mqttOperationBinding",Gj),t.register("mqttServerBinding",Zj),t.register("mqtt5ChannelBinding",Qj),t.register("mqtt5MessageBinding",tB),t.register("mqtt5OperationBinding",iB),t.register("mqtt5ServerBinding",aB),t.register("natsChannelBinding",uB),t.register("natsMessageBinding",pB),t.register("natsOperationBinding",_B),t.register("natsServerBinding",vB),t.register("pulsarChannelBinding",EB),t.register("pulsarMessageBinding",jB),t.register("pulsarOperationBinding",MB),t.register("pulsarServerBinding",AB),t.register("redisChannelBinding",FB),t.register("redisMessageBinding",RB),t.register("redisOperationBinding",VB),t.register("redisServerBinding",UB),t.register("snsChannelBinding",GB),t.register("snsMessageBinding",ZB),t.register("snsOperationBinding",QB),t.register("snsServerBinding",tO),t.register("solaceChannelBinding",iO),t.register("solaceMessageBinding",aO),t.register("solaceOperationBinding",uO),t.register("solaceServerBinding",pO),t.register("sqsChannelBinding",_O),t.register("sqsMessageBinding",vO),t.register("sqsOperationBinding",EO),t.register("sqsServerBinding",jO),t.register("stompChannelBinding",MO),t.register("stompMessageBinding",AO),t.register("stompOperationBinding",FO),t.register("stompServerBinding",RO),t.register("webSocketChannelBinding",VO),t.register("webSocketMessageBinding",UO),t.register("webSocketOperationBinding",GO),t.register("webSocketServerBinding",ZO),t}},nM=()=>{const e=at(sM);return{predicates:{...r,isStringElement:Zn},namespace:e}},iM=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:s=[]}={})=>{const n=(0,oe.e)(e),i=An(XO),r=new(Pn(t,i))({specObj:i});return Ei(n,r),Ri(r.element,s,{toolboxCreator:nM,visitorOptions:{keyMap:tM,nodeTypeGetter:eM}})},rM=e=>(t,s={})=>iM(t,{...s,specPath:e});Bv.refract=rM(["visitors","document","objects","AsyncApi","$visitor"]),$v.refract=rM(["visitors","document","objects","AsyncApiVersion","$visitor"]),Nv.refract=rM(["visitors","document","objects","ChannelBindings","$visitor"]),Jv.refract=rM(["visitors","document","objects","Channel","$visitor"]),Yv.refract=rM(["visitors","document","objects","Channels","$visitor"]),ey.refract=rM(["visitors","document","objects","Components","$visitor"]),ty.refract=rM(["visitors","document","objects","Contact","$visitor"]),hx.refract=rM(["visitors","document","objects","CorrelationID","$visitor"]),fx.refract=rM(["visitors","document","objects","DefaultContentType","$visitor"]),xx.refract=rM(["visitors","document","objects","ExternalDocumentation","$visitor"]),sy.refract=rM(["visitors","document","objects","Identifier","$visitor"]),ny.refract=rM(["visitors","document","objects","Info","$visitor"]),iy.refract=rM(["visitors","document","objects","License","$visitor"]),Iv.refract=rM(["visitors","document","objects","Message","$visitor"]),Px.refract=rM(["visitors","document","objects","MessageBindings","$visitor"]),Rx.refract=rM(["visitors","document","objects","MessageExample","$visitor"]),Zx.refract=rM(["visitors","document","objects","MessageTrait","$visitor"]),iE.refract=rM(["visitors","document","objects","Messages","$visitor"]),Xv.refract=rM(["visitors","document","objects","MultiFormatSchema","$visitor"]),dE.refract=rM(["visitors","document","objects","OAuthFlow","$visitor"]),hE.refract=rM(["visitors","document","objects","OAuthFlows","$visitor"]),oy.refract=rM(["visitors","document","objects","Operation","$visitor"]),fE.refract=rM(["visitors","document","objects","OperationBindings","$visitor"]),DE.refract=rM(["visitors","document","objects","OperationReply","$visitor"]),AE.refract=rM(["visitors","document","objects","OperationReplyAddress","$visitor"]),JE.refract=rM(["visitors","document","objects","OperationTrait","$visitor"]),sw.refract=rM(["visitors","document","objects","Operations","$visitor"]),ly.refract=rM(["visitors","document","objects","Parameter","$visitor"]),ay.refract=rM(["visitors","document","objects","Parameters","$visitor"]),uy.refract=rM(["visitors","document","objects","Reference","$visitor"]),dy.refract=rM(["visitors","document","objects","Schema","$visitor"]),vw.refract=rM(["visitors","document","objects","SecurityScheme","$visitor"]),my.refract=rM(["visitors","document","objects","Server","$visitor"]),hy.refract=rM(["visitors","document","objects","ServerBindings","$visitor"]),py.refract=rM(["visitors","document","objects","Servers","$visitor"]),gy.refract=rM(["visitors","document","objects","ServerVariable","$visitor"]),Tw.refract=rM(["visitors","document","objects","Tag","$visitor"]),Iw.refract=rM(["visitors","document","objects","Tags","$visitor"]),Vw.refract=rM(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),Uw.refract=rM(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),Gw.refract=rM(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Zw.refract=rM(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Qw.refract=rM(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),tS.refract=rM(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),iS.refract=rM(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),aS.refract=rM(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),ES.refract=rM(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),jS.refract=rM(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),MS.refract=rM(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),AS.refract=rM(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),FS.refract=rM(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),RS.refract=rM(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),VS.refract=rM(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),US.refract=rM(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),GS.refract=rM(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),ZS.refract=rM(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),QS.refract=rM(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),tj.refract=rM(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),ij.refract=rM(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),aj.refract=rM(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),uj.refract=rM(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),pj.refract=rM(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),_j.refract=rM(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),vj.refract=rM(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),Ej.refract=rM(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),jj.refract=rM(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),uS.refract=rM(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),pS.refract=rM(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),_S.refract=rM(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),vS.refract=rM(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),Mj.refract=rM(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),Aj.refract=rM(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),Fj.refract=rM(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),Rj.refract=rM(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Vj.refract=rM(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),Uj.refract=rM(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),Gj.refract=rM(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),Zj.refract=rM(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),Qj.refract=rM(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),tB.refract=rM(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),iB.refract=rM(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),aB.refract=rM(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),uB.refract=rM(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),pB.refract=rM(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),_B.refract=rM(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),vB.refract=rM(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),EB.refract=rM(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),jB.refract=rM(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),MB.refract=rM(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),AB.refract=rM(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),FB.refract=rM(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),RB.refract=rM(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),VB.refract=rM(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),UB.refract=rM(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),GB.refract=rM(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),ZB.refract=rM(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),QB.refract=rM(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),tO.refract=rM(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),iO.refract=rM(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),aO.refract=rM(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),uO.refract=rM(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),pO.refract=rM(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),_O.refract=rM(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),vO.refract=rM(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),EO.refract=rM(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),jO.refract=rM(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),MO.refract=rM(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),AO.refract=rM(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),FO.refract=rM(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),RO.refract=rM(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),VO.refract=rM(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),UO.refract=rM(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),GO.refract=rM(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),ZO.refract=rM(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const oM=new aE(...cE.filterByFormat("generic"),...cE.filterByFormat("yaml")),aM=/(?<YAML>^(["']?)asyncapi\2\s*:\s*(["']?)(?<version_yaml>3\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?<JSON>"asyncapi"\s*:\s*"(?<version_json>3\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))")/m,cM=async e=>aM.test(e)&&await(async e=>{try{return!(await yt(e)).rootNode.isError}catch{return!1}})(e),lM=async(e,t={})=>{const s=g({},"refractorOpts",t),n=f(["refractorOpts"],t),i=await(async(e,{sourceMap:t=!1}={})=>{const s=await yt(e);return Gi(s,{sourceMap:t})})(e,n),{result:r}=i;if(re(r)){const e=Bv.refract(r,s);e.classes.push("result"),i.replaceResult(e)}return i},uM=at(sM)})(),__webpack_exports__})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterAsyncApiYaml3=t():e.apidomParserAdapterAsyncApiYaml3=t()}(self,(()=>(()=>{var __webpack_modules__={85:(e,t,s)=>{"use strict";s(9828);var n=s(1100),i=s(8900),r=s(1811),o=s(6625);for(var a in n)r(i[a],a),o[a]=o.Array},88:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).get(e)}},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},164:(e,t,s)=>{"use strict";var n=s(9098),i=s(4713),r=s(4871),o=s(3410),a=s(2769),c=s(1926),l=s(3671),u=s(3491),d=s(1811),m=s(3999),p=s(3508),h=s(8655),g=s(6625),_=s(2621),f=o.PROPER,b=o.CONFIGURABLE,v=_.IteratorPrototype,y=_.BUGGY_SAFARI_ITERATORS,x=h("iterator"),E="keys",w="values",S="entries",j=function(){return this};e.exports=function(e,t,s,o,h,_,B){c(s,t,o);var O,M,$,P=function(e){if(e===h&&q)return q;if(!y&&e&&e in T)return T[e];switch(e){case E:case w:case S:return function(){return new s(this,e)}}return function(){return new s(this)}},A=t+" Iterator",C=!1,T=e.prototype,F=T[x]||T["@@iterator"]||h&&T[h],q=!y&&F||P(h),I="Array"===t&&T.entries||F;if(I&&(O=l(I.call(new e)))!==Object.prototype&&O.next&&(r||l(O)===v||(u?u(O,v):a(O[x])||p(O,x,j)),d(O,A,!0,!0),r&&(g[A]=j)),f&&h===w&&F&&F.name!==w&&(!r&&b?m(T,"name",w):(C=!0,q=function(){return i(F,this)})),h)if(M={values:P(w),keys:_?q:P(E),entries:P(S)},B)for($ in M)(y||C||!($ in T))&&p(T,$,M[$]);else n({target:t,proto:!0,forced:y||C},M);return r&&!B||T[x]===q||p(T,x,q,{name:h}),g[t]=q,M}},195:(e,t,s)=>{var n=s(4882),i=s(8121),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var s in Object(e))r.call(e,s)&&"constructor"!=s&&t.push(s);return t}},208:(e,t,s)=>{"use strict";var n=s(4572),i=s(4713),r=s(7235),o=s(459),a=s(2877),c=s(8130),l=s(4317),u=s(1613),d=s(967),m=s(1743),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},g=h.prototype;e.exports=function(e,t,s){var _,f,b,v,y,x,E,w=s&&s.that,S=!(!s||!s.AS_ENTRIES),j=!(!s||!s.IS_RECORD),B=!(!s||!s.IS_ITERATOR),O=!(!s||!s.INTERRUPTED),M=n(t,w),$=function(e){return _&&m(_,"normal",e),new h(!0,e)},P=function(e){return S?(r(e),O?M(e[0],e[1],$):M(e[0],e[1])):O?M(e,$):M(e)};if(j)_=e.iterator;else if(B)_=e;else{if(!(f=d(e)))throw new p(o(e)+" is not iterable");if(a(f)){for(b=0,v=c(e);v>b;b++)if((y=P(e[b]))&&l(g,y))return y;return new h(!1)}_=u(e,f)}for(x=j?e.next:_.next;!(E=i(x,_)).done;){try{y=P(E.value)}catch(e){m(_,"throw",e)}if("object"==typeof y&&y&&l(g,y))return y}return new h(!1)}},239:(e,t,s)=>{"use strict";s(5442);var n=s(6656);s(85),e.exports=n},262:(e,t,s)=>{"use strict";var n=s(2769);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},353:(e,t,s)=>{var n=s(1340),i=s(3934),r=s(8861),o=s(1182),a=s(8486),c=s(3142),l=s(5853),u=s(8666),d="[object Arguments]",m="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,g,_,f){var b=c(e),v=c(t),y=b?m:a(e),x=v?m:a(t),E=(y=y==d?p:y)==p,w=(x=x==d?p:x)==p,S=y==x;if(S&&l(e)){if(!l(t))return!1;b=!0,E=!1}if(S&&!E)return f||(f=new n),b||u(e)?i(e,t,s,g,_,f):r(e,t,y,s,g,_,f);if(!(1&s)){var j=E&&h.call(e,"__wrapped__"),B=w&&h.call(t,"__wrapped__");if(j||B){var O=j?e.value():e,M=B?t.value():t;return f||(f=new n),_(O,M,s,g,f)}}return!!S&&(f||(f=new n),o(e,t,s,g,_,f))}},358:(e,t,s)=>{var n=s(6137),i=s(3283),r=s(3142),o=s(5853),a=s(9632),c=s(8666),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var s=r(e),u=!s&&i(e),d=!s&&!u&&o(e),m=!s&&!u&&!d&&c(e),p=s||u||d||m,h=p?n(e.length,String):[],g=h.length;for(var _ in e)!t&&!l.call(e,_)||p&&("length"==_||d&&("offset"==_||"parent"==_)||m&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||a(_,g))||h.push(_);return h}},393:(e,t,s)=>{var n=s(8244),i=s(7979),r=s(1211);e.exports=function(e){return n(e,r,i)}},394:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const s=this.serialiseContent(e.content);return void 0!==s&&(t.content=s),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const s=this.deserialiseContent(e.content);return void 0===s&&null!==t.content||(t.content=s),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,s)=>{e&&(t[s.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},459:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},480:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},484:(e,t,s)=>{"use strict";var n=s(9098),i=s(8900),r=s(7013),o=s(6453),a="WebAssembly",c=i[a],l=7!==new Error("e",{cause:7}).cause,u=function(e,t){var s={};s[e]=o(e,t,l),n({global:!0,constructor:!0,arity:1,forced:l},s)},d=function(e,t){if(c&&c[e]){var s={};s[e]=o(a+"."+e,t,l),n({target:a,stat:!0,constructor:!0,arity:1,forced:l},s)}};u("Error",(function(e){return function(t){return r(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return r(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return r(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return r(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return r(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return r(e,this,arguments)}})),u("URIError",(function(e){return function(t){return r(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return r(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return r(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return r(e,this,arguments)}}))},493:(e,t,s)=>{"use strict";var n=s(4713),i=s(262),r=s(6281),o=s(4674),a=s(9258),c=s(8655),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||r(e))return e;var s,c=o(e,u);if(c){if(void 0===t&&(t="default"),s=n(c,e,t),!i(s)||r(s))return s;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},593:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},674:(e,t,s)=>{var n=s(7379),i=s(5387),r=s(547),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&i(e.length)&&!!o[n(e)]}},701:(e,t,s)=>{"use strict";var n=s(6100),i=s(2137),r=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(i(e),t)}},814:(e,t,s)=>{"use strict";var n=s(2769),i=s(459),r=TypeError;e.exports=function(e){if(n(e))return e;throw new r(i(e)+" is not a function")}},877:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},967:(e,t,s)=>{"use strict";var n=s(8407),i=s(4674),r=s(3057),o=s(6625),a=s(8655)("iterator");e.exports=function(e){if(!r(e))return i(e,a)||i(e,"@@iterator")||o[n(e)]}},986:(e,t,s)=>{var n=s(7379),i=s(547);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==n(e)}},1003:(e,t,s)=>{"use strict";var n=s(8099),i=s(8900),r=s(2769),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},1005:(e,t,s)=>{"use strict";var n=s(3273),i=s(4574),r=s(8130),o=function(e){return function(t,s,o){var a=n(t),c=r(a);if(0===c)return!e&&-1;var l,u=i(o,c);if(e&&s!=s){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===s)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},1100:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},1112:(e,t,s)=>{var n=s(4497),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var s=t[e];return"__lodash_hash_undefined__"===s?void 0:s}return i.call(t,e)?t[e]:void 0}},1129:e=>{e.exports=function(e,t){for(var s=-1,n=t.length,i=e.length;++s<n;)e[i+s]=t[s];return e}},1139:(e,t,s)=>{"use strict";var n=s(8407),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},1182:(e,t,s)=>{var n=s(393),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,r,o,a){var c=1&s,l=n(e),u=l.length;if(u!=n(t).length&&!c)return!1;for(var d=u;d--;){var m=l[d];if(!(c?m in t:i.call(t,m)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var g=!0;a.set(e,t),a.set(t,e);for(var _=c;++d<u;){var f=e[m=l[d]],b=t[m];if(r)var v=c?r(b,f,m,t,e,a):r(f,b,m,e,t,a);if(!(void 0===v?f===b||o(f,b,s,r,a):v)){g=!1;break}_||(_="constructor"==m)}if(g&&!_){var y=e.constructor,x=t.constructor;y==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x||(g=!1)}return a.delete(e),a.delete(t),g}},1203:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},1211:(e,t,s)=>{var n=s(358),i=s(195),r=s(6529);e.exports=function(e){return r(e)?n(e):i(e)}},1212:(e,t,s)=>{e.exports=s(8411)},1268:(e,t,s)=>{"use strict";var n=s(6100),i=0,r=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+r,36)}},1314:(e,t,s)=>{"use strict";var n=s(8900),i=s(2769),r=n.WeakMap;e.exports=i(r)&&/native code/.test(String(r))},1330:(e,t,s)=>{"use strict";var n=s(5024),i=s(1203);e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1340:(e,t,s)=>{var n=s(1386),i=s(4103),r=s(1779),o=s(4162),a=s(7462),c=s(6638);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=c,e.exports=l},1386:(e,t,s)=>{var n=s(2393),i=s(2049),r=s(7144),o=s(7452),a=s(3964);function c(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},1395:(e,t,s)=>{"use strict";var n=s(6100),i=s(1203),r=s(9932),o=Object,a=n("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?a(e,""):o(e)}:o},1517:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},1613:(e,t,s)=>{"use strict";var n=s(4713),i=s(814),r=s(7235),o=s(459),a=s(967),c=TypeError;e.exports=function(e,t){var s=arguments.length<2?a(e):t;if(i(s))return r(n(s,e));throw new c(o(e)+" is not iterable")}},1623:(e,t,s)=>{var n=s(8942).Uint8Array;e.exports=n},1743:(e,t,s)=>{"use strict";var n=s(4713),i=s(7235),r=s(4674);e.exports=function(e,t,s){var o,a;i(e);try{if(!(o=r(e,"return"))){if("throw"===t)throw s;return s}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw s;if(a)throw o;return i(o),s}},1779:e=>{e.exports=function(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}},1780:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},1811:(e,t,s)=>{"use strict";var n=s(4904),i=s(9989).f,r=s(3999),o=s(701),a=s(9559),c=s(8655)("toStringTag");e.exports=function(e,t,s,l){var u=s?e:e&&e.prototype;u&&(o(u,c)||i(u,c,{configurable:!0,value:t}),l&&!n&&r(u,"toString",a))}},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1926:(e,t,s)=>{"use strict";var n=s(2621).IteratorPrototype,i=s(5780),r=s(480),o=s(1811),a=s(6625),c=function(){return this};e.exports=function(e,t,s,l){var u=t+" Iterator";return e.prototype=i(n,{next:r(+!l,s)}),o(e,u,!1,!0),a[u]=c,e}},1950:(e,t,s)=>{var n=s(8942)["__core-js_shared__"];e.exports=n},1966:(e,t,s)=>{"use strict";var n=s(2937),i=String,r=TypeError;e.exports=function(e){if(n(e))return e;throw new r("Can't set "+i(e)+" as a prototype")}},2049:(e,t,s)=>{var n=s(7034),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,s=n(t,e);return!(s<0)&&(s==t.length-1?t.pop():i.call(t,s,1),--this.size,!0)}},2137:(e,t,s)=>{"use strict";var n=s(5426),i=Object;e.exports=function(e){return i(n(e))}},2306:(e,t,s)=>{e=s.nmd(e);var n=s(4967),i=t&&!t.nodeType&&t,r=i&&e&&!e.nodeType&&e,o=r&&r.exports===i&&n.process,a=function(){try{var e=r&&r.require&&r.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},2322:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2536:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}}},2555:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}}},2563:(e,t,s)=>{var n=s(7379),i=s(547);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==n(e)}},2621:(e,t,s)=>{"use strict";var n,i,r,o=s(1203),a=s(2769),c=s(262),l=s(5780),u=s(3671),d=s(3508),m=s(8655),p=s(4871),h=m("iterator"),g=!1;[].keys&&("next"in(r=[].keys())?(i=u(u(r)))!==Object.prototype&&(n=i):g=!0),!c(n)||o((function(){var e={};return n[h].call(e)!==e}))?n={}:p&&(n=l(n)),a(n[h])||d(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},2769:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},2871:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},2877:(e,t,s)=>{"use strict";var n=s(8655),i=s(6625),r=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},2937:(e,t,s)=>{"use strict";var n=s(262);e.exports=function(e){return n(e)||null===e}},3004:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||null,t,s),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3057:e=>{"use strict";e.exports=function(e){return null==e}},3078:()=>{},3085:(e,t,s)=>{"use strict";var n=s(9098),i=s(4317),r=s(3671),o=s(3491),a=s(7464),c=s(5780),l=s(3999),u=s(480),d=s(8148),m=s(4279),p=s(208),h=s(4879),g=s(8655)("toStringTag"),_=Error,f=[].push,b=function(e,t){var s,n=i(v,this);o?s=o(new _,n?r(this):v):(s=n?this:c(v),l(s,g,"Error")),void 0!==t&&l(s,"message",h(t)),m(s,b,s.stack,1),arguments.length>2&&d(s,arguments[2]);var a=[];return p(e,f,{that:a}),l(s,"errors",a),s};o?o(b,_):a(b,_,{name:!0});var v=b.prototype=c(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},3103:(e,t,s)=>{var n=s(4715)(s(8942),"DataView");e.exports=n},3142:e=>{var t=Array.isArray;e.exports=t},3148:(e,t,s)=>{const n=s(394);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const s={element:e.element};e._meta&&e._meta.length>0&&(s.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(s.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(s.attributes=this.serialiseObject(n))}if(n)s.content=this.enumSerialiseContent(e,s);else if(this[`${e.element}SerialiseContent`])s.content=this[`${e.element}SerialiseContent`](e,s);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(s.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(s.content=[]);return s}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),s=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let i=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),i.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==s.length&&i.unshift(e.content),i=i.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),i.length&&t.set("samples",i),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),s=new t;s.element!==e.element&&(s.element=e.element),e.meta&&this.deserialiseObject(e.meta,s.meta),e.attributes&&this.deserialiseObject(e.attributes,s.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==s.content||(s.content=n),"enum"===s.element){s.content&&s.attributes.set("enumerations",s.content);let e=s.attributes.get("samples");if(s.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const i=new t(n);i.element=s.element,e.push(i)}))}));const i=e.shift();s.content=i?i.content:void 0,s.attributes.set("samples",e)}else s.content=void 0;let n=s.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=s.element,s.attributes.set("default",e)}}else if("dataStructure"===s.element&&Array.isArray(s.content))[s.content]=s.content;else if("category"===s.element){const e=s.attributes.get("meta");e&&(s.attributes.set("metadata",e),s.attributes.remove("meta"))}else"member"===s.element&&s.key&&s.key._attributes&&s.key._attributes.getValue("variable")&&(s.attributes.set("variable",s.key.attributes.get("variable")),s.key.attributes.remove("variable"));return s}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,s)=>{if(e){const n=s.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},3212:(e,t,s)=>{var n=s(8250),i=s(1877),r=s(8006);function o(e){var t=-1,s=null==e?0:e.length;for(this.__data__=new n;++t<s;)this.add(e[t])}o.prototype.add=o.prototype.push=i,o.prototype.has=r,e.exports=o},3273:(e,t,s)=>{"use strict";var n=s(1395),i=s(5426);e.exports=function(e){return n(i(e))}},3283:(e,t,s)=>{var n=s(6027),i=s(547),r=Object.prototype,o=r.hasOwnProperty,a=r.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return i(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},3305:(e,t,s)=>{var n=s(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},3311:(e,t,s)=>{const n=s(1517),i=s(4123);class r extends i{map(e,t){return this.elements.map((s=>e.bind(t)(s.value,s.key,s)))}filter(e,t){return new r(this.elements.filter((s=>e.bind(t)(s.value,s.key,s))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((s,n)=>{e.bind(t)(s.value,s.key,s,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=r},3410:(e,t,s)=>{"use strict";var n=s(5024),i=s(701),r=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(r,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&o(r,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},3489:(e,t,s)=>{"use strict";var n=s(1003);e.exports=n("document","documentElement")},3491:(e,t,s)=>{"use strict";var n=s(3574),i=s(262),r=s(5426),o=s(1966);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,s={};try{(e=n(Object.prototype,"__proto__","set"))(s,[]),t=s instanceof Array}catch(e){}return function(s,n){return r(s),o(n),i(s)?(t?e(s,n):s.__proto__=n,s):s}}():void 0)},3507:(e,t,s)=>{"use strict";var n=s(2769),i=s(262),r=s(3491);e.exports=function(e,t,s){var o,a;return r&&n(o=t.constructor)&&o!==s&&i(a=o.prototype)&&a!==s.prototype&&r(e,a),e}},3508:(e,t,s)=>{"use strict";var n=s(3999);e.exports=function(e,t,s,i){return i&&i.enumerable?e[t]=s:n(e,t,s),e}},3531:(e,t,s)=>{"use strict";var n=s(8900).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},3574:(e,t,s)=>{"use strict";var n=s(6100),i=s(814);e.exports=function(e,t,s){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[s]))}catch(e){}}},3655:(e,t,s)=>{var n=s(7379),i=s(1580);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},3671:(e,t,s)=>{"use strict";var n=s(701),i=s(2769),r=s(2137),o=s(4275),a=s(2871),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=r(e);if(n(t,c))return t[c];var s=t.constructor;return i(s)&&t instanceof s?s.prototype:t instanceof l?u:null}},3753:(e,t,s)=>{"use strict";var n=s(4871),i=s(8900),r=s(7525),o="__core-js_shared__",a=e.exports=i[o]||r(o,{});(a.versions||(a.versions=[])).push({version:"3.42.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},3766:e=>{e.exports=function(e,t){return function(s){return e(t(s))}}},3832:(e,t,s)=>{"use strict";var n=s(5571).charAt,i=s(1139),r=s(8417),o=s(164),a=s(877),c="String Iterator",l=r.set,u=r.getterFor(c);o(String,"String",(function(e){l(this,{type:c,string:i(e),index:0})}),(function(){var e,t=u(this),s=t.string,i=t.index;return i>=s.length?a(void 0,!0):(e=n(s,i),t.index+=e.length,a(e,!1))}))},3833:(module,__unused_webpack_exports,__webpack_require__)=>{var __dirname="/",Module=void 0!==Module?Module:{},ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,TreeSitter=function(){var initPromise,document="object"==typeof window?{currentScript:window.document.currentScript}:null;class Parser{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(moduleOptions){return initPromise||(Module=Object.assign({},Module,moduleOptions),initPromise=new Promise((resolveInitPromise=>{var moduleOverrides=Object.assign({},Module),arguments_=[],thisProgram="./this.program",quit_=(e,t)=>{throw t},scriptDirectory="",readAsync,readBinary;function locateFile(e){return Module.locateFile?Module.locateFile(e,scriptDirectory):scriptDirectory+e}if(ENVIRONMENT_IS_NODE){var fs=__webpack_require__(3078),nodePath=__webpack_require__(4142);scriptDirectory=__dirname+"/",readBinary=e=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFileSync(e)),readAsync=(e,t=!0)=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),new Promise(((s,n)=>{fs.readFile(e,t?void 0:"utf8",((e,i)=>{e?n(e):s(t?i.buffer:i)}))}))),!Module.thisProgram&&process.argv.length>1&&(thisProgram=process.argv[1].replace(/\\/g,"/")),arguments_=process.argv.slice(2),module.exports=Module,quit_=(e,t)=>{throw process.exitCode=e,t}}else(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:void 0!==document&&document.currentScript&&(scriptDirectory=document.currentScript.src),scriptDirectory=scriptDirectory.startsWith("blob:")?"":scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1),ENVIRONMENT_IS_WORKER&&(readBinary=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),readAsync=e=>isFileURI(e)?new Promise(((t,s)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{(200==n.status||0==n.status&&n.response)&&s(n.response),t(n.status)},n.onerror=t,n.send(null)})):fetch(e,{credentials:"same-origin"}).then((e=>e.ok?e.arrayBuffer():Promise.reject(new Error(e.status+" : "+e.url)))));var out=Module.print||console.log.bind(console),err=Module.printErr||console.error.bind(console);Object.assign(Module,moduleOverrides),moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var dynamicLibraries=Module.dynamicLibraries||[],wasmBinary,wasmMemory;Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var ABORT=!1,EXITSTATUS,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64,HEAP_DATA_VIEW;function updateMemoryViews(){var e=wasmMemory.buffer;Module.HEAP_DATA_VIEW=HEAP_DATA_VIEW=new DataView(e),Module.HEAP8=HEAP8=new Int8Array(e),Module.HEAP16=HEAP16=new Int16Array(e),Module.HEAPU8=HEAPU8=new Uint8Array(e),Module.HEAPU16=HEAPU16=new Uint16Array(e),Module.HEAP32=HEAP32=new Int32Array(e),Module.HEAPU32=HEAPU32=new Uint32Array(e),Module.HEAPF32=HEAPF32=new Float32Array(e),Module.HEAPF64=HEAPF64=new Float64Array(e)}if(Module.wasmMemory)wasmMemory=Module.wasmMemory;else{var INITIAL_MEMORY=Module.INITIAL_MEMORY||33554432;wasmMemory=new WebAssembly.Memory({initial:INITIAL_MEMORY/65536,maximum:32768})}updateMemoryViews();var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATPOSTRUN__=[],__RELOC_FUNCS__=[],runtimeInitialized=!1;function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,callRuntimeCallbacks(__RELOC_FUNCS__),callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(e){return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies?.(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies?.(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}function abort(e){throw Module.onAbort?.(e),err(e="Aborted("+e+")"),ABORT=!0,EXITSTATUS=1,e+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(e)}var dataURIPrefix="data:application/octet-stream;base64,",isDataURI=e=>e.startsWith(dataURIPrefix),isFileURI=e=>e.startsWith("file://"),wasmBinaryFile;function findWasmBinary(){var e="tree-sitter.wasm";return isDataURI(e)?e:locateFile(e)}function getBinarySync(e){if(e==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(e);throw"both async and sync fetching of the wasm failed"}function getBinaryPromise(e){return wasmBinary?Promise.resolve().then((()=>getBinarySync(e))):readAsync(e).then((e=>new Uint8Array(e)),(()=>getBinarySync(e)))}function instantiateArrayBuffer(e,t,s){return getBinaryPromise(e).then((e=>WebAssembly.instantiate(e,t))).then(s,(e=>{err(`failed to asynchronously prepare wasm: ${e}`),abort(e)}))}function instantiateAsync(e,t,s,n){return e||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(t)||isFileURI(t)||ENVIRONMENT_IS_NODE||"function"!=typeof fetch?instantiateArrayBuffer(t,s,n):fetch(t,{credentials:"same-origin"}).then((e=>WebAssembly.instantiateStreaming(e,s).then(n,(function(e){return err(`wasm streaming compile failed: ${e}`),err("falling back to ArrayBuffer instantiation"),instantiateArrayBuffer(t,s,n)}))))}function getWasmImports(){return{env:wasmImports,wasi_snapshot_preview1:wasmImports,"GOT.mem":new Proxy(wasmImports,GOTHandler),"GOT.func":new Proxy(wasmImports,GOTHandler)}}function createWasm(){var e=getWasmImports();function t(e,t){wasmExports=e.exports,wasmExports=relocateExports(wasmExports,1024);var s=getDylinkMetadata(t);return s.neededDynlibs&&(dynamicLibraries=s.neededDynlibs.concat(dynamicLibraries)),mergeLibSymbols(wasmExports,"main"),LDSO.init(),loadDylibs(),addOnInit(wasmExports.__wasm_call_ctors),__RELOC_FUNCS__.push(wasmExports.__wasm_apply_data_relocs),removeRunDependency("wasm-instantiate"),wasmExports}if(addRunDependency("wasm-instantiate"),Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return err(`Module.instantiateWasm callback failed with error: ${e}`),!1}return wasmBinaryFile||(wasmBinaryFile=findWasmBinary()),instantiateAsync(wasmBinary,wasmBinaryFile,e,(function(e){t(e.instance,e.module)})),{}}var ASM_CONSTS={};function ExitStatus(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}var GOT={},currentModuleWeakSymbols=new Set([]),GOTHandler={get(e,t){var s=GOT[t];return s||(s=GOT[t]=new WebAssembly.Global({value:"i32",mutable:!0})),currentModuleWeakSymbols.has(t)||(s.required=!0),s}},LE_HEAP_LOAD_F32=e=>HEAP_DATA_VIEW.getFloat32(e,!0),LE_HEAP_LOAD_F64=e=>HEAP_DATA_VIEW.getFloat64(e,!0),LE_HEAP_LOAD_I16=e=>HEAP_DATA_VIEW.getInt16(e,!0),LE_HEAP_LOAD_I32=e=>HEAP_DATA_VIEW.getInt32(e,!0),LE_HEAP_LOAD_U32=e=>HEAP_DATA_VIEW.getUint32(e,!0),LE_HEAP_STORE_F32=(e,t)=>HEAP_DATA_VIEW.setFloat32(e,t,!0),LE_HEAP_STORE_F64=(e,t)=>HEAP_DATA_VIEW.setFloat64(e,t,!0),LE_HEAP_STORE_I16=(e,t)=>HEAP_DATA_VIEW.setInt16(e,t,!0),LE_HEAP_STORE_I32=(e,t)=>HEAP_DATA_VIEW.setInt32(e,t,!0),LE_HEAP_STORE_U32=(e,t)=>HEAP_DATA_VIEW.setUint32(e,t,!0),callRuntimeCallbacks=e=>{for(;e.length>0;)e.shift()(Module)},UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder:void 0,UTF8ArrayToString=(e,t,s)=>{for(var n=t+s,i=t;e[i]&&!(i>=n);)++i;if(i-t>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,i));for(var r="";t<i;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)r+=String.fromCharCode(o);else{var l=o-65536;r+=String.fromCharCode(55296|l>>10,56320|1023&l)}}else r+=String.fromCharCode((31&o)<<6|a)}else r+=String.fromCharCode(o)}return r},getDylinkMetadata=e=>{var t=0,s=0;function n(){for(var s=0,n=1;;){var i=e[t++];if(s+=(127&i)*n,n*=128,!(128&i))break}return s}function i(){var s=n();return UTF8ArrayToString(e,(t+=s)-s,s)}function r(e,t){if(e)throw new Error(t)}var o="dylink.0";if(e instanceof WebAssembly.Module){var a=WebAssembly.Module.customSections(e,o);0===a.length&&(o="dylink",a=WebAssembly.Module.customSections(e,o)),r(0===a.length,"need dylink section"),s=(e=new Uint8Array(a[0])).length}else{var c=new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer);r(!(1836278016==c[0]||6386541==c[0]),"need to see wasm magic number"),r(0!==e[8],"need the dylink section to be first"),t=9;var l=n();s=t+l,o=i()}var u={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if("dylink"==o){u.memorySize=n(),u.memoryAlign=n(),u.tableSize=n(),u.tableAlign=n();for(var d=n(),m=0;m<d;++m){var p=i();u.neededDynlibs.push(p)}}else{r("dylink.0"!==o);for(;t<s;){var h=e[t++],g=n();if(1===h)u.memorySize=n(),u.memoryAlign=n(),u.tableSize=n(),u.tableAlign=n();else if(2===h)for(d=n(),m=0;m<d;++m)p=i(),u.neededDynlibs.push(p);else if(3===h)for(var _=n();_--;){var f=i();256&n()&&u.tlsExports.add(f)}else if(4===h)for(_=n();_--;){i(),f=i();1==(3&n())&&u.weakImports.add(f)}else t+=g}}return u};function getValue(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return HEAP8[e];case"i16":return LE_HEAP_LOAD_I16(2*(e>>1));case"i32":return LE_HEAP_LOAD_I32(4*(e>>2));case"i64":abort("to do getValue(i64) use WASM_BIGINT");case"float":return LE_HEAP_LOAD_F32(4*(e>>2));case"double":return LE_HEAP_LOAD_F64(8*(e>>3));case"*":return LE_HEAP_LOAD_U32(4*(e>>2));default:abort(`invalid type for getValue: ${t}`)}}var newDSO=(e,t,s)=>{var n={refcount:1/0,name:e,exports:s,global:!0};return LDSO.loadedLibsByName[e]=n,null!=t&&(LDSO.loadedLibsByHandle[t]=n),n},LDSO={loadedLibsByName:{},loadedLibsByHandle:{},init(){newDSO("__main__",0,wasmImports)}},___heap_base=78112,zeroMemory=(e,t)=>(HEAPU8.fill(0,e,e+t),e),alignMemory=(e,t)=>Math.ceil(e/t)*t,getMemory=e=>{if(runtimeInitialized)return zeroMemory(_malloc(e),e);var t=___heap_base,s=t+alignMemory(e,16);return ___heap_base=s,GOT.__heap_base.value=s,t},isInternalSym=e=>["__cpp_exception","__c_longjmp","__wasm_apply_data_relocs","__dso_handle","__tls_size","__tls_align","__set_stack_limits","_emscripten_tls_init","__wasm_init_tls","__wasm_call_ctors","__start_em_asm","__stop_em_asm","__start_em_js","__stop_em_js"].includes(e)||e.startsWith("__em_js__"),uleb128Encode=(e,t)=>{e<128?t.push(e):t.push(e%128|128,e>>7)},sigToWasmTypes=e=>{for(var t={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"},s={parameters:[],results:"v"==e[0]?[]:[t[e[0]]]},n=1;n<e.length;++n)s.parameters.push(t[e[n]]);return s},generateFuncType=(e,t)=>{var s=e.slice(0,1),n=e.slice(1),i={i:127,p:127,j:126,f:125,d:124,e:111};t.push(96),uleb128Encode(n.length,t);for(var r=0;r<n.length;++r)t.push(i[n[r]]);"v"==s?t.push(0):t.push(1,i[s])},convertJsFunctionToWasm=(e,t)=>{if("function"==typeof WebAssembly.Function)return new WebAssembly.Function(sigToWasmTypes(t),e);var s=[1];generateFuncType(t,s);var n=[0,97,115,109,1,0,0,0,1];uleb128Encode(s.length,n),n.push(...s),n.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var i=new WebAssembly.Module(new Uint8Array(n));return new WebAssembly.Instance(i,{e:{f:e}}).exports.f},wasmTableMirror=[],wasmTable=new WebAssembly.Table({initial:28,element:"anyfunc"}),getWasmTableEntry=e=>{var t=wasmTableMirror[e];return t||(e>=wasmTableMirror.length&&(wasmTableMirror.length=e+1),wasmTableMirror[e]=t=wasmTable.get(e)),t},updateTableMap=(e,t)=>{if(functionsInTableMap)for(var s=e;s<e+t;s++){var n=getWasmTableEntry(s);n&&functionsInTableMap.set(n,s)}},functionsInTableMap,getFunctionAddress=e=>(functionsInTableMap||(functionsInTableMap=new WeakMap,updateTableMap(0,wasmTable.length)),functionsInTableMap.get(e)||0),freeTableIndexes=[],getEmptyTableSlot=()=>{if(freeTableIndexes.length)return freeTableIndexes.pop();try{wasmTable.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return wasmTable.length-1},setWasmTableEntry=(e,t)=>{wasmTable.set(e,t),wasmTableMirror[e]=wasmTable.get(e)},addFunction=(e,t)=>{var s=getFunctionAddress(e);if(s)return s;var n=getEmptyTableSlot();try{setWasmTableEntry(n,e)}catch(s){if(!(s instanceof TypeError))throw s;var i=convertJsFunctionToWasm(e,t);setWasmTableEntry(n,i)}return functionsInTableMap.set(e,n),n},updateGOT=(e,t)=>{for(var s in e)if(!isInternalSym(s)){var n=e[s];s.startsWith("orig$")&&(s=s.split("$")[1],t=!0),GOT[s]||=new WebAssembly.Global({value:"i32",mutable:!0}),(t||0==GOT[s].value)&&("function"==typeof n?GOT[s].value=addFunction(n):"number"==typeof n?GOT[s].value=n:err(`unhandled export type for '${s}': ${typeof n}`))}},relocateExports=(e,t,s)=>{var n={};for(var i in e){var r=e[i];"object"==typeof r&&(r=r.value),"number"==typeof r&&(r+=t),n[i]=r}return updateGOT(n,s),n},isSymbolDefined=e=>{var t=wasmImports[e];return!(!t||t.stub)},dynCallLegacy=(e,t,s)=>(e=e.replace(/p/g,"i"),(0,Module["dynCall_"+e])(t,...s)),dynCall=(e,t,s=[])=>e.includes("j")?dynCallLegacy(e,t,s):getWasmTableEntry(t)(...s),stackSave=()=>_emscripten_stack_get_current(),stackRestore=e=>__emscripten_stack_restore(e),createInvokeFunction=e=>(t,...s)=>{var n=stackSave();try{return dynCall(e,t,s)}catch(e){if(stackRestore(n),e!==e+0)throw e;_setThrew(1,0)}},resolveGlobalSymbol=(e,t=!1)=>{var s;return t&&"orig$"+e in wasmImports&&(e="orig$"+e),isSymbolDefined(e)?s=wasmImports[e]:e.startsWith("invoke_")&&(s=wasmImports[e]=createInvokeFunction(e.split("_")[1])),{sym:s,name:e}},UTF8ToString=(e,t)=>e?UTF8ArrayToString(HEAPU8,e,t):"",loadWebAssemblyModule=(binary,flags,libName,localScope,handle)=>{var metadata=getDylinkMetadata(binary);function loadModule(){var firstLoad=!handle||!HEAP8[handle+8];if(firstLoad){var memAlign=Math.pow(2,metadata.memoryAlign),memoryBase=metadata.memorySize?alignMemory(getMemory(metadata.memorySize+memAlign),memAlign):0,tableBase=metadata.tableSize?wasmTable.length:0;handle&&(HEAP8[handle+8]=1,LE_HEAP_STORE_U32(4*(handle+12>>2),memoryBase),LE_HEAP_STORE_I32(4*(handle+16>>2),metadata.memorySize),LE_HEAP_STORE_U32(4*(handle+20>>2),tableBase),LE_HEAP_STORE_I32(4*(handle+24>>2),metadata.tableSize))}else memoryBase=LE_HEAP_LOAD_U32(4*(handle+12>>2)),tableBase=LE_HEAP_LOAD_U32(4*(handle+20>>2));var tableGrowthNeeded=tableBase+metadata.tableSize-wasmTable.length,moduleExports;function resolveSymbol(e){var t=resolveGlobalSymbol(e).sym;return!t&&localScope&&(t=localScope[e]),t||(t=moduleExports[e]),t}tableGrowthNeeded>0&&wasmTable.grow(tableGrowthNeeded);var proxyHandler={get(e,t){switch(t){case"__memory_base":return memoryBase;case"__table_base":return tableBase}if(t in wasmImports&&!wasmImports[t].stub)return wasmImports[t];var s;t in e||(e[t]=(...e)=>(s||=resolveSymbol(t),s(...e)));return e[t]}},proxy=new Proxy({},proxyHandler),info={"GOT.mem":new Proxy({},GOTHandler),"GOT.func":new Proxy({},GOTHandler),env:proxy,wasi_snapshot_preview1:proxy};function postInstantiation(module,instance){function addEmAsm(addr,body){for(var args=[],arity=0;arity<16&&-1!=body.indexOf("$"+arity);arity++)args.push("$"+arity);args=args.join(",");var func=`(${args}) => { ${body} };`;ASM_CONSTS[start]=eval(func)}if(updateTableMap(tableBase,metadata.tableSize),moduleExports=relocateExports(instance.exports,memoryBase),flags.allowUndefined||reportUndefinedSymbols(),"__start_em_asm"in moduleExports)for(var start=moduleExports.__start_em_asm,stop=moduleExports.__stop_em_asm;start<stop;){var jsString=UTF8ToString(start);addEmAsm(start,jsString),start=HEAPU8.indexOf(0,start)+1}function addEmJs(name,cSig,body){var jsArgs=[];if(cSig=cSig.slice(1,-1),"void"!=cSig)for(var i in cSig=cSig.split(","),cSig){var jsArg=cSig[i].split(" ").pop();jsArgs.push(jsArg.replace("*",""))}var func=`(${jsArgs}) => ${body};`;moduleExports[name]=eval(func)}for(var name in moduleExports)if(name.startsWith("__em_js__")){var start=moduleExports[name],jsString=UTF8ToString(start),parts=jsString.split("<::>");addEmJs(name.replace("__em_js__",""),parts[0],parts[1]),delete moduleExports[name]}var applyRelocs=moduleExports.__wasm_apply_data_relocs;applyRelocs&&(runtimeInitialized?applyRelocs():__RELOC_FUNCS__.push(applyRelocs));var init=moduleExports.__wasm_call_ctors;return init&&(runtimeInitialized?init():__ATINIT__.push(init)),moduleExports}if(flags.loadAsync){if(binary instanceof WebAssembly.Module){var instance=new WebAssembly.Instance(binary,info);return Promise.resolve(postInstantiation(binary,instance))}return WebAssembly.instantiate(binary,info).then((e=>postInstantiation(e.module,e.instance)))}var module=binary instanceof WebAssembly.Module?binary:new WebAssembly.Module(binary),instance=new WebAssembly.Instance(module,info);return postInstantiation(module,instance)}return currentModuleWeakSymbols=metadata.weakImports,flags.loadAsync?metadata.neededDynlibs.reduce(((e,t)=>e.then((()=>loadDynamicLibrary(t,flags,localScope)))),Promise.resolve()).then(loadModule):(metadata.neededDynlibs.forEach((e=>loadDynamicLibrary(e,flags,localScope))),loadModule())},mergeLibSymbols=(e,t)=>{for(var[s,n]of Object.entries(e)){const e=e=>{isSymbolDefined(e)||(wasmImports[e]=n)};e(s);const t="__main_argc_argv";"main"==s&&e(t),s==t&&e("main"),s.startsWith("dynCall_")&&!Module.hasOwnProperty(s)&&(Module[s]=n)}},asyncLoad=(e,t,s,n)=>{var i=n?"":getUniqueRunDependency(`al ${e}`);readAsync(e).then((e=>{t(new Uint8Array(e)),i&&removeRunDependency(i)}),(t=>{if(!s)throw`Loading data file "${e}" failed.`;s()})),i&&addRunDependency(i)};function loadDynamicLibrary(e,t={global:!0,nodelete:!0},s,n){var i=LDSO.loadedLibsByName[e];if(i)return t.global?i.global||(i.global=!0,mergeLibSymbols(i.exports,e)):s&&Object.assign(s,i.exports),t.nodelete&&i.refcount!==1/0&&(i.refcount=1/0),i.refcount++,n&&(LDSO.loadedLibsByHandle[n]=i),!t.loadAsync||Promise.resolve(!0);function r(){if(n){var s=LE_HEAP_LOAD_U32(4*(n+28>>2)),i=LE_HEAP_LOAD_U32(4*(n+32>>2));if(s&&i){var r=HEAP8.slice(s,s+i);return t.loadAsync?Promise.resolve(r):r}}var o=locateFile(e);if(t.loadAsync)return new Promise((function(e,t){asyncLoad(o,e,t)}));if(!readBinary)throw new Error(`${o}: file not found, and synchronous loading of external files is not available`);return readBinary(o)}function o(){return t.loadAsync?r().then((i=>loadWebAssemblyModule(i,t,e,s,n))):loadWebAssemblyModule(r(),t,e,s,n)}function a(t){i.global?mergeLibSymbols(t,e):s&&Object.assign(s,t),i.exports=t}return(i=newDSO(e,n,"loading")).refcount=t.nodelete?1/0:1,i.global=t.global,t.loadAsync?o().then((e=>(a(e),!0))):(a(o()),!0)}var reportUndefinedSymbols=()=>{for(var[e,t]of Object.entries(GOT))if(0==t.value){var s=resolveGlobalSymbol(e,!0).sym;if(!s&&!t.required)continue;if("function"==typeof s)t.value=addFunction(s,s.sig);else{if("number"!=typeof s)throw new Error(`bad export type for '${e}': ${typeof s}`);t.value=s}}},loadDylibs=()=>{dynamicLibraries.length?(addRunDependency("loadDylibs"),dynamicLibraries.reduce(((e,t)=>e.then((()=>loadDynamicLibrary(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})))),Promise.resolve()).then((()=>{reportUndefinedSymbols(),removeRunDependency("loadDylibs")}))):reportUndefinedSymbols()},noExitRuntime=Module.noExitRuntime||!0;function setValue(e,t,s="i8"){switch(s.endsWith("*")&&(s="*"),s){case"i1":case"i8":HEAP8[e]=t;break;case"i16":LE_HEAP_STORE_I16(2*(e>>1),t);break;case"i32":LE_HEAP_STORE_I32(4*(e>>2),t);break;case"i64":abort("to do setValue(i64) use WASM_BIGINT");case"float":LE_HEAP_STORE_F32(4*(e>>2),t);break;case"double":LE_HEAP_STORE_F64(8*(e>>3),t);break;case"*":LE_HEAP_STORE_U32(4*(e>>2),t);break;default:abort(`invalid type for setValue: ${s}`)}}var ___memory_base=new WebAssembly.Global({value:"i32",mutable:!1},1024),___stack_pointer=new WebAssembly.Global({value:"i32",mutable:!0},78112),___table_base=new WebAssembly.Global({value:"i32",mutable:!1},1),__abort_js=()=>{abort("")};__abort_js.sig="v";var nowIsMonotonic=1,__emscripten_get_now_is_monotonic=()=>nowIsMonotonic;__emscripten_get_now_is_monotonic.sig="i";var __emscripten_memcpy_js=(e,t,s)=>HEAPU8.copyWithin(e,t,t+s);__emscripten_memcpy_js.sig="vppp";var _emscripten_date_now=()=>Date.now(),_emscripten_get_now;_emscripten_date_now.sig="d",_emscripten_get_now=()=>performance.now(),_emscripten_get_now.sig="d";var getHeapMax=()=>2147483648,growMemory=e=>{var t=(e-wasmMemory.buffer.byteLength+65535)/65536;try{return wasmMemory.grow(t),updateMemoryViews(),1}catch(e){}},_emscripten_resize_heap=e=>{var t=HEAPU8.length;e>>>=0;var s=getHeapMax();if(e>s)return!1;for(var n,i,r=1;r<=4;r*=2){var o=t*(1+.2/r);o=Math.min(o,e+100663296);var a=Math.min(s,(n=Math.max(e,o))+((i=65536)-n%i)%i);if(growMemory(a))return!0}return!1};_emscripten_resize_heap.sig="ip";var _fd_close=e=>52;_fd_close.sig="ii";var convertI32PairToI53Checked=(e,t)=>t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN;function _fd_seek(e,t,s,n,i){convertI32PairToI53Checked(t,s);return 70}_fd_seek.sig="iiiiip";var printCharBuffers=[null,[],[]],printChar=(e,t)=>{var s=printCharBuffers[e];0===t||10===t?((1===e?out:err)(UTF8ArrayToString(s,0)),s.length=0):s.push(t)},_fd_write=(e,t,s,n)=>{for(var i=0,r=0;r<s;r++){var o=LE_HEAP_LOAD_U32(4*(t>>2)),a=LE_HEAP_LOAD_U32(4*(t+4>>2));t+=8;for(var c=0;c<a;c++)printChar(e,HEAPU8[o+c]);i+=a}return LE_HEAP_STORE_U32(4*(n>>2),i),0};function _tree_sitter_log_callback(e,t){if(currentLogCallback){const s=UTF8ToString(t);currentLogCallback(s,0!==e)}}function _tree_sitter_parse_callback(e,t,s,n,i){const r=currentParseCallback(t,{row:s,column:n});"string"==typeof r?(setValue(i,r.length,"i32"),stringToUTF16(r,e,10240)):setValue(i,0,"i32")}_fd_write.sig="iippp";var runtimeKeepaliveCounter=0,keepRuntimeAlive=()=>noExitRuntime||runtimeKeepaliveCounter>0,_proc_exit=e=>{EXITSTATUS=e,keepRuntimeAlive()||(Module.onExit?.(e),ABORT=!0),quit_(e,new ExitStatus(e))};_proc_exit.sig="vi";var exitJS=(e,t)=>{EXITSTATUS=e,_proc_exit(e)},handleException=e=>{if(e instanceof ExitStatus||"unwind"==e)return EXITSTATUS;quit_(1,e)},lengthBytesUTF8=e=>{for(var t=0,s=0;s<e.length;++s){var n=e.charCodeAt(s);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++s):t+=3}return t},stringToUTF8Array=(e,t,s,n)=>{if(!(n>0))return 0;for(var i=s,r=s+n-1,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o);if(a<=127){if(s>=r)break;t[s++]=a}else if(a<=2047){if(s+1>=r)break;t[s++]=192|a>>6,t[s++]=128|63&a}else if(a<=65535){if(s+2>=r)break;t[s++]=224|a>>12,t[s++]=128|a>>6&63,t[s++]=128|63&a}else{if(s+3>=r)break;t[s++]=240|a>>18,t[s++]=128|a>>12&63,t[s++]=128|a>>6&63,t[s++]=128|63&a}}return t[s]=0,s-i},stringToUTF8=(e,t,s)=>stringToUTF8Array(e,HEAPU8,t,s),stackAlloc=e=>__emscripten_stack_alloc(e),stringToUTF8OnStack=e=>{var t=lengthBytesUTF8(e)+1,s=stackAlloc(t);return stringToUTF8(e,s,t),s},stringToUTF16=(e,t,s)=>{if(s??=2147483647,s<2)return 0;for(var n=t,i=(s-=2)<2*e.length?s/2:e.length,r=0;r<i;++r){var o=e.charCodeAt(r);LE_HEAP_STORE_I16(2*(t>>1),o),t+=2}return LE_HEAP_STORE_I16(2*(t>>1),0),t-n},AsciiToString=e=>{for(var t="";;){var s=HEAPU8[e++];if(!s)return t;t+=String.fromCharCode(s)}},wasmImports={__heap_base:___heap_base,__indirect_function_table:wasmTable,__memory_base:___memory_base,__stack_pointer:___stack_pointer,__table_base:___table_base,_abort_js:__abort_js,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,_emscripten_memcpy_js:__emscripten_memcpy_js,emscripten_get_now:_emscripten_get_now,emscripten_resize_heap:_emscripten_resize_heap,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write,memory:wasmMemory,tree_sitter_log_callback:_tree_sitter_log_callback,tree_sitter_parse_callback:_tree_sitter_parse_callback},wasmExports=createWasm(),___wasm_call_ctors=()=>(___wasm_call_ctors=wasmExports.__wasm_call_ctors)(),___wasm_apply_data_relocs=()=>(___wasm_apply_data_relocs=wasmExports.__wasm_apply_data_relocs)(),_malloc=Module._malloc=e=>(_malloc=Module._malloc=wasmExports.malloc)(e),_calloc=Module._calloc=(e,t)=>(_calloc=Module._calloc=wasmExports.calloc)(e,t),_realloc=Module._realloc=(e,t)=>(_realloc=Module._realloc=wasmExports.realloc)(e,t),_free=Module._free=e=>(_free=Module._free=wasmExports.free)(e),_ts_language_symbol_count=Module._ts_language_symbol_count=e=>(_ts_language_symbol_count=Module._ts_language_symbol_count=wasmExports.ts_language_symbol_count)(e),_ts_language_state_count=Module._ts_language_state_count=e=>(_ts_language_state_count=Module._ts_language_state_count=wasmExports.ts_language_state_count)(e),_ts_language_version=Module._ts_language_version=e=>(_ts_language_version=Module._ts_language_version=wasmExports.ts_language_version)(e),_ts_language_field_count=Module._ts_language_field_count=e=>(_ts_language_field_count=Module._ts_language_field_count=wasmExports.ts_language_field_count)(e),_ts_language_next_state=Module._ts_language_next_state=(e,t,s)=>(_ts_language_next_state=Module._ts_language_next_state=wasmExports.ts_language_next_state)(e,t,s),_ts_language_symbol_name=Module._ts_language_symbol_name=(e,t)=>(_ts_language_symbol_name=Module._ts_language_symbol_name=wasmExports.ts_language_symbol_name)(e,t),_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=(e,t,s,n)=>(_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=wasmExports.ts_language_symbol_for_name)(e,t,s,n),_strncmp=Module._strncmp=(e,t,s)=>(_strncmp=Module._strncmp=wasmExports.strncmp)(e,t,s),_ts_language_symbol_type=Module._ts_language_symbol_type=(e,t)=>(_ts_language_symbol_type=Module._ts_language_symbol_type=wasmExports.ts_language_symbol_type)(e,t),_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=(e,t)=>(_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=wasmExports.ts_language_field_name_for_id)(e,t),_ts_lookahead_iterator_new=Module._ts_lookahead_iterator_new=(e,t)=>(_ts_lookahead_iterator_new=Module._ts_lookahead_iterator_new=wasmExports.ts_lookahead_iterator_new)(e,t),_ts_lookahead_iterator_delete=Module._ts_lookahead_iterator_delete=e=>(_ts_lookahead_iterator_delete=Module._ts_lookahead_iterator_delete=wasmExports.ts_lookahead_iterator_delete)(e),_ts_lookahead_iterator_reset_state=Module._ts_lookahead_iterator_reset_state=(e,t)=>(_ts_lookahead_iterator_reset_state=Module._ts_lookahead_iterator_reset_state=wasmExports.ts_lookahead_iterator_reset_state)(e,t),_ts_lookahead_iterator_reset=Module._ts_lookahead_iterator_reset=(e,t,s)=>(_ts_lookahead_iterator_reset=Module._ts_lookahead_iterator_reset=wasmExports.ts_lookahead_iterator_reset)(e,t,s),_ts_lookahead_iterator_next=Module._ts_lookahead_iterator_next=e=>(_ts_lookahead_iterator_next=Module._ts_lookahead_iterator_next=wasmExports.ts_lookahead_iterator_next)(e),_ts_lookahead_iterator_current_symbol=Module._ts_lookahead_iterator_current_symbol=e=>(_ts_lookahead_iterator_current_symbol=Module._ts_lookahead_iterator_current_symbol=wasmExports.ts_lookahead_iterator_current_symbol)(e),_memset=Module._memset=(e,t,s)=>(_memset=Module._memset=wasmExports.memset)(e,t,s),_memcpy=Module._memcpy=(e,t,s)=>(_memcpy=Module._memcpy=wasmExports.memcpy)(e,t,s),_ts_parser_delete=Module._ts_parser_delete=e=>(_ts_parser_delete=Module._ts_parser_delete=wasmExports.ts_parser_delete)(e),_ts_parser_reset=Module._ts_parser_reset=e=>(_ts_parser_reset=Module._ts_parser_reset=wasmExports.ts_parser_reset)(e),_ts_parser_set_language=Module._ts_parser_set_language=(e,t)=>(_ts_parser_set_language=Module._ts_parser_set_language=wasmExports.ts_parser_set_language)(e,t),_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=e=>(_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=wasmExports.ts_parser_timeout_micros)(e),_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=(e,t,s)=>(_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=wasmExports.ts_parser_set_timeout_micros)(e,t,s),_ts_parser_set_included_ranges=Module._ts_parser_set_included_ranges=(e,t,s)=>(_ts_parser_set_included_ranges=Module._ts_parser_set_included_ranges=wasmExports.ts_parser_set_included_ranges)(e,t,s),_memmove=Module._memmove=(e,t,s)=>(_memmove=Module._memmove=wasmExports.memmove)(e,t,s),_memcmp=Module._memcmp=(e,t,s)=>(_memcmp=Module._memcmp=wasmExports.memcmp)(e,t,s),_ts_query_new=Module._ts_query_new=(e,t,s,n,i)=>(_ts_query_new=Module._ts_query_new=wasmExports.ts_query_new)(e,t,s,n,i),_ts_query_delete=Module._ts_query_delete=e=>(_ts_query_delete=Module._ts_query_delete=wasmExports.ts_query_delete)(e),_iswspace=Module._iswspace=e=>(_iswspace=Module._iswspace=wasmExports.iswspace)(e),_iswalnum=Module._iswalnum=e=>(_iswalnum=Module._iswalnum=wasmExports.iswalnum)(e),_ts_query_pattern_count=Module._ts_query_pattern_count=e=>(_ts_query_pattern_count=Module._ts_query_pattern_count=wasmExports.ts_query_pattern_count)(e),_ts_query_capture_count=Module._ts_query_capture_count=e=>(_ts_query_capture_count=Module._ts_query_capture_count=wasmExports.ts_query_capture_count)(e),_ts_query_string_count=Module._ts_query_string_count=e=>(_ts_query_string_count=Module._ts_query_string_count=wasmExports.ts_query_string_count)(e),_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=(e,t,s)=>(_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=wasmExports.ts_query_capture_name_for_id)(e,t,s),_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=(e,t,s)=>(_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=wasmExports.ts_query_string_value_for_id)(e,t,s),_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=(e,t,s)=>(_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=wasmExports.ts_query_predicates_for_pattern)(e,t,s),_ts_query_disable_capture=Module._ts_query_disable_capture=(e,t,s)=>(_ts_query_disable_capture=Module._ts_query_disable_capture=wasmExports.ts_query_disable_capture)(e,t,s),_ts_tree_copy=Module._ts_tree_copy=e=>(_ts_tree_copy=Module._ts_tree_copy=wasmExports.ts_tree_copy)(e),_ts_tree_delete=Module._ts_tree_delete=e=>(_ts_tree_delete=Module._ts_tree_delete=wasmExports.ts_tree_delete)(e),_ts_init=Module._ts_init=()=>(_ts_init=Module._ts_init=wasmExports.ts_init)(),_ts_parser_new_wasm=Module._ts_parser_new_wasm=()=>(_ts_parser_new_wasm=Module._ts_parser_new_wasm=wasmExports.ts_parser_new_wasm)(),_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=(e,t)=>(_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=wasmExports.ts_parser_enable_logger_wasm)(e,t),_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=(e,t,s,n,i)=>(_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=wasmExports.ts_parser_parse_wasm)(e,t,s,n,i),_ts_parser_included_ranges_wasm=Module._ts_parser_included_ranges_wasm=e=>(_ts_parser_included_ranges_wasm=Module._ts_parser_included_ranges_wasm=wasmExports.ts_parser_included_ranges_wasm)(e),_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=(e,t)=>(_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=wasmExports.ts_language_type_is_named_wasm)(e,t),_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=(e,t)=>(_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=wasmExports.ts_language_type_is_visible_wasm)(e,t),_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=e=>(_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=wasmExports.ts_tree_root_node_wasm)(e),_ts_tree_root_node_with_offset_wasm=Module._ts_tree_root_node_with_offset_wasm=e=>(_ts_tree_root_node_with_offset_wasm=Module._ts_tree_root_node_with_offset_wasm=wasmExports.ts_tree_root_node_with_offset_wasm)(e),_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=e=>(_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=wasmExports.ts_tree_edit_wasm)(e),_ts_tree_included_ranges_wasm=Module._ts_tree_included_ranges_wasm=e=>(_ts_tree_included_ranges_wasm=Module._ts_tree_included_ranges_wasm=wasmExports.ts_tree_included_ranges_wasm)(e),_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=(e,t)=>(_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=wasmExports.ts_tree_get_changed_ranges_wasm)(e,t),_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=e=>(_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=wasmExports.ts_tree_cursor_new_wasm)(e),_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=e=>(_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=wasmExports.ts_tree_cursor_delete_wasm)(e),_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=e=>(_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=wasmExports.ts_tree_cursor_reset_wasm)(e),_ts_tree_cursor_reset_to_wasm=Module._ts_tree_cursor_reset_to_wasm=(e,t)=>(_ts_tree_cursor_reset_to_wasm=Module._ts_tree_cursor_reset_to_wasm=wasmExports.ts_tree_cursor_reset_to_wasm)(e,t),_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=e=>(_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=wasmExports.ts_tree_cursor_goto_first_child_wasm)(e),_ts_tree_cursor_goto_last_child_wasm=Module._ts_tree_cursor_goto_last_child_wasm=e=>(_ts_tree_cursor_goto_last_child_wasm=Module._ts_tree_cursor_goto_last_child_wasm=wasmExports.ts_tree_cursor_goto_last_child_wasm)(e),_ts_tree_cursor_goto_first_child_for_index_wasm=Module._ts_tree_cursor_goto_first_child_for_index_wasm=e=>(_ts_tree_cursor_goto_first_child_for_index_wasm=Module._ts_tree_cursor_goto_first_child_for_index_wasm=wasmExports.ts_tree_cursor_goto_first_child_for_index_wasm)(e),_ts_tree_cursor_goto_first_child_for_position_wasm=Module._ts_tree_cursor_goto_first_child_for_position_wasm=e=>(_ts_tree_cursor_goto_first_child_for_position_wasm=Module._ts_tree_cursor_goto_first_child_for_position_wasm=wasmExports.ts_tree_cursor_goto_first_child_for_position_wasm)(e),_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=e=>(_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=wasmExports.ts_tree_cursor_goto_next_sibling_wasm)(e),_ts_tree_cursor_goto_previous_sibling_wasm=Module._ts_tree_cursor_goto_previous_sibling_wasm=e=>(_ts_tree_cursor_goto_previous_sibling_wasm=Module._ts_tree_cursor_goto_previous_sibling_wasm=wasmExports.ts_tree_cursor_goto_previous_sibling_wasm)(e),_ts_tree_cursor_goto_descendant_wasm=Module._ts_tree_cursor_goto_descendant_wasm=(e,t)=>(_ts_tree_cursor_goto_descendant_wasm=Module._ts_tree_cursor_goto_descendant_wasm=wasmExports.ts_tree_cursor_goto_descendant_wasm)(e,t),_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=e=>(_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=wasmExports.ts_tree_cursor_goto_parent_wasm)(e),_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=e=>(_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=wasmExports.ts_tree_cursor_current_node_type_id_wasm)(e),_ts_tree_cursor_current_node_state_id_wasm=Module._ts_tree_cursor_current_node_state_id_wasm=e=>(_ts_tree_cursor_current_node_state_id_wasm=Module._ts_tree_cursor_current_node_state_id_wasm=wasmExports.ts_tree_cursor_current_node_state_id_wasm)(e),_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=e=>(_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=wasmExports.ts_tree_cursor_current_node_is_named_wasm)(e),_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=e=>(_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=wasmExports.ts_tree_cursor_current_node_is_missing_wasm)(e),_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=e=>(_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=wasmExports.ts_tree_cursor_current_node_id_wasm)(e),_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=e=>(_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=wasmExports.ts_tree_cursor_start_position_wasm)(e),_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=e=>(_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=wasmExports.ts_tree_cursor_end_position_wasm)(e),_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=e=>(_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=wasmExports.ts_tree_cursor_start_index_wasm)(e),_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=e=>(_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=wasmExports.ts_tree_cursor_end_index_wasm)(e),_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=e=>(_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=wasmExports.ts_tree_cursor_current_field_id_wasm)(e),_ts_tree_cursor_current_depth_wasm=Module._ts_tree_cursor_current_depth_wasm=e=>(_ts_tree_cursor_current_depth_wasm=Module._ts_tree_cursor_current_depth_wasm=wasmExports.ts_tree_cursor_current_depth_wasm)(e),_ts_tree_cursor_current_descendant_index_wasm=Module._ts_tree_cursor_current_descendant_index_wasm=e=>(_ts_tree_cursor_current_descendant_index_wasm=Module._ts_tree_cursor_current_descendant_index_wasm=wasmExports.ts_tree_cursor_current_descendant_index_wasm)(e),_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=e=>(_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=wasmExports.ts_tree_cursor_current_node_wasm)(e),_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=e=>(_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=wasmExports.ts_node_symbol_wasm)(e),_ts_node_field_name_for_child_wasm=Module._ts_node_field_name_for_child_wasm=(e,t)=>(_ts_node_field_name_for_child_wasm=Module._ts_node_field_name_for_child_wasm=wasmExports.ts_node_field_name_for_child_wasm)(e,t),_ts_node_children_by_field_id_wasm=Module._ts_node_children_by_field_id_wasm=(e,t)=>(_ts_node_children_by_field_id_wasm=Module._ts_node_children_by_field_id_wasm=wasmExports.ts_node_children_by_field_id_wasm)(e,t),_ts_node_first_child_for_byte_wasm=Module._ts_node_first_child_for_byte_wasm=e=>(_ts_node_first_child_for_byte_wasm=Module._ts_node_first_child_for_byte_wasm=wasmExports.ts_node_first_child_for_byte_wasm)(e),_ts_node_first_named_child_for_byte_wasm=Module._ts_node_first_named_child_for_byte_wasm=e=>(_ts_node_first_named_child_for_byte_wasm=Module._ts_node_first_named_child_for_byte_wasm=wasmExports.ts_node_first_named_child_for_byte_wasm)(e),_ts_node_grammar_symbol_wasm=Module._ts_node_grammar_symbol_wasm=e=>(_ts_node_grammar_symbol_wasm=Module._ts_node_grammar_symbol_wasm=wasmExports.ts_node_grammar_symbol_wasm)(e),_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=e=>(_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=wasmExports.ts_node_child_count_wasm)(e),_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=e=>(_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=wasmExports.ts_node_named_child_count_wasm)(e),_ts_node_child_wasm=Module._ts_node_child_wasm=(e,t)=>(_ts_node_child_wasm=Module._ts_node_child_wasm=wasmExports.ts_node_child_wasm)(e,t),_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=(e,t)=>(_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=wasmExports.ts_node_named_child_wasm)(e,t),_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=(e,t)=>(_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=wasmExports.ts_node_child_by_field_id_wasm)(e,t),_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=e=>(_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=wasmExports.ts_node_next_sibling_wasm)(e),_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=e=>(_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=wasmExports.ts_node_prev_sibling_wasm)(e),_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=e=>(_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=wasmExports.ts_node_next_named_sibling_wasm)(e),_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=e=>(_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=wasmExports.ts_node_prev_named_sibling_wasm)(e),_ts_node_descendant_count_wasm=Module._ts_node_descendant_count_wasm=e=>(_ts_node_descendant_count_wasm=Module._ts_node_descendant_count_wasm=wasmExports.ts_node_descendant_count_wasm)(e),_ts_node_parent_wasm=Module._ts_node_parent_wasm=e=>(_ts_node_parent_wasm=Module._ts_node_parent_wasm=wasmExports.ts_node_parent_wasm)(e),_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=e=>(_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=wasmExports.ts_node_descendant_for_index_wasm)(e),_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=e=>(_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=wasmExports.ts_node_named_descendant_for_index_wasm)(e),_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=e=>(_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=wasmExports.ts_node_descendant_for_position_wasm)(e),_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=e=>(_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=wasmExports.ts_node_named_descendant_for_position_wasm)(e),_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=e=>(_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=wasmExports.ts_node_start_point_wasm)(e),_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=e=>(_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=wasmExports.ts_node_end_point_wasm)(e),_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=e=>(_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=wasmExports.ts_node_start_index_wasm)(e),_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=e=>(_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=wasmExports.ts_node_end_index_wasm)(e),_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=e=>(_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=wasmExports.ts_node_to_string_wasm)(e),_ts_node_children_wasm=Module._ts_node_children_wasm=e=>(_ts_node_children_wasm=Module._ts_node_children_wasm=wasmExports.ts_node_children_wasm)(e),_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=e=>(_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=wasmExports.ts_node_named_children_wasm)(e),_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=(e,t,s,n,i,r,o)=>(_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=wasmExports.ts_node_descendants_of_type_wasm)(e,t,s,n,i,r,o),_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=e=>(_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=wasmExports.ts_node_is_named_wasm)(e),_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=e=>(_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=wasmExports.ts_node_has_changes_wasm)(e),_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=e=>(_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=wasmExports.ts_node_has_error_wasm)(e),_ts_node_is_error_wasm=Module._ts_node_is_error_wasm=e=>(_ts_node_is_error_wasm=Module._ts_node_is_error_wasm=wasmExports.ts_node_is_error_wasm)(e),_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=e=>(_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=wasmExports.ts_node_is_missing_wasm)(e),_ts_node_is_extra_wasm=Module._ts_node_is_extra_wasm=e=>(_ts_node_is_extra_wasm=Module._ts_node_is_extra_wasm=wasmExports.ts_node_is_extra_wasm)(e),_ts_node_parse_state_wasm=Module._ts_node_parse_state_wasm=e=>(_ts_node_parse_state_wasm=Module._ts_node_parse_state_wasm=wasmExports.ts_node_parse_state_wasm)(e),_ts_node_next_parse_state_wasm=Module._ts_node_next_parse_state_wasm=e=>(_ts_node_next_parse_state_wasm=Module._ts_node_next_parse_state_wasm=wasmExports.ts_node_next_parse_state_wasm)(e),_ts_query_matches_wasm=Module._ts_query_matches_wasm=(e,t,s,n,i,r,o,a,c,l,u)=>(_ts_query_matches_wasm=Module._ts_query_matches_wasm=wasmExports.ts_query_matches_wasm)(e,t,s,n,i,r,o,a,c,l,u),_ts_query_captures_wasm=Module._ts_query_captures_wasm=(e,t,s,n,i,r,o,a,c,l,u)=>(_ts_query_captures_wasm=Module._ts_query_captures_wasm=wasmExports.ts_query_captures_wasm)(e,t,s,n,i,r,o,a,c,l,u),_iswalpha=Module._iswalpha=e=>(_iswalpha=Module._iswalpha=wasmExports.iswalpha)(e),_iswblank=Module._iswblank=e=>(_iswblank=Module._iswblank=wasmExports.iswblank)(e),_iswdigit=Module._iswdigit=e=>(_iswdigit=Module._iswdigit=wasmExports.iswdigit)(e),_iswlower=Module._iswlower=e=>(_iswlower=Module._iswlower=wasmExports.iswlower)(e),_iswupper=Module._iswupper=e=>(_iswupper=Module._iswupper=wasmExports.iswupper)(e),_iswxdigit=Module._iswxdigit=e=>(_iswxdigit=Module._iswxdigit=wasmExports.iswxdigit)(e),_memchr=Module._memchr=(e,t,s)=>(_memchr=Module._memchr=wasmExports.memchr)(e,t,s),_strlen=Module._strlen=e=>(_strlen=Module._strlen=wasmExports.strlen)(e),_strcmp=Module._strcmp=(e,t)=>(_strcmp=Module._strcmp=wasmExports.strcmp)(e,t),_strncat=Module._strncat=(e,t,s)=>(_strncat=Module._strncat=wasmExports.strncat)(e,t,s),_strncpy=Module._strncpy=(e,t,s)=>(_strncpy=Module._strncpy=wasmExports.strncpy)(e,t,s),_towlower=Module._towlower=e=>(_towlower=Module._towlower=wasmExports.towlower)(e),_towupper=Module._towupper=e=>(_towupper=Module._towupper=wasmExports.towupper)(e),_setThrew=(e,t)=>(_setThrew=wasmExports.setThrew)(e,t),__emscripten_stack_restore=e=>(__emscripten_stack_restore=wasmExports._emscripten_stack_restore)(e),__emscripten_stack_alloc=e=>(__emscripten_stack_alloc=wasmExports._emscripten_stack_alloc)(e),_emscripten_stack_get_current=()=>(_emscripten_stack_get_current=wasmExports.emscripten_stack_get_current)(),dynCall_jiji=Module.dynCall_jiji=(e,t,s,n,i)=>(dynCall_jiji=Module.dynCall_jiji=wasmExports.dynCall_jiji)(e,t,s,n,i),_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=e=>(_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=wasmExports.orig$ts_parser_timeout_micros)(e),_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=(e,t)=>(_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=wasmExports.orig$ts_parser_set_timeout_micros)(e,t),calledRun;function callMain(e=[]){var t=resolveGlobalSymbol("main").sym;if(t){e.unshift(thisProgram);var s=e.length,n=stackAlloc(4*(s+1)),i=n;e.forEach((e=>{LE_HEAP_STORE_U32(4*(i>>2),stringToUTF8OnStack(e)),i+=4})),LE_HEAP_STORE_U32(4*(i>>2),0);try{var r=t(s,n);return exitJS(r,!0),r}catch(e){return handleException(e)}}}function run(e=arguments_){function t(){calledRun||(calledRun=!0,Module.calledRun=!0,ABORT||(initRuntime(),preMain(),Module.onRuntimeInitialized?.(),shouldRunNow&&callMain(e),postRun()))}runDependencies>0||(preRun(),runDependencies>0||(Module.setStatus?(Module.setStatus("Running..."),setTimeout((function(){setTimeout((function(){Module.setStatus("")}),1),t()}),1)):t()))}if(Module.AsciiToString=AsciiToString,Module.stringToUTF16=stringToUTF16,dependenciesFulfilled=function e(){calledRun||run(),calledRun||(dependenciesFulfilled=e)},Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run();const C=Module,INTERNAL={},SIZE_OF_INT=4,SIZE_OF_CURSOR=4*SIZE_OF_INT,SIZE_OF_NODE=5*SIZE_OF_INT,SIZE_OF_POINT=2*SIZE_OF_INT,SIZE_OF_RANGE=2*SIZE_OF_INT+2*SIZE_OF_POINT,ZERO_POINT={row:0,column:0},QUERY_WORD_REGEX=/[\w-.]*/g,PREDICATE_STEP_TYPE_CAPTURE=1,PREDICATE_STEP_TYPE_STRING=2,LANGUAGE_FUNCTION_REGEX=/^_?tree_sitter_\w+/;let VERSION,MIN_COMPATIBLE_VERSION,TRANSFER_BUFFER,currentParseCallback,currentLogCallback;class ParserImpl{static init(){TRANSFER_BUFFER=C._ts_init(),VERSION=getValue(TRANSFER_BUFFER,"i32"),MIN_COMPATIBLE_VERSION=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}initialize(){C._ts_parser_new_wasm(),this[0]=getValue(TRANSFER_BUFFER,"i32"),this[1]=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}delete(){C._ts_parser_delete(this[0]),C._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error("Argument must be a Language");{t=e[0];const s=C._ts_language_version(t);if(s<MIN_COMPATIBLE_VERSION||VERSION<s)throw new Error(`Incompatible language version ${s}. Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.`)}}else t=0,e=null;return this.language=e,C._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,s){if("string"==typeof e)currentParseCallback=(t,s)=>e.slice(t);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");currentParseCallback=e}this.logCallback?(currentLogCallback=this.logCallback,C._ts_parser_enable_logger_wasm(this[0],1)):(currentLogCallback=null,C._ts_parser_enable_logger_wasm(this[0],0));let n=0,i=0;if(s?.includedRanges){n=s.includedRanges.length,i=C._calloc(n,SIZE_OF_RANGE);let e=i;for(let t=0;t<n;t++)marshalRange(e,s.includedRanges[t]),e+=SIZE_OF_RANGE}const r=C._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,i,n);if(!r)throw currentParseCallback=null,currentLogCallback=null,new Error("Parsing failed");const o=new Tree(INTERNAL,r,this.language,currentParseCallback);return currentParseCallback=null,currentLogCallback=null,o}reset(){C._ts_parser_reset(this[0])}getIncludedRanges(){C._ts_parser_included_ranges_wasm(this[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),s=new Array(e);if(e>0){let n=t;for(let t=0;t<e;t++)s[t]=unmarshalRange(n),n+=SIZE_OF_RANGE;C._free(t)}return s}getTimeoutMicros(){return C._ts_parser_timeout_micros(this[0])}setTimeoutMicros(e){C._ts_parser_set_timeout_micros(this[0],e)}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class Tree{constructor(e,t,s,n){assertInternal(e),this[0]=t,this.language=s,this.textCallback=n}copy(){const e=C._ts_tree_copy(this[0]);return new Tree(INTERNAL,e,this.language,this.textCallback)}delete(){C._ts_tree_delete(this[0]),this[0]=0}edit(e){marshalEdit(e),C._ts_tree_edit_wasm(this[0])}get rootNode(){return C._ts_tree_root_node_wasm(this[0]),unmarshalNode(this)}rootNodeWithOffset(e,t){const s=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(s,e,"i32"),marshalPoint(s+SIZE_OF_INT,t),C._ts_tree_root_node_with_offset_wasm(this[0]),unmarshalNode(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==Tree)throw new TypeError("Argument must be a Tree");C._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=getValue(TRANSFER_BUFFER,"i32"),s=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=new Array(t);if(t>0){let e=s;for(let s=0;s<t;s++)n[s]=unmarshalRange(e),e+=SIZE_OF_RANGE;C._free(s)}return n}getIncludedRanges(){C._ts_tree_included_ranges_wasm(this[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),s=new Array(e);if(e>0){let n=t;for(let t=0;t<e;t++)s[t]=unmarshalRange(n),n+=SIZE_OF_RANGE;C._free(t)}return s}}class Node{constructor(e,t){assertInternal(e),this.tree=t}get typeId(){return marshalNode(this),C._ts_node_symbol_wasm(this.tree[0])}get grammarId(){return marshalNode(this),C._ts_node_grammar_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get grammarType(){return this.tree.language.types[this.grammarId]||"ERROR"}get endPosition(){return marshalNode(this),C._ts_node_end_point_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endIndex(){return marshalNode(this),C._ts_node_end_index_wasm(this.tree[0])}get text(){return getText(this.tree,this.startIndex,this.endIndex)}get parseState(){return marshalNode(this),C._ts_node_parse_state_wasm(this.tree[0])}get nextParseState(){return marshalNode(this),C._ts_node_next_parse_state_wasm(this.tree[0])}get isNamed(){return marshalNode(this),1===C._ts_node_is_named_wasm(this.tree[0])}get hasError(){return marshalNode(this),1===C._ts_node_has_error_wasm(this.tree[0])}get hasChanges(){return marshalNode(this),1===C._ts_node_has_changes_wasm(this.tree[0])}get isError(){return marshalNode(this),1===C._ts_node_is_error_wasm(this.tree[0])}get isMissing(){return marshalNode(this),1===C._ts_node_is_missing_wasm(this.tree[0])}get isExtra(){return marshalNode(this),1===C._ts_node_is_extra_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return marshalNode(this),C._ts_node_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}namedChild(e){return marshalNode(this),C._ts_node_named_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldId(e){return marshalNode(this),C._ts_node_child_by_field_id_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);return-1!==t?this.childForFieldId(t):null}fieldNameForChild(e){marshalNode(this);const t=C._ts_node_field_name_for_child_wasm(this.tree[0],e);if(!t)return null;return AsciiToString(t)}childrenForFieldName(e){const t=this.tree.language.fields.indexOf(e);return-1!==t&&0!==t?this.childrenForFieldId(t):[]}childrenForFieldId(e){marshalNode(this),C._ts_node_children_by_field_id_wasm(this.tree[0],e);const t=getValue(TRANSFER_BUFFER,"i32"),s=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=new Array(t);if(t>0){let e=s;for(let s=0;s<t;s++)n[s]=unmarshalNode(this.tree,e),e+=SIZE_OF_NODE;C._free(s)}return n}firstChildForIndex(e){marshalNode(this);return setValue(TRANSFER_BUFFER+SIZE_OF_NODE,e,"i32"),C._ts_node_first_child_for_byte_wasm(this.tree[0]),unmarshalNode(this.tree)}firstNamedChildForIndex(e){marshalNode(this);return setValue(TRANSFER_BUFFER+SIZE_OF_NODE,e,"i32"),C._ts_node_first_named_child_for_byte_wasm(this.tree[0]),unmarshalNode(this.tree)}get childCount(){return marshalNode(this),C._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return marshalNode(this),C._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){marshalNode(this),C._ts_node_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._children=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._children[t]=unmarshalNode(this.tree,s),s+=SIZE_OF_NODE;C._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){marshalNode(this),C._ts_node_named_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._namedChildren=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._namedChildren[t]=unmarshalNode(this.tree,s),s+=SIZE_OF_NODE;C._free(t)}}return this._namedChildren}descendantsOfType(e,t,s){Array.isArray(e)||(e=[e]),t||(t=ZERO_POINT),s||(s=ZERO_POINT);const n=[],i=this.tree.language.types;for(let t=0,s=i.length;t<s;t++)e.includes(i[t])&&n.push(t);const r=C._malloc(SIZE_OF_INT*n.length);for(let e=0,t=n.length;e<t;e++)setValue(r+e*SIZE_OF_INT,n[e],"i32");marshalNode(this),C._ts_node_descendants_of_type_wasm(this.tree[0],r,n.length,t.row,t.column,s.row,s.column);const o=getValue(TRANSFER_BUFFER,"i32"),a=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=unmarshalNode(this.tree,e),e+=SIZE_OF_NODE}return C._free(a),C._free(r),c}get nextSibling(){return marshalNode(this),C._ts_node_next_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousSibling(){return marshalNode(this),C._ts_node_prev_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get nextNamedSibling(){return marshalNode(this),C._ts_node_next_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousNamedSibling(){return marshalNode(this),C._ts_node_prev_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get descendantCount(){return marshalNode(this),C._ts_node_descendant_count_wasm(this.tree[0])}get parent(){return marshalNode(this),C._ts_node_parent_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);const s=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(s,e,"i32"),setValue(s+SIZE_OF_INT,t,"i32"),C._ts_node_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);const s=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(s,e,"i32"),setValue(s+SIZE_OF_INT,t,"i32"),C._ts_node_named_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);const s=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(s,e),marshalPoint(s+SIZE_OF_POINT,t),C._ts_node_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);const s=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(s,e),marshalPoint(s+SIZE_OF_POINT,t),C._ts_node_named_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}walk(){return marshalNode(this),C._ts_tree_cursor_new_wasm(this.tree[0]),new TreeCursor(INTERNAL,this.tree)}toString(){marshalNode(this);const e=C._ts_node_to_string_wasm(this.tree[0]),t=AsciiToString(e);return C._free(e),t}}class TreeCursor{constructor(e,t){assertInternal(e),this.tree=t,unmarshalTreeCursor(this)}delete(){marshalTreeCursor(this),C._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){marshalNode(e),marshalTreeCursor(this,TRANSFER_BUFFER+SIZE_OF_NODE),C._ts_tree_cursor_reset_wasm(this.tree[0]),unmarshalTreeCursor(this)}resetTo(e){marshalTreeCursor(this,TRANSFER_BUFFER),marshalTreeCursor(e,TRANSFER_BUFFER+SIZE_OF_CURSOR),C._ts_tree_cursor_reset_to_wasm(this.tree[0],e.tree[0]),unmarshalTreeCursor(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeStateId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_state_id_wasm(this.tree[0])}get nodeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){marshalTreeCursor(this);const e=C._ts_tree_cursor_start_index_wasm(this.tree[0]),t=C._ts_tree_cursor_end_index_wasm(this.tree[0]);return getText(this.tree,e,t)}get startPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_start_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_end_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get startIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_end_index_wasm(this.tree[0])}get currentNode(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_wasm(this.tree[0]),unmarshalNode(this.tree)}get currentFieldId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_field_id_wasm(this.tree[0])}get currentFieldName(){return this.tree.language.fields[this.currentFieldId]}get currentDepth(){return marshalTreeCursor(this),C._ts_tree_cursor_current_depth_wasm(this.tree[0])}get currentDescendantIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_current_descendant_index_wasm(this.tree[0])}gotoFirstChild(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoLastChild(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_last_child_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoFirstChildForIndex(e){marshalTreeCursor(this),setValue(TRANSFER_BUFFER+SIZE_OF_CURSOR,e,"i32");const t=C._ts_tree_cursor_goto_first_child_for_index_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===t}gotoFirstChildForPosition(e){marshalTreeCursor(this),marshalPoint(TRANSFER_BUFFER+SIZE_OF_CURSOR,e);const t=C._ts_tree_cursor_goto_first_child_for_position_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===t}gotoNextSibling(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoPreviousSibling(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_previous_sibling_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoDescendant(e){marshalTreeCursor(this),C._ts_tree_cursor_goto_descendant_wasm(this.tree[0],e),unmarshalTreeCursor(this)}gotoParent(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}}class Language{constructor(e,t){assertInternal(e),this[0]=t,this.types=new Array(C._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)C._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=UTF8ToString(C._ts_language_symbol_name(this[0],e)));this.fields=new Array(C._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=C._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?UTF8ToString(t):null}}get version(){return C._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}get stateCount(){return C._ts_language_state_count(this[0])}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const s=lengthBytesUTF8(e),n=C._malloc(s+1);stringToUTF8(e,n,s+1);const i=C._ts_language_symbol_for_name(this[0],n,s,t);return C._free(n),i||null}get nodeTypeCount(){return C._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=C._ts_language_symbol_name(this[0],e);return t?UTF8ToString(t):null}nodeTypeIsNamed(e){return!!C._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!C._ts_language_type_is_visible_wasm(this[0],e)}nextState(e,t){return C._ts_language_next_state(this[0],e,t)}lookaheadIterator(e){const t=C._ts_lookahead_iterator_new(this[0],e);return t?new LookaheadIterable(INTERNAL,t,this):null}query(e){const t=lengthBytesUTF8(e),s=C._malloc(t+1);stringToUTF8(e,s,t+1);const n=C._ts_query_new(this[0],s,t,TRANSFER_BUFFER,TRANSFER_BUFFER+SIZE_OF_INT);if(!n){const t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=getValue(TRANSFER_BUFFER,"i32"),i=UTF8ToString(s,n).length,r=e.substr(i,100).split("\n")[0];let o,a=r.match(QUERY_WORD_REGEX)[0];switch(t){case 2:o=new RangeError(`Bad node name '${a}'`);break;case 3:o=new RangeError(`Bad field name '${a}'`);break;case 4:o=new RangeError(`Bad capture name @${a}`);break;case 5:o=new TypeError(`Bad pattern structure at offset ${i}: '${r}'...`),a="";break;default:o=new SyntaxError(`Bad syntax at offset ${i}: '${r}'...`),a=""}throw o.index=i,o.length=a.length,C._free(s),o}const i=C._ts_query_string_count(n),r=C._ts_query_capture_count(n),o=C._ts_query_pattern_count(n),a=new Array(r),c=new Array(i);for(let e=0;e<r;e++){const t=C._ts_query_capture_name_for_id(n,e,TRANSFER_BUFFER),s=getValue(TRANSFER_BUFFER,"i32");a[e]=UTF8ToString(t,s)}for(let e=0;e<i;e++){const t=C._ts_query_string_value_for_id(n,e,TRANSFER_BUFFER),s=getValue(TRANSFER_BUFFER,"i32");c[e]=UTF8ToString(t,s)}const l=new Array(o),u=new Array(o),d=new Array(o),m=new Array(o),p=new Array(o);for(let e=0;e<o;e++){const t=C._ts_query_predicates_for_pattern(n,e,TRANSFER_BUFFER),s=getValue(TRANSFER_BUFFER,"i32");m[e]=[],p[e]=[];const i=[];let r=t;for(let t=0;t<s;t++){const t=getValue(r,"i32");r+=SIZE_OF_INT;const s=getValue(r,"i32");if(r+=SIZE_OF_INT,t===PREDICATE_STEP_TYPE_CAPTURE)i.push({type:"capture",name:a[s]});else if(t===PREDICATE_STEP_TYPE_STRING)i.push({type:"string",value:c[s]});else if(i.length>0){if("string"!==i[0].type)throw new Error("Predicates must begin with a literal value");const t=i[0].value;let s,n=!0,r=!0;switch(t){case"any-not-eq?":case"not-eq?":n=!1;case"any-eq?":case"eq?":if(3!==i.length)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 2, got ${i.length-1}`);if("capture"!==i[1].type)throw new Error(`First argument of \`#${t}\` predicate must be a capture. Got "${i[1].value}"`);if(r=!t.startsWith("any-"),"capture"===i[2].type){const t=i[1].name,s=i[2].name;p[e].push((e=>{const i=[],o=[];for(const n of e)n.name===t&&i.push(n.node),n.name===s&&o.push(n.node);const a=(e,t,s)=>s?e.text===t.text:e.text!==t.text;return r?i.every((e=>o.some((t=>a(e,t,n))))):i.some((e=>o.some((t=>a(e,t,n)))))}))}else{s=i[1].name;const t=i[2].value,o=e=>e.text===t,a=e=>e.text!==t;p[e].push((e=>{const t=[];for(const n of e)n.name===s&&t.push(n.node);const i=n?o:a;return r?t.every(i):t.some(i)}))}break;case"any-not-match?":case"not-match?":n=!1;case"any-match?":case"match?":if(3!==i.length)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 2, got ${i.length-1}.`);if("capture"!==i[1].type)throw new Error(`First argument of \`#${t}\` predicate must be a capture. Got "${i[1].value}".`);if("string"!==i[2].type)throw new Error(`Second argument of \`#${t}\` predicate must be a string. Got @${i[2].value}.`);s=i[1].name;const o=new RegExp(i[2].value);r=!t.startsWith("any-"),p[e].push((e=>{const t=[];for(const n of e)n.name===s&&t.push(n.node.text);const i=(e,t)=>t?o.test(e):!o.test(e);return 0===t.length?!n:r?t.every((e=>i(e,n))):t.some((e=>i(e,n)))}));break;case"set!":if(i.length<2||i.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${i.length-1}.`);if(i.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');l[e]||(l[e]={}),l[e][i[1].value]=i[2]?i[2].value:null;break;case"is?":case"is-not?":if(i.length<2||i.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${i.length-1}.`);if(i.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const a="is?"===t?u:d;a[e]||(a[e]={}),a[e][i[1].value]=i[2]?i[2].value:null;break;case"not-any-of?":n=!1;case"any-of?":if(i.length<2)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected at least 1. Got ${i.length-1}.`);if("capture"!==i[1].type)throw new Error(`First argument of \`#${t}\` predicate must be a capture. Got "${i[1].value}".`);for(let e=2;e<i.length;e++)if("string"!==i[e].type)throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);s=i[1].name;const c=i.slice(2).map((e=>e.value));p[e].push((e=>{const t=[];for(const n of e)n.name===s&&t.push(n.node.text);return 0===t.length?!n:t.every((e=>c.includes(e)))===n}));break;default:m[e].push({operator:t,operands:i.slice(1)})}i.length=0}}Object.freeze(l[e]),Object.freeze(u[e]),Object.freeze(d[e])}return C._free(s),new Query(INTERNAL,n,a,p,m,Object.freeze(l),Object.freeze(u),Object.freeze(d))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const s=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=__webpack_require__(3078);t=Promise.resolve(e.readFileSync(s))}else t=fetch(s).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const s=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${s}`)}}))))}return t.then((e=>loadWebAssemblyModule(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),s=t.find((e=>LANGUAGE_FUNCTION_REGEX.test(e)&&!e.includes("external_scanner_")));s||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const n=e[s]();return new Language(INTERNAL,n)}))}}class LookaheadIterable{constructor(e,t,s){assertInternal(e),this[0]=t,this.language=s}get currentTypeId(){return C._ts_lookahead_iterator_current_symbol(this[0])}get currentType(){return this.language.types[this.currentTypeId]||"ERROR"}delete(){C._ts_lookahead_iterator_delete(this[0]),this[0]=0}resetState(e){return C._ts_lookahead_iterator_reset_state(this[0],e)}reset(e,t){return!!C._ts_lookahead_iterator_reset(this[0],e[0],t)&&(this.language=e,!0)}[Symbol.iterator](){const e=this;return{next:()=>C._ts_lookahead_iterator_next(e[0])?{done:!1,value:e.currentType}:{done:!0,value:""}}}}class Query{constructor(e,t,s,n,i,r,o,a){assertInternal(e),this[0]=t,this.captureNames=s,this.textPredicates=n,this.predicates=i,this.setProperties=r,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){C._ts_query_delete(this[0]),this[0]=0}matches(e,{startPosition:t=ZERO_POINT,endPosition:s=ZERO_POINT,startIndex:n=0,endIndex:i=0,matchLimit:r=4294967295,maxStartDepth:o=4294967295,timeoutMicros:a=0}={}){if("number"!=typeof r)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,s.row,s.column,n,i,r,o,a);const c=getValue(TRANSFER_BUFFER,"i32"),l=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),u=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),d=new Array(c);this.exceededMatchLimit=Boolean(u);let m=0,p=l;for(let t=0;t<c;t++){const t=getValue(p,"i32");p+=SIZE_OF_INT;const s=getValue(p,"i32");p+=SIZE_OF_INT;const n=new Array(s);if(p=unmarshalCaptures(this,e.tree,p,n),this.textPredicates[t].every((e=>e(n)))){d[m]={pattern:t,captures:n};const e=this.setProperties[t];e&&(d[m].setProperties=e);const s=this.assertedProperties[t];s&&(d[m].assertedProperties=s);const i=this.refutedProperties[t];i&&(d[m].refutedProperties=i),m++}}return d.length=m,C._free(l),d}captures(e,{startPosition:t=ZERO_POINT,endPosition:s=ZERO_POINT,startIndex:n=0,endIndex:i=0,matchLimit:r=4294967295,maxStartDepth:o=4294967295,timeoutMicros:a=0}={}){if("number"!=typeof r)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,s.row,s.column,n,i,r,o,a);const c=getValue(TRANSFER_BUFFER,"i32"),l=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),u=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),d=[];this.exceededMatchLimit=Boolean(u);const m=[];let p=l;for(let t=0;t<c;t++){const t=getValue(p,"i32");p+=SIZE_OF_INT;const s=getValue(p,"i32");p+=SIZE_OF_INT;const n=getValue(p,"i32");if(p+=SIZE_OF_INT,m.length=s,p=unmarshalCaptures(this,e.tree,p,m),this.textPredicates[t].every((e=>e(m)))){const e=m[n],s=this.setProperties[t];s&&(e.setProperties=s);const i=this.assertedProperties[t];i&&(e.assertedProperties=i);const r=this.refutedProperties[t];r&&(e.refutedProperties=r),d.push(e)}}return C._free(l),d}predicatesForPattern(e){return this.predicates[e]}disableCapture(e){const t=lengthBytesUTF8(e),s=C._malloc(t+1);stringToUTF8(e,s,t+1),C._ts_query_disable_capture(this[0],s,t),C._free(s)}didExceedMatchLimit(){return this.exceededMatchLimit}}function getText(e,t,s){const n=s-t;let i=e.textCallback(t,null,s);for(t+=i.length;t<s;){const n=e.textCallback(t,null,s);if(!(n&&n.length>0))break;t+=n.length,i+=n}return t>s&&(i=i.slice(0,n)),i}function unmarshalCaptures(e,t,s,n){for(let i=0,r=n.length;i<r;i++){const r=getValue(s,"i32"),o=unmarshalNode(t,s+=SIZE_OF_INT);s+=SIZE_OF_NODE,n[i]={name:e.captureNames[r],node:o}}return s}function assertInternal(e){if(e!==INTERNAL)throw new Error("Illegal constructor")}function isPoint(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function marshalNode(e){let t=TRANSFER_BUFFER;setValue(t,e.id,"i32"),t+=SIZE_OF_INT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.row,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.column,"i32"),t+=SIZE_OF_INT,setValue(t,e[0],"i32")}function unmarshalNode(e,t=TRANSFER_BUFFER){const s=getValue(t,"i32");if(0===s)return null;const n=getValue(t+=SIZE_OF_INT,"i32"),i=getValue(t+=SIZE_OF_INT,"i32"),r=getValue(t+=SIZE_OF_INT,"i32"),o=getValue(t+=SIZE_OF_INT,"i32"),a=new Node(INTERNAL,e);return a.id=s,a.startIndex=n,a.startPosition={row:i,column:r},a[0]=o,a}function marshalTreeCursor(e,t=TRANSFER_BUFFER){setValue(t+0*SIZE_OF_INT,e[0],"i32"),setValue(t+1*SIZE_OF_INT,e[1],"i32"),setValue(t+2*SIZE_OF_INT,e[2],"i32"),setValue(t+3*SIZE_OF_INT,e[3],"i32")}function unmarshalTreeCursor(e){e[0]=getValue(TRANSFER_BUFFER+0*SIZE_OF_INT,"i32"),e[1]=getValue(TRANSFER_BUFFER+1*SIZE_OF_INT,"i32"),e[2]=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),e[3]=getValue(TRANSFER_BUFFER+3*SIZE_OF_INT,"i32")}function marshalPoint(e,t){setValue(e,t.row,"i32"),setValue(e+SIZE_OF_INT,t.column,"i32")}function unmarshalPoint(e){return{row:getValue(e,"i32")>>>0,column:getValue(e+SIZE_OF_INT,"i32")>>>0}}function marshalRange(e,t){marshalPoint(e,t.startPosition),marshalPoint(e+=SIZE_OF_POINT,t.endPosition),setValue(e+=SIZE_OF_POINT,t.startIndex,"i32"),setValue(e+=SIZE_OF_INT,t.endIndex,"i32"),e+=SIZE_OF_INT}function unmarshalRange(e){const t={};return t.startPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.endPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.startIndex=getValue(e,"i32")>>>0,e+=SIZE_OF_INT,t.endIndex=getValue(e,"i32")>>>0,t}function marshalEdit(e){let t=TRANSFER_BUFFER;marshalPoint(t,e.startPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.oldEndPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.newEndPosition),t+=SIZE_OF_POINT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.oldEndIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.newEndIndex,"i32"),t+=SIZE_OF_INT}for(const e of Object.getOwnPropertyNames(ParserImpl.prototype))Object.defineProperty(Parser.prototype,e,{value:ParserImpl.prototype[e],enumerable:!1,writable:!1});Parser.Language=Language,Module.onRuntimeInitialized=()=>{ParserImpl.init(),resolveInitPromise()}})))}}return Parser}();module.exports=TreeSitter},3885:(e,t,s)=>{"use strict";var n=s(6100),i=Error,r=n("".replace),o=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=r(e,a,"");return e}},3934:(e,t,s)=>{var n=s(3212),i=s(6465),r=s(5568);e.exports=function(e,t,s,o,a,c){var l=1&s,u=e.length,d=t.length;if(u!=d&&!(l&&d>u))return!1;var m=c.get(e),p=c.get(t);if(m&&p)return m==t&&p==e;var h=-1,g=!0,_=2&s?new n:void 0;for(c.set(e,t),c.set(t,e);++h<u;){var f=e[h],b=t[h];if(o)var v=l?o(b,f,h,t,e,c):o(f,b,h,e,t,c);if(void 0!==v){if(v)continue;g=!1;break}if(_){if(!i(t,(function(e,t){if(!r(_,t)&&(f===e||a(f,e,s,o,c)))return _.push(t)}))){g=!1;break}}else if(f!==b&&!a(f,b,s,o,c)){g=!1;break}}return c.delete(e),c.delete(t),g}},3964:(e,t,s)=>{var n=s(7034);e.exports=function(e,t){var s=this.__data__,i=n(s,e);return i<0?(++this.size,s.push([e,t])):s[i][1]=t,this}},3999:(e,t,s)=>{"use strict";var n=s(5024),i=s(9989),r=s(480);e.exports=n?function(e,t,s){return i.f(e,t,r(1,s))}:function(e,t,s){return e[t]=s,e}},4066:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},4103:(e,t,s)=>{var n=s(1386);e.exports=function(){this.__data__=new n,this.size=0}},4123:(e,t,s)=>{const n=s(1517);function i(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class r{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const i=e.bind(t)(n);i&&s.push(i)})),s}filter(e,t){return e=i(e),new r(this.elements.filter(e,t))}reject(e,t){return e=i(e),new r(this.elements.filter(n(e),t))}find(e,t){return e=i(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=r},4142:()=>{},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},4275:(e,t,s)=>{"use strict";var n=s(8141),i=s(1268),r=n("keys");e.exports=function(e){return r[e]||(r[e]=i(e))}},4279:(e,t,s)=>{"use strict";var n=s(3999),i=s(3885),r=s(5791),o=Error.captureStackTrace;e.exports=function(e,t,s,a){r&&(o?o(e,t):n(e,"stack",i(s,a)))}},4317:(e,t,s)=>{"use strict";var n=s(6100);e.exports=n({}.isPrototypeOf)},4497:(e,t,s)=>{var n=s(4715)(Object,"create");e.exports=n},4512:(e,t,s)=>{var n=s(4715)(s(8942),"Set");e.exports=n},4543:(e,t,s)=>{"use strict";var n=s(5024),i=s(4713),r=s(7161),o=s(480),a=s(3273),c=s(5341),l=s(701),u=s(9665),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return o(!i(r.f,e,t),e[t])}},4572:(e,t,s)=>{"use strict";var n=s(9344),i=s(814),r=s(1780),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:r?o(e,t):function(){return e.apply(t,arguments)}}},4574:(e,t,s)=>{"use strict";var n=s(9903),i=Math.max,r=Math.min;e.exports=function(e,t){var s=n(e);return s<0?i(s+t,0):r(s,t)}},4603:(e,t,s)=>{"use strict";var n=s(5547),i=s(1203),r=s(8900).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4674:(e,t,s)=>{"use strict";var n=s(814),i=s(3057);e.exports=function(e,t){var s=e[t];return i(s)?void 0:n(s)}},4687:(e,t,s)=>{var n=s(353),i=s(547);e.exports=function e(t,s,r,o,a){return t===s||(null==t||null==s||!i(t)&&!i(s)?t!=t&&s!=s:n(t,s,r,o,e,a))}},4700:(e,t,s)=>{var n=s(9067);e.exports=function(e,t){var s=e.__data__;return n(t)?s["string"==typeof t?"string":"hash"]:s.map}},4713:(e,t,s)=>{"use strict";var n=s(1780),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},4715:(e,t,s)=>{var n=s(9624),i=s(155);e.exports=function(e,t){var s=i(e,t);return n(s)?s:void 0}},4732:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).has(e)}},4759:(e,t,s)=>{var n,i=s(1950),r=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},4772:e=>{e.exports=function(){return!1}},4871:e=>{"use strict";e.exports=!0},4879:(e,t,s)=>{"use strict";var n=s(1139);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},4882:e=>{var t=Object.prototype;e.exports=function(e){var s=e&&e.constructor;return e===("function"==typeof s&&s.prototype||t)}},4904:(e,t,s)=>{"use strict";var n={};n[s(8655)("toStringTag")]="z",e.exports="[object z]"===String(n)},4967:(e,t,s)=>{var n="object"==typeof s.g&&s.g&&s.g.Object===Object&&s.g;e.exports=n},5024:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5071:(e,t,s)=>{var n=s(4497);e.exports=function(e,t){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},5098:(e,t,s)=>{var n=s(3305),i=s(9361),r=s(1112),o=s(5276),a=s(5071);function c(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},5116:(e,t,s)=>{"use strict";var n=s(8600),i=s(9683).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},5241:e=>{"use strict";e.exports={}},5276:(e,t,s)=>{var n=s(4497),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},5341:(e,t,s)=>{"use strict";var n=s(493),i=s(6281);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5426:(e,t,s)=>{"use strict";var n=s(3057),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},5442:(e,t,s)=>{"use strict";s(5695)},5516:(e,t,s)=>{"use strict";var n=s(9989).f;e.exports=function(e,t,s){s in e||n(e,s,{configurable:!0,get:function(){return t[s]},set:function(e){t[s]=e}})}},5547:(e,t,s)=>{"use strict";var n,i,r=s(8900),o=s(3531),a=r.process,c=r.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},5568:e=>{e.exports=function(e,t){return e.has(t)}},5571:(e,t,s)=>{"use strict";var n=s(6100),i=s(9903),r=s(1139),o=s(5426),a=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(e){return function(t,s){var n,u,d=r(o(t)),m=i(s),p=d.length;return m<0||m>=p?e?"":void 0:(n=c(d,m))<55296||n>56319||m+1===p||(u=c(d,m+1))<56320||u>57343?e?a(d,m):n:e?l(d,m,m+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},5642:(e,t,s)=>{const n=s(1517),i=s(1580),r=s(9796),o=s(7309),a=s(3311);e.exports=class extends r{constructor(e,t,s){super(e||[],t,s),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((s=>s.key.toValue()!==e||(t=s,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(i(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const s=e,n=this.getMember(s);return n?n.value=t:this.content.push(new o(s,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((s=>e.bind(t)(s.value,s.key,s)))}compactMap(e,t){const s=[];return this.forEach(((n,i,r)=>{const o=e.bind(t)(n,i,r);o&&s.push(o)})),s}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((s=>e.bind(t)(s.value,s.key,s)))}}},5650:(e,t,s)=>{var n=s(8942).Symbol;e.exports=n},5681:(e,t,s)=>{var n=s(4700);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},5691:(e,t,s)=>{"use strict";var n=s(1003),i=s(6100),r=s(5116),o=s(7313),a=s(7235),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=r.f(a(e)),s=o.f;return s?c(t,s(e)):t}},5695:(e,t,s)=>{"use strict";s(3085)},5735:(e,t,s)=>{const n=s(9310),i=s(8138),r=s(986),o=s(2563),a=s(1580),c=s(394),l=s(7547);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=l.Element,this.KeyValuePair=l.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",l.NullElement).register("string",l.StringElement).register("number",l.NumberElement).register("boolean",l.BooleanElement).register("array",l.ArrayElement).register("object",l.ObjectElement).register("member",l.MemberElement).register("ref",l.RefElement).register("link",l.LinkElement),this.detect(n,l.NullElement,!1).detect(i,l.StringElement,!1).detect(r,l.NumberElement,!1).detect(o,l.BooleanElement,!1).detect(Array.isArray,l.ArrayElement,!1).detect(a,l.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,s){return void 0===s||s?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let s=0;s<this.elementDetection.length;s+=1){const n=this.elementDetection[s][0],i=this.elementDetection[s][1];if(n(e)){t=new i(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=u,e.exports=u},5777:e=>{"use strict";var t=Math.ceil,s=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?s:t)(n)}},5780:(e,t,s)=>{"use strict";var n,i=s(7235),r=s(7389),o=s(9683),a=s(5241),c=s(3489),l=s(9619),u=s(4275),d="prototype",m="script",p=u("IE_PROTO"),h=function(){},g=function(e){return"<"+m+">"+e+"</"+m+">"},_=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},f=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,s;f="undefined"!=typeof document?document.domain&&n?_(n):(t=l("iframe"),s="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(s),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):_(n);for(var i=o.length;i--;)delete f[d][o[i]];return f()};a[p]=!0,e.exports=Object.create||function(e,t){var s;return null!==e?(h[d]=i(e),s=new h,h[d]=null,s[p]=e):s=f(),void 0===t?s:r.f(s,t)}},5791:(e,t,s)=>{"use strict";var n=s(1203),i=s(480);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},5853:(e,t,s)=>{e=s.nmd(e);var n=s(8942),i=s(4772),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},5894:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e,n){s[++t]=[n,e]})),s}},6027:(e,t,s)=>{var n=s(7379),i=s(547);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},6100:(e,t,s)=>{"use strict";var n=s(1780),i=Function.prototype,r=i.call,o=n&&i.bind.bind(r,r);e.exports=n?o:function(e){return function(){return r.apply(e,arguments)}}},6137:e=>{e.exports=function(e,t){for(var s=-1,n=Array(e);++s<e;)n[s]=t(s);return n}},6138:(e,t,s)=>{"use strict";var n=s(9098),i=s(1003),r=s(7013),o=s(1203),a=s(6453),c="AggregateError",l=i(c),u=!o((function(){return 1!==l([1]).errors[0]}))&&o((function(){return 7!==l([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:a(c,(function(e){return function(t,s){return r(e,this,arguments)}}),u,!0)})},6281:(e,t,s)=>{"use strict";var n=s(1003),i=s(2769),r=s(4317),o=s(7460),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&r(t.prototype,a(e))}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6343:(e,t,s)=>{var n=s(4687);e.exports=function(e,t){return n(e,t)}},6453:(e,t,s)=>{"use strict";var n=s(1003),i=s(701),r=s(3999),o=s(4317),a=s(3491),c=s(7464),l=s(5516),u=s(3507),d=s(4879),m=s(8148),p=s(4279),h=s(5024),g=s(4871);e.exports=function(e,t,s,_){var f="stackTraceLimit",b=_?2:1,v=e.split("."),y=v[v.length-1],x=n.apply(null,v);if(x){var E=x.prototype;if(!g&&i(E,"cause")&&delete E.cause,!s)return x;var w=n("Error"),S=t((function(e,t){var s=d(_?t:e,void 0),n=_?new x(e):new x;return void 0!==s&&r(n,"message",s),p(n,S,n.stack,2),this&&o(E,this)&&u(n,this,S),arguments.length>b&&m(n,arguments[b]),n}));if(S.prototype=E,"Error"!==y?a?a(S,w):c(S,w,{name:!0}):h&&f in x&&(l(S,x,f),l(S,x,"prepareStackTrace")),c(S,x),!g)try{E.name!==y&&r(E,"name",y),E.constructor=S}catch(e){}return S}}},6465:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length;++s<n;)if(t(e[s],s,e))return!0;return!1}},6529:(e,t,s)=>{var n=s(3655),i=s(5387);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},6625:e=>{"use strict";e.exports={}},6638:(e,t,s)=>{var n=s(1386),i=s(9770),r=s(8250);e.exports=function(e,t){var s=this.__data__;if(s instanceof n){var o=s.__data__;if(!i||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new r(o)}return s.set(e,t),this.size=s.size,this}},6656:(e,t,s)=>{"use strict";s(484),s(5695),s(6138),s(9828),s(3832);var n=s(8099);e.exports=n.AggregateError},6850:(e,t,s)=>{"use strict";t.MH=void 0;const n=s(8583);function i(e,t,s){const i=function(e){return e.match(/[^a-f0-9]/i)?NaN:parseInt(e,16)}(e);if(Number.isNaN(i)||void 0!==s&&s!==e.length)throw new SyntaxError(n.errorMessages.get(t));return i}function r(e,t){const s=i(e,n.ErrorType.MalformedUnicode,4);if(void 0!==t){const e=i(t,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(s,e)}return String.fromCharCode(s)}const o=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|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 c(e,t=!1){return e.replace(a,(function(e,s,a,c,l,u,d,m,p){if(void 0!==s)return"\\";if(void 0!==a)return function(e){const t=i(e,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(t)}(a);if(void 0!==c)return function(e){if("{"!==(t=e).charAt(0)||"}"!==t.charAt(t.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var t;const s=i(e.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(s)}catch(e){throw e instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):e}}(c);if(void 0!==l)return r(l,u);if(void 0!==d)return r(d);if("0"===m)return"\0";if(void 0!==m)return function(e,t=!1){if(t)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const s=parseInt(e,8);return String.fromCharCode(s)}(m,!t);if(void 0!==p)return h=p,o.get(h)||h;var h;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}t.MH=c},7013:(e,t,s)=>{"use strict";var n=s(1780),i=Function.prototype,r=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(r):function(){return o.apply(r,arguments)})},7034:(e,t,s)=>{var n=s(6285);e.exports=function(e,t){for(var s=e.length;s--;)if(n(e[s][0],t))return s;return-1}},7144:(e,t,s)=>{var n=s(7034);e.exports=function(e){var t=this.__data__,s=n(t,e);return s<0?void 0:t[s][1]}},7161:(e,t)=>{"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!s.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:s},7202:(e,t,s)=>{"use strict";var n=s(239);e.exports=n},7235:(e,t,s)=>{"use strict";var n=s(262),i=String,r=TypeError;e.exports=function(e){if(n(e))return e;throw new r(i(e)+" is not an object")}},7309:(e,t,s)=>{const n=s(2322),i=s(8631);e.exports=class extends i{constructor(e,t,s,i){super(new n,s,i),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},7313:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},7379:(e,t,s)=>{var n=s(5650),i=s(8870),r=s(9005),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):r(e)}},7389:(e,t,s)=>{"use strict";var n=s(5024),i=s(1330),r=s(9989),o=s(7235),a=s(3273),c=s(8364);t.f=n&&!i?Object.defineProperties:function(e,t){o(e);for(var s,n=a(t),i=c(t),l=i.length,u=0;l>u;)r.f(e,s=i[u++],n[s]);return e}},7447:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e){s[++t]=e})),s}},7452:(e,t,s)=>{var n=s(7034);e.exports=function(e){return n(this.__data__,e)>-1}},7460:(e,t,s)=>{"use strict";var n=s(4603);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},7464:(e,t,s)=>{"use strict";var n=s(701),i=s(5691),r=s(4543),o=s(9989);e.exports=function(e,t,s){for(var a=i(t),c=o.f,l=r.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||s&&n(s,d)||c(e,d,l(t,d))}}},7525:(e,t,s)=>{"use strict";var n=s(8900),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(s){n[e]=t}return t}},7547:(e,t,s)=>{const n=s(8631),i=s(3004),r=s(8712),o=s(2536),a=s(2555),c=s(9796),l=s(7309),u=s(5642),d=s(9620),m=s(593),p=s(4123),h=s(3311),g=s(2322);function _(e){if(e instanceof n)return e;if("string"==typeof e)return new r(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new i;if(Array.isArray(e))return new c(e.map(_));if("object"==typeof e){return new u(e)}return e}n.prototype.ObjectElement=u,n.prototype.RefElement=m,n.prototype.MemberElement=l,n.prototype.refract=_,p.prototype.refract=_,e.exports={Element:n,NullElement:i,StringElement:r,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:l,ObjectElement:u,LinkElement:d,RefElement:m,refract:_,ArraySlice:p,ObjectSlice:h,KeyValuePair:g}},7979:(e,t,s)=>{var n=s(9847),i=s(9306),r=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return r.call(e,t)})))}:i;e.exports=a},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},8099:e=>{"use strict";e.exports={}},8121:(e,t,s)=>{var n=s(3766)(Object.keys,Object);e.exports=n},8130:(e,t,s)=>{"use strict";var n=s(8146);e.exports=function(e){return n(e.length)}},8137:e=>{"use strict";e.exports=function(){}},8138:(e,t,s)=>{var n=s(7379),i=s(3142),r=s(547);e.exports=function(e){return"string"==typeof e||!i(e)&&r(e)&&"[object String]"==n(e)}},8141:(e,t,s)=>{"use strict";var n=s(3753);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},8146:(e,t,s)=>{"use strict";var n=s(9903),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},8148:(e,t,s)=>{"use strict";var n=s(262),i=s(3999);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},8244:(e,t,s)=>{var n=s(1129),i=s(3142);e.exports=function(e,t,s){var r=t(e);return i(e)?r:n(r,s(e))}},8250:(e,t,s)=>{var n=s(9753),i=s(5681),r=s(88),o=s(4732),a=s(9068);function c(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},8326:(e,t,s)=>{const n=s(5735),i=s(7547);t.g$=n,t.KeyValuePair=s(2322),t.G6=i.ArraySlice,t.ot=i.ObjectSlice,t.Hg=i.Element,t.Om=i.StringElement,t.kT=i.NumberElement,t.bd=i.BooleanElement,t.Os=i.NullElement,t.wE=i.ArrayElement,t.Sh=i.ObjectElement,t.Pr=i.MemberElement,t.sI=i.RefElement,t.Ft=i.LinkElement,t.e=i.refract,s(394),s(3148)},8337:(e,t,s)=>{"use strict";s(5442);var n=s(7202);e.exports=n},8364:(e,t,s)=>{"use strict";var n=s(8600),i=s(9683);e.exports=Object.keys||function(e){return n(e,i)}},8407:(e,t,s)=>{"use strict";var n=s(4904),i=s(2769),r=s(9932),o=s(8655)("toStringTag"),a=Object,c="Arguments"===r(function(){return arguments}());e.exports=n?r:function(e){var t,s,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?s:c?r(t):"Object"===(n=r(t))&&i(t.callee)?"Arguments":n}},8411:(e,t,s)=>{"use strict";e.exports=s(8337)},8417:(e,t,s)=>{"use strict";var n,i,r,o=s(1314),a=s(8900),c=s(262),l=s(3999),u=s(701),d=s(3753),m=s(4275),p=s(5241),h="Object already initialized",g=a.TypeError,_=a.WeakMap;if(o||d.state){var f=d.state||(d.state=new _);f.get=f.get,f.has=f.has,f.set=f.set,n=function(e,t){if(f.has(e))throw new g(h);return t.facade=e,f.set(e,t),t},i=function(e){return f.get(e)||{}},r=function(e){return f.has(e)}}else{var b=m("state");p[b]=!0,n=function(e,t){if(u(e,b))throw new g(h);return t.facade=e,l(e,b,t),t},i=function(e){return u(e,b)?e[b]:{}},r=function(e){return u(e,b)}}e.exports={set:n,get:i,has:r,enforce:function(e){return r(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var s;if(!c(t)||(s=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return s}}}},8486:(e,t,s)=>{var n=s(3103),i=s(9770),r=s(9413),o=s(4512),a=s(9270),c=s(7379),l=s(4066),u="[object Map]",d="[object Promise]",m="[object Set]",p="[object WeakMap]",h="[object DataView]",g=l(n),_=l(i),f=l(r),b=l(o),v=l(a),y=c;(n&&y(new n(new ArrayBuffer(1)))!=h||i&&y(new i)!=u||r&&y(r.resolve())!=d||o&&y(new o)!=m||a&&y(new a)!=p)&&(y=function(e){var t=c(e),s="[object Object]"==t?e.constructor:void 0,n=s?l(s):"";if(n)switch(n){case g:return h;case _:return u;case f:return d;case b:return m;case v:return p}return t}),e.exports=y},8583:(e,t)=>{"use strict";var s;Object.defineProperty(t,"__esModule",{value:!0}),t.errorMessages=t.ErrorType=void 0,function(e){e.MalformedUnicode="MALFORMED_UNICODE",e.MalformedHexadecimal="MALFORMED_HEXADECIMAL",e.CodePointLimit="CODE_POINT_LIMIT",e.OctalDeprecation="OCTAL_DEPRECATION",e.EndOfString="END_OF_STRING"}(s=t.ErrorType||(t.ErrorType={})),t.errorMessages=new Map([[s.MalformedUnicode,"malformed Unicode character escape sequence"],[s.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[s.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[s.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[s.EndOfString,"malformed escape sequence at end of string"]])},8600:(e,t,s)=>{"use strict";var n=s(6100),i=s(701),r=s(3273),o=s(1005).indexOf,a=s(5241),c=n([].push);e.exports=function(e,t){var s,n=r(e),l=0,u=[];for(s in n)!i(a,s)&&i(n,s)&&c(u,s);for(;t.length>l;)i(n,s=t[l++])&&(~o(u,s)||c(u,s));return u}},8631:(e,t,s)=>{const n=s(6343),i=s(2322),r=s(4123);class o{constructor(e,t,s){t&&(this.meta=t),s&&(this.attributes=s),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof i?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let s=new r;const n=(e,t)=>(e.push(t),e),o=(e,s)=>{s.element===t&&e.push(s);const r=s.findRecursive(t);return r&&r.reduce(n,e),s.content instanceof i&&(s.content.key&&o(e,s.content.key),s.content.value&&o(e,s.content.value)),e};return this.content&&(this.content.element&&o(s,this.content),Array.isArray(this.content)&&this.content.reduce(o,s)),e.isEmpty||(s=s.filter((t=>{let s=t.parents.map((e=>e.element));for(const t in e){const n=e[t],i=s.indexOf(n);if(-1===i)return!1;s=s.splice(0,i)}return!0}))),s}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof r)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof i)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new r;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new r(this.content);if(this.content instanceof i){const e=new r([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new r([this.content]):new r}get recursiveChildren(){const e=new r;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8655:(e,t,s)=>{"use strict";var n=s(8900),i=s(8141),r=s(701),o=s(1268),a=s(4603),c=s(7460),l=n.Symbol,u=i("wks"),d=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return r(u,e)||(u[e]=a&&r(l,e)?l[e]:d("Symbol."+e)),u[e]}},8666:(e,t,s)=>{var n=s(674),i=s(9460),r=s(2306),o=r&&r.isTypedArray,a=o?i(o):n;e.exports=a},8696:(e,t,s)=>{"use strict";var n=s(1203),i=s(2769),r=/#|\.prototype\./,o=function(e,t){var s=c[a(e)];return s===u||s!==l&&(i(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},8712:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8861:(e,t,s)=>{var n=s(5650),i=s(1623),r=s(6285),o=s(3934),a=s(5894),c=s(7447),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,s,n,l,d,m){switch(s){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=a;case"[object Set]":var h=1&n;if(p||(p=c),e.size!=t.size&&!h)return!1;var g=m.get(e);if(g)return g==t;n|=2,m.set(e,t);var _=o(p(e),p(t),n,l,d,m);return m.delete(e),_;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},8870:(e,t,s)=>{var n=s(5650),i=Object.prototype,r=i.hasOwnProperty,o=i.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=r.call(e,a),s=e[a];try{e[a]=void 0;var n=!0}catch(e){}var i=o.call(e);return n&&(t?e[a]=s:delete e[a]),i}},8900:function(e,t,s){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof s.g&&s.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},8942:(e,t,s)=>{var n=s(4967),i="object"==typeof self&&self&&self.Object===Object&&self,r=n||i||Function("return this")();e.exports=r},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},9068:(e,t,s)=>{var n=s(4700);e.exports=function(e,t){var s=n(this,e),i=s.size;return s.set(e,t),this.size+=s.size==i?0:1,this}},9098:(e,t,s)=>{"use strict";var n=s(8900),i=s(7013),r=s(9344),o=s(2769),a=s(4543).f,c=s(8696),l=s(8099),u=s(4572),d=s(3999),m=s(701);s(3753);var p=function(e){var t=function(s,n,r){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(s);case 2:return new e(s,n)}return new e(s,n,r)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var s,i,h,g,_,f,b,v,y,x=e.target,E=e.global,w=e.stat,S=e.proto,j=E?n:w?n[x]:n[x]&&n[x].prototype,B=E?l:l[x]||d(l,x,{})[x],O=B.prototype;for(g in t)i=!(s=c(E?g:x+(w?".":"#")+g,e.forced))&&j&&m(j,g),f=B[g],i&&(b=e.dontCallGetSet?(y=a(j,g))&&y.value:j[g]),_=i&&b?b:t[g],(s||S||typeof f!=typeof _)&&(v=e.bind&&i?u(_,n):e.wrap&&i?p(_):S&&o(_)?r(_):_,(e.sham||_&&_.sham||f&&f.sham)&&d(v,"sham",!0),d(B,g,v),S&&(m(l,h=x+"Prototype")||d(l,h,{}),d(l[h],g,_),e.real&&O&&(s||!O[g])&&d(O,g,_)))}},9258:(e,t,s)=>{"use strict";var n=s(4713),i=s(2769),r=s(262),o=TypeError;e.exports=function(e,t){var s,a;if("string"===t&&i(s=e.toString)&&!r(a=n(s,e)))return a;if(i(s=e.valueOf)&&!r(a=n(s,e)))return a;if("string"!==t&&i(s=e.toString)&&!r(a=n(s,e)))return a;throw new o("Can't convert object to primitive value")}},9270:(e,t,s)=>{var n=s(4715)(s(8942),"WeakMap");e.exports=n},9306:e=>{e.exports=function(){return[]}},9310:e=>{e.exports=function(e){return null===e}},9344:(e,t,s)=>{"use strict";var n=s(9932),i=s(6100);e.exports=function(e){if("Function"===n(e))return i(e)}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},9413:(e,t,s)=>{var n=s(4715)(s(8942),"Promise");e.exports=n},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},9559:(e,t,s)=>{"use strict";var n=s(4904),i=s(8407);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},9619:(e,t,s)=>{"use strict";var n=s(8900),i=s(262),r=n.document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},9620:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},9624:(e,t,s)=>{var n=s(3655),i=s(4759),r=s(1580),o=s(4066),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,m=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||i(e))&&(n(e)?m:a).test(o(e))}},9632:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,s){var n=typeof e;return!!(s=null==s?9007199254740991:s)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<s}},9665:(e,t,s)=>{"use strict";var n=s(5024),i=s(1203),r=s(9619);e.exports=!n&&!i((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},9683:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9753:(e,t,s)=>{var n=s(5098),i=s(1386),r=s(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(r||i),string:new n}}},9770:(e,t,s)=>{var n=s(4715)(s(8942),"Map");e.exports=n},9796:(e,t,s)=>{const n=s(1517),i=s(8631),r=s(4123);class o extends i{constructor(e,t,s){super(e||[],t,s),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const i=e.bind(t)(n);i&&s.push(i)})),s}filter(e,t){return new r(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=s;t<this.length;t+=1){const s=this.content[t];n="object"===this.primitive()?this.refract(e(n,s.value,s.key,s,this)):this.refract(e(n,s,t,this))}return n}forEach(e,t){this.content.forEach(((s,n)=>{e.bind(t)(s,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const s=t||{},n=!!s.recursive,i=void 0===s.results?[]:s.results;return this.forEach(((t,s,r)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:i,recursive:n}),e(t,s,r)&&i.push(t)})),i}find(e){return new r(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},9828:(e,t,s)=>{"use strict";var n=s(3273),i=s(8137),r=s(6625),o=s(8417),a=s(9989).f,c=s(164),l=s(877),u=s(4871),d=s(5024),m="Array Iterator",p=o.set,h=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){p(this,{type:m,target:n(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,s=e.index++;if(!t||s>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(s,!1);case"values":return l(t[s],!1)}return l([s,t[s]],!1)}),"values");var g=r.Arguments=r.Array;if(i("keys"),i("values"),i("entries"),!u&&d&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},9847:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,i=0,r=[];++s<n;){var o=e[s];t(o,s,e)&&(r[i++]=o)}return r}},9903:(e,t,s)=>{"use strict";var n=s(5777);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},9932:(e,t,s)=>{"use strict";var n=s(6100),i=n({}.toString),r=n("".slice);e.exports=function(e){return r(i(e),8,-1)}},9989:(e,t,s)=>{"use strict";var n=s(5024),i=s(9665),r=s(1330),o=s(7235),a=s(5341),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",m="configurable",p="writable";t.f=n?r?function(e,t,s){if(o(e),t=a(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&p in s&&!s[p]){var n=u(e,t);n&&n[p]&&(e[t]=s.value,s={configurable:m in s?s[m]:n[m],enumerable:d in s?s[d]:n[d],writable:!1})}return l(e,t,s)}:l:function(e,t,s){if(o(e),t=a(t),o(s),i)try{return l(e,t,s)}catch(e){}if("get"in s||"set"in s)throw new c("Accessors not supported");return"value"in s&&(e[t]=s.value),e}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var s=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(s.exports,s,s.exports,__webpack_require__),s.loaded=!0,s.exports}__webpack_require__.d=(e,t)=>{for(var s in t)__webpack_require__.o(t,s)&&!__webpack_require__.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var s=t.getElementsByTagName("script");if(s.length)for(var n=s.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=s[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})();var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{detect:()=>cM,detectionRegExp:()=>aM,mediaTypes:()=>oM,namespace:()=>uM,parse:()=>lM});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{hasElementSourceMap:()=>ci,includesClasses:()=>ui,includesSymbols:()=>li,isAnnotationElement:()=>ii,isArrayElement:()=>ei,isBooleanElement:()=>Qn,isCommentElement:()=>ri,isElement:()=>zn,isLinkElement:()=>si,isMemberElement:()=>ti,isNullElement:()=>Yn,isNumberElement:()=>Kn,isObjectElement:()=>Xn,isParseResultElement:()=>oi,isPrimitiveElement:()=>ai,isRefElement:()=>ni,isStringElement:()=>Zn});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{isJSONReferenceElement:()=>Xr,isJSONSchemaElement:()=>Qr,isLinkDescriptionElement:()=>to,isMediaElement:()=>eo});var s={};__webpack_require__.r(s),__webpack_require__.d(s,{isJSONReferenceElement:()=>Xr,isJSONSchemaElement:()=>pa,isLinkDescriptionElement:()=>ha,isMediaElement:()=>eo});var n={};__webpack_require__.r(n),__webpack_require__.d(n,{isJSONReferenceElement:()=>Xr,isJSONSchemaElement:()=>zc,isLinkDescriptionElement:()=>Zc});var i={};__webpack_require__.r(i),__webpack_require__.d(i,{isAsyncApi2Element:()=>ll,isAsyncApiVersionElement:()=>ul,isBooleanJsonSchemaElement:()=>Sl,isChannelBindingsElement:()=>dl,isChannelItemElement:()=>ml,isChannelsElement:()=>pl,isComponentsElement:()=>hl,isContactElement:()=>gl,isIdentifierElement:()=>_l,isInfoElement:()=>fl,isLicenseElement:()=>bl,isOperationElement:()=>vl,isParameterElement:()=>yl,isParametersElement:()=>xl,isReferenceElement:()=>El,isSchemaElement:()=>wl,isSecurityRequirementElement:()=>jl,isServerBindingsElement:()=>Ol,isServerElement:()=>Bl,isServerVariableElement:()=>$l,isServersElement:()=>Ml});var r={};function o(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(s){return 0===arguments.length||o(s)?t:e.apply(this,arguments)}}function c(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return o(s)?t:a((function(t){return e(s,t)}));default:return o(s)&&o(n)?t:o(s)?a((function(t){return e(t,n)})):o(n)?a((function(t){return e(s,t)})):e(s,n)}}}function l(e){return function t(s,n,i){switch(arguments.length){case 0:return t;case 1:return o(s)?t:c((function(t,n){return e(s,t,n)}));case 2:return o(s)&&o(n)?t:o(s)?c((function(t,s){return e(t,n,s)})):o(n)?c((function(t,n){return e(s,t,n)})):a((function(t){return e(s,n,t)}));default:return o(s)&&o(n)&&o(i)?t:o(s)&&o(n)?c((function(t,s){return e(t,s,i)})):o(s)&&o(i)?c((function(t,s){return e(t,n,s)})):o(n)&&o(i)?c((function(t,n){return e(s,t,n)})):o(s)?a((function(t){return e(t,n,i)})):o(n)?a((function(t){return e(s,t,i)})):o(i)?a((function(t){return e(s,n,t)})):e(s,n,i)}}}__webpack_require__.r(r),__webpack_require__.d(r,{isAsyncApi3Element:()=>_y,isAsyncApiVersionElement:()=>fy,isChannelBindingsElement:()=>by,isChannelElement:()=>vy,isChannelsElement:()=>yy,isComponentsElement:()=>xy,isContactElement:()=>Ey,isIdentifierElement:()=>wy,isInfoElement:()=>Sy,isLicenseElement:()=>jy,isMultiFormatSchemaElement:()=>qy,isOperationElement:()=>By,isParameterElement:()=>Oy,isParametersElement:()=>My,isReferenceElement:()=>$y,isSchemaElement:()=>Py,isServerBindingsElement:()=>Cy,isServerElement:()=>Ay,isServerVariableElement:()=>Fy,isServersElement:()=>Ty});const u=c((function(e,t){return null==t||t!=t?e:t})),d=Number.isInteger||function(e){return(e|0)===e};function m(e){return"[object String]"===Object.prototype.toString.call(e)}function p(e,t){var s=e<0?t.length+e:e;return m(t)?t.charAt(s):t[s]}const h=c((function(e,t){if(null!=t)return d(e)?p(e,t):t[e]}));const g=l((function(e,t,s){return u(e,h(t,s))}));var _=c((function(e,t){for(var s={},n={},i=0,r=e.length;i<r;)n[e[i]]=1,i+=1;for(var o in t)n.hasOwnProperty(o)||(s[o]=t[o]);return s}));const f=_;function b(e,t,s){for(var n=0,i=s.length;n<i;)t=e(t,s[n]),n+=1;return t}const v=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const y=a((function(e){return!!v(e)||!!e&&("object"==typeof e&&(!m(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var x="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,s){return function(n,i,r){if(y(r))return e(n,i,r);if(null==r)return i;if("function"==typeof r["fantasy-land/reduce"])return t(n,i,r,"fantasy-land/reduce");if(null!=r[x])return s(n,i,r[x]());if("function"==typeof r.next)return s(n,i,r);if("function"==typeof r.reduce)return t(n,i,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function w(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function S(e,t,s,n){return s[n](e,t)}const j=E(b,S,w);function B(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!v(n)){for(var i=0;i<e.length;){if("function"==typeof n[e[i]])return n[e[i]].apply(n,Array.prototype.slice.call(arguments,0,-1));i+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return s.apply(this,arguments)}}function O(e,t){for(var s=0,n=t.length,i=Array(n);s<n;)i[s]=e(t[s]),s+=1;return i}const M=function(){return this.xf["@@transducer/init"]()},$=function(e){return this.xf["@@transducer/result"](e)};var P=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=$,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const A=function(e){return function(t){return new P(e,t)}};function C(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,n){return t.apply(this,arguments)};case 4:return function(e,s,n,i){return t.apply(this,arguments)};case 5:return function(e,s,n,i,r){return t.apply(this,arguments)};case 6:return function(e,s,n,i,r,o){return t.apply(this,arguments)};case 7:return function(e,s,n,i,r,o,a){return t.apply(this,arguments)};case 8:return function(e,s,n,i,r,o,a,c){return t.apply(this,arguments)};case 9:return function(e,s,n,i,r,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,s,n,i,r,o,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function T(e,t,s){return function(){for(var n=[],i=0,r=e,a=0,c=!1;a<t.length||i<arguments.length;){var l;a<t.length&&(!o(t[a])||i>=arguments.length)?l=t[a]:(l=arguments[i],i+=1),n[a]=l,o(l)?c=!0:r-=1,a+=1}return!c&&r<=0?s.apply(this,n):C(Math.max(0,r),T(e,n,s))}}const F=c((function(e,t){return 1===e?a(t):C(e,T(e,[],t))}));function q(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var I=Object.prototype.toString;const R=function(){return"[object Arguments]"===I.call(arguments)?function(e){return"[object Arguments]"===I.call(e)}:function(e){return q("callee",e)}}();var k=!{toString:null}.propertyIsEnumerable("toString"),N=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],V=function(){return arguments.propertyIsEnumerable("length")}(),D=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},L="function"!=typeof Object.keys||V?a((function(e){if(Object(e)!==e)return[];var t,s,n=[],i=V&&R(e);for(t in e)!q(t,e)||i&&"length"===t||(n[n.length]=t);if(k)for(s=N.length-1;s>=0;)q(t=N[s],e)&&!D(n,t)&&(n[n.length]=t),s-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const U=L;const W=c(B(["fantasy-land/map","map"],A,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return F(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return b((function(s,n){return s[n]=e(t[n]),s}),{},U(t));default:return O(e,t)}})));const H=c((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(s){return e(s)(t(s))}:j((function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,i=t.length,r=[];for(s=0;s<n;)r[r.length]=e[s],s+=1;for(s=0;s<i;)r[r.length]=t[s],s+=1;return r}(e,W(s,t))}),[],e)}));const G=c((function(e,t){var s=F(e,t);return F(e,(function(){return b(H,W(s,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const J=a((function(e){return G(e.length,e)}));const z=J(a((function(e){return!e})));function Z(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function K(e,t,s){for(var n=0,i=s.length;n<i;){if(e(t,s[n]))return!0;n+=1}return!1}const Y="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Q=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function X(e,t,s,n){var i=Z(e);function r(e,t){return ee(e,t,s.slice(),n.slice())}return!K((function(e,t){return!K(r,t,e)}),Z(t),i)}function ee(e,t,s,n){if(Y(e,t))return!0;var i,r,o=Q(e);if(o!==Q(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(i=e.constructor,null==(r=String(i).match(/^function (\w*)/))?"":r[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!Y(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Y(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=s.length-1;a>=0;){if(s[a]===e)return n[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&X(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&X(e.values(),t.values(),s.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=U(e);if(c.length!==U(t).length)return!1;var l=s.concat([e]),u=n.concat([t]);for(a=c.length-1;a>=0;){var d=c[a];if(!q(d,t)||!ee(t[d],e[d],l,u))return!1;a-=1}return!0}const te=c((function(e,t){return ee(e,t,[],[])}));const se=a((function(e){return function(){return e}}));const ne=se(void 0);const ie=te(ne());const re=z(ie);var oe=__webpack_require__(8326);function ae(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ce(e,t,s){for(var n=0,i=s.length;n<i;){if((t=e["@@transducer/step"](t,s[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const le=c((function(e,t){return C(e.length,(function(){return e.apply(t,arguments)}))}));function ue(e,t,s){for(var n=s.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=s.next()}return e["@@transducer/result"](t)}function de(e,t,s,n){return e["@@transducer/result"](s[n](le(e["@@transducer/step"],e),t))}const me=E(ce,de,ue);var pe=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function he(e){return new pe(e)}const ge=l((function(e,t,s){return me("function"==typeof e?he(e):e,t,s)}));function _e(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return v(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const fe=l(_e("slice",(function(e,t,s){return Array.prototype.slice.call(s,e,t)})));const be=a(_e("tail",fe(1,1/0)));function ve(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return C(arguments[0].length,ge(ae,arguments[0],be(arguments)))}var ye=function(e,t){switch(arguments.length){case 0:return ye;case 1:return function t(s){return 0===arguments.length?t:Y(e,s)};default:return Y(e,t)}};const xe=ye;function Ee(e,t){return function(e,t,s){var n,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(i=e[s])&&1/i===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(i=e[s])&&i!=i)return s;s+=1}return-1}return e.indexOf(t,s);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,s);case"object":if(null===t)return e.indexOf(t,s)}for(;s<e.length;){if(te(e[s],t))return s;s+=1}return-1}(t,e,0)>=0}function we(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Se=function(e){return(e<10?"0":"")+e};const je="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Se(e.getUTCMonth()+1)+"-"+Se(e.getUTCDate())+"T"+Se(e.getUTCHours())+":"+Se(e.getUTCMinutes())+":"+Se(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Be(e){return"[object Object]"===Object.prototype.toString.call(e)}var Oe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=$,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Me(e){return function(t){return new Oe(e,t)}}const $e=c(B(["fantasy-land/filter","filter"],Me,(function(e,t){return Be(t)?b((function(s,n){return e(t[n])&&(s[n]=t[n]),s}),{},U(t)):function(e,t){for(var s=0,n=t.length,i=[];s<n;)e(t[s])&&(i[i.length]=t[s]),s+=1;return i}(e,t)})));const Pe=c((function(e,t){return $e((s=e,function(){return!s.apply(this,arguments)}),t);var s}));function Ae(e,t){var s=function(s){var n=t.concat([e]);return Ee(s,n)?"<Circular>":Ae(s,n)},n=function(e,t){return O((function(t){return we(t)+": "+s(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+O(s,e).join(", ")+"))";case"[object Array]":return"["+O(s,e).concat(n(e,Pe((function(e){return/^\d+$/.test(e)}),U(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+s(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?s(NaN):we(je(e)))+")";case"[object Map]":return"new Map("+s(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+s(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+s(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+s(e.valueOf())+")":we(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var i=e.toString();if("[object Object]"!==i)return i}return"{"+n(e,U(e)).join(", ")+"}"}}const Ce=a((function(e){return Ae(e,[])}));function Te(e,t){for(var s=t,n=0;n<e.length;n+=1){if(null==s)return;var i=e[n];s=d(i)?p(i,s):s[i]}return s}const Fe=l((function(e,t,s){return e(Te(t,s))}));function qe(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Ie=c((function(e,t){return e&&t}));const Re=c((function(e,t){return qe(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:J(Ie)(e,t)}));const ke=te(null);const Ne=z(ke);function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}const De=function(e){return"object"===Ve(e)};const Le=F(1,Re(Ne,De));const Ue=c((function(e,t){if(e===t)return t;function s(e,t){if(e>t!=t>e)return t>e?t:e}var n=s(e,t);if(void 0!==n)return n;var i=s(typeof e,typeof t);if(void 0!==i)return i===typeof e?e:t;var r=Ce(e),o=s(r,Ce(t));return void 0!==o&&o===r?e:t}));const We=c((function(e,t){return W(h(e),t)}));const He=a((function(e){return F(ge(Ue,0,We("length",e)),(function(){for(var t=0,s=e.length;t<s;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const Ge=F(1,ve(Q,xe("GeneratorFunction")));const Je=F(1,ve(Q,xe("AsyncFunction")));const ze=He([ve(Q,xe("Function")),Ge,Je]);var Ze=ve(Q,xe("Object")),Ke=ve(Ce,te(Ce(Object))),Ye=Fe(Re(ze,Ke),["constructor"]);const Qe=F(1,(function(e){if(!Le(e)||!Ze(e))return!1;var t=Object.getPrototypeOf(e);return!!ke(t)||Ye(t)}));class Xe extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const et=Xe;class tt extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="comment"}}const st=tt;class nt extends oe.wE{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(ie(t))return!1;const s=this.content.findIndex((e=>e===t));return-1!==s&&(this.content[s]=e,!0)}}const it=nt;class rt extends oe.g${constructor(){super(),this.register("annotation",et),this.register("comment",st),this.register("parseResult",it)}}const ot=new rt,at=e=>{const t=new rt;return Qe(e)&&t.use(e),t},ct=ot;const lt=F(1,ve(Q,xe("String"))),ut=__webpack_require__.p+"2f9d346f3bc0cf9ba30b2a61e889fb78.wasm",dt=globalThis.fetch;ze(dt)&&(globalThis.fetch=(...e)=>lt(e[0])&&e[0].endsWith("tree-sitter.wasm")?dt.apply(globalThis,[ut,be(e)]):dt.apply(globalThis,e));var mt=__webpack_require__(3833),pt=__webpack_require__(1212);const ht=class extends pt{constructor(e,t,s){if(super(e,t,s),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=s&&"object"==typeof s&&Object.hasOwn(s,"cause")&&!("cause"in this)){const{cause:e}=s;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class gt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(ht,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const _t=gt,ft=__webpack_require__.p+"fe6ac473f020fbdb0dc39a494e428b55.wasm";let bt=null,vt=null;const yt=async e=>{if(null===bt&&null===vt)vt=mt.init().then((()=>mt.Language.load(ft))).then((e=>{const t=new mt;return t.setLanguage(e),t})).finally((()=>{vt=null})),bt=await vt;else if(null===bt&&null!==vt)bt=await vt;else if(null===bt)throw new _t("Error while initializing web-tree-sitter and loading tree-sitter-yaml grammar.");return bt.parse(e)};const xt=class extends _t{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}};const Et=class extends xt{};const wt=class extends Et{};const St=class extends wt{specificTagName;explicitTagName;tagKind;tagStartPositionRow;tagStartPositionColumn;tagStartPositionIndex;tagEndPositionRow;tagEndPositionColumn;tagEndPositionIndex;nodeCanonicalContent;node;constructor(e,t){super(e,t),void 0!==t&&(this.specificTagName=t.specificTagName,this.explicitTagName=t.explicitTagName,this.tagKind=t.tagKind,this.tagStartPositionRow=t.tagStartPositionRow,this.tagStartPositionColumn=t.tagStartPositionColumn,this.tagStartPositionIndex=t.tagStartPositionIndex,this.tagEndPositionRow=t.tagEndPositionRow,this.tagEndPositionColumn=t.tagEndPositionColumn,this.tagEndPositionIndex=t.tagEndPositionIndex,this.nodeCanonicalContent=t.nodeCanonicalContent,this.node=t.node)}};const jt=class{static type="node";type="node";isMissing;children;startPositionRow;startPositionColumn;startIndex;endPositionRow;endPositionColumn;endIndex;constructor({children:e=[],isMissing:t=!1,startPositionRow:s,startPositionColumn:n,startIndex:i,endPositionRow:r,endPositionColumn:o,endIndex:a}={}){this.type=this.constructor.type,this.isMissing=t,this.children=e,this.startPositionRow=s,this.startPositionColumn=n,this.startIndex=i,this.endPositionRow=r,this.endPositionColumn=o,this.endIndex=a}clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const s=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,s)})),e}};let Bt=function(e){return e.Scalar="Scalar",e.Sequence="Sequence",e.Mapping="Mapping",e}({});const Ot=class extends jt{static type="tag";explicitName;kind;constructor({explicitName:e,kind:t,...s}){super({...s}),this.explicitName=e,this.kind=t}};const Mt=class{static uri="";tag="";constructor(){this.tag=this.constructor.uri}test(e){return!0}resolve(e){return e}};const $t=class extends Mt{static uri="tag:yaml.org,2002:map";test(e){return e.tag.kind===Bt.Mapping}};const Pt=class extends Mt{static uri="tag:yaml.org,2002:seq";test(e){return e.tag.kind===Bt.Sequence}};const At=class extends Mt{static uri="tag:yaml.org,2002:str"};const Ct=l((function(e,t,s){return u(e,Te(t,s))}));const Tt=a((function(e){return F(e.length,e)}));var Ft="\t\n\v\f\r \u2028\u2029\ufeff";const qt=a("function"==typeof String.prototype.trim&&!Ft.trim()&&"".trim()?function(e){return e.trim()}:function(e){var t=new RegExp("^["+Ft+"]["+Ft+"]*"),s=new RegExp("["+Ft+"]["+Ft+"]*$");return e.replace(t,"").replace(s,"")});const It=c((function(e,t){return F(e+1,(function(){var s=arguments[e];if(null!=s&&qe(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Ce(s)+' does not have a method named "'+t+'"')}))}));const Rt=It(1,"split");const kt=It(1,"join");const Nt=a((function(e){return m(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}));function Vt(){if(0===arguments.length)throw new Error("compose requires at least one argument");return ve.apply(this,Nt(arguments))}const Dt=F(4,(function(e,t,s,n){return me(e("function"==typeof t?he(t):t),s,n)}));const Lt=c((function(e,t){if(v(e)){if(v(t))return e.concat(t);throw new TypeError(Ce(t)+" is not an array")}if(m(e)){if(m(t))return e+t;throw new TypeError(Ce(t)+" is not a string")}if(null!=e&&qe(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&qe(e.concat))return e.concat(t);throw new TypeError(Ce(e)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Ut=te("");const Wt=c((function(e,t){return F(ge(Ue,0,We("length",t)),(function(){var s=arguments,n=this;return e.apply(n,O((function(e){return e.apply(n,s)}),t))}))}));function Ht(e){return e}const Gt=a(Ht);const Jt=F(1,ve(Q,xe("Number")));var zt=Re(Jt,isFinite);var Zt=F(1,zt);const Kt=ze(Number.isFinite)?F(1,le(Number.isFinite,Number)):Zt;var Yt=Re(Kt,Wt(te,[Math.floor,Gt]));var Qt=F(1,Yt);const Xt=ze(Number.isInteger)?F(1,le(Number.isInteger,Number)):Qt;const es=a((function(e){return F(e.length,(function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)}))}));const ts=z(Kt);const ss=F(1,Re(Jt,c((function(e,t){return e>t}))(0)));var ns=Tt((function(e,t){var s=Number(t);if(s!==t&&(s=0),ss(s))throw new RangeError("repeat count must be non-negative");if(ts(s))throw new RangeError("repeat count must be less than infinity");if(s=Math.floor(s),0===e.length||0===s)return"";if(e.length*s>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=e.length*s;s=Math.floor(Math.log(s)/Math.log(2));for(var i=e;s;)i+=e,s-=1;return i+=i.substring(0,n-i.length)})),is=es(It(1,"repeat"));const rs=ze(String.prototype.repeat)?is:ns;const os=l((function(e,t,s){return s.replace(e,t)}));var as=os(/[\s\uFEFF\xA0]+$/,""),cs=It(0,"trimEnd");const ls=ze(String.prototype.trimEnd)?cs:as;var us=os(/^[\s\uFEFF\xA0]+/,""),ds=It(0,"trimStart");const ms=ze(String.prototype.trimStart)?ds:us;var ps=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=$,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function hs(e){return function(t){return new ps(e,t)}}const gs=c(B(["dropWhile"],hs,(function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return fe(s,1/0,t)})));const _s=es(c(Ee));const fs=Tt((function(e,t){return ve(Rt(""),gs(_s(e)),kt(""))(t)}));const bs=es(Lt);var vs=__webpack_require__(6850);const ys=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,xs=e=>{const t=(e=>{const t=e.match(ys),s=Ct("",["groups","indentation"],t);return Ut(s)?void 0:parseInt(s,10)})(e);if(Xt(t))return rs(" ",t);const s=Ct("",[1],e.split("\n")),n=Ct(0,["groups","indentation","length"],s.match(/^(?<indentation>[ ]*)/));return rs(" ",n)},Es=e=>{const t=e.match(ys),s=Ct("",["groups","chomping"],t);return Ut(s)?void 0:s},ws=(e,t)=>ie(e)?`${ls(t)}\n`:"-"===e?ls(t):t,Ss=e=>e.replace(/\r\n/g,"\n"),js=e=>e.replace(/(\n)?\n([^\n]+)/g,((e,t,s)=>t?e:` ${s.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Bs=Tt(((e,t)=>t.replace(new RegExp(`^${e}`),"").replace(new RegExp(`${e}$`),""))),Os=ve(Ss,qt,js,Rt("\n"),W(ms),kt("\n")),Ms=ve(Ss,qt,js,Rt("\n"),W(ms),kt("\n"),Bs("'")),$s=ve(Ss,qt,(e=>e.replace(/\\\n\s*/g,"")),js,vs.MH,Rt("\n"),W(ms),kt("\n"),Bs('"'));let Ps=function(e){return e.Plain="Plain",e.SingleQuoted="SingleQuoted",e.DoubleQuoted="DoubleQuoted",e.Literal="Literal",e.Folded="Folded",e.Explicit="Explicit",e.SinglePair="SinglePair",e.NextLine="NextLine",e.InLine="InLine",e}({}),As=function(e){return e.Flow="Flow",e.Block="Block",e}({});const Cs=class{static test(e){return e.tag.kind===Bt.Scalar&&"string"==typeof e.content}static canonicalFormat(e){let t=e.content;const s=e.clone();return e.style===Ps.Plain?t=Os(e.content):e.style===Ps.SingleQuoted?t=Ms(e.content):e.style===Ps.DoubleQuoted?t=$s(e.content):e.style===Ps.Literal?t=(e=>{const t=xs(e),s=Es(e),n=Ss(e),i=be(n.split("\n")),r=Vt(W(fs(t)),W(bs("\n"))),o=Dt(r,Lt,"",i);return ws(s,o)})(e.content):e.style===Ps.Folded&&(t=(e=>{const t=xs(e),s=Es(e),n=Ss(e),i=be(n.split("\n")),r=Vt(W(fs(t)),W(bs("\n"))),o=Dt(r,Lt,"",i),a=js(o);return ws(s,a)})(e.content)),s.content=t,s}static resolve(e){return e}};const Ts=class{tags;tagDirectives;constructor(){this.tags=[],this.tagDirectives=[],this.registerTag(new $t),this.registerTag(new Pt),this.registerTag(new At)}toSpecificTagName(e){let t=e.tag.explicitName;return"!"===e.tag.explicitName?e.tag.kind===Bt.Scalar?t=At.uri:e.tag.kind===Bt.Sequence?t=Pt.uri:e.tag.kind===Bt.Mapping&&(t=$t.uri):e.tag.explicitName.startsWith("!<")?t=e.tag.explicitName.replace(/^!</,"").replace(/>$/,""):e.tag.explicitName.startsWith("!!")&&(t=`tag:yaml.org,2002:${e.tag.explicitName.replace(/^!!/,"")}`),t}registerTagDirective(e){this.tagDirectives.push({handle:e.parameters.handle,prefix:e.parameters.prefix})}registerTag(e,t=!1){return t?this.tags.unshift(e):this.tags.push(e),this}overrideTag(e){return this.tags=this.tags.filter((t=>t.tag===e.tag)),this.tags.push(e),this}resolve(e){const t=this.toSpecificTagName(e);if("?"===t)return e;let s=e;Cs.test(e)&&(s=Cs.canonicalFormat(e));const n=this.tags.find((e=>(null==e?void 0:e.tag)===t));if(void 0===n)throw new St(`Tag "${t}" was not recognized.`,{specificTagName:t,explicitTagName:e.tag.explicitName,tagKind:e.tag.kind,tagStartPositionRow:e.tag.startPositionRow,tagStartPositionColumn:e.tag.startPositionColumn,tagStartPositionIndex:e.tag.startIndex,tagEndPositionRow:e.tag.endPositionRow,tagEndPositionColumn:e.tag.endPositionColumn,tagEndPositionIndex:e.tag.endIndex,node:e.clone()});if(!n.test(s))throw new St(`Node couldn't be resolved against the tag "${t}"`,{specificTagName:t,explicitTagName:e.tag.explicitName,tagKind:e.tag.kind,tagStartPositionRow:e.tag.startPositionRow,tagStartPositionColumn:e.tag.startPositionColumn,tagStartPositionIndex:e.tag.startIndex,tagEndPositionRow:e.tag.endPositionRow,tagEndPositionColumn:e.tag.endPositionColumn,tagEndPositionIndex:e.tag.endIndex,nodeCanonicalContent:s.content,node:e.clone()});return n.resolve(s)}};const Fs=class extends Mt{static uri="tag:yaml.org,2002:bool";test(e){return/^(true|false)$/.test(e.content)}resolve(e){const t="true"===e.content,s=e.clone();return s.content=t,s}};const qs=class extends Mt{static uri="tag:yaml.org,2002:float";test(e){return/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(e.content)}resolve(e){const t=parseFloat(e.content),s=e.clone();return s.content=t,s}};const Is=class extends Mt{static uri="tag:yaml.org,2002:int";test(e){return/^-?(0|[1-9][0-9]*)$/.test(e.content)}resolve(e){const t=parseInt(e.content,10),s=e.clone();return s.content=t,s}};const Rs=class extends Mt{static uri="tag:yaml.org,2002:null";test(e){return/^null$/.test(e.content)}resolve(e){const t=e.clone();return t.content=null,t}};const ks=class extends Ts{constructor(){super(),this.registerTag(new Fs,!0),this.registerTag(new qs,!0),this.registerTag(new Is,!0),this.registerTag(new Rs,!0)}toSpecificTagName(e){let t=super.toSpecificTagName(e);if("?"===t)if(e.tag.vkind===Bt.Sequence)t=Pt.uri;else if(e.tag.kind===Bt.Mapping)t=$t.uri;else if(e.tag.kind===Bt.Scalar){const s=this.tags.find((t=>t.test(e)));t=(null==s?void 0:s.tag)||"?"}return t}};const Ns=class extends jt{anchor;tag;style;styleGroup;constructor({anchor:e,tag:t,style:s,styleGroup:n,...i}){super({...i}),this.anchor=e,this.tag=t,this.style=s,this.styleGroup=n}};const Vs=class extends Ns{static type="scalar";content;constructor({content:e,...t}){super({...t}),this.content=e}};const Ds=class extends Et{},Ls=(e,t)=>null!=t&&"object"==typeof t&&"type"in t&&t.type===e,Us=e=>Ls("mapping",e),Ws=e=>Ls("sequence",e),Hs=e=>Ls("keyValuePair",e),Gs=e=>Ls("scalar",e),Js=e=>Ls("alias",e);const zs=class{addAnchor(e){if(!(e=>Ls("anchor",e))(e.anchor))throw new Ds("Expected YAML anchor to be attached the the YAML AST node.",{node:e})}resolveAlias(e){return new Vs({content:e.content,style:Ps.Plain,styleGroup:As.Flow})}},Zs=(e,t,s)=>{const n=e[t];if(null!=n){if(!s&&"function"==typeof n)return n;const e=s?n.leave:n.enter;if("function"==typeof e)return e}else{const n=s?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},Ks={},Ys=e=>null==e?void 0:e.type,Qs=e=>"string"==typeof Ys(e),Xs=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),en=(e,{visitFnGetter:t=Zs,nodeTypeGetter:s=Ys,breakSymbol:n=Ks,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:r=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(l,u,d,m,p,h){let g=l,_=!1;const f={...h,replaceWith(e,t){h.replaceWith(e,t),g=e}};for(let l=0;l<e.length;l+=1)if(c[l]===a){const a=t(e[l],s(g),!1);if("function"==typeof a){const t=a.call(e[l],g,u,d,m,p,f);if("function"==typeof(null==t?void 0:t.then))throw new xt("Async visitor not supported in sync mode",{visitor:e[l],visitFn:a});if(t===r)c[l]=g;else if(t===n)c[l]=n;else{if(t===i)return t;if(void 0!==t){if(!o)return t;g=t,_=!0}}}}return _?g:void 0},leave(i,o,l,u,d,m){let p=i;const h={...m,replaceWith(e,t){m.replaceWith(e,t),p=e}};for(let i=0;i<e.length;i+=1)if(c[i]===a){const a=t(e[i],s(p),!0);if("function"==typeof a){const t=a.call(e[i],p,o,l,u,d,h);if("function"==typeof(null==t?void 0:t.then))throw new xt("Async visitor not supported in sync mode",{visitor:e[i],visitFn:a});if(t===n)c[i]=n;else if(void 0!==t&&t!==r)return t}}else c[i]===p&&(c[i]=a)}}};en[Symbol.for("nodejs.util.promisify.custom")]=(e,{visitFnGetter:t=Zs,nodeTypeGetter:s=Ys,breakSymbol:n=Ks,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:r=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{async enter(l,u,d,m,p,h){let g=l,_=!1;const f={...h,replaceWith(e,t){h.replaceWith(e,t),g=e}};for(let l=0;l<e.length;l+=1)if(c[l]===a){const a=t(e[l],s(g),!1);if("function"==typeof a){const t=await a.call(e[l],g,u,d,m,p,f);if(t===r)c[l]=g;else if(t===n)c[l]=n;else{if(t===i)return t;if(void 0!==t){if(!o)return t;g=t,_=!0}}}}return _?g:void 0},async leave(i,o,l,u,d,m){let p=i;const h={...m,replaceWith(e,t){m.replaceWith(e,t),p=e}};for(let i=0;i<e.length;i+=1)if(c[i]===a){const a=t(e[i],s(p),!0);if("function"==typeof a){const t=await a.call(e[i],p,o,l,u,d,h);if(t===n)c[i]=n;else if(void 0!==t&&t!==r)return t}}else c[i]===p&&(c[i]=a)}}};const tn=(e,t,{keyMap:s=null,state:n={},breakSymbol:i=Ks,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Zs,nodeTypeGetter:c=Ys,nodePredicate:l=Qs,nodeCloneFn:u=Xs,detectCycles:d=!0,detectCyclesCallback:m=null}={})=>{const p=s||{};let h,g,_=Array.isArray(e),f=[e],b=-1,v=[],y=e;const x=[],E=[];do{b+=1;const e=b===f.length;let s;const j=e&&0!==v.length;if(e){if(s=0===E.length?void 0:x.pop(),y=g,g=E.pop(),j)if(_){y=y.slice();let e=0;for(const[t,s]of v){const n=t-e;s===r?(y.splice(n,1),e+=1):y[n]=s}}else{y=u(y);for(const[e,t]of v)y[e]=t}b=h.index,f=h.keys,v=h.edits,_=h.inArray,h=h.prev}else if(g!==r&&void 0!==g){if(s=_?b:f[b],y=g[s],y===r||void 0===y)continue;x.push(s)}let B;if(!Array.isArray(y)){var w;if(!l(y))throw new xt(`Invalid AST Node: ${String(y)}`,{node:y});if(d&&E.includes(y)){"function"==typeof m&&m(y,s,g,x,E),x.pop();continue}const r=a(t,c(y),e);if(r){for(const[e,s]of Object.entries(n))t[e]=s;const i={replaceWith(t,n){"function"==typeof n?n(t,y,s,g,x,E):g&&(g[s]=t),e||(y=t)}};B=r.call(t,y,s,g,x,E,i)}if("function"==typeof(null===(w=B)||void 0===w?void 0:w.then))throw new xt("Async visitor not supported in sync mode",{visitor:t,visitFn:r});if(B===i)break;if(B===o){if(!e){x.pop();continue}}else if(void 0!==B&&(v.push([s,B]),!e)){if(!l(B)){x.pop();continue}y=B}}var S;if(void 0===B&&j&&v.push([s,y]),!e)h={inArray:_,index:b,keys:f,edits:v,prev:h},_=Array.isArray(y),f=_?y:null!==(S=p[c(y)])&&void 0!==S?S:[],b=-1,v=[],g!==r&&void 0!==g&&E.push(g),g=y}while(void 0!==h);return 0!==v.length?v[v.length-1][1]:e};tn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=null,state:n={},breakSymbol:i=Ks,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Zs,nodeTypeGetter:c=Ys,nodePredicate:l=Qs,nodeCloneFn:u=Xs,detectCycles:d=!0,detectCyclesCallback:m=null}={})=>{const p=s||{};let h,g,_=Array.isArray(e),f=[e],b=-1,v=[],y=e;const x=[],E=[];do{b+=1;const e=b===f.length;let s;const S=e&&0!==v.length;if(e){if(s=0===E.length?void 0:x.pop(),y=g,g=E.pop(),S)if(_){y=y.slice();let e=0;for(const[t,s]of v){const n=t-e;s===r?(y.splice(n,1),e+=1):y[n]=s}}else{y=u(y);for(const[e,t]of v)y[e]=t}b=h.index,f=h.keys,v=h.edits,_=h.inArray,h=h.prev}else if(g!==r&&void 0!==g){if(s=_?b:f[b],y=g[s],y===r||void 0===y)continue;x.push(s)}let j;if(!Array.isArray(y)){if(!l(y))throw new xt(`Invalid AST Node: ${String(y)}`,{node:y});if(d&&E.includes(y)){"function"==typeof m&&m(y,s,g,x,E),x.pop();continue}const r=a(t,c(y),e);if(r){for(const[e,s]of Object.entries(n))t[e]=s;const i={replaceWith(t,n){"function"==typeof n?n(t,y,s,g,x,E):g&&(g[s]=t),e||(y=t)}};j=await r.call(t,y,s,g,x,E,i)}if(j===i)break;if(j===o){if(!e){x.pop();continue}}else if(void 0!==j&&(v.push([s,j]),!e)){if(!l(j)){x.pop();continue}y=j}}var w;if(void 0===j&&S&&v.push([s,y]),!e)h={inArray:_,index:b,keys:f,edits:v,prev:h},_=Array.isArray(y),f=_?y:null!==(w=p[c(y)])&&void 0!==w?w:[],b=-1,v=[],g!==r&&void 0!==g&&E.push(g),g=y}while(void 0!==h);return 0!==v.length?v[v.length-1][1]:e};const sn=class extends jt{static type="anchor";name;constructor({name:e,...t}){super({...t}),this.name=e}};class nn extends jt{static type="stream"}Object.defineProperty(nn.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter((e=>(e=>Ls("document",e))(e)||(e=>Ls("comment",e))(e))):[]},enumerable:!0});const rn=nn;const on=a((function(e){return p(0,e)}));const an=class extends jt{static type="parseResult";get rootNode(){return on(this.children)}};const cn="function"==typeof Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),s=1,n=arguments.length;s<n;){var i=arguments[s];if(null!=i)for(var r in i)q(r,i)&&(t[r]=i[r]);s+=1}return t};const ln=c((function(e,t){return cn({},e,t)}));const un=class extends jt{static type="directive";name;parameters;constructor({name:e,parameters:t,...s}){super({...s}),this.name=e,this.parameters=ln({version:void 0,handle:void 0,prefix:void 0},t)}};const dn=class extends jt{static type="document"};const mn=class extends Ns{};class pn extends mn{static type="mapping"}Object.defineProperty(pn.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter(Hs):[]},enumerable:!0});const hn=pn;class gn extends jt{static type="keyValuePair";styleGroup;constructor({styleGroup:e,...t}){super({...t}),this.styleGroup=e}}Object.defineProperties(gn.prototype,{key:{get(){return this.children.filter((e=>Gs(e)||Us(e)||Ws(e)))[0]},enumerable:!0},value:{get(){const{key:e,children:t}=this;return t.filter((t=>(t=>t!==e)(t)&&(e=>Gs(e)||Us(e)||Ws(e)||Js(e))(t)))[0]},enumerable:!0}});const _n=gn;class fn extends mn{static type="sequence"}Object.defineProperty(fn.prototype,"content",{get(){const{children:e}=this;return Array.isArray(e)?e.filter((e=>Ws(e)||Us(e)||Gs(e)||Js(e))):[]},enumerable:!0});const bn=fn;const vn=class extends jt{static type="comment";content;constructor({content:e,...t}){super({...t}),this.content=e}};const yn=class extends jt{static type="alias";content;constructor({content:e,...t}){super({...t}),this.content=e}};const xn=class extends jt{static type="literal";value;constructor({value:e,...t}={}){super({...t}),this.value=e}};const En=class extends jt{static type="error";value;isUnexpected;constructor({value:e,isUnexpected:t=!1,...s}={}){super({...s}),this.value=e,this.isUnexpected=t}};const wn=c((function(e,t){return b((function(s,n){return s[n]=e(t[n],n,t),s}),{},U(t))}));const Sn=a((function(e){return null==e}));var jn=c((function(e,t){if(0===e.length||Sn(t))return!1;for(var s=t,n=0;n<e.length;){if(Sn(s)||!q(e[n],s))return!1;s=s[e[n]],n+=1}return!0}));const Bn=jn;var On=c((function(e,t){return Bn([e],t)}));const Mn=On;const $n=l((function(e,t,s){return e(h(t,s))}));const Pn=c(Te),An=(e,t)=>{const s=u(e,t);return wn((e=>{if(Qe(e)&&Mn("$ref",e)&&$n(lt,"$ref",e)){const t=Pn(["$ref"],e),n=fs("#/",t);return Pn(n.split("/"),s)}return Qe(e)?An(e,s):e}),e)},Cn=(e,t)=>(e.startPositionRow=null==t?void 0:t.startPositionRow,e.startPositionColumn=null==t?void 0:t.startPositionColumn,e.startIndex=null==t?void 0:t.startIndex,e.endPositionRow=null==t?void 0:t.endPositionRow,e.endPositionColumn=null==t?void 0:t.endPositionColumn,e.endIndex=null==t?void 0:t.endIndex,e);const Tn=class{type;startPositionRow;startPositionColumn;startIndex;endPositionRow;endPositionColumn;endIndex;text;isNamed;isMissing;fieldName;hasError=!1;children=[];previousSibling;constructor(e){this.type=e.nodeType,this.startPositionRow=e.startPosition.row,this.startPositionColumn=e.startPosition.column,this.startIndex=e.startIndex,this.endPositionRow=e.endPosition.row,this.endPositionColumn=e.endPosition.column,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("flow_pair"===this.type||"block_mapping_pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("flow_pair"===this.type||"block_mapping_pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}get tag(){let{previousSibling:e}=this;for(;void 0!==e&&"tag"!==e.type;)({previousSibling:e}=e);return e}get anchor(){let{previousSibling:e}=this;for(;void 0!==e&&"anchor"!==e.type;)({previousSibling:e}=e);return e}get firstNamedChild(){return this.children.find((e=>e.isNamed))}setFieldName(e){return this.fieldName=e.currentFieldName,this}setHasError(e){return this.hasError=e.currentNode.hasError,this}setPreviousSibling(e){this.previousSibling=e}pushChildren(...e){this.children.push(...e)}},Fn={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},qn=e=>Array.isArray(e)||Qs(e);class In{static isScalar=this.isKind("scalar");static isMapping=this.isKind("mapping");static isSequence=this.isKind("sequence");static isKind(e){return t=>null!=t&&"object"==typeof t&&"type"in t&&"string"==typeof t.type&&t.type.endsWith(e)}static kindNodeToYamlAnchor(e){const{anchor:t}=e;if(void 0!==t)return new sn(Cn({name:t.text},t))}static hasKeyValuePairEmptyKey(e){return("block_mapping_pair"===e.type||"flow_pair"===e.type)&&void 0===e.keyNode}static hasKeyValuePairEmptyValue(e){return("block_mapping_pair"===e.type||"flow_pair"===e.type)&&void 0===e.valueNode}static kindNodeToYamlTag(e){const{tag:t}=e,s=(null==t?void 0:t.text)||("plain_scalar"===e.type?"?":"!"),n=e.type.endsWith("mapping")?Bt.Mapping:e.type.endsWith("sequence")?Bt.Sequence:Bt.Scalar;return new Ot(Cn({explicitName:s,kind:n},t))}schema;referenceManager;stream={enter:e=>new rn(Cn({children:e.children,isMissing:e.isMissing},e)),leave:e=>new an({children:[e]})};yaml_directive={enter:e=>{var t;const s=null==e||null===(t=e.firstNamedChild)||void 0===t?void 0:t.text;return new un(Cn({name:"%YAML",parameters:{version:s}},e))}};tag_directive={enter:e=>{const t=e.children[0],s=e.children[1],n=new un(Cn({name:"%TAG",parameters:{handle:null==t?void 0:t.text,prefix:null==s?void 0:s.text}},e));return this.schema.registerTagDirective(n),n}};reserved_directive={enter:e=>{const t=e.children[0],s=e.children[1],n=e.children[2];return new un(Cn({name:null==t?void 0:t.text,parameters:{handle:null==s?void 0:s.text,prefix:null==n?void 0:n.text}},e))}};document={enter:e=>new dn(Cn({children:e.children,isMissing:e.isMissing},e)),leave:e=>{e.children=e.children.flat()}};block_node={enter:e=>e.children};flow_node={enter:e=>{const[t]=e.children.slice(-1);if(In.isScalar(t)||In.isMapping(t)||In.isSequence(t))return e.children;const s=new Vs({content:"",anchor:In.kindNodeToYamlAnchor(t),tag:In.kindNodeToYamlTag(t),startPositionRow:t.endPositionRow,startPositionColumn:t.endPositionColumn,startIndex:t.endIndex,endPositionRow:t.endPositionRow,endPositionColumn:t.endPositionColumn,endIndex:t.endIndex,styleGroup:As.Flow,style:Ps.Plain});return this.registerAnchor(s),[...e.children,s]}};tag={enter:()=>null};anchor={enter:()=>null};block_mapping={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new hn(Cn({children:e.children,anchor:s,tag:t,styleGroup:As.Block,style:Ps.NextLine,isMissing:e.isMissing},e));return this.registerAnchor(n),this.schema.resolve(n)}};block_mapping_pair={enter:e=>{const t=[...e.children];if(In.hasKeyValuePairEmptyKey(e)){const s=this.createKeyValuePairEmptyKey(e);t.unshift(s)}if(In.hasKeyValuePairEmptyValue(e)){const s=this.createKeyValuePairEmptyValue(e);t.push(s)}return new _n(Cn({children:t,styleGroup:As.Block,isMissing:e.isMissing},e))}};flow_mapping={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new hn(Cn({children:e.children,anchor:s,tag:t,styleGroup:As.Flow,style:Ps.Explicit,isMissing:e.isMissing},e));return this.registerAnchor(n),this.schema.resolve(n)}};flow_pair={enter:e=>{const t=[...e.children];if(In.hasKeyValuePairEmptyKey(e)){const s=this.createKeyValuePairEmptyKey(e);t.unshift(s)}if(In.hasKeyValuePairEmptyValue(e)){const s=this.createKeyValuePairEmptyValue(e);t.push(s)}return new _n(Cn({children:t,styleGroup:As.Flow,isMissing:e.isMissing},e))}};keyValuePair={leave:e=>{e.children=e.children.flat()}};block_sequence={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new bn(Cn({children:e.children,anchor:s,tag:t,styleGroup:As.Block,style:Ps.NextLine},e));return this.registerAnchor(n),this.schema.resolve(n)}};block_sequence_item={enter:e=>{if(e.children.length>1)return e.children;return[new Vs({content:"",tag:new Ot({explicitName:"?",kind:Bt.Scalar}),startPositionRow:e.endPositionRow,startPositionColumn:e.endPositionColumn,startIndex:e.endIndex,endPositionRow:e.endPositionRow,endPositionColumn:e.endPositionColumn,endIndex:e.endIndex,styleGroup:As.Flow,style:Ps.Plain})]}};flow_sequence={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new bn(Cn({children:e.children.flat(),anchor:s,tag:t,styleGroup:As.Flow,style:Ps.Explicit},e));return this.registerAnchor(n),this.schema.resolve(n)}};sequence={leave:e=>{e.children=e.children.flat(1/0)}};plain_scalar={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new Vs(Cn({content:e.text,anchor:s,tag:t,styleGroup:As.Flow,style:Ps.Plain},e));return this.registerAnchor(n),this.schema.resolve(n)}};single_quote_scalar={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new Vs(Cn({content:e.text,anchor:s,tag:t,styleGroup:As.Flow,style:Ps.SingleQuoted},e));return this.registerAnchor(n),this.schema.resolve(n)}};double_quote_scalar={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=new Vs(Cn({content:e.text,anchor:s,tag:t,styleGroup:As.Flow,style:Ps.DoubleQuoted},e));return this.registerAnchor(n),this.schema.resolve(n)}};block_scalar={enter:e=>{const t=In.kindNodeToYamlTag(e),s=In.kindNodeToYamlAnchor(e),n=e.text.startsWith("|")?Ps.Literal:e.text.startsWith(">")?Ps.Folded:Ps.Plain,i=new Vs(Cn({content:e.text,anchor:s,tag:t,styleGroup:As.Block,style:n},e));return this.registerAnchor(i),this.schema.resolve(i)}};comment={enter:e=>new vn({content:e.text})};alias={enter:e=>{const t=new yn({content:e.text});return this.referenceManager.resolveAlias(t)}};constructor(e){this.schema=e}enter(e){if(e instanceof Tn&&!e.isNamed){const t=e.type||e.text,{isMissing:s}=e;return new xn(Cn({value:t,isMissing:s},e))}}ERROR(e,t,s,n){const i=new En(Cn({children:e.children,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text},e));return 0===n.length?new an({children:[i]}):i}registerAnchor(e){void 0!==e.anchor&&this.referenceManager.addAnchor(e)}createKeyValuePairEmptyKey(e){const{keyNode:t}=e,s=(null==t?void 0:t.children)||[],n=s.find(In.isKind("tag")),i=s.find(In.isKind("anchor")),r=new Ot(void 0!==n?Cn({explicitName:n.text,kind:Bt.Scalar},n):{explicitName:"?",kind:Bt.Scalar}),o=void 0!==i?new sn(Cn({name:i.text},i)):void 0,a=new Vs({content:"",startPositionRow:e.startPositionRow,startPositionColumn:e.startPositionColumn,startIndex:e.startIndex,endPositionRow:e.startPositionRow,endPositionColumn:e.startPositionColumn,endIndex:e.startIndex,tag:r,anchor:o,styleGroup:As.Flow,style:Ps.Plain});return this.registerAnchor(a),a}createKeyValuePairEmptyValue(e){const{valueNode:t}=e,s=(null==t?void 0:t.children)||[],n=s.find(In.isKind("tag")),i=s.find(In.isKind("anchor")),r=new Ot(void 0!==n?Cn({explicitName:n.text,kind:Bt.Scalar},n):{explicitName:"?",kind:Bt.Scalar}),o=void 0!==i?new sn(Cn({name:i.text},i)):void 0,a=new Vs({content:"",startPositionRow:e.endPositionRow,startPositionColumn:e.endPositionColumn,startIndex:e.endIndex,endPositionRow:e.endPositionRow,endPositionColumn:e.endPositionColumn,endIndex:e.endIndex,tag:r,anchor:o,styleGroup:As.Flow,style:Ps.Plain});return this.registerAnchor(a),a}}const Rn=In;function kn(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var Nn=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=kn(this.xf["@@transducer/step"](e,!1))),e},e}();function Vn(e){return function(t){return new Nn(e,t)}}const Dn=c(B(["all"],Vn,(function(e,t){for(var s=0;s<t.length;){if(!e(t[s]))return!1;s+=1}return!0}))),Ln=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Un=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Wn=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Hn=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof oe.wE)&&t.classes.includes(e),Gn=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Jn=e=>e({hasMethod:Ln,hasBasicElementProps:Un,primitiveEq:Wn,isElementType:Gn,hasClass:Hn}),zn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.Hg||e(s)&&t(void 0,s))),Zn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.Om||e(s)&&t("string",s))),Kn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.kT||e(s)&&t("number",s))),Yn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.Os||e(s)&&t("null",s))),Qn=Jn((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof oe.bd||e(s)&&t("boolean",s))),Xn=Jn((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof oe.Sh||e(n)&&t("object",n)&&s("keys",n)&&s("values",n)&&s("items",n))),ei=Jn((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof oe.wE&&!(n instanceof oe.Sh)||e(n)&&t("array",n)&&s("push",n)&&s("unshift",n)&&s("map",n)&&s("reduce",n))),ti=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oe.Pr||e(n)&&t("member",n)&&s(void 0,n))),si=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oe.Ft||e(n)&&t("link",n)&&s(void 0,n))),ni=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oe.sI||e(n)&&t("ref",n)&&s(void 0,n))),ii=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof et||e(n)&&t("annotation",n)&&s("array",n))),ri=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof st||e(n)&&t("comment",n)&&s("string",n))),oi=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof it||e(n)&&t("parseResult",n)&&s("array",n))),ai=e=>Gn("object",e)||Gn("array",e)||Gn("boolean",e)||Gn("number",e)||Gn("string",e)||Gn("null",e)||Gn("member",e),ci=e=>!!zn(e)&&(Number.isInteger(e.startPositionRow)&&Number.isInteger(e.startPositionColumn)&&Number.isInteger(e.startIndex)&&Number.isInteger(e.endPositionRow)&&Number.isInteger(e.endPositionColumn)&&Number.isInteger(e.endIndex)),li=(e,t)=>{if(0===e.length)return!0;const s=t.attributes.get("symbols");return!!ei(s)&&Dn(_s(s.toValue()),e)},ui=(e,t)=>0===e.length||Dn(_s(t.classes.toValue()),e);const di=class extends xt{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const mi=class extends di{};const pi=class extends di{},hi=(e,t={})=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);if(e instanceof oe.KeyValuePair){const{key:t,value:i}=e,r=zn(t)?hi(t,n):t,o=zn(i)?hi(i,n):i,a=new oe.KeyValuePair(r,o);return s.set(e,a),a}if(e instanceof oe.ot){const t=e=>hi(e,n),i=[...e].map(t),r=new oe.ot(i);return s.set(e,r),r}if(e instanceof oe.G6){const t=e=>hi(e,n),i=[...e].map(t),r=new oe.G6(i);return s.set(e,r),r}if(zn(e)){const t=fi(e);if(s.set(e,t),e.content)if(zn(e.content))t.content=hi(e.content,n);else if(e.content instanceof oe.KeyValuePair)t.content=hi(e.content,n);else if(Array.isArray(e.content)){const s=e=>hi(e,n);t.content=e.content.map(s)}else t.content=e.content;else t.content=e.content;return t}throw new mi("Value provided to cloneDeep function couldn't be cloned",{value:e})};hi.safe=e=>{try{return hi(e)}catch{return e}};const gi=e=>{const{key:t,value:s}=e;return new oe.KeyValuePair(t,s)},_i=e=>{const t=new e.constructor;if(t.element=e.element,ci(e)&&Cn(t,e),e.meta.length>0&&(t._meta=hi(e.meta)),e.attributes.length>0&&(t._attributes=hi(e.attributes)),zn(e.content)){const s=e.content;t.content=_i(s)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof oe.KeyValuePair?t.content=gi(e.content):t.content=e.content;return t},fi=e=>{if(e instanceof oe.KeyValuePair)return gi(e);if(e instanceof oe.ot)return(e=>{const t=[...e];return new oe.ot(t)})(e);if(e instanceof oe.G6)return(e=>{const t=[...e];return new oe.G6(t)})(e);if(zn(e))return _i(e);throw new pi("Value provided to cloneShallow function couldn't be cloned",{value:e})};fi.safe=e=>{try{return fi(e)}catch{return e}};const bi=e=>Xn(e)?"ObjectElement":ei(e)?"ArrayElement":ti(e)?"MemberElement":Zn(e)?"StringElement":Qn(e)?"BooleanElement":Kn(e)?"NumberElement":Yn(e)?"NullElement":si(e)?"LinkElement":ni(e)?"RefElement":void 0,vi=e=>zn(e)?fi(e):Xs(e),yi=ve(bi,lt),xi={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"]};const Ei=(e,t,{keyMap:s=xi,...n}={})=>tn(e,t,{keyMap:s,nodeTypeGetter:bi,nodePredicate:yi,nodeCloneFn:vi,...n});Ei[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=xi,...n}={})=>tn[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:s,nodeTypeGetter:bi,nodePredicate:yi,nodeCloneFn:vi,...n});const wi=l((function(e,t,s){var n,i={};for(n in s=s||{},t=t||{})q(n,t)&&(i[n]=q(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)q(n,s)&&!q(n,i)&&(i[n]=s[n]);return i}));const Si=l((function e(t,s,n){return wi((function(s,n,i){return Be(n)&&Be(i)?e(t,n,i):t(s,n,i)}),s,n)}));const ji=c((function(e,t){return Si((function(e,t,s){return s}),e,t)}));const Bi=fe(0,-1);const Oi=c((function(e,t){return e.apply(this,t)}));const Mi=z(ze);var $i=a((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():v(e)?[]:m(e)?"":Be(e)?{}:R(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Pi=$i;const Ai=a((function(e){return null!=e&&te(e,Pi(e))}));const Ci=F(1,ze(Array.isArray)?Array.isArray:ve(Q,xe("Array")));const Ti=Re(Ci,Ai);const Fi=F(3,(function(e,t,s){var n=Pn(e,s),i=Pn(Bi(e),s);if(!Mi(n)&&!Ti(e)){var r=le(n,i);return Oi(r,t)}})),qi=()=>({predicates:{...e},namespace:ct}),Ii={toolboxCreator:qi,visitorOptions:{nodeTypeGetter:bi,exposeEdits:!0}},Ri=(e,t,s={})=>{if(0===t.length)return e;const n=ji(Ii,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),a=t.map((e=>e(o))),c=en(a.map(g({},"visitor")),{...r});a.forEach(Fi(["pre"],[]));const l=Ei(e,c,r);return a.forEach(Fi(["post"],[])),l};Ri[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=ji(Ii,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),a=t.map((e=>e(o))),c=en[Symbol.for("nodejs.util.promisify.custom")],l=Ei[Symbol.for("nodejs.util.promisify.custom")],u=c(a.map(g({},"visitor")),{...r});await Promise.allSettled(a.map(Fi(["pre"],[])));const d=await l(e,u,r);return await Promise.allSettled(a.map(Fi(["post"],[]))),d};const ki=(e,{Type:t,plugins:s=[]})=>{const n=new t(e);return zn(e)&&(e.meta.length>0&&(n.meta=hi(e.meta)),e.attributes.length>0&&(n.attributes=hi(e.attributes))),Ri(n,s,{toolboxCreator:qi,visitorOptions:{nodeTypeGetter:bi}})},Ni=e=>(t,s={})=>ki(t,{...s,Type:e});oe.Sh.refract=Ni(oe.Sh),oe.wE.refract=Ni(oe.wE),oe.Om.refract=Ni(oe.Om),oe.bd.refract=Ni(oe.bd),oe.Os.refract=Ni(oe.Os),oe.kT.refract=Ni(oe.kT),oe.Ft.refract=Ni(oe.Ft),oe.sI.refract=Ni(oe.sI),et.refract=Ni(et),st.refract=Ni(st),it.refract=Ni(it);const Vi={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"],...xi},Di=e=>zn(e)?bi(e):Ys(e),Li=e=>zn(e)||Qs(e)||Array.isArray(e);const Ui=class{sourceMap=!1;annotations;namespace;processedDocumentCount=0;stream={leave:e=>{const t=new it;t._content=e.children.flat(1);const s=t.findElements(ai);if(s.length>0){s[0].classes.push("result")}return this.annotations.forEach((e=>{t.push(e)})),this.annotations=[],t}};constructor(){this.annotations=[],this.namespace=at()}comment(e){if(0===this.processedDocumentCount){const t=new st(e.content);return this.maybeAddSourceMap(e,t),t}return null}document(e){const t=1===this.processedDocumentCount,s=this.processedDocumentCount>=1;if(t){const t=new et("Only first document within YAML stream will be used. Rest will be discarded.");t.classes.push("warning"),this.maybeAddSourceMap(e,t),this.annotations.push(t)}return s?null:(this.processedDocumentCount+=1,e.children)}mapping(e){const t=new oe.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}keyValuePair(e){const t=new oe.Pr;return t.content.key=e.key,t.content.value=e.value,this.maybeAddSourceMap(e,t),e.children.filter((e=>"error"===e.type)).forEach((t=>{this.error(t,e,[],[e])})),t}sequence(e){const t=new oe.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}scalar(e){const t=this.namespace.toElement(e.content);return""===e.content&&e.style===Ps.Plain&&(t.classes.push("yaml-e-node"),t.classes.push("yaml-e-scalar")),this.maybeAddSourceMap(e,t),t}literal(e){if(e.isMissing){const t=`(Missing ${e.value})`,s=new et(t);s.classes.push("warning"),this.maybeAddSourceMap(e,s),this.annotations.push(s)}return null}error(e,t,s,n){const i=e.isUnexpected?"(Unexpected YAML syntax error)":"(Error YAML syntax error)",r=new et(i);if(r.classes.push("error"),this.maybeAddSourceMap(e,r),0===n.length){const e=new it;return e.push(r),e}return this.annotations.push(r),null}maybeAddSourceMap(e,t){this.sourceMap&&Cn(t,e)}};class Wi{cursor;constructor(e){this.cursor=e}stream(){return new Tn(this.cursor)}yaml_directive(){return new Tn(this.cursor)}tag_directive(){return new Tn(this.cursor)}reserved_directive(){return new Tn(this.cursor)}document(){return new Tn(this.cursor)}block_node(){return new Tn(this.cursor).setFieldName(this.cursor)}flow_node(){return new Tn(this.cursor).setFieldName(this.cursor)}block_mapping(){return new Tn(this.cursor)}block_mapping_pair(){return new Tn(this.cursor)}flow_mapping(){return new Tn(this.cursor)}flow_pair(){return new Tn(this.cursor)}block_sequence(){return new Tn(this.cursor)}block_sequence_item(){return new Tn(this.cursor)}flow_sequence(){return new Tn(this.cursor)}plain_scalar(){return new Tn(this.cursor)}single_quote_scalar(){return new Tn(this.cursor)}double_quote_scalar(){return new Tn(this.cursor)}block_scalar(){return new Tn(this.cursor)}ERROR(){return new Tn(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Tn(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Wi(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=Array.from(new Wi(this.cursor));e.pushChildren(...t)}e.children.reduce(((e,t)=>(t.setPreviousSibling(e),t)),void 0),this.cursor.gotoParent()}yield e}}const Hi=Wi,Gi=(e,{sourceMap:t=!1}={})=>{const s=e.walk(),n=new Hi(s),[i]=Array.from(n),r=new Rn,o=new Ui,a=new ks,c=new zs,l=tn(i,r,{keyMap:Fn,nodePredicate:qn,state:{schema:a,sourceMap:t,referenceManager:c}});return tn(l.rootNode,o,{keyMap:Vi,nodeTypeGetter:Di,nodePredicate:Li,state:{sourceMap:t}})};var Ji=l((function e(t,s,n){if(0===t.length)return s;var i=t[0];if(t.length>1){var r=!Sn(n)&&q(i,n)&&"object"==typeof n[i]?n[i]:d(t[1])?[]:{};s=e(Array.prototype.slice.call(t,1),s,r)}return function(e,t,s){if(d(e)&&v(s)){var n=[].concat(s);return n[e]=t,n}var i={};for(var r in s)i[r]=s[r];return i[e]=t,i}(i,s,n)}));const zi=Ji;const Zi=l((function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n}));var Ki=l((function(e,t,s){return zi([e],t,s)}));const Yi=Ki;var Qi=c((function e(t,s){if(null==s)return s;switch(t.length){case 0:return s;case 1:return function(e,t){if(null==t)return t;if(d(e)&&v(t))return Zi(e,1,t);var s={};for(var n in t)s[n]=t[n];return delete s[e],s}(t[0],s);default:var n=t[0],i=Array.prototype.slice.call(t,1);return null==s[n]?function(e,t){if(d(e)&&v(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):Yi(n,e(i,s[n]),s)}}));const Xi=Qi;const er=function(){return!0},tr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:bi(e),sr={EphemeralObject:["content"],EphemeralArray:["content"],...xi},nr=(e,t,{keyMap:s=sr,...n}={})=>Ei(e,t,{keyMap:s,nodeTypeGetter:tr,nodePredicate:er,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});nr[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=sr,...s}={})=>Ei[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:tr,nodePredicate:er,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});const ir=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const rr=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class or{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new rr(e.content);return this.references.set(e,t),t}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ir(e.content);return this.references.set(e,t),t}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}RefElement(e,...t){var s;const n=t[3];return"EphemeralObject"===(null===(s=n[n.length-1])||void 0===s?void 0:s.type)?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return Zn(e.href)?e.href.toValue():""}}const ar=e=>zn(e)?Zn(e)||Kn(e)||Qn(e)||Yn(e)?e.toValue():nr(e,new or):e,cr=e=>{const t=e.meta.length>0?hi(e.meta):void 0,s=e.attributes.length>0?hi(e.attributes):void 0;return new e.constructor(void 0,t,s)},lr=(e,t)=>t.clone&&t.isMergeableElement(e)?dr(cr(e),e,t):e,ur={clone:!0,isMergeableElement:e=>Xn(e)||ei(e),arrayElementMerge:(e,t,s)=>e.concat(t)["fantasy-land/map"]((e=>lr(e,s))),objectElementMerge:(e,t,s)=>{const n=Xn(e)?cr(e):cr(t);return Xn(e)&&e.forEach(((e,t,i)=>{const r=fi(i);r.value=lr(e,s),n.content.push(r)})),t.forEach(((t,i,r)=>{const o=ar(i);let a;if(Xn(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);a=fi(r),a.value=((e,t)=>{if("function"!=typeof t.customMerge)return dr;const s=t.customMerge(e,t);return"function"==typeof s?s:dr})(i,s)(n,t,s)}else a=fi(r),a.value=lr(t,s);n.remove(o),n.content.push(a)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},dr=(e,t,s)=>{var n,i,r;const o={...ur,...s};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:ur.isMergeableElement,o.arrayElementMerge=null!==(i=o.arrayElementMerge)&&void 0!==i?i:ur.arrayElementMerge,o.objectElementMerge=null!==(r=o.objectElementMerge)&&void 0!==r?r:ur.objectElementMerge;const a=ei(t);if(!(a===ei(e)))return lr(t,o);const c=a&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return c.meta=(e=>"function"!=typeof e.customMetaMerge?e=>hi(e):e.customMetaMerge)(o)(e.meta,t.meta),c.attributes=(e=>"function"!=typeof e.customAttributesMerge?e=>hi(e):e.customAttributesMerge)(o)(e.attributes,t.attributes),c};dr.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new oe.Sh:e.reduce(((e,s)=>dr(e,s,t)),cr(e[0]))};const mr=dr;const pr=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=mr(t.meta,e.meta)),ci(e)&&Cn(t,e),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=mr(t.attributes,e.attributes))}};const hr=class extends pr{enter(e){return this.element=hi(e),Ks}},gr=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},_r=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:_r(s,[...t,s])},fr=(e,t,s=[])=>{var n;const i=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map((e=>_r(e)));for(;s.every((e=>e.length>0));){const e=s.map((e=>e.pop())),n=e[0];if(!e.every((e=>e===n)))break;t=n}return t})(...e))&&void 0!==n?n:Object.prototype,r=Object.create(i),o=_r(i);for(let t of e){let e=_r(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(gr(r,n,["constructor",...s]),o.push(n))}}return r.constructor=t,r},br=e=>e.filter(((t,s)=>e.indexOf(t)==s)),vr=(e,t)=>{const s=t.map((e=>_r(e)));let n=0,i=!0;for(;i;){i=!1;for(let r=t.length-1;r>=0;r--){const t=s[r][n];if(null!=t&&(i=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[r][0]}n++}},yr=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,s)=>Object.getOwnPropertyDescriptor(vr(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==vr(n,e)||void 0!==t[n],get:(s,n)=>(vr(n,e)||t)[n],set(t,s,n){const i=vr(s,e);if(void 0===i)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return i[s]=n,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce(((e,t)=>t.concat(e.filter((e=>t.indexOf(e)<0)))))}),xr=null,Er="copy",wr="copy",Sr="deep",jr=new WeakMap,Br=e=>jr.get(e),Or=(e,t)=>{var s,n;const i=br([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),r={};for(let o of i)r[o]=br([...null!==(s=null==e?void 0:e[o])&&void 0!==s?s:[],...null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[]]);return r},Mr=(e,t)=>{var s,n,i,r;return{property:Or(null!==(s=null==e?void 0:e.property)&&void 0!==s?s:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:Or(null!==(i=null==e?void 0:e.method)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.method)&&void 0!==r?r:{})}},$r=(e,t)=>{var s,n,i,r,o,a;return{class:br([...null!==(s=null==e?void 0:e.class)&&void 0!==s?s:[],...null!==(n=null==t?void 0:t.class)&&void 0!==n?n:[]]),static:Mr(null!==(i=null==e?void 0:e.static)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.static)&&void 0!==r?r:{}),instance:Mr(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(a=null==t?void 0:t.instance)&&void 0!==a?a:{})}},Pr=new Map,Ar=(...e)=>{const t=((...e)=>{var t;const s=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const i=[..._r(e.prototype).map((e=>e.constructor)),...null!==(t=Br(e))&&void 0!==t?t:[]].filter((e=>!s.has(e)));for(let e of i)n.add(e);s.add(e),n.delete(e)}return[...s]})(...e).map((e=>Pr.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>$r(e,t)))},Cr=e=>{let t=Pr.get(e);return t||(t={},Pr.set(e,t)),t};function Tr(...e){var t,s,n;const i=e.map((e=>e.prototype)),r=xr;if(null!==r){const e=i.map((e=>e[r])).filter((e=>"function"==typeof e)),t=function(...t){for(let s of e)s.apply(this,t)},s={[r]:t};i.push(s)}function o(...t){for(const s of e)gr(this,new s(...t));null!==r&&"function"==typeof this[r]&&this[r].apply(this,t)}var a,c;o.prototype="copy"===wr?fr(i,o):(a=i,c=o,yr([...a,{constructor:c}])),Object.setPrototypeOf(o,"copy"===Er?fr(e,null,["prototype"]):yr(e,Function.prototype));let l=o;if("none"!==Sr){const i="deep"===Sr?Ar(...e):((...e)=>{const t=e.map((e=>Cr(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>$r(e,t)))})(...e);for(let e of null!==(t=null==i?void 0:i.class)&&void 0!==t?t:[]){const t=e(l);t&&(l=t)}Fr(null!==(s=null==i?void 0:i.static)&&void 0!==s?s:{},l),Fr(null!==(n=null==i?void 0:i.instance)&&void 0!==n?n:{},l.prototype)}var u,d;return u=l,d=e,jr.set(u,d),l}const Fr=(e,t)=>{const s=e.property,n=e.method;if(s)for(let e in s)for(let n of s[e])n(t,e);if(n)for(let e in n)for(let s of n[e])s(t,e,Object.getOwnPropertyDescriptor(t,e))};const qr=a((function(e){return F(ge(Ue,0,We("length",e)),(function(){for(var t=0,s=e.length;t<s;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Ir=a((function(e){return!Ai(e)}));const Rr=c((function(e,t){return e||t}));var kr=z(F(1,Re(Ne,c((function(e,t){return qe(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:J(Rr)(e,t)}))(De,ze))));const Nr=qr([lt,kr,Ir]);const Vr=c((function(e,t){for(var s={},n=0;n<e.length;)e[n]in t&&(s[e[n]]=t[e[n]]),n+=1;return s}));const Dr=class extends pr{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Vr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Pn(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Fe(ze,["visitors",...e],this.specObj)?Pn(["visitors",...e],this.specObj):Pn(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof hr&&(null==n?void 0:n.constructor)===hr?hi(t):(Ei(t,n,s),n.element)}};const Lr=class extends Dr{specPath;ignoredFields;constructor({specPath:e,ignoredFields:t,...s}){super({...s}),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,i)=>{if(Zn(n)&&s.includes(ar(n))&&!this.ignoredFields.includes(ar(n))){const s=this.toRefractedElement([...t,"fixedFields",ar(n)],e),r=new oe.Pr(hi(n),s);this.copyMetaAndAttributes(i,r),r.classes.push("fixed-field"),this.element.content.push(r)}else this.ignoredFields.includes(ar(n))||this.element.content.push(hi(i))})),this.copyMetaAndAttributes(e,this.element),Ks}};const Ur=class{parent;constructor({parent:e}){this.parent=e}};class Wr extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Hr=Wr;class Gr extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Jr=Gr;class zr extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Zr=zr;class Kr extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Yr=Kr,Qr=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Hr||e(n)&&t("JSONSchemaDraft4",n)&&s("object",n))),Xr=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Jr||e(n)&&t("JSONReference",n)&&s("object",n))),eo=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Zr||e(n)&&t("media",n)&&s("object",n))),to=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Yr||e(n)&&t("linkDescription",n)&&s("object",n)));class so extends(Tr(Lr,Ur,hr)){constructor(e){super(e),this.element=new Hr,this.specPath=se(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(e){return this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element,Lr.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(ie(this.parent)&&!Zn(e.get("$schema")))this.element.setMetaProperty("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(Qr(this.parent)&&!Zn(e.get("$schema"))){const e=u(ar(this.parent.meta.get("inheritedDialectIdentifier")),ar(this.parent.$schema));this.element.setMetaProperty("inheritedDialectIdentifier",e)}}handleSchemaIdentifier(e,t="id"){const s=void 0!==this.parent?hi(this.parent.getMetaProperty("ancestorsSchemaIdentifiers",[])):new oe.wE,n=ar(e.get(t));Nr(n)&&s.push(n),this.element.setMetaProperty("ancestorsSchemaIdentifiers",s)}}const no=so,io=e=>Xn(e)&&e.hasKey("$ref");class ro extends(Tr(Dr,Ur,hr)){ObjectElement(e){const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ks}ArrayElement(e){return this.element=new oe.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ks}}const oo=ro;const ao=class extends hr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-required"),t}};const co=function(){return!1};const lo=class extends Dr{specPath;ignoredFields;fieldPatternPredicate=co;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,...n}){super({...n}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s)}ObjectElement(e){return e.forEach(((e,t,s)=>{if(!this.ignoredFields.includes(ar(t))&&this.fieldPatternPredicate(ar(t))){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new oe.Pr(hi(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(ar(t))||this.element.content.push(hi(s))})),this.copyMetaAndAttributes(e,this.element),Ks}};const uo=class extends lo{constructor(e){super(e),this.fieldPatternPredicate=Nr}};class mo extends(Tr(uo,Ur,hr)){constructor(e){super(e),this.element=new oe.Sh,this.element.classes.push("json-schema-properties"),this.specPath=e=>io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const po=mo;class ho extends(Tr(uo,Ur,hr)){constructor(e){super(e),this.element=new oe.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const go=ho;class _o extends(Tr(uo,Ur,hr)){constructor(e){super(e),this.element=new oe.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const fo=_o;const bo=class extends hr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-enum"),t}};const vo=class extends hr{StringElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}};class yo extends(Tr(Dr,Ur,hr)){constructor(e){super(e),this.element=new oe.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((e=>{const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ks}}const xo=yo;class Eo extends(Tr(Dr,Ur,hr)){constructor(e){super(e),this.element=new oe.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((e=>{const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ks}}const wo=Eo;class So extends(Tr(Dr,Ur,hr)){constructor(e){super(e),this.element=new oe.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((e=>{const t=io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ks}}const jo=So;class Bo extends(Tr(uo,Ur,hr)){constructor(e){super(e),this.element=new oe.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=e=>io(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const Oo=Bo;class Mo extends(Tr(Dr,Ur,hr)){constructor(e){super(e),this.element=new oe.wE,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const $o=Mo;class Po extends(Tr(Lr,hr)){constructor(e){super(e),this.element=new Jr,this.specPath=se(["document","objects","JSONReference"])}ObjectElement(e){const t=Lr.prototype.ObjectElement.call(this,e);return Zn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const Ao=Po;const Co=class extends hr{StringElement(e){const t=this.enter(e);return this.element.classes.push("reference-value"),t}};const To=l((function(e,t,s){return F(Math.max(e.length,t.length,s.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)}))}));const Fo=a((function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}}));var qo=c((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Io=qo;const Ro=a(kn);const ko=z(Sn);const No=Re(Ci,Ir);function Vo(e){return function(e){if(Array.isArray(e))return Do(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Do(e,t);var s={}.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?Do(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Do(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=Array(t);s<t;s++)n[s]=e[s];return n}var Lo=ve(Io(Fo((function(e,t){return e.length>t.length}))),on,h("length")),Uo=Tt((function(e,t,s){var n=s.apply(void 0,Vo(e));return ko(n)?Ro(n):t}));const Wo=To(No,(function(e){var t=Lo(e);return F(t,(function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return ge(Uo(s),void 0,e)}))}),ne);const Ho=class extends Dr{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>To(e,se(t),ne))),s=Wo(t)(e);return this.element=this.toRefractedElement(s,e),Ks}};const Go=class extends Ho{constructor(e){super(e),this.alternator=[{predicate:io,specPath:["document","objects","JSONReference"]},{predicate:er,specPath:["document","objects","JSONSchema"]}]}};class Jo extends(Tr(Lr,hr)){constructor(e){super(e),this.element=new Zr,this.specPath=se(["document","objects","Media"])}}const zo=Jo;class Zo extends(Tr(Lr,hr)){constructor(e){super(e),this.element=new Yr,this.specPath=se(["document","objects","LinkDescription"])}}const Ko=Zo,Yo={visitors:{value:hr,JSONSchemaOrJSONReferenceVisitor:Go,document:{objects:{JSONSchema:{$visitor:no,fixedFields:{id:{$ref:"#/visitors/value"},$schema:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},additionalItems:Go,items:oo,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:ao,properties:po,additionalProperties:Go,patternProperties:go,dependencies:fo,enum:bo,type:vo,allOf:xo,anyOf:wo,oneOf:jo,not:Go,definitions:Oo,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:$o,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:Ao,fixedFields:{$ref:Co}},Media:{$visitor:zo,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:Ko,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Go,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Go}}}}}};const Qo=class extends _t{},Xo=e=>{if(zn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ea={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...xi},ta={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Hr),t.register("jSONReference",Jr),t.register("media",Zr),t.register("linkDescription",Yr),t}},sa=()=>{const e=at(ta);return{predicates:{...t,isStringElement:Zn},namespace:e}},na=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Yo}={})=>{const i=(0,oe.e)(e),r=An(n),o=new(Pn(t,r))({specObj:r});return Ei(i,o),Ri(o.element,s,{toolboxCreator:sa,visitorOptions:{keyMap:ea,nodeTypeGetter:Xo}})},ia=e=>(t,s={})=>na(t,{specPath:e,...s});Hr.refract=ia(["visitors","document","objects","JSONSchema","$visitor"]),Jr.refract=ia(["visitors","document","objects","JSONReference","$visitor"]),Zr.refract=ia(["visitors","document","objects","Media","$visitor"]),Yr.refract=ia(["visitors","document","objects","LinkDescription","$visitor"]);const ra=class extends Hr{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idProp(){throw new Qo("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Qo("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const oa=class extends no{constructor(e){super(e),this.element=new ra}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(e){const t=this.enter(e);return this.element.classes.push("boolean-json-schema"),t}handleSchemaIdentifier(e,t="$id"){return super.handleSchemaIdentifier(e,t)}};const aa=class extends oo{BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Ks}};const ca=class extends hr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-examples"),t}};const la=class extends Yr{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new Qo("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Qo("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new Qo("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Qo("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Qo("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Qo("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};const ua=class extends Ko{constructor(e){super(e),this.element=new la}},da=ve(zi(["visitors","document","objects","JSONSchema","$visitor"],oa),Xi(["visitors","document","objects","JSONSchema","fixedFields","id"]),zi(["visitors","document","objects","JSONSchema","fixedFields","$id"],Yo.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","contains"],Yo.visitors.JSONSchemaOrJSONReferenceVisitor),zi(["visitors","document","objects","JSONSchema","fixedFields","items"],aa),zi(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Yo.visitors.JSONSchemaOrJSONReferenceVisitor),zi(["visitors","document","objects","JSONSchema","fixedFields","const"],Yo.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","examples"],ca),zi(["visitors","document","objects","LinkDescription","$visitor"],ua),zi(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Yo.visitors.JSONSchemaOrJSONReferenceVisitor),Xi(["visitors","document","objects","LinkDescription","fixedFields","schema"]),zi(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Yo.visitors.JSONSchemaOrJSONReferenceVisitor),Xi(["visitors","document","objects","LinkDescription","fixedFields","method"]),Xi(["visitors","document","objects","LinkDescription","fixedFields","encType"]),zi(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Yo.visitors.value))(Yo),ma={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...xi},pa=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ra||e(n)&&t("JSONSchemaDraft6",n)&&s("object",n))),ha=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof la||e(n)&&t("linkDescription",n)&&s("object",n))),ga={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",ra),t.register("jSONReference",Jr),t.register("media",Zr),t.register("linkDescription",la),t}},_a=()=>{const e=at(ga);return{predicates:{...s,isStringElement:Zn},namespace:e}},fa=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=da}={})=>{const i=(0,oe.e)(e),r=An(n),o=new(Pn(t,r))({specObj:r});return Ei(i,o),Ri(o.element,s,{toolboxCreator:_a,visitorOptions:{keyMap:ma,nodeTypeGetter:Xo}})},ba=e=>(t,s={})=>fa(t,{specPath:e,...s});ra.refract=ba(["visitors","document","objects","JSONSchema","$visitor"]),la.refract=ba(["visitors","document","objects","LinkDescription","$visitor"]);const va=class extends ra{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Qo('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Qo('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const ya=class extends oa{constructor(e){super(e),this.element=new va}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}};const xa=class extends la{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){throw new Qo("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Qo("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get submissionEncType(){throw new Qo("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Qo("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}};const Ea=class extends ua{constructor(e){super(e),this.element=new xa}},wa=ve(zi(["visitors","document","objects","JSONSchema","$visitor"],ya),zi(["visitors","document","objects","JSONSchema","fixedFields","$comment"],da.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","if"],da.visitors.JSONSchemaOrJSONReferenceVisitor),zi(["visitors","document","objects","JSONSchema","fixedFields","then"],da.visitors.JSONSchemaOrJSONReferenceVisitor),zi(["visitors","document","objects","JSONSchema","fixedFields","else"],da.visitors.JSONSchemaOrJSONReferenceVisitor),Xi(["visitors","document","objects","JSONSchema","fixedFields","media"]),zi(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],da.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],da.visitors.value),zi(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","$visitor"],Ea),zi(["visitors","document","objects","LinkDescription","fixedFields","anchor"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],da.visitors.value),Xi(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),zi(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","description"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","$comment"],da.visitors.value),zi(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],da.visitors.JSONSchemaOrJSONReferenceVisitor),Xi(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),zi(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],da.visitors.value))(da);const Sa=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=mr(t.meta,e.meta)),ci(e)&&Cn(t,e),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=mr(t.attributes,e.attributes))}};const ja=class extends Sa{enter(e){return this.element=hi(e),Ks}};const Ba=class extends Sa{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Vr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Pn(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Fe(ze,["visitors",...e],this.specObj)?Pn(["visitors",...e],this.specObj):Pn(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof ja&&(null==n?void 0:n.constructor)===ja?hi(t):(Ei(t,n,s),n.element)}};const Oa=class extends Ba{MemberElement(e){return this.element=hi(e),this.element.classes.push("specification-extension"),Ks}};var Ma=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=$,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var s=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?kn(s):s},e}();function $a(e){return function(t){return new Ma(e,t)}}const Pa=c(B(["take"],$a,(function(e,t){return fe(0,e<0?1/0:e,t)})));const Aa=c((function(e,t){return te(Pa(e.length,t),e)})),Ca=e=>Xn(e)&&e.hasKey("$ref"),Ta=e=>Zn(e.key)&&Aa("x-",ar(e.key));const Fa=class extends Ba{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=Ta;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,i)=>{if(Zn(n)&&s.includes(ar(n))&&!this.ignoredFields.includes(ar(n))){const s=this.toRefractedElement([...t,"fixedFields",ar(n)],e),r=new oe.Pr(hi(n),s);r.classes.push("fixed-field"),this.copyMetaAndAttributes(i,r),this.element.content.push(r)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(ar(n))||this.element.content.push(hi(i))})),this.copyMetaAndAttributes(e,this.element),Ks}};class qa extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="asyncApi2",this.classes.push("api")}get asyncapi(){return this.get("asyncapi")}set asyncapi(e){this.set("asyncapi",e)}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get defaultContentType(){return this.get("defaultContentType")}set defaultContentType(e){this.set("defaultContentType",e)}get channels(){return this.get("channels")}set channels(e){this.set("channels",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Ia=qa;class Ra extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Ia,this.specPath=se(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}}const ka=Ra;class Na extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Va=Na;class Da extends(Tr(Ba,ja)){StringElement(e){const t=new Va(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const La=Da;class Ua extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="identifier"}}const Wa=Ua;class Ha extends(Tr(Ba,ja)){StringElement(e){const t=new Wa(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const Ga=Ha;class Ja extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}}const za=Ja;class Za extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new za,this.specPath=se(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const Ka=Za;const Ya=class extends ja{StringElement(e){return this.element=new oe.Om(ar(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),Ks}};class Qa extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const Xa=Qa;class ec extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Xa,this.specPath=se(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const tc=ec;class sc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="correlationID"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const nc=sc;class ic extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new nc,this.specPath=se(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}}const rc=ic;class oc extends oe.Om{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}}const ac=oc;class cc extends(Tr(Ba,ja)){StringElement(e){const t=new ac(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const lc=cc;class uc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const dc=uc;class mc extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new dc,this.specPath=se(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const pc=mc;class hc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const gc=hc;class _c extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new gc,this.specPath=se(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const fc=_c;class bc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const vc=bc;class yc extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new vc,this.specPath=se(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const xc=yc;class Ec extends oe.Sh{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Ec.primaryClass)}}const wc=Ec;const Sc=class extends Ba{specPath;ignoredFields;fieldPatternPredicate=co;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=Ta;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:i,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof i&&(this.specificationExtensionPredicate=i)}ObjectElement(e){return e.forEach(((e,t,s)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(ar(t))&&this.fieldPatternPredicate(ar(t))){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new oe.Pr(hi(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(ar(t))||this.element.content.push(hi(s))})),this.copyMetaAndAttributes(e,this.element),Ks}};const jc=class extends Sc{constructor(e){super(e),this.fieldPatternPredicate=Nr}};class Bc extends(Tr(jc,ja)){constructor(e){super(e),this.element=new wc,this.specPath=se(["value"])}}const Oc=Bc;const Mc=c((function(e,t){if(s=e,"[object RegExp]"!==Object.prototype.toString.call(s))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Ce(e));var s;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)}));class $c extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="servers"}}const Pc=$c;class Ac extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="channelBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const Cc=Ac;class Tc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="channelItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get subscribe(){return this.get("subscribe")}set subscribe(e){this.set("subscribe",e)}get publish(){return this.get("publish")}set publish(e){this.set("publish",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const Fc=Tc;class qc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="channels"}}const Ic=qc;class Rc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get serverVariables(){return this.get("serverVariables")}set serverVariables(e){this.set("serverVariables",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get correlationIds(){return this.get("correlationIds")}set correlationIds(e){this.set("correlationIds",e)}get operationTraits(){return this.get("operationTraits")}set operationTraits(e){this.set("operationTraits",e)}get messageTraits(){return this.get("messageTraits")}set messageTraits(e){this.set("messageTraits",e)}get serverBindings(){return this.get("serverBindings")}set serverBindings(e){this.set("serverBindings",e)}get channelBindings(){return this.get("channelBindings")}set channelBindings(e){this.set("channelBindings",e)}get operationBindings(){return this.get("operationBindings")}set operationBindings(e){this.set("operationBindings",e)}get messageBindings(){return this.get("messageBindings")}set messageBindings(e){this.set("messageBindings",e)}}const kc=Rc;class Nc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operation"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}get message(){return this.get("message")}set message(e){this.set("message",e)}}const Vc=Nc;class Dc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="parameter"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const Lc=Dc;class Uc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="parameters"}}const Wc=Uc;class Hc extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="reference",this.classes.push("json-reference"),this.classes.push("asyncapi-reference")}set $ref(e){this.set("$ref",e)}get $ref(){return this.get("$ref")}}const Gc=Hc,Jc={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...xi},zc=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof va||e(n)&&t("JSONSchemaDraft7",n)&&s("object",n))),Zc=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof xa||e(n)&&t("linkDescription",n)&&s("object",n))),Kc={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",va),t.register("jSONReference",Jr),t.register("linkDescription",xa),t}},Yc=()=>{const e=at(Kc);return{predicates:{...n,isStringElement:Zn},namespace:e}},Qc=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=wa}={})=>{const i=(0,oe.e)(e),r=An(n),o=new(Pn(t,r))({specObj:r});return Ei(i,o),Ri(o.element,s,{toolboxCreator:Yc,visitorOptions:{keyMap:Jc,nodeTypeGetter:Xo}})},Xc=e=>(t,s={})=>Qc(t,{specPath:e,...s});va.refract=Xc(["visitors","document","objects","JSONSchema","$visitor"]),xa.refract=Xc(["visitors","document","objects","LinkDescription","$visitor"]);const el=class extends va{constructor(e,t,s){super(e,t,s),this.element="schema",this.classes.push("json-schema-draft-7")}get not(){return this.get("not")}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get discriminator(){return this.get("discriminator")}get externalDocs(){return this.get("externalDocs")}get deprecated(){return this.get("deprecated")}};class tl extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}}const sl=tl;class nl extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get protocol(){return this.get("protocol")}set protocol(e){this.set("protocol",e)}get protocolVersion(){return this.get("protocolVersion")}set protocolVersion(e){this.set("protocolVersion",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const il=nl;class rl extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="serverBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const ol=rl;class al extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const cl=al,ll=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>i=>i instanceof Ia&&i.constructor===Ia||e(i)&&t("asyncApi2",i)&&s("object",i)&&n("api",i))),ul=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Va||e(n)&&t("asyncApiVersion",n)&&s("string",n))),dl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Cc||e(n)&&t("channelBindings",n)&&s("object",n))),ml=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Fc||e(n)&&t("channelItem",n)&&s("object",n))),pl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ic||e(n)&&t("channels",n)&&s("object",n))),hl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof kc||e(n)&&t("components",n)&&s("object",n))),gl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Xa||e(n)&&t("contact",n)&&s("object",n))),_l=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Wa||e(n)&&t("identifier",n)&&s("string",n))),fl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof za||e(n)&&t("info",n)&&s("object",n))),bl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof dc||e(n)&&t("license",n)&&s("object",n))),vl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Vc||e(n)&&t("operation",n)&&s("object",n))),yl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Lc||e(n)&&t("parameter",n)&&s("object",n))),xl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Wc||e(n)&&t("parameters",n)&&s("object",n))),El=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Gc||e(n)&&t("reference",n)&&s("object",n))),wl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof el||e(n)&&t("schema",n)&&s("object",n))),Sl=e=>Qn(e)&&e.classes.includes("boolean-json-schema"),jl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof sl||e(n)&&t("securityRequirement",n)&&s("object",n))),Bl=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof il||e(n)&&t("server",n)&&s("object",n))),Ol=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ol||e(n)&&t("serverBindings",n)&&s("object",n))),Ml=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Pc||e(n)&&t("servers",n)&&s("object",n))),$l=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof cl||e(n)&&t("serverVariable",n)&&s("object",n)));class Pl extends(Tr(Sc,ja)){constructor(e){super(e),this.element=new Pc,this.element.classes.push("servers"),this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=Mc(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){const t=Sc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const Al=Pl;class Cl extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new il,this.specPath=se(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const Tl=Cl;const Fl=class extends ja{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}};const ql=class extends Ba{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>To(e,se(t),ne))),s=Wo(t)(e);return this.element=this.toRefractedElement(s,e),Ks}};class Il extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}const Rl=Il;class kl extends oe.Sh{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(kl.primaryClass)}}const Nl=kl;class Vl extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Nl,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}}const Dl=Vl;class Ll extends oe.wE{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ll.primaryClass)}}const Ul=Ll;class Wl extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Ul}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Hl=Wl;class Gl extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new cl,this.specPath=se(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const Jl=Gl;class zl extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new ol,this.specPath=se(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}}const Zl=zl;class Kl extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const Yl=Kl;class Ql extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Yl,this.specPath=se(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const Xl=Ql;class eu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new sl,this.specPath=se(["value"])}}const tu=eu;class su extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Gc,this.specPath=se(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Fa.prototype.ObjectElement.call(this,e);return Zn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const nu=su;const iu=class extends ja{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class ru extends(Tr(Fa,ja)){constructor(e){super(e),this.specPath=se(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return this.element=new el,Fa.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=super.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const ou=ru,au=wa.visitors.JSONSchemaOrJSONReferenceVisitor;const cu=class extends au{enter(e){const t=au.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}},lu=wa.visitors.document.objects.JSONSchema.fixedFields.allOf;const uu=class extends lu{ArrayElement(e){const t=lu.prototype.ArrayElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},du=wa.visitors.document.objects.JSONSchema.fixedFields.anyOf;const mu=class extends du{ArrayElement(e){const t=du.prototype.ArrayElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},pu=wa.visitors.document.objects.JSONSchema.fixedFields.oneOf;const hu=class extends pu{ArrayElement(e){const t=pu.prototype.ArrayElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},gu=wa.visitors.document.objects.JSONSchema.fixedFields.definitions;const _u=class extends gu{ObjectElement(e){const t=gu.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},fu=wa.visitors.document.objects.JSONSchema.fixedFields.dependencies;const bu=class extends fu{ObjectElement(e){const t=fu.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},vu=wa.visitors.document.objects.JSONSchema.fixedFields.items;const yu=class extends vu{ObjectElement(e){const t=vu.prototype.ObjectElement.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}ArrayElement(e){const t=vu.prototype.ArrayElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},xu=wa.visitors.document.objects.JSONSchema.fixedFields.patternProperties;const Eu=class extends xu{ObjectElement(e){const t=xu.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},wu=wa.visitors.document.objects.JSONSchema.fixedFields.properties;const Su=class extends wu{ObjectElement(e){const t=wu.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},ju=W((e=>e===wa.visitors.JSONSchemaOrJSONReferenceVisitor?cu:e),wa.visitors.document.objects.JSONSchema.fixedFields);class Bu extends(Tr(Sc,ja)){constructor(e){super(e),this.element=new Wc,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Parameter"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=e=>"string"==typeof e&&/^[A-Za-z0-9_-]+$/.test(e)}ObjectElement(e){const t=Sc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const Ou=Bu;class Mu extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Lc,this.specPath=se(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const $u=Mu;class Pu extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Au=Pu;class Cu extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Tu=Cu;class Fu extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Tu,this.specPath=se(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const qu=Fu;class Iu extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new kc,this.specPath=se(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const Ru=Iu;class ku extends oe.Sh{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(ku.primaryClass)}}const Nu=ku;class Vu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Nu,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const Du=Vu;class Lu extends oe.Sh{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Lu.primaryClass)}}const Uu=Lu;class Wu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Uu,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const Hu=Wu;class Gu extends oe.Sh{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Gu.primaryClass)}}const Ju=Gu;class zu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Ju,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}const Zu=zu;class Ku extends oe.Sh{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(Ku.primaryClass)}}const Yu=Ku;class Qu extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Yu,this.specPath=se(["document","objects","ChannelItem"])}}const Xu=Qu;class ed extends oe.Sh{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(ed.primaryClass)}}const td=ed;class sd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new td,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const nd=sd;class id extends oe.Sh{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(id.primaryClass)}}const rd=id;class od extends(Tr(jc,ja)){constructor(e){super(e),this.element=new rd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}const ad=od;class cd extends oe.Sh{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(cd.primaryClass)}}const ld=cd;class ud extends(Tr(jc,ja)){constructor(e){super(e),this.element=new ld,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const dd=ud;class md extends oe.Sh{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(md.primaryClass)}}const pd=md;class hd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new pd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}const gd=hd;class _d extends oe.Sh{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(_d.primaryClass)}}const fd=_d;class bd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new fd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}const vd=bd;class yd extends oe.Sh{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(yd.primaryClass)}}const xd=yd;class Ed extends(Tr(jc,ja)){constructor(e){super(e),this.element=new xd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}const wd=Ed;class Sd extends oe.Sh{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Sd.primaryClass)}}const jd=Sd;class Bd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new jd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}const Od=Bd;class Md extends oe.Sh{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Md.primaryClass)}}const $d=Md;class Pd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new $d,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}const Ad=Pd;class Cd extends oe.Sh{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Cd.primaryClass)}}const Td=Cd;class Fd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Td,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}const qd=Fd;class Id extends oe.Sh{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Id.primaryClass)}}const Rd=Id;class kd extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Rd,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){const t=jc.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}const Nd=kd;class Vd extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Vc,this.specPath=se(["document","objects","Operation"])}}const Dd=Vd;class Ld extends oe.wE{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ld.primaryClass)}}const Ud=Ld;class Wd extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Ud}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Hd=Wd;class Gd extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const Jd=Gd;class zd extends oe.wE{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(zd.primaryClass)}}const Zd=zd;class Kd extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Zd}ArrayElement(e){return e.forEach((e=>{let t;Ca(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Yd=Kd;class Qd extends oe.Sh{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(Qd.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const Xd=Qd;class em extends oe.wE{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(em.primaryClass)}}const tm=em;class sm extends(Tr(Ba,ja)){ObjectElement(e){if(Ca(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(ei(e.get("oneOf"))){this.element=new Xd;const t=new tm;e.get("oneOf").forEach((e=>{let s;Ca(e)?(s=this.toRefractedElement(["document","objects","Reference"],e),s.setMetaProperty("referenced-element","message")):s=this.toRefractedElement(["document","objects","Message"],e),t.push(s)})),this.element.oneOf=t}else this.element=this.toRefractedElement(["document","objects","Message"],e);return this.copyMetaAndAttributes(e,this.element),Ks}}const nm=sm;class im extends oe.wE{constructor(e,t,s){super(e,t,s),this.element="tags"}}const rm=im;class om extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new rm}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const am=om;class cm extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const lm=cm;class um extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new lm,this.specPath=se(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const dm=um;class mm extends(Tr(jc,ja)){constructor(e){super(e),this.element=new Ic,this.specPath=se(["document","objects","ChannelItem"])}}const pm=mm;class hm extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Cc,this.specPath=se(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}}const gm=hm;class _m extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Fc,this.specPath=se(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=Fa.prototype.ObjectElement.call(this,e);return Zn(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}const fm=_m;const bm=class extends ja{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class vm extends oe.wE{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(vm.primaryClass)}}const ym=vm;class xm extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new ym}ArrayElement(e){return e.forEach((e=>{const t=hi(e);Zn(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Em=xm;class wm extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}const Sm=wm;class jm extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="messageBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const Bm=jm;class Om extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Bm,this.specPath=se(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}}const Mm=Om;class $m extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="messageExample"}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}}const Pm=$m;class Am extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Pm,this.specPath=se(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}}const Cm=Am;class Tm extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="messageTrait"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const Fm=Tm;class qm extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Fm,this.specPath=se(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}}const Im=qm;class Rm extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const km=Rm;class Nm extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const Vm=Nm;class Dm extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const Lm=Dm;class Um extends oe.wE{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Um.primaryClass)}}const Wm=Um;class Hm extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Wm}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Gm=Hm;const Jm=a((function(e){return p(-1,e)}));const zm=class extends Qo{};const Zm=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new zm("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new zm("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new zm("latest method in MediaTypes class is not yet implemented.")}};const Km=new class extends Zm{filterByFormat(e="generic"){const t="generic"===e?"asyncapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="2.6.0",t="generic"){const s="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find((e=>e.includes(s)))||this.unknownMediaType}latest(e="generic"){return Jm(this.filterByFormat(e))}}("application/vnd.aai.asyncapi;version=2.0.0","application/vnd.aai.asyncapi+json;version=2.0.0","application/vnd.aai.asyncapi+yaml;version=2.0.0","application/vnd.aai.asyncapi;version=2.1.0","application/vnd.aai.asyncapi+json;version=2.1.0","application/vnd.aai.asyncapi+yaml;version=2.1.0","application/vnd.aai.asyncapi;version=2.2.0","application/vnd.aai.asyncapi+json;version=2.2.0","application/vnd.aai.asyncapi+yaml;version=2.2.0","application/vnd.aai.asyncapi;version=2.3.0","application/vnd.aai.asyncapi+json;version=2.3.0","application/vnd.aai.asyncapi+yaml;version=2.3.0","application/vnd.aai.asyncapi;version=2.4.0","application/vnd.aai.asyncapi+json;version=2.4.0","application/vnd.aai.asyncapi+yaml;version=2.4.0","application/vnd.aai.asyncapi;version=2.5.0","application/vnd.aai.asyncapi+json;version=2.5.0","application/vnd.aai.asyncapi+yaml;version=2.5.0","application/vnd.aai.asyncapi;version=2.6.0","application/vnd.aai.asyncapi+json;version=2.6.0","application/vnd.aai.asyncapi+yaml;version=2.6.0");class Ym extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="message"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}}const Qm=Ym;class Xm extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Qm,this.specPath=se(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=Fa.prototype.ObjectElement.call(this,e),s=this.element.get("payload"),n=u(Km.latest(),ar(e.get("schemaFormat")));if(Km.includes(n)&&Ca(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else Km.includes(n)&&Xn(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return t}}const ep=Xm;class tp extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const sp=tp;class np extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const ip=np;class rp extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const op=rp;class ap extends oe.wE{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(ap.primaryClass)}}const cp=ap;class lp extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new cp}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const up=lp;class dp extends oe.wE{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(dp.primaryClass)}}const mp=dp;class pp extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new mp}ArrayElement(e){return e.forEach((e=>{let t;Ca(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const hp=pp;class gp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operationBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const _p=gp;class fp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new _p,this.specPath=se(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}}const bp=fp;class vp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operationTrait"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const yp=vp;class xp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new yp,this.specPath=se(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}}const Ep=xp;class wp extends oe.wE{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(wp.primaryClass)}}const Sp=wp;class jp extends(Tr(Ba,ja)){constructor(e){super(e),this.element=new Sp}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Bp=jp;class Op extends(Tr(ql,ja)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=ql.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const Mp=Op;class $p extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpChannelBinding",this.classes.push("channel-binding")}get is(){return this.get("is")}set is(e){this.set("is",e)}get exchange(){return this.get("exchange")}set exchange(e){this.set("exchange",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Pp=$p;class Ap extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Pp,this.specPath=se(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Cp=Ap;class Tp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpMessageBinding",this.classes.push("message-binding")}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get messageType(){return this.get("messageType")}set messageType(e){this.set("messageType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Fp=Tp;class qp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Fp,this.specPath=se(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ip=qp;class Rp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpOperationBinding",this.classes.push("operation-binding")}get expiration(){return this.get("expiration")}set expiration(e){this.set("expiration",e)}get userId(){return this.get("userId")}set userId(e){this.set("userId",e)}get cc(){return this.get("cc")}set cc(e){this.set("cc",e)}get priority(){return this.get("priority")}set priority(e){this.set("priority",e)}get deliveryMode(){return this.get("deliveryMode")}set deliveryMode(e){this.set("deliveryMode",e)}get mandatory(){return this.get("mandatory")}set mandatory(e){this.set("mandatory",e)}get bcc(){return this.get("bcc")}set bcc(e){this.set("bcc",e)}get replyTo(){return this.get("replyTo")}set replyTo(e){this.set("replyTo",e)}get timestamp(){return this.get("timestamp")}set timestamp(e){this.set("timestamp",e)}get ack(){return this.get("ack")}set ack(e){this.set("ack",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const kp=Rp;class Np extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new kp,this.specPath=se(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Vp=Np;class Dp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}}const Lp=Dp;class Up extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Lp,this.specPath=se(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Wp=Up;class Hp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const Gp=Hp;class Jp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Gp,this.specPath=se(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const zp=Jp;class Zp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const Kp=Zp;class Yp extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Kp,this.specPath=se(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Qp=Yp;class Xp extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const eh=Xp;class th extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new eh,this.specPath=se(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const sh=th;class nh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const ih=nh;class rh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new ih,this.specPath=se(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const oh=rh;class ah extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqChannelBinding",this.classes.push("channel-binding")}get destination(){return this.get("destination")}set destination(e){this.set("destination",e)}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const ch=ah;class lh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new ch,this.specPath=se(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const uh=lh;class dh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const mh=dh;class ph extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new mh,this.specPath=se(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const hh=ph;class gh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const _h=gh;class fh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new _h,this.specPath=se(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bh=fh;class vh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const yh=vh;class xh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new yh,this.specPath=se(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Eh=xh;class wh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const Sh=wh;class jh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Sh,this.specPath=se(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Bh=jh;class Oh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="httpMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Mh=Oh;class $h extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Mh,this.specPath=se(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ph=$h;class Ah extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="httpOperationBinding",this.classes.push("operation-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Ch=Ah;class Th extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Ch,this.specPath=se(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Fh=Th;class qh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}}const Ih=qh;class Rh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Ih,this.specPath=se(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const kh=Rh;class Nh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubChannelBinding",this.classes.push("channel-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get labels(){return this.get("labels")}set labels(e){this.set("labels",e)}get messageRetentionDuration(){return this.get("messageRetentionDuration")}set messageRetentionDuration(e){this.set("messageRetentionDuration",e)}get messageStoragePolicy(){return this.get("messageStoragePolicy")}set messageStoragePolicy(e){this.set("messageStoragePolicy",e)}get schemaSettings(){return this.get("schemaSettings")}set schemaSettings(e){this.set("schemaSettings",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}}const Vh=Nh;class Dh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Vh,this.specPath=se(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Lh=Dh;class Uh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get attributesProp(){return this.get("attributes")}set attributesProp(e){this.set("attributes",e)}get orderingKey(){return this.get("orderingKey")}set orderingKey(e){this.set("orderingKey",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Wh=Uh;class Hh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Wh,this.specPath=se(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Gh=Hh;class Jh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const zh=Jh;class Zh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new zh,this.specPath=se(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Kh=Zh;class Yh extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const Qh=Yh;class Xh extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Qh,this.specPath=se(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const eg=Xh;class tg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqChannelBinding",this.classes.push("channel-binding")}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get maxMsgLength(){return this.get("maxMsgLength")}set maxMsgLength(e){this.set("maxMsgLength",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const sg=tg;class ng extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new sg,this.specPath=se(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const ig=ng;class rg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqMessageBinding",this.classes.push("message-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get expiry(){return this.get("expiry")}set expiry(e){this.set("expiry",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const og=rg;class ag extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new og,this.specPath=se(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const cg=ag;class lg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const ug=lg;class dg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new ug,this.specPath=se(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const mg=dg;class pg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqServerBinding",this.classes.push("server-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get ccdtQueueManagerName(){return this.get("ccdtQueueManagerName")}set ccdtQueueManagerName(e){this.set("ccdtQueueManagerName",e)}get cipherSpec(){return this.get("cipherSpec")}set cipherSpec(e){this.set("cipherSpec",e)}get multiEndpointServer(){return this.get("multiEndpointServer")}set multiEndpointServer(e){this.set("multiEndpointServer",e)}get heartBeatInterval(){return this.get("heartBeatInterval")}set heartBeatInterval(e){this.set("heartBeatInterval",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const hg=pg;class gg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new hg,this.specPath=se(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const _g=gg;class fg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const bg=fg;class vg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new bg,this.specPath=se(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const yg=vg;class xg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Eg=xg;class wg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Eg,this.specPath=se(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Sg=wg;class jg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const Bg=jg;class Og extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Bg,this.specPath=se(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Mg=Og;class $g extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}}const Pg=$g;class Ag extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Pg,this.specPath=se(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Cg=Ag;class Tg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="kafkaChannelBinding",this.classes.push("channel-binding")}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get partitions(){return this.get("partitions")}set partitions(e){this.set("partitions",e)}get replicas(){return this.get("replicas")}set replicas(e){this.set("replicas",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Fg=Tg;class qg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Fg,this.specPath=se(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Ig=qg;class Rg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="kafkaMessageBinding",this.classes.push("message-binding")}get key(){return this.get("key")}set key(e){this.set("key",e)}get schemaIdLocation(){return this.get("schemaIdLocation")}set schemaIdLocation(e){this.set("schemaIdLocation",e)}get schemaIdPayloadEncoding(){return this.get("schemaIdPayloadEncoding")}set schemaIdPayloadEncoding(e){this.set("schemaIdPayloadEncoding",e)}get schemaLookupStrategy(){return this.get("schemaLookupStrategy")}set schemaLookupStrategy(e){this.set("schemaLookupStrategy",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const kg=Rg;class Ng extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new kg,this.specPath=se(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Vg=Ng;class Dg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="kafkaOperationBinding",this.classes.push("operation-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Lg=Dg;class Ug extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Lg,this.specPath=se(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Wg=Ug;class Hg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="kafkaServerBinding",this.classes.push("server-binding")}get schemaRegistryUrl(){return this.get("schemaRegistryUrl")}set schemaRegistryUrl(e){this.set("schemaRegistryUrl",e)}get schemaRegistryVendor(){return this.get("schemaRegistryVendor")}set schemaRegistryVendor(e){this.set("schemaRegistryVendor",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Gg=Hg;class Jg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Gg,this.specPath=se(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const zg=Jg;class Zg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const Kg=Zg;class Yg extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Kg,this.specPath=se(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Qg=Yg;class Xg extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const e_=Xg;class t_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new e_,this.specPath=se(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const s_=t_;class n_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const i_=n_;class r_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new i_,this.specPath=se(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const o_=r_;class a_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}}const c_=a_;class l_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new c_,this.specPath=se(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const u_=l_;class d_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const m_=d_;class p_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new m_,this.specPath=se(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const h_=p_;class g_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const __=g_;class f_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new __,this.specPath=se(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const b_=f_;class v_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttOperationBinding",this.classes.push("operation-binding")}get qos(){return this.get("qos")}set qos(e){this.set("qos",e)}get retain(){return this.get("retain")}set retain(e){this.set("retain",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const y_=v_;class x_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new y_,this.specPath=se(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const E_=x_;class w_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttServerBinding",this.classes.push("server-binding")}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get cleanSession(){return this.get("cleanSession")}set cleanSession(e){this.set("cleanSession",e)}get lastWill(){return this.get("lastWill")}set lastWill(e){this.set("lastWill",e)}get keepAlive(){return this.get("keepAlive")}set keepAlive(e){this.set("keepAlive",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const S_=w_;class j_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new S_,this.specPath=se(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const B_=j_;class O_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const M_=O_;class $_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new M_,this.specPath=se(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const P_=$_;class A_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const C_=A_;class T_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new C_,this.specPath=se(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const F_=T_;class q_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const I_=q_;class R_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new I_,this.specPath=se(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const k_=R_;class N_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const V_=N_;class D_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new V_,this.specPath=se(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const L_=D_;class U_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const W_=U_;class H_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new W_,this.specPath=se(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const G_=H_;class J_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}}const z_=J_;class Z_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new z_,this.specPath=se(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const K_=Z_;class Y_ extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="natsOperationBinding",this.classes.push("operation-binding")}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Q_=Y_;class X_ extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Q_,this.specPath=se(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ef=X_;class tf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}}const sf=tf;class nf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new sf,this.specPath=se(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const rf=nf;class of extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarChannelBinding",this.classes.push("channel-binding")}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get persistence(){return this.get("persistence")}set persistence(e){this.set("persistence",e)}get compaction(){return this.get("compaction")}set compaction(e){this.set("compaction",e)}get"geo-replication"(){return this.get("compaction")}set"geo-replication"(e){this.set("geo-replication",e)}get retention(){return this.get("retention")}set retention(e){this.set("retention",e)}get ttl(){return this.get("ttl")}set ttl(e){this.set("ttl",e)}get deduplication(){return this.get("deduplication")}set deduplication(e){this.set("deduplication",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const af=of;class cf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new af,this.specPath=se(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const lf=cf;class uf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const df=uf;class mf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new df,this.specPath=se(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const pf=mf;class hf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const gf=hf;class _f extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new gf,this.specPath=se(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ff=_f;class bf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarServerBinding",this.classes.push("server-binding")}get tenant(){return this.get("tenant")}set tenant(e){this.set("tenant",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const vf=bf;class yf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new vf,this.specPath=se(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const xf=yf;class Ef extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const wf=Ef;class Sf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new wf,this.specPath=se(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const jf=Sf;class Bf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}}const Of=Bf;class Mf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Of,this.specPath=se(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const $f=Mf;class Pf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Af=Pf;class Cf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Af,this.specPath=se(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Tf=Cf;class Ff extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}}const qf=Ff;class If extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new qf,this.specPath=se(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Rf=If;class kf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const Nf=kf;class Vf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Nf,this.specPath=se(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Df=Vf;class Lf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}}const Uf=Lf;class Wf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Uf,this.specPath=se(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Hf=Wf;class Gf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Jf=Gf;class zf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Jf,this.specPath=se(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Zf=zf;class Kf extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}}const Yf=Kf;class Qf extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Yf,this.specPath=se(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Xf=Qf;class eb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const tb=eb;class sb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new tb,this.specPath=se(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const nb=sb;class ib extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const rb=ib;class ob extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new rb,this.specPath=se(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const ab=ob;class cb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceOperationBinding",this.classes.push("operation-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get destinations(){return this.get("destinations")}set destinations(e){this.set("destinations",e)}}const lb=cb;class ub extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new lb,this.specPath=se(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const db=ub;class mb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceServerBinding",this.classes.push("server-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get msgVpn(){return this.get("msgVpn")}set msgVpn(e){this.set("msgVpn",e)}}const pb=mb;class hb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new pb,this.specPath=se(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const gb=hb;class _b extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const fb=_b;class bb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new fb,this.specPath=se(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const vb=bb;class yb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const xb=yb;class Eb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new xb,this.specPath=se(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const wb=Eb;class Sb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const jb=Sb;class Bb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new jb,this.specPath=se(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ob=Bb;class Mb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}}const $b=Mb;class Pb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new $b,this.specPath=se(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Ab=Pb;class Cb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const Tb=Cb;class Fb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Tb,this.specPath=se(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const qb=Fb;class Ib extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}}const Rb=Ib;class kb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Rb,this.specPath=se(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Nb=kb;class Vb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const Db=Vb;class Lb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Db,this.specPath=se(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ub=Lb;class Wb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}}const Hb=Wb;class Gb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Hb,this.specPath=se(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Jb=Gb;class zb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketChannelBinding",this.classes.push("channel-binding")}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Zb=zb;class Kb extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Zb,this.specPath=se(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Yb=Kb;class Qb extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const Xb=Qb;class ev extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new Xb,this.specPath=se(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const tv=ev;class sv extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const nv=sv;class iv extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new nv,this.specPath=se(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const rv=iv;class ov extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const av=ov;class cv extends(Tr(Fa,ja)){constructor(e){super(e),this.element=new av,this.specPath=se(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const lv=cv,uv={$visitor:nu,fixedFields:{$ref:iu}},dv={$visitor:ou,fixedFields:{...ju,allOf:uu,anyOf:mu,oneOf:hu,items:yu,properties:Su,patternProperties:Eu,dependencies:bu,definitions:_u,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},mv={visitors:{value:ja,document:{objects:{AsyncApi:{$visitor:ka,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$ref:"#/visitors/document/objects/Identifier"},info:{$ref:"#/visitors/document/objects/Info"},servers:{$ref:"#/visitors/document/objects/Servers"},defaultContentType:{$ref:"#/visitors/document/objects/DefaultContentType"},channels:{$ref:"#/visitors/document/objects/Channels"},components:{$ref:"#/visitors/document/objects/Components"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},AsyncApiVersion:{$visitor:La},Identifier:{$visitor:Ga},Info:{$visitor:Ka,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:Ya,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:tc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:pc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{$visitor:Al},Server:{$visitor:Tl,fixedFields:{url:Fl,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:Dl,security:Hl,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Rl}},ServerVariable:{$visitor:Jl,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{$visitor:lc},Channels:{$visitor:pm},ChannelItem:{$visitor:fm,fixedFields:{$ref:bm,description:{$ref:"#/visitors/value"},servers:Em,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Sm}},Operation:{$visitor:Dd,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Hd,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Jd,traits:Yd,message:nm}},OperationTrait:{$visitor:Ep,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Bp,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Mp}},Message:{$visitor:ep,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:sp,payload:{$ref:"#/visitors/value"},correlationId:ip,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:op,examples:up,traits:hp}},MessageTrait:{$visitor:Im,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:km,correlationId:Vm,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Lm,examples:Gm}},MessageExample:{$visitor:Cm,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{$visitor:am},Tag:{$visitor:dm,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:qu,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{$visitor:Ru,fixedFields:{schemas:Du,servers:Hu,serverVariables:Zu,channels:Xu,messages:nd,securitySchemes:ad,parameters:dd,correlationIds:gd,operationTraits:vd,messageTraits:wd,serverBindings:Od,channelBindings:Ad,operationBindings:qd,messageBindings:Nd}},JSONReference:uv,Reference:uv,JSONSchema:dv,Schema:dv,LinkDescription:wa.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:Xl,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},SecurityRequirement:{$visitor:tu},OAuthFlows:{$visitor:fc,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:xc,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Oc}},ServerBindings:{$visitor:Zl,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ServerBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ServerBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ServerBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ServerBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ServerBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ServerBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ServerBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ServerBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ServerBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ServerBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ServerBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ServerBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ServerBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ServerBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ServerBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ServerBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ServerBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ServerBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ServerBinding"}}},Parameters:{$visitor:Ou},Parameter:{$visitor:$u,fixedFields:{description:{$ref:"#/visitors/value"},schema:Au,location:{$ref:"#/visitors/value"}}},ChannelBindings:{$visitor:gm,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ChannelBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ChannelBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ChannelBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ChannelBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ChannelBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ChannelBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ChannelBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ChannelBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ChannelBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ChannelBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ChannelBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ChannelBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ChannelBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ChannelBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ChannelBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ChannelBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ChannelBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ChannelBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ChannelBinding"}}},OperationBindings:{$visitor:bp,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/OperationBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/OperationBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/OperationBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/OperationBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/OperationBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/OperationBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/OperationBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/OperationBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/OperationBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/OperationBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/OperationBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/OperationBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/OperationBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/OperationBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/OperationBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/OperationBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/OperationBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/OperationBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/OperationBinding"}}},MessageBindings:{$visitor:Mm,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/MessageBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/MessageBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/MessageBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/MessageBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/MessageBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/MessageBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/MessageBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/MessageBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/MessageBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/MessageBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/MessageBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/MessageBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/MessageBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/MessageBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/MessageBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/MessageBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/MessageBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/MessageBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/MessageBinding"}}},CorrelationID:{$visitor:rc,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{$visitor:kh},ChannelBinding:{$visitor:Bh},OperationBinding:{$visitor:Fh,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:cu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ph,fixedFields:{headers:cu,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:lv},ChannelBinding:{$visitor:Yb,fixedFields:{method:{$ref:"#/visitors/value"},query:cu,headers:cu,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:rv},MessageBinding:{$visitor:tv}},kafka:{ServerBinding:{$visitor:zg,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Ig,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Wg,fixedFields:{groupId:cu,clientId:cu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Vg,fixedFields:{key:cu,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:Eh},ChannelBinding:{$visitor:uh,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:bh},MessageBinding:{$visitor:hh,fixedFields:{headers:cu,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Wp},ChannelBinding:{$visitor:Cp,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Vp,fixedFields:{expiration:{$ref:"#/visitors/value"},userId:{$ref:"#/visitors/value"},cc:{$ref:"#/visitors/value"},priority:{$ref:"#/visitors/value"},deliveryMode:{$ref:"#/visitors/value"},mandatory:{$ref:"#/visitors/value"},bcc:{$ref:"#/visitors/value"},replyTo:{$ref:"#/visitors/value"},timestamp:{$ref:"#/visitors/value"},ack:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ip,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:oh},ChannelBinding:{$visitor:zp},OperationBinding:{$visitor:sh},MessageBinding:{$visitor:Qp}},mqtt:{ServerBinding:{$visitor:B_,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:h_},OperationBinding:{$visitor:E_,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:b_,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:L_},ChannelBinding:{$visitor:P_},OperationBinding:{$visitor:k_},MessageBinding:{$visitor:F_}},nats:{ServerBinding:{$visitor:rf},ChannelBinding:{$visitor:G_},OperationBinding:{$visitor:ef,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:K_}},pulsar:{ServerBinding:{$visitor:xf,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:lf,fixedFields:{namespace:{$ref:"#/visitors/value"},persistence:{$ref:"#/visitors/value"},compaction:{$ref:"#/visitors/value"},"geo-replication":{$ref:"#/visitors/value"},retention:{$ref:"#/visitors/value"},ttl:{$ref:"#/visitors/value"},deduplication:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:ff},MessageBinding:{$visitor:pf}},jms:{ServerBinding:{$visitor:Cg},ChannelBinding:{$visitor:yg},OperationBinding:{$visitor:Mg},MessageBinding:{$visitor:Sg}},sns:{ServerBinding:{$visitor:Xf},ChannelBinding:{$visitor:Df},OperationBinding:{$visitor:Zf},MessageBinding:{$visitor:Hf}},solace:{ServerBinding:{$visitor:gb,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:nb},OperationBinding:{$visitor:db,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:ab}},sqs:{ServerBinding:{$visitor:Ab},ChannelBinding:{$visitor:vb},OperationBinding:{$visitor:Ob},MessageBinding:{$visitor:wb}},stomp:{ServerBinding:{$visitor:Jb},ChannelBinding:{$visitor:qb},OperationBinding:{$visitor:Ub},MessageBinding:{$visitor:Nb}},redis:{ServerBinding:{$visitor:Rf},ChannelBinding:{$visitor:jf},OperationBinding:{$visitor:Tf},MessageBinding:{$visitor:$f}},mercure:{ServerBinding:{$visitor:u_},ChannelBinding:{$visitor:Qg},OperationBinding:{$visitor:o_},MessageBinding:{$visitor:s_}},googlepubsub:{ServerBinding:{$visitor:eg},ChannelBinding:{$visitor:Lh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},labels:{$ref:"#/visitors/value"},messageRetentionDuration:{$ref:"#/visitors/value"},messageStoragePolicy:{$ref:"#/visitors/value"},schemaSettings:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Kh},MessageBinding:{$visitor:Gh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:_g,fixedFields:{groupId:{$ref:"#/visitors/value"},ccdtQueueManagerName:{$ref:"#/visitors/value"},cipherSpec:{$ref:"#/visitors/value"},multiEndpointServer:{$ref:"#/visitors/value"},heartBeatInterval:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:ig,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:cg,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:mg}}}},extension:{$visitor:Oa}}}};const pv=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=mr(t.meta,e.meta)),ci(e)&&Cn(t,e),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=mr(t.attributes,e.attributes))}};const hv=class extends pv{enter(e){return this.element=hi(e),Ks}};const gv=class extends pv{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Vr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Pn(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Fe(ze,["visitors",...e],this.specObj)?Pn(["visitors",...e],this.specObj):Pn(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof hv&&(null==n?void 0:n.constructor)===hv?hi(t):(Ei(t,n,s),n.element)}},_v=e=>Xn(e)&&e.hasKey("$ref"),fv=e=>Zn(e.key)&&Aa("x-",ar(e.key)),bv=e=>Xn(e)&&e.hasKey("schemaFormat");const vv=class extends gv{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=fv;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,i)=>{if(Zn(n)&&s.includes(ar(n))&&!this.ignoredFields.includes(ar(n))){const s=this.toRefractedElement([...t,"fixedFields",ar(n)],e),r=new oe.Pr(hi(n),s);r.classes.push("fixed-field"),this.copyMetaAndAttributes(i,r),this.element.content.push(r)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(ar(n))||this.element.content.push(hi(i))})),this.copyMetaAndAttributes(e,this.element),Ks}},yv=e=>{if(zn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},xv={AsyncApi2Element:["content"],AsyncApiVersionElement:[],ChannelBindingsElement:["content"],ChannelItemElement:["content"],ChannelsElement:["content"],ComponentsElement:["content"],ContactElement:["content"],CorrelationIDElement:["content"],DefaultContentType:[],ExternalDocumentationElement:["content"],InfoElement:["content"],LicenseElement:["content"],MessageElement:["content"],MessageBindingsElement:["content"],MessageTraitElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OperationElement:["content"],OperationBindingsElement:["content"],OperationTraitElement:["content"],ParameterElement:["content"],ParametersElement:["content"],ReferenceElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerBindingsElement:["content"],ServersElement:["content"],ServerVariableElement:["content"],TagElement:["content"],TagsElement:["content"],AmqpChannelBindingElement:["content"],AmqpMessageBindingElement:["content"],AmqpOperationBindingElement:["content"],AmqpServerBindingElement:["content"],Amqp1ChannelBindingElement:["content"],Amqp1MessageBindingElement:["content"],Amqp1OperationBindingElement:["content"],Amqp1ServerBindingElement:["content"],AnypointmqChannelBindingElement:["content"],AnypointmqMessageBindingElement:["content"],AnypointmqOperationBindingElement:["content"],AnypointmqServerBindingElement:["content"],GooglepubsubChannelBindingElement:["content"],GooglepubsubMessageBindingElement:["content"],GooglepubsubOperationBindingElement:["content"],GooglepubsubServerBindingElement:["content"],HttpChannelBindingElement:["content"],HttpMessageBindingElement:["content"],HttpOperationBindingElement:["content"],HttpServerBindingElement:["content"],IbmmqChannelBindingElement:["content"],IbmmqMessageBindingElement:["content"],IbmmqChannelOperationElement:["content"],IbmmqServerBindingElement:["content"],JmsChannelBindingElement:["content"],JmsMessageBindingElement:["content"],JmsOperationBindingElement:["content"],JmsServerBindingElement:["content"],KafkaChannelBindingElement:["content"],KafkaMessageBindingElement:["content"],KafkaOperationBindingElement:["content"],KafkaServerBindingElement:["content"],MercureChannelBindingElement:["content"],MercureMessageBindingElement:["content"],MercureOperationBindingElement:["content"],MercureServerBindingElement:["content"],MqttChannelBindingElement:["content"],MqttMessageBindingElement:["content"],MqttOperationBindingElement:["content"],MqttServerBindingElement:["content"],Mqtt5ChannelBindingElement:["content"],Mqtt5MessageBindingElement:["content"],Mqtt5OperationBindingElement:["content"],Mqtt5ServerBindingElement:["content"],NatsChannelBindingElement:["content"],NatsMessageBindingElement:["content"],NatsOperationBindingElement:["content"],NatsServerBindingElement:["content"],PulsarChannelBindingElement:["content"],PulsarMessageBindingElement:["content"],PulsarOperationBindingElement:["content"],PulsarServerBindingElement:["content"],RedisChannelBindingElement:["content"],RedisMessageBindingElement:["content"],RedisOperationBindingElement:["content"],RedisServerBindingElement:["content"],SnsChannelBindingElement:["content"],SnsMessageBindingElement:["content"],SnsOperationBindingElement:["content"],SnsServerBindingElement:["content"],SolaceChannelBindingElement:["content"],SolaceMessageBindingElement:["content"],SolaceOperationBindingElement:["content"],SolaceServerBindingElement:["content"],SqsChannelBindingElement:["content"],SqsMessageBindingElement:["content"],SqsOperationBindingElement:["content"],SqsServerBindingElement:["content"],StompChannelBindingElement:["content"],StompMessageBindingElement:["content"],StompOperationBindingElement:["content"],StompServerBindingElement:["content"],WebSocketChannelBindingElement:["content"],WebSocketMessageBindingElement:["content"],WebSocketOperationBindingElement:["content"],WebSocketServerBindingElement:["content"],...xi},Ev={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",Ia),t.register("asyncApiVersion",Va),t.register("channelBindings",Cc),t.register("channelItem",Fc),t.register("channels",Ic),t.register("components",kc),t.register("contact",Xa),t.register("correlationID",nc),t.register("defaultContentType",ac),t.register("externalDocumentation",Tu),t.register("identifier",Wa),t.register("info",za),t.register("license",dc),t.register("message",Qm),t.register("messageBindings",Bm),t.register("messageExample",Pm),t.register("messageTrait",Fm),t.register("oAuthFlow",vc),t.register("oAuthFlows",gc),t.register("operation",Vc),t.register("operationBindings",_p),t.register("operationTrait",yp),t.register("parameter",Lc),t.register("parameters",Wc),t.register("reference",Gc),t.register("schema",el),t.register("securityRequirement",sl),t.register("securityScheme",Yl),t.register("server",il),t.register("serverBindings",ol),t.register("servers",Pc),t.register("serverVariable",cl),t.register("tag",lm),t.register("tags",rm),t.register("amqpChannelBinding",Pp),t.register("amqpMessageBinding",Fp),t.register("amqpOperationBinding",kp),t.register("amqpServerBinding",Lp),t.register("amqp1ChannelBinding",Gp),t.register("amqp1MessageBinding",Kp),t.register("amqp1OperationBinding",eh),t.register("amqp1ServerBinding",ih),t.register("anypointmqChannelBinding",ch),t.register("anypointmqMessageBinding",mh),t.register("anypointmqOperationBinding",_h),t.register("anypointmqServerBinding",yh),t.register("googlepubsubChannelBinding",Vh),t.register("googlepubsubMessageBinding",Wh),t.register("googlepubsubOperationBinding",zh),t.register("googlepubsubServerBinding",Qh),t.register("httpChannelBinding",Sh),t.register("httpMessageBinding",Mh),t.register("httpOperationBinding",Ch),t.register("httpServerBinding",Ih),t.register("ibmmqChannelBinding",sg),t.register("ibmmqMessageBinding",og),t.register("ibmmqOperationBinding",ug),t.register("ibmmqServerBinding",hg),t.register("jmsChannelBinding",bg),t.register("jmsMessageBinding",Eg),t.register("jmsOperationBinding",Bg),t.register("jmsServerBinding",Pg),t.register("kafkaChannelBinding",Fg),t.register("kafkaMessageBinding",kg),t.register("kafkaOperationBinding",Lg),t.register("kafkaServerBinding",Gg),t.register("mercureChannelBinding",Kg),t.register("mercureMessageBinding",e_),t.register("mercureOperationBinding",i_),t.register("mercureServerBinding",c_),t.register("mqttChannelBinding",m_),t.register("mqttMessageBinding",__),t.register("mqttOperationBinding",y_),t.register("mqttServerBinding",S_),t.register("mqtt5ChannelBinding",M_),t.register("mqtt5MessageBinding",C_),t.register("mqtt5OperationBinding",I_),t.register("mqtt5ServerBinding",V_),t.register("natsChannelBinding",W_),t.register("natsMessageBinding",z_),t.register("natsOperationBinding",Q_),t.register("natsServerBinding",sf),t.register("pulsarChannelBinding",af),t.register("pulsarMessageBinding",df),t.register("pulsarOperationBinding",gf),t.register("pulsarServerBinding",vf),t.register("redisChannelBinding",wf),t.register("redisMessageBinding",Of),t.register("redisOperationBinding",Af),t.register("redisServerBinding",qf),t.register("snsChannelBinding",Nf),t.register("snsMessageBinding",Uf),t.register("snsOperationBinding",Jf),t.register("snsServerBinding",Yf),t.register("solaceChannelBinding",tb),t.register("solaceMessageBinding",rb),t.register("solaceOperationBinding",lb),t.register("solaceServerBinding",pb),t.register("sqsChannelBinding",fb),t.register("sqsMessageBinding",xb),t.register("sqsOperationBinding",jb),t.register("sqsServerBinding",$b),t.register("stompChannelBinding",Tb),t.register("stompMessageBinding",Rb),t.register("stompOperationBinding",Db),t.register("stompServerBinding",Hb),t.register("webSocketChannelBinding",Zb),t.register("webSocketMessageBinding",Xb),t.register("webSocketOperationBinding",nv),t.register("webSocketServerBinding",av),t}},wv=()=>{const e=at(Ev);return{predicates:{...i,isStringElement:Zn},namespace:e}},Sv=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:s=[]}={})=>{const n=(0,oe.e)(e),i=An(mv),r=new(Pn(t,i))({specObj:i});return Ei(n,r),Ri(r.element,s,{toolboxCreator:wv,visitorOptions:{keyMap:xv,nodeTypeGetter:yv}})},jv=e=>(t,s={})=>Sv(t,{...s,specPath:e});Ia.refract=jv(["visitors","document","objects","AsyncApi","$visitor"]),Va.refract=jv(["visitors","document","objects","AsyncApiVersion","$visitor"]),Cc.refract=jv(["visitors","document","objects","ChannelBindings","$visitor"]),Fc.refract=jv(["visitors","document","objects","ChannelItem","$visitor"]),Ic.refract=jv(["visitors","document","objects","Channels","$visitor"]),kc.refract=jv(["visitors","document","objects","Components","$visitor"]),Xa.refract=jv(["visitors","document","objects","Contact","$visitor"]),nc.refract=jv(["visitors","document","objects","CorrelationID","$visitor"]),ac.refract=jv(["visitors","document","objects","DefaultContentType","$visitor"]),Tu.refract=jv(["visitors","document","objects","ExternalDocumentation","$visitor"]),Wa.refract=jv(["visitors","document","objects","Identifier","$visitor"]),za.refract=jv(["visitors","document","objects","Info","$visitor"]),dc.refract=jv(["visitors","document","objects","License","$visitor"]),Qm.refract=jv(["visitors","document","objects","Message","$visitor"]),Bm.refract=jv(["visitors","document","objects","MessageBindings","$visitor"]),Pm.refract=jv(["visitors","document","objects","MessageExample","$visitor"]),Fm.refract=jv(["visitors","document","objects","MessageTrait","$visitor"]),vc.refract=jv(["visitors","document","objects","OAuthFlow","$visitor"]),gc.refract=jv(["visitors","document","objects","OAuthFlows","$visitor"]),Vc.refract=jv(["visitors","document","objects","Operation","$visitor"]),_p.refract=jv(["visitors","document","objects","OperationBindings","$visitor"]),yp.refract=jv(["visitors","document","objects","OperationTrait","$visitor"]),Lc.refract=jv(["visitors","document","objects","Parameter","$visitor"]),Wc.refract=jv(["visitors","document","objects","Parameters","$visitor"]),Gc.refract=jv(["visitors","document","objects","Reference","$visitor"]),el.refract=jv(["visitors","document","objects","Schema","$visitor"]),sl.refract=jv(["visitors","document","objects","SecurityRequirement","$visitor"]),Yl.refract=jv(["visitors","document","objects","SecurityScheme","$visitor"]),il.refract=jv(["visitors","document","objects","Server","$visitor"]),ol.refract=jv(["visitors","document","objects","ServerBindings","$visitor"]),Pc.refract=jv(["visitors","document","objects","Servers","$visitor"]),cl.refract=jv(["visitors","document","objects","ServerVariable","$visitor"]),lm.refract=jv(["visitors","document","objects","Tag","$visitor"]),rm.refract=jv(["visitors","document","objects","Tags","$visitor"]),Pp.refract=jv(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),Fp.refract=jv(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),kp.refract=jv(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Lp.refract=jv(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Gp.refract=jv(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),Kp.refract=jv(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),eh.refract=jv(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),ih.refract=jv(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),Sh.refract=jv(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),Mh.refract=jv(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),Ch.refract=jv(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),Ih.refract=jv(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),Vh.refract=jv(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),Wh.refract=jv(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),zh.refract=jv(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),Qh.refract=jv(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),sg.refract=jv(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),og.refract=jv(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),ug.refract=jv(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),hg.refract=jv(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),bg.refract=jv(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Eg.refract=jv(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),Bg.refract=jv(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),Pg.refract=jv(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),Fg.refract=jv(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),kg.refract=jv(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),Lg.refract=jv(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),Gg.refract=jv(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),ch.refract=jv(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),mh.refract=jv(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),_h.refract=jv(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),yh.refract=jv(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),Kg.refract=jv(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),e_.refract=jv(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),i_.refract=jv(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),c_.refract=jv(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),m_.refract=jv(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),__.refract=jv(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),y_.refract=jv(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),S_.refract=jv(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),M_.refract=jv(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),C_.refract=jv(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),I_.refract=jv(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),V_.refract=jv(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),W_.refract=jv(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),z_.refract=jv(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),Q_.refract=jv(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),sf.refract=jv(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),af.refract=jv(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),df.refract=jv(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),gf.refract=jv(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),vf.refract=jv(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),wf.refract=jv(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),Of.refract=jv(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Af.refract=jv(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),qf.refract=jv(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),Nf.refract=jv(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),Uf.refract=jv(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Jf.refract=jv(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),Yf.refract=jv(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),tb.refract=jv(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),rb.refract=jv(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),lb.refract=jv(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),pb.refract=jv(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),fb.refract=jv(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),xb.refract=jv(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),jb.refract=jv(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),$b.refract=jv(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),Tb.refract=jv(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),Rb.refract=jv(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),Db.refract=jv(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),Hb.refract=jv(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),Zb.refract=jv(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),Xb.refract=jv(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),nv.refract=jv(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),av.refract=jv(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const Bv=class extends Ia{constructor(e,t,s){super(e,t,s),this.element="asyncApi3"}get tags(){throw new Qo("tags keyword has been moved to info")}set tags(e){throw new Qo("tags keyword has been moved to info")}get externalDocs(){throw new Qo("externalDocs keyword has been moved to info.")}set externalDocs(e){throw new Qo("externalDocs keyword has been moved to info.")}get operations(){return this.get("operations")}set operations(e){this.set("operations",e)}};class Ov extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Bv,this.specPath=se(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}}const Mv=Ov;const $v=class extends Va{};class Pv extends(Tr(gv,hv)){StringElement(e){const t=new $v(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const Av=Pv;const Cv=class extends gv{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>To(e,se(t),ne))),s=Wo(t)(e);return this.element=this.toRefractedElement(s,e),Ks}};class Tv extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}const Fv=Tv;const qv=class extends gv{specPath;ignoredFields;fieldPatternPredicate=co;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=fv;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:i,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof i&&(this.specificationExtensionPredicate=i)}ObjectElement(e){return e.forEach(((e,t,s)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(ar(t))&&this.fieldPatternPredicate(ar(t))){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new oe.Pr(hi(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(ar(t))||this.element.content.push(hi(s))})),this.copyMetaAndAttributes(e,this.element),Ks}};const Iv=class extends Qm{constructor(e,t,s){super(e,t,s),this.element="message"}get messageId(){throw new Qo("messageId has been removed")}set messageId(e){throw new Qo("messageId has been removed")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};class Rv extends(Tr(qv,hv)){constructor(e){super(e),this.element=new Iv,this.element.classes.push("servers"),this.specPath=e=>_v(e)?["document","objects","Reference"]:["document","objects","Message"],this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=qv.prototype.ObjectElement.call(this,e);return this.element.filter(isReferenceElement).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const kv=Rv;const Nv=class extends Cc{};class Vv extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Nv,this.specPath=se(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}}const Dv=Vv;class Lv extends oe.wE{static primaryClass="channel-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Lv.primaryClass)}}const Uv=Lv;class Wv extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Uv}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Reference"],e);El(t)&&t.setMetaProperty("referenced-element","channel-servers"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Hv=Wv;class Gv extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="channel"}get address(){return this.get("address")}set address(e){this.set("address",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const Jv=Gv;class zv extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Jv,this.specPath=se(["document","objects","Channel"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return vv.prototype.ObjectElement.call(this,e)}}const Zv=zv;const Kv=class extends qv{constructor(e){super(e),this.fieldPatternPredicate=Nr}};const Yv=class extends Ic{};class Qv extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="multiFormatSchema"}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Xv=Qv;const ey=class extends kc{constructor(e,t,s){super(e,t,s),this.element="components"}get operations(){return this.get("operations")}set operations(e){this.set("operations",e)}get replies(){return this.get("replies")}set replies(e){this.set("replies",e)}get replyAddresses(){return this.get("replyAddresses")}set replyAddresses(e){this.set("replyAddresses",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}};const ty=class extends Xa{};const sy=class extends Wa{};const ny=class extends za{constructor(e,t,s){super(e,t,s),this.element="info"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};const iy=class extends dc{};class ry extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operation"}get action(){return this.get("action")}set action(e){this.set("action",e)}get channel(){return this.get("channel")}set channel(e){this.set("channel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}}const oy=ry;const ay=class extends Wc{};class cy extends oe.Sh{constructor(e={},t,s){super(e,t,s),this.element="parameter"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const ly=cy;const uy=class extends Gc{};const dy=class extends el{get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};const my=class extends il{constructor(e,t,s){super(e,t,s),this.element="server"}get url(){throw new Qo("url keyword from Core vocabulary has been removed")}set url(e){throw new Qo("url keyword from Core vocabulary has been removed")}get host(){return this.get("host")}set host(e){this.set("host",e)}get pathName(){return this.get("pathName")}set pathName(e){this.set("pathName",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};const py=class extends Pc{};const hy=class extends ol{};const gy=class extends cl{},_y=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>i=>i instanceof Bv||e(i)&&t("asyncApi3",i)&&s("object",i)&&n("api",i))),fy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof $v||e(n)&&t("asyncApiVersion",n)&&s("string",n))),by=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Nv||e(n)&&t("channelBindings",n)&&s("object",n))),vy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Jv||e(n)&&t("channel",n)&&s("object",n))),yy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Yv||e(n)&&t("channels",n)&&s("object",n))),xy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ey||e(n)&&t("components",n)&&s("object",n))),Ey=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ty||e(n)&&t("contact",n)&&s("object",n))),wy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof sy||e(n)&&t("identifier",n)&&s("string",n))),Sy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ny||e(n)&&t("info",n)&&s("object",n))),jy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof iy||e(n)&&t("license",n)&&s("object",n))),By=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oy||e(n)&&t("operation",n)&&s("object",n))),Oy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ly||e(n)&&t("parameter",n)&&s("object",n))),My=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ay||e(n)&&t("parameters",n)&&s("object",n))),$y=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof uy||e(n)&&t("reference",n)&&s("object",n))),Py=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof dy||e(n)&&t("schema",n)&&s("object",n))),Ay=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof my||e(n)&&t("server",n)&&s("object",n))),Cy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof hy||e(n)&&t("serverBindings",n)&&s("object",n))),Ty=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof py||e(n)&&t("servers",n)&&s("object",n))),Fy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof gy||e(n)&&t("serverVariable",n)&&s("object",n))),qy=Jn((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Xv||e(n)&&t("multiFormatSchema",n)&&s("object",n)));class Iy extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new Yv,this.specPath=e=>_v(e)?["document","objects","Reference"]:["document","objects","Channel"],this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter($y).forEach((e=>{e.setMetaProperty("referenced-element","channel")})),t}}const Ry=Iy;const ky=class extends Yu{};class Ny extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new ky,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Channel"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","channel")})),t}}const Vy=Ny;class Dy extends oe.Sh{static primaryClass="components-external-documentation";constructor(e,t,s){super(e,t,s),this.classes.push(Dy.primaryClass)}}const Ly=Dy;class Uy extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new Ly,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","ExternalDocumentation"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","externalDocumentation")})),t}}const Wy=Uy;class Hy extends oe.Sh{static primaryClass="components-operations";constructor(e,t,s){super(e,t,s),this.classes.push(Hy.primaryClass)}}const Gy=Hy;class Jy extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new Gy,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Operation"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operation")})),t}}const zy=Jy;class Zy extends oe.Sh{static primaryClass="components-replies";constructor(e,t,s){super(e,t,s),this.classes.push(Zy.primaryClass)}}const Ky=Zy;class Yy extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new Ky,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","OperationReply"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operationReply")})),t}}const Qy=Yy;class Xy extends oe.Sh{static primaryClass="components-reply-addresses";constructor(e,t,s){super(e,t,s),this.classes.push(Xy.primaryClass)}}const ex=Xy;class tx extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new ex,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","OperationReplyAddress"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","operation-reply-address")})),t}}const sx=tx;const nx=class extends Nu{};class ix extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new nx,this.specPath=e=>Ca(e)?["document","objects","Reference"]:bv(e)?["document","objects","MultiFormatSchema"]:["document","objects","Schema"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter($y).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),this.element.filter(qy).forEach((e=>{e.setMetaProperty("multiformat-schema-element","schema")})),t}}const rx=ix;class ox extends oe.Sh{static primaryClass="components-tags";constructor(e,t,s){super(e,t,s),this.classes.push(ox.primaryClass)}}const ax=ox;class cx extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new ax,this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Tag"]}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter(El).forEach((e=>{e.setMetaProperty("referenced-element","tag")})),t}}const lx=cx,ux=mv.visitors.document.objects.Components.$visitor;const dx=class extends ux{constructor(e){super(e),this.element=new ey}},mx=mv.visitors.document.objects.Contact.$visitor;const px=class extends mx{constructor(e){super(e),this.element=new ty}};const hx=class extends nc{},gx=mv.visitors.document.objects.CorrelationID.$visitor;const _x=class extends gx{constructor(e){super(e),this.element=new hx}};const fx=class extends ac{};class bx extends(Tr(gv,hv)){StringElement(e){const t=new fx(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const vx=bx;const yx=class extends Cv{constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ExternalDocumentation"]}]}enter(e){const t=Cv.prototype.enter.call(this,e);return $y(this.element)&&this.element.setMetaProperty("referenced-element","externalDocumentation"),t}};const xx=class extends Tu{},Ex=mv.visitors.document.objects.ExternalDocumentation.$visitor;const wx=class extends Ex{constructor(e){super(e),this.element=new xx}};class Sx extends(Tr(gv,hv)){StringElement(e){const t=new sy(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ks}}const jx=Sx,Bx=mv.visitors.document.objects.Info.$visitor;const Ox=class extends Bx{constructor(e){super(e),this.element=new ny}},Mx=mv.visitors.document.objects.License.$visitor;const $x=class extends Mx{constructor(e){super(e),this.element=new iy}};const Px=class extends Bm{},Ax=mv.visitors.document.objects.MessageBindings.$visitor;const Cx=class extends Ax{constructor(e){super(e),this.element=new Px}};class Tx extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const Fx=Tx;class qx extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const Ix=qx;const Rx=class extends Pm{},kx=mv.visitors.document.objects.MessageExample.$visitor;const Nx=class extends kx{constructor(e){super(e),this.element=new Rx}};const Vx=class extends cp{};class Dx extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Vx}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Lx=Dx;class Ux extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:bv,specPath:["document","objects","MultiFormatSchema"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","ref-header"),wl(this.element)&&this.element.setMetaProperty("schema","header-schema"),qy(this.element)&&this.element.setMetaProperty("schema","header-multiformat-schema"),t}}const Wx=Ux;class Hx extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:bv,specPath:["document","objects","MultiFormatSchema"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","ref-payload"),wl(this.element)&&this.element.setMetaProperty("schema","payload-schema"),qy(this.element)&&this.element.setMetaProperty("schema","payload-multiformat-schema"),t}}const Gx=Hx;class Jx extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:Ca,specPath:["document","objects","Reference"]},{predicate:bv,specPath:["document","objects","MultiFormatSchema"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","ref-header"),wl(this.element)&&this.element.setMetaProperty("schema","header-schema"),qy(this.element)&&this.element.setMetaProperty("schema","header-multiformat-schema"),t}}const zx=Jx;const Zx=class extends Fm{constructor(e,t,s){super(e,t,s),this.element="messageTrait"}get messageId(){throw new Qo("messageId keyword from Core vocabulary has been removed")}set messageId(e){throw new Qo("messageId keyword from Core vocabulary has been removed")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}},Kx=mv.visitors.document.objects.MessageTrait.$visitor;const Yx=class extends Kx{constructor(e){super(e),this.element=new Zx}};const Qx=class extends mp{};class Xx extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Qx}ArrayElement(e){return e.forEach((e=>{let t;_v(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const eE=Xx;class tE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Iv,this.specPath=se(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}}const sE=tE;class nE extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="messages"}}const iE=nE;class rE extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new iE,this.element.classes.push("messages"),this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Message"],this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter($y).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const oE=rE;class aE extends Zm{filterByFormat(e="generic"){const t="generic"===e?"asyncapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.0.0",t="generic"){const s="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find((e=>e.includes(s)))||this.unknownMediaType}latest(e="generic"){return Jm(this.filterByFormat(e))}}const cE=new aE("application/vnd.aai.asyncapi;version=3.0.0","application/vnd.aai.asyncapi+json;version=3.0.0","application/vnd.aai.asyncapi+yaml;version=3.0.0");class lE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Xv,this.specPath=se(["document","objects","MultiFormatSchema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=vv.prototype.ObjectElement.call(this,e),s=this.element.get("schema"),n=u(cE.latest(),ar(e.get("schemaFormat")));if(cE.includes(n)&&Ca(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.schema=e}else cE.includes(n)&&Xn(this.element.schema)&&(this.element.schema=this.toRefractedElement(["document","objects","Schema"],this.element.schema));return t}}const uE=lE;const dE=class extends vc{constructor(e,t,s){super(e,t,s),this.element="oAuthFlow"}get scopes(){throw new Qo("scopes keyword from Core vocabulary has been renamed to availableScopes.")}set scopes(e){throw new Qo("scopes keyword from Core vocabulary has been renamed to availableScopes.")}get availableScopes(){return this.get("availableScopes")}set availableScopes(e){this.set("availableScopes",e)}},mE=mv.visitors.document.objects.OAuthFlow.$visitor;const pE=class extends mE{constructor(e){super(e),this.element=new dE}};const hE=class extends gc{},gE=mv.visitors.document.objects.OAuthFlows.$visitor;const _E=class extends gE{constructor(e){super(e),this.element=new hE}};const fE=class extends _p{},bE=mv.visitors.document.objects.OperationBindings.$visitor;const vE=class extends bE{constructor(e){super(e),this.element=new fE}};class yE extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const xE=yE;class EE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uy,this.specPath=se(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=vv.prototype.ObjectElement.call(this,e);return _v(e)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channel")),t}}const wE=EE;class SE extends oe.wE{static primaryClass="operation-messages";constructor(e,t,s){super(e,t,s),this.classes.push(SE.primaryClass)}}const jE=SE;class BE extends(Tr(gv,hv)){constructor(e){super(e),this.element=new jE}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Reference"],e);$y(t)&&t.setMetaProperty("referenced-element","operation-message"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const OE=BE;class ME extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationReply"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationReply"),t}}const $E=ME;class PE extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operationReplyAddress"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const AE=PE;class CE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new AE,this.specPath=se(["document","objects","OperationReplyAddress"]),this.canSupportSpecificationExtensions=!0}}const TE=CE;class FE extends(Tr(Cv,hv)){constructor(e){super(e),this.alternator=[{predicate:_v,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationReplyAddress"]}]}ObjectElement(e){const t=Cv.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","operationReplyAddress"),t}}const qE=FE;class IE extends oe.wE{static primaryClass="operation-reply-messages";constructor(e,t,s){super(e,t,s),this.classes.push(IE.primaryClass)}}const RE=IE;class kE extends(Tr(gv,hv)){constructor(e){super(e),this.element=new RE}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Reference"],e);El(t)&&t.setMetaProperty("referenced-element","operation-reply-message"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const NE=kE;class VE extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operationReply"}get address(){return this.get("address")}set address(e){this.set("address",e)}get channel(){return this.get("channel")}set channel(e){this.set("channel",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}}const DE=VE;class LE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new DE,this.specPath=se(["document","objects","OperationReply"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return vv.prototype.ObjectElement.call(this,e)}}const UE=LE;const WE=class extends Ud{};class HE extends(Tr(gv,hv)){constructor(e){super(e),this.element=new WE}ArrayElement(e){return e.forEach((e=>{let t;_v(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","securityScheme")):t=this.toRefractedElement(["document","objects","SecurityScheme"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const GE=HE;const JE=class extends yp{constructor(e,t,s){super(e,t,s),this.element="operationTrait"}get operationId(){throw new Qo("operationId keyword from Core vocabulary has been removed")}set operationId(e){throw new Qo("operationId keyword from Core vocabulary has been removed")}get title(){return this.get("title")}set title(e){this.set("title",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}},zE=mv.visitors.document.objects.OperationTrait.$visitor;const ZE=class extends zE{constructor(e){super(e),this.element=new JE}};const KE=class extends Zd{};class YE extends(Tr(gv,hv)){constructor(e){super(e),this.element=new KE}ArrayElement(e){return e.forEach((e=>{let t;_v(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const QE=YE;class XE extends(Tr(vv,hv)){constructor(e){super(e),this.element=new oy,this.specPath=se(["document","objects","Operation"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=vv.prototype.ObjectElement.call(this,e),s=e.get("action");if(Zn(s)){const e=s.toValue();"send"!==e&&"receive"!==e||this.element.setMetaProperty("operation-action",e)}return t}}const ew=XE;class tw extends oe.Sh{constructor(e,t,s){super(e,t,s),this.element="operations"}}const sw=tw;class nw extends(Tr(Kv,hv)){constructor(e){super(e),this.element=new sw,this.element.classes.push("operations"),this.specPath=e=>Ca(e)?["document","objects","Reference"]:["document","objects","Operation"],this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Kv.prototype.ObjectElement.call(this,e);return this.element.filter($y).forEach((e=>{e.setMetaProperty("referenced-element","operation")})),t}}const iw=nw;class rw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ly,this.specPath=se(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const ow=rw,aw=mv.visitors.document.objects.Parameters.$visitor;const cw=class extends aw{constructor(e){super(e),this.element=new ay}},lw=mv.visitors.document.objects.Reference.$visitor;const uw=class extends lw{constructor(e){super(e),this.element=new uy}},dw=wa.visitors.JSONSchemaOrJSONReferenceVisitor;const mw=class extends dw{enter(e){const t=dw.prototype.enter.call(this,e);return El(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}},pw=mv.visitors.document.objects.Schema.$visitor;const hw=class extends pw{constructor(e){super(e),this.element=new dy}ObjectElement(e){return this.element=new dy,vv.prototype.ObjectElement.call(this,e)}};class gw extends oe.wE{static primaryClass="security-scheme-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(gw.primaryClass)}}const _w=gw;class fw extends(Tr(gv,hv)){constructor(e){super(e),this.element=new _w}ArrayElement(e){return e.forEach((e=>{const t=hi(e);Zn(t)&&t.classes.push("scope-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const bw=fw;const vw=class extends Yl{constructor(e,t,s){super(e,t,s),this.element="securityScheme"}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}},yw=mv.visitors.document.objects.SecurityScheme.$visitor;const xw=class extends yw{constructor(e){super(e),this.element=new vw}},Ew=mv.visitors.document.objects.ServerBindings.$visitor;const ww=class extends Ew{constructor(e){super(e),this.element=new hy}};const Sw=class extends Ul{};class jw extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Sw}ArrayElement(e){return e.forEach((e=>{let t;Ca(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","securityScheme")):t=this.toRefractedElement(["document","objects","SecurityScheme"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const Bw=jw,Ow=mv.visitors.document.objects.ServerVariable.$visitor;const Mw=class extends Ow{constructor(e){super(e),this.element=new gy}},$w=mv.visitors.document.objects.Server.$visitor;const Pw=class extends $w{constructor(e){super(e),this.element=new my}},Aw=mv.visitors.document.objects.Servers.$visitor;const Cw=class extends Aw{constructor(e){super(e),this.element=new py,this.element.classes.push("servers")}};const Tw=class extends lm{constructor(e,t,s){super(e,t,s),this.element="tag"}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};class Fw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Tw,this.specPath=se(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const qw=Fw;const Iw=class extends rm{};class Rw extends(Tr(gv,hv)){constructor(e){super(e),this.element=new Iw}ArrayElement(e){return e.forEach((e=>{let t;Ca(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","tag")):t=this.toRefractedElement(["document","objects","Tag"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ks}}const kw=Rw,Nw=W((e=>e===wa.visitors.JSONSchemaOrJSONReferenceVisitor?mw:e),wa.visitors.document.objects.JSONSchema.fixedFields);const Vw=class extends Pp{};class Dw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Vw,this.specPath=se(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Lw=Dw;const Uw=class extends Fp{};class Ww extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Uw,this.specPath=se(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Hw=Ww;const Gw=class extends kp{};class Jw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Gw,this.specPath=se(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const zw=Jw;const Zw=class extends Lp{};class Kw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Zw,this.specPath=se(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Yw=Kw;const Qw=class extends Gp{};class Xw extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Qw,this.specPath=se(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const eS=Xw;const tS=class extends Kp{};class sS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new tS,this.specPath=se(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const nS=sS;const iS=class extends eh{};class rS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new iS,this.specPath=se(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const oS=rS;const aS=class extends ih{};class cS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new aS,this.specPath=se(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const lS=cS;const uS=class extends ch{};class dS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uS,this.specPath=se(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const mS=dS;const pS=class extends mh{};class hS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new pS,this.specPath=se(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const gS=hS;const _S=class extends _h{};class fS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new _S,this.specPath=se(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bS=fS;const vS=class extends yh{};class yS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new vS,this.specPath=se(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const xS=yS;const ES=class extends Sh{};class wS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ES,this.specPath=se(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const SS=wS;const jS=class extends Mh{};class BS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new jS,this.specPath=se(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const OS=BS;const MS=class extends Ch{};class $S extends(Tr(vv,hv)){constructor(e){super(e),this.element=new MS,this.specPath=se(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const PS=$S;const AS=class extends Ih{};class CS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new AS,this.specPath=se(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const TS=CS;const FS=class extends Vh{};class qS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new FS,this.specPath=se(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const IS=qS;const RS=class extends Wh{};class kS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new RS,this.specPath=se(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const NS=kS;const VS=class extends zh{};class DS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new VS,this.specPath=se(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const LS=DS;const US=class extends Qh{};class WS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new US,this.specPath=se(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const HS=WS;const GS=class extends sg{};class JS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new GS,this.specPath=se(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const zS=JS;const ZS=class extends og{};class KS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ZS,this.specPath=se(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const YS=KS;const QS=class extends ug{};class XS extends(Tr(vv,hv)){constructor(e){super(e),this.element=new QS,this.specPath=se(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ej=XS;const tj=class extends hg{};class sj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new tj,this.specPath=se(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const nj=sj;const ij=class extends bg{};class rj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ij,this.specPath=se(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const oj=rj;const aj=class extends Eg{};class cj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new aj,this.specPath=se(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const lj=cj;const uj=class extends Bg{};class dj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uj,this.specPath=se(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const mj=dj;const pj=class extends Pg{};class hj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new pj,this.specPath=se(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const gj=hj;const _j=class extends Fg{};class fj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new _j,this.specPath=se(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const bj=fj;const vj=class extends kg{};class yj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new vj,this.specPath=se(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const xj=yj;const Ej=class extends Lg{};class wj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Ej,this.specPath=se(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Sj=wj;const jj=class extends Gg{};class Bj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new jj,this.specPath=se(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Oj=Bj;const Mj=class extends Kg{};class $j extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Mj,this.specPath=se(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Pj=$j;const Aj=class extends e_{};class Cj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Aj,this.specPath=se(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Tj=Cj;const Fj=class extends i_{};class qj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Fj,this.specPath=se(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ij=qj;const Rj=class extends c_{};class kj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Rj,this.specPath=se(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Nj=kj;const Vj=class extends m_{};class Dj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Vj,this.specPath=se(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Lj=Dj;const Uj=class extends __{};class Wj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Uj,this.specPath=se(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Hj=Wj;const Gj=class extends y_{};class Jj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Gj,this.specPath=se(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const zj=Jj;const Zj=class extends S_{};class Kj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Zj,this.specPath=se(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Yj=Kj;const Qj=class extends M_{};class Xj extends(Tr(vv,hv)){constructor(e){super(e),this.element=new Qj,this.specPath=se(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const eB=Xj;const tB=class extends C_{};class sB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new tB,this.specPath=se(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const nB=sB;const iB=class extends I_{};class rB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new iB,this.specPath=se(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const oB=rB;const aB=class extends V_{};class cB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new aB,this.specPath=se(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const lB=cB;const uB=class extends W_{};class dB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uB,this.specPath=se(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const mB=dB;const pB=class extends z_{};class hB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new pB,this.specPath=se(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const gB=hB;const _B=class extends Q_{};class fB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new _B,this.specPath=se(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bB=fB;const vB=class extends sf{};class yB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new vB,this.specPath=se(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const xB=yB;const EB=class extends af{};class wB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new EB,this.specPath=se(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const SB=wB;const jB=class extends df{};class BB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new jB,this.specPath=se(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const OB=BB;const MB=class extends gf{};class $B extends(Tr(vv,hv)){constructor(e){super(e),this.element=new MB,this.specPath=se(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const PB=$B;const AB=class extends vf{};class CB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new AB,this.specPath=se(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const TB=CB;const FB=class extends wf{};class qB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new FB,this.specPath=se(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const IB=qB;const RB=class extends Of{};class kB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new RB,this.specPath=se(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const NB=kB;const VB=class extends Af{};class DB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new VB,this.specPath=se(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const LB=DB;const UB=class extends qf{};class WB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new UB,this.specPath=se(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const HB=WB;const GB=class extends Nf{};class JB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new GB,this.specPath=se(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const zB=JB;const ZB=class extends Uf{};class KB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ZB,this.specPath=se(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const YB=KB;const QB=class extends Jf{};class XB extends(Tr(vv,hv)){constructor(e){super(e),this.element=new QB,this.specPath=se(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const eO=XB;const tO=class extends Yf{};class sO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new tO,this.specPath=se(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const nO=sO;const iO=class extends tb{};class rO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new iO,this.specPath=se(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const oO=rO;const aO=class extends rb{};class cO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new aO,this.specPath=se(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const lO=cO;const uO=class extends lb{};class dO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new uO,this.specPath=se(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const mO=dO;const pO=class extends pb{};class hO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new pO,this.specPath=se(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const gO=hO;const _O=class extends fb{};class fO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new _O,this.specPath=se(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const bO=fO;const vO=class extends xb{};class yO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new vO,this.specPath=se(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const xO=yO;const EO=class extends jb{};class wO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new EO,this.specPath=se(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const SO=wO;const jO=class extends $b{};class BO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new jO,this.specPath=se(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const OO=BO;const MO=class extends Tb{};class $O extends(Tr(vv,hv)){constructor(e){super(e),this.element=new MO,this.specPath=se(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const PO=$O;const AO=class extends Rb{};class CO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new AO,this.specPath=se(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const TO=CO;const FO=class extends Db{};class qO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new FO,this.specPath=se(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const IO=qO;const RO=class extends Hb{};class kO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new RO,this.specPath=se(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const NO=kO;const VO=class extends Zb{};class DO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new VO,this.specPath=se(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const LO=DO;const UO=class extends Xb{};class WO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new UO,this.specPath=se(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const HO=WO;const GO=class extends nv{};class JO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new GO,this.specPath=se(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const zO=JO;const ZO=class extends av{};class KO extends(Tr(vv,hv)){constructor(e){super(e),this.element=new ZO,this.specPath=se(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const YO=KO,QO={$visitor:hw,fixedFields:{...Nw,allOf:mv.visitors.document.objects.Schema.fixedFields.allOf,anyOf:mv.visitors.document.objects.Schema.fixedFields.anyOf,oneOf:mv.visitors.document.objects.Schema.fixedFields.oneOf,items:mv.visitors.document.objects.Schema.fixedFields.items,properties:mv.visitors.document.objects.Schema.fixedFields.properties,patternProperties:mv.visitors.document.objects.Schema.fixedFields.patternProperties,dependencies:mv.visitors.document.objects.Schema.fixedFields.dependencies,definitions:mv.visitors.document.objects.Schema.fixedFields.definitions,discriminator:mv.visitors.document.objects.Schema.fixedFields.discriminator,externalDocs:yx,deprecated:mv.visitors.document.objects.Schema.fixedFields.deprecated}},XO={visitors:{value:hv,document:{objects:{AsyncApi:{$visitor:Mv,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$ref:"#/visitors/document/objects/Identifier"},info:{$ref:"#/visitors/document/objects/Info"},servers:{$ref:"#/visitors/document/objects/Servers"},defaultContentType:{$ref:"#/visitors/document/objects/DefaultContentType"},channels:{$ref:"#/visitors/document/objects/Channels"},operations:{$ref:"#/visitors/document/objects/Operations"},components:{$ref:"#/visitors/document/objects/Components"}}},AsyncApiVersion:{$visitor:Av},Identifier:{$visitor:jx},Info:{$visitor:Ox,fixedFields:{title:mv.visitors.document.objects.Info.fixedFields.title,version:mv.visitors.document.objects.Info.fixedFields.version,description:mv.visitors.document.objects.Info.fixedFields.description,termsOfService:mv.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx}},Contact:{$visitor:px,fixedFields:{name:mv.visitors.document.objects.Contact.fixedFields.name,url:mv.visitors.document.objects.Contact.fixedFields.url,email:mv.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:$x,fixedFields:{name:mv.visitors.document.objects.License.fixedFields.name,url:mv.visitors.document.objects.License.fixedFields.url}},Servers:{$visitor:Cw},Server:{$visitor:Pw,fixedFields:{host:{$ref:"#/visitors/value"},protocol:mv.visitors.document.objects.Server.fixedFields.protocol,protocolVersion:mv.visitors.document.objects.Server.fixedFields.protocolVersion,pathname:{$ref:"#/visitors/value"},description:mv.visitors.document.objects.Server.fixedFields.description,title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},variables:mv.visitors.document.objects.Server.fixedFields.variables,security:Bw,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:mv.visitors.document.objects.Server.fixedFields.bindings}},ServerVariable:{$visitor:Mw,fixedFields:{enum:mv.visitors.document.objects.ServerVariable.fixedFields.enum,default:mv.visitors.document.objects.ServerVariable.fixedFields.default,description:mv.visitors.document.objects.ServerVariable.fixedFields.description,examples:mv.visitors.document.objects.ServerVariable.fixedFields.examples}},DefaultContentType:{$visitor:vx},Channels:{$visitor:Ry},Channel:{$visitor:Zv,fixedFields:{address:{$ref:"#/visitors/value"},messages:{$ref:"#/visitors/document/objects/Messages"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},servers:Hv,parameters:{$ref:"#/visitors/document/objects/Parameters"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:Fv}},ChannelAddressExpressions:{$visitor:kv},Messages:{$visitor:oE},Operations:{$visitor:iw},Operation:{$visitor:ew,fixedFields:{action:{$ref:"#/visitors/value"},channel:wE,title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:GE,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:xE,traits:QE,messages:OE,reply:$E}},OperationTrait:{$visitor:ZE,fixedFields:{title:{$ref:"#/visitors/value"},summary:mv.visitors.document.objects.OperationTrait.fixedFields.summary,description:mv.visitors.document.objects.OperationTrait.fixedFields.description,security:GE,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:mv.visitors.document.objects.OperationTrait.fixedFields.bindings}},OperationReply:{$visitor:UE,fixedFields:{address:qE,channel:wE,messages:NE}},OperationReplyAddress:{$visitor:TE,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},Parameters:{$visitor:cw},Parameter:{$visitor:ow,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},ServerBindings:{$visitor:ww,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ServerBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ServerBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ServerBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ServerBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ServerBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ServerBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ServerBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ServerBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ServerBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ServerBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ServerBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ServerBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ServerBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ServerBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ServerBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ServerBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ServerBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ServerBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ServerBinding"}}},ChannelBindings:{$visitor:Dv,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ChannelBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ChannelBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ChannelBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ChannelBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ChannelBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ChannelBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ChannelBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ChannelBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ChannelBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ChannelBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ChannelBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ChannelBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ChannelBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ChannelBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ChannelBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ChannelBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ChannelBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ChannelBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ChannelBinding"}}},OperationBindings:{$visitor:vE,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/OperationBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/OperationBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/OperationBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/OperationBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/OperationBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/OperationBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/OperationBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/OperationBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/OperationBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/OperationBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/OperationBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/OperationBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/OperationBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/OperationBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/OperationBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/OperationBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/OperationBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/OperationBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/OperationBinding"}}},MessageBindings:{$visitor:Cx,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/MessageBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/MessageBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/MessageBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/MessageBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/MessageBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/MessageBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/MessageBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/MessageBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/MessageBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/MessageBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/MessageBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/MessageBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/MessageBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/MessageBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/MessageBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/MessageBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/MessageBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/MessageBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/MessageBinding"}}},Message:{$visitor:sE,fixedFields:{headers:Wx,payload:Gx,correlationId:Ix,contetType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:Fx,examples:Lx,traits:eE}},MessageTrait:{$visitor:Yx,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:zx,correlationId:mv.visitors.document.objects.MessageTrait.fixedFields.correlationId,schemaFormat:mv.visitors.document.objects.MessageTrait.fixedFields.schemaFormat,contentType:mv.visitors.document.objects.MessageTrait.fixedFields.contentType,name:mv.visitors.document.objects.MessageTrait.fixedFields.name,title:mv.visitors.document.objects.MessageTrait.fixedFields.title,summary:mv.visitors.document.objects.MessageTrait.fixedFields.summary,description:mv.visitors.document.objects.MessageTrait.fixedFields.description,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:yx,bindings:mv.visitors.document.objects.MessageTrait.fixedFields.bindings,examples:mv.visitors.document.objects.MessageTrait.fixedFields.examples}},MessageExample:{$visitor:Nx,fixedFields:{headers:mv.visitors.document.objects.MessageExample.fixedFields.headers,payload:mv.visitors.document.objects.MessageExample.fixedFields.payload,name:mv.visitors.document.objects.MessageExample.fixedFields.name,summary:mv.visitors.document.objects.MessageExample.fixedFields.summary}},Tags:{$visitor:kw},Tag:{$visitor:qw,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:yx}},ExternalDocumentation:{$visitor:wx,fixedFields:{description:mv.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:mv.visitors.document.objects.ExternalDocumentation.fixedFields.url}},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Reference:{$visitor:uw,fixedFields:{$ref:mv.visitors.document.objects.Reference.fixedFields.$ref}},LinkDescription:mv.visitors.document.objects.LinkDescription,Components:{$visitor:dx,fixedFields:{schemas:rx,servers:mv.visitors.document.objects.Components.fixedFields.servers,channels:Vy,serverVariables:mv.visitors.document.objects.Components.fixedFields.serverVariables,operations:zy,messages:mv.visitors.document.objects.Components.fixedFields.messages,securitySchemes:mv.visitors.document.objects.Components.fixedFields.securitySchemes,parameters:mv.visitors.document.objects.Components.fixedFields.parameters,correlationIds:mv.visitors.document.objects.Components.fixedFields.correlationIds,replies:Qy,replyAddresses:sx,tags:lx,externalDocs:Wy,operationTraits:mv.visitors.document.objects.Components.fixedFields.operationTraits,messageTraits:mv.visitors.document.objects.Components.fixedFields.messageTraits,serverBindings:mv.visitors.document.objects.Components.fixedFields.serverBindings,channelBindings:mv.visitors.document.objects.Components.fixedFields.channelBindings,operationBindings:mv.visitors.document.objects.Components.fixedFields.operationBindings,messageBindings:mv.visitors.document.objects.Components.fixedFields.messageBindings}},MultiFormatSchema:{$visitor:uE,fixedFields:{schemaFormat:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}},JSONSchema:QO,Schema:QO,SecurityScheme:{$visitor:xw,fixedFields:{type:mv.visitors.document.objects.SecurityScheme.fixedFields.type,description:mv.visitors.document.objects.SecurityScheme.fixedFields.description,name:mv.visitors.document.objects.SecurityScheme.fixedFields.name,in:mv.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:mv.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:mv.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:mv.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl,scopes:bw}},OAuthFlows:{$visitor:_E,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:pE,fixedFields:{authorizationUrl:mv.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:mv.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:mv.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,availableScopes:mv.visitors.document.objects.OAuthFlow.fixedFields.scopes}},CorrelationID:{$visitor:_x,fixedFields:{description:mv.visitors.document.objects.CorrelationID.fixedFields.description,location:mv.visitors.document.objects.CorrelationID.fixedFields.location}},bindings:{http:{ServerBinding:{$visitor:TS},ChannelBinding:{$visitor:SS},OperationBinding:{$visitor:PS,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:mw,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:OS,fixedFields:{headers:mw,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:YO},ChannelBinding:{$visitor:LO,fixedFields:{method:{$ref:"#/visitors/value"},query:mw,headers:mw,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:zO},MessageBinding:{$visitor:HO}},kafka:{ServerBinding:{$visitor:Oj,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:bj,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Sj,fixedFields:{groupId:mw,clientId:mw,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:xj,fixedFields:{key:mw,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:xS},ChannelBinding:{$visitor:mS,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:bS},MessageBinding:{$visitor:gS,fixedFields:{headers:mw,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Yw},ChannelBinding:{$visitor:Lw,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:zw,fixedFields:{expiration:{$ref:"#/visitors/value"},userId:{$ref:"#/visitors/value"},cc:{$ref:"#/visitors/value"},priority:{$ref:"#/visitors/value"},deliveryMode:{$ref:"#/visitors/value"},mandatory:{$ref:"#/visitors/value"},bcc:{$ref:"#/visitors/value"},replyTo:{$ref:"#/visitors/value"},timestamp:{$ref:"#/visitors/value"},ack:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Hw,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:lS},ChannelBinding:{$visitor:eS},OperationBinding:{$visitor:oS},MessageBinding:{$visitor:nS}},mqtt:{ServerBinding:{$visitor:Yj,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Lj},OperationBinding:{$visitor:zj,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Hj,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:lB},ChannelBinding:{$visitor:eB},OperationBinding:{$visitor:oB},MessageBinding:{$visitor:nB}},nats:{ServerBinding:{$visitor:xB},ChannelBinding:{$visitor:mB},OperationBinding:{$visitor:bB,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:gB}},pulsar:{ServerBinding:{$visitor:TB,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:SB,fixedFields:{namespace:{$ref:"#/visitors/value"},persistence:{$ref:"#/visitors/value"},compaction:{$ref:"#/visitors/value"},"geo-replication":{$ref:"#/visitors/value"},retention:{$ref:"#/visitors/value"},ttl:{$ref:"#/visitors/value"},deduplication:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:PB},MessageBinding:{$visitor:OB}},jms:{ServerBinding:{$visitor:gj},ChannelBinding:{$visitor:oj},OperationBinding:{$visitor:mj},MessageBinding:{$visitor:lj}},sns:{ServerBinding:{$visitor:nO},ChannelBinding:{$visitor:zB},OperationBinding:{$visitor:eO},MessageBinding:{$visitor:YB}},solace:{ServerBinding:{$visitor:gO,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:oO},OperationBinding:{$visitor:mO,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:lO}},sqs:{ServerBinding:{$visitor:OO},ChannelBinding:{$visitor:bO},OperationBinding:{$visitor:SO},MessageBinding:{$visitor:xO}},stomp:{ServerBinding:{$visitor:NO},ChannelBinding:{$visitor:PO},OperationBinding:{$visitor:IO},MessageBinding:{$visitor:TO}},redis:{ServerBinding:{$visitor:HB},ChannelBinding:{$visitor:IB},OperationBinding:{$visitor:LB},MessageBinding:{$visitor:NB}},mercure:{ServerBinding:{$visitor:Nj},ChannelBinding:{$visitor:Pj},OperationBinding:{$visitor:Ij},MessageBinding:{$visitor:Tj}},googlepubsub:{ServerBinding:{$visitor:HS},ChannelBinding:{$visitor:IS,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},labels:{$ref:"#/visitors/value"},messageRetentionDuration:{$ref:"#/visitors/value"},messageStoragePolicy:{$ref:"#/visitors/value"},schemaSettings:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:LS},MessageBinding:{$visitor:NS,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:nj,fixedFields:{groupId:{$ref:"#/visitors/value"},ccdtQueueManagerName:{$ref:"#/visitors/value"},cipherSpec:{$ref:"#/visitors/value"},multiEndpointServer:{$ref:"#/visitors/value"},heartBeatInterval:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:zS,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:YS,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:ej}}}}}}},eM=e=>{if(zn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},tM={AsyncApi3Element:["content"],AsyncApiVersionElement:[],ChannelBindingsElement:["content"],ChannelElement:["content"],ChannelsElement:["content"],ComponentsElement:["content"],ContactElement:["content"],CorrelationIDElement:["content"],DefaultContentTypeElement:[],ExternalDocumentationElement:["content"],InfoElement:["content"],LicenseElement:["content"],MessagesElement:["content"],MessageElement:["content"],MessageExampleElement:["content"],MessageBindingsElement:["content"],MessageTraitElement:["content"],MultiFormatSchemaElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OperationsElement:["content"],OperationElement:["content"],OperationBindingsElement:["content"],OperationReplyElement:["content"],OperationReplyAddressElement:["content"],OperationTraitElement:["content"],ParameterElement:["content"],ParametersElement:["content"],ReferenceElement:["content"],SchemaElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerBindingsElement:["content"],ServersElement:["content"],ServerVariableElement:["content"],TagElement:["content"],TagsElement:["content"],AmqpChannelBindingElement:["content"],AmqpMessageBindingElement:["content"],AmqpOperationBindingElement:["content"],AmqpServerBindingElement:["content"],Amqp1ChannelBindingElement:["content"],Amqp1MessageBindingElement:["content"],Amqp1OperationBindingElement:["content"],Amqp1ServerBindingElement:["content"],AnypointmqChannelBindingElement:["content"],AnypointmqMessageBindingElement:["content"],AnypointmqOperationBindingElement:["content"],AnypointmqServerBindingElement:["content"],GooglepubsubChannelBindingElement:["content"],GooglepubsubMessageBindingElement:["content"],GooglepubsubOperationBindingElement:["content"],GooglepubsubServerBindingElement:["content"],HttpChannelBindingElement:["content"],HttpMessageBindingElement:["content"],HttpOperationBindingElement:["content"],HttpServerBindingElement:["content"],IbmmqChannelBindingElement:["content"],IbmmqMessageBindingElement:["content"],IbmmqChannelOperationElement:["content"],IbmmqServerBindingElement:["content"],JmsChannelBindingElement:["content"],JmsMessageBindingElement:["content"],JmsOperationBindingElement:["content"],JmsServerBindingElement:["content"],KafkaChannelBindingElement:["content"],KafkaMessageBindingElement:["content"],KafkaOperationBindingElement:["content"],KafkaServerBindingElement:["content"],MercureChannelBindingElement:["content"],MercureMessageBindingElement:["content"],MercureOperationBindingElement:["content"],MercureServerBindingElement:["content"],MqttChannelBindingElement:["content"],MqttMessageBindingElement:["content"],MqttOperationBindingElement:["content"],MqttServerBindingElement:["content"],Mqtt5ChannelBindingElement:["content"],Mqtt5MessageBindingElement:["content"],Mqtt5OperationBindingElement:["content"],Mqtt5ServerBindingElement:["content"],NatsChannelBindingElement:["content"],NatsMessageBindingElement:["content"],NatsOperationBindingElement:["content"],NatsServerBindingElement:["content"],PulsarChannelBindingElement:["content"],PulsarMessageBindingElement:["content"],PulsarOperationBindingElement:["content"],PulsarServerBindingElement:["content"],RedisChannelBindingElement:["content"],RedisMessageBindingElement:["content"],RedisOperationBindingElement:["content"],RedisServerBindingElement:["content"],SnsChannelBindingElement:["content"],SnsMessageBindingElement:["content"],SnsOperationBindingElement:["content"],SnsServerBindingElement:["content"],SolaceChannelBindingElement:["content"],SolaceMessageBindingElement:["content"],SolaceOperationBindingElement:["content"],SolaceServerBindingElement:["content"],SqsChannelBindingElement:["content"],SqsMessageBindingElement:["content"],SqsOperationBindingElement:["content"],SqsServerBindingElement:["content"],StompChannelBindingElement:["content"],StompMessageBindingElement:["content"],StompOperationBindingElement:["content"],StompServerBindingElement:["content"],WebSocketChannelBindingElement:["content"],WebSocketMessageBindingElement:["content"],WebSocketOperationBindingElement:["content"],WebSocketServerBindingElement:["content"],...xi},sM={namespace:e=>{const{base:t}=e;return t.register("asyncApi3",Bv),t.register("asyncApiVersion",$v),t.register("channel",Jv),t.register("channelBindings",Nv),t.register("channels",Yv),t.register("components",ey),t.register("contact",ty),t.register("correlationID",hx),t.register("defaultContentType",fx),t.register("externalDocumentation",xx),t.register("identifier",sy),t.register("info",ny),t.register("license",iy),t.register("message",Iv),t.register("messageBindings",Px),t.register("messageExample",Rx),t.register("messages",iE),t.register("messageTrait",Zx),t.register("multiFormatSchema",Xv),t.register("oAuthFlow",dE),t.register("oAuthFlows",hE),t.register("operation",oy),t.register("operationBindings",fE),t.register("operationReply",DE),t.register("operationReplyAddress",AE),t.register("operations",sw),t.register("operationTrait",JE),t.register("parameter",ly),t.register("parameters",ay),t.register("reference",uy),t.register("schema",dy),t.register("securityScheme",vw),t.register("server",my),t.register("serverBindings",hy),t.register("servers",py),t.register("serverVariable",gy),t.register("tag",Tw),t.register("tags",Iw),t.register("amqpChannelBinding",Vw),t.register("amqpMessageBinding",Uw),t.register("amqpOperationBinding",Gw),t.register("amqpServerBinding",Zw),t.register("amqp1ChannelBinding",Qw),t.register("amqp1MessageBinding",tS),t.register("amqp1OperationBinding",iS),t.register("amqp1ServerBinding",aS),t.register("anypointmqChannelBinding",uS),t.register("anypointmqMessageBinding",pS),t.register("anypointmqOperationBinding",_S),t.register("anypointmqServerBinding",vS),t.register("googlepubsubChannelBinding",FS),t.register("googlepubsubMessageBinding",RS),t.register("googlepubsubOperationBinding",VS),t.register("googlepubsubServerBinding",US),t.register("httpChannelBinding",ES),t.register("httpMessageBinding",jS),t.register("httpOperationBinding",MS),t.register("httpServerBinding",AS),t.register("ibmmqChannelBinding",GS),t.register("ibmmqMessageBinding",ZS),t.register("ibmmqOperationBinding",QS),t.register("ibmmqServerBinding",tj),t.register("jmsChannelBinding",ij),t.register("jmsMessageBinding",aj),t.register("jmsOperationBinding",uj),t.register("jmsServerBinding",pj),t.register("kafkaChannelBinding",_j),t.register("kafkaMessageBinding",vj),t.register("kafkaOperationBinding",Ej),t.register("kafkaServerBinding",jj),t.register("mercureChannelBinding",Mj),t.register("mercureMessageBinding",Aj),t.register("mercureOperationBinding",Fj),t.register("mercureServerBinding",Rj),t.register("mqttChannelBinding",Vj),t.register("mqttMessageBinding",Uj),t.register("mqttOperationBinding",Gj),t.register("mqttServerBinding",Zj),t.register("mqtt5ChannelBinding",Qj),t.register("mqtt5MessageBinding",tB),t.register("mqtt5OperationBinding",iB),t.register("mqtt5ServerBinding",aB),t.register("natsChannelBinding",uB),t.register("natsMessageBinding",pB),t.register("natsOperationBinding",_B),t.register("natsServerBinding",vB),t.register("pulsarChannelBinding",EB),t.register("pulsarMessageBinding",jB),t.register("pulsarOperationBinding",MB),t.register("pulsarServerBinding",AB),t.register("redisChannelBinding",FB),t.register("redisMessageBinding",RB),t.register("redisOperationBinding",VB),t.register("redisServerBinding",UB),t.register("snsChannelBinding",GB),t.register("snsMessageBinding",ZB),t.register("snsOperationBinding",QB),t.register("snsServerBinding",tO),t.register("solaceChannelBinding",iO),t.register("solaceMessageBinding",aO),t.register("solaceOperationBinding",uO),t.register("solaceServerBinding",pO),t.register("sqsChannelBinding",_O),t.register("sqsMessageBinding",vO),t.register("sqsOperationBinding",EO),t.register("sqsServerBinding",jO),t.register("stompChannelBinding",MO),t.register("stompMessageBinding",AO),t.register("stompOperationBinding",FO),t.register("stompServerBinding",RO),t.register("webSocketChannelBinding",VO),t.register("webSocketMessageBinding",UO),t.register("webSocketOperationBinding",GO),t.register("webSocketServerBinding",ZO),t}},nM=()=>{const e=at(sM);return{predicates:{...r,isStringElement:Zn},namespace:e}},iM=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:s=[]}={})=>{const n=(0,oe.e)(e),i=An(XO),r=new(Pn(t,i))({specObj:i});return Ei(n,r),Ri(r.element,s,{toolboxCreator:nM,visitorOptions:{keyMap:tM,nodeTypeGetter:eM}})},rM=e=>(t,s={})=>iM(t,{...s,specPath:e});Bv.refract=rM(["visitors","document","objects","AsyncApi","$visitor"]),$v.refract=rM(["visitors","document","objects","AsyncApiVersion","$visitor"]),Nv.refract=rM(["visitors","document","objects","ChannelBindings","$visitor"]),Jv.refract=rM(["visitors","document","objects","Channel","$visitor"]),Yv.refract=rM(["visitors","document","objects","Channels","$visitor"]),ey.refract=rM(["visitors","document","objects","Components","$visitor"]),ty.refract=rM(["visitors","document","objects","Contact","$visitor"]),hx.refract=rM(["visitors","document","objects","CorrelationID","$visitor"]),fx.refract=rM(["visitors","document","objects","DefaultContentType","$visitor"]),xx.refract=rM(["visitors","document","objects","ExternalDocumentation","$visitor"]),sy.refract=rM(["visitors","document","objects","Identifier","$visitor"]),ny.refract=rM(["visitors","document","objects","Info","$visitor"]),iy.refract=rM(["visitors","document","objects","License","$visitor"]),Iv.refract=rM(["visitors","document","objects","Message","$visitor"]),Px.refract=rM(["visitors","document","objects","MessageBindings","$visitor"]),Rx.refract=rM(["visitors","document","objects","MessageExample","$visitor"]),Zx.refract=rM(["visitors","document","objects","MessageTrait","$visitor"]),iE.refract=rM(["visitors","document","objects","Messages","$visitor"]),Xv.refract=rM(["visitors","document","objects","MultiFormatSchema","$visitor"]),dE.refract=rM(["visitors","document","objects","OAuthFlow","$visitor"]),hE.refract=rM(["visitors","document","objects","OAuthFlows","$visitor"]),oy.refract=rM(["visitors","document","objects","Operation","$visitor"]),fE.refract=rM(["visitors","document","objects","OperationBindings","$visitor"]),DE.refract=rM(["visitors","document","objects","OperationReply","$visitor"]),AE.refract=rM(["visitors","document","objects","OperationReplyAddress","$visitor"]),JE.refract=rM(["visitors","document","objects","OperationTrait","$visitor"]),sw.refract=rM(["visitors","document","objects","Operations","$visitor"]),ly.refract=rM(["visitors","document","objects","Parameter","$visitor"]),ay.refract=rM(["visitors","document","objects","Parameters","$visitor"]),uy.refract=rM(["visitors","document","objects","Reference","$visitor"]),dy.refract=rM(["visitors","document","objects","Schema","$visitor"]),vw.refract=rM(["visitors","document","objects","SecurityScheme","$visitor"]),my.refract=rM(["visitors","document","objects","Server","$visitor"]),hy.refract=rM(["visitors","document","objects","ServerBindings","$visitor"]),py.refract=rM(["visitors","document","objects","Servers","$visitor"]),gy.refract=rM(["visitors","document","objects","ServerVariable","$visitor"]),Tw.refract=rM(["visitors","document","objects","Tag","$visitor"]),Iw.refract=rM(["visitors","document","objects","Tags","$visitor"]),Vw.refract=rM(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),Uw.refract=rM(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),Gw.refract=rM(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Zw.refract=rM(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Qw.refract=rM(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),tS.refract=rM(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),iS.refract=rM(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),aS.refract=rM(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),ES.refract=rM(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),jS.refract=rM(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),MS.refract=rM(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),AS.refract=rM(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),FS.refract=rM(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),RS.refract=rM(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),VS.refract=rM(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),US.refract=rM(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),GS.refract=rM(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),ZS.refract=rM(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),QS.refract=rM(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),tj.refract=rM(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),ij.refract=rM(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),aj.refract=rM(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),uj.refract=rM(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),pj.refract=rM(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),_j.refract=rM(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),vj.refract=rM(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),Ej.refract=rM(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),jj.refract=rM(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),uS.refract=rM(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),pS.refract=rM(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),_S.refract=rM(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),vS.refract=rM(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),Mj.refract=rM(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),Aj.refract=rM(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),Fj.refract=rM(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),Rj.refract=rM(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Vj.refract=rM(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),Uj.refract=rM(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),Gj.refract=rM(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),Zj.refract=rM(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),Qj.refract=rM(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),tB.refract=rM(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),iB.refract=rM(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),aB.refract=rM(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),uB.refract=rM(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),pB.refract=rM(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),_B.refract=rM(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),vB.refract=rM(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),EB.refract=rM(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),jB.refract=rM(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),MB.refract=rM(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),AB.refract=rM(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),FB.refract=rM(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),RB.refract=rM(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),VB.refract=rM(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),UB.refract=rM(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),GB.refract=rM(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),ZB.refract=rM(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),QB.refract=rM(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),tO.refract=rM(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),iO.refract=rM(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),aO.refract=rM(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),uO.refract=rM(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),pO.refract=rM(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),_O.refract=rM(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),vO.refract=rM(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),EO.refract=rM(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),jO.refract=rM(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),MO.refract=rM(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),AO.refract=rM(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),FO.refract=rM(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),RO.refract=rM(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),VO.refract=rM(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),UO.refract=rM(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),GO.refract=rM(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),ZO.refract=rM(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const oM=new aE(...cE.filterByFormat("generic"),...cE.filterByFormat("yaml")),aM=/(?<YAML>^(["']?)asyncapi\2\s*:\s*(["']?)(?<version_yaml>3\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?<JSON>"asyncapi"\s*:\s*"(?<version_json>3\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))")/m,cM=async e=>aM.test(e)&&await(async e=>{try{return!(await yt(e)).rootNode.isError}catch{return!1}})(e),lM=async(e,t={})=>{const s=g({},"refractorOpts",t),n=f(["refractorOpts"],t),i=await(async(e,{sourceMap:t=!1}={})=>{const s=await yt(e);return Gi(s,{sourceMap:t})})(e,n),{result:r}=i;if(re(r)){const e=Bv.refract(r,s);e.classes.push("result"),i.replaceResult(e)}return i},uM=at(sM)})(),__webpack_exports__})()));
|