@swagger-api/apidom-parser-adapter-asyncapi-json-2 1.0.0-alpha.9 → 1.0.0-beta.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.apidomParserAdapterAsyncApiJson2=t():e.apidomParserAdapterAsyncApiJson2=t()}(self,(()=>(()=>{var e={3103:(e,t,s)=>{var n=s(4715)(s(8942),"DataView");e.exports=n},5098:(e,t,s)=>{var n=s(3305),r=s(9361),i=s(1112),o=s(5276),c=s(5071);function a(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])}}a.prototype.clear=n,a.prototype.delete=r,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},1386:(e,t,s)=>{var n=s(2393),r=s(2049),i=s(7144),o=s(7452),c=s(3964);function a(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])}}a.prototype.clear=n,a.prototype.delete=r,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},9770:(e,t,s)=>{var n=s(4715)(s(8942),"Map");e.exports=n},8250:(e,t,s)=>{var n=s(9753),r=s(5681),i=s(88),o=s(4732),c=s(9068);function a(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])}}a.prototype.clear=n,a.prototype.delete=r,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},9413:(e,t,s)=>{var n=s(4715)(s(8942),"Promise");e.exports=n},4512:(e,t,s)=>{var n=s(4715)(s(8942),"Set");e.exports=n},3212:(e,t,s)=>{var n=s(8250),r=s(1877),i=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=r,o.prototype.has=i,e.exports=o},1340:(e,t,s)=>{var n=s(1386),r=s(4103),i=s(1779),o=s(4162),c=s(7462),a=s(6638);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=c,u.prototype.set=a,e.exports=u},5650:(e,t,s)=>{var n=s(8942).Symbol;e.exports=n},1623:(e,t,s)=>{var n=s(8942).Uint8Array;e.exports=n},9270:(e,t,s)=>{var n=s(4715)(s(8942),"WeakMap");e.exports=n},9847:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,r=0,i=[];++s<n;){var o=e[s];t(o,s,e)&&(i[r++]=o)}return i}},358:(e,t,s)=>{var n=s(6137),r=s(3283),i=s(3142),o=s(5853),c=s(9632),a=s(8666),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var s=i(e),l=!s&&r(e),h=!s&&!l&&o(e),p=!s&&!l&&!h&&a(e),d=s||l||h||p,m=d?n(e.length,String):[],g=m.length;for(var f in e)!t&&!u.call(e,f)||d&&("length"==f||h&&("offset"==f||"parent"==f)||p&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||c(f,g))||m.push(f);return m}},1129:e=>{e.exports=function(e,t){for(var s=-1,n=t.length,r=e.length;++s<n;)e[r+s]=t[s];return e}},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}},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}},8244:(e,t,s)=>{var n=s(1129),r=s(3142);e.exports=function(e,t,s){var i=t(e);return r(e)?i:n(i,s(e))}},7379:(e,t,s)=>{var n=s(5650),r=s(8870),i=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)?r(e):i(e)}},6027:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},4687:(e,t,s)=>{var n=s(353),r=s(547);e.exports=function e(t,s,i,o,c){return t===s||(null==t||null==s||!r(t)&&!r(s)?t!=t&&s!=s:n(t,s,i,o,e,c))}},353:(e,t,s)=>{var n=s(1340),r=s(3934),i=s(8861),o=s(1182),c=s(8486),a=s(3142),u=s(5853),l=s(8666),h="[object Arguments]",p="[object Array]",d="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,g,f,b){var v=a(e),y=a(t),_=v?p:c(e),S=y?p:c(t),w=(_=_==h?d:_)==d,E=(S=S==h?d:S)==d,x=_==S;if(x&&u(e)){if(!u(t))return!1;v=!0,w=!1}if(x&&!w)return b||(b=new n),v||l(e)?r(e,t,s,g,f,b):i(e,t,_,s,g,f,b);if(!(1&s)){var j=w&&m.call(e,"__wrapped__"),O=E&&m.call(t,"__wrapped__");if(j||O){var B=j?e.value():e,$=O?t.value():t;return b||(b=new n),f(B,$,s,g,b)}}return!!x&&(b||(b=new n),o(e,t,s,g,f,b))}},9624:(e,t,s)=>{var n=s(3655),r=s(4759),i=s(1580),o=s(4066),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,h=u.hasOwnProperty,p=RegExp("^"+l.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(n(e)?p:c).test(o(e))}},674:(e,t,s)=>{var n=s(7379),r=s(5387),i=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 i(e)&&r(e.length)&&!!o[n(e)]}},195:(e,t,s)=>{var n=s(4882),r=s(8121),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var s in Object(e))i.call(e,s)&&"constructor"!=s&&t.push(s);return t}},6137:e=>{e.exports=function(e,t){for(var s=-1,n=Array(e);++s<e;)n[s]=t(s);return n}},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},5568:e=>{e.exports=function(e,t){return e.has(t)}},1950:(e,t,s)=>{var n=s(8942)["__core-js_shared__"];e.exports=n},3934:(e,t,s)=>{var n=s(3212),r=s(6465),i=s(5568);e.exports=function(e,t,s,o,c,a){var u=1&s,l=e.length,h=t.length;if(l!=h&&!(u&&h>l))return!1;var p=a.get(e),d=a.get(t);if(p&&d)return p==t&&d==e;var m=-1,g=!0,f=2&s?new n:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var b=e[m],v=t[m];if(o)var y=u?o(v,b,m,t,e,a):o(b,v,m,e,t,a);if(void 0!==y){if(y)continue;g=!1;break}if(f){if(!r(t,(function(e,t){if(!i(f,t)&&(b===e||c(b,e,s,o,a)))return f.push(t)}))){g=!1;break}}else if(b!==v&&!c(b,v,s,o,a)){g=!1;break}}return a.delete(e),a.delete(t),g}},8861:(e,t,s)=>{var n=s(5650),r=s(1623),i=s(6285),o=s(3934),c=s(5894),a=s(7447),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,s,n,u,h,p){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||!h(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=c;case"[object Set]":var m=1&n;if(d||(d=a),e.size!=t.size&&!m)return!1;var g=p.get(e);if(g)return g==t;n|=2,p.set(e,t);var f=o(d(e),d(t),n,u,h,p);return p.delete(e),f;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1182:(e,t,s)=>{var n=s(393),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,i,o,c){var a=1&s,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var h=l;h--;){var p=u[h];if(!(a?p in t:r.call(t,p)))return!1}var d=c.get(e),m=c.get(t);if(d&&m)return d==t&&m==e;var g=!0;c.set(e,t),c.set(t,e);for(var f=a;++h<l;){var b=e[p=u[h]],v=t[p];if(i)var y=a?i(v,b,p,t,e,c):i(b,v,p,e,t,c);if(!(void 0===y?b===v||o(b,v,s,i,c):y)){g=!1;break}f||(f="constructor"==p)}if(g&&!f){var _=e.constructor,S=t.constructor;_==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof S&&S instanceof S||(g=!1)}return c.delete(e),c.delete(t),g}},4967:(e,t,s)=>{var n="object"==typeof s.g&&s.g&&s.g.Object===Object&&s.g;e.exports=n},393:(e,t,s)=>{var n=s(8244),r=s(7979),i=s(1211);e.exports=function(e){return n(e,i,r)}},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}},4715:(e,t,s)=>{var n=s(9624),r=s(155);e.exports=function(e,t){var s=r(e,t);return n(s)?s:void 0}},8870:(e,t,s)=>{var n=s(5650),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),s=e[c];try{e[c]=void 0;var n=!0}catch(e){}var r=o.call(e);return n&&(t?e[c]=s:delete e[c]),r}},7979:(e,t,s)=>{var n=s(9847),r=s(9306),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=c},8486:(e,t,s)=>{var n=s(3103),r=s(9770),i=s(9413),o=s(4512),c=s(9270),a=s(7379),u=s(4066),l="[object Map]",h="[object Promise]",p="[object Set]",d="[object WeakMap]",m="[object DataView]",g=u(n),f=u(r),b=u(i),v=u(o),y=u(c),_=a;(n&&_(new n(new ArrayBuffer(1)))!=m||r&&_(new r)!=l||i&&_(i.resolve())!=h||o&&_(new o)!=p||c&&_(new c)!=d)&&(_=function(e){var t=a(e),s="[object Object]"==t?e.constructor:void 0,n=s?u(s):"";if(n)switch(n){case g:return m;case f:return l;case b:return h;case v:return p;case y:return d}return t}),e.exports=_},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3305:(e,t,s)=>{var n=s(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:(e,t,s)=>{var n=s(4497),r=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 r.call(t,e)?t[e]:void 0}},5276:(e,t,s)=>{var n=s(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},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}},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}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:(e,t,s)=>{var n,r=s(1950),i=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},4882:e=>{var t=Object.prototype;e.exports=function(e){var s=e&&e.constructor;return e===("function"==typeof s&&s.prototype||t)}},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2049:(e,t,s)=>{var n=s(7034),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,s=n(t,e);return!(s<0)&&(s==t.length-1?t.pop():r.call(t,s,1),--this.size,!0)}},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]}},7452:(e,t,s)=>{var n=s(7034);e.exports=function(e){return n(this.__data__,e)>-1}},3964:(e,t,s)=>{var n=s(7034);e.exports=function(e,t){var s=this.__data__,r=n(s,e);return r<0?(++this.size,s.push([e,t])):s[r][1]=t,this}},9753:(e,t,s)=>{var n=s(5098),r=s(1386),i=s(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new 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}},88:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).get(e)}},4732:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).has(e)}},9068:(e,t,s)=>{var n=s(4700);e.exports=function(e,t){var s=n(this,e),r=s.size;return s.set(e,t),this.size+=s.size==r?0:1,this}},5894:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e,n){s[++t]=[n,e]})),s}},4497:(e,t,s)=>{var n=s(4715)(Object,"create");e.exports=n},8121:(e,t,s)=>{var n=s(3766)(Object.keys,Object);e.exports=n},2306:(e,t,s)=>{e=s.nmd(e);var n=s(4967),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766:e=>{e.exports=function(e,t){return function(s){return e(t(s))}}},8942:(e,t,s)=>{var n=s(4967),r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();e.exports=i},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},7447:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e){s[++t]=e})),s}},4103:(e,t,s)=>{var n=s(1386);e.exports=function(){this.__data__=new n,this.size=0}},1779:e=>{e.exports=function(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},6638:(e,t,s)=>{var n=s(1386),r=s(9770),i=s(8250);e.exports=function(e,t){var s=this.__data__;if(s instanceof n){var o=s.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new i(o)}return s.set(e,t),this.size=s.size,this}},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""}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3283:(e,t,s)=>{var n=s(6027),r=s(547),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return r(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},3142:e=>{var t=Array.isArray;e.exports=t},6529:(e,t,s)=>{var n=s(3655),r=s(5387);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},2563:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==n(e)}},5853:(e,t,s)=>{e=s.nmd(e);var n=s(8942),r=s(4772),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||r;e.exports=a},6343:(e,t,s)=>{var n=s(4687);e.exports=function(e,t){return n(e,t)}},3655:(e,t,s)=>{var n=s(7379),r=s(1580);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9310:e=>{e.exports=function(e){return null===e}},986:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==n(e)}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8138:(e,t,s)=>{var n=s(7379),r=s(3142),i=s(547);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==n(e)}},8666:(e,t,s)=>{var n=s(674),r=s(9460),i=s(2306),o=i&&i.isTypedArray,c=o?r(o):n;e.exports=c},1211:(e,t,s)=>{var n=s(358),r=s(195),i=s(6529);e.exports=function(e){return i(e)?n(e):r(e)}},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)}}},9306:e=>{e.exports=function(){return[]}},4772:e=>{e.exports=function(){return!1}},4123:(e,t,s)=>{const n=s(1517);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},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},5735:(e,t,s)=>{const n=s(9310),r=s(8138),i=s(986),o=s(2563),c=s(1580),a=s(394),u=s(7547);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(r,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(c,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,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],r=this.elementDetection[s][1];if(n(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new a(this)}}a.prototype.Namespace=l,e.exports=l},3311:(e,t,s)=>{const n=s(1517),r=s(4123);class i extends r{map(e,t){return this.elements.map((s=>e.bind(t)(s.value,s.key,s)))}filter(e,t){return new i(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=i},7547:(e,t,s)=>{const n=s(8631),r=s(3004),i=s(8712),o=s(2536),c=s(2555),a=s(9796),u=s(7309),l=s(5642),h=s(9620),p=s(593),d=s(4123),m=s(3311),g=s(2322);function f(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new r;if(Array.isArray(e))return new a(e.map(f));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=f,d.prototype.refract=f,e.exports={Element:n,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:h,RefElement:p,refract:f,ArraySlice:d,ObjectSlice:m,KeyValuePair:g}},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)}}},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)}}},8326:(e,t,s)=>{const n=s(5735),r=s(7547);t.g$=n,t.KeyValuePair=s(2322),t.G6=r.ArraySlice,t.ot=r.ObjectSlice,t.Hg=r.Element,t.Om=r.StringElement,t.kT=r.NumberElement,t.bd=r.BooleanElement,t.Os=r.NullElement,t.wE=r.ArrayElement,t.Sh=r.ObjectElement,t.Pr=r.MemberElement,t.sI=r.RefElement,t.Ft=r.LinkElement,t.e=r.refract,s(394),s(3148)},9796:(e,t,s)=>{const n=s(1517),r=s(8631),i=s(4123);class o extends r{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 r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return new i(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,r=void 0===s.results?[]:s.results;return this.forEach(((t,s,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:n}),e(t,s,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},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"}}},8631:(e,t,s)=>{const n=s(6343),r=s(2322),i=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 r?{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 i;const n=(e,t)=>(e.push(t),e),o=(e,s)=>{s.element===t&&e.push(s);const i=s.findRecursive(t);return i&&i.reduce(n,e),s.content instanceof r&&(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],r=s.indexOf(n);if(-1===r)return!1;s=s.splice(0,r)}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 i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},7309:(e,t,s)=>{const n=s(2322),r=s(8631);e.exports=class extends r{constructor(e,t,s,r){super(new n,s,r),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)}}},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")}}},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"}}},5642:(e,t,s)=>{const n=s(1517),r=s(1580),i=s(9796),o=s(7309),c=s(3311);e.exports=class extends i{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(r(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,r,i)=>{const o=e.bind(t)(n,r,i);o&&s.push(o)})),s}filter(e,t){return new c(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)))}}},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}}},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 r=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]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==s.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),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 r=new t(n);r.element=s.element,e.push(r)}))}));const r=e.shift();s.content=r?r.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]))}))}}},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]))}))}}},3833:(e,t,s)=>{var n=void 0!==n?n:{},r=function(){var t,r="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(n=Object.assign({},n,o),t=new Promise((t=>{var o,c={};for(o in n)n.hasOwnProperty(o)&&(c[o]=n[o]);var a,u,l,h,p=[],d="./this.program",m=function(e,t){throw t};l="object"==typeof window,h="function"==typeof importScripts,a="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!a&&!h;var g,f,b,v,y,_="";a?(_=h?s(4142).dirname(_)+"/":"//",g=function(e,t){return v||(v=s(3078)),y||(y=s(4142)),e=y.normalize(e),v.readFileSync(e,t?null:"utf8")},b=function(e){var t=g(e,!0);return t.buffer||(t=new Uint8Array(t)),k(t.buffer),t},process.argv.length>1&&(d=process.argv[1].replace(/\\/g,"/")),p=process.argv.slice(2),e.exports=n,m=function(e){process.exit(e)},n.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(g=function(e){return read(e)}),b=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(k("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?p=scriptArgs:void 0!==arguments&&(p=arguments),"function"==typeof quit&&(m=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||h)&&(h?_=self.location.href:void 0!==r&&r.currentScript&&(_=r.currentScript.src),_=0!==_.indexOf("blob:")?_.substr(0,_.lastIndexOf("/")+1):"",g=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},h&&(b=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=function(e,t,s){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):s()},n.onerror=s,n.send(null)}),n.print||console.log.bind(console);var S=n.printErr||console.warn.bind(console);for(o in c)c.hasOwnProperty(o)&&(n[o]=c[o]);c=null,n.arguments&&(p=n.arguments),n.thisProgram&&(d=n.thisProgram),n.quit&&(m=n.quit);var w,E=16,x=[];function j(e,t){if(!w){w=new WeakMap;for(var s=0;s<Z.length;s++){var n=Z.get(s);n&&w.set(n,s)}}if(w.has(e))return w.get(e);var r=function(){if(x.length)return x.pop();try{Z.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Z.length-1}();try{Z.set(r,e)}catch(s){if(!(s instanceof TypeError))throw s;var i=function(e,t){if("function"==typeof WebAssembly.Function){for(var s={i:"i32",j:"i64",f:"f32",d:"f64"},n={parameters:[],results:"v"==t[0]?[]:[s[t[0]]]},r=1;r<t.length;++r)n.parameters.push(s[t[r]]);return new WebAssembly.Function(n,e)}var i=[1,0,1,96],o=t.slice(0,1),c=t.slice(1),a={i:127,j:126,f:125,d:124};for(i.push(c.length),r=0;r<c.length;++r)i.push(a[c[r]]);"v"==o?i.push(0):i=i.concat([1,a[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:e}}).exports.f}(e,t);Z.set(r,i)}return w.set(e,r),r}var O,B=n.dynamicLibraries||[];n.wasmBinary&&(O=n.wasmBinary);var $,P=n.noExitRuntime||!0;function M(e,t,s,n){switch("*"===(s=s||"i8").charAt(s.length-1)&&(s="i32"),s){case"i1":case"i8":I[e>>0]=t;break;case"i16":T[e>>1]=t;break;case"i32":R[e>>2]=t;break;case"i64":le=[t>>>0,(ue=t,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],R[e>>2]=le[0],R[e+4>>2]=le[1];break;case"float":F[e>>2]=t;break;case"double":V[e>>3]=t;break;default:ce("invalid type for setValue: "+s)}}function A(e,t,s){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return I[e>>0];case"i16":return T[e>>1];case"i32":case"i64":return R[e>>2];case"float":return F[e>>2];case"double":return V[e>>3];default:ce("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ce("no native wasm support detected");var q=!1;function k(e,t){e||ce("Assertion failed: "+t)}var C,I,N,T,R,F,V,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function L(e,t,s){for(var n=t+s,r=t;e[r]&&!(r>=n);)++r;if(r-t>16&&e.subarray&&D)return D.decode(e.subarray(t,r));for(var i="";t<r;){var o=e[t++];if(128&o){var c=63&e[t++];if(192!=(224&o)){var a=63&e[t++];if((o=224==(240&o)?(15&o)<<12|c<<6|a:(7&o)<<18|c<<12|a<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|c)}else i+=String.fromCharCode(o)}return i}function J(e,t){return e?L(N,e,t):""}function U(e,t,s,n){if(!(n>0))return 0;for(var r=s,i=s+n-1,o=0;o<e.length;++o){var c=e.charCodeAt(o);if(c>=55296&&c<=57343&&(c=65536+((1023&c)<<10)|1023&e.charCodeAt(++o)),c<=127){if(s>=i)break;t[s++]=c}else if(c<=2047){if(s+1>=i)break;t[s++]=192|c>>6,t[s++]=128|63&c}else if(c<=65535){if(s+2>=i)break;t[s++]=224|c>>12,t[s++]=128|c>>6&63,t[s++]=128|63&c}else{if(s+3>=i)break;t[s++]=240|c>>18,t[s++]=128|c>>12&63,t[s++]=128|c>>6&63,t[s++]=128|63&c}}return t[s]=0,s-r}function z(e,t,s){return U(e,N,t,s)}function W(e){for(var t=0,s=0;s<e.length;++s){var n=e.charCodeAt(s);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++s)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function G(e){var t=W(e)+1,s=Je(t);return U(e,I,s,t),s}function H(e){C=e,n.HEAP8=I=new Int8Array(e),n.HEAP16=T=new Int16Array(e),n.HEAP32=R=new Int32Array(e),n.HEAPU8=N=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=F=new Float32Array(e),n.HEAPF64=V=new Float64Array(e)}var K=n.INITIAL_MEMORY||33554432;($=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:K/65536,maximum:32768}))&&(C=$.buffer),K=C.byteLength,H(C);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),X=[],Q=[],Y=[],ee=[],te=!1,se=0,ne=null,re=null;function ie(e){se++,n.monitorRunDependencies&&n.monitorRunDependencies(se)}function oe(e){if(se--,n.monitorRunDependencies&&n.monitorRunDependencies(se),0==se&&(null!==ne&&(clearInterval(ne),ne=null),re)){var t=re;re=null,t()}}function ce(e){throw n.onAbort&&n.onAbort(e),S(e+=""),q=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ae,ue,le;function he(e){return e.startsWith("data:application/octet-stream;base64,")}function pe(e){return e.startsWith("file://")}function de(e){try{if(e==ae&&O)return new Uint8Array(O);if(b)return b(e);throw"both async and sync fetching of the wasm failed"}catch(e){ce(e)}}he(ae="tree-sitter.wasm")||(ae=function(e){return n.locateFile?n.locateFile(e,_):_+e}(ae));var me={},ge={get:function(e,t){return me[t]||(me[t]=new WebAssembly.Global({value:"i32",mutable:!0})),me[t]}};function fe(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var s=t.func;"number"==typeof s?void 0===t.arg?Z.get(s)():Z.get(s)(t.arg):s(void 0===t.arg?null:t.arg)}else t(n)}}function be(e){var t=0;function s(){for(var s=0,n=1;;){var r=e[t++];if(s+=(127&r)*n,n*=128,!(128&r))break}return s}if(e instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(e,"dylink");k(0!=n.length,"need dylink section"),e=new Int8Array(n[0])}else k(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),k(0===e[8],"need the dylink section to be first"),t=9,s(),k(6===e[t]),k(e[++t]==="d".charCodeAt(0)),k(e[++t]==="y".charCodeAt(0)),k(e[++t]==="l".charCodeAt(0)),k(e[++t]==="i".charCodeAt(0)),k(e[++t]==="n".charCodeAt(0)),k(e[++t]==="k".charCodeAt(0)),t++;var r={};r.memorySize=s(),r.memoryAlign=s(),r.tableSize=s(),r.tableAlign=s();var i=s();r.neededDynlibs=[];for(var o=0;o<i;++o){var c=s(),a=e.subarray(t,t+c);t+=c;var u=L(a,0);r.neededDynlibs.push(u)}return r}var ve=0;function ye(){return P||ve>0}function _e(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function Se(e,t){for(var s in e)if(e.hasOwnProperty(s)){Re.hasOwnProperty(s)||(Re[s]=e[s]);var r=_e(s);n.hasOwnProperty(r)||(n[r]=e[s])}}var we={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var Ee=5250880;function xe(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function je(e,t){var s={};for(var n in e){var r=e[n];"object"==typeof r&&(r=r.value),"number"==typeof r&&(r+=t),s[n]=r}return function(e){for(var t in e)if(!xe(t)){var s=!1,n=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],s=!0),me[t]||(me[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(s||0==me[t].value)&&("function"==typeof n?me[t].value=j(n):"number"==typeof n?me[t].value=n:S("unhandled export type for `"+t+"`: "+typeof n))}}(s),s}function Oe(e,t){var s,r;return t&&(s=Re["orig$"+e]),s||(s=Re[e]),s||(s=n[_e(e)]),!s&&e.startsWith("invoke_")&&(r=e.split("_")[1],s=function(){var e=De();try{return function(e,t,s){return e.includes("j")?function(e,t,s){var r=n["dynCall_"+e];return s&&s.length?r.apply(null,[t].concat(s)):r.call(null,t)}(e,t,s):Z.get(t).apply(null,s)}(r,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Le(e),t!==t+0&&"longjmp"!==t)throw t;Ue(1,0)}}),s}function Be(e,t){var s=be(e);function n(){var n=Math.pow(2,s.memoryAlign);n=Math.max(n,E);var r,i,o,c=(r=function(e){if(te)return Fe(e);var t=Ee,s=t+e+15&-16;return Ee=s,me.__heap_base.value=s,t}(s.memorySize+n),(i=n)||(i=E),Math.ceil(r/i)*i),a=Z.length;Z.grow(s.tableSize);for(var u=c;u<c+s.memorySize;u++)I[u]=0;for(u=a;u<a+s.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return c;case"__table_base":return a}return t in Re?Re[t]:(t in e||(e[t]=function(){return s||(s=function(e){var t=Oe(e,!1);return t||(t=o[e]),t}(t)),s.apply(null,arguments)}),e[t]);var s}}),h={"GOT.mem":new Proxy({},ge),"GOT.func":new Proxy({},ge),env:l,wasi_snapshot_preview1:l};function p(e){for(var n=0;n<s.tableSize;n++){var r=Z.get(a+n);r&&w.set(r,a+n)}o=je(e.exports,c),t.allowUndefined||Pe();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(te?i():Q.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var d=new WebAssembly.Instance(e,h);return Promise.resolve(p(d))}return WebAssembly.instantiate(e,h).then((function(e){return p(e.instance)}))}var m=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return p(d=new WebAssembly.Instance(m,h))}return t.loadAsync?s.neededDynlibs.reduce((function(e,s){return e.then((function(){return $e(s,t)}))}),Promise.resolve()).then((function(){return n()})):(s.neededDynlibs.forEach((function(e){$e(e,t)})),n())}function $e(e,t){"__main__"!=e||we.loadedLibNames[e]||(we.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},we.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var s,r=we.loadedLibNames[e];if(r)return s=we.loadedLibs[r],t.global&&!s.global&&(s.global=!0,"loading"!==s.module&&Se(s.module)),t.nodelete&&s.refcount!==1/0&&(s.refcount=1/0),s.refcount++,t.loadAsync?Promise.resolve(r):r;function i(e){if(t.fs){var s=t.fs.readFile(e,{encoding:"binary"});return s instanceof Uint8Array||(s=new Uint8Array(s)),t.loadAsync?Promise.resolve(s):s}return t.loadAsync?(n=e,fetch(n,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+n+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):b(e);var n}function o(){if(void 0!==n.preloadedWasm&&void 0!==n.preloadedWasm[e]){var s=n.preloadedWasm[e];return t.loadAsync?Promise.resolve(s):s}return t.loadAsync?i(e).then((function(e){return Be(e,t)})):Be(i(e),t)}function c(e){s.global&&Se(e),s.module=e}return r=we.nextHandle++,s={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},we.loadedLibNames[e]=r,we.loadedLibs[r]=s,t.loadAsync?o().then((function(e){return c(e),r})):(c(o()),r)}function Pe(){for(var e in me)if(0==me[e].value){var t=Oe(e,!0);"function"==typeof t?me[e].value=j(t,t.sig):"number"==typeof t?me[e].value=t:k(!1,"bad export type for `"+e+"`: "+typeof t)}}n.___heap_base=Ee;var Me,Ae=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function qe(){ce()}n._abort=qe,qe.sig="v",Me=a?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function ke(e,t){var s;if(0===e)s=Date.now();else{if(1!==e&&4!==e)return 28,R[Ve()>>2]=28,-1;s=Me()}return R[t>>2]=s/1e3|0,R[t+4>>2]=s%1e3*1e3*1e3|0,0}function Ce(e){try{return $.grow(e-C.byteLength+65535>>>16),H($.buffer),1}catch(e){}}function Ie(e){He(e)}function Ne(e){}ke.sig="iii",Ie.sig="vi",Ne.sig="vi";var Te,Re={__heap_base:Ee,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Ae,__table_base:1,abort:qe,clock_gettime:ke,emscripten_memcpy_big:function(e,t,s){N.copyWithin(e,t,t+s)},emscripten_resize_heap:function(e){var t,s=N.length;if((e>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var r=s*(1+.2/n);if(r=Math.min(r,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,r))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Ie,memory:$,setTempRet0:Ne,tree_sitter_log_callback:function(e,t){if(ut){const s=J(t);ut(s,0!==e)}},tree_sitter_parse_callback:function(e,t,s,n,r){var i=at(t,{row:s,column:n});"string"==typeof i?(M(r,i.length,"i32"),function(e,t,s){if(void 0===s&&(s=2147483647),s<2)return 0;for(var n=(s-=2)<2*e.length?s/2:e.length,r=0;r<n;++r){var i=e.charCodeAt(r);T[t>>1]=i,t+=2}T[t>>1]=0}(i,e,10240)):M(r,0,"i32")}},Fe=(function(){var e={env:Re,wasi_snapshot_preview1:Re,"GOT.mem":new Proxy(Re,ge),"GOT.func":new Proxy(Re,ge)};function t(e,t){var s=e.exports;s=je(s,1024),n.asm=s;var r,i=be(t);i.neededDynlibs&&(B=i.neededDynlibs.concat(B)),Se(s),r=n.asm.__wasm_call_ctors,Q.unshift(r),oe()}function s(e){t(e.instance,e.module)}function r(t){return function(){if(!O&&(l||h)){if("function"==typeof fetch&&!pe(ae))return fetch(ae,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ae+"'";return e.arrayBuffer()})).catch((function(){return de(ae)}));if(f)return new Promise((function(e,t){f(ae,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return de(ae)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){S("failed to asynchronously prepare wasm: "+e),ce(e)}))}if(ie(),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return S("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||he(ae)||pe(ae)||"function"!=typeof fetch?r(s):fetch(ae,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(s,(function(e){return S("wasm streaming compile failed: "+e),S("falling back to ArrayBuffer instantiation"),r(s)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(Fe=n._malloc=n.asm.malloc).apply(null,arguments)}),Ve=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return(Ve=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),De=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(De=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Le=n.stackRestore=function(){return(Le=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Je=n.stackAlloc=function(){return(Je=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Ue=n._setThrew=function(){return(Ue=n._setThrew=n.asm.setThrew).apply(null,arguments)};function ze(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=n.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(e,t){var s;return s=1==t?Je(e.length):Fe(e.length),e.subarray||e.slice?N.set(e,s):N.set(new Uint8Array(e),s),s},re=function e(){Te||Ge(),Te||(re=e)};var We=!1;function Ge(e){function t(){Te||(Te=!0,n.calledRun=!0,q||(te=!0,fe(Q),fe(Y),n.onRuntimeInitialized&&n.onRuntimeInitialized(),Ke&&function(e){var t=n._main;if(t){var s=(e=e||[]).length+1,r=Je(4*(s+1));R[r>>2]=G(d);for(var i=1;i<s;i++)R[(r>>2)+i]=G(e[i-1]);R[(r>>2)+s]=0;try{He(t(s,r),!0)}catch(e){if(e instanceof ze)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),S("exception thrown: "+o),m(1,e)}}}(e),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)e=n.postRun.shift(),ee.unshift(e);var e;fe(ee)}()))}e=e||p,se>0||!We&&(function(){if(B.length){if(!b)return ie(),void B.reduce((function(e,t){return e.then((function(){return $e(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),Pe()}));B.forEach((function(e){$e(e,{global:!0,nodelete:!0,allowUndefined:!0})})),Pe()}else Pe()}(),We=!0,se>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),X.unshift(e);var e;fe(X)}(),se>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}function He(e,t){t&&ye()&&0===e||(ye()||(n.onExit&&n.onExit(e),q=!0),m(e,new ze(e)))}if(n.run=Ge,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var Ke=!0;n.noInitialRun&&(Ke=!1),Ge();const Ze=n,Xe={},Qe=4,Ye=5*Qe,et=2*Qe,tt=2*Qe+2*et,st={row:0,column:0},nt=/[\w-.]*/g,rt=/^_?tree_sitter_\w+/;var it,ot,ct,at,ut;class lt{static init(){ct=Ze._ts_init(),it=A(ct,"i32"),ot=A(ct+Qe,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=A(ct,"i32"),this[1]=A(ct+Qe,"i32")}delete(){Ze._ts_parser_delete(this[0]),Ze._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==mt)throw new Error("Argument must be a Language");{t=e[0];const s=Ze._ts_language_version(t);if(s<ot||it<s)throw new Error(`Incompatible language version ${s}. Compatibility range ${ot} through ${it}.`)}}else t=0,e=null;return this.language=e,Ze._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,s){if("string"==typeof e)at=(t,s,n)=>e.slice(t,n);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");at=e}this.logCallback?(ut=this.logCallback,Ze._ts_parser_enable_logger_wasm(this[0],1)):(ut=null,Ze._ts_parser_enable_logger_wasm(this[0],0));let n=0,r=0;if(s&&s.includedRanges){n=s.includedRanges.length;let e=r=Ze._calloc(n,tt);for(let t=0;t<n;t++)Ot(e,s.includedRanges[t]),e+=tt}const i=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,r,n);if(!i)throw at=null,ut=null,new Error("Parsing failed");const o=new ht(Xe,i,this.language,at);return at=null,ut=null,o}reset(){Ze._ts_parser_reset(this[0])}setTimeoutMicros(e){Ze._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return Ze._ts_parser_timeout_micros(this[0])}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 ht{constructor(e,t,s,n){vt(e),this[0]=t,this.language=s,this.textCallback=n}copy(){const e=Ze._ts_tree_copy(this[0]);return new ht(Xe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=ct;xt(t,e.startPosition),xt(t+=et,e.oldEndPosition),xt(t+=et,e.newEndPosition),M(t+=et,e.startIndex,"i32"),M(t+=Qe,e.oldEndIndex,"i32"),M(t+=Qe,e.newEndIndex,"i32"),t+=Qe}(e),Ze._ts_tree_edit_wasm(this[0])}get rootNode(){return Ze._ts_tree_root_node_wasm(this[0]),St(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==ht)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=A(ct,"i32"),s=A(ct+Qe,"i32"),n=new Array(t);if(t>0){let e=s;for(let s=0;s<t;s++)n[s]=Bt(e),e+=tt;Ze._free(s)}return n}}class pt{constructor(e,t){vt(e),this.tree=t}get typeId(){return _t(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return _t(this),Ze._ts_node_end_point_wasm(this.tree[0]),jt(ct)}get endIndex(){return _t(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return ft(this.tree,this.startIndex,this.endIndex)}isNamed(){return _t(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return _t(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return _t(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return _t(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return _t(this),Ze._ts_node_child_wasm(this.tree[0],e),St(this.tree)}namedChild(e){return _t(this),Ze._ts_node_named_child_wasm(this.tree[0],e),St(this.tree)}childForFieldId(e){return _t(this),Ze._ts_node_child_by_field_id_wasm(this.tree[0],e),St(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return _t(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return _t(this),Ze._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){_t(this),Ze._ts_node_children_wasm(this.tree[0]);const e=A(ct,"i32"),t=A(ct+Qe,"i32");if(this._children=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._children[t]=St(this.tree,s),s+=Ye;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){_t(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=A(ct,"i32"),t=A(ct+Qe,"i32");if(this._namedChildren=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._namedChildren[t]=St(this.tree,s),s+=Ye;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,s){Array.isArray(e)||(e=[e]),t||(t=st),s||(s=st);const n=[],r=this.tree.language.types;for(let t=0,s=r.length;t<s;t++)e.includes(r[t])&&n.push(t);const i=Ze._malloc(Qe*n.length);for(let e=0,t=n.length;e<t;e++)M(i+e*Qe,n[e],"i32");_t(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,t.row,t.column,s.row,s.column);const o=A(ct,"i32"),c=A(ct+Qe,"i32"),a=new Array(o);if(o>0){let e=c;for(let t=0;t<o;t++)a[t]=St(this.tree,e),e+=Ye}return Ze._free(c),Ze._free(i),a}get nextSibling(){return _t(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),St(this.tree)}get previousSibling(){return _t(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),St(this.tree)}get nextNamedSibling(){return _t(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),St(this.tree)}get previousNamedSibling(){return _t(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),St(this.tree)}get parent(){return _t(this),Ze._ts_node_parent_wasm(this.tree[0]),St(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");_t(this);let s=ct+Ye;return M(s,e,"i32"),M(s+Qe,t,"i32"),Ze._ts_node_descendant_for_index_wasm(this.tree[0]),St(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");_t(this);let s=ct+Ye;return M(s,e,"i32"),M(s+Qe,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),St(this.tree)}descendantForPosition(e,t=e){if(!yt(e)||!yt(t))throw new Error("Arguments must be {row, column} objects");_t(this);let s=ct+Ye;return xt(s,e),xt(s+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),St(this.tree)}namedDescendantForPosition(e,t=e){if(!yt(e)||!yt(t))throw new Error("Arguments must be {row, column} objects");_t(this);let s=ct+Ye;return xt(s,e),xt(s+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),St(this.tree)}walk(){return _t(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new dt(Xe,this.tree)}toString(){_t(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var s=N[e++>>0];if(!s)return t;t+=String.fromCharCode(s)}}(e);return Ze._free(e),t}}class dt{constructor(e,t){vt(e),this.tree=t,Et(this)}delete(){wt(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){_t(e),wt(this,ct+Ye),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),Et(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return wt(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return wt(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return wt(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return wt(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){wt(this);const e=Ze._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Ze._ts_tree_cursor_end_index_wasm(this.tree[0]);return ft(this.tree,e,t)}get startPosition(){return wt(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),jt(ct)}get endPosition(){return wt(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),jt(ct)}get startIndex(){return wt(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return wt(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return wt(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),St(this.tree)}currentFieldId(){return wt(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){wt(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Et(this),1===e}gotoNextSibling(){wt(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Et(this),1===e}gotoParent(){wt(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return Et(this),1===e}}class mt{constructor(e,t){vt(e),this[0]=t,this.types=new Array(Ze._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)Ze._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=J(Ze._ts_language_symbol_name(this[0],e)));this.fields=new Array(Ze._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=Ze._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?J(t):null}}get version(){return Ze._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}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=W(e),n=Ze._malloc(s+1);z(e,n,s+1);const r=Ze._ts_language_symbol_for_name(this[0],n,s,t);return Ze._free(n),r||null}get nodeTypeCount(){return Ze._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=Ze._ts_language_symbol_name(this[0],e);return t?J(t):null}nodeTypeIsNamed(e){return!!Ze._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!Ze._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=W(e),s=Ze._malloc(t+1);z(e,s,t+1);const n=Ze._ts_query_new(this[0],s,t,ct,ct+Qe);if(!n){const t=A(ct+Qe,"i32"),n=J(s,A(ct,"i32")).length,r=e.substr(n,100).split("\n")[0];let i,o=r.match(nt)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${n}: '${r}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${n}: '${r}'...`),o=""}throw i.index=n,i.length=o.length,Ze._free(s),i}const r=Ze._ts_query_string_count(n),i=Ze._ts_query_capture_count(n),o=Ze._ts_query_pattern_count(n),c=new Array(i),a=new Array(r);for(let e=0;e<i;e++){const t=Ze._ts_query_capture_name_for_id(n,e,ct),s=A(ct,"i32");c[e]=J(t,s)}for(let e=0;e<r;e++){const t=Ze._ts_query_string_value_for_id(n,e,ct),s=A(ct,"i32");a[e]=J(t,s)}const u=new Array(o),l=new Array(o),h=new Array(o),p=new Array(o),d=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(n,e,ct),s=A(ct,"i32");p[e]=[],d[e]=[];const r=[];let i=t;for(let t=0;t<s;t++){const t=A(i,"i32"),s=A(i+=Qe,"i32");if(i+=Qe,1===t)r.push({type:"capture",name:c[s]});else if(2===t)r.push({type:"string",value:a[s]});else if(r.length>0){if("string"!==r[0].type)throw new Error("Predicates must begin with a literal value");const t=r[0].value;let s=!0;switch(t){case"not-eq?":s=!1;case"eq?":if(3!==r.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(r.length-1));if("capture"!==r[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${r[1].value}"`);if("capture"===r[2].type){const t=r[1].name,n=r[2].name;d[e].push((function(e){let r,i;for(const s of e)s.name===t&&(r=s.node),s.name===n&&(i=s.node);return void 0===r||void 0===i||r.text===i.text===s}))}else{const t=r[1].name,n=r[2].value;d[e].push((function(e){for(const r of e)if(r.name===t)return r.node.text===n===s;return!0}))}break;case"not-match?":s=!1;case"match?":if(3!==r.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${r.length-1}.`);if("capture"!==r[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${r[1].value}".`);if("string"!==r[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${r[2].value}.`);const n=r[1].name,i=new RegExp(r[2].value);d[e].push((function(e){for(const t of e)if(t.name===n)return i.test(t.node.text)===s;return!0}));break;case"set!":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][r[1].value]=r[2]?r[2].value:null;break;case"is?":case"is-not?":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:h;o[e]||(o[e]={}),o[e][r[1].value]=r[2]?r[2].value:null;break;default:p[e].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(h[e])}return Ze._free(s),new gt(Xe,n,c,d,p,Object.freeze(u),Object.freeze(l),Object.freeze(h))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const n=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=s(3078);t=Promise.resolve(e.readFileSync(n))}else t=fetch(n).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}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:Be;return t.then((e=>n(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),s=t.find((e=>rt.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 mt(Xe,n)}))}}class gt{constructor(e,t,s,n,r,i,o,c){vt(e),this[0]=t,this.captureNames=s,this.textPredicates=n,this.predicates=r,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=c,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,s,n){t||(t=st),s||(s=st),n||(n={});let r=n.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");_t(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,s.row,s.column,r);const i=A(ct,"i32"),o=A(ct+Qe,"i32"),c=A(ct+2*Qe,"i32"),a=new Array(i);this.exceededMatchLimit=!!c;let u=0,l=o;for(let t=0;t<i;t++){const s=A(l,"i32"),n=A(l+=Qe,"i32");l+=Qe;const r=new Array(n);if(l=bt(this,e.tree,l,r),this.textPredicates[s].every((e=>e(r)))){a[u++]={pattern:s,captures:r};const e=this.setProperties[s];e&&(a[t].setProperties=e);const n=this.assertedProperties[s];n&&(a[t].assertedProperties=n);const i=this.refutedProperties[s];i&&(a[t].refutedProperties=i)}}return a.length=u,Ze._free(o),a}captures(e,t,s,n){t||(t=st),s||(s=st),n||(n={});let r=n.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");_t(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,s.row,s.column,r);const i=A(ct,"i32"),o=A(ct+Qe,"i32"),c=A(ct+2*Qe,"i32"),a=[];this.exceededMatchLimit=!!c;const u=[];let l=o;for(let t=0;t<i;t++){const t=A(l,"i32"),s=A(l+=Qe,"i32"),n=A(l+=Qe,"i32");if(l+=Qe,u.length=s,l=bt(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[n],s=this.setProperties[t];s&&(e.setProperties=s);const r=this.assertedProperties[t];r&&(e.assertedProperties=r);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),a.push(e)}}return Ze._free(o),a}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function ft(e,t,s){const n=s-t;let r=e.textCallback(t,null,s);for(t+=r.length;t<s;){const n=e.textCallback(t,null,s);if(!(n&&n.length>0))break;t+=n.length,r+=n}return t>s&&(r=r.slice(0,n)),r}function bt(e,t,s,n){for(let r=0,i=n.length;r<i;r++){const i=A(s,"i32"),o=St(t,s+=Qe);s+=Ye,n[r]={name:e.captureNames[i],node:o}}return s}function vt(e){if(e!==Xe)throw new Error("Illegal constructor")}function yt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function _t(e){let t=ct;M(t,e.id,"i32"),M(t+=Qe,e.startIndex,"i32"),M(t+=Qe,e.startPosition.row,"i32"),M(t+=Qe,e.startPosition.column,"i32"),M(t+=Qe,e[0],"i32")}function St(e,t=ct){const s=A(t,"i32");if(0===s)return null;const n=A(t+=Qe,"i32"),r=A(t+=Qe,"i32"),i=A(t+=Qe,"i32"),o=A(t+=Qe,"i32"),c=new pt(Xe,e);return c.id=s,c.startIndex=n,c.startPosition={row:r,column:i},c[0]=o,c}function wt(e,t=ct){M(t+0*Qe,e[0],"i32"),M(t+1*Qe,e[1],"i32"),M(t+2*Qe,e[2],"i32")}function Et(e){e[0]=A(ct+0*Qe,"i32"),e[1]=A(ct+1*Qe,"i32"),e[2]=A(ct+2*Qe,"i32")}function xt(e,t){M(e,t.row,"i32"),M(e+Qe,t.column,"i32")}function jt(e){return{row:A(e,"i32"),column:A(e+Qe,"i32")}}function Ot(e,t){xt(e,t.startPosition),xt(e+=et,t.endPosition),M(e+=et,t.startIndex,"i32"),M(e+=Qe,t.endIndex,"i32"),e+=Qe}function Bt(e){const t={};return t.startPosition=jt(e),e+=et,t.endPosition=jt(e),e+=et,t.startIndex=A(e,"i32"),e+=Qe,t.endIndex=A(e,"i32"),t}for(const e of Object.getOwnPropertyNames(lt.prototype))Object.defineProperty(i.prototype,e,{value:lt.prototype[e],enumerable:!1,writable:!1});i.Language=mt,n.onRuntimeInitialized=()=>{lt.init(),t()}})))}}return i}();e.exports=r},3078:()=>{},4142:()=>{},1212:(e,t,s)=>{e.exports=s(8411)},7202:(e,t,s)=>{"use strict";var n=s(239);e.exports=n},6656:(e,t,s)=>{"use strict";s(484),s(5695),s(6138),s(9828),s(3832);var n=s(8099);e.exports=n.AggregateError},8411:(e,t,s)=>{"use strict";e.exports=s(8337)},8337:(e,t,s)=>{"use strict";s(5442);var n=s(7202);e.exports=n},814:(e,t,s)=>{"use strict";var n=s(2769),r=s(459),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not a function")}},1966:(e,t,s)=>{"use strict";var n=s(2937),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+r(e)+" as a prototype")}},8137:e=>{"use strict";e.exports=function(){}},7235:(e,t,s)=>{"use strict";var n=s(262),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not an object")}},1005:(e,t,s)=>{"use strict";var n=s(3273),r=s(4574),i=s(8130),o=function(e){return function(t,s,o){var c,a=n(t),u=i(a),l=r(o,u);if(e&&s!=s){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===s)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9932:(e,t,s)=>{"use strict";var n=s(6100),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},8407:(e,t,s)=>{"use strict";var n=s(4904),r=s(2769),i=s(9932),o=s(8655)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());e.exports=n?i: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=c(e),o))?s:a?i(t):"Object"===(n=i(t))&&r(t.callee)?"Arguments":n}},7464:(e,t,s)=>{"use strict";var n=s(701),r=s(5691),i=s(4543),o=s(9989);e.exports=function(e,t,s){for(var c=r(t),a=o.f,u=i.f,l=0;l<c.length;l++){var h=c[l];n(e,h)||s&&n(s,h)||a(e,h,u(t,h))}}},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}))},877:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},3999:(e,t,s)=>{"use strict";var n=s(5024),r=s(9989),i=s(480);e.exports=n?function(e,t,s){return r.f(e,t,i(1,s))}:function(e,t,s){return e[t]=s,e}},480:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3508:(e,t,s)=>{"use strict";var n=s(3999);e.exports=function(e,t,s,r){return r&&r.enumerable?e[t]=s:n(e,t,s),e}},7525:(e,t,s)=>{"use strict";var n=s(1063),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(s){n[e]=t}return t}},5024:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(e,t,s)=>{"use strict";var n=s(1063),r=s(262),i=n.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},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}},7868:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4432:(e,t,s)=>{"use strict";var n,r,i=s(1063),o=s(7868),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(r=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},9683:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3885:(e,t,s)=>{"use strict";var n=s(6100),r=Error,i=n("".replace),o=String(new r("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},4279:(e,t,s)=>{"use strict";var n=s(3999),r=s(3885),i=s(5791),o=Error.captureStackTrace;e.exports=function(e,t,s,c){i&&(o?o(e,t):n(e,"stack",r(s,c)))}},5791:(e,t,s)=>{"use strict";var n=s(1203),r=s(480);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},9098:(e,t,s)=>{"use strict";var n=s(1063),r=s(7013),i=s(9344),o=s(2769),c=s(4543).f,a=s(8696),u=s(8099),l=s(4572),h=s(3999),p=s(701),d=function(e){var t=function(s,n,i){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,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var s,r,m,g,f,b,v,y,_,S=e.target,w=e.global,E=e.stat,x=e.proto,j=w?n:E?n[S]:n[S]&&n[S].prototype,O=w?u:u[S]||h(u,S,{})[S],B=O.prototype;for(g in t)r=!(s=a(w?g:S+(E?".":"#")+g,e.forced))&&j&&p(j,g),b=O[g],r&&(v=e.dontCallGetSet?(_=c(j,g))&&_.value:j[g]),f=r&&v?v:t[g],(s||x||typeof b!=typeof f)&&(y=e.bind&&r?l(f,n):e.wrap&&r?d(f):x&&o(f)?i(f):f,(e.sham||f&&f.sham||b&&b.sham)&&h(y,"sham",!0),h(O,g,y),x&&(p(u,m=S+"Prototype")||h(u,m,{}),h(u[m],g,f),e.real&&B&&(s||!B[g])&&h(B,g,f)))}},1203:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7013:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},4572:(e,t,s)=>{"use strict";var n=s(9344),r=s(814),i=s(1780),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},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")}))},4713:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},3410:(e,t,s)=>{"use strict";var n=s(5024),r=s(701),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=r(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},3574:(e,t,s)=>{"use strict";var n=s(6100),r=s(814);e.exports=function(e,t,s){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[s]))}catch(e){}}},9344:(e,t,s)=>{"use strict";var n=s(9932),r=s(6100);e.exports=function(e){if("Function"===n(e))return r(e)}},6100:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},1003:(e,t,s)=>{"use strict";var n=s(8099),r=s(1063),i=s(2769),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}},967:(e,t,s)=>{"use strict";var n=s(8407),r=s(4674),i=s(3057),o=s(6625),c=s(8655)("iterator");e.exports=function(e){if(!i(e))return r(e,c)||r(e,"@@iterator")||o[n(e)]}},1613:(e,t,s)=>{"use strict";var n=s(4713),r=s(814),i=s(7235),o=s(459),c=s(967),a=TypeError;e.exports=function(e,t){var s=arguments.length<2?c(e):t;if(r(s))return i(n(s,e));throw new a(o(e)+" is not iterable")}},4674:(e,t,s)=>{"use strict";var n=s(814),r=s(3057);e.exports=function(e,t){var s=e[t];return r(s)?void 0:n(s)}},1063: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")()},701:(e,t,s)=>{"use strict";var n=s(6100),r=s(2137),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},5241:e=>{"use strict";e.exports={}},3489:(e,t,s)=>{"use strict";var n=s(1003);e.exports=n("document","documentElement")},9665:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203),i=s(9619);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(e,t,s)=>{"use strict";var n=s(6100),r=s(1203),i=s(9932),o=Object,c=n("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},3507:(e,t,s)=>{"use strict";var n=s(2769),r=s(262),i=s(3491);e.exports=function(e,t,s){var o,c;return i&&n(o=t.constructor)&&o!==s&&r(c=o.prototype)&&c!==s.prototype&&i(e,c),e}},8148:(e,t,s)=>{"use strict";var n=s(262),r=s(3999);e.exports=function(e,t){n(t)&&"cause"in t&&r(e,"cause",t.cause)}},8417:(e,t,s)=>{"use strict";var n,r,i,o=s(1314),c=s(1063),a=s(262),u=s(3999),l=s(701),h=s(3753),p=s(4275),d=s(5241),m="Object already initialized",g=c.TypeError,f=c.WeakMap;if(o||h.state){var b=h.state||(h.state=new f);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw new g(m);return t.facade=e,b.set(e,t),t},r=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var v=p("state");d[v]=!0,n=function(e,t){if(l(e,v))throw new g(m);return t.facade=e,u(e,v,t),t},r=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var s;if(!a(t)||(s=r(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return s}}}},2877:(e,t,s)=>{"use strict";var n=s(8655),r=s(6625),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},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}},8696:(e,t,s)=>{"use strict";var n=s(1203),r=s(2769),i=/#|\.prototype\./,o=function(e,t){var s=a[c(e)];return s===l||s!==u&&(r(t)?n(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},3057:e=>{"use strict";e.exports=function(e){return null==e}},262:(e,t,s)=>{"use strict";var n=s(2769);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},2937:(e,t,s)=>{"use strict";var n=s(262);e.exports=function(e){return n(e)||null===e}},4871:e=>{"use strict";e.exports=!0},6281:(e,t,s)=>{"use strict";var n=s(1003),r=s(2769),i=s(4317),o=s(7460),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,c(e))}},208:(e,t,s)=>{"use strict";var n=s(4572),r=s(4713),i=s(7235),o=s(459),c=s(2877),a=s(8130),u=s(4317),l=s(1613),h=s(967),p=s(1743),d=TypeError,m=function(e,t){this.stopped=e,this.result=t},g=m.prototype;e.exports=function(e,t,s){var f,b,v,y,_,S,w,E=s&&s.that,x=!(!s||!s.AS_ENTRIES),j=!(!s||!s.IS_RECORD),O=!(!s||!s.IS_ITERATOR),B=!(!s||!s.INTERRUPTED),$=n(t,E),P=function(e){return f&&p(f,"normal",e),new m(!0,e)},M=function(e){return x?(i(e),B?$(e[0],e[1],P):$(e[0],e[1])):B?$(e,P):$(e)};if(j)f=e.iterator;else if(O)f=e;else{if(!(b=h(e)))throw new d(o(e)+" is not iterable");if(c(b)){for(v=0,y=a(e);y>v;v++)if((_=M(e[v]))&&u(g,_))return _;return new m(!1)}f=l(e,b)}for(S=j?e.next:f.next;!(w=r(S,f)).done;){try{_=M(w.value)}catch(e){p(f,"throw",e)}if("object"==typeof _&&_&&u(g,_))return _}return new m(!1)}},1743:(e,t,s)=>{"use strict";var n=s(4713),r=s(7235),i=s(4674);e.exports=function(e,t,s){var o,c;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=n(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw s;if(c)throw o;return r(o),s}},1926:(e,t,s)=>{"use strict";var n=s(2621).IteratorPrototype,r=s(5780),i=s(480),o=s(1811),c=s(6625),a=function(){return this};e.exports=function(e,t,s,u){var l=t+" Iterator";return e.prototype=r(n,{next:i(+!u,s)}),o(e,l,!1,!0),c[l]=a,e}},164:(e,t,s)=>{"use strict";var n=s(9098),r=s(4713),i=s(4871),o=s(3410),c=s(2769),a=s(1926),u=s(3671),l=s(3491),h=s(1811),p=s(3999),d=s(3508),m=s(8655),g=s(6625),f=s(2621),b=o.PROPER,v=o.CONFIGURABLE,y=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,S=m("iterator"),w="keys",E="values",x="entries",j=function(){return this};e.exports=function(e,t,s,o,m,f,O){a(s,t,o);var B,$,P,M=function(e){if(e===m&&I)return I;if(!_&&e&&e in k)return k[e];switch(e){case w:case E:case x:return function(){return new s(this,e)}}return function(){return new s(this)}},A=t+" Iterator",q=!1,k=e.prototype,C=k[S]||k["@@iterator"]||m&&k[m],I=!_&&C||M(m),N="Array"===t&&k.entries||C;if(N&&(B=u(N.call(new e)))!==Object.prototype&&B.next&&(i||u(B)===y||(l?l(B,y):c(B[S])||d(B,S,j)),h(B,A,!0,!0),i&&(g[A]=j)),b&&m===E&&C&&C.name!==E&&(!i&&v?p(k,"name",E):(q=!0,I=function(){return r(C,this)})),m)if($={values:M(E),keys:f?I:M(w),entries:M(x)},O)for(P in $)(_||q||!(P in k))&&d(k,P,$[P]);else n({target:t,proto:!0,forced:_||q},$);return i&&!O||k[S]===I||d(k,S,I,{name:m}),g[t]=I,$}},2621:(e,t,s)=>{"use strict";var n,r,i,o=s(1203),c=s(2769),a=s(262),u=s(5780),l=s(3671),h=s(3508),p=s(8655),d=s(4871),m=p("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(n=r):g=!0),!a(n)||o((function(){var e={};return n[m].call(e)!==e}))?n={}:d&&(n=u(n)),c(n[m])||h(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},6625:e=>{"use strict";e.exports={}},8130:(e,t,s)=>{"use strict";var n=s(8146);e.exports=function(e){return n(e.length)}},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)}},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)}},5780:(e,t,s)=>{"use strict";var n,r=s(7235),i=s(7389),o=s(9683),c=s(5241),a=s(3489),u=s(9619),l=s(4275),h="prototype",p="script",d=l("IE_PROTO"),m=function(){},g=function(e){return"<"+p+">"+e+"</"+p+">"},f=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,s;b="undefined"!=typeof document?document.domain&&n?f(n):(t=u("iframe"),s="java"+p+":",t.style.display="none",a.appendChild(t),t.src=String(s),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):f(n);for(var r=o.length;r--;)delete b[h][o[r]];return b()};c[d]=!0,e.exports=Object.create||function(e,t){var s;return null!==e?(m[h]=r(e),s=new m,m[h]=null,s[d]=e):s=b(),void 0===t?s:i.f(s,t)}},7389:(e,t,s)=>{"use strict";var n=s(5024),r=s(1330),i=s(9989),o=s(7235),c=s(3273),a=s(8364);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var s,n=c(t),r=a(t),u=r.length,l=0;u>l;)i.f(e,s=r[l++],n[s]);return e}},9989:(e,t,s)=>{"use strict";var n=s(5024),r=s(9665),i=s(1330),o=s(7235),c=s(5341),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",p="configurable",d="writable";t.f=n?i?function(e,t,s){if(o(e),t=c(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&d in s&&!s[d]){var n=l(e,t);n&&n[d]&&(e[t]=s.value,s={configurable:p in s?s[p]:n[p],enumerable:h in s?s[h]:n[h],writable:!1})}return u(e,t,s)}:u:function(e,t,s){if(o(e),t=c(t),o(s),r)try{return u(e,t,s)}catch(e){}if("get"in s||"set"in s)throw new a("Accessors not supported");return"value"in s&&(e[t]=s.value),e}},4543:(e,t,s)=>{"use strict";var n=s(5024),r=s(4713),i=s(7161),o=s(480),c=s(3273),a=s(5341),u=s(701),l=s(9665),h=Object.getOwnPropertyDescriptor;t.f=n?h:function(e,t){if(e=c(e),t=a(t),l)try{return h(e,t)}catch(e){}if(u(e,t))return o(!r(i.f,e,t),e[t])}},5116:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},7313:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},3671:(e,t,s)=>{"use strict";var n=s(701),r=s(2769),i=s(2137),o=s(4275),c=s(2871),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(n(t,a))return t[a];var s=t.constructor;return r(s)&&t instanceof s?s.prototype:t instanceof u?l:null}},4317:(e,t,s)=>{"use strict";var n=s(6100);e.exports=n({}.isPrototypeOf)},8600:(e,t,s)=>{"use strict";var n=s(6100),r=s(701),i=s(3273),o=s(1005).indexOf,c=s(5241),a=n([].push);e.exports=function(e,t){var s,n=i(e),u=0,l=[];for(s in n)!r(c,s)&&r(n,s)&&a(l,s);for(;t.length>u;)r(n,s=t[u++])&&(~o(l,s)||a(l,s));return l}},8364:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683);e.exports=Object.keys||function(e){return n(e,r)}},7161:(e,t)=>{"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!s.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:s},3491:(e,t,s)=>{"use strict";var n=s(3574),r=s(7235),i=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),i(n),t?e(s,n):s.__proto__=n,s}}():void 0)},9559:(e,t,s)=>{"use strict";var n=s(4904),r=s(8407);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},9258:(e,t,s)=>{"use strict";var n=s(4713),r=s(2769),i=s(262),o=TypeError;e.exports=function(e,t){var s,c;if("string"===t&&r(s=e.toString)&&!i(c=n(s,e)))return c;if(r(s=e.valueOf)&&!i(c=n(s,e)))return c;if("string"!==t&&r(s=e.toString)&&!i(c=n(s,e)))return c;throw new o("Can't convert object to primitive value")}},5691:(e,t,s)=>{"use strict";var n=s(1003),r=s(6100),i=s(5116),o=s(7313),c=s(7235),a=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),s=o.f;return s?a(t,s(e)):t}},8099:e=>{"use strict";e.exports={}},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}})}},5426:(e,t,s)=>{"use strict";var n=s(3057),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},1811:(e,t,s)=>{"use strict";var n=s(4904),r=s(9989).f,i=s(3999),o=s(701),c=s(9559),a=s(8655)("toStringTag");e.exports=function(e,t,s,u){var l=s?e:e&&e.prototype;l&&(o(l,a)||r(l,a,{configurable:!0,value:t}),u&&!n&&i(l,"toString",c))}},4275:(e,t,s)=>{"use strict";var n=s(8141),r=s(1268),i=n("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},3753:(e,t,s)=>{"use strict";var n=s(1063),r=s(7525),i="__core-js_shared__",o=n[i]||r(i,{});e.exports=o},8141:(e,t,s)=>{"use strict";var n=s(4871),r=s(3753);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5571:(e,t,s)=>{"use strict";var n=s(6100),r=s(9903),i=s(1139),o=s(5426),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,s){var n,l,h=i(o(t)),p=r(s),d=h.length;return p<0||p>=d?e?"":void 0:(n=a(h,p))<55296||n>56319||p+1===d||(l=a(h,p+1))<56320||l>57343?e?c(h,p):n:e?u(h,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},4603:(e,t,s)=>{"use strict";var n=s(4432),r=s(1203),i=s(1063).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(e,t,s)=>{"use strict";var n=s(9903),r=Math.max,i=Math.min;e.exports=function(e,t){var s=n(e);return s<0?r(s+t,0):i(s,t)}},3273:(e,t,s)=>{"use strict";var n=s(1395),r=s(5426);e.exports=function(e){return n(r(e))}},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)}},8146:(e,t,s)=>{"use strict";var n=s(9903),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},2137:(e,t,s)=>{"use strict";var n=s(5426),r=Object;e.exports=function(e){return r(n(e))}},493:(e,t,s)=>{"use strict";var n=s(4713),r=s(262),i=s(6281),o=s(4674),c=s(9258),a=s(8655),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var s,a=o(e,l);if(a){if(void 0===t&&(t="default"),s=n(a,e,t),!r(s)||i(s))return s;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},5341:(e,t,s)=>{"use strict";var n=s(493),r=s(6281);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},4904:(e,t,s)=>{"use strict";var n={};n[s(8655)("toStringTag")]="z",e.exports="[object z]"===String(n)},1139:(e,t,s)=>{"use strict";var n=s(8407),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},459:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1268:(e,t,s)=>{"use strict";var n=s(6100),r=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},7460:(e,t,s)=>{"use strict";var n=s(4603);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(e,t,s)=>{"use strict";var n=s(1063),r=s(2769),i=n.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8655:(e,t,s)=>{"use strict";var n=s(1063),r=s(8141),i=s(701),o=s(1268),c=s(4603),a=s(7460),u=n.Symbol,l=r("wks"),h=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:h("Symbol."+e)),l[e]}},6453:(e,t,s)=>{"use strict";var n=s(1003),r=s(701),i=s(3999),o=s(4317),c=s(3491),a=s(7464),u=s(5516),l=s(3507),h=s(4879),p=s(8148),d=s(4279),m=s(5024),g=s(4871);e.exports=function(e,t,s,f){var b="stackTraceLimit",v=f?2:1,y=e.split("."),_=y[y.length-1],S=n.apply(null,y);if(S){var w=S.prototype;if(!g&&r(w,"cause")&&delete w.cause,!s)return S;var E=n("Error"),x=t((function(e,t){var s=h(f?t:e,void 0),n=f?new S(e):new S;return void 0!==s&&i(n,"message",s),d(n,x,n.stack,2),this&&o(w,this)&&l(n,this,x),arguments.length>v&&p(n,arguments[v]),n}));if(x.prototype=w,"Error"!==_?c?c(x,E):a(x,E,{name:!0}):m&&b in S&&(u(x,S,b),u(x,S,"prepareStackTrace")),a(x,S),!g)try{w.name!==_&&i(w,"name",_),w.constructor=x}catch(e){}return x}}},6138:(e,t,s)=>{"use strict";var n=s(9098),r=s(1003),i=s(7013),o=s(1203),c=s(6453),a="AggregateError",u=r(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,s){return i(e,this,arguments)}}),l,!0)})},3085:(e,t,s)=>{"use strict";var n=s(9098),r=s(4317),i=s(3671),o=s(3491),c=s(7464),a=s(5780),u=s(3999),l=s(480),h=s(8148),p=s(4279),d=s(208),m=s(4879),g=s(8655)("toStringTag"),f=Error,b=[].push,v=function(e,t){var s,n=r(y,this);o?s=o(new f,n?i(this):y):(s=n?this:a(y),u(s,g,"Error")),void 0!==t&&u(s,"message",m(t)),p(s,v,s.stack,1),arguments.length>2&&h(s,arguments[2]);var c=[];return d(e,b,{that:c}),u(s,"errors",c),s};o?o(v,f):c(v,f,{name:!0});var y=v.prototype=a(f.prototype,{constructor:l(1,v),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:v})},5695:(e,t,s)=>{"use strict";s(3085)},9828:(e,t,s)=>{"use strict";var n=s(3273),r=s(8137),i=s(6625),o=s(8417),c=s(9989).f,a=s(164),u=s(877),l=s(4871),h=s(5024),p="Array Iterator",d=o.set,m=o.getterFor(p);e.exports=a(Array,"Array",(function(e,t){d(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,s=e.index++;if(!t||s>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(s,!1);case"values":return u(t[s],!1)}return u([s,t[s]],!1)}),"values");var g=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&h&&"values"!==g.name)try{c(g,"name",{value:"values"})}catch(e){}},484:(e,t,s)=>{"use strict";var n=s(9098),r=s(1063),i=s(7013),o=s(6453),c="WebAssembly",a=r[c],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var s={};s[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},s)},h=function(e,t){if(a&&a[e]){var s={};s[e]=o(c+"."+e,t,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},s)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),h("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),h("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),h("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},3832:(e,t,s)=>{"use strict";var n=s(5571).charAt,r=s(1139),i=s(8417),o=s(164),c=s(877),a="String Iterator",u=i.set,l=i.getterFor(a);o(String,"String",(function(e){u(this,{type:a,string:r(e),index:0})}),(function(){var e,t=l(this),s=t.string,r=t.index;return r>=s.length?c(void 0,!0):(e=n(s,r),t.index+=e.length,c(e,!1))}))},5442:(e,t,s)=>{"use strict";s(5695)},85:(e,t,s)=>{"use strict";s(9828);var n=s(1100),r=s(1063),i=s(1811),o=s(6625);for(var c in n)i(r[c],c),o[c]=o.Array},239:(e,t,s)=>{"use strict";s(5442);var n=s(6656);s(85),e.exports=n}},t={};function s(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})();var n={};return(()=>{"use strict";s.r(n),s.d(n,{detect:()=>Mv,detectionRegExp:()=>Pv,mediaTypes:()=>$v,namespace:()=>qv,parse:()=>Av});var e={};s.r(e),s.d(e,{hasElementSourceMap:()=>ns,includesClasses:()=>is,includesSymbols:()=>rs,isAnnotationElement:()=>Qt,isArrayElement:()=>Ht,isBooleanElement:()=>Wt,isCommentElement:()=>Yt,isElement:()=>Lt,isLinkElement:()=>Zt,isMemberElement:()=>Kt,isNullElement:()=>zt,isNumberElement:()=>Ut,isObjectElement:()=>Gt,isParseResultElement:()=>es,isPrimitiveElement:()=>ss,isRefElement:()=>Xt,isSourceMapElement:()=>ts,isStringElement:()=>Jt});var t={};s.r(t),s.d(t,{isJSONReferenceElement:()=>Qi,isJSONSchemaElement:()=>Xi,isLinkDescriptionElement:()=>eo,isMediaElement:()=>Yi});var r={};s.r(r),s.d(r,{isJSONReferenceElement:()=>Qi,isJSONSchemaElement:()=>vo,isLinkDescriptionElement:()=>yo,isMediaElement:()=>Yi});var i={};s.r(i),s.d(i,{isJSONReferenceElement:()=>Qi,isJSONSchemaElement:()=>sa,isLinkDescriptionElement:()=>na});var o={};function c(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(s){return 0===arguments.length||c(s)?t:e.apply(this,arguments)}}function u(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return c(s)?t:a((function(t){return e(s,t)}));default:return c(s)&&c(n)?t:c(s)?a((function(t){return e(t,n)})):c(n)?a((function(t){return e(s,t)})):e(s,n)}}}function l(e){return function t(s,n,r){switch(arguments.length){case 0:return t;case 1:return c(s)?t:u((function(t,n){return e(s,t,n)}));case 2:return c(s)&&c(n)?t:c(s)?u((function(t,s){return e(t,n,s)})):c(n)?u((function(t,n){return e(s,t,n)})):a((function(t){return e(s,n,t)}));default:return c(s)&&c(n)&&c(r)?t:c(s)&&c(n)?u((function(t,s){return e(t,s,r)})):c(s)&&c(r)?u((function(t,s){return e(t,n,s)})):c(n)&&c(r)?u((function(t,n){return e(s,t,n)})):c(s)?a((function(t){return e(t,n,r)})):c(n)?a((function(t){return e(s,t,r)})):c(r)?a((function(t){return e(s,n,t)})):e(s,n,r)}}}s.r(o),s.d(o,{isAsyncApi2Element:()=>ba,isAsyncApiVersionElement:()=>va,isBooleanJsonSchemaElement:()=>qa,isChannelBindingsElement:()=>ya,isChannelItemElement:()=>_a,isChannelsElement:()=>Sa,isComponentsElement:()=>wa,isContactElement:()=>Ea,isIdentifierElement:()=>xa,isInfoElement:()=>ja,isLicenseElement:()=>Oa,isOperationElement:()=>Ba,isParameterElement:()=>$a,isParametersElement:()=>Pa,isReferenceElement:()=>Ma,isSchemaElement:()=>Aa,isSecurityRequirementElement:()=>ka,isServerBindingsElement:()=>Ia,isServerElement:()=>Ca,isServerVariableElement:()=>Ta,isServersElement:()=>Na});const h=u((function(e,t){return null==t||t!=t?e:t})),p=Number.isInteger||function(e){return e<<0===e};function d(e){return"[object String]"===Object.prototype.toString.call(e)}function m(e,t){var s=e<0?t.length+e:e;return d(t)?t.charAt(s):t[s]}const g=u((function(e,t){if(null!=t)return p(e)?m(e,t):t[e]}));const f=l((function(e,t,s){return h(e,g(t,s))}));var b=u((function(e,t){for(var s={},n={},r=0,i=e.length;r<i;)n[e[r]]=1,r+=1;for(var o in t)n.hasOwnProperty(o)||(s[o]=t[o]);return s}));const v=b;function y(e,t,s){for(var n=0,r=s.length;n<r;)t=e(t,s[n]),n+=1;return t}const _=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const S=a((function(e){return!!_(e)||!!e&&("object"==typeof e&&(!d(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var w="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,s){return function(n,r,i){if(S(i))return e(n,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(n,r,i,"fantasy-land/reduce");if(null!=i[w])return s(n,r,i[w]());if("function"==typeof i.next)return s(n,r,i);if("function"==typeof i.reduce)return t(n,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function x(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function j(e,t,s,n){return s[n](e,t)}const O=E(y,j,x);function B(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!_(n)){for(var r=0;r<e.length;){if("function"==typeof n[e[r]])return n[e[r]].apply(n,Array.prototype.slice.call(arguments,0,-1));r+=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 $(e,t){for(var s=0,n=t.length,r=Array(n);s<n;)r[s]=e(t[s]),s+=1;return r}const P=function(){return this.xf["@@transducer/init"]()},M=function(e){return this.xf["@@transducer/result"](e)};var A=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=P,e.prototype["@@transducer/result"]=M,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const q=function(e){return function(t){return new A(e,t)}};function k(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,r){return t.apply(this,arguments)};case 5:return function(e,s,n,r,i){return t.apply(this,arguments)};case 6:return function(e,s,n,r,i,o){return t.apply(this,arguments)};case 7:return function(e,s,n,r,i,o,c){return t.apply(this,arguments)};case 8:return function(e,s,n,r,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,s,n,r,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,s,n,r,i,o,c,a,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function C(e,t,s){return function(){for(var n=[],r=0,i=e,o=0,a=!1;o<t.length||r<arguments.length;){var u;o<t.length&&(!c(t[o])||r>=arguments.length)?u=t[o]:(u=arguments[r],r+=1),n[o]=u,c(u)?a=!0:i-=1,o+=1}return!a&&i<=0?s.apply(this,n):k(Math.max(0,i),C(e,n,s))}}const I=u((function(e,t){return 1===e?a(t):k(e,C(e,[],t))}));function N(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var T=Object.prototype.toString;const R=function(){return"[object Arguments]"===T.call(arguments)?function(e){return"[object Arguments]"===T.call(e)}:function(e){return N("callee",e)}}();var F=!{toString:null}.propertyIsEnumerable("toString"),V=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],D=function(){return arguments.propertyIsEnumerable("length")}(),L=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},J="function"!=typeof Object.keys||D?a((function(e){if(Object(e)!==e)return[];var t,s,n=[],r=D&&R(e);for(t in e)!N(t,e)||r&&"length"===t||(n[n.length]=t);if(F)for(s=V.length-1;s>=0;)N(t=V[s],e)&&!L(n,t)&&(n[n.length]=t),s-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const U=J;const z=u(B(["fantasy-land/map","map"],q,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return I(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return y((function(s,n){return s[n]=e(t[n]),s}),{},U(t));default:return $(e,t)}})));const W=u((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))}:O((function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,r=t.length,i=[];for(s=0;s<n;)i[i.length]=e[s],s+=1;for(s=0;s<r;)i[i.length]=t[s],s+=1;return i}(e,z(s,t))}),[],e)}));const G=u((function(e,t){var s=I(e,t);return I(e,(function(){return y(W,z(s,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const H=a((function(e){return G(e.length,e)}));const K=H(a((function(e){return!e})));function Z(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function X(e,t,s){for(var n=0,r=s.length;n<r;){if(e(t,s[n]))return!0;n+=1}return!1}const Q="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Y=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function ee(e,t,s,n){var r=Z(e);function i(e,t){return te(e,t,s.slice(),n.slice())}return!X((function(e,t){return!X(i,t,e)}),Z(t),r)}function te(e,t,s,n){if(Q(e,t))return!0;var r,i,o=Y(e);if(o!==Y(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"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!Q(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Q(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=s.length-1;c>=0;){if(s[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&ee(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&ee(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 a=U(e);if(a.length!==U(t).length)return!1;var u=s.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var h=a[c];if(!N(h,t)||!te(t[h],e[h],u,l))return!1;c-=1}return!0}const se=u((function(e,t){return te(e,t,[],[])}));const ne=a((function(e){return function(){return e}}));const re=ne(void 0);const ie=se(re());const oe=K(ie);var ce=s(8326);function ae(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ue(e,t,s){for(var n=0,r=s.length;n<r;){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=u((function(e,t){return k(e.length,(function(){return e.apply(t,arguments)}))}));function he(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 pe(e,t,s,n){return e["@@transducer/result"](s[n](le(e["@@transducer/step"],e),t))}const de=E(ue,pe,he);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const ge=l((function(e,t,s){return de("function"==typeof e?new me(e):e,t,s)}));function fe(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return _(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const be=l(fe("slice",(function(e,t,s){return Array.prototype.slice.call(s,e,t)})));const ve=a(fe("tail",be(1,1/0)));function ye(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return k(arguments[0].length,ge(ae,arguments[0],ve(arguments)))}var _e=function(e,t){switch(arguments.length){case 0:return _e;case 1:return function t(s){return 0===arguments.length?t:Q(e,s)};default:return Q(e,t)}};const Se=_e;function we(e,t){return function(e,t,s){var n,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(r=e[s])&&1/r===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(r=e[s])&&r!=r)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(se(e[s],t))return s;s+=1}return-1}(t,e,0)>=0}function Ee(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 xe=function(e){return(e<10?"0":"")+e};const je="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+xe(e.getUTCMonth()+1)+"-"+xe(e.getUTCDate())+"T"+xe(e.getUTCHours())+":"+xe(e.getUTCMinutes())+":"+xe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Oe(e){return"[object Object]"===Object.prototype.toString.call(e)}var Be=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=P,e.prototype["@@transducer/result"]=M,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function $e(e){return function(t){return new Be(e,t)}}const Pe=u(B(["fantasy-land/filter","filter"],$e,(function(e,t){return Oe(t)?y((function(s,n){return e(t[n])&&(s[n]=t[n]),s}),{},U(t)):function(e,t){for(var s=0,n=t.length,r=[];s<n;)e(t[s])&&(r[r.length]=t[s]),s+=1;return r}(e,t)})));const Me=u((function(e,t){return Pe((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 we(s,n)?"<Circular>":Ae(s,n)},n=function(e,t){return $((function(t){return Ee(t)+": "+s(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+$(s,e).join(", ")+"))";case"[object Array]":return"["+$(s,e).concat(n(e,Me((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):Ee(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())+")":Ee(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+n(e,U(e)).join(", ")+"}"}}const qe=a((function(e){return Ae(e,[])}));function ke(e,t){for(var s=t,n=0;n<e.length;n+=1){if(null==s)return;var r=e[n];s=p(r)?m(r,s):s[r]}return s}const Ce=l((function(e,t,s){return e(ke(t,s))}));function Ie(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Ne=u((function(e,t){return e&&t}));const Te=u((function(e,t){return Ie(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:H(Ne)(e,t)}));const Re=se(null);const Fe=K(Re);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=I(1,Te(Fe,De));const Je=u((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 r=s(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=qe(e),o=s(i,qe(t));return void 0!==o&&o===i?e:t}));const Ue=u((function(e,t){return z(g(e),t)}));const ze=a((function(e){return I(ge(Je,0,Ue("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 We=I(1,ye(Y,Se("GeneratorFunction")));const Ge=I(1,ye(Y,Se("AsyncFunction")));const He=ze([ye(Y,Se("Function")),We,Ge]);var Ke=ye(Y,Se("Object")),Ze=ye(qe,se(qe(Object))),Xe=Ce(Te(He,Ze),["constructor"]);const Qe=I(1,(function(e){if(!Le(e)||!Ke(e))return!1;var t=Object.getPrototypeOf(e);return!!Re(t)||Xe(t)}));class Ye extends ce.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=Ye;class tt extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="comment"}}const st=tt;class nt extends ce.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 rt=nt;class it extends ce.wE{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(void 0===e)return;const t=new ce.wE([e.start.row,e.start.column,e.start.char]),s=new ce.wE([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),s.classes.push("position"),this.push(t).push(s)}}const ot=it;class ct extends ce.g${constructor(){super(),this.register("annotation",et),this.register("comment",st),this.register("parseResult",rt),this.register("sourceMap",ot)}}const at=new ct,ut=e=>{const t=new ct;return Qe(e)&&t.use(e),t},lt=at;const ht=I(1,ye(Y,Se("String"))),pt=s.p+"23aac571c96605dc25219087ad291441.wasm",dt=globalThis.fetch;He(dt)&&(globalThis.fetch=(...e)=>ht(e[0])&&e[0].endsWith("tree-sitter.wasm")?dt.apply(globalThis,[pt,ve(e)]):dt.apply(globalThis,e));var mt=s(3833),gt=s(1212);const ft=class extends gt{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 bt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(ft,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 vt=bt,yt=s.p+"64a30dfa8a51b6a090ebd363beeaad5d.wasm";let _t=null,St=null;const wt=async e=>{if(null===_t&&null===St)St=mt.init().then((()=>mt.Language.load(yt))).then((e=>{const t=new mt;return t.setLanguage(e),t})).finally((()=>{St=null})),_t=await St;else if(null===_t&&null!==St)_t=await St;else if(null===_t)throw new vt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return _t.parse(e)};const Et=class extends vt{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}},xt=(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},jt={},Ot=e=>null==e?void 0:e.type,Bt=e=>"string"==typeof Ot(e),$t=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),Pt=(e,{visitFnGetter:t=xt,nodeTypeGetter:s=Ot,breakSymbol:n=jt,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{enter(u,l,h,p,d,m){let g=u,f=!1;const b={...m,replaceWith(e,t){m.replaceWith(e,t),g=e}};for(let u=0;u<e.length;u+=1)if(a[u]===c){const c=t(e[u],s(g),!1);if("function"==typeof c){const t=c.call(e[u],g,l,h,p,d,b);if("function"==typeof(null==t?void 0:t.then))throw new Et("Async visitor not supported in sync mode",{visitor:e[u],visitFn:c});if(t===i)a[u]=g;else if(t===n)a[u]=n;else{if(t===r)return t;if(void 0!==t){if(!o)return t;g=t,f=!0}}}}return f?g:void 0},leave(r,o,u,l,h,p){let d=r;const m={...p,replaceWith(e,t){p.replaceWith(e,t),d=e}};for(let r=0;r<e.length;r+=1)if(a[r]===c){const c=t(e[r],s(d),!0);if("function"==typeof c){const t=c.call(e[r],d,o,u,l,h,m);if("function"==typeof(null==t?void 0:t.then))throw new Et("Async visitor not supported in sync mode",{visitor:e[r],visitFn:c});if(t===n)a[r]=n;else if(void 0!==t&&t!==i)return t}}else a[r]===d&&(a[r]=c)}}};Pt[Symbol.for("nodejs.util.promisify.custom")]=(e,{visitFnGetter:t=xt,nodeTypeGetter:s=Ot,breakSymbol:n=jt,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{async enter(u,l,h,p,d,m){let g=u,f=!1;const b={...m,replaceWith(e,t){m.replaceWith(e,t),g=e}};for(let u=0;u<e.length;u+=1)if(a[u]===c){const c=t(e[u],s(g),!1);if("function"==typeof c){const t=await c.call(e[u],g,l,h,p,d,b);if(t===i)a[u]=g;else if(t===n)a[u]=n;else{if(t===r)return t;if(void 0!==t){if(!o)return t;g=t,f=!0}}}}return f?g:void 0},async leave(r,o,u,l,h,p){let d=r;const m={...p,replaceWith(e,t){p.replaceWith(e,t),d=e}};for(let r=0;r<e.length;r+=1)if(a[r]===c){const c=t(e[r],s(d),!0);if("function"==typeof c){const t=await c.call(e[r],d,o,u,l,h,m);if(t===n)a[r]=n;else if(void 0!==t&&t!==i)return t}}else a[r]===d&&(a[r]=c)}}};const Mt=(e,t,{keyMap:s=null,state:n={},breakSymbol:r=jt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=xt,nodeTypeGetter:a=Ot,nodePredicate:u=Bt,nodeCloneFn:l=$t,detectCycles:h=!0}={})=>{const p=s||{};let d,m,g=Array.isArray(e),f=[e],b=-1,v=[],y=e;const _=[],S=[];do{b+=1;const e=b===f.length;let s;const x=e&&0!==v.length;if(e){if(s=0===S.length?void 0:_.pop(),y=m,m=S.pop(),x)if(g){y=y.slice();let e=0;for(const[t,s]of v){const n=t-e;s===i?(y.splice(n,1),e+=1):y[n]=s}}else{y=l(y);for(const[e,t]of v)y[e]=t}b=d.index,f=d.keys,v=d.edits,g=d.inArray,d=d.prev}else if(m!==i&&void 0!==m){if(s=g?b:f[b],y=m[s],y===i||void 0===y)continue;_.push(s)}let j;if(!Array.isArray(y)){var w;if(!u(y))throw new Et(`Invalid AST Node: ${String(y)}`,{node:y});if(h&&S.includes(y)){_.pop();continue}const i=c(t,a(y),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;const r={replaceWith(t,n){"function"==typeof n?n(t,y,s,m,_,S):m&&(m[s]=t),e||(y=t)}};j=i.call(t,y,s,m,_,S,r)}if("function"==typeof(null===(w=j)||void 0===w?void 0:w.then))throw new Et("Async visitor not supported in sync mode",{visitor:t,visitFn:i});if(j===r)break;if(j===o){if(!e){_.pop();continue}}else if(void 0!==j&&(v.push([s,j]),!e)){if(!u(j)){_.pop();continue}y=j}}var E;if(void 0===j&&x&&v.push([s,y]),!e)d={inArray:g,index:b,keys:f,edits:v,prev:d},g=Array.isArray(y),f=g?y:null!==(E=p[a(y)])&&void 0!==E?E:[],b=-1,v=[],m!==i&&void 0!==m&&S.push(m),m=y}while(void 0!==d);return 0!==v.length?v[v.length-1][1]:e};function At(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}Mt[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=null,state:n={},breakSymbol:r=jt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=xt,nodeTypeGetter:a=Ot,nodePredicate:u=Bt,nodeCloneFn:l=$t,detectCycles:h=!0}={})=>{const p=s||{};let d,m,g=Array.isArray(e),f=[e],b=-1,v=[],y=e;const _=[],S=[];do{b+=1;const e=b===f.length;let s;const E=e&&0!==v.length;if(e){if(s=0===S.length?void 0:_.pop(),y=m,m=S.pop(),E)if(g){y=y.slice();let e=0;for(const[t,s]of v){const n=t-e;s===i?(y.splice(n,1),e+=1):y[n]=s}}else{y=l(y);for(const[e,t]of v)y[e]=t}b=d.index,f=d.keys,v=d.edits,g=d.inArray,d=d.prev}else if(m!==i&&void 0!==m){if(s=g?b:f[b],y=m[s],y===i||void 0===y)continue;_.push(s)}let x;if(!Array.isArray(y)){if(!u(y))throw new Et(`Invalid AST Node: ${String(y)}`,{node:y});if(h&&S.includes(y)){_.pop();continue}const i=c(t,a(y),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;const r={replaceWith(t,n){"function"==typeof n?n(t,y,s,m,_,S):m&&(m[s]=t),e||(y=t)}};x=await i.call(t,y,s,m,_,S,r)}if(x===r)break;if(x===o){if(!e){_.pop();continue}}else if(void 0!==x&&(v.push([s,x]),!e)){if(!u(x)){_.pop();continue}y=x}}var w;if(void 0===x&&E&&v.push([s,y]),!e)d={inArray:g,index:b,keys:f,edits:v,prev:d},g=Array.isArray(y),f=g?y:null!==(w=p[a(y)])&&void 0!==w?w:[],b=-1,v=[],m!==i&&void 0!==m&&S.push(m),m=y}while(void 0!==d);return 0!==v.length?v[v.length-1][1]:e};var qt=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=P,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=At(this.xf["@@transducer/step"](e,!1))),e},e}();function kt(e){return function(t){return new qt(e,t)}}const Ct=u(B(["all"],kt,(function(e,t){for(var s=0;s<t.length;){if(!e(t[s]))return!1;s+=1}return!0})));const It=a((function(e){return I(e.length,(function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)}))}))(u(we)),Nt=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Tt=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Rt=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Ft=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof ce.wE)&&t.classes.includes(e),Vt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Dt=e=>e({hasMethod:Nt,hasBasicElementProps:Tt,primitiveEq:Rt,isElementType:Vt,hasClass:Ft}),Lt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Hg||e(s)&&t(void 0,s))),Jt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Om||e(s)&&t("string",s))),Ut=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.kT||e(s)&&t("number",s))),zt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Os||e(s)&&t("null",s))),Wt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.bd||e(s)&&t("boolean",s))),Gt=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ce.Sh||e(n)&&t("object",n)&&s("keys",n)&&s("values",n)&&s("items",n))),Ht=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ce.wE&&!(n instanceof ce.Sh)||e(n)&&t("array",n)&&s("push",n)&&s("unshift",n)&&s("map",n)&&s("reduce",n))),Kt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.Pr||e(n)&&t("member",n)&&s(void 0,n))),Zt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.Ft||e(n)&&t("link",n)&&s(void 0,n))),Xt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.sI||e(n)&&t("ref",n)&&s(void 0,n))),Qt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof et||e(n)&&t("annotation",n)&&s("array",n))),Yt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof st||e(n)&&t("comment",n)&&s("string",n))),es=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof rt||e(n)&&t("parseResult",n)&&s("array",n))),ts=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ot||e(n)&&t("sourceMap",n)&&s("array",n))),ss=e=>Vt("object",e)||Vt("array",e)||Vt("boolean",e)||Vt("number",e)||Vt("string",e)||Vt("null",e)||Vt("member",e),ns=e=>ts(e.meta.get("sourceMap")),rs=(e,t)=>{if(0===e.length)return!0;const s=t.attributes.get("symbols");return!!Ht(s)&&Ct(It(s.toValue()),e)},is=(e,t)=>0===e.length||Ct(It(t.classes.toValue()),e);const os=class extends Et{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const cs=class extends os{};const as=class extends os{},us=(e,t={})=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);if(e instanceof ce.KeyValuePair){const{key:t,value:r}=e,i=Lt(t)?us(t,n):t,o=Lt(r)?us(r,n):r,c=new ce.KeyValuePair(i,o);return s.set(e,c),c}if(e instanceof ce.ot){const t=e=>us(e,n),r=[...e].map(t),i=new ce.ot(r);return s.set(e,i),i}if(e instanceof ce.G6){const t=e=>us(e,n),r=[...e].map(t),i=new ce.G6(r);return s.set(e,i),i}if(Lt(e)){const t=ps(e);if(s.set(e,t),e.content)if(Lt(e.content))t.content=us(e.content,n);else if(e.content instanceof ce.KeyValuePair)t.content=us(e.content,n);else if(Array.isArray(e.content)){const s=e=>us(e,n);t.content=e.content.map(s)}else t.content=e.content;else t.content=e.content;return t}throw new cs("Value provided to cloneDeep function couldn't be cloned",{value:e})};us.safe=e=>{try{return us(e)}catch{return e}};const ls=e=>{const{key:t,value:s}=e;return new ce.KeyValuePair(t,s)},hs=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=us(e.meta)),e.attributes.length>0&&(t._attributes=us(e.attributes)),Lt(e.content)){const s=e.content;t.content=hs(s)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof ce.KeyValuePair?t.content=ls(e.content):t.content=e.content;return t},ps=e=>{if(e instanceof ce.KeyValuePair)return ls(e);if(e instanceof ce.ot)return(e=>{const t=[...e];return new ce.ot(t)})(e);if(e instanceof ce.G6)return(e=>{const t=[...e];return new ce.G6(t)})(e);if(Lt(e))return hs(e);throw new as("Value provided to cloneShallow function couldn't be cloned",{value:e})};ps.safe=e=>{try{return ps(e)}catch{return e}};const ds=e=>Gt(e)?"ObjectElement":Ht(e)?"ArrayElement":Kt(e)?"MemberElement":Jt(e)?"StringElement":Wt(e)?"BooleanElement":Ut(e)?"NumberElement":zt(e)?"NullElement":Zt(e)?"LinkElement":Xt(e)?"RefElement":void 0,ms=e=>Lt(e)?ps(e):$t(e),gs=ye(ds,ht),fs={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const bs=(e,t,{keyMap:s=fs,...n}={})=>Mt(e,t,{keyMap:s,nodeTypeGetter:ds,nodePredicate:gs,nodeCloneFn:ms,...n});bs[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=fs,...n}={})=>Mt[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:s,nodeTypeGetter:ds,nodePredicate:gs,nodeCloneFn:ms,...n});const vs=l((function(e,t,s){var n,r={};for(n in s=s||{},t=t||{})N(n,t)&&(r[n]=N(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)N(n,s)&&!N(n,r)&&(r[n]=s[n]);return r}));const ys=l((function e(t,s,n){return vs((function(s,n,r){return Oe(n)&&Oe(r)?e(t,n,r):t(s,n,r)}),s,n)}));const _s=u((function(e,t){return ys((function(e,t,s){return s}),e,t)}));const Ss=u(ke);const ws=be(0,-1);const Es=u((function(e,t){return e.apply(this,t)}));const xs=K(He);var js=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():_(e)?[]:d(e)?"":Oe(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 Os=js;const Bs=a((function(e){return null!=e&&se(e,Os(e))}));const $s=I(1,He(Array.isArray)?Array.isArray:ye(Y,Se("Array")));const Ps=Te($s,Bs);const Ms=I(3,(function(e,t,s){var n=Ss(e,s),r=Ss(ws(e),s);if(!xs(n)&&!Ps(e)){var i=le(n,r);return Es(i,t)}})),As=()=>({predicates:{...e},namespace:lt}),qs={toolboxCreator:As,visitorOptions:{nodeTypeGetter:ds,exposeEdits:!0}},ks=(e,t,s={})=>{if(0===t.length)return e;const n=_s(qs,s),{toolboxCreator:r,visitorOptions:i}=n,o=r(),c=t.map((e=>e(o))),a=Pt(c.map(f({},"visitor")),{...i});c.forEach(Ms(["pre"],[]));const u=bs(e,a,i);return c.forEach(Ms(["post"],[])),u};ks[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=_s(qs,s),{toolboxCreator:r,visitorOptions:i}=n,o=r(),c=t.map((e=>e(o))),a=Pt[Symbol.for("nodejs.util.promisify.custom")],u=bs[Symbol.for("nodejs.util.promisify.custom")],l=a(c.map(f({},"visitor")),{...i});await Promise.allSettled(c.map(Ms(["pre"],[])));const h=await u(e,l,i);return await Promise.allSettled(c.map(Ms(["post"],[]))),h};const Cs=(e,{Type:t,plugins:s=[]})=>{const n=new t(e);return Lt(e)&&(e.meta.length>0&&(n.meta=us(e.meta)),e.attributes.length>0&&(n.attributes=us(e.attributes))),ks(n,s,{toolboxCreator:As,visitorOptions:{nodeTypeGetter:ds}})},Is=e=>(t,s={})=>Cs(t,{...s,Type:e});ce.Sh.refract=Is(ce.Sh),ce.wE.refract=Is(ce.wE),ce.Om.refract=Is(ce.Om),ce.bd.refract=Is(ce.bd),ce.Os.refract=Is(ce.Os),ce.kT.refract=Is(ce.kT),ce.Ft.refract=Is(ce.Ft),ce.sI.refract=Is(ce.sI),et.refract=Is(et),st.refract=Is(st),rt.refract=Is(rt),ot.refract=Is(ot);const Ns=class{type;startPosition;endPosition;startIndex;endIndex;text;isNamed;isMissing;fieldName;hasError=!1;children=[];constructor(e){this.type=e.nodeType,this.startPosition=e.startPosition,this.endPosition=e.endPosition,this.startIndex=e.startIndex,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}setFieldName(e){return"function"==typeof e.currentFieldName?this.fieldName=e.currentFieldName():this.fieldName=e.currentFieldName,this}setHasError(e){return"function"==typeof e.currentNode?this.hasError=e.currentNode().hasError():this.hasError=e.currentNode.hasError(),this}pushChildren(...e){this.children.push(...e)}};class Ts{static toPosition(e){const t=new ce.wE([e.startPosition.row,e.startPosition.column,e.startIndex]),s=new ce.wE([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),s.classes.push("position"),[t,s]}sourceMap=!1;annotations;ParseResultElement={leave:e=>{const t=e.findElements(ss);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}enter(e){if(e instanceof Ns&&!e.isNamed&&e.isMissing){const t=e.type||e.text,s=new et(`(Missing ${t})`);s.classes.push("warning"),this.maybeAddSourceMap(e,s),this.annotations.push(s)}return null}document(e){const t=new rt;return t._content=e.children,this.maybeAddSourceMap(e,t),t}object(e){const t=new ce.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}array(e){const t=new ce.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}pair(e){const t=new ce.Pr;return t.content.key=e.keyNode,t.content.value=e.valueNode,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"ERROR"===e.type)).forEach((t=>{this.ERROR(t,e,[],[e])})),t}string(e){const t=new ce.Om(JSON.parse(e.text));return this.maybeAddSourceMap(e,t),t}number(e){const t=new ce.kT(Number(e.text));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ce.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ce.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ce.bd(!1);return this.maybeAddSourceMap(e,t),t}ERROR(e,t,s,n){const r=!e.hasError,i=e.text,o=new et(r?`(Unexpected ${i})`:`(Error ${i})`);if(o.classes.push("error"),this.maybeAddSourceMap(e,o),0===n.length){const e=new rt;return e.push(o),e}return this.annotations.push(o),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const s=new ot,n=Ts.toPosition(e);if(null!==n){const[e,t]=n;s.push(e),s.push(t)}s.astNode=e,t.meta.set("sourceMap",s)}}const Rs=Ts;class Fs{cursor;constructor(e){this.cursor=e}document(){return new Ns(this.cursor)}object(){return new Ns(this.cursor).setFieldName(this.cursor)}array(){return new Ns(this.cursor).setFieldName(this.cursor)}pair(){return new Ns(this.cursor)}string(){return new Ns(this.cursor).setFieldName(this.cursor)}number(){return new Ns(this.cursor).setFieldName(this.cursor)}null(){return new Ns(this.cursor).setFieldName(this.cursor)}true(){return new Ns(this.cursor).setFieldName(this.cursor)}false(){return new Ns(this.cursor).setFieldName(this.cursor)}ERROR(){return new Ns(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Ns(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Fs(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new Fs(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const Vs=Fs,Ds={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...fs},Ls=e=>es(e)?"ParseResultElement":Lt(e)?ds(e):Ot(e),Js=e=>Lt(e)||Bt(e),Us=(e,{sourceMap:t=!1}={})=>{const s=new Rs,n=e.walk(),r=new Vs(n),[i]=Array.from(r);return Mt(i,s,{keyMap:Ds,nodeTypeGetter:Ls,nodePredicate:Js,state:{sourceMap:t}})};class zs{static type="point";type=zs.type;row;column;char;constructor({row:e,column:t,char:s}){this.row=e,this.column=t,this.char=s}}class Ws{static type="position";type=Ws.type;start;end;constructor({start:e,end:t}){this.start=e,this.end=t}}const Gs=Ws;const Hs=a((function(e){return m(0,e)}));const Ks=class{static type="node";type="node";isMissing;children;position;constructor({children:e=[],position:t,isMissing:s=!1}={}){this.type=this.constructor.type,this.isMissing=s,this.children=e,this.position=t}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}};const Zs=class extends Ks{};const Xs=class extends Zs{static type="document";get child(){return Hs(this.children)}};const Qs=class extends Ks{static type="parseResult";get rootNode(){return Hs(this.children)}};const Ys=class extends Ks{static type="literal";value;constructor({value:e,...t}={}){super({...t}),this.value=e}},en=(e,t)=>null!=t&&"object"==typeof t&&"type"in t&&t.type===e,tn=e=>en("string",e),sn=e=>en("false",e),nn=e=>en("true",e),rn=e=>en("null",e),on=e=>en("number",e),cn=e=>en("array",e),an=e=>en("object",e),un=e=>en("property",e),ln=e=>en("key",e);const hn=class extends Zs{static type="object";get properties(){return this.children.filter(un)}};const pn=class extends Zs{static type="string";get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((e=>(e=>en("stringContent",e))(e)||(e=>en("escapeSequence",e))(e))).reduce(((e,t)=>e+t.value),"")}};const dn=class extends pn{static type="key"};const mn=class extends Zs{static type="property";get key(){return this.children.find(ln)}get value(){return this.children.find((e=>sn(e)||nn(e)||rn(e)||on(e)||tn(e)||cn(e)||an(e)))}};const gn=class extends Zs{static type="array";get items(){return this.children.filter((e=>sn(e)||nn(e)||rn(e)||on(e)||tn(e)||cn(e)||an))}};const fn=class extends Zs{static type="value";value;constructor({value:e,...t}){super({...t}),this.value=e}};const bn=class extends fn{static type="stringContent"};const vn=class extends fn{static type="number"};const yn=class extends fn{static type="null"};const _n=class extends fn{static type="true"};const Sn=class extends fn{static type="false"};const wn=class extends Ks{static type="error";value;isUnexpected;constructor({value:e,isUnexpected:t=!1,...s}={}){super({...s}),this.value=e,this.isUnexpected=t}},En={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]};class xn{static toPosition(e){const t=new zs({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),s=new zs({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return new Gs({start:t,end:s})}document={enter:e=>{const t=xn.toPosition(e);return new Xs({children:e.children,position:t,isMissing:e.isMissing})},leave:e=>new Qs({children:[e]})};enter(e){if(e instanceof Ns&&!e.isNamed){const t=xn.toPosition(e),s=e.type||e.text,{isMissing:n}=e;return new Ys({value:s,position:t,isMissing:n})}}object(e){const t=xn.toPosition(e);return new hn({children:e.children,position:t,isMissing:e.isMissing})}pair(e){const t=xn.toPosition(e),s=e.children.slice(1),{keyNode:n}=e,r=new dn({children:(null==n?void 0:n.children)||[],position:null!=n?xn.toPosition(n):void 0,isMissing:null!=n&&n.isMissing});return new mn({children:[r,...s],position:t,isMissing:e.isMissing})}array(e){const t=xn.toPosition(e);return new gn({children:e.children,position:t,isMissing:e.isMissing})}string(e){const t=xn.toPosition(e),s=new bn({value:JSON.parse(e.text)});return new pn({children:[s],position:t,isMissing:e.isMissing})}number(e){const t=xn.toPosition(e),s=e.text;return new vn({value:s,position:t,isMissing:e.isMissing})}null(e){const t=xn.toPosition(e),s=e.text;return new yn({value:s,position:t,isMissing:e.isMissing})}true(e){const t=xn.toPosition(e),s=e.text;return new _n({value:s,position:t,isMissing:e.isMissing})}false(e){const t=xn.toPosition(e),s=e.text;return new Sn({value:s,position:t,isMissing:e.isMissing})}ERROR(e,t,s,n){const r=xn.toPosition(e),i=new wn({children:e.children,position:r,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text});return 0===n.length?new Qs({children:[i]}):i}}const jn=xn,On={[Qs.type]:["children"],[Xs.type]:["children"],[hn.type]:["children"],[mn.type]:["children"],[gn.type]:["children"],[wn.type]:["children"],...fs},Bn=e=>es(e)?"ParseResultElement":Lt(e)?ds(e):Ot(e),$n=e=>Lt(e)||Bt(e);const Pn=class{sourceMap=!1;annotations;ParseResultElement={leave:e=>{const t=e.findElements(ss);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}document(e){const t=new rt;return t._content=e.children,t}object(e){const t=new ce.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}property(e){const t=new ce.Pr;return t.content.key=e.key,t.content.value=e.value,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"error"===e.type)).forEach((t=>{this.error(t,e,[],[e])})),t}key(e){const t=new ce.Om(e.value);return this.maybeAddSourceMap(e,t),t}array(e){const t=new ce.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}string(e){const t=new ce.Om(e.value);return this.maybeAddSourceMap(e,t),t}number(e){const t=new ce.kT(Number(e.value));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ce.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ce.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ce.bd(!1);return 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 r=e.isUnexpected?`(Unexpected ${e.value})`:`(Error ${e.value})`,i=new et(r);if(i.classes.push("error"),this.maybeAddSourceMap(e,i),0===n.length){const e=new rt;return e.push(i),e}return this.annotations.push(i),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const s=new ot;s.position=e.position,s.astNode=e,t.meta.set("sourceMap",s)}},Mn=(e,{sourceMap:t=!1}={})=>{const s=e.walk(),n=new Vs(s),[r]=Array.from(n),i=new jn,o=new Pn,c=Mt(r,i,{keyMap:En,state:{sourceMap:t}});return Mt(c.rootNode,o,{keyMap:On,nodeTypeGetter:Bn,nodePredicate:$n,state:{sourceMap:t}})},An=(ut(),/(?<true>^\s*true\s*$)|(?<false>^\s*false\s*$)|(?<null>^\s*null\s*$)|(?<number>^\s*\d+\s*$)|(?<object>^\s*{\s*)|(?<array>^\s*\[\s*)|(?<string>^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/);const qn=u((function(e,t){return y((function(s,n){return s[n]=e(t[n],n,t),s}),{},U(t))}));const kn=a((function(e){return null==e}));var Cn=u((function(e,t){if(0===e.length||kn(t))return!1;for(var s=t,n=0;n<e.length;){if(kn(s)||!N(e[n],s))return!1;s=s[e[n]],n+=1}return!0}));const In=Cn;var Nn=u((function(e,t){return In([e],t)}));const Tn=Nn;const Rn=l((function(e,t,s){return e(g(t,s))}));const Fn=a((function(e){return I(e.length,e)}));const Vn=u((function(e,t){return I(e+1,(function(){var s=arguments[e];if(null!=s&&Ie(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(qe(s)+' does not have a method named "'+t+'"')}))}));const Dn=Vn(1,"split");var Ln=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=P,e.prototype["@@transducer/result"]=M,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 Jn(e){return function(t){return new Ln(e,t)}}const Un=u(B(["dropWhile"],Jn,(function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return be(s,1/0,t)})));const zn=Vn(1,"join");const Wn=Fn((function(e,t){return ye(Dn(""),Un(It(e)),zn(""))(t)})),Gn=(e,t)=>{const s=h(e,t);return qn((e=>{if(Qe(e)&&Tn("$ref",e)&&Rn(ht,"$ref",e)){const t=Ss(["$ref"],e),n=Wn("#/",t);return Ss(n.split("/"),s)}return Qe(e)?Gn(e,s):e}),e)};var Hn=l((function e(t,s,n){if(0===t.length)return s;var r=t[0];if(t.length>1){var i=!kn(n)&&N(r,n)&&"object"==typeof n[r]?n[r]:p(t[1])?[]:{};s=e(Array.prototype.slice.call(t,1),s,i)}return function(e,t,s){if(p(e)&&_(s)){var n=[].concat(s);return n[e]=t,n}var r={};for(var i in s)r[i]=s[i];return r[e]=t,r}(r,s,n)}));const Kn=Hn;const Zn=l((function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n}));var Xn=l((function(e,t,s){return Kn([e],t,s)}));const Qn=Xn;var Yn=u((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(p(e)&&_(t))return Zn(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],r=Array.prototype.slice.call(t,1);return null==s[n]?function(e,t){if(p(e)&&_(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):Qn(n,e(r,s[n]),s)}}));const er=Yn;const tr=function(){return!0},sr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:ds(e),nr={EphemeralObject:["content"],EphemeralArray:["content"],...fs},rr=(e,t,{keyMap:s=nr,...n}={})=>bs(e,t,{keyMap:s,nodeTypeGetter:sr,nodePredicate:tr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});rr[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=nr,...s}={})=>bs[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:sr,nodePredicate:tr,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 or=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 cr{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new or(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 Jt(e.href)?e.href.toValue():""}}const ar=e=>Lt(e)?Jt(e)||Ut(e)||Wt(e)||zt(e)?e.toValue():rr(e,new cr):e,ur=e=>{const t=e.meta.length>0?us(e.meta):void 0,s=e.attributes.length>0?us(e.attributes):void 0;return new e.constructor(void 0,t,s)},lr=(e,t)=>t.clone&&t.isMergeableElement(e)?mr(ur(e),e,t):e,hr=e=>"function"!=typeof e.customMetaMerge?e=>us(e):e.customMetaMerge,pr=e=>"function"!=typeof e.customAttributesMerge?e=>us(e):e.customAttributesMerge,dr={clone:!0,isMergeableElement:e=>Gt(e)||Ht(e),arrayElementMerge:(e,t,s)=>e.concat(t)["fantasy-land/map"]((e=>lr(e,s))),objectElementMerge:(e,t,s)=>{const n=Gt(e)?ur(e):ur(t);return Gt(e)&&e.forEach(((e,t,r)=>{const i=ps(r);i.value=lr(e,s),n.content.push(i)})),t.forEach(((t,r,i)=>{const o=ar(r);let c;if(Gt(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);c=ps(i),c.value=((e,t)=>{if("function"!=typeof t.customMerge)return mr;const s=t.customMerge(e,t);return"function"==typeof s?s:mr})(r,s)(n,t)}else c=ps(i),c.value=lr(t,s);n.remove(o),n.content.push(c)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function mr(e,t,s){var n,r,i;const o={...dr,...s};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:dr.isMergeableElement,o.arrayElementMerge=null!==(r=o.arrayElementMerge)&&void 0!==r?r:dr.arrayElementMerge,o.objectElementMerge=null!==(i=o.objectElementMerge)&&void 0!==i?i:dr.objectElementMerge;const c=Ht(t);if(!(c===Ht(e)))return lr(t,o);const a=c&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return a.meta=hr(o)(e.meta,t.meta),a.attributes=pr(o)(e.attributes,t.attributes),a}mr.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new ce.Sh:e.reduce(((e,s)=>mr(e,s,t)),ur(e[0]))};const gr=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),ns(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=mr(t.attributes,e.attributes))}};const fr=class extends gr{enter(e){return this.element=us(e),jt}},br=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},vr=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:vr(s,[...t,s])},yr=(e,t,s=[])=>{var n;const r=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map((e=>vr(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,i=Object.create(r),o=vr(r);for(let t of e){let e=vr(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(br(i,n,["constructor",...s]),o.push(n))}}return i.constructor=t,i},_r=e=>e.filter(((t,s)=>e.indexOf(t)==s)),Sr=(e,t)=>{const s=t.map((e=>vr(e)));let n=0,r=!0;for(;r;){r=!1;for(let i=t.length-1;i>=0;i--){const t=s[i][n];if(null!=t&&(r=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[i][0]}n++}},wr=(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(Sr(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==Sr(n,e)||void 0!==t[n],get:(s,n)=>(Sr(n,e)||t)[n],set(t,s,n){const r=Sr(s,e);if(void 0===r)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return r[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)))))}),Er=null,xr="copy",jr="copy",Or="deep",Br=new WeakMap,$r=e=>Br.get(e),Pr=(e,t)=>{var s,n;const r=_r([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of r)i[o]=_r([...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 i},Mr=(e,t)=>{var s,n,r,i;return{property:Pr(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:Pr(null!==(r=null==e?void 0:e.method)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.method)&&void 0!==i?i:{})}},Ar=(e,t)=>{var s,n,r,i,o,c;return{class:_r([...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!==(r=null==e?void 0:e.static)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.static)&&void 0!==i?i:{}),instance:Mr(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},qr=new Map,kr=(...e)=>{const t=((...e)=>{var t;const s=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const r=[...vr(e.prototype).map((e=>e.constructor)),...null!==(t=$r(e))&&void 0!==t?t:[]].filter((e=>!s.has(e)));for(let e of r)n.add(e);s.add(e),n.delete(e)}return[...s]})(...e).map((e=>qr.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>Ar(e,t)))},Cr=e=>{let t=qr.get(e);return t||(t={},qr.set(e,t)),t};function Ir(...e){var t,s,n;const r=e.map((e=>e.prototype)),i=Er;if(null!==i){const e=r.map((e=>e[i])).filter((e=>"function"==typeof e)),t={[i]:function(...t){for(let s of e)s.apply(this,t)}};r.push(t)}function o(...t){for(const s of e)br(this,new s(...t));null!==i&&"function"==typeof this[i]&&this[i].apply(this,t)}var c,a;o.prototype="copy"===jr?yr(r,o):(c=r,a=o,wr([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===xr?yr(e,null,["prototype"]):wr(e,Function.prototype));let u=o;if("none"!==Or){const r="deep"===Or?kr(...e):((...e)=>{const t=e.map((e=>Cr(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>Ar(e,t)))})(...e);for(let e of null!==(t=null==r?void 0:r.class)&&void 0!==t?t:[]){const t=e(u);t&&(u=t)}Nr(null!==(s=null==r?void 0:r.static)&&void 0!==s?s:{},u),Nr(null!==(n=null==r?void 0:r.instance)&&void 0!==n?n:{},u.prototype)}var l,h;return l=u,h=e,Br.set(l,h),u}const Nr=(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 Tr=u((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 Rr=class extends gr{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Tr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Ss(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Ce(He,["visitors",...e],this.specObj)?Ss(["visitors",...e],this.specObj):Ss(["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 fr&&(null==n?void 0:n.constructor)===fr?us(t):(bs(t,n,s),n.element)}};const Fr=class extends Rr{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,r)=>{if(Jt(n)&&s.includes(ar(n))&&!this.ignoredFields.includes(ar(n))){const s=this.toRefractedElement([...t,"fixedFields",ar(n)],e),i=new ce.Pr(us(n),s);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(ar(n))||this.element.content.push(us(r))})),this.copyMetaAndAttributes(e,this.element),jt}};class Vr extends ce.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 Dr=Vr;class Lr extends(Ir(Fr,fr)){constructor(e){super(e),this.element=new Dr,this.specPath=ne(["document","objects","JSONSchema"])}}const Jr=Lr;const Ur=class{parent;constructor({parent:e}){this.parent=e}},zr=e=>Gt(e)&&e.hasKey("$ref");class Wr extends(Ir(Rr,Ur,fr)){ObjectElement(e){const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),jt}ArrayElement(e){return this.element=new ce.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),jt}}const Gr=Wr;const Hr=class extends fr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-required"),t}};const Kr=a((function(e){return I(ge(Je,0,Ue("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 Zr=a((function(e){return!Bs(e)}));const Xr=u((function(e,t){return e||t}));var Qr=K(I(1,Te(Fe,u((function(e,t){return Ie(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:H(Xr)(e,t)}))(De,He))));const Yr=Kr([ht,Qr,Zr]);const ei=function(){return!1};const ti=class extends Rr{specPath;ignoredFields;fieldPatternPredicate=ei;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),r=this.toRefractedElement(n,e),i=new ce.Pr(us(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ar(t))||this.element.content.push(us(s))})),this.copyMetaAndAttributes(e,this.element),jt}};const si=class extends ti{constructor(e){super(e),this.fieldPatternPredicate=Yr}};class ni extends(Ir(si,Ur,fr)){constructor(e){super(e),this.element=new ce.Sh,this.element.classes.push("json-schema-properties"),this.specPath=e=>zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const ri=ni;class ii extends(Ir(si,Ur,fr)){constructor(e){super(e),this.element=new ce.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const oi=ii;class ci extends(Ir(si,Ur,fr)){constructor(e){super(e),this.element=new ce.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const ai=ci;const ui=class extends fr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-enum"),t}};const li=class extends fr{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 hi extends(Ir(Rr,Ur,fr)){constructor(e){super(e),this.element=new ce.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),jt}}const pi=hi;class di extends(Ir(Rr,Ur,fr)){constructor(e){super(e),this.element=new ce.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),jt}}const mi=di;class gi extends(Ir(Rr,Ur,fr)){constructor(e){super(e),this.element=new ce.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),jt}}const fi=gi;class bi extends(Ir(si,Ur,fr)){constructor(e){super(e),this.element=new ce.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=e=>zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const vi=bi;class yi extends(Ir(Rr,Ur,fr)){constructor(e){super(e),this.element=new ce.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),jt}}const _i=yi;class Si extends ce.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 wi=Si;class Ei extends(Ir(Fr,fr)){constructor(e){super(e),this.element=new wi,this.specPath=ne(["document","objects","JSONReference"])}ObjectElement(e){const t=Fr.prototype.ObjectElement.call(this,e);return Jt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const xi=Ei;const ji=class extends fr{StringElement(e){const t=this.enter(e);return this.element.classes.push("reference-value"),t}};const Oi=l((function(e,t,s){return I(Math.max(e.length,t.length,s.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)}))}));const Bi=a((function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}}));var $i=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Pi=$i;const Mi=a(At);const Ai=K(kn);const qi=Te($s,Zr);function ki(e){return function(e){if(Array.isArray(e))return Ci(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 Ci(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)?Ci(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 Ci(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 Ii=ye(Pi(Bi((function(e,t){return e.length>t.length}))),Hs,g("length")),Ni=Fn((function(e,t,s){var n=s.apply(void 0,ki(e));return Ai(n)?Mi(n):t}));const Ti=Oi(qi,(function(e){var t=Ii(e);return I(t,(function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return ge(Ni(s),void 0,e)}))}),re);const Ri=class extends Rr{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>Oi(e,ne(t),re))),s=Ti(t)(e);return this.element=this.toRefractedElement(s,e),jt}};const Fi=class extends Ri{constructor(e){super(e),this.alternator=[{predicate:zr,specPath:["document","objects","JSONReference"]},{predicate:tr,specPath:["document","objects","JSONSchema"]}]}};class Vi extends ce.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 Di=Vi;class Li extends(Ir(Fr,fr)){constructor(e){super(e),this.element=new Di,this.specPath=ne(["document","objects","Media"])}}const Ji=Li;class Ui extends ce.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 zi=Ui;class Wi extends(Ir(Fr,fr)){constructor(e){super(e),this.element=new zi,this.specPath=ne(["document","objects","LinkDescription"])}}const Gi={visitors:{value:fr,JSONSchemaOrJSONReferenceVisitor:Fi,document:{objects:{JSONSchema:{$visitor:Jr,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:Fi,items:Gr,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:Hr,properties:ri,additionalProperties:Fi,patternProperties:oi,dependencies:ai,enum:ui,type:li,allOf:pi,anyOf:mi,oneOf:fi,not:Fi,definitions:vi,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:_i,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:xi,fixedFields:{$ref:ji}},Media:{$visitor:Ji,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:Wi,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Fi,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Fi}}}}}};const Hi=class extends vt{},Ki=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Zi={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...fs},Xi=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Dr||e(n)&&t("JSONSchemaDraft4",n)&&s("object",n))),Qi=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof wi||e(n)&&t("JSONReference",n)&&s("object",n))),Yi=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Di||e(n)&&t("media",n)&&s("object",n))),eo=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof zi||e(n)&&t("linkDescription",n)&&s("object",n))),to={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Dr),t.register("jSONReference",wi),t.register("media",Di),t.register("linkDescription",zi),t}},so=()=>{const e=ut(to);return{predicates:{...t,isStringElement:Jt},namespace:e}},no=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Gi}={})=>{const r=(0,ce.e)(e),i=Gn(n),o=new(Ss(t,i))({specObj:i});return bs(r,o),ks(o.element,s,{toolboxCreator:so,visitorOptions:{keyMap:Zi,nodeTypeGetter:Ki}})},ro=e=>(t,s={})=>no(t,{specPath:e,...s});Dr.refract=ro(["visitors","document","objects","JSONSchema","$visitor"]),wi.refract=ro(["visitors","document","objects","JSONReference","$visitor"]),Di.refract=ro(["visitors","document","objects","Media","$visitor"]),zi.refract=ro(["visitors","document","objects","LinkDescription","$visitor"]);const io=class extends Dr{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idProp(){throw new Hi("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Hi("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)}};class oo extends(Ir(Fr,fr)){constructor(e){super(e),this.specPath=ne(["document","objects","JSONSchema"])}ObjectElement(e){return this.element=new io,Fr.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=this.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const co=oo;class ao extends(Ir(Rr,Ur,fr)){ObjectElement(e){const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),jt}ArrayElement(e){return this.element=new ce.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),jt}BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),jt}}const uo=ao;const lo=class extends fr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-examples"),t}};const ho=class extends zi{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 Hi("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Hi("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 Hi("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Hi("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Hi("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Hi("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};class po extends(Ir(Fr,fr)){constructor(e){super(e),this.element=new ho,this.specPath=ne(["document","objects","LinkDescription"])}}const mo=po,go=ye(Kn(["visitors","document","objects","JSONSchema","$visitor"],co),er(["visitors","document","objects","JSONSchema","fixedFields","id"]),Kn(["visitors","document","objects","JSONSchema","fixedFields","$id"],Gi.visitors.value),Kn(["visitors","document","objects","JSONSchema","fixedFields","contains"],Gi.visitors.JSONSchemaOrJSONReferenceVisitor),Kn(["visitors","document","objects","JSONSchema","fixedFields","items"],uo),Kn(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Gi.visitors.JSONSchemaOrJSONReferenceVisitor),Kn(["visitors","document","objects","JSONSchema","fixedFields","const"],Gi.visitors.value),Kn(["visitors","document","objects","JSONSchema","fixedFields","examples"],lo),Kn(["visitors","document","objects","LinkDescription","$visitor"],mo),Kn(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Gi.visitors.JSONSchemaOrJSONReferenceVisitor),er(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Kn(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Gi.visitors.JSONSchemaOrJSONReferenceVisitor),er(["visitors","document","objects","LinkDescription","fixedFields","method"]),er(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Kn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Gi.visitors.value))(Gi),fo=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},bo={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...fs},vo=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof io||e(n)&&t("JSONSchemaDraft6",n)&&s("object",n))),yo=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ho||e(n)&&t("linkDescription",n)&&s("object",n))),_o={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",io),t.register("jSONReference",wi),t.register("media",Di),t.register("linkDescription",ho),t}},So=()=>{const e=ut(_o);return{predicates:{...r,isStringElement:Jt},namespace:e}},wo=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=go}={})=>{const r=(0,ce.e)(e),i=Gn(n),o=new(Ss(t,i))({specObj:i});return bs(r,o),ks(o.element,s,{toolboxCreator:So,visitorOptions:{keyMap:bo,nodeTypeGetter:fo}})},Eo=e=>(t,s={})=>wo(t,{specPath:e,...s});io.refract=Eo(["visitors","document","objects","JSONSchema","$visitor"]),ho.refract=Eo(["visitors","document","objects","LinkDescription","$visitor"]);const xo=class extends io{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 if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Hi('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Hi('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)}};class jo extends(Ir(Fr,fr)){constructor(e){super(e),this.specPath=ne(["document","objects","JSONSchema"])}ObjectElement(e){return this.element=new xo,Fr.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=this.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const Oo=jo;const Bo=class extends ho{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get mediaType(){throw new Hi("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Hi("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get submissionEncType(){throw new Hi("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Hi("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}};class $o extends(Ir(Fr,fr)){constructor(e){super(e),this.element=new Bo,this.specPath=ne(["document","objects","LinkDescription"])}}const Po=$o,Mo=ye(Kn(["visitors","document","objects","JSONSchema","$visitor"],Oo),Kn(["visitors","document","objects","JSONSchema","fixedFields","$comment"],go.visitors.value),Kn(["visitors","document","objects","JSONSchema","fixedFields","if"],go.visitors.JSONSchemaOrJSONReferenceVisitor),Kn(["visitors","document","objects","JSONSchema","fixedFields","then"],go.visitors.JSONSchemaOrJSONReferenceVisitor),Kn(["visitors","document","objects","JSONSchema","fixedFields","else"],go.visitors.JSONSchemaOrJSONReferenceVisitor),er(["visitors","document","objects","JSONSchema","fixedFields","media"]),Kn(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],go.visitors.value),Kn(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],go.visitors.value),Kn(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],go.visitors.value),Kn(["visitors","document","objects","LinkDescription","$visitor"],Po),Kn(["visitors","document","objects","LinkDescription","fixedFields","anchor"],go.visitors.value),Kn(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],go.visitors.value),er(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Kn(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],go.visitors.value),Kn(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],go.visitors.value),Kn(["visitors","document","objects","LinkDescription","fixedFields","description"],go.visitors.value),Kn(["visitors","document","objects","LinkDescription","fixedFields","$comment"],go.visitors.value),er(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Kn(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],go.visitors.value))(go);const Ao=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),ns(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=mr(t.attributes,e.attributes))}};const qo=class extends Ao{enter(e){return this.element=us(e),jt}};const ko=class extends Ao{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Tr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Ss(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Ce(He,["visitors",...e],this.specObj)?Ss(["visitors",...e],this.specObj):Ss(["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 qo&&(null==n?void 0:n.constructor)===qo?us(t):(bs(t,n,s),n.element)}};const Co=class extends ko{MemberElement(e){return this.element=us(e),this.element.classes.push("specification-extension"),jt}};var Io=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=P,e.prototype["@@transducer/result"]=M,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?At(s):s},e}();function No(e){return function(t){return new Io(e,t)}}const To=u(B(["take"],No,(function(e,t){return be(0,e<0?1/0:e,t)})));const Ro=u((function(e,t){return se(To(e.length,t),e)})),Fo=e=>Gt(e)&&e.hasKey("$ref"),Vo=e=>Jt(e.key)&&Ro("x-",ar(e.key));const Do=class extends ko{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=Vo;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...r}){super({...r}),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,r)=>{if(Jt(n)&&s.includes(ar(n))&&!this.ignoredFields.includes(ar(n))){const s=this.toRefractedElement([...t,"fixedFields",ar(n)],e),i=new ce.Pr(us(n),s);i.classes.push("fixed-field"),this.copyMetaAndAttributes(r,i),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(ar(n))||this.element.content.push(us(r))})),this.copyMetaAndAttributes(e,this.element),jt}};class Lo extends ce.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 Jo=Lo;class Uo extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Jo,this.specPath=ne(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}}const zo=Uo;class Wo extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Go=Wo;class Ho extends(Ir(ko,qo)){StringElement(e){const t=new Go(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,jt}}const Ko=Ho;class Zo extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="identifier"}}const Xo=Zo;class Qo extends(Ir(ko,qo)){StringElement(e){const t=new Xo(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,jt}}const Yo=Qo;class ec extends ce.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 tc=ec;class sc extends(Ir(Do,qo)){constructor(e){super(e),this.element=new tc,this.specPath=ne(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const nc=sc;const rc=class extends qo{StringElement(e){return this.element=new ce.Om(ar(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),jt}};class ic extends ce.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 oc=ic;class cc extends(Ir(Do,qo)){constructor(e){super(e),this.element=new oc,this.specPath=ne(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const ac=cc;class uc extends ce.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 lc=uc;class hc extends(Ir(Do,qo)){constructor(e){super(e),this.element=new lc,this.specPath=ne(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}}const pc=hc;class dc extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}}const mc=dc;class gc extends(Ir(ko,qo)){StringElement(e){const t=new mc(ar(e));return this.copyMetaAndAttributes(e,t),this.element=t,jt}}const fc=gc;class bc extends ce.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 vc=bc;class yc extends(Ir(Do,qo)){constructor(e){super(e),this.element=new vc,this.specPath=ne(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const _c=yc;class Sc extends ce.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 wc=Sc;class Ec extends(Ir(Do,qo)){constructor(e){super(e),this.element=new wc,this.specPath=ne(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const xc=Ec;class jc extends ce.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 Oc=jc;class Bc extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Oc,this.specPath=ne(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const $c=Bc;class Pc extends ce.Sh{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Pc.primaryClass)}}const Mc=Pc;const Ac=class extends ko{specPath;ignoredFields;fieldPatternPredicate=ei;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=Vo;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:r,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof r&&(this.specificationExtensionPredicate=r)}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),r=this.toRefractedElement(n,e),i=new ce.Pr(us(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ar(t))||this.element.content.push(us(s))})),this.copyMetaAndAttributes(e,this.element),jt}};const qc=class extends Ac{constructor(e){super(e),this.fieldPatternPredicate=Yr}};class kc extends(Ir(qc,qo)){constructor(e){super(e),this.element=new Mc,this.specPath=ne(["value"])}}const Cc=kc;const Ic=u((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 "+qe(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 Nc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="servers"}}const Tc=Nc;class Rc extends ce.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 Fc=Rc;class Vc extends ce.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 Dc=Vc;class Lc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="channels"}}const Jc=Lc;class Uc extends ce.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 zc=Uc;class Wc extends ce.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 Gc=Wc;class Hc extends ce.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 Kc=Hc;class Zc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="parameters"}}const Xc=Zc;class Qc extends ce.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 Yc=Qc,ea=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ta={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...fs},sa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof xo||e(n)&&t("JSONSchemaDraft7",n)&&s("object",n))),na=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Bo||e(n)&&t("linkDescription",n)&&s("object",n))),ra={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",xo),t.register("jSONReference",wi),t.register("linkDescription",Bo),t}},ia=()=>{const e=ut(ra);return{predicates:{...i,isStringElement:Jt},namespace:e}},oa=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Mo}={})=>{const r=(0,ce.e)(e),i=Gn(n),o=new(Ss(t,i))({specObj:i});return bs(r,o),ks(o.element,s,{toolboxCreator:ia,visitorOptions:{keyMap:ta,nodeTypeGetter:ea}})},ca=e=>(t,s={})=>oa(t,{specPath:e,...s});xo.refract=ca(["visitors","document","objects","JSONSchema","$visitor"]),Bo.refract=ca(["visitors","document","objects","LinkDescription","$visitor"]);const aa=class extends xo{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 ua extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}}const la=ua;class ha extends ce.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 pa=ha;class da extends ce.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 ma=da;class ga extends ce.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 fa=ga,ba=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof Jo||e(r)&&t("asyncApi2",r)&&s("object",r)&&n("api",r))),va=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Go||e(n)&&t("asyncApiVersion",n)&&s("string",n))),ya=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Fc||e(n)&&t("channelBindings",n)&&s("object",n))),_a=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Dc||e(n)&&t("channelItem",n)&&s("object",n))),Sa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Jc||e(n)&&t("channels",n)&&s("object",n))),wa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof zc||e(n)&&t("components",n)&&s("object",n))),Ea=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oc||e(n)&&t("contact",n)&&s("object",n))),xa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Xo||e(n)&&t("identifier",n)&&s("string",n))),ja=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof tc||e(n)&&t("info",n)&&s("object",n))),Oa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof vc||e(n)&&t("license",n)&&s("object",n))),Ba=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Gc||e(n)&&t("operation",n)&&s("object",n))),$a=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Kc||e(n)&&t("parameter",n)&&s("object",n))),Pa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Xc||e(n)&&t("parameters",n)&&s("object",n))),Ma=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Yc||e(n)&&t("reference",n)&&s("object",n))),Aa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof aa||e(n)&&t("schema",n)&&s("object",n))),qa=e=>Wt(e)&&e.classes.includes("boolean-json-schema"),ka=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof la||e(n)&&t("securityRequirement",n)&&s("object",n))),Ca=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof pa||e(n)&&t("server",n)&&s("object",n))),Ia=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ma||e(n)&&t("serverBindings",n)&&s("object",n))),Na=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Tc||e(n)&&t("servers",n)&&s("object",n))),Ta=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof fa||e(n)&&t("serverVariable",n)&&s("object",n)));class Ra extends(Ir(Ac,qo)){constructor(e){super(e),this.element=new Tc,this.element.classes.push("servers"),this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=Ic(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){const t=Ac.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const Fa=Ra;class Va extends(Ir(Do,qo)){constructor(e){super(e),this.element=new pa,this.specPath=ne(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const Da=Va;const La=class extends qo{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}};const Ja=class extends ko{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>Oi(e,ne(t),re))),s=Ti(t)(e);return this.element=this.toRefractedElement(s,e),jt}};class Ua extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}const za=Ua;class Wa extends ce.Sh{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Wa.primaryClass)}}const Ga=Wa;class Ha extends(Ir(qc,qo)){constructor(e){super(e),this.element=new Ga,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}}const Ka=Ha;class Za extends ce.wE{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(Za.primaryClass)}}const Xa=Za;class Qa extends(Ir(ko,qo)){constructor(e){super(e),this.element=new Xa}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),jt}}const Ya=Qa;class eu extends(Ir(Do,qo)){constructor(e){super(e),this.element=new fa,this.specPath=ne(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const tu=eu;class su extends(Ir(Do,qo)){constructor(e){super(e),this.element=new ma,this.specPath=ne(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}}const nu=su;class ru extends ce.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 iu=ru;class ou extends(Ir(Do,qo)){constructor(e){super(e),this.element=new iu,this.specPath=ne(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const cu=ou;class au extends(Ir(qc,qo)){constructor(e){super(e),this.element=new la,this.specPath=ne(["value"])}}const uu=au;class lu extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Yc,this.specPath=ne(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Do.prototype.ObjectElement.call(this,e);return Jt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const hu=lu;const pu=class extends qo{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class du extends(Ir(Do,qo)){constructor(e){super(e),this.specPath=ne(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return this.element=new aa,Do.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=super.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const mu=du,{JSONSchemaOrJSONReferenceVisitor:gu}=Mo.visitors;const fu=class extends gu{enter(e){const t=gu.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}},{allOf:bu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const vu=class extends bu{ArrayElement(e){const t=bu.prototype.ArrayElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{anyOf:yu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const _u=class extends yu{ArrayElement(e){const t=yu.prototype.ArrayElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{oneOf:Su}=Mo.visitors.document.objects.JSONSchema.fixedFields;const wu=class extends Su{ArrayElement(e){const t=Su.prototype.ArrayElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{definitions:Eu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const xu=class extends Eu{ObjectElement(e){const t=Eu.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{dependencies:ju}=Mo.visitors.document.objects.JSONSchema.fixedFields;const Ou=class extends ju{ObjectElement(e){const t=ju.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{items:Bu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const $u=class extends Bu{ObjectElement(e){const t=Bu.prototype.ObjectElement.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}ArrayElement(e){const t=Bu.prototype.ArrayElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{patternProperties:Pu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const Mu=class extends Pu{ObjectElement(e){const t=Pu.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{properties:Au}=Mo.visitors.document.objects.JSONSchema.fixedFields;const qu=class extends Au{ObjectElement(e){const t=Au.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},ku=z((e=>e===Mo.visitors.JSONSchemaOrJSONReferenceVisitor?fu:e),Mo.visitors.document.objects.JSONSchema.fixedFields);class Cu extends(Ir(Ac,qo)){constructor(e){super(e),this.element=new Xc,this.specPath=e=>Fo(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=Ac.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const Iu=Cu;class Nu extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Kc,this.specPath=ne(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const Tu=Nu;class Ru extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Fu=Ru;class Vu extends ce.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 Du=Vu;class Lu extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Du,this.specPath=ne(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const Ju=Lu;class Uu extends(Ir(Do,qo)){constructor(e){super(e),this.element=new zc,this.specPath=ne(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const zu=Uu;class Wu extends ce.Sh{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(Wu.primaryClass)}}const Gu=Wu;class Hu extends(Ir(qc,qo)){constructor(e){super(e),this.element=new Gu,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const Ku=Hu;class Zu extends ce.Sh{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Zu.primaryClass)}}const Xu=Zu;class Qu extends(Ir(qc,qo)){constructor(e){super(e),this.element=new Xu,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const Yu=Qu;class el extends ce.Sh{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(el.primaryClass)}}const tl=el;class sl extends(Ir(qc,qo)){constructor(e){super(e),this.element=new tl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}const nl=sl;class rl extends ce.Sh{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(rl.primaryClass)}}const il=rl;class ol extends(Ir(qc,qo)){constructor(e){super(e),this.element=new il,this.specPath=ne(["document","objects","ChannelItem"])}}const cl=ol;class al extends ce.Sh{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(al.primaryClass)}}const ul=al;class ll extends(Ir(qc,qo)){constructor(e){super(e),this.element=new ul,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const hl=ll;class pl extends ce.Sh{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(pl.primaryClass)}}const dl=pl;class ml extends(Ir(qc,qo)){constructor(e){super(e),this.element=new dl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}const gl=ml;class fl extends ce.Sh{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(fl.primaryClass)}}const bl=fl;class vl extends(Ir(qc,qo)){constructor(e){super(e),this.element=new bl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const yl=vl;class _l extends ce.Sh{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(_l.primaryClass)}}const Sl=_l;class wl extends(Ir(qc,qo)){constructor(e){super(e),this.element=new Sl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}const El=wl;class xl extends ce.Sh{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(xl.primaryClass)}}const jl=xl;class Ol extends(Ir(qc,qo)){constructor(e){super(e),this.element=new jl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}const Bl=Ol;class $l extends ce.Sh{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push($l.primaryClass)}}const Pl=$l;class Ml extends(Ir(qc,qo)){constructor(e){super(e),this.element=new Pl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}const Al=Ml;class ql extends ce.Sh{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(ql.primaryClass)}}const kl=ql;class Cl extends(Ir(qc,qo)){constructor(e){super(e),this.element=new kl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}const Il=Cl;class Nl extends ce.Sh{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Nl.primaryClass)}}const Tl=Nl;class Rl extends(Ir(qc,qo)){constructor(e){super(e),this.element=new Tl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}const Fl=Rl;class Vl extends ce.Sh{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Vl.primaryClass)}}const Dl=Vl;class Ll extends(Ir(qc,qo)){constructor(e){super(e),this.element=new Dl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}const Jl=Ll;class Ul extends ce.Sh{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Ul.primaryClass)}}const zl=Ul;class Wl extends(Ir(qc,qo)){constructor(e){super(e),this.element=new zl,this.specPath=e=>Fo(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){const t=qc.prototype.ObjectElement.call(this,e);return this.element.filter(Ma).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}const Gl=Wl;class Hl extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Gc,this.specPath=ne(["document","objects","Operation"])}}const Kl=Hl;class Zl extends ce.wE{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Zl.primaryClass)}}const Xl=Zl;class Ql extends(Ir(ko,qo)){constructor(e){super(e),this.element=new Xl}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),jt}}const Yl=Ql;class eh extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const th=eh;class sh extends ce.wE{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(sh.primaryClass)}}const nh=sh;class rh extends(Ir(ko,qo)){constructor(e){super(e),this.element=new nh}ArrayElement(e){return e.forEach((e=>{let t;Fo(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),jt}}const ih=rh;class oh extends ce.Sh{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(oh.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const ch=oh;class ah extends ce.wE{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(ah.primaryClass)}}const uh=ah;class lh extends(Ir(ko,qo)){ObjectElement(e){if(Fo(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(Ht(e.get("oneOf"))){this.element=new ch;const t=new uh;e.get("oneOf").forEach((e=>{let s;Fo(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),jt}}const hh=lh;class ph extends ce.wE{constructor(e,t,s){super(e,t,s),this.element="tags"}}const dh=ph;class mh extends(Ir(ko,qo)){constructor(e){super(e),this.element=new dh}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),jt}}const gh=mh;class fh extends ce.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 bh=fh;class vh extends(Ir(Do,qo)){constructor(e){super(e),this.element=new bh,this.specPath=ne(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const yh=vh;class _h extends(Ir(qc,qo)){constructor(e){super(e),this.element=new Jc,this.specPath=ne(["document","objects","ChannelItem"])}}const Sh=_h;class wh extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Fc,this.specPath=ne(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}}const Eh=wh;class xh extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Dc,this.specPath=ne(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=Do.prototype.ObjectElement.call(this,e);return Jt(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}const jh=xh;const Oh=class extends qo{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Bh extends ce.wE{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(Bh.primaryClass)}}const $h=Bh;class Ph extends(Ir(ko,qo)){constructor(e){super(e),this.element=new $h}ArrayElement(e){return e.forEach((e=>{const t=us(e);Jt(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),jt}}const Mh=Ph;class Ah extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}const qh=Ah;class kh extends ce.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 Ch=kh;class Ih extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Ch,this.specPath=ne(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}}const Nh=Ih;class Th extends ce.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 Rh=Th;class Fh extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Rh,this.specPath=ne(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}}const Vh=Fh;class Dh extends ce.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 Lh=Dh;class Jh extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Lh,this.specPath=ne(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}}const Uh=Jh;class zh extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Wh=zh;class Gh extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const Hh=Gh;class Kh extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const Zh=Kh;class Xh extends ce.wE{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Xh.primaryClass)}}const Qh=Xh;class Yh extends(Ir(ko,qo)){constructor(e){super(e),this.element=new Qh}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),jt}}const ep=Yh;const tp=a((function(e){return m(-1,e)}));const sp=class extends Hi{};const np=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new sp("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new sp("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new sp("latest method in MediaTypes class is not yet implemented.")}};class rp extends np{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 tp(this.filterByFormat(e))}}const ip=new rp("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 op extends ce.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 cp=op;class ap extends(Ir(Do,qo)){constructor(e){super(e),this.element=new cp,this.specPath=ne(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=Do.prototype.ObjectElement.call(this,e),s=this.element.get("payload"),n=h(ip.latest(),ar(e.get("schemaFormat")));if(ip.includes(n)&&Fo(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else ip.includes(n)&&Gt(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return t}}const up=ap;class lp extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const hp=lp;class pp extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const dp=pp;class mp extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const gp=mp;class fp extends ce.wE{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(fp.primaryClass)}}const bp=fp;class vp extends(Ir(ko,qo)){constructor(e){super(e),this.element=new bp}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),jt}}const yp=vp;class _p extends ce.wE{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(_p.primaryClass)}}const Sp=_p;class wp extends(Ir(ko,qo)){constructor(e){super(e),this.element=new Sp}ArrayElement(e){return e.forEach((e=>{let t;Fo(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),jt}}const Ep=wp;class xp extends ce.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 jp=xp;class Op extends(Ir(Do,qo)){constructor(e){super(e),this.element=new jp,this.specPath=ne(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}}const Bp=Op;class $p extends ce.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 Pp=$p;class Mp extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Pp,this.specPath=ne(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}}const Ap=Mp;class qp extends ce.wE{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(qp.primaryClass)}}const kp=qp;class Cp extends(Ir(ko,qo)){constructor(e){super(e),this.element=new kp}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),jt}}const Ip=Cp;class Np extends(Ir(Ja,qo)){constructor(e){super(e),this.alternator=[{predicate:Fo,specPath:["document","objects","Reference"]},{predicate:tr,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=Ja.prototype.enter.call(this,e);return Ma(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const Tp=Np;class Rp extends ce.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 Fp=Rp;class Vp extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Fp,this.specPath=ne(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Dp=Vp;class Lp extends ce.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 Jp=Lp;class Up extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Jp,this.specPath=ne(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const zp=Up;class Wp extends ce.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 Gp=Wp;class Hp extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Gp,this.specPath=ne(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Kp=Hp;class Zp extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}}const Xp=Zp;class Qp extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Xp,this.specPath=ne(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Yp=Qp;class ed extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const td=ed;class sd extends(Ir(Do,qo)){constructor(e){super(e),this.element=new td,this.specPath=ne(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const nd=sd;class rd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const id=rd;class od extends(Ir(Do,qo)){constructor(e){super(e),this.element=new id,this.specPath=ne(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const cd=od;class ad extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const ud=ad;class ld extends(Ir(Do,qo)){constructor(e){super(e),this.element=new ud,this.specPath=ne(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const hd=ld;class pd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const dd=pd;class md extends(Ir(Do,qo)){constructor(e){super(e),this.element=new dd,this.specPath=ne(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const gd=md;class fd extends ce.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 bd=fd;class vd extends(Ir(Do,qo)){constructor(e){super(e),this.element=new bd,this.specPath=ne(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const yd=vd;class _d extends ce.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 Sd=_d;class wd extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Sd,this.specPath=ne(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ed=wd;class xd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const jd=xd;class Od extends(Ir(Do,qo)){constructor(e){super(e),this.element=new jd,this.specPath=ne(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Bd=Od;class $d extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const Pd=$d;class Md extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Pd,this.specPath=ne(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Ad=Md;class qd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const kd=qd;class Cd extends(Ir(Do,qo)){constructor(e){super(e),this.element=new kd,this.specPath=ne(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Id=Cd;class Nd extends ce.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 Td=Nd;class Rd extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Td,this.specPath=ne(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Fd=Rd;class Vd extends ce.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 Dd=Vd;class Ld extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Dd,this.specPath=ne(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Jd=Ld;class Ud extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}}const zd=Ud;class Wd extends(Ir(Do,qo)){constructor(e){super(e),this.element=new zd,this.specPath=ne(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Gd=Wd;class Hd extends ce.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 Kd=Hd;class Zd extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Kd,this.specPath=ne(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Xd=Zd;class Qd extends ce.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 Yd=Qd;class em extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Yd,this.specPath=ne(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const tm=em;class sm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const nm=sm;class rm extends(Ir(Do,qo)){constructor(e){super(e),this.element=new nm,this.specPath=ne(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const im=rm;class om extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const cm=om;class am extends(Ir(Do,qo)){constructor(e){super(e),this.element=new cm,this.specPath=ne(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const um=am;class lm extends ce.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 hm=lm;class pm extends(Ir(Do,qo)){constructor(e){super(e),this.element=new hm,this.specPath=ne(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const dm=pm;class mm extends ce.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 gm=mm;class fm extends(Ir(Do,qo)){constructor(e){super(e),this.element=new gm,this.specPath=ne(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const bm=fm;class vm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const ym=vm;class _m extends(Ir(Do,qo)){constructor(e){super(e),this.element=new ym,this.specPath=ne(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Sm=_m;class wm extends ce.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 Em=wm;class xm extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Em,this.specPath=ne(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const jm=xm;class Om extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const Bm=Om;class $m extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Bm,this.specPath=ne(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Pm=$m;class Mm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Am=Mm;class qm extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Am,this.specPath=ne(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const km=qm;class Cm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const Im=Cm;class Nm extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Im,this.specPath=ne(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Tm=Nm;class Rm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}}const Fm=Rm;class Vm extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Fm,this.specPath=ne(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Dm=Vm;class Lm extends ce.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 Jm=Lm;class Um extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Jm,this.specPath=ne(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const zm=Um;class Wm extends ce.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 Gm=Wm;class Hm extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Gm,this.specPath=ne(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Km=Hm;class Zm extends ce.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 Xm=Zm;class Qm extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Xm,this.specPath=ne(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ym=Qm;class eg extends ce.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 tg=eg;class sg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new tg,this.specPath=ne(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const ng=sg;class rg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const ig=rg;class og extends(Ir(Do,qo)){constructor(e){super(e),this.element=new ig,this.specPath=ne(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const cg=og;class ag extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const ug=ag;class lg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new ug,this.specPath=ne(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const hg=lg;class pg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const dg=pg;class mg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new dg,this.specPath=ne(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const gg=mg;class fg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}}const bg=fg;class vg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new bg,this.specPath=ne(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const yg=vg;class _g extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const Sg=_g;class wg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Sg,this.specPath=ne(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Eg=wg;class xg extends ce.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 jg=xg;class Og extends(Ir(Do,qo)){constructor(e){super(e),this.element=new jg,this.specPath=ne(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Bg=Og;class $g extends ce.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 Pg=$g;class Mg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Pg,this.specPath=ne(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ag=Mg;class qg extends ce.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 kg=qg;class Cg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new kg,this.specPath=ne(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Ig=Cg;class Ng extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const Tg=Ng;class Rg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Tg,this.specPath=ne(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Fg=Rg;class Vg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const Dg=Vg;class Lg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Dg,this.specPath=ne(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Jg=Lg;class Ug extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const zg=Ug;class Wg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new zg,this.specPath=ne(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Gg=Wg;class Hg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const Kg=Hg;class Zg extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Kg,this.specPath=ne(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Xg=Zg;class Qg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const Yg=Qg;class ef extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Yg,this.specPath=ne(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const tf=ef;class sf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}}const nf=sf;class rf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new nf,this.specPath=ne(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const of=rf;class cf extends ce.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 af=cf;class uf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new af,this.specPath=ne(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const lf=uf;class hf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}}const pf=hf;class df extends(Ir(Do,qo)){constructor(e){super(e),this.element=new pf,this.specPath=ne(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const mf=df;class gf extends ce.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 ff=gf;class bf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new ff,this.specPath=ne(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const vf=bf;class yf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const _f=yf;class Sf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new _f,this.specPath=ne(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const wf=Sf;class Ef extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const xf=Ef;class jf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new xf,this.specPath=ne(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Of=jf;class Bf extends ce.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 $f=Bf;class Pf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new $f,this.specPath=ne(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Mf=Pf;class Af extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const qf=Af;class kf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new qf,this.specPath=ne(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Cf=kf;class If extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}}const Nf=If;class Tf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Nf,this.specPath=ne(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Rf=Tf;class Ff extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Vf=Ff;class Df extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Vf,this.specPath=ne(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Lf=Df;class Jf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}}const Uf=Jf;class zf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Uf,this.specPath=ne(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Wf=zf;class Gf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const Hf=Gf;class Kf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Hf,this.specPath=ne(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Zf=Kf;class Xf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}}const Qf=Xf;class Yf extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Qf,this.specPath=ne(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const eb=Yf;class tb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const sb=tb;class nb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new sb,this.specPath=ne(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const rb=nb;class ib extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}}const ob=ib;class cb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new ob,this.specPath=ne(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const ab=cb;class ub extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const lb=ub;class hb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new lb,this.specPath=ne(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const pb=hb;class db extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const mb=db;class gb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new mb,this.specPath=ne(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const fb=gb;class bb extends ce.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 vb=bb;class yb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new vb,this.specPath=ne(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const _b=yb;class Sb extends ce.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 wb=Sb;class Eb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new wb,this.specPath=ne(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const xb=Eb;class jb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const Ob=jb;class Bb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Ob,this.specPath=ne(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const $b=Bb;class Pb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const Mb=Pb;class Ab extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Mb,this.specPath=ne(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const qb=Ab;class kb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const Cb=kb;class Ib extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Cb,this.specPath=ne(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Nb=Ib;class Tb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}}const Rb=Tb;class Fb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Rb,this.specPath=ne(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Vb=Fb;class Db extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const Lb=Db;class Jb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Lb,this.specPath=ne(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Ub=Jb;class zb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}}const Wb=zb;class Gb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Wb,this.specPath=ne(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Hb=Gb;class Kb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const Zb=Kb;class Xb extends(Ir(Do,qo)){constructor(e){super(e),this.element=new Zb,this.specPath=ne(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Qb=Xb;class Yb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}}const ev=Yb;class tv extends(Ir(Do,qo)){constructor(e){super(e),this.element=new ev,this.specPath=ne(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const sv=tv;class nv extends ce.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 rv=nv;class iv extends(Ir(Do,qo)){constructor(e){super(e),this.element=new rv,this.specPath=ne(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const ov=iv;class cv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const av=cv;class uv extends(Ir(Do,qo)){constructor(e){super(e),this.element=new av,this.specPath=ne(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const lv=uv;class hv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const pv=hv;class dv extends(Ir(Do,qo)){constructor(e){super(e),this.element=new pv,this.specPath=ne(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const mv=dv;class gv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const fv=gv;class bv extends(Ir(Do,qo)){constructor(e){super(e),this.element=new fv,this.specPath=ne(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const vv=bv,yv={$visitor:hu,fixedFields:{$ref:pu}},_v={$visitor:mu,fixedFields:{...ku,allOf:vu,anyOf:_u,oneOf:wu,items:$u,properties:qu,patternProperties:Mu,dependencies:Ou,definitions:xu,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},Sv={visitors:{value:qo,document:{objects:{AsyncApi:{$visitor:zo,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:Ko},Identifier:{$visitor:Yo},Info:{$visitor:nc,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:rc,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:ac,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:_c,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{$visitor:Fa},Server:{$visitor:Da,fixedFields:{url:La,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:Ka,security:Ya,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:za}},ServerVariable:{$visitor:tu,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{$visitor:fc},Channels:{$visitor:Sh},ChannelItem:{$visitor:jh,fixedFields:{$ref:Oh,description:{$ref:"#/visitors/value"},servers:Mh,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:qh}},Operation:{$visitor:Kl,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Yl,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:th,traits:ih,message:hh}},OperationTrait:{$visitor:Ap,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Ip,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Tp}},Message:{$visitor:up,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:hp,payload:{$ref:"#/visitors/value"},correlationId:dp,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:gp,examples:yp,traits:Ep}},MessageTrait:{$visitor:Uh,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Wh,correlationId:Hh,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:Zh,examples:ep}},MessageExample:{$visitor:Vh,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{$visitor:gh},Tag:{$visitor:yh,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:Ju,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{$visitor:zu,fixedFields:{schemas:Ku,servers:Yu,serverVariables:nl,channels:cl,messages:hl,securitySchemes:gl,parameters:yl,correlationIds:El,operationTraits:Bl,messageTraits:Al,serverBindings:Il,channelBindings:Fl,operationBindings:Jl,messageBindings:Gl}},JSONReference:yv,Reference:yv,JSONSchema:_v,Schema:_v,LinkDescription:Mo.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:cu,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:uu},OAuthFlows:{$visitor:xc,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:$c,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Cc}},ServerBindings:{$visitor:nu,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:Iu},Parameter:{$visitor:Tu,fixedFields:{description:{$ref:"#/visitors/value"},schema:Fu,location:{$ref:"#/visitors/value"}}},ChannelBindings:{$visitor:Eh,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:Nh,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:pc,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{$visitor:Gd},ChannelBinding:{$visitor:Id},OperationBinding:{$visitor:Jd,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:fu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Fd,fixedFields:{headers:fu,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:vv},ChannelBinding:{$visitor:ov,fixedFields:{method:{$ref:"#/visitors/value"},query:fu,headers:fu,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:mv},MessageBinding:{$visitor:lv}},kafka:{ServerBinding:{$visitor:ng,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:zm,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Ym,fixedFields:{groupId:fu,clientId:fu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Km,fixedFields:{key:fu,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:Ad},ChannelBinding:{$visitor:yd,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Bd},MessageBinding:{$visitor:Ed,fixedFields:{headers:fu,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Yp},ChannelBinding:{$visitor:Dp,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Kp,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:zp,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:gd},ChannelBinding:{$visitor:nd},OperationBinding:{$visitor:hd},MessageBinding:{$visitor:cd}},mqtt:{ServerBinding:{$visitor:Ig,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Eg},OperationBinding:{$visitor:Ag,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Bg,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:Xg},ChannelBinding:{$visitor:Fg},OperationBinding:{$visitor:Gg},MessageBinding:{$visitor:Jg}},nats:{ServerBinding:{$visitor:mf},ChannelBinding:{$visitor:tf},OperationBinding:{$visitor:lf,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:of}},pulsar:{ServerBinding:{$visitor:Mf,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:vf,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:Of},MessageBinding:{$visitor:wf}},jms:{ServerBinding:{$visitor:Dm},ChannelBinding:{$visitor:Pm},OperationBinding:{$visitor:Tm},MessageBinding:{$visitor:km}},sns:{ServerBinding:{$visitor:ab},ChannelBinding:{$visitor:Zf},OperationBinding:{$visitor:rb},MessageBinding:{$visitor:eb}},solace:{ServerBinding:{$visitor:xb,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:pb},OperationBinding:{$visitor:_b,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:fb}},sqs:{ServerBinding:{$visitor:Vb},ChannelBinding:{$visitor:$b},OperationBinding:{$visitor:Nb},MessageBinding:{$visitor:qb}},stomp:{ServerBinding:{$visitor:sv},ChannelBinding:{$visitor:Ub},OperationBinding:{$visitor:Qb},MessageBinding:{$visitor:Hb}},redis:{ServerBinding:{$visitor:Wf},ChannelBinding:{$visitor:Cf},OperationBinding:{$visitor:Lf},MessageBinding:{$visitor:Rf}},mercure:{ServerBinding:{$visitor:yg},ChannelBinding:{$visitor:cg},OperationBinding:{$visitor:gg},MessageBinding:{$visitor:hg}},googlepubsub:{ServerBinding:{$visitor:um},ChannelBinding:{$visitor:Xd,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:im},MessageBinding:{$visitor:tm,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:jm,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:dm,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:bm,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Sm}}}},extension:{$visitor:Co}}}},wv=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Ev={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"],...fs},xv={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",Jo),t.register("asyncApiVersion",Go),t.register("channelBindings",Fc),t.register("channelItem",Dc),t.register("channels",Jc),t.register("components",zc),t.register("contact",oc),t.register("correlationID",lc),t.register("defaultContentType",mc),t.register("externalDocumentation",Du),t.register("identifier",Xo),t.register("info",tc),t.register("license",vc),t.register("message",cp),t.register("messageBindings",Ch),t.register("messageExample",Rh),t.register("messageTrait",Lh),t.register("oAuthFlow",Oc),t.register("oAuthFlows",wc),t.register("operation",Gc),t.register("operationBindings",jp),t.register("operationTrait",Pp),t.register("parameter",Kc),t.register("parameters",Xc),t.register("reference",Yc),t.register("schema",aa),t.register("securityRequirement",la),t.register("securityScheme",iu),t.register("server",pa),t.register("serverBindings",ma),t.register("servers",Tc),t.register("serverVariable",fa),t.register("tag",bh),t.register("tags",dh),t.register("amqpChannelBinding",Fp),t.register("amqpMessageBinding",Jp),t.register("amqpOperationBinding",Gp),t.register("amqpServerBinding",Xp),t.register("amqp1ChannelBinding",td),t.register("amqp1MessageBinding",id),t.register("amqp1OperationBinding",ud),t.register("amqp1ServerBinding",dd),t.register("anypointmqChannelBinding",bd),t.register("anypointmqMessageBinding",Sd),t.register("anypointmqOperationBinding",jd),t.register("anypointmqServerBinding",Pd),t.register("googlepubsubChannelBinding",Kd),t.register("googlepubsubMessageBinding",Yd),t.register("googlepubsubOperationBinding",nm),t.register("googlepubsubServerBinding",cm),t.register("httpChannelBinding",kd),t.register("httpMessageBinding",Td),t.register("httpOperationBinding",Dd),t.register("httpServerBinding",zd),t.register("ibmmqChannelBinding",hm),t.register("ibmmqMessageBinding",gm),t.register("ibmmqOperationBinding",ym),t.register("ibmmqServerBinding",Em),t.register("jmsChannelBinding",Bm),t.register("jmsMessageBinding",Am),t.register("jmsOperationBinding",Im),t.register("jmsServerBinding",Fm),t.register("kafkaChannelBinding",Jm),t.register("kafkaMessageBinding",Gm),t.register("kafkaOperationBinding",Xm),t.register("kafkaServerBinding",tg),t.register("mercureChannelBinding",ig),t.register("mercureMessageBinding",ug),t.register("mercureOperationBinding",dg),t.register("mercureServerBinding",bg),t.register("mqttChannelBinding",Sg),t.register("mqttMessageBinding",jg),t.register("mqttOperationBinding",Pg),t.register("mqttServerBinding",kg),t.register("mqtt5ChannelBinding",Tg),t.register("mqtt5MessageBinding",Dg),t.register("mqtt5OperationBinding",zg),t.register("mqtt5ServerBinding",Kg),t.register("natsChannelBinding",Yg),t.register("natsMessageBinding",nf),t.register("natsOperationBinding",af),t.register("natsServerBinding",pf),t.register("pulsarChannelBinding",ff),t.register("pulsarMessageBinding",_f),t.register("pulsarOperationBinding",xf),t.register("pulsarServerBinding",$f),t.register("redisChannelBinding",qf),t.register("redisMessageBinding",Nf),t.register("redisOperationBinding",Vf),t.register("redisServerBinding",Uf),t.register("snsChannelBinding",Hf),t.register("snsMessageBinding",Qf),t.register("snsOperationBinding",sb),t.register("snsServerBinding",ob),t.register("solaceChannelBinding",lb),t.register("solaceMessageBinding",mb),t.register("solaceOperationBinding",vb),t.register("solaceServerBinding",wb),t.register("sqsChannelBinding",Ob),t.register("sqsMessageBinding",Mb),t.register("sqsOperationBinding",Cb),t.register("sqsServerBinding",Rb),t.register("stompChannelBinding",Lb),t.register("stompMessageBinding",Wb),t.register("stompOperationBinding",Zb),t.register("stompServerBinding",ev),t.register("webSocketChannelBinding",rv),t.register("webSocketMessageBinding",av),t.register("webSocketOperationBinding",pv),t.register("webSocketServerBinding",fv),t}},jv=()=>{const e=ut(xv);return{predicates:{...o,isStringElement:Jt},namespace:e}},Ov=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:s=[]}={})=>{const n=(0,ce.e)(e),r=Gn(Sv),i=new(Ss(t,r))({specObj:r});return bs(n,i),ks(i.element,s,{toolboxCreator:jv,visitorOptions:{keyMap:Ev,nodeTypeGetter:wv}})},Bv=e=>(t,s={})=>Ov(t,{...s,specPath:e});Jo.refract=Bv(["visitors","document","objects","AsyncApi","$visitor"]),Go.refract=Bv(["visitors","document","objects","AsyncApiVersion","$visitor"]),Fc.refract=Bv(["visitors","document","objects","ChannelBindings","$visitor"]),Dc.refract=Bv(["visitors","document","objects","ChannelItem","$visitor"]),Jc.refract=Bv(["visitors","document","objects","Channels","$visitor"]),zc.refract=Bv(["visitors","document","objects","Components","$visitor"]),oc.refract=Bv(["visitors","document","objects","Contact","$visitor"]),lc.refract=Bv(["visitors","document","objects","CorrelationID","$visitor"]),mc.refract=Bv(["visitors","document","objects","DefaultContentType","$visitor"]),Du.refract=Bv(["visitors","document","objects","ExternalDocumentation","$visitor"]),Xo.refract=Bv(["visitors","document","objects","Identifier","$visitor"]),tc.refract=Bv(["visitors","document","objects","Info","$visitor"]),vc.refract=Bv(["visitors","document","objects","License","$visitor"]),cp.refract=Bv(["visitors","document","objects","Message","$visitor"]),Ch.refract=Bv(["visitors","document","objects","MessageBindings","$visitor"]),Rh.refract=Bv(["visitors","document","objects","MessageExample","$visitor"]),Lh.refract=Bv(["visitors","document","objects","MessageTrait","$visitor"]),Oc.refract=Bv(["visitors","document","objects","OAuthFlow","$visitor"]),wc.refract=Bv(["visitors","document","objects","OAuthFlows","$visitor"]),Gc.refract=Bv(["visitors","document","objects","Operation","$visitor"]),jp.refract=Bv(["visitors","document","objects","OperationBindings","$visitor"]),Pp.refract=Bv(["visitors","document","objects","OperationTrait","$visitor"]),Kc.refract=Bv(["visitors","document","objects","Parameter","$visitor"]),Xc.refract=Bv(["visitors","document","objects","Parameters","$visitor"]),Yc.refract=Bv(["visitors","document","objects","Reference","$visitor"]),aa.refract=Bv(["visitors","document","objects","Schema","$visitor"]),la.refract=Bv(["visitors","document","objects","SecurityRequirement","$visitor"]),iu.refract=Bv(["visitors","document","objects","SecurityScheme","$visitor"]),pa.refract=Bv(["visitors","document","objects","Server","$visitor"]),ma.refract=Bv(["visitors","document","objects","ServerBindings","$visitor"]),Tc.refract=Bv(["visitors","document","objects","Servers","$visitor"]),fa.refract=Bv(["visitors","document","objects","ServerVariable","$visitor"]),bh.refract=Bv(["visitors","document","objects","Tag","$visitor"]),dh.refract=Bv(["visitors","document","objects","Tags","$visitor"]),Fp.refract=Bv(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),Jp.refract=Bv(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),Gp.refract=Bv(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Xp.refract=Bv(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),td.refract=Bv(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),id.refract=Bv(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),ud.refract=Bv(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),dd.refract=Bv(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),kd.refract=Bv(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),Td.refract=Bv(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),Dd.refract=Bv(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),zd.refract=Bv(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),Kd.refract=Bv(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),Yd.refract=Bv(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),nm.refract=Bv(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),cm.refract=Bv(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),hm.refract=Bv(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),gm.refract=Bv(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),ym.refract=Bv(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Em.refract=Bv(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),Bm.refract=Bv(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Am.refract=Bv(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),Im.refract=Bv(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),Fm.refract=Bv(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),Jm.refract=Bv(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),Gm.refract=Bv(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),Xm.refract=Bv(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),tg.refract=Bv(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),bd.refract=Bv(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),Sd.refract=Bv(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),jd.refract=Bv(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),Pd.refract=Bv(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),ig.refract=Bv(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),ug.refract=Bv(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),dg.refract=Bv(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),bg.refract=Bv(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Sg.refract=Bv(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),jg.refract=Bv(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),Pg.refract=Bv(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),kg.refract=Bv(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),Tg.refract=Bv(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),Dg.refract=Bv(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),zg.refract=Bv(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),Kg.refract=Bv(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),Yg.refract=Bv(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),nf.refract=Bv(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),af.refract=Bv(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),pf.refract=Bv(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),ff.refract=Bv(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),_f.refract=Bv(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),xf.refract=Bv(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),$f.refract=Bv(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),qf.refract=Bv(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),Nf.refract=Bv(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Vf.refract=Bv(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),Uf.refract=Bv(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),Hf.refract=Bv(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),Qf.refract=Bv(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),sb.refract=Bv(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),ob.refract=Bv(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),lb.refract=Bv(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),mb.refract=Bv(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),vb.refract=Bv(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),wb.refract=Bv(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),Ob.refract=Bv(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),Mb.refract=Bv(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),Cb.refract=Bv(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),Rb.refract=Bv(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),Lb.refract=Bv(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),Wb.refract=Bv(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),Zb.refract=Bv(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),ev.refract=Bv(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),rv.refract=Bv(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),av.refract=Bv(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),pv.refract=Bv(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),fv.refract=Bv(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const $v=new rp(...ip.filterByFormat("generic"),...ip.filterByFormat("json")),Pv=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,Mv=async e=>Pv.test(e)&&await(async e=>{if(!An.test(e))return!1;try{return"ERROR"!==(await wt(e)).rootNode.type}catch{return!1}})(e),Av=async(e,t={})=>{const s=f({},"refractorOpts",t),n=v(["refractorOpts"],t),r=await(async(e,{sourceMap:t=!1,syntacticAnalysis:s="direct"}={})=>{const n=await wt(e);let r;return r="indirect"===s?Mn(n,{sourceMap:t}):Us(n,{sourceMap:t}),r})(e,n),{result:i}=r;if(oe(i)){const e=Jo.refract(i,s);e.classes.push("result"),r.replaceResult(e)}return r},qv=ut(xv)})(),n})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterAsyncApiJson2=t():e.apidomParserAdapterAsyncApiJson2=t()}(self,(()=>(()=>{var __webpack_modules__={3103:(e,t,s)=>{var n=s(4715)(s(8942),"DataView");e.exports=n},5098:(e,t,s)=>{var n=s(3305),r=s(9361),i=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=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},1386:(e,t,s)=>{var n=s(2393),r=s(2049),i=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=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},9770:(e,t,s)=>{var n=s(4715)(s(8942),"Map");e.exports=n},8250:(e,t,s)=>{var n=s(9753),r=s(5681),i=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=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},9413:(e,t,s)=>{var n=s(4715)(s(8942),"Promise");e.exports=n},4512:(e,t,s)=>{var n=s(4715)(s(8942),"Set");e.exports=n},3212:(e,t,s)=>{var n=s(8250),r=s(1877),i=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=r,o.prototype.has=i,e.exports=o},1340:(e,t,s)=>{var n=s(1386),r=s(4103),i=s(1779),o=s(4162),a=s(7462),c=s(6638);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},5650:(e,t,s)=>{var n=s(8942).Symbol;e.exports=n},1623:(e,t,s)=>{var n=s(8942).Uint8Array;e.exports=n},9270:(e,t,s)=>{var n=s(4715)(s(8942),"WeakMap");e.exports=n},9847:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,r=0,i=[];++s<n;){var o=e[s];t(o,s,e)&&(i[r++]=o)}return i}},358:(e,t,s)=>{var n=s(6137),r=s(3283),i=s(3142),o=s(5853),a=s(9632),c=s(8666),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var s=i(e),l=!s&&r(e),d=!s&&!l&&o(e),m=!s&&!l&&!d&&c(e),h=s||l||d||m,p=h?n(e.length,String):[],_=p.length;for(var g in e)!t&&!u.call(e,g)||h&&("length"==g||d&&("offset"==g||"parent"==g)||m&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,_))||p.push(g);return p}},1129:e=>{e.exports=function(e,t){for(var s=-1,n=t.length,r=e.length;++s<n;)e[r+s]=t[s];return e}},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}},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}},8244:(e,t,s)=>{var n=s(1129),r=s(3142);e.exports=function(e,t,s){var i=t(e);return r(e)?i:n(i,s(e))}},7379:(e,t,s)=>{var n=s(5650),r=s(8870),i=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)?r(e):i(e)}},6027:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},4687:(e,t,s)=>{var n=s(353),r=s(547);e.exports=function e(t,s,i,o,a){return t===s||(null==t||null==s||!r(t)&&!r(s)?t!=t&&s!=s:n(t,s,i,o,e,a))}},353:(e,t,s)=>{var n=s(1340),r=s(3934),i=s(8861),o=s(1182),a=s(8486),c=s(3142),u=s(5853),l=s(8666),d="[object Arguments]",m="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,_,g,f){var b=c(e),v=c(t),y=b?m:a(e),w=v?m:a(t),E=(y=y==d?h:y)==h,x=(w=w==d?h:w)==h,S=y==w;if(S&&u(e)){if(!u(t))return!1;b=!0,E=!1}if(S&&!E)return f||(f=new n),b||l(e)?r(e,t,s,_,g,f):i(e,t,y,s,_,g,f);if(!(1&s)){var j=E&&p.call(e,"__wrapped__"),O=x&&p.call(t,"__wrapped__");if(j||O){var M=j?e.value():e,B=O?t.value():t;return f||(f=new n),g(M,B,s,_,f)}}return!!S&&(f||(f=new n),o(e,t,s,_,g,f))}},9624:(e,t,s)=>{var n=s(3655),r=s(4759),i=s(1580),o=s(4066),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,d=u.hasOwnProperty,m=RegExp("^"+l.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(n(e)?m:a).test(o(e))}},674:(e,t,s)=>{var n=s(7379),r=s(5387),i=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 i(e)&&r(e.length)&&!!o[n(e)]}},195:(e,t,s)=>{var n=s(4882),r=s(8121),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var s in Object(e))i.call(e,s)&&"constructor"!=s&&t.push(s);return t}},6137:e=>{e.exports=function(e,t){for(var s=-1,n=Array(e);++s<e;)n[s]=t(s);return n}},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},5568:e=>{e.exports=function(e,t){return e.has(t)}},1950:(e,t,s)=>{var n=s(8942)["__core-js_shared__"];e.exports=n},3934:(e,t,s)=>{var n=s(3212),r=s(6465),i=s(5568);e.exports=function(e,t,s,o,a,c){var u=1&s,l=e.length,d=t.length;if(l!=d&&!(u&&d>l))return!1;var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var p=-1,_=!0,g=2&s?new n:void 0;for(c.set(e,t),c.set(t,e);++p<l;){var f=e[p],b=t[p];if(o)var v=u?o(b,f,p,t,e,c):o(f,b,p,e,t,c);if(void 0!==v){if(v)continue;_=!1;break}if(g){if(!r(t,(function(e,t){if(!i(g,t)&&(f===e||a(f,e,s,o,c)))return g.push(t)}))){_=!1;break}}else if(f!==b&&!a(f,b,s,o,c)){_=!1;break}}return c.delete(e),c.delete(t),_}},8861:(e,t,s)=>{var n=s(5650),r=s(1623),i=s(6285),o=s(3934),a=s(5894),c=s(7447),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,s,n,u,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 r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var p=1&n;if(h||(h=c),e.size!=t.size&&!p)return!1;var _=m.get(e);if(_)return _==t;n|=2,m.set(e,t);var g=o(h(e),h(t),n,u,d,m);return m.delete(e),g;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1182:(e,t,s)=>{var n=s(393),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,i,o,a){var c=1&s,u=n(e),l=u.length;if(l!=n(t).length&&!c)return!1;for(var d=l;d--;){var m=u[d];if(!(c?m in t:r.call(t,m)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var _=!0;a.set(e,t),a.set(t,e);for(var g=c;++d<l;){var f=e[m=u[d]],b=t[m];if(i)var v=c?i(b,f,m,t,e,a):i(f,b,m,e,t,a);if(!(void 0===v?f===b||o(f,b,s,i,a):v)){_=!1;break}g||(g="constructor"==m)}if(_&&!g){var y=e.constructor,w=t.constructor;y==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w||(_=!1)}return a.delete(e),a.delete(t),_}},4967:(e,t,s)=>{var n="object"==typeof s.g&&s.g&&s.g.Object===Object&&s.g;e.exports=n},393:(e,t,s)=>{var n=s(8244),r=s(7979),i=s(1211);e.exports=function(e){return n(e,i,r)}},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}},4715:(e,t,s)=>{var n=s(9624),r=s(155);e.exports=function(e,t){var s=r(e,t);return n(s)?s:void 0}},8870:(e,t,s)=>{var n=s(5650),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),s=e[a];try{e[a]=void 0;var n=!0}catch(e){}var r=o.call(e);return n&&(t?e[a]=s:delete e[a]),r}},7979:(e,t,s)=>{var n=s(9847),r=s(9306),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},8486:(e,t,s)=>{var n=s(3103),r=s(9770),i=s(9413),o=s(4512),a=s(9270),c=s(7379),u=s(4066),l="[object Map]",d="[object Promise]",m="[object Set]",h="[object WeakMap]",p="[object DataView]",_=u(n),g=u(r),f=u(i),b=u(o),v=u(a),y=c;(n&&y(new n(new ArrayBuffer(1)))!=p||r&&y(new r)!=l||i&&y(i.resolve())!=d||o&&y(new o)!=m||a&&y(new a)!=h)&&(y=function(e){var t=c(e),s="[object Object]"==t?e.constructor:void 0,n=s?u(s):"";if(n)switch(n){case _:return p;case g:return l;case f:return d;case b:return m;case v:return h}return t}),e.exports=y},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3305:(e,t,s)=>{var n=s(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:(e,t,s)=>{var n=s(4497),r=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 r.call(t,e)?t[e]:void 0}},5276:(e,t,s)=>{var n=s(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},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}},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}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:(e,t,s)=>{var n,r=s(1950),i=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},4882:e=>{var t=Object.prototype;e.exports=function(e){var s=e&&e.constructor;return e===("function"==typeof s&&s.prototype||t)}},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2049:(e,t,s)=>{var n=s(7034),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,s=n(t,e);return!(s<0)&&(s==t.length-1?t.pop():r.call(t,s,1),--this.size,!0)}},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]}},7452:(e,t,s)=>{var n=s(7034);e.exports=function(e){return n(this.__data__,e)>-1}},3964:(e,t,s)=>{var n=s(7034);e.exports=function(e,t){var s=this.__data__,r=n(s,e);return r<0?(++this.size,s.push([e,t])):s[r][1]=t,this}},9753:(e,t,s)=>{var n=s(5098),r=s(1386),i=s(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new 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}},88:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).get(e)}},4732:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).has(e)}},9068:(e,t,s)=>{var n=s(4700);e.exports=function(e,t){var s=n(this,e),r=s.size;return s.set(e,t),this.size+=s.size==r?0:1,this}},5894:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e,n){s[++t]=[n,e]})),s}},4497:(e,t,s)=>{var n=s(4715)(Object,"create");e.exports=n},8121:(e,t,s)=>{var n=s(3766)(Object.keys,Object);e.exports=n},2306:(e,t,s)=>{e=s.nmd(e);var n=s(4967),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766:e=>{e.exports=function(e,t){return function(s){return e(t(s))}}},8942:(e,t,s)=>{var n=s(4967),r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();e.exports=i},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},7447:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e){s[++t]=e})),s}},4103:(e,t,s)=>{var n=s(1386);e.exports=function(){this.__data__=new n,this.size=0}},1779:e=>{e.exports=function(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},6638:(e,t,s)=>{var n=s(1386),r=s(9770),i=s(8250);e.exports=function(e,t){var s=this.__data__;if(s instanceof n){var o=s.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new i(o)}return s.set(e,t),this.size=s.size,this}},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""}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3283:(e,t,s)=>{var n=s(6027),r=s(547),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},3142:e=>{var t=Array.isArray;e.exports=t},6529:(e,t,s)=>{var n=s(3655),r=s(5387);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},2563:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==n(e)}},5853:(e,t,s)=>{e=s.nmd(e);var n=s(8942),r=s(4772),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c},6343:(e,t,s)=>{var n=s(4687);e.exports=function(e,t){return n(e,t)}},3655:(e,t,s)=>{var n=s(7379),r=s(1580);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9310:e=>{e.exports=function(e){return null===e}},986:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==n(e)}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8138:(e,t,s)=>{var n=s(7379),r=s(3142),i=s(547);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==n(e)}},8666:(e,t,s)=>{var n=s(674),r=s(9460),i=s(2306),o=i&&i.isTypedArray,a=o?r(o):n;e.exports=a},1211:(e,t,s)=>{var n=s(358),r=s(195),i=s(6529);e.exports=function(e){return i(e)?n(e):r(e)}},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)}}},9306:e=>{e.exports=function(){return[]}},4772:e=>{e.exports=function(){return!1}},4123:(e,t,s)=>{const n=s(1517);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},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},5735:(e,t,s)=>{const n=s(9310),r=s(8138),i=s(986),o=s(2563),a=s(1580),c=s(394),u=s(7547);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(r,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,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],r=this.elementDetection[s][1];if(n(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3311:(e,t,s)=>{const n=s(1517),r=s(4123);class i extends r{map(e,t){return this.elements.map((s=>e.bind(t)(s.value,s.key,s)))}filter(e,t){return new i(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=i},7547:(e,t,s)=>{const n=s(8631),r=s(3004),i=s(8712),o=s(2536),a=s(2555),c=s(9796),u=s(7309),l=s(5642),d=s(9620),m=s(593),h=s(4123),p=s(3311),_=s(2322);function g(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new r;if(Array.isArray(e))return new c(e.map(g));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=m,n.prototype.MemberElement=u,n.prototype.refract=g,h.prototype.refract=g,e.exports={Element:n,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:d,RefElement:m,refract:g,ArraySlice:h,ObjectSlice:p,KeyValuePair:_}},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)}}},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)}}},8326:(e,t,s)=>{const n=s(5735),r=s(7547);t.g$=n,t.KeyValuePair=s(2322),t.G6=r.ArraySlice,t.ot=r.ObjectSlice,t.Hg=r.Element,t.Om=r.StringElement,t.kT=r.NumberElement,t.bd=r.BooleanElement,t.Os=r.NullElement,t.wE=r.ArrayElement,t.Sh=r.ObjectElement,t.Pr=r.MemberElement,t.sI=r.RefElement,t.Ft=r.LinkElement,t.e=r.refract,s(394),s(3148)},9796:(e,t,s)=>{const n=s(1517),r=s(8631),i=s(4123);class o extends r{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 r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return new i(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,r=void 0===s.results?[]:s.results;return this.forEach(((t,s,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:n}),e(t,s,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},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"}}},8631:(e,t,s)=>{const n=s(6343),r=s(2322),i=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 r?{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 i;const n=(e,t)=>(e.push(t),e),o=(e,s)=>{s.element===t&&e.push(s);const i=s.findRecursive(t);return i&&i.reduce(n,e),s.content instanceof r&&(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],r=s.indexOf(n);if(-1===r)return!1;s=s.splice(0,r)}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 i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},7309:(e,t,s)=>{const n=s(2322),r=s(8631);e.exports=class extends r{constructor(e,t,s,r){super(new n,s,r),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)}}},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")}}},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"}}},5642:(e,t,s)=>{const n=s(1517),r=s(1580),i=s(9796),o=s(7309),a=s(3311);e.exports=class extends i{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(r(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,r,i)=>{const o=e.bind(t)(n,r,i);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)))}}},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}}},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 r=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]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==s.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),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 r=new t(n);r.element=s.element,e.push(r)}))}));const r=e.shift();s.content=r?r.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]))}))}}},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]))}))}}},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,r)=>{e?n(e):s(t?r.buffer:r)}))}))),!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,r=t;e[r]&&!(r>=n);)++r;if(r-t>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,r));for(var i="";t<r;){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)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i},getDylinkMetadata=e=>{var t=0,s=0;function n(){for(var s=0,n=1;;){var r=e[t++];if(s+=(127&r)*n,n*=128,!(128&r))break}return s}function r(){var s=n();return UTF8ArrayToString(e,(t+=s)-s,s)}function i(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)),i(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);i(!(1836278016==c[0]||6386541==c[0]),"need to see wasm magic number"),i(0!==e[8],"need the dylink section to be first"),t=9;var u=n();s=t+u,o=r()}var l={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if("dylink"==o){l.memorySize=n(),l.memoryAlign=n(),l.tableSize=n(),l.tableAlign=n();for(var d=n(),m=0;m<d;++m){var h=r();l.neededDynlibs.push(h)}}else{i("dylink.0"!==o);for(;t<s;){var p=e[t++],_=n();if(1===p)l.memorySize=n(),l.memoryAlign=n(),l.tableSize=n(),l.tableAlign=n();else if(2===p)for(d=n(),m=0;m<d;++m)h=r(),l.neededDynlibs.push(h);else if(3===p)for(var g=n();g--;){var f=r();256&n()&&l.tlsExports.add(f)}else if(4===p)for(g=n();g--;){r(),f=r();1==(3&n())&&l.weakImports.add(f)}else t+=_}}return l};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),r={i:127,p:127,j:126,f:125,d:124,e:111};t.push(96),uleb128Encode(n.length,t);for(var i=0;i<n.length;++i)t.push(r[n[i]]);"v"==s?t.push(0):t.push(1,r[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 r=new WebAssembly.Module(new Uint8Array(n));return new WebAssembly.Instance(r,{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 r=convertJsFunctionToWasm(e,t);setWasmTableEntry(n,r)}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 r in e){var i=e[r];"object"==typeof i&&(i=i.value),"number"==typeof i&&(i+=t),n[r]=i}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 r=n?"":getUniqueRunDependency(`al ${e}`);readAsync(e).then((e=>{t(new Uint8Array(e)),r&&removeRunDependency(r)}),(t=>{if(!s)throw`Loading data file "${e}" failed.`;s()})),r&&addRunDependency(r)};function loadDynamicLibrary(e,t={global:!0,nodelete:!0},s,n){var r=LDSO.loadedLibsByName[e];if(r)return t.global?r.global||(r.global=!0,mergeLibSymbols(r.exports,e)):s&&Object.assign(s,r.exports),t.nodelete&&r.refcount!==1/0&&(r.refcount=1/0),r.refcount++,n&&(LDSO.loadedLibsByHandle[n]=r),!t.loadAsync||Promise.resolve(!0);function i(){if(n){var s=LE_HEAP_LOAD_U32(4*(n+28>>2)),r=LE_HEAP_LOAD_U32(4*(n+32>>2));if(s&&r){var i=HEAP8.slice(s,s+r);return t.loadAsync?Promise.resolve(i):i}}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?i().then((r=>loadWebAssemblyModule(r,t,e,s,n))):loadWebAssemblyModule(i(),t,e,s,n)}function a(t){r.global?mergeLibSymbols(t,e):s&&Object.assign(s,t),r.exports=t}return(r=newDSO(e,n,"loading")).refcount=t.nodelete?1/0:1,r.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,r,i=1;i<=4;i*=2){var o=t*(1+.2/i);o=Math.min(o,e+100663296);var a=Math.min(s,(n=Math.max(e,o))+((r=65536)-n%r)%r);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,r){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 r=0,i=0;i<s;i++){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]);r+=a}return LE_HEAP_STORE_U32(4*(n>>2),r),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,r){const i=currentParseCallback(t,{row:s,column:n});"string"==typeof i?(setValue(r,i.length,"i32"),stringToUTF16(i,e,10240)):setValue(r,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 r=s,i=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>=i)break;t[s++]=a}else if(a<=2047){if(s+1>=i)break;t[s++]=192|a>>6,t[s++]=128|63&a}else if(a<=65535){if(s+2>=i)break;t[s++]=224|a>>12,t[s++]=128|a>>6&63,t[s++]=128|63&a}else{if(s+3>=i)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-r},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,r=(s-=2)<2*e.length?s/2:e.length,i=0;i<r;++i){var o=e.charCodeAt(i);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,r)=>(_ts_query_new=Module._ts_query_new=wasmExports.ts_query_new)(e,t,s,n,r),_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,r)=>(_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=wasmExports.ts_parser_parse_wasm)(e,t,s,n,r),_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,r,i,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,r,i,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,r,i,o,a,c,u,l)=>(_ts_query_matches_wasm=Module._ts_query_matches_wasm=wasmExports.ts_query_matches_wasm)(e,t,s,n,r,i,o,a,c,u,l),_ts_query_captures_wasm=Module._ts_query_captures_wasm=(e,t,s,n,r,i,o,a,c,u,l)=>(_ts_query_captures_wasm=Module._ts_query_captures_wasm=wasmExports.ts_query_captures_wasm)(e,t,s,n,r,i,o,a,c,u,l),_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,r)=>(dynCall_jiji=Module.dynCall_jiji=wasmExports.dynCall_jiji)(e,t,s,n,r),_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)),r=n;e.forEach((e=>{LE_HEAP_STORE_U32(4*(r>>2),stringToUTF8OnStack(e)),r+=4})),LE_HEAP_STORE_U32(4*(r>>2),0);try{var i=t(s,n);return exitJS(i,!0),i}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,r=0;if(s?.includedRanges){n=s.includedRanges.length,r=C._calloc(n,SIZE_OF_RANGE);let e=r;for(let t=0;t<n;t++)marshalRange(e,s.includedRanges[t]),e+=SIZE_OF_RANGE}const i=C._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,r,n);if(!i)throw currentParseCallback=null,currentLogCallback=null,new Error("Parsing failed");const o=new Tree(INTERNAL,i,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=[],r=this.tree.language.types;for(let t=0,s=r.length;t<s;t++)e.includes(r[t])&&n.push(t);const i=C._malloc(SIZE_OF_INT*n.length);for(let e=0,t=n.length;e<t;e++)setValue(i+e*SIZE_OF_INT,n[e],"i32");marshalNode(this),C._ts_node_descendants_of_type_wasm(this.tree[0],i,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(i),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 r=C._ts_language_symbol_for_name(this[0],n,s,t);return C._free(n),r||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"),r=UTF8ToString(s,n).length,i=e.substr(r,100).split("\n")[0];let o,a=i.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 ${r}: '${i}'...`),a="";break;default:o=new SyntaxError(`Bad syntax at offset ${r}: '${i}'...`),a=""}throw o.index=r,o.length=a.length,C._free(s),o}const r=C._ts_query_string_count(n),i=C._ts_query_capture_count(n),o=C._ts_query_pattern_count(n),a=new Array(i),c=new Array(r);for(let e=0;e<i;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<r;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 u=new Array(o),l=new Array(o),d=new Array(o),m=new Array(o),h=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]=[],h[e]=[];const r=[];let i=t;for(let t=0;t<s;t++){const t=getValue(i,"i32");i+=SIZE_OF_INT;const s=getValue(i,"i32");if(i+=SIZE_OF_INT,t===PREDICATE_STEP_TYPE_CAPTURE)r.push({type:"capture",name:a[s]});else if(t===PREDICATE_STEP_TYPE_STRING)r.push({type:"string",value:c[s]});else if(r.length>0){if("string"!==r[0].type)throw new Error("Predicates must begin with a literal value");const t=r[0].value;let s,n=!0,i=!0;switch(t){case"any-not-eq?":case"not-eq?":n=!1;case"any-eq?":case"eq?":if(3!==r.length)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 2, got ${r.length-1}`);if("capture"!==r[1].type)throw new Error(`First argument of \`#${t}\` predicate must be a capture. Got "${r[1].value}"`);if(i=!t.startsWith("any-"),"capture"===r[2].type){const t=r[1].name,s=r[2].name;h[e].push((e=>{const r=[],o=[];for(const n of e)n.name===t&&r.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 i?r.every((e=>o.some((t=>a(e,t,n))))):r.some((e=>o.some((t=>a(e,t,n)))))}))}else{s=r[1].name;const t=r[2].value,o=e=>e.text===t,a=e=>e.text!==t;h[e].push((e=>{const t=[];for(const n of e)n.name===s&&t.push(n.node);const r=n?o:a;return i?t.every(r):t.some(r)}))}break;case"any-not-match?":case"not-match?":n=!1;case"any-match?":case"match?":if(3!==r.length)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 2, got ${r.length-1}.`);if("capture"!==r[1].type)throw new Error(`First argument of \`#${t}\` predicate must be a capture. Got "${r[1].value}".`);if("string"!==r[2].type)throw new Error(`Second argument of \`#${t}\` predicate must be a string. Got @${r[2].value}.`);s=r[1].name;const o=new RegExp(r[2].value);i=!t.startsWith("any-"),h[e].push((e=>{const t=[];for(const n of e)n.name===s&&t.push(n.node.text);const r=(e,t)=>t?o.test(e):!o.test(e);return 0===t.length?!n:i?t.every((e=>r(e,n))):t.some((e=>r(e,n)))}));break;case"set!":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][r[1].value]=r[2]?r[2].value:null;break;case"is?":case"is-not?":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const a="is?"===t?l:d;a[e]||(a[e]={}),a[e][r[1].value]=r[2]?r[2].value:null;break;case"not-any-of?":n=!1;case"any-of?":if(r.length<2)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected at least 1. Got ${r.length-1}.`);if("capture"!==r[1].type)throw new Error(`First argument of \`#${t}\` predicate must be a capture. Got "${r[1].value}".`);for(let e=2;e<r.length;e++)if("string"!==r[e].type)throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);s=r[1].name;const c=r.slice(2).map((e=>e.value));h[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:r.slice(1)})}r.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(d[e])}return C._free(s),new Query(INTERNAL,n,a,h,m,Object.freeze(u),Object.freeze(l),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,r,i,o,a){assertInternal(e),this[0]=t,this.captureNames=s,this.textPredicates=n,this.predicates=r,this.setProperties=i,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:r=0,matchLimit:i=4294967295,maxStartDepth:o=4294967295,timeoutMicros:a=0}={}){if("number"!=typeof i)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,r,i,o,a);const c=getValue(TRANSFER_BUFFER,"i32"),u=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),l=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),d=new Array(c);this.exceededMatchLimit=Boolean(l);let m=0,h=u;for(let t=0;t<c;t++){const t=getValue(h,"i32");h+=SIZE_OF_INT;const s=getValue(h,"i32");h+=SIZE_OF_INT;const n=new Array(s);if(h=unmarshalCaptures(this,e.tree,h,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 r=this.refutedProperties[t];r&&(d[m].refutedProperties=r),m++}}return d.length=m,C._free(u),d}captures(e,{startPosition:t=ZERO_POINT,endPosition:s=ZERO_POINT,startIndex:n=0,endIndex:r=0,matchLimit:i=4294967295,maxStartDepth:o=4294967295,timeoutMicros:a=0}={}){if("number"!=typeof i)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,r,i,o,a);const c=getValue(TRANSFER_BUFFER,"i32"),u=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),l=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),d=[];this.exceededMatchLimit=Boolean(l);const m=[];let h=u;for(let t=0;t<c;t++){const t=getValue(h,"i32");h+=SIZE_OF_INT;const s=getValue(h,"i32");h+=SIZE_OF_INT;const n=getValue(h,"i32");if(h+=SIZE_OF_INT,m.length=s,h=unmarshalCaptures(this,e.tree,h,m),this.textPredicates[t].every((e=>e(m)))){const e=m[n],s=this.setProperties[t];s&&(e.setProperties=s);const r=this.assertedProperties[t];r&&(e.assertedProperties=r);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),d.push(e)}}return C._free(u),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 r=e.textCallback(t,null,s);for(t+=r.length;t<s;){const n=e.textCallback(t,null,s);if(!(n&&n.length>0))break;t+=n.length,r+=n}return t>s&&(r=r.slice(0,n)),r}function unmarshalCaptures(e,t,s,n){for(let r=0,i=n.length;r<i;r++){const i=getValue(s,"i32"),o=unmarshalNode(t,s+=SIZE_OF_INT);s+=SIZE_OF_NODE,n[r]={name:e.captureNames[i],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"),r=getValue(t+=SIZE_OF_INT,"i32"),i=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:r,column:i},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},3078:()=>{},4142:()=>{},1212:(e,t,s)=>{e.exports=s(8411)},7202:(e,t,s)=>{"use strict";var n=s(239);e.exports=n},6656:(e,t,s)=>{"use strict";s(484),s(5695),s(6138),s(9828),s(3832);var n=s(8099);e.exports=n.AggregateError},8411:(e,t,s)=>{"use strict";e.exports=s(8337)},8337:(e,t,s)=>{"use strict";s(5442);var n=s(7202);e.exports=n},814:(e,t,s)=>{"use strict";var n=s(2769),r=s(459),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not a function")}},1966:(e,t,s)=>{"use strict";var n=s(2937),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+r(e)+" as a prototype")}},8137:e=>{"use strict";e.exports=function(){}},7235:(e,t,s)=>{"use strict";var n=s(262),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not an object")}},1005:(e,t,s)=>{"use strict";var n=s(3273),r=s(4574),i=s(8130),o=function(e){return function(t,s,o){var a=n(t),c=i(a);if(0===c)return!e&&-1;var u,l=r(o,c);if(e&&s!=s){for(;c>l;)if((u=a[l++])!=u)return!0}else for(;c>l;l++)if((e||l in a)&&a[l]===s)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9932:(e,t,s)=>{"use strict";var n=s(6100),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},8407:(e,t,s)=>{"use strict";var n=s(4904),r=s(2769),i=s(9932),o=s(8655)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i: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?i(t):"Object"===(n=i(t))&&r(t.callee)?"Arguments":n}},7464:(e,t,s)=>{"use strict";var n=s(701),r=s(5691),i=s(4543),o=s(9989);e.exports=function(e,t,s){for(var a=r(t),c=o.f,u=i.f,l=0;l<a.length;l++){var d=a[l];n(e,d)||s&&n(s,d)||c(e,d,u(t,d))}}},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}))},877:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},3999:(e,t,s)=>{"use strict";var n=s(5024),r=s(9989),i=s(480);e.exports=n?function(e,t,s){return r.f(e,t,i(1,s))}:function(e,t,s){return e[t]=s,e}},480:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3508:(e,t,s)=>{"use strict";var n=s(3999);e.exports=function(e,t,s,r){return r&&r.enumerable?e[t]=s:n(e,t,s),e}},7525:(e,t,s)=>{"use strict";var n=s(8900),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(s){n[e]=t}return t}},5024:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(e,t,s)=>{"use strict";var n=s(8900),r=s(262),i=n.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},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}},9683:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3531:(e,t,s)=>{"use strict";var n=s(8900).navigator,r=n&&n.userAgent;e.exports=r?String(r):""},5547:(e,t,s)=>{"use strict";var n,r,i=s(8900),o=s(3531),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},3885:(e,t,s)=>{"use strict";var n=s(6100),r=Error,i=n("".replace),o=String(new r("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},4279:(e,t,s)=>{"use strict";var n=s(3999),r=s(3885),i=s(5791),o=Error.captureStackTrace;e.exports=function(e,t,s,a){i&&(o?o(e,t):n(e,"stack",r(s,a)))}},5791:(e,t,s)=>{"use strict";var n=s(1203),r=s(480);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},9098:(e,t,s)=>{"use strict";var n=s(8900),r=s(7013),i=s(9344),o=s(2769),a=s(4543).f,c=s(8696),u=s(8099),l=s(4572),d=s(3999),m=s(701);s(3753);var h=function(e){var t=function(s,n,i){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,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var s,r,p,_,g,f,b,v,y,w=e.target,E=e.global,x=e.stat,S=e.proto,j=E?n:x?n[w]:n[w]&&n[w].prototype,O=E?u:u[w]||d(u,w,{})[w],M=O.prototype;for(_ in t)r=!(s=c(E?_:w+(x?".":"#")+_,e.forced))&&j&&m(j,_),f=O[_],r&&(b=e.dontCallGetSet?(y=a(j,_))&&y.value:j[_]),g=r&&b?b:t[_],(s||S||typeof f!=typeof g)&&(v=e.bind&&r?l(g,n):e.wrap&&r?h(g):S&&o(g)?i(g):g,(e.sham||g&&g.sham||f&&f.sham)&&d(v,"sham",!0),d(O,_,v),S&&(m(u,p=w+"Prototype")||d(u,p,{}),d(u[p],_,g),e.real&&M&&(s||!M[_])&&d(M,_,g)))}},1203:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7013:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},4572:(e,t,s)=>{"use strict";var n=s(9344),r=s(814),i=s(1780),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},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")}))},4713:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},3410:(e,t,s)=>{"use strict";var n=s(5024),r=s(701),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},3574:(e,t,s)=>{"use strict";var n=s(6100),r=s(814);e.exports=function(e,t,s){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[s]))}catch(e){}}},9344:(e,t,s)=>{"use strict";var n=s(9932),r=s(6100);e.exports=function(e){if("Function"===n(e))return r(e)}},6100:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},1003:(e,t,s)=>{"use strict";var n=s(8099),r=s(8900),i=s(2769),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}},967:(e,t,s)=>{"use strict";var n=s(8407),r=s(4674),i=s(3057),o=s(6625),a=s(8655)("iterator");e.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[n(e)]}},1613:(e,t,s)=>{"use strict";var n=s(4713),r=s(814),i=s(7235),o=s(459),a=s(967),c=TypeError;e.exports=function(e,t){var s=arguments.length<2?a(e):t;if(r(s))return i(n(s,e));throw new c(o(e)+" is not iterable")}},4674:(e,t,s)=>{"use strict";var n=s(814),r=s(3057);e.exports=function(e,t){var s=e[t];return r(s)?void 0:n(s)}},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")()},701:(e,t,s)=>{"use strict";var n=s(6100),r=s(2137),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},5241:e=>{"use strict";e.exports={}},3489:(e,t,s)=>{"use strict";var n=s(1003);e.exports=n("document","documentElement")},9665:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203),i=s(9619);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(e,t,s)=>{"use strict";var n=s(6100),r=s(1203),i=s(9932),o=Object,a=n("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):o(e)}:o},3507:(e,t,s)=>{"use strict";var n=s(2769),r=s(262),i=s(3491);e.exports=function(e,t,s){var o,a;return i&&n(o=t.constructor)&&o!==s&&r(a=o.prototype)&&a!==s.prototype&&i(e,a),e}},8148:(e,t,s)=>{"use strict";var n=s(262),r=s(3999);e.exports=function(e,t){n(t)&&"cause"in t&&r(e,"cause",t.cause)}},8417:(e,t,s)=>{"use strict";var n,r,i,o=s(1314),a=s(8900),c=s(262),u=s(3999),l=s(701),d=s(3753),m=s(4275),h=s(5241),p="Object already initialized",_=a.TypeError,g=a.WeakMap;if(o||d.state){var f=d.state||(d.state=new g);f.get=f.get,f.has=f.has,f.set=f.set,n=function(e,t){if(f.has(e))throw new _(p);return t.facade=e,f.set(e,t),t},r=function(e){return f.get(e)||{}},i=function(e){return f.has(e)}}else{var b=m("state");h[b]=!0,n=function(e,t){if(l(e,b))throw new _(p);return t.facade=e,u(e,b,t),t},r=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var s;if(!c(t)||(s=r(t)).type!==e)throw new _("Incompatible receiver, "+e+" required");return s}}}},2877:(e,t,s)=>{"use strict";var n=s(8655),r=s(6625),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},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}},8696:(e,t,s)=>{"use strict";var n=s(1203),r=s(2769),i=/#|\.prototype\./,o=function(e,t){var s=c[a(e)];return s===l||s!==u&&(r(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},3057:e=>{"use strict";e.exports=function(e){return null==e}},262:(e,t,s)=>{"use strict";var n=s(2769);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},2937:(e,t,s)=>{"use strict";var n=s(262);e.exports=function(e){return n(e)||null===e}},4871:e=>{"use strict";e.exports=!0},6281:(e,t,s)=>{"use strict";var n=s(1003),r=s(2769),i=s(4317),o=s(7460),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,a(e))}},208:(e,t,s)=>{"use strict";var n=s(4572),r=s(4713),i=s(7235),o=s(459),a=s(2877),c=s(8130),u=s(4317),l=s(1613),d=s(967),m=s(1743),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},_=p.prototype;e.exports=function(e,t,s){var g,f,b,v,y,w,E,x=s&&s.that,S=!(!s||!s.AS_ENTRIES),j=!(!s||!s.IS_RECORD),O=!(!s||!s.IS_ITERATOR),M=!(!s||!s.INTERRUPTED),B=n(t,x),P=function(e){return g&&m(g,"normal",e),new p(!0,e)},A=function(e){return S?(i(e),M?B(e[0],e[1],P):B(e[0],e[1])):M?B(e,P):B(e)};if(j)g=e.iterator;else if(O)g=e;else{if(!(f=d(e)))throw new h(o(e)+" is not iterable");if(a(f)){for(b=0,v=c(e);v>b;b++)if((y=A(e[b]))&&u(_,y))return y;return new p(!1)}g=l(e,f)}for(w=j?e.next:g.next;!(E=r(w,g)).done;){try{y=A(E.value)}catch(e){m(g,"throw",e)}if("object"==typeof y&&y&&u(_,y))return y}return new p(!1)}},1743:(e,t,s)=>{"use strict";var n=s(4713),r=s(7235),i=s(4674);e.exports=function(e,t,s){var o,a;r(e);try{if(!(o=i(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 r(o),s}},1926:(e,t,s)=>{"use strict";var n=s(2621).IteratorPrototype,r=s(5780),i=s(480),o=s(1811),a=s(6625),c=function(){return this};e.exports=function(e,t,s,u){var l=t+" Iterator";return e.prototype=r(n,{next:i(+!u,s)}),o(e,l,!1,!0),a[l]=c,e}},164:(e,t,s)=>{"use strict";var n=s(9098),r=s(4713),i=s(4871),o=s(3410),a=s(2769),c=s(1926),u=s(3671),l=s(3491),d=s(1811),m=s(3999),h=s(3508),p=s(8655),_=s(6625),g=s(2621),f=o.PROPER,b=o.CONFIGURABLE,v=g.IteratorPrototype,y=g.BUGGY_SAFARI_ITERATORS,w=p("iterator"),E="keys",x="values",S="entries",j=function(){return this};e.exports=function(e,t,s,o,p,g,O){c(s,t,o);var M,B,P,A=function(e){if(e===p&&I)return I;if(!y&&e&&e in C)return C[e];switch(e){case E:case x:case S:return function(){return new s(this,e)}}return function(){return new s(this)}},T=t+" Iterator",$=!1,C=e.prototype,F=C[w]||C["@@iterator"]||p&&C[p],I=!y&&F||A(p),R="Array"===t&&C.entries||F;if(R&&(M=u(R.call(new e)))!==Object.prototype&&M.next&&(i||u(M)===v||(l?l(M,v):a(M[w])||h(M,w,j)),d(M,T,!0,!0),i&&(_[T]=j)),f&&p===x&&F&&F.name!==x&&(!i&&b?m(C,"name",x):($=!0,I=function(){return r(F,this)})),p)if(B={values:A(x),keys:g?I:A(E),entries:A(S)},O)for(P in B)(y||$||!(P in C))&&h(C,P,B[P]);else n({target:t,proto:!0,forced:y||$},B);return i&&!O||C[w]===I||h(C,w,I,{name:p}),_[t]=I,B}},2621:(e,t,s)=>{"use strict";var n,r,i,o=s(1203),a=s(2769),c=s(262),u=s(5780),l=s(3671),d=s(3508),m=s(8655),h=s(4871),p=m("iterator"),_=!1;[].keys&&("next"in(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(n=r):_=!0),!c(n)||o((function(){var e={};return n[p].call(e)!==e}))?n={}:h&&(n=u(n)),a(n[p])||d(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:_}},6625:e=>{"use strict";e.exports={}},8130:(e,t,s)=>{"use strict";var n=s(8146);e.exports=function(e){return n(e.length)}},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)}},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)}},5780:(e,t,s)=>{"use strict";var n,r=s(7235),i=s(7389),o=s(9683),a=s(5241),c=s(3489),u=s(9619),l=s(4275),d="prototype",m="script",h=l("IE_PROTO"),p=function(){},_=function(e){return"<"+m+">"+e+"</"+m+">"},g=function(e){e.write(_("")),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?g(n):(t=u("iframe"),s="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(s),(e=t.contentWindow.document).open(),e.write(_("document.F=Object")),e.close(),e.F):g(n);for(var r=o.length;r--;)delete f[d][o[r]];return f()};a[h]=!0,e.exports=Object.create||function(e,t){var s;return null!==e?(p[d]=r(e),s=new p,p[d]=null,s[h]=e):s=f(),void 0===t?s:i.f(s,t)}},7389:(e,t,s)=>{"use strict";var n=s(5024),r=s(1330),i=s(9989),o=s(7235),a=s(3273),c=s(8364);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var s,n=a(t),r=c(t),u=r.length,l=0;u>l;)i.f(e,s=r[l++],n[s]);return e}},9989:(e,t,s)=>{"use strict";var n=s(5024),r=s(9665),i=s(1330),o=s(7235),a=s(5341),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",m="configurable",h="writable";t.f=n?i?function(e,t,s){if(o(e),t=a(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&h in s&&!s[h]){var n=l(e,t);n&&n[h]&&(e[t]=s.value,s={configurable:m in s?s[m]:n[m],enumerable:d in s?s[d]:n[d],writable:!1})}return u(e,t,s)}:u:function(e,t,s){if(o(e),t=a(t),o(s),r)try{return u(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}},4543:(e,t,s)=>{"use strict";var n=s(5024),r=s(4713),i=s(7161),o=s(480),a=s(3273),c=s(5341),u=s(701),l=s(9665),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),l)try{return d(e,t)}catch(e){}if(u(e,t))return o(!r(i.f,e,t),e[t])}},5116:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},7313:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},3671:(e,t,s)=>{"use strict";var n=s(701),r=s(2769),i=s(2137),o=s(4275),a=s(2871),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var s=t.constructor;return r(s)&&t instanceof s?s.prototype:t instanceof u?l:null}},4317:(e,t,s)=>{"use strict";var n=s(6100);e.exports=n({}.isPrototypeOf)},8600:(e,t,s)=>{"use strict";var n=s(6100),r=s(701),i=s(3273),o=s(1005).indexOf,a=s(5241),c=n([].push);e.exports=function(e,t){var s,n=i(e),u=0,l=[];for(s in n)!r(a,s)&&r(n,s)&&c(l,s);for(;t.length>u;)r(n,s=t[u++])&&(~o(l,s)||c(l,s));return l}},8364:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683);e.exports=Object.keys||function(e){return n(e,r)}},7161:(e,t)=>{"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!s.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:s},3491:(e,t,s)=>{"use strict";var n=s(3574),r=s(262),i=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 i(s),o(n),r(s)?(t?e(s,n):s.__proto__=n,s):s}}():void 0)},9559:(e,t,s)=>{"use strict";var n=s(4904),r=s(8407);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},9258:(e,t,s)=>{"use strict";var n=s(4713),r=s(2769),i=s(262),o=TypeError;e.exports=function(e,t){var s,a;if("string"===t&&r(s=e.toString)&&!i(a=n(s,e)))return a;if(r(s=e.valueOf)&&!i(a=n(s,e)))return a;if("string"!==t&&r(s=e.toString)&&!i(a=n(s,e)))return a;throw new o("Can't convert object to primitive value")}},5691:(e,t,s)=>{"use strict";var n=s(1003),r=s(6100),i=s(5116),o=s(7313),a=s(7235),c=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),s=o.f;return s?c(t,s(e)):t}},8099:e=>{"use strict";e.exports={}},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}})}},5426:(e,t,s)=>{"use strict";var n=s(3057),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},1811:(e,t,s)=>{"use strict";var n=s(4904),r=s(9989).f,i=s(3999),o=s(701),a=s(9559),c=s(8655)("toStringTag");e.exports=function(e,t,s,u){var l=s?e:e&&e.prototype;l&&(o(l,c)||r(l,c,{configurable:!0,value:t}),u&&!n&&i(l,"toString",a))}},4275:(e,t,s)=>{"use strict";var n=s(8141),r=s(1268),i=n("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},3753:(e,t,s)=>{"use strict";var n=s(4871),r=s(8900),i=s(7525),o="__core-js_shared__",a=e.exports=r[o]||i(o,{});(a.versions||(a.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},8141:(e,t,s)=>{"use strict";var n=s(3753);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},5571:(e,t,s)=>{"use strict";var n=s(6100),r=s(9903),i=s(1139),o=s(5426),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,s){var n,l,d=i(o(t)),m=r(s),h=d.length;return m<0||m>=h?e?"":void 0:(n=c(d,m))<55296||n>56319||m+1===h||(l=c(d,m+1))<56320||l>57343?e?a(d,m):n:e?u(d,m,m+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},4603:(e,t,s)=>{"use strict";var n=s(5547),r=s(1203),i=s(8900).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(e,t,s)=>{"use strict";var n=s(9903),r=Math.max,i=Math.min;e.exports=function(e,t){var s=n(e);return s<0?r(s+t,0):i(s,t)}},3273:(e,t,s)=>{"use strict";var n=s(1395),r=s(5426);e.exports=function(e){return n(r(e))}},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)}},8146:(e,t,s)=>{"use strict";var n=s(9903),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},2137:(e,t,s)=>{"use strict";var n=s(5426),r=Object;e.exports=function(e){return r(n(e))}},493:(e,t,s)=>{"use strict";var n=s(4713),r=s(262),i=s(6281),o=s(4674),a=s(9258),c=s(8655),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var s,c=o(e,l);if(c){if(void 0===t&&(t="default"),s=n(c,e,t),!r(s)||i(s))return s;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},5341:(e,t,s)=>{"use strict";var n=s(493),r=s(6281);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},4904:(e,t,s)=>{"use strict";var n={};n[s(8655)("toStringTag")]="z",e.exports="[object z]"===String(n)},1139:(e,t,s)=>{"use strict";var n=s(8407),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},459:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1268:(e,t,s)=>{"use strict";var n=s(6100),r=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},7460:(e,t,s)=>{"use strict";var n=s(4603);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(e,t,s)=>{"use strict";var n=s(8900),r=s(2769),i=n.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8655:(e,t,s)=>{"use strict";var n=s(8900),r=s(8141),i=s(701),o=s(1268),a=s(4603),c=s(7460),u=n.Symbol,l=r("wks"),d=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:d("Symbol."+e)),l[e]}},6453:(e,t,s)=>{"use strict";var n=s(1003),r=s(701),i=s(3999),o=s(4317),a=s(3491),c=s(7464),u=s(5516),l=s(3507),d=s(4879),m=s(8148),h=s(4279),p=s(5024),_=s(4871);e.exports=function(e,t,s,g){var f="stackTraceLimit",b=g?2:1,v=e.split("."),y=v[v.length-1],w=n.apply(null,v);if(w){var E=w.prototype;if(!_&&r(E,"cause")&&delete E.cause,!s)return w;var x=n("Error"),S=t((function(e,t){var s=d(g?t:e,void 0),n=g?new w(e):new w;return void 0!==s&&i(n,"message",s),h(n,S,n.stack,2),this&&o(E,this)&&l(n,this,S),arguments.length>b&&m(n,arguments[b]),n}));if(S.prototype=E,"Error"!==y?a?a(S,x):c(S,x,{name:!0}):p&&f in w&&(u(S,w,f),u(S,w,"prepareStackTrace")),c(S,w),!_)try{E.name!==y&&i(E,"name",y),E.constructor=S}catch(e){}return S}}},6138:(e,t,s)=>{"use strict";var n=s(9098),r=s(1003),i=s(7013),o=s(1203),a=s(6453),c="AggregateError",u=r(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,s){return i(e,this,arguments)}}),l,!0)})},3085:(e,t,s)=>{"use strict";var n=s(9098),r=s(4317),i=s(3671),o=s(3491),a=s(7464),c=s(5780),u=s(3999),l=s(480),d=s(8148),m=s(4279),h=s(208),p=s(4879),_=s(8655)("toStringTag"),g=Error,f=[].push,b=function(e,t){var s,n=r(v,this);o?s=o(new g,n?i(this):v):(s=n?this:c(v),u(s,_,"Error")),void 0!==t&&u(s,"message",p(t)),m(s,b,s.stack,1),arguments.length>2&&d(s,arguments[2]);var a=[];return h(e,f,{that:a}),u(s,"errors",a),s};o?o(b,g):a(b,g,{name:!0});var v=b.prototype=c(g.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},5695:(e,t,s)=>{"use strict";s(3085)},9828:(e,t,s)=>{"use strict";var n=s(3273),r=s(8137),i=s(6625),o=s(8417),a=s(9989).f,c=s(164),u=s(877),l=s(4871),d=s(5024),m="Array Iterator",h=o.set,p=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){h(this,{type:m,target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,s=e.index++;if(!t||s>=t.length)return e.target=null,u(void 0,!0);switch(e.kind){case"keys":return u(s,!1);case"values":return u(t[s],!1)}return u([s,t[s]],!1)}),"values");var _=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&d&&"values"!==_.name)try{a(_,"name",{value:"values"})}catch(e){}},484:(e,t,s)=>{"use strict";var n=s(9098),r=s(8900),i=s(7013),o=s(6453),a="WebAssembly",c=r[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var s={};s[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},s)},d=function(e,t){if(c&&c[e]){var s={};s[e]=o(a+"."+e,t,u),n({target:a,stat:!0,constructor:!0,arity:1,forced:u},s)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},3832:(e,t,s)=>{"use strict";var n=s(5571).charAt,r=s(1139),i=s(8417),o=s(164),a=s(877),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:r(e),index:0})}),(function(){var e,t=l(this),s=t.string,r=t.index;return r>=s.length?a(void 0,!0):(e=n(s,r),t.index+=e.length,a(e,!1))}))},5442:(e,t,s)=>{"use strict";s(5695)},85:(e,t,s)=>{"use strict";s(9828);var n=s(1100),r=s(8900),i=s(1811),o=s(6625);for(var a in n)i(r[a],a),o[a]=o.Array},239:(e,t,s)=>{"use strict";s(5442);var n=s(6656);s(85),e.exports=n}},__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(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})();var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{detect:()=>Mb,detectionRegExp:()=>Ob,mediaTypes:()=>jb,namespace:()=>Pb,parse:()=>Bb});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{hasElementSourceMap:()=>ts,includesClasses:()=>ns,includesSymbols:()=>ss,isAnnotationElement:()=>Kt,isArrayElement:()=>Jt,isBooleanElement:()=>Wt,isCommentElement:()=>Xt,isElement:()=>Vt,isLinkElement:()=>zt,isMemberElement:()=>Gt,isNullElement:()=>Lt,isNumberElement:()=>Ut,isObjectElement:()=>Ht,isParseResultElement:()=>Yt,isPrimitiveElement:()=>es,isRefElement:()=>Zt,isSourceMapElement:()=>Qt,isStringElement:()=>Dt});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{isJSONReferenceElement:()=>Zi,isJSONSchemaElement:()=>zi,isLinkDescriptionElement:()=>Xi,isMediaElement:()=>Ki});var s={};__webpack_require__.r(s),__webpack_require__.d(s,{isJSONReferenceElement:()=>Zi,isJSONSchemaElement:()=>_o,isLinkDescriptionElement:()=>go,isMediaElement:()=>Ki});var n={};__webpack_require__.r(n),__webpack_require__.d(n,{isJSONReferenceElement:()=>Zi,isJSONSchemaElement:()=>Qa,isLinkDescriptionElement:()=>ec});var r={};function i(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function o(e){return function t(s){return 0===arguments.length||i(s)?t:e.apply(this,arguments)}}function a(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return i(s)?t:o((function(t){return e(s,t)}));default:return i(s)&&i(n)?t:i(s)?o((function(t){return e(t,n)})):i(n)?o((function(t){return e(s,t)})):e(s,n)}}}function c(e){return function t(s,n,r){switch(arguments.length){case 0:return t;case 1:return i(s)?t:a((function(t,n){return e(s,t,n)}));case 2:return i(s)&&i(n)?t:i(s)?a((function(t,s){return e(t,n,s)})):i(n)?a((function(t,n){return e(s,t,n)})):o((function(t){return e(s,n,t)}));default:return i(s)&&i(n)&&i(r)?t:i(s)&&i(n)?a((function(t,s){return e(t,s,r)})):i(s)&&i(r)?a((function(t,s){return e(t,n,s)})):i(n)&&i(r)?a((function(t,n){return e(s,t,n)})):i(s)?o((function(t){return e(t,n,r)})):i(n)?o((function(t){return e(s,t,r)})):i(r)?o((function(t){return e(s,n,t)})):e(s,n,r)}}}__webpack_require__.r(r),__webpack_require__.d(r,{isAsyncApi2Element:()=>pc,isAsyncApiVersionElement:()=>_c,isBooleanJsonSchemaElement:()=>Pc,isChannelBindingsElement:()=>gc,isChannelItemElement:()=>fc,isChannelsElement:()=>bc,isComponentsElement:()=>vc,isContactElement:()=>yc,isIdentifierElement:()=>wc,isInfoElement:()=>Ec,isLicenseElement:()=>xc,isOperationElement:()=>Sc,isParameterElement:()=>jc,isParametersElement:()=>Oc,isReferenceElement:()=>Mc,isSchemaElement:()=>Bc,isSecurityRequirementElement:()=>Ac,isServerBindingsElement:()=>$c,isServerElement:()=>Tc,isServerVariableElement:()=>Fc,isServersElement:()=>Cc});const u=a((function(e,t){return null==t||t!=t?e:t})),l=Number.isInteger||function(e){return(e|0)===e};function d(e){return"[object String]"===Object.prototype.toString.call(e)}function m(e,t){var s=e<0?t.length+e:e;return d(t)?t.charAt(s):t[s]}const h=a((function(e,t){if(null!=t)return l(e)?m(e,t):t[e]}));const p=c((function(e,t,s){return u(e,h(t,s))}));var _=a((function(e,t){for(var s={},n={},r=0,i=e.length;r<i;)n[e[r]]=1,r+=1;for(var o in t)n.hasOwnProperty(o)||(s[o]=t[o]);return s}));const g=_;function f(e,t,s){for(var n=0,r=s.length;n<r;)t=e(t,s[n]),n+=1;return t}const b=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const v=o((function(e){return!!b(e)||!!e&&("object"==typeof e&&(!d(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var y="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function w(e,t,s){return function(n,r,i){if(v(i))return e(n,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(n,r,i,"fantasy-land/reduce");if(null!=i[y])return s(n,r,i[y]());if("function"==typeof i.next)return s(n,r,i);if("function"==typeof i.reduce)return t(n,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function E(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function x(e,t,s,n){return s[n](e,t)}const S=w(f,x,E);function j(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!b(n)){for(var r=0;r<e.length;){if("function"==typeof n[e[r]])return n[e[r]].apply(n,Array.prototype.slice.call(arguments,0,-1));r+=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,r=Array(n);s<n;)r[s]=e(t[s]),s+=1;return r}const M=function(){return this.xf["@@transducer/init"]()},B=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"]=B,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 T(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,r){return t.apply(this,arguments)};case 5:return function(e,s,n,r,i){return t.apply(this,arguments)};case 6:return function(e,s,n,r,i,o){return t.apply(this,arguments)};case 7:return function(e,s,n,r,i,o,a){return t.apply(this,arguments)};case 8:return function(e,s,n,r,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,s,n,r,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,s,n,r,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function $(e,t,s){return function(){for(var n=[],r=0,o=e,a=0,c=!1;a<t.length||r<arguments.length;){var u;a<t.length&&(!i(t[a])||r>=arguments.length)?u=t[a]:(u=arguments[r],r+=1),n[a]=u,i(u)?c=!0:o-=1,a+=1}return!c&&o<=0?s.apply(this,n):T(Math.max(0,o),$(e,n,s))}}const C=a((function(e,t){return 1===e?o(t):T(e,$(e,[],t))}));function F(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 F("callee",e)}}();var k=!{toString:null}.propertyIsEnumerable("toString"),N=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],q=function(){return arguments.propertyIsEnumerable("length")}(),V=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},D="function"!=typeof Object.keys||q?o((function(e){if(Object(e)!==e)return[];var t,s,n=[],r=q&&R(e);for(t in e)!F(t,e)||r&&"length"===t||(n[n.length]=t);if(k)for(s=N.length-1;s>=0;)F(t=N[s],e)&&!V(n,t)&&(n[n.length]=t),s-=1;return n})):o((function(e){return Object(e)!==e?[]:Object.keys(e)}));const U=D;const L=a(j(["fantasy-land/map","map"],A,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return C(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return f((function(s,n){return s[n]=e(t[n]),s}),{},U(t));default:return O(e,t)}})));const W=a((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))}:S((function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,r=t.length,i=[];for(s=0;s<n;)i[i.length]=e[s],s+=1;for(s=0;s<r;)i[i.length]=t[s],s+=1;return i}(e,L(s,t))}),[],e)}));const H=a((function(e,t){var s=C(e,t);return C(e,(function(){return f(W,L(s,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const J=o((function(e){return H(e.length,e)}));const G=J(o((function(e){return!e})));function z(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function Z(e,t,s){for(var n=0,r=s.length;n<r;){if(e(t,s[n]))return!0;n+=1}return!1}const K="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const X=o((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function Y(e,t,s,n){var r=z(e);function i(e,t){return Q(e,t,s.slice(),n.slice())}return!Z((function(e,t){return!Z(i,t,e)}),z(t),r)}function Q(e,t,s,n){if(K(e,t))return!0;var r,i,o=X(e);if(o!==X(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"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!K(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!K(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&&Y(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&Y(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 u=s.concat([e]),l=n.concat([t]);for(a=c.length-1;a>=0;){var d=c[a];if(!F(d,t)||!Q(t[d],e[d],u,l))return!1;a-=1}return!0}const ee=a((function(e,t){return Q(e,t,[],[])}));const te=o((function(e){return function(){return e}}));const se=te(void 0);const ne=ee(se());const re=G(ne);var ie=__webpack_require__(8326);function oe(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ae(e,t,s){for(var n=0,r=s.length;n<r;){if((t=e["@@transducer/step"](t,s[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const ce=a((function(e,t){return T(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 le(e,t,s,n){return e["@@transducer/result"](s[n](ce(e["@@transducer/step"],e),t))}const de=w(ae,le,ue);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const he=c((function(e,t,s){return de("function"==typeof e?new me(e):e,t,s)}));function pe(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return b(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const _e=c(pe("slice",(function(e,t,s){return Array.prototype.slice.call(s,e,t)})));const ge=o(pe("tail",_e(1,1/0)));function fe(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return T(arguments[0].length,he(oe,arguments[0],ge(arguments)))}var be=function(e,t){switch(arguments.length){case 0:return be;case 1:return function t(s){return 0===arguments.length?t:K(e,s)};default:return K(e,t)}};const ve=be;function ye(e,t){return function(e,t,s){var n,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(r=e[s])&&1/r===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(r=e[s])&&r!=r)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(ee(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 Ee=function(e){return(e<10?"0":"")+e};const xe="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Ee(e.getUTCMonth()+1)+"-"+Ee(e.getUTCDate())+"T"+Ee(e.getUTCHours())+":"+Ee(e.getUTCMinutes())+":"+Ee(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Se(e){return"[object Object]"===Object.prototype.toString.call(e)}var je=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=B,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Oe(e){return function(t){return new je(e,t)}}const Me=a(j(["fantasy-land/filter","filter"],Oe,(function(e,t){return Se(t)?f((function(s,n){return e(t[n])&&(s[n]=t[n]),s}),{},U(t)):function(e,t){for(var s=0,n=t.length,r=[];s<n;)e(t[s])&&(r[r.length]=t[s]),s+=1;return r}(e,t)})));const Be=a((function(e,t){return Me((s=e,function(){return!s.apply(this,arguments)}),t);var s}));function Pe(e,t){var s=function(s){var n=t.concat([e]);return ye(s,n)?"<Circular>":Pe(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,Be((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(xe(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 r=e.toString();if("[object Object]"!==r)return r}return"{"+n(e,U(e)).join(", ")+"}"}}const Ae=o((function(e){return Pe(e,[])}));function Te(e,t){for(var s=t,n=0;n<e.length;n+=1){if(null==s)return;var r=e[n];s=l(r)?m(r,s):s[r]}return s}const $e=c((function(e,t,s){return e(Te(t,s))}));function Ce(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Fe=a((function(e,t){return e&&t}));const Ie=a((function(e,t){return Ce(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:J(Fe)(e,t)}));const Re=ee(null);const ke=G(Re);function Ne(e){return Ne="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},Ne(e)}const qe=function(e){return"object"===Ne(e)};const Ve=C(1,Ie(ke,qe));const De=a((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 r=s(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=Ae(e),o=s(i,Ae(t));return void 0!==o&&o===i?e:t}));const Ue=a((function(e,t){return L(h(e),t)}));const Le=o((function(e){return C(he(De,0,Ue("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 We=C(1,fe(X,ve("GeneratorFunction")));const He=C(1,fe(X,ve("AsyncFunction")));const Je=Le([fe(X,ve("Function")),We,He]);var Ge=fe(X,ve("Object")),ze=fe(Ae,ee(Ae(Object))),Ze=$e(Ie(Je,ze),["constructor"]);const Ke=C(1,(function(e){if(!Ve(e)||!Ge(e))return!1;var t=Object.getPrototypeOf(e);return!!Re(t)||Ze(t)}));class Xe extends ie.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 Ye=Xe;class Qe extends ie.Om{constructor(e,t,s){super(e,t,s),this.element="comment"}}const et=Qe;class tt extends ie.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(ne(t))return!1;const s=this.content.findIndex((e=>e===t));return-1!==s&&(this.content[s]=e,!0)}}const st=tt;class nt extends ie.wE{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(void 0===e)return;const t=new ie.wE([e.start.row,e.start.column,e.start.char]),s=new ie.wE([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),s.classes.push("position"),this.push(t).push(s)}}const rt=nt;class it extends ie.g${constructor(){super(),this.register("annotation",Ye),this.register("comment",et),this.register("parseResult",st),this.register("sourceMap",rt)}}const ot=new it,at=e=>{const t=new it;return Ke(e)&&t.use(e),t},ct=ot;const ut=C(1,fe(X,ve("String"))),lt=__webpack_require__.p+"20cf92ce276cf3be872fb26fd7985dd3.wasm",dt=globalThis.fetch;Je(dt)&&(globalThis.fetch=(...e)=>ut(e[0])&&e[0].endsWith("tree-sitter.wasm")?dt.apply(globalThis,[lt,ge(e)]):dt.apply(globalThis,e));var mt=__webpack_require__(3833),ht=__webpack_require__(1212);const pt=class extends ht{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 _t extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(pt,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 gt=_t,ft=__webpack_require__.p+"8b9a42208b2f0cb650aa7e5c4e293a15.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 gt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return bt.parse(e)};const wt=class extends gt{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}},Et=(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},xt={},St=e=>null==e?void 0:e.type,jt=e=>"string"==typeof St(e),Ot=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),Mt=(e,{visitFnGetter:t=Et,nodeTypeGetter:s=St,breakSymbol:n=xt,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(u,l,d,m,h,p){let _=u,g=!1;const f={...p,replaceWith(e,t){p.replaceWith(e,t),_=e}};for(let u=0;u<e.length;u+=1)if(c[u]===a){const a=t(e[u],s(_),!1);if("function"==typeof a){const t=a.call(e[u],_,l,d,m,h,f);if("function"==typeof(null==t?void 0:t.then))throw new wt("Async visitor not supported in sync mode",{visitor:e[u],visitFn:a});if(t===i)c[u]=_;else if(t===n)c[u]=n;else{if(t===r)return t;if(void 0!==t){if(!o)return t;_=t,g=!0}}}}return g?_:void 0},leave(r,o,u,l,d,m){let h=r;const p={...m,replaceWith(e,t){m.replaceWith(e,t),h=e}};for(let r=0;r<e.length;r+=1)if(c[r]===a){const a=t(e[r],s(h),!0);if("function"==typeof a){const t=a.call(e[r],h,o,u,l,d,p);if("function"==typeof(null==t?void 0:t.then))throw new wt("Async visitor not supported in sync mode",{visitor:e[r],visitFn:a});if(t===n)c[r]=n;else if(void 0!==t&&t!==i)return t}}else c[r]===h&&(c[r]=a)}}};Mt[Symbol.for("nodejs.util.promisify.custom")]=(e,{visitFnGetter:t=Et,nodeTypeGetter:s=St,breakSymbol:n=xt,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{async enter(u,l,d,m,h,p){let _=u,g=!1;const f={...p,replaceWith(e,t){p.replaceWith(e,t),_=e}};for(let u=0;u<e.length;u+=1)if(c[u]===a){const a=t(e[u],s(_),!1);if("function"==typeof a){const t=await a.call(e[u],_,l,d,m,h,f);if(t===i)c[u]=_;else if(t===n)c[u]=n;else{if(t===r)return t;if(void 0!==t){if(!o)return t;_=t,g=!0}}}}return g?_:void 0},async leave(r,o,u,l,d,m){let h=r;const p={...m,replaceWith(e,t){m.replaceWith(e,t),h=e}};for(let r=0;r<e.length;r+=1)if(c[r]===a){const a=t(e[r],s(h),!0);if("function"==typeof a){const t=await a.call(e[r],h,o,u,l,d,p);if(t===n)c[r]=n;else if(void 0!==t&&t!==i)return t}}else c[r]===h&&(c[r]=a)}}};const Bt=(e,t,{keyMap:s=null,state:n={},breakSymbol:r=xt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Et,nodeTypeGetter:c=St,nodePredicate:u=jt,nodeCloneFn:l=Ot,detectCycles:d=!0}={})=>{const m=s||{};let h,p,_=Array.isArray(e),g=[e],f=-1,b=[],v=e;const y=[],w=[];do{f+=1;const e=f===g.length;let s;const S=e&&0!==b.length;if(e){if(s=0===w.length?void 0:y.pop(),v=p,p=w.pop(),S)if(_){v=v.slice();let e=0;for(const[t,s]of b){const n=t-e;s===i?(v.splice(n,1),e+=1):v[n]=s}}else{v=l(v);for(const[e,t]of b)v[e]=t}f=h.index,g=h.keys,b=h.edits,_=h.inArray,h=h.prev}else if(p!==i&&void 0!==p){if(s=_?f:g[f],v=p[s],v===i||void 0===v)continue;y.push(s)}let j;if(!Array.isArray(v)){var E;if(!u(v))throw new wt(`Invalid AST Node: ${String(v)}`,{node:v});if(d&&w.includes(v)){y.pop();continue}const i=a(t,c(v),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;const r={replaceWith(t,n){"function"==typeof n?n(t,v,s,p,y,w):p&&(p[s]=t),e||(v=t)}};j=i.call(t,v,s,p,y,w,r)}if("function"==typeof(null===(E=j)||void 0===E?void 0:E.then))throw new wt("Async visitor not supported in sync mode",{visitor:t,visitFn:i});if(j===r)break;if(j===o){if(!e){y.pop();continue}}else if(void 0!==j&&(b.push([s,j]),!e)){if(!u(j)){y.pop();continue}v=j}}var x;if(void 0===j&&S&&b.push([s,v]),!e)h={inArray:_,index:f,keys:g,edits:b,prev:h},_=Array.isArray(v),g=_?v:null!==(x=m[c(v)])&&void 0!==x?x:[],f=-1,b=[],p!==i&&void 0!==p&&w.push(p),p=v}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};function Pt(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}Bt[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=null,state:n={},breakSymbol:r=xt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Et,nodeTypeGetter:c=St,nodePredicate:u=jt,nodeCloneFn:l=Ot,detectCycles:d=!0}={})=>{const m=s||{};let h,p,_=Array.isArray(e),g=[e],f=-1,b=[],v=e;const y=[],w=[];do{f+=1;const e=f===g.length;let s;const x=e&&0!==b.length;if(e){if(s=0===w.length?void 0:y.pop(),v=p,p=w.pop(),x)if(_){v=v.slice();let e=0;for(const[t,s]of b){const n=t-e;s===i?(v.splice(n,1),e+=1):v[n]=s}}else{v=l(v);for(const[e,t]of b)v[e]=t}f=h.index,g=h.keys,b=h.edits,_=h.inArray,h=h.prev}else if(p!==i&&void 0!==p){if(s=_?f:g[f],v=p[s],v===i||void 0===v)continue;y.push(s)}let S;if(!Array.isArray(v)){if(!u(v))throw new wt(`Invalid AST Node: ${String(v)}`,{node:v});if(d&&w.includes(v)){y.pop();continue}const i=a(t,c(v),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;const r={replaceWith(t,n){"function"==typeof n?n(t,v,s,p,y,w):p&&(p[s]=t),e||(v=t)}};S=await i.call(t,v,s,p,y,w,r)}if(S===r)break;if(S===o){if(!e){y.pop();continue}}else if(void 0!==S&&(b.push([s,S]),!e)){if(!u(S)){y.pop();continue}v=S}}var E;if(void 0===S&&x&&b.push([s,v]),!e)h={inArray:_,index:f,keys:g,edits:b,prev:h},_=Array.isArray(v),g=_?v:null!==(E=m[c(v)])&&void 0!==E?E:[],f=-1,b=[],p!==i&&void 0!==p&&w.push(p),p=v}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};var At=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=Pt(this.xf["@@transducer/step"](e,!1))),e},e}();function Tt(e){return function(t){return new At(e,t)}}const $t=a(j(["all"],Tt,(function(e,t){for(var s=0;s<t.length;){if(!e(t[s]))return!1;s+=1}return!0})));const Ct=o((function(e){return C(e.length,(function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)}))}))(a(ye)),Ft=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],It=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Rt=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),kt=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof ie.wE)&&t.classes.includes(e),Nt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,qt=e=>e({hasMethod:Ft,hasBasicElementProps:It,primitiveEq:Rt,isElementType:Nt,hasClass:kt}),Vt=qt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ie.Hg||e(s)&&t(void 0,s))),Dt=qt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ie.Om||e(s)&&t("string",s))),Ut=qt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ie.kT||e(s)&&t("number",s))),Lt=qt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ie.Os||e(s)&&t("null",s))),Wt=qt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ie.bd||e(s)&&t("boolean",s))),Ht=qt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ie.Sh||e(n)&&t("object",n)&&s("keys",n)&&s("values",n)&&s("items",n))),Jt=qt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ie.wE&&!(n instanceof ie.Sh)||e(n)&&t("array",n)&&s("push",n)&&s("unshift",n)&&s("map",n)&&s("reduce",n))),Gt=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ie.Pr||e(n)&&t("member",n)&&s(void 0,n))),zt=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ie.Ft||e(n)&&t("link",n)&&s(void 0,n))),Zt=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ie.sI||e(n)&&t("ref",n)&&s(void 0,n))),Kt=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ye||e(n)&&t("annotation",n)&&s("array",n))),Xt=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof et||e(n)&&t("comment",n)&&s("string",n))),Yt=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof st||e(n)&&t("parseResult",n)&&s("array",n))),Qt=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof rt||e(n)&&t("sourceMap",n)&&s("array",n))),es=e=>Nt("object",e)||Nt("array",e)||Nt("boolean",e)||Nt("number",e)||Nt("string",e)||Nt("null",e)||Nt("member",e),ts=e=>Qt(e.meta.get("sourceMap")),ss=(e,t)=>{if(0===e.length)return!0;const s=t.attributes.get("symbols");return!!Jt(s)&&$t(Ct(s.toValue()),e)},ns=(e,t)=>0===e.length||$t(Ct(t.classes.toValue()),e);const rs=class extends wt{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const is=class extends rs{};const os=class extends rs{},as=(e,t={})=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);if(e instanceof ie.KeyValuePair){const{key:t,value:r}=e,i=Vt(t)?as(t,n):t,o=Vt(r)?as(r,n):r,a=new ie.KeyValuePair(i,o);return s.set(e,a),a}if(e instanceof ie.ot){const t=e=>as(e,n),r=[...e].map(t),i=new ie.ot(r);return s.set(e,i),i}if(e instanceof ie.G6){const t=e=>as(e,n),r=[...e].map(t),i=new ie.G6(r);return s.set(e,i),i}if(Vt(e)){const t=ls(e);if(s.set(e,t),e.content)if(Vt(e.content))t.content=as(e.content,n);else if(e.content instanceof ie.KeyValuePair)t.content=as(e.content,n);else if(Array.isArray(e.content)){const s=e=>as(e,n);t.content=e.content.map(s)}else t.content=e.content;else t.content=e.content;return t}throw new is("Value provided to cloneDeep function couldn't be cloned",{value:e})};as.safe=e=>{try{return as(e)}catch{return e}};const cs=e=>{const{key:t,value:s}=e;return new ie.KeyValuePair(t,s)},us=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=as(e.meta)),e.attributes.length>0&&(t._attributes=as(e.attributes)),Vt(e.content)){const s=e.content;t.content=us(s)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof ie.KeyValuePair?t.content=cs(e.content):t.content=e.content;return t},ls=e=>{if(e instanceof ie.KeyValuePair)return cs(e);if(e instanceof ie.ot)return(e=>{const t=[...e];return new ie.ot(t)})(e);if(e instanceof ie.G6)return(e=>{const t=[...e];return new ie.G6(t)})(e);if(Vt(e))return us(e);throw new os("Value provided to cloneShallow function couldn't be cloned",{value:e})};ls.safe=e=>{try{return ls(e)}catch{return e}};const ds=e=>Ht(e)?"ObjectElement":Jt(e)?"ArrayElement":Gt(e)?"MemberElement":Dt(e)?"StringElement":Wt(e)?"BooleanElement":Ut(e)?"NumberElement":Lt(e)?"NullElement":zt(e)?"LinkElement":Zt(e)?"RefElement":void 0,ms=e=>Vt(e)?ls(e):Ot(e),hs=fe(ds,ut),ps={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const _s=(e,t,{keyMap:s=ps,...n}={})=>Bt(e,t,{keyMap:s,nodeTypeGetter:ds,nodePredicate:hs,nodeCloneFn:ms,...n});_s[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=ps,...n}={})=>Bt[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:s,nodeTypeGetter:ds,nodePredicate:hs,nodeCloneFn:ms,...n});const gs=c((function(e,t,s){var n,r={};for(n in s=s||{},t=t||{})F(n,t)&&(r[n]=F(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)F(n,s)&&!F(n,r)&&(r[n]=s[n]);return r}));const fs=c((function e(t,s,n){return gs((function(s,n,r){return Se(n)&&Se(r)?e(t,n,r):t(s,n,r)}),s,n)}));const bs=a((function(e,t){return fs((function(e,t,s){return s}),e,t)}));const vs=a(Te);const ys=_e(0,-1);const ws=a((function(e,t){return e.apply(this,t)}));const Es=G(Je);var xs=o((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():b(e)?[]:d(e)?"":Se(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 Ss=xs;const js=o((function(e){return null!=e&&ee(e,Ss(e))}));const Os=C(1,Je(Array.isArray)?Array.isArray:fe(X,ve("Array")));const Ms=Ie(Os,js);const Bs=C(3,(function(e,t,s){var n=vs(e,s),r=vs(ys(e),s);if(!Es(n)&&!Ms(e)){var i=ce(n,r);return ws(i,t)}})),Ps=()=>({predicates:{...e},namespace:ct}),As={toolboxCreator:Ps,visitorOptions:{nodeTypeGetter:ds,exposeEdits:!0}},Ts=(e,t,s={})=>{if(0===t.length)return e;const n=bs(As,s),{toolboxCreator:r,visitorOptions:i}=n,o=r(),a=t.map((e=>e(o))),c=Mt(a.map(p({},"visitor")),{...i});a.forEach(Bs(["pre"],[]));const u=_s(e,c,i);return a.forEach(Bs(["post"],[])),u};Ts[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=bs(As,s),{toolboxCreator:r,visitorOptions:i}=n,o=r(),a=t.map((e=>e(o))),c=Mt[Symbol.for("nodejs.util.promisify.custom")],u=_s[Symbol.for("nodejs.util.promisify.custom")],l=c(a.map(p({},"visitor")),{...i});await Promise.allSettled(a.map(Bs(["pre"],[])));const d=await u(e,l,i);return await Promise.allSettled(a.map(Bs(["post"],[]))),d};const $s=(e,{Type:t,plugins:s=[]})=>{const n=new t(e);return Vt(e)&&(e.meta.length>0&&(n.meta=as(e.meta)),e.attributes.length>0&&(n.attributes=as(e.attributes))),Ts(n,s,{toolboxCreator:Ps,visitorOptions:{nodeTypeGetter:ds}})},Cs=e=>(t,s={})=>$s(t,{...s,Type:e});ie.Sh.refract=Cs(ie.Sh),ie.wE.refract=Cs(ie.wE),ie.Om.refract=Cs(ie.Om),ie.bd.refract=Cs(ie.bd),ie.Os.refract=Cs(ie.Os),ie.kT.refract=Cs(ie.kT),ie.Ft.refract=Cs(ie.Ft),ie.sI.refract=Cs(ie.sI),Ye.refract=Cs(Ye),et.refract=Cs(et),st.refract=Cs(st),rt.refract=Cs(rt);const Fs=class{type;startPosition;endPosition;startIndex;endIndex;text;isNamed;isMissing;fieldName;hasError=!1;children=[];constructor(e){this.type=e.nodeType,this.startPosition=e.startPosition,this.endPosition=e.endPosition,this.startIndex=e.startIndex,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}setFieldName(e){return this.fieldName=e.currentFieldName,this}setHasError(e){return this.hasError=e.currentNode.hasError,this}pushChildren(...e){this.children.push(...e)}};class Is{static toPosition(e){const t=new ie.wE([e.startPosition.row,e.startPosition.column,e.startIndex]),s=new ie.wE([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),s.classes.push("position"),[t,s]}sourceMap=!1;annotations;ParseResultElement={leave:e=>{const t=e.findElements(es);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}enter(e){if(e instanceof Fs&&!e.isNamed&&e.isMissing){const t=e.type||e.text,s=new Ye(`(Missing ${t})`);s.classes.push("warning"),this.maybeAddSourceMap(e,s),this.annotations.push(s)}return null}document(e){const t=new st;return t._content=e.children,this.maybeAddSourceMap(e,t),t}object(e){const t=new ie.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}array(e){const t=new ie.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}pair(e){const t=new ie.Pr;return t.content.key=e.keyNode,t.content.value=e.valueNode,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"ERROR"===e.type)).forEach((t=>{this.ERROR(t,e,[],[e])})),t}string(e){const t=new ie.Om(JSON.parse(e.text));return this.maybeAddSourceMap(e,t),t}number(e){const t=new ie.kT(Number(e.text));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ie.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ie.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ie.bd(!1);return this.maybeAddSourceMap(e,t),t}ERROR(e,t,s,n){const r=!e.hasError,i=e.text,o=new Ye(r?`(Unexpected ${i})`:`(Error ${i})`);if(o.classes.push("error"),this.maybeAddSourceMap(e,o),0===n.length){const e=new st;return e.push(o),e}return this.annotations.push(o),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const s=new rt,n=Is.toPosition(e);if(null!==n){const[e,t]=n;s.push(e),s.push(t)}s.astNode=e,t.meta.set("sourceMap",s)}}const Rs=Is;class ks{cursor;constructor(e){this.cursor=e}document(){return new Fs(this.cursor)}object(){return new Fs(this.cursor).setFieldName(this.cursor)}array(){return new Fs(this.cursor).setFieldName(this.cursor)}pair(){return new Fs(this.cursor)}string(){return new Fs(this.cursor).setFieldName(this.cursor)}number(){return new Fs(this.cursor).setFieldName(this.cursor)}null(){return new Fs(this.cursor).setFieldName(this.cursor)}true(){return new Fs(this.cursor).setFieldName(this.cursor)}false(){return new Fs(this.cursor).setFieldName(this.cursor)}ERROR(){return new Fs(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Fs(this.cursor),this.cursor.gotoFirstChild()){const[t]=new ks(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new ks(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const Ns=ks,qs={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...ps},Vs=e=>Yt(e)?"ParseResultElement":Vt(e)?ds(e):St(e),Ds=e=>Vt(e)||jt(e),Us=(e,{sourceMap:t=!1}={})=>{const s=new Rs,n=e.walk(),r=new Ns(n),[i]=Array.from(r);return Bt(i,s,{keyMap:qs,nodeTypeGetter:Vs,nodePredicate:Ds,state:{sourceMap:t}})};class Ls{static type="point";type=Ls.type;row;column;char;constructor({row:e,column:t,char:s}){this.row=e,this.column=t,this.char=s}}class Ws{static type="position";type=Ws.type;start;end;constructor({start:e,end:t}){this.start=e,this.end=t}}const Hs=Ws;const Js=o((function(e){return m(0,e)}));const Gs=class{static type="node";type="node";isMissing;children;position;constructor({children:e=[],position:t,isMissing:s=!1}={}){this.type=this.constructor.type,this.isMissing=s,this.children=e,this.position=t}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}};const zs=class extends Gs{};const Zs=class extends zs{static type="document";get child(){return Js(this.children)}};const Ks=class extends Gs{static type="parseResult";get rootNode(){return Js(this.children)}};const Xs=class extends Gs{static type="literal";value;constructor({value:e,...t}={}){super({...t}),this.value=e}},Ys=(e,t)=>null!=t&&"object"==typeof t&&"type"in t&&t.type===e,Qs=e=>Ys("string",e),en=e=>Ys("false",e),tn=e=>Ys("true",e),sn=e=>Ys("null",e),nn=e=>Ys("number",e),rn=e=>Ys("array",e),on=e=>Ys("object",e),an=e=>Ys("property",e),cn=e=>Ys("key",e);const un=class extends zs{static type="object";get properties(){return this.children.filter(an)}};const ln=class extends zs{static type="string";get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((e=>(e=>Ys("stringContent",e))(e)||(e=>Ys("escapeSequence",e))(e))).reduce(((e,t)=>e+t.value),"")}};const dn=class extends ln{static type="key"};const mn=class extends zs{static type="property";get key(){return this.children.find(cn)}get value(){return this.children.find((e=>en(e)||tn(e)||sn(e)||nn(e)||Qs(e)||rn(e)||on(e)))}};const hn=class extends zs{static type="array";get items(){return this.children.filter((e=>en(e)||tn(e)||sn(e)||nn(e)||Qs(e)||rn(e)||on))}};const pn=class extends zs{static type="value";value;constructor({value:e,...t}){super({...t}),this.value=e}};const _n=class extends pn{static type="stringContent"};const gn=class extends pn{static type="number"};const fn=class extends pn{static type="null"};const bn=class extends pn{static type="true"};const vn=class extends pn{static type="false"};const yn=class extends Gs{static type="error";value;isUnexpected;constructor({value:e,isUnexpected:t=!1,...s}={}){super({...s}),this.value=e,this.isUnexpected=t}},wn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]};class En{static toPosition(e){const t=new Ls({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),s=new Ls({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return new Hs({start:t,end:s})}document={enter:e=>{const t=En.toPosition(e);return new Zs({children:e.children,position:t,isMissing:e.isMissing})},leave:e=>new Ks({children:[e]})};enter(e){if(e instanceof Fs&&!e.isNamed){const t=En.toPosition(e),s=e.type||e.text,{isMissing:n}=e;return new Xs({value:s,position:t,isMissing:n})}}object(e){const t=En.toPosition(e);return new un({children:e.children,position:t,isMissing:e.isMissing})}pair(e){const t=En.toPosition(e),s=e.children.slice(1),{keyNode:n}=e,r=new dn({children:(null==n?void 0:n.children)||[],position:null!=n?En.toPosition(n):void 0,isMissing:null!=n&&n.isMissing});return new mn({children:[r,...s],position:t,isMissing:e.isMissing})}array(e){const t=En.toPosition(e);return new hn({children:e.children,position:t,isMissing:e.isMissing})}string(e){const t=En.toPosition(e),s=new _n({value:JSON.parse(e.text)});return new ln({children:[s],position:t,isMissing:e.isMissing})}number(e){const t=En.toPosition(e),s=e.text;return new gn({value:s,position:t,isMissing:e.isMissing})}null(e){const t=En.toPosition(e),s=e.text;return new fn({value:s,position:t,isMissing:e.isMissing})}true(e){const t=En.toPosition(e),s=e.text;return new bn({value:s,position:t,isMissing:e.isMissing})}false(e){const t=En.toPosition(e),s=e.text;return new vn({value:s,position:t,isMissing:e.isMissing})}ERROR(e,t,s,n){const r=En.toPosition(e),i=new yn({children:e.children,position:r,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text});return 0===n.length?new Ks({children:[i]}):i}}const xn=En,Sn={[Ks.type]:["children"],[Zs.type]:["children"],[un.type]:["children"],[mn.type]:["children"],[hn.type]:["children"],[yn.type]:["children"],...ps},jn=e=>Yt(e)?"ParseResultElement":Vt(e)?ds(e):St(e),On=e=>Vt(e)||jt(e);const Mn=class{sourceMap=!1;annotations;ParseResultElement={leave:e=>{const t=e.findElements(es);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}document(e){const t=new st;return t._content=e.children,t}object(e){const t=new ie.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}property(e){const t=new ie.Pr;return t.content.key=e.key,t.content.value=e.value,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"error"===e.type)).forEach((t=>{this.error(t,e,[],[e])})),t}key(e){const t=new ie.Om(e.value);return this.maybeAddSourceMap(e,t),t}array(e){const t=new ie.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}string(e){const t=new ie.Om(e.value);return this.maybeAddSourceMap(e,t),t}number(e){const t=new ie.kT(Number(e.value));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ie.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ie.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ie.bd(!1);return this.maybeAddSourceMap(e,t),t}literal(e){if(e.isMissing){const t=`(Missing ${e.value})`,s=new Ye(t);s.classes.push("warning"),this.maybeAddSourceMap(e,s),this.annotations.push(s)}return null}error(e,t,s,n){const r=e.isUnexpected?`(Unexpected ${e.value})`:`(Error ${e.value})`,i=new Ye(r);if(i.classes.push("error"),this.maybeAddSourceMap(e,i),0===n.length){const e=new st;return e.push(i),e}return this.annotations.push(i),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const s=new rt;s.position=e.position,s.astNode=e,t.meta.set("sourceMap",s)}},Bn=(e,{sourceMap:t=!1}={})=>{const s=e.walk(),n=new Ns(s),[r]=Array.from(n),i=new xn,o=new Mn,a=Bt(r,i,{keyMap:wn,state:{sourceMap:t}});return Bt(a.rootNode,o,{keyMap:Sn,nodeTypeGetter:jn,nodePredicate:On,state:{sourceMap:t}})},Pn=(at(),/(?<true>^\s*true\s*$)|(?<false>^\s*false\s*$)|(?<null>^\s*null\s*$)|(?<number>^\s*\d+\s*$)|(?<object>^\s*{\s*)|(?<array>^\s*\[\s*)|(?<string>^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/);const An=a((function(e,t){return f((function(s,n){return s[n]=e(t[n],n,t),s}),{},U(t))}));const Tn=o((function(e){return null==e}));var $n=a((function(e,t){if(0===e.length||Tn(t))return!1;for(var s=t,n=0;n<e.length;){if(Tn(s)||!F(e[n],s))return!1;s=s[e[n]],n+=1}return!0}));const Cn=$n;var Fn=a((function(e,t){return Cn([e],t)}));const In=Fn;const Rn=c((function(e,t,s){return e(h(t,s))}));const kn=o((function(e){return C(e.length,e)}));const Nn=a((function(e,t){return C(e+1,(function(){var s=arguments[e];if(null!=s&&Ce(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Ae(s)+' does not have a method named "'+t+'"')}))}));const qn=Nn(1,"split");var Vn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=B,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 Dn(e){return function(t){return new Vn(e,t)}}const Un=a(j(["dropWhile"],Dn,(function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return _e(s,1/0,t)})));const Ln=Nn(1,"join");const Wn=kn((function(e,t){return fe(qn(""),Un(Ct(e)),Ln(""))(t)})),Hn=(e,t)=>{const s=u(e,t);return An((e=>{if(Ke(e)&&In("$ref",e)&&Rn(ut,"$ref",e)){const t=vs(["$ref"],e),n=Wn("#/",t);return vs(n.split("/"),s)}return Ke(e)?Hn(e,s):e}),e)};var Jn=c((function e(t,s,n){if(0===t.length)return s;var r=t[0];if(t.length>1){var i=!Tn(n)&&F(r,n)&&"object"==typeof n[r]?n[r]:l(t[1])?[]:{};s=e(Array.prototype.slice.call(t,1),s,i)}return function(e,t,s){if(l(e)&&b(s)){var n=[].concat(s);return n[e]=t,n}var r={};for(var i in s)r[i]=s[i];return r[e]=t,r}(r,s,n)}));const Gn=Jn;const zn=c((function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n}));var Zn=c((function(e,t,s){return Gn([e],t,s)}));const Kn=Zn;var Xn=a((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(l(e)&&b(t))return zn(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],r=Array.prototype.slice.call(t,1);return null==s[n]?function(e,t){if(l(e)&&b(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):Kn(n,e(r,s[n]),s)}}));const Yn=Xn;const Qn=function(){return!0},er=e=>"string"==typeof(null==e?void 0:e.type)?e.type:ds(e),tr={EphemeralObject:["content"],EphemeralArray:["content"],...ps},sr=(e,t,{keyMap:s=tr,...n}={})=>_s(e,t,{keyMap:s,nodeTypeGetter:er,nodePredicate:Qn,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});sr[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=tr,...s}={})=>_s[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:er,nodePredicate:Qn,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});const nr=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 ir{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 nr(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 Dt(e.href)?e.href.toValue():""}}const or=e=>Vt(e)?Dt(e)||Ut(e)||Wt(e)||Lt(e)?e.toValue():sr(e,new ir):e,ar=e=>{const t=e.meta.length>0?as(e.meta):void 0,s=e.attributes.length>0?as(e.attributes):void 0;return new e.constructor(void 0,t,s)},cr=(e,t)=>t.clone&&t.isMergeableElement(e)?lr(ar(e),e,t):e,ur={clone:!0,isMergeableElement:e=>Ht(e)||Jt(e),arrayElementMerge:(e,t,s)=>e.concat(t)["fantasy-land/map"]((e=>cr(e,s))),objectElementMerge:(e,t,s)=>{const n=Ht(e)?ar(e):ar(t);return Ht(e)&&e.forEach(((e,t,r)=>{const i=ls(r);i.value=cr(e,s),n.content.push(i)})),t.forEach(((t,r,i)=>{const o=or(r);let a;if(Ht(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);a=ls(i),a.value=((e,t)=>{if("function"!=typeof t.customMerge)return lr;const s=t.customMerge(e,t);return"function"==typeof s?s:lr})(r,s)(n,t)}else a=ls(i),a.value=cr(t,s);n.remove(o),n.content.push(a)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},lr=(e,t,s)=>{var n,r,i;const o={...ur,...s};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:ur.isMergeableElement,o.arrayElementMerge=null!==(r=o.arrayElementMerge)&&void 0!==r?r:ur.arrayElementMerge,o.objectElementMerge=null!==(i=o.objectElementMerge)&&void 0!==i?i:ur.objectElementMerge;const a=Jt(t);if(!(a===Jt(e)))return cr(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=>as(e):e.customMetaMerge)(o)(e.meta,t.meta),c.attributes=(e=>"function"!=typeof e.customAttributesMerge?e=>as(e):e.customAttributesMerge)(o)(e.attributes,t.attributes),c};lr.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new ie.Sh:e.reduce(((e,s)=>lr(e,s,t)),ar(e[0]))};const dr=lr;const mr=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=dr(t.meta,e.meta),ts(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=dr(t.attributes,e.attributes))}};const hr=class extends mr{enter(e){return this.element=as(e),xt}},pr=(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])},gr=(e,t,s=[])=>{var n;const r=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,i=Object.create(r),o=_r(r);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)&&(pr(i,n,["constructor",...s]),o.push(n))}}return i.constructor=t,i},fr=e=>e.filter(((t,s)=>e.indexOf(t)==s)),br=(e,t)=>{const s=t.map((e=>_r(e)));let n=0,r=!0;for(;r;){r=!1;for(let i=t.length-1;i>=0;i--){const t=s[i][n];if(null!=t&&(r=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[i][0]}n++}},vr=(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(br(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==br(n,e)||void 0!==t[n],get:(s,n)=>(br(n,e)||t)[n],set(t,s,n){const r=br(s,e);if(void 0===r)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return r[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)))))}),yr=null,wr="copy",Er="copy",xr="deep",Sr=new WeakMap,jr=e=>Sr.get(e),Or=(e,t)=>{var s,n;const r=fr([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of r)i[o]=fr([...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 i},Mr=(e,t)=>{var s,n,r,i;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!==(r=null==e?void 0:e.method)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.method)&&void 0!==i?i:{})}},Br=(e,t)=>{var s,n,r,i,o,a;return{class:fr([...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!==(r=null==e?void 0:e.static)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.static)&&void 0!==i?i:{}),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 r=[..._r(e.prototype).map((e=>e.constructor)),...null!==(t=jr(e))&&void 0!==t?t:[]].filter((e=>!s.has(e)));for(let e of r)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)=>Br(e,t)))},Tr=e=>{let t=Pr.get(e);return t||(t={},Pr.set(e,t)),t};function $r(...e){var t,s,n;const r=e.map((e=>e.prototype)),i=yr;if(null!==i){const e=r.map((e=>e[i])).filter((e=>"function"==typeof e)),t=function(...t){for(let s of e)s.apply(this,t)},s={[i]:t};r.push(s)}function o(...t){for(const s of e)pr(this,new s(...t));null!==i&&"function"==typeof this[i]&&this[i].apply(this,t)}var a,c;o.prototype="copy"===Er?gr(r,o):(a=r,c=o,vr([...a,{constructor:c}])),Object.setPrototypeOf(o,"copy"===wr?gr(e,null,["prototype"]):vr(e,Function.prototype));let u=o;if("none"!==xr){const r="deep"===xr?Ar(...e):((...e)=>{const t=e.map((e=>Tr(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>Br(e,t)))})(...e);for(let e of null!==(t=null==r?void 0:r.class)&&void 0!==t?t:[]){const t=e(u);t&&(u=t)}Cr(null!==(s=null==r?void 0:r.static)&&void 0!==s?s:{},u),Cr(null!==(n=null==r?void 0:r.instance)&&void 0!==n?n:{},u.prototype)}var l,d;return l=u,d=e,Sr.set(l,d),u}const Cr=(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 Fr=a((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 Ir=class extends mr{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Fr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=vs(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return $e(Je,["visitors",...e],this.specObj)?vs(["visitors",...e],this.specObj):vs(["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?as(t):(_s(t,n,s),n.element)}};const Rr=class extends Ir{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,r)=>{if(Dt(n)&&s.includes(or(n))&&!this.ignoredFields.includes(or(n))){const s=this.toRefractedElement([...t,"fixedFields",or(n)],e),i=new ie.Pr(as(n),s);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(or(n))||this.element.content.push(as(r))})),this.copyMetaAndAttributes(e,this.element),xt}};class kr extends ie.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 Nr=kr;class qr extends($r(Rr,hr)){constructor(e){super(e),this.element=new Nr,this.specPath=te(["document","objects","JSONSchema"])}}const Vr=qr;const Dr=class{parent;constructor({parent:e}){this.parent=e}},Ur=e=>Ht(e)&&e.hasKey("$ref");class Lr extends($r(Ir,Dr,hr)){ObjectElement(e){const t=Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),xt}ArrayElement(e){return this.element=new ie.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),xt}}const Wr=Lr;const Hr=class extends hr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-required"),t}};const Jr=o((function(e){return C(he(De,0,Ue("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 Gr=o((function(e){return!js(e)}));const zr=a((function(e,t){return e||t}));var Zr=G(C(1,Ie(ke,a((function(e,t){return Ce(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:J(zr)(e,t)}))(qe,Je))));const Kr=Jr([ut,Zr,Gr]);const Xr=function(){return!1};const Yr=class extends Ir{specPath;ignoredFields;fieldPatternPredicate=Xr;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(or(t))&&this.fieldPatternPredicate(or(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new ie.Pr(as(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(or(t))||this.element.content.push(as(s))})),this.copyMetaAndAttributes(e,this.element),xt}};const Qr=class extends Yr{constructor(e){super(e),this.fieldPatternPredicate=Kr}};class ei extends($r(Qr,Dr,hr)){constructor(e){super(e),this.element=new ie.Sh,this.element.classes.push("json-schema-properties"),this.specPath=e=>Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const ti=ei;class si extends($r(Qr,Dr,hr)){constructor(e){super(e),this.element=new ie.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const ni=si;class ri extends($r(Qr,Dr,hr)){constructor(e){super(e),this.element=new ie.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const ii=ri;const oi=class extends hr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-enum"),t}};const ai=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 ci extends($r(Ir,Dr,hr)){constructor(e){super(e),this.element=new ie.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((e=>{const t=Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),xt}}const ui=ci;class li extends($r(Ir,Dr,hr)){constructor(e){super(e),this.element=new ie.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((e=>{const t=Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),xt}}const di=li;class mi extends($r(Ir,Dr,hr)){constructor(e){super(e),this.element=new ie.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((e=>{const t=Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),xt}}const hi=mi;class pi extends($r(Qr,Dr,hr)){constructor(e){super(e),this.element=new ie.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=e=>Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const _i=pi;class gi extends($r(Ir,Dr,hr)){constructor(e){super(e),this.element=new ie.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),xt}}const fi=gi;class bi extends ie.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 vi=bi;class yi extends($r(Rr,hr)){constructor(e){super(e),this.element=new vi,this.specPath=te(["document","objects","JSONReference"])}ObjectElement(e){const t=Rr.prototype.ObjectElement.call(this,e);return Dt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const wi=yi;const Ei=class extends hr{StringElement(e){const t=this.enter(e);return this.element.classes.push("reference-value"),t}};const xi=c((function(e,t,s){return C(Math.max(e.length,t.length,s.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)}))}));const Si=o((function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}}));var ji=a((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Oi=ji;const Mi=o(Pt);const Bi=G(Tn);const Pi=Ie(Os,Gr);function Ai(e){return function(e){if(Array.isArray(e))return Ti(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 Ti(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)?Ti(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 Ti(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 $i=fe(Oi(Si((function(e,t){return e.length>t.length}))),Js,h("length")),Ci=kn((function(e,t,s){var n=s.apply(void 0,Ai(e));return Bi(n)?Mi(n):t}));const Fi=xi(Pi,(function(e){var t=$i(e);return C(t,(function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return he(Ci(s),void 0,e)}))}),se);const Ii=class extends Ir{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>xi(e,te(t),se))),s=Fi(t)(e);return this.element=this.toRefractedElement(s,e),xt}};const Ri=class extends Ii{constructor(e){super(e),this.alternator=[{predicate:Ur,specPath:["document","objects","JSONReference"]},{predicate:Qn,specPath:["document","objects","JSONSchema"]}]}};class ki extends ie.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 Ni=ki;class qi extends($r(Rr,hr)){constructor(e){super(e),this.element=new Ni,this.specPath=te(["document","objects","Media"])}}const Vi=qi;class Di extends ie.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 Ui=Di;class Li extends($r(Rr,hr)){constructor(e){super(e),this.element=new Ui,this.specPath=te(["document","objects","LinkDescription"])}}const Wi={visitors:{value:hr,JSONSchemaOrJSONReferenceVisitor:Ri,document:{objects:{JSONSchema:{$visitor:Vr,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:Ri,items:Wr,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:Hr,properties:ti,additionalProperties:Ri,patternProperties:ni,dependencies:ii,enum:oi,type:ai,allOf:ui,anyOf:di,oneOf:hi,not:Ri,definitions:_i,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:fi,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:wi,fixedFields:{$ref:Ei}},Media:{$visitor:Vi,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:Li,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Ri,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Ri}}}}}};const Hi=class extends gt{},Ji=e=>{if(Vt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Gi={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...ps},zi=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Nr||e(n)&&t("JSONSchemaDraft4",n)&&s("object",n))),Zi=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof vi||e(n)&&t("JSONReference",n)&&s("object",n))),Ki=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ni||e(n)&&t("media",n)&&s("object",n))),Xi=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ui||e(n)&&t("linkDescription",n)&&s("object",n))),Yi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Nr),t.register("jSONReference",vi),t.register("media",Ni),t.register("linkDescription",Ui),t}},Qi=()=>{const e=at(Yi);return{predicates:{...t,isStringElement:Dt},namespace:e}},eo=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Wi}={})=>{const r=(0,ie.e)(e),i=Hn(n),o=new(vs(t,i))({specObj:i});return _s(r,o),Ts(o.element,s,{toolboxCreator:Qi,visitorOptions:{keyMap:Gi,nodeTypeGetter:Ji}})},to=e=>(t,s={})=>eo(t,{specPath:e,...s});Nr.refract=to(["visitors","document","objects","JSONSchema","$visitor"]),vi.refract=to(["visitors","document","objects","JSONReference","$visitor"]),Ni.refract=to(["visitors","document","objects","Media","$visitor"]),Ui.refract=to(["visitors","document","objects","LinkDescription","$visitor"]);const so=class extends Nr{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idProp(){throw new Hi("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Hi("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)}};class no extends($r(Rr,hr)){constructor(e){super(e),this.specPath=te(["document","objects","JSONSchema"])}ObjectElement(e){return this.element=new so,Rr.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=this.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const ro=no;class io extends($r(Ir,Dr,hr)){ObjectElement(e){const t=Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),xt}ArrayElement(e){return this.element=new ie.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Ur(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),xt}BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),xt}}const oo=io;const ao=class extends hr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-examples"),t}};const co=class extends Ui{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 Hi("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Hi("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 Hi("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Hi("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Hi("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Hi("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};class uo extends($r(Rr,hr)){constructor(e){super(e),this.element=new co,this.specPath=te(["document","objects","LinkDescription"])}}const lo=uo,mo=fe(Gn(["visitors","document","objects","JSONSchema","$visitor"],ro),Yn(["visitors","document","objects","JSONSchema","fixedFields","id"]),Gn(["visitors","document","objects","JSONSchema","fixedFields","$id"],Wi.visitors.value),Gn(["visitors","document","objects","JSONSchema","fixedFields","contains"],Wi.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","items"],oo),Gn(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Wi.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","const"],Wi.visitors.value),Gn(["visitors","document","objects","JSONSchema","fixedFields","examples"],ao),Gn(["visitors","document","objects","LinkDescription","$visitor"],lo),Gn(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Wi.visitors.JSONSchemaOrJSONReferenceVisitor),Yn(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Wi.visitors.JSONSchemaOrJSONReferenceVisitor),Yn(["visitors","document","objects","LinkDescription","fixedFields","method"]),Yn(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Wi.visitors.value))(Wi),ho=e=>{if(Vt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},po={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...ps},_o=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof so||e(n)&&t("JSONSchemaDraft6",n)&&s("object",n))),go=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof co||e(n)&&t("linkDescription",n)&&s("object",n))),fo={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",so),t.register("jSONReference",vi),t.register("media",Ni),t.register("linkDescription",co),t}},bo=()=>{const e=at(fo);return{predicates:{...s,isStringElement:Dt},namespace:e}},vo=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=mo}={})=>{const r=(0,ie.e)(e),i=Hn(n),o=new(vs(t,i))({specObj:i});return _s(r,o),Ts(o.element,s,{toolboxCreator:bo,visitorOptions:{keyMap:po,nodeTypeGetter:ho}})},yo=e=>(t,s={})=>vo(t,{specPath:e,...s});so.refract=yo(["visitors","document","objects","JSONSchema","$visitor"]),co.refract=yo(["visitors","document","objects","LinkDescription","$visitor"]);const wo=class extends so{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 if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Hi('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Hi('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)}};class Eo extends($r(Rr,hr)){constructor(e){super(e),this.specPath=te(["document","objects","JSONSchema"])}ObjectElement(e){return this.element=new wo,Rr.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=this.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const xo=Eo;const So=class extends co{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get mediaType(){throw new Hi("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Hi("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get submissionEncType(){throw new Hi("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Hi("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}};class jo extends($r(Rr,hr)){constructor(e){super(e),this.element=new So,this.specPath=te(["document","objects","LinkDescription"])}}const Oo=jo,Mo=fe(Gn(["visitors","document","objects","JSONSchema","$visitor"],xo),Gn(["visitors","document","objects","JSONSchema","fixedFields","$comment"],mo.visitors.value),Gn(["visitors","document","objects","JSONSchema","fixedFields","if"],mo.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","then"],mo.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","else"],mo.visitors.JSONSchemaOrJSONReferenceVisitor),Yn(["visitors","document","objects","JSONSchema","fixedFields","media"]),Gn(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],mo.visitors.value),Gn(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],mo.visitors.value),Gn(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],mo.visitors.value),Gn(["visitors","document","objects","LinkDescription","$visitor"],Oo),Gn(["visitors","document","objects","LinkDescription","fixedFields","anchor"],mo.visitors.value),Gn(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],mo.visitors.value),Yn(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],mo.visitors.value),Gn(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],mo.visitors.value),Gn(["visitors","document","objects","LinkDescription","fixedFields","description"],mo.visitors.value),Gn(["visitors","document","objects","LinkDescription","fixedFields","$comment"],mo.visitors.value),Yn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],mo.visitors.value))(mo);const Bo=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=dr(t.meta,e.meta),ts(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=dr(t.attributes,e.attributes))}};const Po=class extends Bo{enter(e){return this.element=as(e),xt}};const Ao=class extends Bo{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return Fr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=vs(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return $e(Je,["visitors",...e],this.specObj)?vs(["visitors",...e],this.specObj):vs(["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 Po&&(null==n?void 0:n.constructor)===Po?as(t):(_s(t,n,s),n.element)}};const To=class extends Ao{MemberElement(e){return this.element=as(e),this.element.classes.push("specification-extension"),xt}};var $o=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=M,e.prototype["@@transducer/result"]=B,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?Pt(s):s},e}();function Co(e){return function(t){return new $o(e,t)}}const Fo=a(j(["take"],Co,(function(e,t){return _e(0,e<0?1/0:e,t)})));const Io=a((function(e,t){return ee(Fo(e.length,t),e)})),Ro=e=>Ht(e)&&e.hasKey("$ref"),ko=e=>Dt(e.key)&&Io("x-",or(e.key));const No=class extends Ao{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=ko;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...r}){super({...r}),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,r)=>{if(Dt(n)&&s.includes(or(n))&&!this.ignoredFields.includes(or(n))){const s=this.toRefractedElement([...t,"fixedFields",or(n)],e),i=new ie.Pr(as(n),s);i.classes.push("fixed-field"),this.copyMetaAndAttributes(r,i),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(or(n))||this.element.content.push(as(r))})),this.copyMetaAndAttributes(e,this.element),xt}};class qo extends ie.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 Vo=qo;class Do extends($r(No,Po)){constructor(e){super(e),this.element=new Vo,this.specPath=te(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}}const Uo=Do;class Lo extends ie.Om{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Wo=Lo;class Ho extends($r(Ao,Po)){StringElement(e){const t=new Wo(or(e));return this.copyMetaAndAttributes(e,t),this.element=t,xt}}const Jo=Ho;class Go extends ie.Om{constructor(e,t,s){super(e,t,s),this.element="identifier"}}const zo=Go;class Zo extends($r(Ao,Po)){StringElement(e){const t=new zo(or(e));return this.copyMetaAndAttributes(e,t),this.element=t,xt}}const Ko=Zo;class Xo extends ie.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 Yo=Xo;class Qo extends($r(No,Po)){constructor(e){super(e),this.element=new Yo,this.specPath=te(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const ea=Qo;const ta=class extends Po{StringElement(e){return this.element=new ie.Om(or(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),xt}};class sa extends ie.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 na=sa;class ra extends($r(No,Po)){constructor(e){super(e),this.element=new na,this.specPath=te(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const ia=ra;class oa extends ie.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 aa=oa;class ca extends($r(No,Po)){constructor(e){super(e),this.element=new aa,this.specPath=te(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}}const ua=ca;class la extends ie.Om{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}}const da=la;class ma extends($r(Ao,Po)){StringElement(e){const t=new da(or(e));return this.copyMetaAndAttributes(e,t),this.element=t,xt}}const ha=ma;class pa extends ie.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 _a=pa;class ga extends($r(No,Po)){constructor(e){super(e),this.element=new _a,this.specPath=te(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const fa=ga;class ba extends ie.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 va=ba;class ya extends($r(No,Po)){constructor(e){super(e),this.element=new va,this.specPath=te(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const wa=ya;class Ea extends ie.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 xa=Ea;class Sa extends($r(No,Po)){constructor(e){super(e),this.element=new xa,this.specPath=te(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const ja=Sa;class Oa extends ie.Sh{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Oa.primaryClass)}}const Ma=Oa;const Ba=class extends Ao{specPath;ignoredFields;fieldPatternPredicate=Xr;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=ko;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:r,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof r&&(this.specificationExtensionPredicate=r)}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(or(t))&&this.fieldPatternPredicate(or(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new ie.Pr(as(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(or(t))||this.element.content.push(as(s))})),this.copyMetaAndAttributes(e,this.element),xt}};const Pa=class extends Ba{constructor(e){super(e),this.fieldPatternPredicate=Kr}};class Aa extends($r(Pa,Po)){constructor(e){super(e),this.element=new Ma,this.specPath=te(["value"])}}const Ta=Aa;const $a=a((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 "+Ae(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 Ca extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="servers"}}const Fa=Ca;class Ia extends ie.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 Ra=Ia;class ka extends ie.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 Na=ka;class qa extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="channels"}}const Va=qa;class Da extends ie.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 Ua=Da;class La extends ie.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 Wa=La;class Ha extends ie.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 Ja=Ha;class Ga extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="parameters"}}const za=Ga;class Za extends ie.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 Ka=Za,Xa=e=>{if(Vt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Ya={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...ps},Qa=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof wo||e(n)&&t("JSONSchemaDraft7",n)&&s("object",n))),ec=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof So||e(n)&&t("linkDescription",n)&&s("object",n))),tc={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",wo),t.register("jSONReference",vi),t.register("linkDescription",So),t}},sc=()=>{const e=at(tc);return{predicates:{...n,isStringElement:Dt},namespace:e}},nc=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Mo}={})=>{const r=(0,ie.e)(e),i=Hn(n),o=new(vs(t,i))({specObj:i});return _s(r,o),Ts(o.element,s,{toolboxCreator:sc,visitorOptions:{keyMap:Ya,nodeTypeGetter:Xa}})},rc=e=>(t,s={})=>nc(t,{specPath:e,...s});wo.refract=rc(["visitors","document","objects","JSONSchema","$visitor"]),So.refract=rc(["visitors","document","objects","LinkDescription","$visitor"]);const ic=class extends wo{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 oc extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}}const ac=oc;class cc extends ie.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 uc=cc;class lc extends ie.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 dc=lc;class mc extends ie.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 hc=mc,pc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof Vo||e(r)&&t("asyncApi2",r)&&s("object",r)&&n("api",r))),_c=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Wo||e(n)&&t("asyncApiVersion",n)&&s("string",n))),gc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ra||e(n)&&t("channelBindings",n)&&s("object",n))),fc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Na||e(n)&&t("channelItem",n)&&s("object",n))),bc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Va||e(n)&&t("channels",n)&&s("object",n))),vc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ua||e(n)&&t("components",n)&&s("object",n))),yc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof na||e(n)&&t("contact",n)&&s("object",n))),wc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof zo||e(n)&&t("identifier",n)&&s("string",n))),Ec=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Yo||e(n)&&t("info",n)&&s("object",n))),xc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof _a||e(n)&&t("license",n)&&s("object",n))),Sc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Wa||e(n)&&t("operation",n)&&s("object",n))),jc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ja||e(n)&&t("parameter",n)&&s("object",n))),Oc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof za||e(n)&&t("parameters",n)&&s("object",n))),Mc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ka||e(n)&&t("reference",n)&&s("object",n))),Bc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ic||e(n)&&t("schema",n)&&s("object",n))),Pc=e=>Wt(e)&&e.classes.includes("boolean-json-schema"),Ac=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ac||e(n)&&t("securityRequirement",n)&&s("object",n))),Tc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof uc||e(n)&&t("server",n)&&s("object",n))),$c=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof dc||e(n)&&t("serverBindings",n)&&s("object",n))),Cc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Fa||e(n)&&t("servers",n)&&s("object",n))),Fc=qt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof hc||e(n)&&t("serverVariable",n)&&s("object",n)));class Ic extends($r(Ba,Po)){constructor(e){super(e),this.element=new Fa,this.element.classes.push("servers"),this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=$a(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){const t=Ba.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const Rc=Ic;class kc extends($r(No,Po)){constructor(e){super(e),this.element=new uc,this.specPath=te(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const Nc=kc;const qc=class extends Po{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}};const Vc=class extends Ao{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>xi(e,te(t),se))),s=Fi(t)(e);return this.element=this.toRefractedElement(s,e),xt}};class Dc extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}const Uc=Dc;class Lc extends ie.Sh{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Lc.primaryClass)}}const Wc=Lc;class Hc extends($r(Pa,Po)){constructor(e){super(e),this.element=new Wc,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}}const Jc=Hc;class Gc extends ie.wE{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(Gc.primaryClass)}}const zc=Gc;class Zc extends($r(Ao,Po)){constructor(e){super(e),this.element=new zc}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),xt}}const Kc=Zc;class Xc extends($r(No,Po)){constructor(e){super(e),this.element=new hc,this.specPath=te(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const Yc=Xc;class Qc extends($r(No,Po)){constructor(e){super(e),this.element=new dc,this.specPath=te(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}}const eu=Qc;class tu extends ie.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 su=tu;class nu extends($r(No,Po)){constructor(e){super(e),this.element=new su,this.specPath=te(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const ru=nu;class iu extends($r(Pa,Po)){constructor(e){super(e),this.element=new ac,this.specPath=te(["value"])}}const ou=iu;class au extends($r(No,Po)){constructor(e){super(e),this.element=new Ka,this.specPath=te(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=No.prototype.ObjectElement.call(this,e);return Dt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const cu=au;const uu=class extends Po{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class lu extends($r(No,Po)){constructor(e){super(e),this.specPath=te(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return this.element=new ic,No.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=super.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const du=lu,{JSONSchemaOrJSONReferenceVisitor:mu}=Mo.visitors;const hu=class extends mu{enter(e){const t=mu.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}},{allOf:pu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const _u=class extends pu{ArrayElement(e){const t=pu.prototype.ArrayElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{anyOf:gu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const fu=class extends gu{ArrayElement(e){const t=gu.prototype.ArrayElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{oneOf:bu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const vu=class extends bu{ArrayElement(e){const t=bu.prototype.ArrayElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{definitions:yu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const wu=class extends yu{ObjectElement(e){const t=yu.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{dependencies:Eu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const xu=class extends Eu{ObjectElement(e){const t=Eu.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{items:Su}=Mo.visitors.document.objects.JSONSchema.fixedFields;const ju=class extends Su{ObjectElement(e){const t=Su.prototype.ObjectElement.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}ArrayElement(e){const t=Su.prototype.ArrayElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{patternProperties:Ou}=Mo.visitors.document.objects.JSONSchema.fixedFields;const Mu=class extends Ou{ObjectElement(e){const t=Ou.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{properties:Bu}=Mo.visitors.document.objects.JSONSchema.fixedFields;const Pu=class extends Bu{ObjectElement(e){const t=Bu.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},Au=L((e=>e===Mo.visitors.JSONSchemaOrJSONReferenceVisitor?hu:e),Mo.visitors.document.objects.JSONSchema.fixedFields);class Tu extends($r(Ba,Po)){constructor(e){super(e),this.element=new za,this.specPath=e=>Ro(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=Ba.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const $u=Tu;class Cu extends($r(No,Po)){constructor(e){super(e),this.element=new Ja,this.specPath=te(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const Fu=Cu;class Iu extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Ru=Iu;class ku extends ie.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 Nu=ku;class qu extends($r(No,Po)){constructor(e){super(e),this.element=new Nu,this.specPath=te(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const Vu=qu;class Du extends($r(No,Po)){constructor(e){super(e),this.element=new Ua,this.specPath=te(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const Uu=Du;class Lu extends ie.Sh{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(Lu.primaryClass)}}const Wu=Lu;class Hu extends($r(Pa,Po)){constructor(e){super(e),this.element=new Wu,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const Ju=Hu;class Gu extends ie.Sh{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Gu.primaryClass)}}const zu=Gu;class Zu extends($r(Pa,Po)){constructor(e){super(e),this.element=new zu,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const Ku=Zu;class Xu extends ie.Sh{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Xu.primaryClass)}}const Yu=Xu;class Qu extends($r(Pa,Po)){constructor(e){super(e),this.element=new Yu,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}const el=Qu;class tl extends ie.Sh{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(tl.primaryClass)}}const sl=tl;class nl extends($r(Pa,Po)){constructor(e){super(e),this.element=new sl,this.specPath=te(["document","objects","ChannelItem"])}}const rl=nl;class il extends ie.Sh{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(il.primaryClass)}}const ol=il;class al extends($r(Pa,Po)){constructor(e){super(e),this.element=new ol,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const cl=al;class ul extends ie.Sh{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(ul.primaryClass)}}const ll=ul;class dl extends($r(Pa,Po)){constructor(e){super(e),this.element=new ll,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}const ml=dl;class hl extends ie.Sh{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(hl.primaryClass)}}const pl=hl;class _l extends($r(Pa,Po)){constructor(e){super(e),this.element=new pl,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const gl=_l;class fl extends ie.Sh{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(fl.primaryClass)}}const bl=fl;class vl extends($r(Pa,Po)){constructor(e){super(e),this.element=new bl,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}const yl=vl;class wl extends ie.Sh{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(wl.primaryClass)}}const El=wl;class xl extends($r(Pa,Po)){constructor(e){super(e),this.element=new El,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}const Sl=xl;class jl extends ie.Sh{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(jl.primaryClass)}}const Ol=jl;class Ml extends($r(Pa,Po)){constructor(e){super(e),this.element=new Ol,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}const Bl=Ml;class Pl extends ie.Sh{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Pl.primaryClass)}}const Al=Pl;class Tl extends($r(Pa,Po)){constructor(e){super(e),this.element=new Al,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}const $l=Tl;class Cl extends ie.Sh{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Cl.primaryClass)}}const Fl=Cl;class Il extends($r(Pa,Po)){constructor(e){super(e),this.element=new Fl,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}const Rl=Il;class kl extends ie.Sh{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(kl.primaryClass)}}const Nl=kl;class ql extends($r(Pa,Po)){constructor(e){super(e),this.element=new Nl,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}const Vl=ql;class Dl extends ie.Sh{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Dl.primaryClass)}}const Ul=Dl;class Ll extends($r(Pa,Po)){constructor(e){super(e),this.element=new Ul,this.specPath=e=>Ro(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}const Wl=Ll;class Hl extends($r(No,Po)){constructor(e){super(e),this.element=new Wa,this.specPath=te(["document","objects","Operation"])}}const Jl=Hl;class Gl extends ie.wE{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Gl.primaryClass)}}const zl=Gl;class Zl extends($r(Ao,Po)){constructor(e){super(e),this.element=new zl}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),xt}}const Kl=Zl;class Xl extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const Yl=Xl;class Ql extends ie.wE{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Ql.primaryClass)}}const ed=Ql;class td extends($r(Ao,Po)){constructor(e){super(e),this.element=new ed}ArrayElement(e){return e.forEach((e=>{let t;Ro(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),xt}}const sd=td;class nd extends ie.Sh{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(nd.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const rd=nd;class id extends ie.wE{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(id.primaryClass)}}const od=id;class ad extends($r(Ao,Po)){ObjectElement(e){if(Ro(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(Jt(e.get("oneOf"))){this.element=new rd;const t=new od;e.get("oneOf").forEach((e=>{let s;Ro(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),xt}}const cd=ad;class ud extends ie.wE{constructor(e,t,s){super(e,t,s),this.element="tags"}}const ld=ud;class dd extends($r(Ao,Po)){constructor(e){super(e),this.element=new ld}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),xt}}const md=dd;class hd extends ie.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 pd=hd;class _d extends($r(No,Po)){constructor(e){super(e),this.element=new pd,this.specPath=te(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const gd=_d;class fd extends($r(Pa,Po)){constructor(e){super(e),this.element=new Va,this.specPath=te(["document","objects","ChannelItem"])}}const bd=fd;class vd extends($r(No,Po)){constructor(e){super(e),this.element=new Ra,this.specPath=te(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}}const yd=vd;class wd extends($r(No,Po)){constructor(e){super(e),this.element=new Na,this.specPath=te(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=No.prototype.ObjectElement.call(this,e);return Dt(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}const Ed=wd;const xd=class extends Po{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Sd extends ie.wE{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(Sd.primaryClass)}}const jd=Sd;class Od extends($r(Ao,Po)){constructor(e){super(e),this.element=new jd}ArrayElement(e){return e.forEach((e=>{const t=as(e);Dt(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),xt}}const Md=Od;class Bd extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}const Pd=Bd;class Ad extends ie.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 Td=Ad;class $d extends($r(No,Po)){constructor(e){super(e),this.element=new Td,this.specPath=te(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}}const Cd=$d;class Fd extends ie.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 Id=Fd;class Rd extends($r(No,Po)){constructor(e){super(e),this.element=new Id,this.specPath=te(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}}const kd=Rd;class Nd extends ie.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 qd=Nd;class Vd extends($r(No,Po)){constructor(e){super(e),this.element=new qd,this.specPath=te(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}}const Dd=Vd;class Ud extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Ld=Ud;class Wd extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const Hd=Wd;class Jd extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const Gd=Jd;class zd extends ie.wE{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(zd.primaryClass)}}const Zd=zd;class Kd extends($r(Ao,Po)){constructor(e){super(e),this.element=new Zd}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),xt}}const Xd=Kd;const Yd=o((function(e){return m(-1,e)}));const Qd=class extends Hi{};const em=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Qd("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Qd("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Qd("latest method in MediaTypes class is not yet implemented.")}};class tm extends em{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 Yd(this.filterByFormat(e))}}const sm=new tm("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 nm extends ie.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 rm=nm;class im extends($r(No,Po)){constructor(e){super(e),this.element=new rm,this.specPath=te(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=No.prototype.ObjectElement.call(this,e),s=this.element.get("payload"),n=u(sm.latest(),or(e.get("schemaFormat")));if(sm.includes(n)&&Ro(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else sm.includes(n)&&Ht(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return t}}const om=im;class am extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const cm=am;class um extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const lm=um;class dm extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const mm=dm;class hm extends ie.wE{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(hm.primaryClass)}}const pm=hm;class _m extends($r(Ao,Po)){constructor(e){super(e),this.element=new pm}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),xt}}const gm=_m;class fm extends ie.wE{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(fm.primaryClass)}}const bm=fm;class vm extends($r(Ao,Po)){constructor(e){super(e),this.element=new bm}ArrayElement(e){return e.forEach((e=>{let t;Ro(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),xt}}const ym=vm;class wm extends ie.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 Em=wm;class xm extends($r(No,Po)){constructor(e){super(e),this.element=new Em,this.specPath=te(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}}const Sm=xm;class jm extends ie.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 Om=jm;class Mm extends($r(No,Po)){constructor(e){super(e),this.element=new Om,this.specPath=te(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}}const Bm=Mm;class Pm extends ie.wE{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(Pm.primaryClass)}}const Am=Pm;class Tm extends($r(Ao,Po)){constructor(e){super(e),this.element=new Am}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),xt}}const $m=Tm;class Cm extends($r(Vc,Po)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:Qn,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=Vc.prototype.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const Fm=Cm;class Im extends ie.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 Rm=Im;class km extends($r(No,Po)){constructor(e){super(e),this.element=new Rm,this.specPath=te(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Nm=km;class qm extends ie.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 Vm=qm;class Dm extends($r(No,Po)){constructor(e){super(e),this.element=new Vm,this.specPath=te(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Um=Dm;class Lm extends ie.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 Wm=Lm;class Hm extends($r(No,Po)){constructor(e){super(e),this.element=new Wm,this.specPath=te(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Jm=Hm;class Gm extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}}const zm=Gm;class Zm extends($r(No,Po)){constructor(e){super(e),this.element=new zm,this.specPath=te(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Km=Zm;class Xm extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const Ym=Xm;class Qm extends($r(No,Po)){constructor(e){super(e),this.element=new Ym,this.specPath=te(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const eh=Qm;class th extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const sh=th;class nh extends($r(No,Po)){constructor(e){super(e),this.element=new sh,this.specPath=te(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const rh=nh;class ih extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const oh=ih;class ah extends($r(No,Po)){constructor(e){super(e),this.element=new oh,this.specPath=te(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ch=ah;class uh extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const lh=uh;class dh extends($r(No,Po)){constructor(e){super(e),this.element=new lh,this.specPath=te(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const mh=dh;class hh extends ie.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 ph=hh;class _h extends($r(No,Po)){constructor(e){super(e),this.element=new ph,this.specPath=te(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const gh=_h;class fh extends ie.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 bh=fh;class vh extends($r(No,Po)){constructor(e){super(e),this.element=new bh,this.specPath=te(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const yh=vh;class wh extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const Eh=wh;class xh extends($r(No,Po)){constructor(e){super(e),this.element=new Eh,this.specPath=te(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Sh=xh;class jh extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const Oh=jh;class Mh extends($r(No,Po)){constructor(e){super(e),this.element=new Oh,this.specPath=te(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Bh=Mh;class Ph extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const Ah=Ph;class Th extends($r(No,Po)){constructor(e){super(e),this.element=new Ah,this.specPath=te(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const $h=Th;class Ch extends ie.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 Fh=Ch;class Ih extends($r(No,Po)){constructor(e){super(e),this.element=new Fh,this.specPath=te(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Rh=Ih;class kh extends ie.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 Nh=kh;class qh extends($r(No,Po)){constructor(e){super(e),this.element=new Nh,this.specPath=te(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Vh=qh;class Dh extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}}const Uh=Dh;class Lh extends($r(No,Po)){constructor(e){super(e),this.element=new Uh,this.specPath=te(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Wh=Lh;class Hh extends ie.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 Jh=Hh;class Gh extends($r(No,Po)){constructor(e){super(e),this.element=new Jh,this.specPath=te(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const zh=Gh;class Zh extends ie.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 Kh=Zh;class Xh extends($r(No,Po)){constructor(e){super(e),this.element=new Kh,this.specPath=te(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Yh=Xh;class Qh extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const ep=Qh;class tp extends($r(No,Po)){constructor(e){super(e),this.element=new ep,this.specPath=te(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const sp=tp;class np extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const rp=np;class ip extends($r(No,Po)){constructor(e){super(e),this.element=new rp,this.specPath=te(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const op=ip;class ap extends ie.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 cp=ap;class up extends($r(No,Po)){constructor(e){super(e),this.element=new cp,this.specPath=te(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const lp=up;class dp extends ie.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 mp=dp;class hp extends($r(No,Po)){constructor(e){super(e),this.element=new mp,this.specPath=te(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const pp=hp;class _p extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const gp=_p;class fp extends($r(No,Po)){constructor(e){super(e),this.element=new gp,this.specPath=te(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bp=fp;class vp extends ie.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 yp=vp;class wp extends($r(No,Po)){constructor(e){super(e),this.element=new yp,this.specPath=te(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Ep=wp;class xp extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const Sp=xp;class jp extends($r(No,Po)){constructor(e){super(e),this.element=new Sp,this.specPath=te(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Op=jp;class Mp extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Bp=Mp;class Pp extends($r(No,Po)){constructor(e){super(e),this.element=new Bp,this.specPath=te(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ap=Pp;class Tp extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const $p=Tp;class Cp extends($r(No,Po)){constructor(e){super(e),this.element=new $p,this.specPath=te(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Fp=Cp;class Ip extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}}const Rp=Ip;class kp extends($r(No,Po)){constructor(e){super(e),this.element=new Rp,this.specPath=te(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Np=kp;class qp extends ie.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 Vp=qp;class Dp extends($r(No,Po)){constructor(e){super(e),this.element=new Vp,this.specPath=te(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Up=Dp;class Lp extends ie.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 Wp=Lp;class Hp extends($r(No,Po)){constructor(e){super(e),this.element=new Wp,this.specPath=te(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Jp=Hp;class Gp extends ie.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 zp=Gp;class Zp extends($r(No,Po)){constructor(e){super(e),this.element=new zp,this.specPath=te(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Kp=Zp;class Xp extends ie.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 Yp=Xp;class Qp extends($r(No,Po)){constructor(e){super(e),this.element=new Yp,this.specPath=te(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const e_=Qp;class t_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const s_=t_;class n_ extends($r(No,Po)){constructor(e){super(e),this.element=new s_,this.specPath=te(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const r_=n_;class i_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const o_=i_;class a_ extends($r(No,Po)){constructor(e){super(e),this.element=new o_,this.specPath=te(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const c_=a_;class u_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const l_=u_;class d_ extends($r(No,Po)){constructor(e){super(e),this.element=new l_,this.specPath=te(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const m_=d_;class h_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}}const p_=h_;class __ extends($r(No,Po)){constructor(e){super(e),this.element=new p_,this.specPath=te(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const g_=__;class f_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const b_=f_;class v_ extends($r(No,Po)){constructor(e){super(e),this.element=new b_,this.specPath=te(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const y_=v_;class w_ extends ie.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 E_=w_;class x_ extends($r(No,Po)){constructor(e){super(e),this.element=new E_,this.specPath=te(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const S_=x_;class j_ extends ie.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 O_=j_;class M_ extends($r(No,Po)){constructor(e){super(e),this.element=new O_,this.specPath=te(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const B_=M_;class P_ extends ie.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 A_=P_;class T_ extends($r(No,Po)){constructor(e){super(e),this.element=new A_,this.specPath=te(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const $_=T_;class C_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const F_=C_;class I_ extends($r(No,Po)){constructor(e){super(e),this.element=new F_,this.specPath=te(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const R_=I_;class k_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const N_=k_;class q_ extends($r(No,Po)){constructor(e){super(e),this.element=new N_,this.specPath=te(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const V_=q_;class D_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const U_=D_;class L_ extends($r(No,Po)){constructor(e){super(e),this.element=new U_,this.specPath=te(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const W_=L_;class H_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const J_=H_;class G_ extends($r(No,Po)){constructor(e){super(e),this.element=new J_,this.specPath=te(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const z_=G_;class Z_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const K_=Z_;class X_ extends($r(No,Po)){constructor(e){super(e),this.element=new K_,this.specPath=te(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Y_=X_;class Q_ extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}}const eg=Q_;class tg extends($r(No,Po)){constructor(e){super(e),this.element=new eg,this.specPath=te(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const sg=tg;class ng extends ie.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 rg=ng;class ig extends($r(No,Po)){constructor(e){super(e),this.element=new rg,this.specPath=te(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const og=ig;class ag extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}}const cg=ag;class ug extends($r(No,Po)){constructor(e){super(e),this.element=new cg,this.specPath=te(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const lg=ug;class dg extends ie.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 mg=dg;class hg extends($r(No,Po)){constructor(e){super(e),this.element=new mg,this.specPath=te(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const pg=hg;class _g extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const gg=_g;class fg extends($r(No,Po)){constructor(e){super(e),this.element=new gg,this.specPath=te(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const bg=fg;class vg extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const yg=vg;class wg extends($r(No,Po)){constructor(e){super(e),this.element=new yg,this.specPath=te(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Eg=wg;class xg extends ie.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 Sg=xg;class jg extends($r(No,Po)){constructor(e){super(e),this.element=new Sg,this.specPath=te(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Og=jg;class Mg extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const Bg=Mg;class Pg extends($r(No,Po)){constructor(e){super(e),this.element=new Bg,this.specPath=te(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Ag=Pg;class Tg extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}}const $g=Tg;class Cg extends($r(No,Po)){constructor(e){super(e),this.element=new $g,this.specPath=te(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Fg=Cg;class Ig extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Rg=Ig;class kg extends($r(No,Po)){constructor(e){super(e),this.element=new Rg,this.specPath=te(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ng=kg;class qg extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}}const Vg=qg;class Dg extends($r(No,Po)){constructor(e){super(e),this.element=new Vg,this.specPath=te(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Ug=Dg;class Lg extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const Wg=Lg;class Hg extends($r(No,Po)){constructor(e){super(e),this.element=new Wg,this.specPath=te(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Jg=Hg;class Gg extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}}const zg=Gg;class Zg extends($r(No,Po)){constructor(e){super(e),this.element=new zg,this.specPath=te(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Kg=Zg;class Xg extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Yg=Xg;class Qg extends($r(No,Po)){constructor(e){super(e),this.element=new Yg,this.specPath=te(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ef=Qg;class tf extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}}const sf=tf;class nf extends($r(No,Po)){constructor(e){super(e),this.element=new sf,this.specPath=te(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const rf=nf;class of extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const af=of;class cf extends($r(No,Po)){constructor(e){super(e),this.element=new af,this.specPath=te(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const uf=cf;class lf extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const df=lf;class mf extends($r(No,Po)){constructor(e){super(e),this.element=new df,this.specPath=te(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const hf=mf;class pf extends ie.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 _f=pf;class gf extends($r(No,Po)){constructor(e){super(e),this.element=new _f,this.specPath=te(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ff=gf;class bf extends ie.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 vf=bf;class yf extends($r(No,Po)){constructor(e){super(e),this.element=new vf,this.specPath=te(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const wf=yf;class Ef extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const xf=Ef;class Sf extends($r(No,Po)){constructor(e){super(e),this.element=new xf,this.specPath=te(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const jf=Sf;class Of extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const Mf=Of;class Bf extends($r(No,Po)){constructor(e){super(e),this.element=new Mf,this.specPath=te(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Pf=Bf;class Af extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const Tf=Af;class $f extends($r(No,Po)){constructor(e){super(e),this.element=new Tf,this.specPath=te(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Cf=$f;class Ff extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}}const If=Ff;class Rf extends($r(No,Po)){constructor(e){super(e),this.element=new If,this.specPath=te(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const kf=Rf;class Nf extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const qf=Nf;class Vf extends($r(No,Po)){constructor(e){super(e),this.element=new qf,this.specPath=te(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Df=Vf;class Uf extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}}const Lf=Uf;class Wf extends($r(No,Po)){constructor(e){super(e),this.element=new Lf,this.specPath=te(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Hf=Wf;class Jf extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const Gf=Jf;class zf extends($r(No,Po)){constructor(e){super(e),this.element=new Gf,this.specPath=te(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Zf=zf;class Kf extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}}const Xf=Kf;class Yf extends($r(No,Po)){constructor(e){super(e),this.element=new Xf,this.specPath=te(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Qf=Yf;class eb extends ie.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 tb=eb;class sb extends($r(No,Po)){constructor(e){super(e),this.element=new tb,this.specPath=te(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const nb=sb;class rb extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const ib=rb;class ob extends($r(No,Po)){constructor(e){super(e),this.element=new ib,this.specPath=te(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const ab=ob;class cb extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const ub=cb;class lb extends($r(No,Po)){constructor(e){super(e),this.element=new ub,this.specPath=te(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const db=lb;class mb extends ie.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const hb=mb;class pb extends($r(No,Po)){constructor(e){super(e),this.element=new hb,this.specPath=te(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const _b=pb,gb={$visitor:cu,fixedFields:{$ref:uu}},fb={$visitor:du,fixedFields:{...Au,allOf:_u,anyOf:fu,oneOf:vu,items:ju,properties:Pu,patternProperties:Mu,dependencies:xu,definitions:wu,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},bb={visitors:{value:Po,document:{objects:{AsyncApi:{$visitor:Uo,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:Jo},Identifier:{$visitor:Ko},Info:{$visitor:ea,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:ta,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:ia,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:fa,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{$visitor:Rc},Server:{$visitor:Nc,fixedFields:{url:qc,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:Jc,security:Kc,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Uc}},ServerVariable:{$visitor:Yc,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{$visitor:ha},Channels:{$visitor:bd},ChannelItem:{$visitor:Ed,fixedFields:{$ref:xd,description:{$ref:"#/visitors/value"},servers:Md,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Pd}},Operation:{$visitor:Jl,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Kl,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Yl,traits:sd,message:cd}},OperationTrait:{$visitor:Bm,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:$m,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Fm}},Message:{$visitor:om,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:cm,payload:{$ref:"#/visitors/value"},correlationId:lm,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:mm,examples:gm,traits:ym}},MessageTrait:{$visitor:Dd,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Ld,correlationId:Hd,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:Gd,examples:Xd}},MessageExample:{$visitor:kd,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{$visitor:md},Tag:{$visitor:gd,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:Vu,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{$visitor:Uu,fixedFields:{schemas:Ju,servers:Ku,serverVariables:el,channels:rl,messages:cl,securitySchemes:ml,parameters:gl,correlationIds:yl,operationTraits:Sl,messageTraits:Bl,serverBindings:$l,channelBindings:Rl,operationBindings:Vl,messageBindings:Wl}},JSONReference:gb,Reference:gb,JSONSchema:fb,Schema:fb,LinkDescription:Mo.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:ru,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:ou},OAuthFlows:{$visitor:wa,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:ja,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Ta}},ServerBindings:{$visitor:eu,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:$u},Parameter:{$visitor:Fu,fixedFields:{description:{$ref:"#/visitors/value"},schema:Ru,location:{$ref:"#/visitors/value"}}},ChannelBindings:{$visitor:yd,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:Sm,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:Cd,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:ua,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{$visitor:Wh},ChannelBinding:{$visitor:$h},OperationBinding:{$visitor:Vh,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:hu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Rh,fixedFields:{headers:hu,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:_b},ChannelBinding:{$visitor:nb,fixedFields:{method:{$ref:"#/visitors/value"},query:hu,headers:hu,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:db},MessageBinding:{$visitor:ab}},kafka:{ServerBinding:{$visitor:e_,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Up,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Kp,fixedFields:{groupId:hu,clientId:hu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Jp,fixedFields:{key:hu,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:Bh},ChannelBinding:{$visitor:gh,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Sh},MessageBinding:{$visitor:yh,fixedFields:{headers:hu,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Km},ChannelBinding:{$visitor:Nm,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Jm,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:Um,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:mh},ChannelBinding:{$visitor:eh},OperationBinding:{$visitor:ch},MessageBinding:{$visitor:rh}},mqtt:{ServerBinding:{$visitor:$_,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:y_},OperationBinding:{$visitor:B_,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:S_,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:z_},ChannelBinding:{$visitor:R_},OperationBinding:{$visitor:W_},MessageBinding:{$visitor:V_}},nats:{ServerBinding:{$visitor:lg},ChannelBinding:{$visitor:Y_},OperationBinding:{$visitor:og,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:sg}},pulsar:{ServerBinding:{$visitor:Og,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:pg,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:Eg},MessageBinding:{$visitor:bg}},jms:{ServerBinding:{$visitor:Np},ChannelBinding:{$visitor:Op},OperationBinding:{$visitor:Fp},MessageBinding:{$visitor:Ap}},sns:{ServerBinding:{$visitor:rf},ChannelBinding:{$visitor:Jg},OperationBinding:{$visitor:ef},MessageBinding:{$visitor:Kg}},solace:{ServerBinding:{$visitor:wf,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:uf},OperationBinding:{$visitor:ff,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:hf}},sqs:{ServerBinding:{$visitor:kf},ChannelBinding:{$visitor:jf},OperationBinding:{$visitor:Cf},MessageBinding:{$visitor:Pf}},stomp:{ServerBinding:{$visitor:Qf},ChannelBinding:{$visitor:Df},OperationBinding:{$visitor:Zf},MessageBinding:{$visitor:Hf}},redis:{ServerBinding:{$visitor:Ug},ChannelBinding:{$visitor:Ag},OperationBinding:{$visitor:Ng},MessageBinding:{$visitor:Fg}},mercure:{ServerBinding:{$visitor:g_},ChannelBinding:{$visitor:r_},OperationBinding:{$visitor:m_},MessageBinding:{$visitor:c_}},googlepubsub:{ServerBinding:{$visitor:op},ChannelBinding:{$visitor:zh,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:sp},MessageBinding:{$visitor:Yh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:Ep,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:lp,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:pp,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:bp}}}},extension:{$visitor:To}}}},vb=e=>{if(Vt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},yb={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"],...ps},wb={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",Vo),t.register("asyncApiVersion",Wo),t.register("channelBindings",Ra),t.register("channelItem",Na),t.register("channels",Va),t.register("components",Ua),t.register("contact",na),t.register("correlationID",aa),t.register("defaultContentType",da),t.register("externalDocumentation",Nu),t.register("identifier",zo),t.register("info",Yo),t.register("license",_a),t.register("message",rm),t.register("messageBindings",Td),t.register("messageExample",Id),t.register("messageTrait",qd),t.register("oAuthFlow",xa),t.register("oAuthFlows",va),t.register("operation",Wa),t.register("operationBindings",Em),t.register("operationTrait",Om),t.register("parameter",Ja),t.register("parameters",za),t.register("reference",Ka),t.register("schema",ic),t.register("securityRequirement",ac),t.register("securityScheme",su),t.register("server",uc),t.register("serverBindings",dc),t.register("servers",Fa),t.register("serverVariable",hc),t.register("tag",pd),t.register("tags",ld),t.register("amqpChannelBinding",Rm),t.register("amqpMessageBinding",Vm),t.register("amqpOperationBinding",Wm),t.register("amqpServerBinding",zm),t.register("amqp1ChannelBinding",Ym),t.register("amqp1MessageBinding",sh),t.register("amqp1OperationBinding",oh),t.register("amqp1ServerBinding",lh),t.register("anypointmqChannelBinding",ph),t.register("anypointmqMessageBinding",bh),t.register("anypointmqOperationBinding",Eh),t.register("anypointmqServerBinding",Oh),t.register("googlepubsubChannelBinding",Jh),t.register("googlepubsubMessageBinding",Kh),t.register("googlepubsubOperationBinding",ep),t.register("googlepubsubServerBinding",rp),t.register("httpChannelBinding",Ah),t.register("httpMessageBinding",Fh),t.register("httpOperationBinding",Nh),t.register("httpServerBinding",Uh),t.register("ibmmqChannelBinding",cp),t.register("ibmmqMessageBinding",mp),t.register("ibmmqOperationBinding",gp),t.register("ibmmqServerBinding",yp),t.register("jmsChannelBinding",Sp),t.register("jmsMessageBinding",Bp),t.register("jmsOperationBinding",$p),t.register("jmsServerBinding",Rp),t.register("kafkaChannelBinding",Vp),t.register("kafkaMessageBinding",Wp),t.register("kafkaOperationBinding",zp),t.register("kafkaServerBinding",Yp),t.register("mercureChannelBinding",s_),t.register("mercureMessageBinding",o_),t.register("mercureOperationBinding",l_),t.register("mercureServerBinding",p_),t.register("mqttChannelBinding",b_),t.register("mqttMessageBinding",E_),t.register("mqttOperationBinding",O_),t.register("mqttServerBinding",A_),t.register("mqtt5ChannelBinding",F_),t.register("mqtt5MessageBinding",N_),t.register("mqtt5OperationBinding",U_),t.register("mqtt5ServerBinding",J_),t.register("natsChannelBinding",K_),t.register("natsMessageBinding",eg),t.register("natsOperationBinding",rg),t.register("natsServerBinding",cg),t.register("pulsarChannelBinding",mg),t.register("pulsarMessageBinding",gg),t.register("pulsarOperationBinding",yg),t.register("pulsarServerBinding",Sg),t.register("redisChannelBinding",Bg),t.register("redisMessageBinding",$g),t.register("redisOperationBinding",Rg),t.register("redisServerBinding",Vg),t.register("snsChannelBinding",Wg),t.register("snsMessageBinding",zg),t.register("snsOperationBinding",Yg),t.register("snsServerBinding",sf),t.register("solaceChannelBinding",af),t.register("solaceMessageBinding",df),t.register("solaceOperationBinding",_f),t.register("solaceServerBinding",vf),t.register("sqsChannelBinding",xf),t.register("sqsMessageBinding",Mf),t.register("sqsOperationBinding",Tf),t.register("sqsServerBinding",If),t.register("stompChannelBinding",qf),t.register("stompMessageBinding",Lf),t.register("stompOperationBinding",Gf),t.register("stompServerBinding",Xf),t.register("webSocketChannelBinding",tb),t.register("webSocketMessageBinding",ib),t.register("webSocketOperationBinding",ub),t.register("webSocketServerBinding",hb),t}},Eb=()=>{const e=at(wb);return{predicates:{...r,isStringElement:Dt},namespace:e}},xb=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:s=[]}={})=>{const n=(0,ie.e)(e),r=Hn(bb),i=new(vs(t,r))({specObj:r});return _s(n,i),Ts(i.element,s,{toolboxCreator:Eb,visitorOptions:{keyMap:yb,nodeTypeGetter:vb}})},Sb=e=>(t,s={})=>xb(t,{...s,specPath:e});Vo.refract=Sb(["visitors","document","objects","AsyncApi","$visitor"]),Wo.refract=Sb(["visitors","document","objects","AsyncApiVersion","$visitor"]),Ra.refract=Sb(["visitors","document","objects","ChannelBindings","$visitor"]),Na.refract=Sb(["visitors","document","objects","ChannelItem","$visitor"]),Va.refract=Sb(["visitors","document","objects","Channels","$visitor"]),Ua.refract=Sb(["visitors","document","objects","Components","$visitor"]),na.refract=Sb(["visitors","document","objects","Contact","$visitor"]),aa.refract=Sb(["visitors","document","objects","CorrelationID","$visitor"]),da.refract=Sb(["visitors","document","objects","DefaultContentType","$visitor"]),Nu.refract=Sb(["visitors","document","objects","ExternalDocumentation","$visitor"]),zo.refract=Sb(["visitors","document","objects","Identifier","$visitor"]),Yo.refract=Sb(["visitors","document","objects","Info","$visitor"]),_a.refract=Sb(["visitors","document","objects","License","$visitor"]),rm.refract=Sb(["visitors","document","objects","Message","$visitor"]),Td.refract=Sb(["visitors","document","objects","MessageBindings","$visitor"]),Id.refract=Sb(["visitors","document","objects","MessageExample","$visitor"]),qd.refract=Sb(["visitors","document","objects","MessageTrait","$visitor"]),xa.refract=Sb(["visitors","document","objects","OAuthFlow","$visitor"]),va.refract=Sb(["visitors","document","objects","OAuthFlows","$visitor"]),Wa.refract=Sb(["visitors","document","objects","Operation","$visitor"]),Em.refract=Sb(["visitors","document","objects","OperationBindings","$visitor"]),Om.refract=Sb(["visitors","document","objects","OperationTrait","$visitor"]),Ja.refract=Sb(["visitors","document","objects","Parameter","$visitor"]),za.refract=Sb(["visitors","document","objects","Parameters","$visitor"]),Ka.refract=Sb(["visitors","document","objects","Reference","$visitor"]),ic.refract=Sb(["visitors","document","objects","Schema","$visitor"]),ac.refract=Sb(["visitors","document","objects","SecurityRequirement","$visitor"]),su.refract=Sb(["visitors","document","objects","SecurityScheme","$visitor"]),uc.refract=Sb(["visitors","document","objects","Server","$visitor"]),dc.refract=Sb(["visitors","document","objects","ServerBindings","$visitor"]),Fa.refract=Sb(["visitors","document","objects","Servers","$visitor"]),hc.refract=Sb(["visitors","document","objects","ServerVariable","$visitor"]),pd.refract=Sb(["visitors","document","objects","Tag","$visitor"]),ld.refract=Sb(["visitors","document","objects","Tags","$visitor"]),Rm.refract=Sb(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),Vm.refract=Sb(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),Wm.refract=Sb(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),zm.refract=Sb(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Ym.refract=Sb(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),sh.refract=Sb(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),oh.refract=Sb(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),lh.refract=Sb(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),Ah.refract=Sb(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),Fh.refract=Sb(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),Nh.refract=Sb(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),Uh.refract=Sb(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),Jh.refract=Sb(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),Kh.refract=Sb(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),ep.refract=Sb(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),rp.refract=Sb(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),cp.refract=Sb(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),mp.refract=Sb(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),gp.refract=Sb(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),yp.refract=Sb(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),Sp.refract=Sb(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Bp.refract=Sb(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),$p.refract=Sb(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),Rp.refract=Sb(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),Vp.refract=Sb(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),Wp.refract=Sb(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),zp.refract=Sb(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),Yp.refract=Sb(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),ph.refract=Sb(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),bh.refract=Sb(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),Eh.refract=Sb(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),Oh.refract=Sb(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),s_.refract=Sb(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),o_.refract=Sb(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),l_.refract=Sb(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),p_.refract=Sb(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),b_.refract=Sb(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),E_.refract=Sb(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),O_.refract=Sb(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),A_.refract=Sb(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),F_.refract=Sb(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),N_.refract=Sb(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),U_.refract=Sb(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),J_.refract=Sb(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),K_.refract=Sb(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),eg.refract=Sb(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),rg.refract=Sb(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),cg.refract=Sb(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),mg.refract=Sb(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),gg.refract=Sb(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),yg.refract=Sb(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),Sg.refract=Sb(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),Bg.refract=Sb(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),$g.refract=Sb(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Rg.refract=Sb(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),Vg.refract=Sb(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),Wg.refract=Sb(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),zg.refract=Sb(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Yg.refract=Sb(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),sf.refract=Sb(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),af.refract=Sb(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),df.refract=Sb(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),_f.refract=Sb(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),vf.refract=Sb(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),xf.refract=Sb(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),Mf.refract=Sb(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),Tf.refract=Sb(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),If.refract=Sb(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),qf.refract=Sb(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),Lf.refract=Sb(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),Gf.refract=Sb(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),Xf.refract=Sb(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),tb.refract=Sb(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),ib.refract=Sb(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),ub.refract=Sb(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),hb.refract=Sb(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const jb=new tm(...sm.filterByFormat("generic"),...sm.filterByFormat("json")),Ob=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,Mb=async e=>Ob.test(e)&&await(async e=>{if(!Pn.test(e))return!1;try{return"ERROR"!==(await yt(e)).rootNode.type}catch{return!1}})(e),Bb=async(e,t={})=>{const s=p({},"refractorOpts",t),n=g(["refractorOpts"],t),r=await(async(e,{sourceMap:t=!1,syntacticAnalysis:s="direct"}={})=>{const n=await yt(e);let r;return r="indirect"===s?Bn(n,{sourceMap:t}):Us(n,{sourceMap:t}),r})(e,n),{result:i}=r;if(re(i)){const e=Vo.refract(i,s);e.classes.push("result"),r.replaceResult(e)}return r},Pb=at(wb)})(),__webpack_exports__})()));