@swagger-api/apidom-parser-adapter-asyncapi-json-2 0.82.2 → 0.84.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={42:(e,t,n)=>{"use strict";var s=n(5846);e.exports=s},6791:(e,t,n)=>{"use strict";n(4339),n(4242),n(4016),n(8939),n(5454);var s=n(7545);e.exports=s.AggregateError},6762:(e,t,n)=>{"use strict";e.exports=n(3028)},3028:(e,t,n)=>{"use strict";n(2752);var s=n(42);e.exports=s},6235:(e,t,n)=>{"use strict";var s=n(6447),i=n(9288),r=TypeError;e.exports=function(e){if(s(e))return e;throw new r(i(e)+" is not a function")}},7757:(e,t,n)=>{"use strict";var s=n(6447),i=String,r=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw new r("Can't set "+i(e)+" as a prototype")}},7423:e=>{"use strict";e.exports=function(){}},1138:(e,t,n)=>{"use strict";var s=n(5744),i=String,r=TypeError;e.exports=function(e){if(s(e))return e;throw new r(i(e)+" is not an object")}},8180:(e,t,n)=>{"use strict";var s=n(101),i=n(7739),r=n(4104),o=function(e){return function(t,n,o){var a,c=s(t),u=r(c),l=i(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{"use strict";var s=n(4120),i=s({}.toString),r=s("".slice);e.exports=function(e){return r(i(e),8,-1)}},4696:(e,t,n)=>{"use strict";var s=n(3471),i=n(6447),r=n(9272),o=n(8182)("toStringTag"),a=Object,c="Arguments"===r(function(){return arguments}());e.exports=s?r:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?r(t):"Object"===(s=r(t))&&i(t.callee)?"Arguments":s}},7987:(e,t,n)=>{"use strict";var s=n(4500),i=n(3011),r=n(5141),o=n(2760);e.exports=function(e,t,n){for(var a=i(t),c=o.f,u=r.f,l=0;l<a.length;l++){var p=a[l];s(e,p)||n&&s(n,p)||c(e,p,u(t,p))}}},4635:(e,t,n)=>{"use strict";var s=n(6192);e.exports=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{"use strict";var s=n(69),i=n(2760),r=n(774);e.exports=s?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{"use strict";var s=n(8711);e.exports=function(e,t,n,i){return i&&i.enumerable?e[t]=n:s(e,t,n),e}},5098:(e,t,n)=>{"use strict";var s=n(8576),i=Object.defineProperty;e.exports=function(e,t){try{i(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}},69:(e,t,n)=>{"use strict";var s=n(6192);e.exports=!s((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{"use strict";var s=n(8576),i=n(5744),r=s.document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},7365: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}},8989:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{"use strict";var s,i,r=n(8576),o=n(8989),a=r.process,c=r.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(i=(s=l.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!i&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(i=+s[1]),e.exports=i},2952:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{"use strict";var s=n(4120),i=Error,r=s("".replace),o=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=r(e,a,"");return e}},8266:(e,t,n)=>{"use strict";var s=n(8711),i=n(4503),r=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,a){r&&(o?o(e,t):s(e,"stack",i(n,a)))}},274:(e,t,n)=>{"use strict";var s=n(6192),i=n(774);e.exports=!s((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var s=n(8576),i=n(6298),r=n(4914),o=n(6447),a=n(5141).f,c=n(9245),u=n(7545),l=n(8043),p=n(8711),h=n(4500),m=function(e){var t=function(n,s,r){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,s)}return new e(n,s,r)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,i,d,g,f,b,_,y,v,S=e.target,E=e.global,w=e.stat,j=e.proto,x=E?s:w?s[S]:(s[S]||{}).prototype,O=E?u:u[S]||p(u,S,{})[S],B=O.prototype;for(g in t)i=!(n=c(E?g:S+(w?".":"#")+g,e.forced))&&x&&h(x,g),b=O[g],i&&(_=e.dontCallGetSet?(v=a(x,g))&&v.value:x[g]),f=i&&_?_:t[g],i&&typeof b==typeof f||(y=e.bind&&i?l(f,s):e.wrap&&i?m(f):j&&o(f)?r(f):f,(e.sham||f&&f.sham||b&&b.sham)&&p(y,"sham",!0),p(O,g,y),j&&(h(u,d=S+"Prototype")||p(u,d,{}),p(u[d],g,f),e.real&&B&&(n||!B[g])&&p(B,g,f)))}},6192:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{"use strict";var s=n(2784),i=Function.prototype,r=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(s?o.bind(r):function(){return o.apply(r,arguments)})},8043:(e,t,n)=>{"use strict";var s=n(4914),i=n(6235),r=n(2784),o=s(s.bind);e.exports=function(e,t){return i(e),void 0===t?e:r?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{"use strict";var s=n(6192);e.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{"use strict";var s=n(2784),i=Function.prototype.call;e.exports=s?i.bind(i):function(){return i.apply(i,arguments)}},2282:(e,t,n)=>{"use strict";var s=n(69),i=n(4500),r=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,a=i(r,"name"),c=a&&"something"===function(){}.name,u=a&&(!s||s&&o(r,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(e,t,n)=>{"use strict";var s=n(4120),i=n(6235);e.exports=function(e,t,n){try{return s(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{"use strict";var s=n(9272),i=n(4120);e.exports=function(e){if("Function"===s(e))return i(e)}},4120:(e,t,n)=>{"use strict";var s=n(2784),i=Function.prototype,r=i.call,o=s&&i.bind.bind(r,r);e.exports=s?o:function(e){return function(){return r.apply(e,arguments)}}},150:(e,t,n)=>{"use strict";var s=n(7545),i=n(8576),r=n(6447),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(s[e])||o(i[e]):s[e]&&s[e][t]||i[e]&&i[e][t]}},8703:(e,t,n)=>{"use strict";var s=n(4696),i=n(5037),r=n(5646),o=n(7771),a=n(8182)("iterator");e.exports=function(e){if(!r(e))return i(e,a)||i(e,"@@iterator")||o[s(e)]}},1669:(e,t,n)=>{"use strict";var s=n(8922),i=n(6235),r=n(1138),o=n(9288),a=n(8703),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(i(n))return r(s(n,e));throw new c(o(e)+" is not iterable")}},5037:(e,t,n)=>{"use strict";var s=n(6235),i=n(5646);e.exports=function(e,t){var n=e[t];return i(n)?void 0:s(n)}},8576:function(e,t,n){"use strict";var s=function(e){return e&&e.Math===Math&&e};e.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{"use strict";var s=n(4120),i=n(1795),r=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(i(e),t)}},4535:e=>{"use strict";e.exports={}},7403:(e,t,n)=>{"use strict";var s=n(150);e.exports=s("document","documentElement")},188:(e,t,n)=>{"use strict";var s=n(69),i=n(6192),r=n(7449);e.exports=!s&&!i((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{"use strict";var s=n(4120),i=n(6192),r=n(9272),o=Object,a=s("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?a(e,""):o(e)}:o},2643:(e,t,n)=>{"use strict";var s=n(6447),i=n(5744),r=n(4469);e.exports=function(e,t,n){var o,a;return r&&s(o=t.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&r(e,a),e}},273:(e,t,n)=>{"use strict";var s=n(5744),i=n(8711);e.exports=function(e,t){s(t)&&"cause"in t&&i(e,"cause",t.cause)}},3326:(e,t,n)=>{"use strict";var s,i,r,o=n(5278),a=n(8576),c=n(5744),u=n(8711),l=n(4500),p=n(6434),h=n(9766),m=n(4535),d="Object already initialized",g=a.TypeError,f=a.WeakMap;if(o||p.state){var b=p.state||(p.state=new f);b.get=b.get,b.has=b.has,b.set=b.set,s=function(e,t){if(b.has(e))throw new g(d);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},r=function(e){return b.has(e)}}else{var _=h("state");m[_]=!0,s=function(e,t){if(l(e,_))throw new g(d);return t.facade=e,u(e,_,t),t},i=function(e){return l(e,_)?e[_]:{}},r=function(e){return l(e,_)}}e.exports={set:s,get:i,has:r,enforce:function(e){return r(e)?i(e):s(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{"use strict";var s=n(8182),i=n(7771),r=s("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},6447:(e,t,n)=>{"use strict";var s=n(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{"use strict";var s=n(6192),i=n(6447),r=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n===l||n!==u&&(i(t)?s(t):!!t)},a=o.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{"use strict";e.exports=function(e){return null==e}},5744:(e,t,n)=>{"use strict";var s=n(6447),i=n(8382),r=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===r}:function(e){return"object"==typeof e?null!==e:s(e)}},5546:e=>{"use strict";e.exports=!0},3236:(e,t,n)=>{"use strict";var s=n(150),i=n(6447),r=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return i(t)&&r(t.prototype,a(e))}},3442:(e,t,n)=>{"use strict";var s=n(8043),i=n(8922),r=n(1138),o=n(9288),a=n(6109),c=n(4104),u=n(8902),l=n(1669),p=n(8703),h=n(6639),m=TypeError,d=function(e,t){this.stopped=e,this.result=t},g=d.prototype;e.exports=function(e,t,n){var f,b,_,y,v,S,E,w=n&&n.that,j=!(!n||!n.AS_ENTRIES),x=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),B=!(!n||!n.INTERRUPTED),P=s(t,w),$=function(e){return f&&h(f,"normal",e),new d(!0,e)},A=function(e){return j?(r(e),B?P(e[0],e[1],$):P(e[0],e[1])):B?P(e,$):P(e)};if(x)f=e.iterator;else if(O)f=e;else{if(!(b=p(e)))throw new m(o(e)+" is not iterable");if(a(b)){for(_=0,y=c(e);y>_;_++)if((v=A(e[_]))&&u(g,v))return v;return new d(!1)}f=l(e,b)}for(S=x?e.next:f.next;!(E=i(S,f)).done;){try{v=A(E.value)}catch(e){h(f,"throw",e)}if("object"==typeof v&&v&&u(g,v))return v}return new d(!1)}},6639:(e,t,n)=>{"use strict";var s=n(8922),i=n(1138),r=n(5037);e.exports=function(e,t,n){var o,a;i(e);try{if(!(o=r(e,"return"))){if("throw"===t)throw n;return n}o=s(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return i(o),n}},5695:(e,t,n)=>{"use strict";var s=n(4413).IteratorPrototype,i=n(2853),r=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=i(s,{next:r(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5297:(e,t,n)=>{"use strict";var s=n(3085),i=n(8922),r=n(5546),o=n(2282),a=n(6447),c=n(5695),u=n(9341),l=n(4469),p=n(1284),h=n(8711),m=n(9362),d=n(8182),g=n(7771),f=n(4413),b=o.PROPER,_=o.CONFIGURABLE,y=f.IteratorPrototype,v=f.BUGGY_SAFARI_ITERATORS,S=d("iterator"),E="keys",w="values",j="entries",x=function(){return this};e.exports=function(e,t,n,o,d,f,O){c(n,t,o);var B,P,$,A=function(e){if(e===d&&N)return N;if(!v&&e&&e in k)return k[e];switch(e){case E:case w:case j:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",q=!1,k=e.prototype,C=k[S]||k["@@iterator"]||d&&k[d],N=!v&&C||A(d),I="Array"===t&&k.entries||C;if(I&&(B=u(I.call(new e)))!==Object.prototype&&B.next&&(r||u(B)===y||(l?l(B,y):a(B[S])||m(B,S,x)),p(B,M,!0,!0),r&&(g[M]=x)),b&&d===w&&C&&C.name!==w&&(!r&&_?h(k,"name",w):(q=!0,N=function(){return i(C,this)})),d)if(P={values:A(w),keys:f?N:A(E),entries:A(j)},O)for($ in P)(v||q||!($ in k))&&m(k,$,P[$]);else s({target:t,proto:!0,forced:v||q},P);return r&&!O||k[S]===N||m(k,S,N,{name:d}),g[t]=N,P}},4413:(e,t,n)=>{"use strict";var s,i,r,o=n(6192),a=n(6447),c=n(5744),u=n(2853),l=n(9341),p=n(9362),h=n(8182),m=n(5546),d=h("iterator"),g=!1;[].keys&&("next"in(r=[].keys())?(i=l(l(r)))!==Object.prototype&&(s=i):g=!0),!c(s)||o((function(){var e={};return s[d].call(e)!==e}))?s={}:m&&(s=u(s)),a(s[d])||p(s,d,(function(){return this})),e.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:g}},7771:e=>{"use strict";e.exports={}},4104:(e,t,n)=>{"use strict";var s=n(8445);e.exports=function(e){return s(e.length)}},7679:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},6016:(e,t,n)=>{"use strict";var s=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:s(e)}},2853:(e,t,n)=>{"use strict";var s,i=n(1138),r=n(1187),o=n(2952),a=n(4535),c=n(7403),u=n(7449),l=n(9766),p="prototype",h="script",m=l("IE_PROTO"),d=function(){},g=function(e){return"<"+h+">"+e+"</"+h+">"},f=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;b="undefined"!=typeof document?document.domain&&s?f(s):(t=u("iframe"),n="java"+h+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):f(s);for(var i=o.length;i--;)delete b[p][o[i]];return b()};a[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d[p]=i(e),n=new d,d[p]=null,n[m]=e):n=b(),void 0===t?n:r.f(n,t)}},1187:(e,t,n)=>{"use strict";var s=n(69),i=n(9600),r=n(2760),o=n(1138),a=n(101),c=n(7653);t.f=s&&!i?Object.defineProperties:function(e,t){o(e);for(var n,s=a(t),i=c(t),u=i.length,l=0;u>l;)r.f(e,n=i[l++],s[n]);return e}},2760:(e,t,n)=>{"use strict";var s=n(69),i=n(188),r=n(9600),o=n(1138),a=n(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",m="writable";t.f=s?r?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var s=l(e,t);s&&s[m]&&(e[t]=n.value,n={configurable:h in n?n[h]:s[h],enumerable:p in n?n[p]:s[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{"use strict";var s=n(69),i=n(8922),r=n(6007),o=n(774),a=n(101),c=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=s?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!i(r.f,e,t),e[t])}},2092:(e,t,n)=>{"use strict";var s=n(7934),i=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,i)}},4750:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{"use strict";var s=n(4500),i=n(6447),r=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=r(e);if(s(t,c))return t[c];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{"use strict";var s=n(4120);e.exports=s({}.isPrototypeOf)},7934:(e,t,n)=>{"use strict";var s=n(4120),i=n(4500),r=n(101),o=n(8180).indexOf,a=n(4535),c=s([].push);e.exports=function(e,t){var n,s=r(e),u=0,l=[];for(n in s)!i(a,n)&&i(s,n)&&c(l,n);for(;t.length>u;)i(s,n=t[u++])&&(~o(l,n)||c(l,n));return l}},7653:(e,t,n)=>{"use strict";var s=n(7934),i=n(2952);e.exports=Object.keys||function(e){return s(e,i)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,i=s&&!n.call({1:2},1);t.f=i?function(e){var t=s(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{"use strict";var s=n(6419),i=n(1138),r=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=s(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return i(n),r(s),t?e(n,s):n.__proto__=s,n}}():void 0)},158:(e,t,n)=>{"use strict";var s=n(3471),i=n(4696);e.exports=s?{}.toString:function(){return"[object "+i(this)+"]"}},380:(e,t,n)=>{"use strict";var s=n(8922),i=n(6447),r=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!r(a=s(n,e)))return a;if(i(n=e.valueOf)&&!r(a=s(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!r(a=s(n,e)))return a;throw new o("Can't convert object to primitive value")}},3011:(e,t,n)=>{"use strict";var s=n(150),i=n(4120),r=n(2092),o=n(4750),a=n(1138),c=i([].concat);e.exports=s("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=o.f;return n?c(t,n(e)):t}},7545:e=>{"use strict";e.exports={}},7656:(e,t,n)=>{"use strict";var s=n(2760).f;e.exports=function(e,t,n){n in e||s(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{"use strict";var s=n(5646),i=TypeError;e.exports=function(e){if(s(e))throw new i("Can't call method on "+e);return e}},1284:(e,t,n)=>{"use strict";var s=n(3471),i=n(2760).f,r=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||i(l,c,{configurable:!0,value:t}),u&&!s&&r(l,"toString",a)}}},9766:(e,t,n)=>{"use strict";var s=n(8717),i=n(2759),r=s("keys");e.exports=function(e){return r[e]||(r[e]=i(e))}},6434:(e,t,n)=>{"use strict";var s=n(8576),i=n(5098),r="__core-js_shared__",o=s[r]||i(r,{});e.exports=o},8717:(e,t,n)=>{"use strict";var s=n(5546),i=n(6434);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:s?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{"use strict";var s=n(4120),i=n(1941),r=n(4845),o=n(3209),a=s("".charAt),c=s("".charCodeAt),u=s("".slice),l=function(e){return function(t,n){var s,l,p=r(o(t)),h=i(n),m=p.length;return h<0||h>=m?e?"":void 0:(s=c(p,h))<55296||s>56319||h+1===m||(l=c(p,h+1))<56320||l>57343?e?a(p,h):s:e?u(p,h,h+2):l-56320+(s-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{"use strict";var s=n(4218),i=n(6192),r=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},7739:(e,t,n)=>{"use strict";var s=n(1941),i=Math.max,r=Math.min;e.exports=function(e,t){var n=s(e);return n<0?i(n+t,0):r(n,t)}},101:(e,t,n)=>{"use strict";var s=n(2202),i=n(3209);e.exports=function(e){return s(i(e))}},1941:(e,t,n)=>{"use strict";var s=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}},8445:(e,t,n)=>{"use strict";var s=n(1941),i=Math.min;e.exports=function(e){return e>0?i(s(e),9007199254740991):0}},1795:(e,t,n)=>{"use strict";var s=n(3209),i=Object;e.exports=function(e){return i(s(e))}},7888:(e,t,n)=>{"use strict";var s=n(8922),i=n(5744),r=n(3236),o=n(5037),a=n(380),c=n(8182),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!i(e)||r(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=s(c,e,t),!i(n)||r(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{"use strict";var s=n(7888),i=n(3236);e.exports=function(e){var t=s(e,"string");return i(t)?t:t+""}},3471:(e,t,n)=>{"use strict";var s={};s[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(s)},4845:(e,t,n)=>{"use strict";var s=n(4696),i=String;e.exports=function(e){if("Symbol"===s(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},9288:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{"use strict";var s=n(4120),i=0,r=Math.random(),o=s(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+r,36)}},615:(e,t,n)=>{"use strict";var s=n(6770);e.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{"use strict";var s=n(69),i=n(6192);e.exports=s&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{"use strict";var s=n(8576),i=n(6447),r=s.WeakMap;e.exports=i(r)&&/native code/.test(String(r))},8182:(e,t,n)=>{"use strict";var s=n(8576),i=n(8717),r=n(4500),o=n(2759),a=n(6770),c=n(615),u=s.Symbol,l=i("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return r(l,e)||(l[e]=a&&r(u,e)?u[e]:p("Symbol."+e)),l[e]}},426:(e,t,n)=>{"use strict";var s=n(150),i=n(4500),r=n(8711),o=n(8902),a=n(4469),c=n(7987),u=n(7656),l=n(2643),p=n(6016),h=n(273),m=n(8266),d=n(69),g=n(5546);e.exports=function(e,t,n,f){var b="stackTraceLimit",_=f?2:1,y=e.split("."),v=y[y.length-1],S=s.apply(null,y);if(S){var E=S.prototype;if(!g&&i(E,"cause")&&delete E.cause,!n)return S;var w=s("Error"),j=t((function(e,t){var n=p(f?t:e,void 0),s=f?new S(e):new S;return void 0!==n&&r(s,"message",n),m(s,j,s.stack,2),this&&o(E,this)&&l(s,this,j),arguments.length>_&&h(s,arguments[_]),s}));if(j.prototype=E,"Error"!==v?a?a(j,w):c(j,w,{name:!0}):d&&b in S&&(u(j,S,b),u(j,S,"prepareStackTrace")),c(j,S),!g)try{E.name!==v&&r(E,"name",v),E.constructor=j}catch(e){}return j}}},4016:(e,t,n)=>{"use strict";var s=n(3085),i=n(150),r=n(6298),o=n(6192),a=n(426),c="AggregateError",u=i(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));s({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,n){return r(e,this,arguments)}}),l,!0)})},3820:(e,t,n)=>{"use strict";var s=n(3085),i=n(8902),r=n(9341),o=n(4469),a=n(7987),c=n(2853),u=n(8711),l=n(774),p=n(273),h=n(8266),m=n(3442),d=n(6016),g=n(8182)("toStringTag"),f=Error,b=[].push,_=function(e,t){var n,s=i(y,this);o?n=o(new f,s?r(this):y):(n=s?this:c(y),u(n,g,"Error")),void 0!==t&&u(n,"message",d(t)),h(n,_,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return m(e,b,{that:a}),u(n,"errors",a),n};o?o(_,f):a(_,f,{name:!0});var y=_.prototype=c(f.prototype,{constructor:l(1,_),message:l(1,""),name:l(1,"AggregateError")});s({global:!0,constructor:!0,arity:2},{AggregateError:_})},4242:(e,t,n)=>{"use strict";n(3820)},8939:(e,t,n)=>{"use strict";var s=n(101),i=n(7423),r=n(7771),o=n(3326),a=n(2760).f,c=n(5297),u=n(7271),l=n(5546),p=n(69),h="Array Iterator",m=o.set,d=o.getterFor(h);e.exports=c(Array,"Array",(function(e,t){m(this,{type:h,target:s(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.kind,s=e.index++;if(!t||s>=t.length)return e.target=void 0,u(void 0,!0);switch(n){case"keys":return u(s,!1);case"values":return u(t[s],!1)}return u([s,t[s]],!1)}),"values");var g=r.Arguments=r.Array;if(i("keys"),i("values"),i("entries"),!l&&p&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{"use strict";var s=n(3085),i=n(8576),r=n(6298),o=n(426),a="WebAssembly",c=i[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),s({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,u),s({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return r(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return r(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return r(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return r(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return r(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return r(e,this,arguments)}})),l("URIError",(function(e){return function(t){return r(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return r(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return r(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return r(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var s=n(863).charAt,i=n(4845),r=n(3326),o=n(5297),a=n(7271),c="String Iterator",u=r.set,l=r.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?a(void 0,!0):(e=s(n,i),t.index+=e.length,a(e,!1))}))},2752:(e,t,n)=>{"use strict";n(4242)},162:(e,t,n)=>{"use strict";n(8939);var s=n(7365),i=n(8576),r=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var u in s){var l=i[u],p=l&&l.prototype;p&&r(p)!==c&&o(p,c,u),a[u]=a.Array}},5846:(e,t,n)=>{"use strict";n(2752);var s=n(6791);n(162),e.exports=s},9515:(e,t,n)=>{var s=n(8761)(n(7772),"DataView");e.exports=s},9612:(e,t,n)=>{var s=n(2118),i=n(6909),r=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var s=n(3945),i=n(1846),r=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var s=n(8761)(n(7772),"Map");e.exports=s},6738:(e,t,n)=>{var s=n(2411),i=n(6417),r=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},1985:(e,t,n)=>{var s=n(8761)(n(7772),"Promise");e.exports=s},2143:(e,t,n)=>{var s=n(8761)(n(7772),"Set");e.exports=s},5386:(e,t,n)=>{var s=n(6738),i=n(2842),r=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new s;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=i,o.prototype.has=r,e.exports=o},6571:(e,t,n)=>{var s=n(235),i=n(5243),r=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new s(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=r,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var s=n(7772).Symbol;e.exports=s},9162:(e,t,n)=>{var s=n(7772).Uint8Array;e.exports=s},3215:(e,t,n)=>{var s=n(8761)(n(7772),"WeakMap");e.exports=s},7552:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length,i=0,r=[];++n<s;){var o=e[n];t(o,n,e)&&(r[i++]=o)}return r}},1634:(e,t,n)=>{var s=n(6473),i=n(9631),r=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=r(e),l=!n&&i(e),p=!n&&!l&&o(e),h=!n&&!l&&!p&&c(e),m=n||l||p||h,d=m?s(e.length,String):[],g=d.length;for(var f in e)!t&&!u.call(e,f)||m&&("length"==f||p&&("offset"==f||"parent"==f)||h&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||a(f,g))||d.push(f);return d}},5067:e=>{e.exports=function(e,t){for(var n=-1,s=t.length,i=e.length;++n<s;)e[i+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length;++n<s;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var s=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(s(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var s=n(5067),i=n(6152);e.exports=function(e,t,n){var r=t(e);return i(e)?r:s(r,n(e))}},3366:(e,t,n)=>{var s=n(857),i=n(2107),r=n(7157),o=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):r(e)}},5183:(e,t,n)=>{var s=n(3366),i=n(5125);e.exports=function(e){return i(e)&&"[object Arguments]"==s(e)}},8746:(e,t,n)=>{var s=n(1952),i=n(5125);e.exports=function e(t,n,r,o,a){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:s(t,n,r,o,e,a))}},1952:(e,t,n)=>{var s=n(6571),i=n(4871),r=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",h="[object Array]",m="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,f,b){var _=c(e),y=c(t),v=_?h:a(e),S=y?h:a(t),E=(v=v==p?m:v)==m,w=(S=S==p?m:S)==m,j=v==S;if(j&&u(e)){if(!u(t))return!1;_=!0,E=!1}if(j&&!E)return b||(b=new s),_||l(e)?i(e,t,n,g,f,b):r(e,t,v,n,g,f,b);if(!(1&n)){var x=E&&d.call(e,"__wrapped__"),O=w&&d.call(t,"__wrapped__");if(x||O){var B=x?e.value():e,P=O?t.value():t;return b||(b=new s),f(B,P,n,g,b)}}return!!j&&(b||(b=new s),o(e,t,n,g,f,b))}},6840:(e,t,n)=>{var s=n(1049),i=n(7394),r=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||i(e))&&(s(e)?h:a).test(o(e))}},5522:(e,t,n)=>{var s=n(3366),i=n(1158),r=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&i(e.length)&&!!o[s(e)]}},6411:(e,t,n)=>{var s=n(6001),i=n(4248),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return i(e);var t=[];for(var n in Object(e))r.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,s=Array(e);++n<e;)s[n]=t(n);return s}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var s=n(7772)["__core-js_shared__"];e.exports=s},4871:(e,t,n)=>{var s=n(5386),i=n(7064),r=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=-1,g=!0,f=2&n?new s:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var b=e[d],_=t[d];if(o)var y=u?o(_,b,d,t,e,c):o(b,_,d,e,t,c);if(void 0!==y){if(y)continue;g=!1;break}if(f){if(!i(t,(function(e,t){if(!r(f,t)&&(b===e||a(b,e,n,o,c)))return f.push(t)}))){g=!1;break}}else if(b!==_&&!a(b,_,n,o,c)){g=!1;break}}return c.delete(e),c.delete(t),g}},1491:(e,t,n)=>{var s=n(857),i=n(9162),r=n(1225),o=n(4871),a=n(5179),c=n(4207),u=s?s.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,s,u,p,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=a;case"[object Set]":var d=1&s;if(m||(m=c),e.size!=t.size&&!d)return!1;var g=h.get(e);if(g)return g==t;s|=2,h.set(e,t);var f=o(m(e),m(t),s,u,p,h);return h.delete(e),f;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var s=n(3483),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,o,a){var c=1&n,u=s(e),l=u.length;if(l!=s(t).length&&!c)return!1;for(var p=l;p--;){var h=u[p];if(!(c?h in t:i.call(t,h)))return!1}var m=a.get(e),d=a.get(t);if(m&&d)return m==t&&d==e;var g=!0;a.set(e,t),a.set(t,e);for(var f=c;++p<l;){var b=e[h=u[p]],_=t[h];if(r)var y=c?r(_,b,h,t,e,a):r(b,_,h,e,t,a);if(!(void 0===y?b===_||o(b,_,n,r,a):y)){g=!1;break}f||(f="constructor"==h)}if(g&&!f){var v=e.constructor,S=t.constructor;v==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof S&&S instanceof S||(g=!1)}return a.delete(e),a.delete(t),g}},1242:(e,t,n)=>{var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=s},3483:(e,t,n)=>{var s=n(1897),i=n(633),r=n(249);e.exports=function(e){return s(e,r,i)}},7937:(e,t,n)=>{var s=n(8304);e.exports=function(e,t){var n=e.__data__;return s(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var s=n(6840),i=n(8109);e.exports=function(e,t){var n=i(e,t);return s(n)?n:void 0}},2107:(e,t,n)=>{var s=n(857),i=Object.prototype,r=i.hasOwnProperty,o=i.toString,a=s?s.toStringTag:void 0;e.exports=function(e){var t=r.call(e,a),n=e[a];try{e[a]=void 0;var s=!0}catch(e){}var i=o.call(e);return s&&(t?e[a]=n:delete e[a]),i}},633:(e,t,n)=>{var s=n(7552),i=n(981),r=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),s(o(e),(function(t){return r.call(e,t)})))}:i;e.exports=a},940:(e,t,n)=>{var s=n(9515),i=n(326),r=n(1985),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",d="[object DataView]",g=u(s),f=u(i),b=u(r),_=u(o),y=u(a),v=c;(s&&v(new s(new ArrayBuffer(1)))!=d||i&&v(new i)!=l||r&&v(r.resolve())!=p||o&&v(new o)!=h||a&&v(new a)!=m)&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,s=n?u(n):"";if(s)switch(s){case g:return d;case f:return l;case b:return p;case _:return h;case y:return m}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var s=n(9191);e.exports=function(){this.__data__=s?s(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var s=n(9191),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(s){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var s=n(9191),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return s?void 0!==t[e]:i.call(t,e)}},7942:(e,t,n)=>{var s=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var s=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==s||"symbol"!=s&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var s,i=n(4019),r=(s=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";e.exports=function(e){return!!r&&r in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var s=n(2218),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=s(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var s=n(2218);e.exports=function(e){var t=this.__data__,n=s(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var s=n(2218);e.exports=function(e){return s(this.__data__,e)>-1}},4769:(e,t,n)=>{var s=n(2218);e.exports=function(e,t){var n=this.__data__,i=s(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},2411:(e,t,n)=>{var s=n(9612),i=n(235),r=n(326);e.exports=function(){this.size=0,this.__data__={hash:new s,map:new(r||i),string:new s}}},6417:(e,t,n)=>{var s=n(7937);e.exports=function(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).get(e)}},9493:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).has(e)}},4150:(e,t,n)=>{var s=n(7937);e.exports=function(e,t){var n=s(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,s){n[++t]=[s,e]})),n}},9191:(e,t,n)=>{var s=n(8761)(Object,"create");e.exports=s},4248:(e,t,n)=>{var s=n(241)(Object.keys,Object);e.exports=s},4146:(e,t,n)=>{e=n.nmd(e);var s=n(1242),i=t&&!t.nodeType&&t,r=i&&e&&!e.nodeType&&e,o=r&&r.exports===i&&s.process,a=function(){try{var e=r&&r.require&&r.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var s=n(1242),i="object"==typeof self&&self&&self.Object===Object&&self,r=s||i||Function("return this")();e.exports=r},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var s=n(235);e.exports=function(){this.__data__=new s,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var s=n(235),i=n(326),r=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof s){var o=n.__data__;if(!i||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new r(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var s=n(5183),i=n(5125),r=Object.prototype,o=r.hasOwnProperty,a=r.propertyIsEnumerable,c=s(function(){return arguments}())?s:function(e){return i(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var s=n(1049),i=n(1158);e.exports=function(e){return null!=e&&i(e.length)&&!s(e)}},4335:(e,t,n)=>{var s=n(3366),i=n(5125);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==s(e)}},3226:(e,t,n)=>{e=n.nmd(e);var s=n(7772),i=n(6330),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r?s.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},8149:(e,t,n)=>{var s=n(8746);e.exports=function(e,t){return s(e,t)}},1049:(e,t,n)=>{var s=n(3366),i=n(9259);e.exports=function(e){if(!i(e))return!1;var t=s(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var s=n(3366),i=n(5125);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==s(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var s=n(3366),i=n(6152),r=n(5125);e.exports=function(e){return"string"==typeof e||!i(e)&&r(e)&&"[object String]"==s(e)}},7598:(e,t,n)=>{var s=n(5522),i=n(7826),r=n(4146),o=r&&r.isTypedArray,a=o?i(o):s;e.exports=a},249:(e,t,n)=>{var s=n(1634),i=n(6411),r=n(7878);e.exports=function(e){return r(e)?s(e):i(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const s=n(1570);function i(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class r{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const i=e.bind(t)(s);i&&n.push(i)})),n}filter(e,t){return e=i(e),new r(this.elements.filter(e,t))}reject(e,t){return e=i(e),new r(this.elements.filter(s(e),t))}find(e,t){return e=i(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=r},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const s=n(5877),i=n(5505),r=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(s,u.NullElement,!1).detect(i,u.StringElement,!1).detect(r,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const s=this.elementDetection[n][0],i=this.elementDetection[n][1];if(s(e)){t=new i(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const s=n(1570),i=n(1178);class r extends i{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new r(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(s(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,s)=>{e.bind(t)(n.value,n.key,n,s)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=r},3756:(e,t,n)=>{const s=n(6420),i=n(4152),r=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),h=n(2320),m=n(1178),d=n(3853),g=n(3026);function f(e){if(e instanceof s)return e;if("string"==typeof e)return new r(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new i;if(Array.isArray(e))return new c(e.map(f));if("object"==typeof e){return new l(e)}return e}s.prototype.ObjectElement=l,s.prototype.RefElement=h,s.prototype.MemberElement=u,s.prototype.refract=f,m.prototype.refract=f,e.exports={Element:s,NullElement:i,StringElement:r,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:f,ArraySlice:m,ObjectSlice:d,KeyValuePair:g}},5202:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const s=n(5140),i=n(3756);t.lS=s,t.KeyValuePair=n(3026),t.O4=i.ArraySlice,t.rm=i.ObjectSlice,t.W_=i.Element,t.RP=i.StringElement,t.VL=i.NumberElement,t.hh=i.BooleanElement,t.zr=i.NullElement,t.ON=i.ArrayElement,t.Sb=i.ObjectElement,t.c6=i.MemberElement,t.tK=i.RefElement,t.EA=i.LinkElement,t.Qc=i.refract,n(2947),n(8910)},1641:(e,t,n)=>{const s=n(1570),i=n(6420),r=n(1178);class o extends i{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const i=e.bind(t)(s);i&&n.push(i)})),n}filter(e,t){return new r(this.content.filter(e,t))}reject(e,t){return this.filter(s(e),t)}reduce(e,t){let n,s;void 0!==t?(n=0,s=this.refract(t)):(n=1,s="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];s="object"===this.primitive()?this.refract(e(s,n.value,n.key,n,this)):this.refract(e(s,n,t,this))}return s}forEach(e,t){this.content.forEach(((n,s)=>{e.bind(t)(n,this.refract(s))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},s=!!n.recursive,i=void 0===n.results?[]:n.results;return this.forEach(((t,n,r)=>{s&&void 0!==t.findElements&&t.findElements(e,{results:i,recursive:s}),e(t,n,r)&&i.push(t)})),i}find(e){return new r(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const s=n(8149),i=n(3026),r=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof i?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new r;const s=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const r=n.findRecursive(t);return r&&r.reduce(s,e),n.content instanceof i&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const s=e[t],i=n.indexOf(s);if(-1===i)return!1;n=n.splice(0,i)}return!0}))),n}set(e){return this.content=e,this}equals(e){return s(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof r)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof i)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new r;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new r(this.content);if(this.content instanceof i){const e=new r([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new r([this.content]):new r}get recursiveChildren(){const e=new r;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const s=n(3026),i=n(6420);e.exports=class extends i{constructor(e,t,n,i){super(new s,n,i),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const s=n(1570),i=n(9259),r=n(1641),o=n(8858),a=n(3853);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(i(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,s=this.getMember(n);return s?s.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((s,i,r)=>{const o=e.bind(t)(s,i,r);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(s(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const s=n(2947);e.exports=class extends s{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const s="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(s){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:s}=e;s.get("metadata")&&(s=s.clone(),s.set("meta",s.get("metadata")),s.remove("metadata")),"member"===e.element&&t&&(s=s.clone(),s.remove("variable")),s.length>0&&(n.attributes=this.serialiseObject(s))}if(s)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let s;t&&e.content.key?(s=e.content.clone(),s.key.attributes.set("variable",t),s=this.serialiseContent(s)):s=this.serialiseContent(e.content),this.shouldSerialiseContent(e,s)&&(n.content=s)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),s=t.get("default");let i=t.get("samples")||new this.namespace.elements.Array([]);if(s&&s.content&&(s.content.attributes&&s.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([s.content]))),i.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&i.unshift(e.content),i=i.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),i.length&&t.set("samples",i),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const s=this.deserialiseContent(e.content);if(void 0===s&&null!==n.content||(n.content=s),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const s=e;e=new this.namespace.elements.Array,s.forEach((s=>{s.forEach((s=>{const i=new t(s);i.element=n.element,e.push(i)}))}));const i=e.shift();n.content=i?i.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let s=n.attributes.get("default");if(s&&s.length>0){s=s.get(0);const e=new t(s);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const s=n.toValue();t[s]=this.convertKeyToRefract(s,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,s,i,r,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",m="deepConfiguration",d="deepProps",g="deepStatics",f="deepConf",b="initializers",_="methods",y="composers",v="compose";function S(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var w=E.bind(0,(function(e,t){if(t)for(var n=S(t),s=0;s<n.length;s+=1)Object.defineProperty(e,n[s],Object.getOwnPropertyDescriptor(t,n[s]));return e}));function j(e){return"function"==typeof e}function x(e){return e&&"object"==typeof e||j(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var B=E.bind(0,(function e(n,s){if(s===t)return n;if(Array.isArray(s))return(Array.isArray(n)?n:[]).concat(s);if(!O(s))return s;for(var i,r,o=S(s),a=0;a<o.length;)i=o[a++],(r=Object.getOwnPropertyDescriptor(s,i)).hasOwnProperty("value")?r.value!==t&&(n[i]=e(O(n[i])||Array.isArray(s[i])?n[i]:{},s[i])):Object.defineProperty(n,i,r);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return j(e)&&n.indexOf(e)===t}))).length?n:t}function $(e,t){function s(n,s){x(t[n])&&(x(e[n])||(e[n]={}),(s||w)(e[n],t[n]))}function i(s){(n=P(e[s],t[s]))&&(e[s]=n)}return t&&x(t=t[v]||t)&&(s(_),s(o),s(a,B),s(c),s(u),s(l,B),s(p),s(h),s(m,B),i(b),i(y)),e}function A(){return function(e){return n=function e(n){var s,i,r=e[v]||{},u={__proto__:r[_]},l=r[b],p=Array.prototype.slice.apply(arguments),h=r[a];if(h&&B(u,h),(h=r[o])&&w(u,h),(h=r[c])&&Object.defineProperties(u,h),!l||!l.length)return u;for(n===t&&(n={}),r=0;r<l.length;)j(s=l[r++])&&(u=(i=s.call(u,n,{instance:u,stamp:e,args:p}))===t?u:i);return u},(s=e[l])&&B(n,s),(s=e[u])&&w(n,s),(s=e[p])&&Object.defineProperties(n,s),s=j(n[v])?n[v]:A,w(n[v]=function(){return s.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce($,{}))}function M(e){return j(e)&&j(e[v])}var q={};function k(e,r){return function(){return(i={})[e]=r.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[v]||s).call(n,i)}}q[_]=k(_,w),q[o]=q.props=k(o,w),q[b]=q.init=k(b,P),q[y]=k(y,P),q[a]=q[d]=k(a,B),q[u]=q.statics=k(u,w),q[l]=q[g]=k(l,B),q[h]=q.conf=k(h,w),q[m]=q[f]=k(m,B),q[c]=k(c,w),q[p]=k(p,w),s=q[v]=w((function(){for(var e,S,E=0,j=[],O=arguments,$=this;E<O.length;)x(e=O[E++])&&j.push(M(e)?e:((i={})[_]=(S=e)[_]||t,s=S.props,i[o]=x((n=S[o])||s)?w({},s,n):t,i[b]=P(S.init,S[b]),i[y]=P(S[y]),s=S[d],i[a]=x((n=S[a])||s)?B({},s,n):t,i[c]=S[c],s=S.statics,i[u]=x((n=S[u])||s)?w({},s,n):t,s=S[g],i[l]=x((n=S[l])||s)?B({},s,n):t,n=S[p],i[p]=x((s=S.name&&{name:{value:S.name}})||n)?w({},n,s):t,s=S.conf,i[h]=x((n=S[h])||s)?w({},s,n):t,s=S[f],i[m]=x((n=S[m])||s)?B({},s,n):t,i));if(e=A.apply($||r,j),$&&j.unshift($),Array.isArray(O=e[v][y]))for(E=0;E<O.length;)e=M($=O[E++]({stamp:e,composables:j}))?$:e;return e}),q),q.create=function(){return this.apply(t,arguments)},(i={})[u]=q,r=A(i),s[v]=s.bind(),s.version="4.3.2","object"!=typeof t?e.exports=s:self.stampit=s}()},9794:(e,t,n)=>{var s=void 0!==s?s:{},i=function(){var t,i="object"==typeof window?{currentScript:window.document.currentScript}:null;class r{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(s=Object.assign({},s,o),t=new Promise((t=>{var o,a={};for(o in s)s.hasOwnProperty(o)&&(a[o]=s[o]);var c,u,l,p,h=[],m="./this.program",d=function(e,t){throw t};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var g,f,b,_,y,v="";c?(v=p?n(6287).dirname(v)+"/":"//",g=function(e,t){return _||(_=n(5530)),y||(y=n(6287)),e=y.normalize(e),_.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&&(m=process.argv[1].replace(/\\/g,"/")),h=process.argv.slice(2),e.exports=s,d=function(e){process.exit(e)},s.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?h=scriptArgs:void 0!==arguments&&(h=arguments),"function"==typeof quit&&(d=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?v=self.location.href:void 0!==i&&i.currentScript&&(v=i.currentScript.src),v=0!==v.indexOf("blob:")?v.substr(0,v.lastIndexOf("/")+1):"",g=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(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,n){var s=new XMLHttpRequest;s.open("GET",e,!0),s.responseType="arraybuffer",s.onload=function(){200==s.status||0==s.status&&s.response?t(s.response):n()},s.onerror=n,s.send(null)}),s.print||console.log.bind(console);var S=s.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(s[o]=a[o]);a=null,s.arguments&&(h=s.arguments),s.thisProgram&&(m=s.thisProgram),s.quit&&(d=s.quit);var E,w=16,j=[];function x(e,t){if(!E){E=new WeakMap;for(var n=0;n<Z.length;n++){var s=Z.get(n);s&&E.set(s,n)}}if(E.has(e))return E.get(e);var i=function(){if(j.length)return j.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(i,e)}catch(n){if(!(n instanceof TypeError))throw n;var r=function(e,t){if("function"==typeof WebAssembly.Function){for(var n={i:"i32",j:"i64",f:"f32",d:"f64"},s={parameters:[],results:"v"==t[0]?[]:[n[t[0]]]},i=1;i<t.length;++i)s.parameters.push(n[t[i]]);return new WebAssembly.Function(s,e)}var r=[1,0,1,96],o=t.slice(0,1),a=t.slice(1),c={i:127,j:126,f:125,d:124};for(r.push(a.length),i=0;i<a.length;++i)r.push(c[a[i]]);"v"==o?r.push(0):r=r.concat([1,c[o]]),r[1]=r.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(r,[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(i,r)}return E.set(e,i),i}var O,B=s.dynamicLibraries||[];s.wasmBinary&&(O=s.wasmBinary);var P,$=s.noExitRuntime||!0;function A(e,t,n,s){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":N[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:ae("invalid type for setValue: "+n)}}function M(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return N[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:ae("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ae("no native wasm support detected");var q=!1;function k(e,t){e||ae("Assertion failed: "+t)}var C,N,I,T,R,F,V,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function L(e,t,n){for(var s=t+n,i=t;e[i]&&!(i>=s);)++i;if(i-t>16&&e.subarray&&D)return D.decode(e.subarray(t,i));for(var r="";t<i;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)r+=String.fromCharCode(o);else{var u=o-65536;r+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else r+=String.fromCharCode((31&o)<<6|a)}else r+=String.fromCharCode(o)}return r}function J(e,t){return e?L(I,e,t):""}function z(e,t,n,s){if(!(s>0))return 0;for(var i=n,r=n+s-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)),a<=127){if(n>=r)break;t[n++]=a}else if(a<=2047){if(n+1>=r)break;t[n++]=192|a>>6,t[n++]=128|63&a}else if(a<=65535){if(n+2>=r)break;t[n++]=224|a>>12,t[n++]=128|a>>6&63,t[n++]=128|63&a}else{if(n+3>=r)break;t[n++]=240|a>>18,t[n++]=128|a>>12&63,t[n++]=128|a>>6&63,t[n++]=128|63&a}}return t[n]=0,n-i}function U(e,t,n){return z(e,I,t,n)}function W(e){for(var t=0,n=0;n<e.length;++n){var s=e.charCodeAt(n);s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++n)),s<=127?++t:t+=s<=2047?2:s<=65535?3:4}return t}function G(e){var t=W(e)+1,n=Je(t);return z(e,N,n,t),n}function K(e){C=e,s.HEAP8=N=new Int8Array(e),s.HEAP16=T=new Int16Array(e),s.HEAP32=R=new Int32Array(e),s.HEAPU8=I=new Uint8Array(e),s.HEAPU16=new Uint16Array(e),s.HEAPU32=new Uint32Array(e),s.HEAPF32=F=new Float32Array(e),s.HEAPF64=V=new Float64Array(e)}var H=s.INITIAL_MEMORY||33554432;(P=s.wasmMemory?s.wasmMemory:new WebAssembly.Memory({initial:H/65536,maximum:32768}))&&(C=P.buffer),H=C.byteLength,K(C);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),Q=[],X=[],Y=[],ee=[],te=!1,ne=0,se=null,ie=null;function re(e){ne++,s.monitorRunDependencies&&s.monitorRunDependencies(ne)}function oe(e){if(ne--,s.monitorRunDependencies&&s.monitorRunDependencies(ne),0==ne&&(null!==se&&(clearInterval(se),se=null),ie)){var t=ie;ie=null,t()}}function ae(e){throw s.onAbort&&s.onAbort(e),S(e+=""),q=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}s.preloadedImages={},s.preloadedAudios={},s.preloadedWasm={};var ce,ue,le;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function he(e){return e.startsWith("file://")}function me(e){try{if(e==ce&&O)return new Uint8Array(O);if(b)return b(e);throw"both async and sync fetching of the wasm failed"}catch(e){ae(e)}}pe(ce="tree-sitter.wasm")||(ce=function(e){return s.locateFile?s.locateFile(e,v):v+e}(ce));var de={},ge={get:function(e,t){return de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),de[t]}};function fe(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Z.get(n)():Z.get(n)(t.arg):n(void 0===t.arg?null:t.arg)}else t(s)}}function be(e){var t=0;function n(){for(var n=0,s=1;;){var i=e[t++];if(n+=(127&i)*s,s*=128,!(128&i))break}return n}if(e instanceof WebAssembly.Module){var s=WebAssembly.Module.customSections(e,"dylink");k(0!=s.length,"need dylink section"),e=new Int8Array(s[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,n(),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 i={};i.memorySize=n(),i.memoryAlign=n(),i.tableSize=n(),i.tableAlign=n();var r=n();i.neededDynlibs=[];for(var o=0;o<r;++o){var a=n(),c=e.subarray(t,t+a);t+=a;var u=L(c,0);i.neededDynlibs.push(u)}return i}var _e=0;function ye(){return $||_e>0}function ve(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function Se(e,t){for(var n in e)if(e.hasOwnProperty(n)){Re.hasOwnProperty(n)||(Re[n]=e[n]);var i=ve(n);s.hasOwnProperty(i)||(s[i]=e[n])}}var Ee={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var we=5250880;function je(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function xe(e,t){var n={};for(var s in e){var i=e[s];"object"==typeof i&&(i=i.value),"number"==typeof i&&(i+=t),n[s]=i}return function(e){for(var t in e)if(!je(t)){var n=!1,s=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],n=!0),de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(n||0==de[t].value)&&("function"==typeof s?de[t].value=x(s):"number"==typeof s?de[t].value=s:S("unhandled export type for `"+t+"`: "+typeof s))}}(n),n}function Oe(e,t){var n,i;return t&&(n=Re["orig$"+e]),n||(n=Re[e]),n||(n=s[ve(e)]),!n&&e.startsWith("invoke_")&&(i=e.split("_")[1],n=function(){var e=De();try{return function(e,t,n){return e.includes("j")?function(e,t,n){var i=s["dynCall_"+e];return n&&n.length?i.apply(null,[t].concat(n)):i.call(null,t)}(e,t,n):Z.get(t).apply(null,n)}(i,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Le(e),t!==t+0&&"longjmp"!==t)throw t;ze(1,0)}}),n}function Be(e,t){var n=be(e);function s(){var s=Math.pow(2,n.memoryAlign);s=Math.max(s,w);var i,r,o,a=(i=function(e){if(te)return Fe(e);var t=we,n=t+e+15&-16;return we=n,de.__heap_base.value=n,t}(n.memorySize+s),(r=s)||(r=w),Math.ceil(i/r)*r),c=Z.length;Z.grow(n.tableSize);for(var u=a;u<a+n.memorySize;u++)N[u]=0;for(u=c;u<c+n.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return a;case"__table_base":return c}return t in Re?Re[t]:(t in e||(e[t]=function(){return n||(n=function(e){var t=Oe(e,!1);return t||(t=o[e]),t}(t)),n.apply(null,arguments)}),e[t]);var n}}),p={"GOT.mem":new Proxy({},ge),"GOT.func":new Proxy({},ge),env:l,wasi_snapshot_preview1:l};function h(e){for(var s=0;s<n.tableSize;s++){var i=Z.get(c+s);i&&E.set(i,c+s)}o=xe(e.exports,a),t.allowUndefined||$e();var r=o.__wasm_call_ctors;return r||(r=o.__post_instantiate),r&&(te?r():X.push(r)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var m=new WebAssembly.Instance(e,p);return Promise.resolve(h(m))}return WebAssembly.instantiate(e,p).then((function(e){return h(e.instance)}))}var d=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return h(m=new WebAssembly.Instance(d,p))}return t.loadAsync?n.neededDynlibs.reduce((function(e,n){return e.then((function(){return Pe(n,t)}))}),Promise.resolve()).then((function(){return s()})):(n.neededDynlibs.forEach((function(e){Pe(e,t)})),s())}function Pe(e,t){"__main__"!=e||Ee.loadedLibNames[e]||(Ee.loadedLibs[-1]={refcount:1/0,name:"__main__",module:s.asm,global:!0},Ee.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var n,i=Ee.loadedLibNames[e];if(i)return n=Ee.loadedLibs[i],t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&Se(n.module)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,t.loadAsync?Promise.resolve(i):i;function r(e){if(t.fs){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(n)),t.loadAsync?Promise.resolve(n):n}return t.loadAsync?(s=e,fetch(s,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+s+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):b(e);var s}function o(){if(void 0!==s.preloadedWasm&&void 0!==s.preloadedWasm[e]){var n=s.preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?r(e).then((function(e){return Be(e,t)})):Be(r(e),t)}function a(e){n.global&&Se(e),n.module=e}return i=Ee.nextHandle++,n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},Ee.loadedLibNames[e]=i,Ee.loadedLibs[i]=n,t.loadAsync?o().then((function(e){return a(e),i})):(a(o()),i)}function $e(){for(var e in de)if(0==de[e].value){var t=Oe(e,!0);"function"==typeof t?de[e].value=x(t,t.sig):"number"==typeof t?de[e].value=t:k(!1,"bad export type for `"+e+"`: "+typeof t)}}s.___heap_base=we;var Ae,Me=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function qe(){ae()}s._abort=qe,qe.sig="v",Ae=c?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 n;if(0===e)n=Date.now();else{if(1!==e&&4!==e)return 28,R[Ve()>>2]=28,-1;n=Ae()}return R[t>>2]=n/1e3|0,R[t+4>>2]=n%1e3*1e3*1e3|0,0}function Ce(e){try{return P.grow(e-C.byteLength+65535>>>16),K(P.buffer),1}catch(e){}}function Ne(e){Ke(e)}function Ie(e){}ke.sig="iii",Ne.sig="vi",Ie.sig="vi";var Te,Re={__heap_base:we,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Me,__table_base:1,abort:qe,clock_gettime:ke,emscripten_memcpy_big:function(e,t,n){I.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){var t,n=I.length;if((e>>>=0)>2147483648)return!1;for(var s=1;s<=4;s*=2){var i=n*(1+.2/s);if(i=Math.min(i,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,i))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Ne,memory:P,setTempRet0:Ie,tree_sitter_log_callback:function(e,t){if(ut){const n=J(t);ut(n,0!==e)}},tree_sitter_parse_callback:function(e,t,n,s,i){var r=ct(t,{row:n,column:s});"string"==typeof r?(A(i,r.length,"i32"),function(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var s=(n-=2)<2*e.length?n/2:e.length,i=0;i<s;++i){var r=e.charCodeAt(i);T[t>>1]=r,t+=2}T[t>>1]=0}(r,e,10240)):A(i,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 n=e.exports;n=xe(n,1024),s.asm=n;var i,r=be(t);r.neededDynlibs&&(B=r.neededDynlibs.concat(B)),Se(n),i=s.asm.__wasm_call_ctors,X.unshift(i),oe()}function n(e){t(e.instance,e.module)}function i(t){return function(){if(!O&&(l||p)){if("function"==typeof fetch&&!he(ce))return fetch(ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ce+"'";return e.arrayBuffer()})).catch((function(){return me(ce)}));if(f)return new Promise((function(e,t){f(ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return me(ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){S("failed to asynchronously prepare wasm: "+e),ae(e)}))}if(re(),s.instantiateWasm)try{return s.instantiateWasm(e,t)}catch(e){return S("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||pe(ce)||he(ce)||"function"!=typeof fetch?i(n):fetch(ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(e){return S("wasm streaming compile failed: "+e),S("falling back to ArrayBuffer instantiation"),i(n)}))}))}(),s.___wasm_call_ctors=function(){return(s.___wasm_call_ctors=s.asm.__wasm_call_ctors).apply(null,arguments)},s._malloc=function(){return(Fe=s._malloc=s.asm.malloc).apply(null,arguments)}),Ve=(s._calloc=function(){return(s._calloc=s.asm.calloc).apply(null,arguments)},s._realloc=function(){return(s._realloc=s.asm.realloc).apply(null,arguments)},s._free=function(){return(s._free=s.asm.free).apply(null,arguments)},s._ts_language_symbol_count=function(){return(s._ts_language_symbol_count=s.asm.ts_language_symbol_count).apply(null,arguments)},s._ts_language_version=function(){return(s._ts_language_version=s.asm.ts_language_version).apply(null,arguments)},s._ts_language_field_count=function(){return(s._ts_language_field_count=s.asm.ts_language_field_count).apply(null,arguments)},s._ts_language_symbol_name=function(){return(s._ts_language_symbol_name=s.asm.ts_language_symbol_name).apply(null,arguments)},s._ts_language_symbol_for_name=function(){return(s._ts_language_symbol_for_name=s.asm.ts_language_symbol_for_name).apply(null,arguments)},s._ts_language_symbol_type=function(){return(s._ts_language_symbol_type=s.asm.ts_language_symbol_type).apply(null,arguments)},s._ts_language_field_name_for_id=function(){return(s._ts_language_field_name_for_id=s.asm.ts_language_field_name_for_id).apply(null,arguments)},s._memcpy=function(){return(s._memcpy=s.asm.memcpy).apply(null,arguments)},s._ts_parser_delete=function(){return(s._ts_parser_delete=s.asm.ts_parser_delete).apply(null,arguments)},s._ts_parser_reset=function(){return(s._ts_parser_reset=s.asm.ts_parser_reset).apply(null,arguments)},s._ts_parser_set_language=function(){return(s._ts_parser_set_language=s.asm.ts_parser_set_language).apply(null,arguments)},s._ts_parser_timeout_micros=function(){return(s._ts_parser_timeout_micros=s.asm.ts_parser_timeout_micros).apply(null,arguments)},s._ts_parser_set_timeout_micros=function(){return(s._ts_parser_set_timeout_micros=s.asm.ts_parser_set_timeout_micros).apply(null,arguments)},s._memmove=function(){return(s._memmove=s.asm.memmove).apply(null,arguments)},s._memcmp=function(){return(s._memcmp=s.asm.memcmp).apply(null,arguments)},s._ts_query_new=function(){return(s._ts_query_new=s.asm.ts_query_new).apply(null,arguments)},s._ts_query_delete=function(){return(s._ts_query_delete=s.asm.ts_query_delete).apply(null,arguments)},s._iswspace=function(){return(s._iswspace=s.asm.iswspace).apply(null,arguments)},s._iswalnum=function(){return(s._iswalnum=s.asm.iswalnum).apply(null,arguments)},s._ts_query_pattern_count=function(){return(s._ts_query_pattern_count=s.asm.ts_query_pattern_count).apply(null,arguments)},s._ts_query_capture_count=function(){return(s._ts_query_capture_count=s.asm.ts_query_capture_count).apply(null,arguments)},s._ts_query_string_count=function(){return(s._ts_query_string_count=s.asm.ts_query_string_count).apply(null,arguments)},s._ts_query_capture_name_for_id=function(){return(s._ts_query_capture_name_for_id=s.asm.ts_query_capture_name_for_id).apply(null,arguments)},s._ts_query_string_value_for_id=function(){return(s._ts_query_string_value_for_id=s.asm.ts_query_string_value_for_id).apply(null,arguments)},s._ts_query_predicates_for_pattern=function(){return(s._ts_query_predicates_for_pattern=s.asm.ts_query_predicates_for_pattern).apply(null,arguments)},s._ts_tree_copy=function(){return(s._ts_tree_copy=s.asm.ts_tree_copy).apply(null,arguments)},s._ts_tree_delete=function(){return(s._ts_tree_delete=s.asm.ts_tree_delete).apply(null,arguments)},s._ts_init=function(){return(s._ts_init=s.asm.ts_init).apply(null,arguments)},s._ts_parser_new_wasm=function(){return(s._ts_parser_new_wasm=s.asm.ts_parser_new_wasm).apply(null,arguments)},s._ts_parser_enable_logger_wasm=function(){return(s._ts_parser_enable_logger_wasm=s.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},s._ts_parser_parse_wasm=function(){return(s._ts_parser_parse_wasm=s.asm.ts_parser_parse_wasm).apply(null,arguments)},s._ts_language_type_is_named_wasm=function(){return(s._ts_language_type_is_named_wasm=s.asm.ts_language_type_is_named_wasm).apply(null,arguments)},s._ts_language_type_is_visible_wasm=function(){return(s._ts_language_type_is_visible_wasm=s.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},s._ts_tree_root_node_wasm=function(){return(s._ts_tree_root_node_wasm=s.asm.ts_tree_root_node_wasm).apply(null,arguments)},s._ts_tree_edit_wasm=function(){return(s._ts_tree_edit_wasm=s.asm.ts_tree_edit_wasm).apply(null,arguments)},s._ts_tree_get_changed_ranges_wasm=function(){return(s._ts_tree_get_changed_ranges_wasm=s.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},s._ts_tree_cursor_new_wasm=function(){return(s._ts_tree_cursor_new_wasm=s.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},s._ts_tree_cursor_delete_wasm=function(){return(s._ts_tree_cursor_delete_wasm=s.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},s._ts_tree_cursor_reset_wasm=function(){return(s._ts_tree_cursor_reset_wasm=s.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_first_child_wasm=function(){return(s._ts_tree_cursor_goto_first_child_wasm=s.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_next_sibling_wasm=function(){return(s._ts_tree_cursor_goto_next_sibling_wasm=s.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_parent_wasm=function(){return(s._ts_tree_cursor_goto_parent_wasm=s.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_type_id_wasm=function(){return(s._ts_tree_cursor_current_node_type_id_wasm=s.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_is_named_wasm=function(){return(s._ts_tree_cursor_current_node_is_named_wasm=s.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_is_missing_wasm=function(){return(s._ts_tree_cursor_current_node_is_missing_wasm=s.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_id_wasm=function(){return(s._ts_tree_cursor_current_node_id_wasm=s.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},s._ts_tree_cursor_start_position_wasm=function(){return(s._ts_tree_cursor_start_position_wasm=s.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},s._ts_tree_cursor_end_position_wasm=function(){return(s._ts_tree_cursor_end_position_wasm=s.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},s._ts_tree_cursor_start_index_wasm=function(){return(s._ts_tree_cursor_start_index_wasm=s.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},s._ts_tree_cursor_end_index_wasm=function(){return(s._ts_tree_cursor_end_index_wasm=s.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},s._ts_tree_cursor_current_field_id_wasm=function(){return(s._ts_tree_cursor_current_field_id_wasm=s.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_wasm=function(){return(s._ts_tree_cursor_current_node_wasm=s.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},s._ts_node_symbol_wasm=function(){return(s._ts_node_symbol_wasm=s.asm.ts_node_symbol_wasm).apply(null,arguments)},s._ts_node_child_count_wasm=function(){return(s._ts_node_child_count_wasm=s.asm.ts_node_child_count_wasm).apply(null,arguments)},s._ts_node_named_child_count_wasm=function(){return(s._ts_node_named_child_count_wasm=s.asm.ts_node_named_child_count_wasm).apply(null,arguments)},s._ts_node_child_wasm=function(){return(s._ts_node_child_wasm=s.asm.ts_node_child_wasm).apply(null,arguments)},s._ts_node_named_child_wasm=function(){return(s._ts_node_named_child_wasm=s.asm.ts_node_named_child_wasm).apply(null,arguments)},s._ts_node_child_by_field_id_wasm=function(){return(s._ts_node_child_by_field_id_wasm=s.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},s._ts_node_next_sibling_wasm=function(){return(s._ts_node_next_sibling_wasm=s.asm.ts_node_next_sibling_wasm).apply(null,arguments)},s._ts_node_prev_sibling_wasm=function(){return(s._ts_node_prev_sibling_wasm=s.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},s._ts_node_next_named_sibling_wasm=function(){return(s._ts_node_next_named_sibling_wasm=s.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},s._ts_node_prev_named_sibling_wasm=function(){return(s._ts_node_prev_named_sibling_wasm=s.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},s._ts_node_parent_wasm=function(){return(s._ts_node_parent_wasm=s.asm.ts_node_parent_wasm).apply(null,arguments)},s._ts_node_descendant_for_index_wasm=function(){return(s._ts_node_descendant_for_index_wasm=s.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},s._ts_node_named_descendant_for_index_wasm=function(){return(s._ts_node_named_descendant_for_index_wasm=s.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},s._ts_node_descendant_for_position_wasm=function(){return(s._ts_node_descendant_for_position_wasm=s.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},s._ts_node_named_descendant_for_position_wasm=function(){return(s._ts_node_named_descendant_for_position_wasm=s.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},s._ts_node_start_point_wasm=function(){return(s._ts_node_start_point_wasm=s.asm.ts_node_start_point_wasm).apply(null,arguments)},s._ts_node_end_point_wasm=function(){return(s._ts_node_end_point_wasm=s.asm.ts_node_end_point_wasm).apply(null,arguments)},s._ts_node_start_index_wasm=function(){return(s._ts_node_start_index_wasm=s.asm.ts_node_start_index_wasm).apply(null,arguments)},s._ts_node_end_index_wasm=function(){return(s._ts_node_end_index_wasm=s.asm.ts_node_end_index_wasm).apply(null,arguments)},s._ts_node_to_string_wasm=function(){return(s._ts_node_to_string_wasm=s.asm.ts_node_to_string_wasm).apply(null,arguments)},s._ts_node_children_wasm=function(){return(s._ts_node_children_wasm=s.asm.ts_node_children_wasm).apply(null,arguments)},s._ts_node_named_children_wasm=function(){return(s._ts_node_named_children_wasm=s.asm.ts_node_named_children_wasm).apply(null,arguments)},s._ts_node_descendants_of_type_wasm=function(){return(s._ts_node_descendants_of_type_wasm=s.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},s._ts_node_is_named_wasm=function(){return(s._ts_node_is_named_wasm=s.asm.ts_node_is_named_wasm).apply(null,arguments)},s._ts_node_has_changes_wasm=function(){return(s._ts_node_has_changes_wasm=s.asm.ts_node_has_changes_wasm).apply(null,arguments)},s._ts_node_has_error_wasm=function(){return(s._ts_node_has_error_wasm=s.asm.ts_node_has_error_wasm).apply(null,arguments)},s._ts_node_is_missing_wasm=function(){return(s._ts_node_is_missing_wasm=s.asm.ts_node_is_missing_wasm).apply(null,arguments)},s._ts_query_matches_wasm=function(){return(s._ts_query_matches_wasm=s.asm.ts_query_matches_wasm).apply(null,arguments)},s._ts_query_captures_wasm=function(){return(s._ts_query_captures_wasm=s.asm.ts_query_captures_wasm).apply(null,arguments)},s._iswdigit=function(){return(s._iswdigit=s.asm.iswdigit).apply(null,arguments)},s._iswalpha=function(){return(s._iswalpha=s.asm.iswalpha).apply(null,arguments)},s._iswlower=function(){return(s._iswlower=s.asm.iswlower).apply(null,arguments)},s._towupper=function(){return(s._towupper=s.asm.towupper).apply(null,arguments)},s.___errno_location=function(){return(Ve=s.___errno_location=s.asm.__errno_location).apply(null,arguments)}),De=(s._memchr=function(){return(s._memchr=s.asm.memchr).apply(null,arguments)},s._strlen=function(){return(s._strlen=s.asm.strlen).apply(null,arguments)},s.stackSave=function(){return(De=s.stackSave=s.asm.stackSave).apply(null,arguments)}),Le=s.stackRestore=function(){return(Le=s.stackRestore=s.asm.stackRestore).apply(null,arguments)},Je=s.stackAlloc=function(){return(Je=s.stackAlloc=s.asm.stackAlloc).apply(null,arguments)},ze=s._setThrew=function(){return(ze=s._setThrew=s.asm.setThrew).apply(null,arguments)};function Ue(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},s.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(s.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=s.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=s.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=s.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},s.__Znwm=function(){return(s.__Znwm=s.asm._Znwm).apply(null,arguments)},s.__ZdlPv=function(){return(s.__ZdlPv=s.asm._ZdlPv).apply(null,arguments)},s.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(s.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=s.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},s._orig$ts_parser_timeout_micros=function(){return(s._orig$ts_parser_timeout_micros=s.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},s._orig$ts_parser_set_timeout_micros=function(){return(s._orig$ts_parser_set_timeout_micros=s.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},s.allocate=function(e,t){var n;return n=1==t?Je(e.length):Fe(e.length),e.subarray||e.slice?I.set(e,n):I.set(new Uint8Array(e),n),n},ie=function e(){Te||Ge(),Te||(ie=e)};var We=!1;function Ge(e){function t(){Te||(Te=!0,s.calledRun=!0,q||(te=!0,fe(X),fe(Y),s.onRuntimeInitialized&&s.onRuntimeInitialized(),He&&function(e){var t=s._main;if(t){var n=(e=e||[]).length+1,i=Je(4*(n+1));R[i>>2]=G(m);for(var r=1;r<n;r++)R[(i>>2)+r]=G(e[r-1]);R[(i>>2)+n]=0;try{Ke(t(n,i),!0)}catch(e){if(e instanceof Ue)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),S("exception thrown: "+o),d(1,e)}}}(e),function(){if(s.postRun)for("function"==typeof s.postRun&&(s.postRun=[s.postRun]);s.postRun.length;)e=s.postRun.shift(),ee.unshift(e);var e;fe(ee)}()))}e=e||h,ne>0||!We&&(function(){if(B.length){if(!b)return re(),void B.reduce((function(e,t){return e.then((function(){return Pe(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),$e()}));B.forEach((function(e){Pe(e,{global:!0,nodelete:!0,allowUndefined:!0})})),$e()}else $e()}(),We=!0,ne>0)||(function(){if(s.preRun)for("function"==typeof s.preRun&&(s.preRun=[s.preRun]);s.preRun.length;)e=s.preRun.shift(),Q.unshift(e);var e;fe(Q)}(),ne>0||(s.setStatus?(s.setStatus("Running..."),setTimeout((function(){setTimeout((function(){s.setStatus("")}),1),t()}),1)):t()))}function Ke(e,t){t&&ye()&&0===e||(ye()||(s.onExit&&s.onExit(e),q=!0),d(e,new Ue(e)))}if(s.run=Ge,s.preInit)for("function"==typeof s.preInit&&(s.preInit=[s.preInit]);s.preInit.length>0;)s.preInit.pop()();var He=!0;s.noInitialRun&&(He=!1),Ge();const Ze=s,Qe={},Xe=4,Ye=5*Xe,et=2*Xe,tt=2*Xe+2*et,nt={row:0,column:0},st=/[\w-.]*/g,it=/^_?tree_sitter_\w+/;var rt,ot,at,ct,ut;class lt{static init(){at=Ze._ts_init(),rt=M(at,"i32"),ot=M(at+Xe,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=M(at,"i32"),this[1]=M(at+Xe,"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!==dt)throw new Error("Argument must be a Language");{t=e[0];const n=Ze._ts_language_version(t);if(n<ot||rt<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${ot} through ${rt}.`)}}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,n){if("string"==typeof e)ct=(t,n,s)=>e.slice(t,s);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");ct=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 s=0,i=0;if(n&&n.includedRanges){s=n.includedRanges.length;let e=i=Ze._calloc(s,tt);for(let t=0;t<s;t++)Ot(e,n.includedRanges[t]),e+=tt}const r=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,i,s);if(!r)throw ct=null,ut=null,new Error("Parsing failed");const o=new pt(Qe,r,this.language,ct);return ct=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 pt{constructor(e,t,n,s){_t(e),this[0]=t,this.language=n,this.textCallback=s}copy(){const e=Ze._ts_tree_copy(this[0]);return new pt(Qe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=at;jt(t,e.startPosition),jt(t+=et,e.oldEndPosition),jt(t+=et,e.newEndPosition),A(t+=et,e.startIndex,"i32"),A(t+=Xe,e.oldEndIndex,"i32"),A(t+=Xe,e.newEndIndex,"i32"),t+=Xe}(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!==pt)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=M(at,"i32"),n=M(at+Xe,"i32"),s=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)s[n]=Bt(e),e+=tt;Ze._free(n)}return s}}class ht{constructor(e,t){_t(e),this.tree=t}get typeId(){return vt(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return vt(this),Ze._ts_node_end_point_wasm(this.tree[0]),xt(at)}get endIndex(){return vt(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return ft(this.tree,this.startIndex,this.endIndex)}isNamed(){return vt(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return vt(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return vt(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return vt(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return vt(this),Ze._ts_node_child_wasm(this.tree[0],e),St(this.tree)}namedChild(e){return vt(this),Ze._ts_node_named_child_wasm(this.tree[0],e),St(this.tree)}childForFieldId(e){return vt(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 vt(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return vt(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){vt(this),Ze._ts_node_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Xe,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=St(this.tree,n),n+=Ye;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){vt(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Xe,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=St(this.tree,n),n+=Ye;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=nt),n||(n=nt);const s=[],i=this.tree.language.types;for(let t=0,n=i.length;t<n;t++)e.includes(i[t])&&s.push(t);const r=Ze._malloc(Xe*s.length);for(let e=0,t=s.length;e<t;e++)A(r+e*Xe,s[e],"i32");vt(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],r,s.length,t.row,t.column,n.row,n.column);const o=M(at,"i32"),a=M(at+Xe,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=St(this.tree,e),e+=Ye}return Ze._free(a),Ze._free(r),c}get nextSibling(){return vt(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),St(this.tree)}get previousSibling(){return vt(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),St(this.tree)}get nextNamedSibling(){return vt(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),St(this.tree)}get previousNamedSibling(){return vt(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),St(this.tree)}get parent(){return vt(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");vt(this);let n=at+Ye;return A(n,e,"i32"),A(n+Xe,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");vt(this);let n=at+Ye;return A(n,e,"i32"),A(n+Xe,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");vt(this);let n=at+Ye;return jt(n,e),jt(n+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");vt(this);let n=at+Ye;return jt(n,e),jt(n+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),St(this.tree)}walk(){return vt(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new mt(Qe,this.tree)}toString(){vt(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var n=I[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}(e);return Ze._free(e),t}}class mt{constructor(e,t){_t(e),this.tree=t,wt(this)}delete(){Et(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){vt(e),Et(this,at+Ye),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),wt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Et(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Et(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Et(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 Et(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),xt(at)}get endPosition(){return Et(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),xt(at)}get startIndex(){return Et(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Et(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Et(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),St(this.tree)}currentFieldId(){return Et(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Et(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return wt(this),1===e}gotoNextSibling(){Et(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return wt(this),1===e}gotoParent(){Et(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return wt(this),1===e}}class dt{constructor(e,t){_t(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 n=W(e),s=Ze._malloc(n+1);U(e,s,n+1);const i=Ze._ts_language_symbol_for_name(this[0],s,n,t);return Ze._free(s),i||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),n=Ze._malloc(t+1);U(e,n,t+1);const s=Ze._ts_query_new(this[0],n,t,at,at+Xe);if(!s){const t=M(at+Xe,"i32"),s=J(n,M(at,"i32")).length,i=e.substr(s,100).split("\n")[0];let r,o=i.match(st)[0];switch(t){case 2:r=new RangeError(`Bad node name '${o}'`);break;case 3:r=new RangeError(`Bad field name '${o}'`);break;case 4:r=new RangeError(`Bad capture name @${o}`);break;case 5:r=new TypeError(`Bad pattern structure at offset ${s}: '${i}'...`),o="";break;default:r=new SyntaxError(`Bad syntax at offset ${s}: '${i}'...`),o=""}throw r.index=s,r.length=o.length,Ze._free(n),r}const i=Ze._ts_query_string_count(s),r=Ze._ts_query_capture_count(s),o=Ze._ts_query_pattern_count(s),a=new Array(r),c=new Array(i);for(let e=0;e<r;e++){const t=Ze._ts_query_capture_name_for_id(s,e,at),n=M(at,"i32");a[e]=J(t,n)}for(let e=0;e<i;e++){const t=Ze._ts_query_string_value_for_id(s,e,at),n=M(at,"i32");c[e]=J(t,n)}const u=new Array(o),l=new Array(o),p=new Array(o),h=new Array(o),m=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(s,e,at),n=M(at,"i32");h[e]=[],m[e]=[];const i=[];let r=t;for(let t=0;t<n;t++){const t=M(r,"i32"),n=M(r+=Xe,"i32");if(r+=Xe,1===t)i.push({type:"capture",name:a[n]});else if(2===t)i.push({type:"string",value:c[n]});else if(i.length>0){if("string"!==i[0].type)throw new Error("Predicates must begin with a literal value");const t=i[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==i.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(i.length-1));if("capture"!==i[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${i[1].value}"`);if("capture"===i[2].type){const t=i[1].name,s=i[2].name;m[e].push((function(e){let i,r;for(const n of e)n.name===t&&(i=n.node),n.name===s&&(r=n.node);return void 0===i||void 0===r||i.text===r.text===n}))}else{const t=i[1].name,s=i[2].value;m[e].push((function(e){for(const i of e)if(i.name===t)return i.node.text===s===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==i.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${i.length-1}.`);if("capture"!==i[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${i[1].value}".`);if("string"!==i[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${i[2].value}.`);const s=i[1].name,r=new RegExp(i[2].value);m[e].push((function(e){for(const t of e)if(t.name===s)return r.test(t.node.text)===n;return!0}));break;case"set!":if(i.length<2||i.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${i.length-1}.`);if(i.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][i[1].value]=i[2]?i[2].value:null;break;case"is?":case"is-not?":if(i.length<2||i.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${i.length-1}.`);if(i.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][i[1].value]=i[2]?i[2].value:null;break;default:h[e].push({operator:t,operands:i.slice(1)})}i.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return Ze._free(n),new gt(Qe,s,a,m,h,Object.freeze(u),Object.freeze(l),Object.freeze(p))}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=n(5530);t=Promise.resolve(e.readFileSync(s))}else t=fetch(s).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}))))}const s="function"==typeof loadSideModule?loadSideModule:Be;return t.then((e=>s(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>it.test(e)&&!e.includes("external_scanner_")));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const s=e[n]();return new dt(Qe,s)}))}}class gt{constructor(e,t,n,s,i,r,o,a){_t(e),this[0]=t,this.captureNames=n,this.textPredicates=s,this.predicates=i,this.setProperties=r,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,s){t||(t=nt),n||(n=nt),s||(s={});let i=s.matchLimit;if(void 0===i)i=0;else if("number"!=typeof i)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,i);const r=M(at,"i32"),o=M(at+Xe,"i32"),a=M(at+2*Xe,"i32"),c=new Array(r);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<r;t++){const n=M(l,"i32"),s=M(l+=Xe,"i32");l+=Xe;const i=new Array(s);if(l=bt(this,e.tree,l,i),this.textPredicates[n].every((e=>e(i)))){c[u++]={pattern:n,captures:i};const e=this.setProperties[n];e&&(c[t].setProperties=e);const s=this.assertedProperties[n];s&&(c[t].assertedProperties=s);const r=this.refutedProperties[n];r&&(c[t].refutedProperties=r)}}return c.length=u,Ze._free(o),c}captures(e,t,n,s){t||(t=nt),n||(n=nt),s||(s={});let i=s.matchLimit;if(void 0===i)i=0;else if("number"!=typeof i)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,i);const r=M(at,"i32"),o=M(at+Xe,"i32"),a=M(at+2*Xe,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<r;t++){const t=M(l,"i32"),n=M(l+=Xe,"i32"),s=M(l+=Xe,"i32");if(l+=Xe,u.length=n,l=bt(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[s],n=this.setProperties[t];n&&(e.setProperties=n);const i=this.assertedProperties[t];i&&(e.assertedProperties=i);const r=this.refutedProperties[t];r&&(e.refutedProperties=r),c.push(e)}}return Ze._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function ft(e,t,n){const s=n-t;let i=e.textCallback(t,null,n);for(t+=i.length;t<n;){const s=e.textCallback(t,null,n);if(!(s&&s.length>0))break;t+=s.length,i+=s}return t>n&&(i=i.slice(0,s)),i}function bt(e,t,n,s){for(let i=0,r=s.length;i<r;i++){const r=M(n,"i32"),o=St(t,n+=Xe);n+=Ye,s[i]={name:e.captureNames[r],node:o}}return n}function _t(e){if(e!==Qe)throw new Error("Illegal constructor")}function yt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function vt(e){let t=at;A(t,e.id,"i32"),A(t+=Xe,e.startIndex,"i32"),A(t+=Xe,e.startPosition.row,"i32"),A(t+=Xe,e.startPosition.column,"i32"),A(t+=Xe,e[0],"i32")}function St(e,t=at){const n=M(t,"i32");if(0===n)return null;const s=M(t+=Xe,"i32"),i=M(t+=Xe,"i32"),r=M(t+=Xe,"i32"),o=M(t+=Xe,"i32"),a=new ht(Qe,e);return a.id=n,a.startIndex=s,a.startPosition={row:i,column:r},a[0]=o,a}function Et(e,t=at){A(t+0*Xe,e[0],"i32"),A(t+1*Xe,e[1],"i32"),A(t+2*Xe,e[2],"i32")}function wt(e){e[0]=M(at+0*Xe,"i32"),e[1]=M(at+1*Xe,"i32"),e[2]=M(at+2*Xe,"i32")}function jt(e,t){A(e,t.row,"i32"),A(e+Xe,t.column,"i32")}function xt(e){return{row:M(e,"i32"),column:M(e+Xe,"i32")}}function Ot(e,t){jt(e,t.startPosition),jt(e+=et,t.endPosition),A(e+=et,t.startIndex,"i32"),A(e+=Xe,t.endIndex,"i32"),e+=Xe}function Bt(e){const t={};return t.startPosition=xt(e),e+=et,t.endPosition=xt(e),e+=et,t.startIndex=M(e,"i32"),e+=Xe,t.endIndex=M(e,"i32"),t}for(const e of Object.getOwnPropertyNames(lt.prototype))Object.defineProperty(r.prototype,e,{value:lt.prototype[e],enumerable:!1,writable:!1});r.Language=dt,s.onRuntimeInitialized=()=>{lt.init(),t()}})))}}return r}();e.exports=i},5530:()=>{},6287:()=>{},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(s){var i=t[s];if(void 0!==i)return i.exports;var r=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var s=t.getElementsByTagName("script");if(s.length)for(var i=s.length-1;i>-1&&!e;)e=s[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var s={};return(()=>{"use strict";n.r(s),n.d(s,{detect:()=>Gf,detectionRegExp:()=>Wf,mediaTypes:()=>Uf,namespace:()=>Hf,parse:()=>Kf});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>on,includesClasses:()=>cn,includesSymbols:()=>an,isAnnotationElement:()=>en,isArrayElement:()=>Zt,isBooleanElement:()=>Kt,isCommentElement:()=>tn,isElement:()=>zt,isLinkElement:()=>Xt,isMemberElement:()=>Qt,isNullElement:()=>Gt,isNumberElement:()=>Wt,isObjectElement:()=>Ht,isParseResultElement:()=>nn,isPrimitiveElement:()=>rn,isRefElement:()=>Yt,isSourceMapElement:()=>sn,isStringElement:()=>Ut});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Cr,isJSONSchemaElement:()=>kr,isLinkDescriptionElement:()=>Ir,isMediaElement:()=>Nr});var i={};n.r(i),n.d(i,{isJSONReferenceElement:()=>Cr,isJSONSchemaElement:()=>Yr,isLinkDescriptionElement:()=>eo,isMediaElement:()=>Nr});var r={};n.r(r),n.d(r,{isJSONReferenceElement:()=>Cr,isJSONSchemaElement:()=>Xa,isLinkDescriptionElement:()=>Ya});var o={};function a(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function c(e){return function t(n){return 0===arguments.length||a(n)?t:e.apply(this,arguments)}}function u(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return a(n)?t:c((function(t){return e(n,t)}));default:return a(n)&&a(s)?t:a(n)?c((function(t){return e(t,s)})):a(s)?c((function(t){return e(n,t)})):e(n,s)}}}function l(e){return function t(n,s,i){switch(arguments.length){case 0:return t;case 1:return a(n)?t:u((function(t,s){return e(n,t,s)}));case 2:return a(n)&&a(s)?t:a(n)?u((function(t,n){return e(t,s,n)})):a(s)?u((function(t,s){return e(n,t,s)})):c((function(t){return e(n,s,t)}));default:return a(n)&&a(s)&&a(i)?t:a(n)&&a(s)?u((function(t,n){return e(t,n,i)})):a(n)&&a(i)?u((function(t,n){return e(t,s,n)})):a(s)&&a(i)?u((function(t,s){return e(n,t,s)})):a(n)?c((function(t){return e(t,s,i)})):a(s)?c((function(t){return e(n,t,i)})):a(i)?c((function(t){return e(n,s,t)})):e(n,s,i)}}}n.r(o),n.d(o,{isAsyncApi2Element:()=>mc,isAsyncApiVersionElement:()=>dc,isBooleanJsonSchemaElement:()=>Ac,isChannelBindingsElement:()=>gc,isChannelItemElement:()=>fc,isChannelItemElementExternal:()=>bc,isChannelsElement:()=>_c,isComponentsElement:()=>yc,isContactElement:()=>vc,isIdentifierElement:()=>Sc,isInfoElement:()=>Ec,isLicenseElement:()=>wc,isOperationElement:()=>jc,isParameterElement:()=>xc,isParametersElement:()=>Oc,isReferenceElement:()=>Bc,isReferenceElementExternal:()=>Pc,isSchemaElement:()=>$c,isSecurityRequirementElement:()=>Mc,isServerBindingsElement:()=>kc,isServerElement:()=>qc,isServerVariableElement:()=>Nc,isServersElement:()=>Cc});const p=u((function(e,t){return null==t||t!=t?e:t})),h=Number.isInteger||function(e){return e<<0===e};function m(e){return"[object String]"===Object.prototype.toString.call(e)}const d=u((function(e,t){var n=e<0?t.length+e:e;return m(t)?t.charAt(n):t[n]}));const g=u((function(e,t){if(null!=t)return h(e)?d(e,t):t[e]}));const f=l((function(e,t,n){return p(e,g(t,n))}));var b=u((function(e,t){for(var n={},s={},i=0,r=e.length;i<r;)s[e[i]]=1,i+=1;for(var o in t)s.hasOwnProperty(o)||(n[o]=t[o]);return n}));const _=b;function y(e,t,n){for(var s=0,i=n.length;s<i;)t=e(t,n[s]),s+=1;return t}const v=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const S=c((function(e){return!!v(e)||!!e&&("object"==typeof e&&(!m(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var E="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function w(e,t,n){return function(s,i,r){if(S(r))return e(s,i,r);if(null==r)return i;if("function"==typeof r["fantasy-land/reduce"])return t(s,i,r,"fantasy-land/reduce");if(null!=r[E])return n(s,i,r[E]());if("function"==typeof r.next)return n(s,i,r);if("function"==typeof r.reduce)return t(s,i,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function j(e,t,n){for(var s=n.next();!s.done;)t=e(t,s.value),s=n.next();return t}function x(e,t,n,s){return n[s](e,t)}const O=w(y,x,j);function B(e,t,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!v(s)){for(var i=0;i<e.length;){if("function"==typeof s[e[i]])return s[e[i]].apply(s,Array.prototype.slice.call(arguments,0,-1));i+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(s))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(s)}return n.apply(this,arguments)}}function P(e,t){for(var n=0,s=t.length,i=Array(s);n<s;)i[n]=e(t[n]),n+=1;return i}const $=function(){return this.xf["@@transducer/init"]()},A=function(e){return this.xf["@@transducer/result"](e)};var M=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,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 M(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,n){return t.apply(this,arguments)};case 3:return function(e,n,s){return t.apply(this,arguments)};case 4:return function(e,n,s,i){return t.apply(this,arguments)};case 5:return function(e,n,s,i,r){return t.apply(this,arguments)};case 6:return function(e,n,s,i,r,o){return t.apply(this,arguments)};case 7:return function(e,n,s,i,r,o,a){return t.apply(this,arguments)};case 8:return function(e,n,s,i,r,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,s,i,r,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,s,i,r,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 C(e,t,n){return function(){for(var s=[],i=0,r=e,o=0,c=!1;o<t.length||i<arguments.length;){var u;o<t.length&&(!a(t[o])||i>=arguments.length)?u=t[o]:(u=arguments[i],i+=1),s[o]=u,a(u)?c=!0:r-=1,o+=1}return!c&&r<=0?n.apply(this,s):k(Math.max(0,r),C(e,s,n))}}const N=u((function(e,t){return 1===e?c(t):k(e,C(e,[],t))}));function I(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 I("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 n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},J="function"!=typeof Object.keys||D?c((function(e){if(Object(e)!==e)return[];var t,n,s=[],i=D&&R(e);for(t in e)!I(t,e)||i&&"length"===t||(s[s.length]=t);if(F)for(n=V.length-1;n>=0;)I(t=V[n],e)&&!L(s,t)&&(s[s.length]=t),n-=1;return s})):c((function(e){return Object(e)!==e?[]:Object.keys(e)}));const z=J;const U=u(B(["fantasy-land/map","map"],q,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return N(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return y((function(n,s){return n[s]=e(t[s]),n}),{},z(t));default:return P(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(n){return e(n)(t(n))}:O((function(e,n){return function(e,t){var n;t=t||[];var s=(e=e||[]).length,i=t.length,r=[];for(n=0;n<s;)r[r.length]=e[n],n+=1;for(n=0;n<i;)r[r.length]=t[n],n+=1;return r}(e,U(n,t))}),[],e)}));const G=u((function(e,t){var n=N(e,t);return N(e,(function(){return y(W,U(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const K=c((function(e){return G(e.length,e)}));const H=K(c((function(e){return!e})));function Z(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Q(e,t,n){for(var s=0,i=n.length;s<i;){if(e(t,n[s]))return!0;s+=1}return!1}const X="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Y=c((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function ee(e,t,n,s){var i=Z(e);function r(e,t){return te(e,t,n.slice(),s.slice())}return!Q((function(e,t){return!Q(r,t,e)}),Z(t),i)}function te(e,t,n,s){if(X(e,t))return!0;var i,r,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"===(i=e.constructor,null==(r=String(i).match(/^function (\w*)/))?"":r[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!X(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!X(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return s[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&ee(e.entries(),t.entries(),n.concat([e]),s.concat([t]));case"Set":return e.size===t.size&&ee(e.values(),t.values(),n.concat([e]),s.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=z(e);if(c.length!==z(t).length)return!1;var u=n.concat([e]),l=s.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!I(p,t)||!te(t[p],e[p],u,l))return!1;a-=1}return!0}const ne=u((function(e,t){return te(e,t,[],[])}));const se=c((function(e){return function(){return e}}));const ie=se(void 0);const re=ne(ie());const oe=H(re);var ae=n(7952);function ce(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ue(e,t,n){for(var s=0,i=n.length;s<i;){if((t=e["@@transducer/step"](t,n[s]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return e["@@transducer/result"](t)}const le=u((function(e,t){return k(e.length,(function(){return e.apply(t,arguments)}))}));function pe(e,t,n){for(var s=n.next();!s.done;){if((t=e["@@transducer/step"](t,s.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=n.next()}return e["@@transducer/result"](t)}function he(e,t,n,s){return e["@@transducer/result"](n[s](le(e["@@transducer/step"],e),t))}const me=w(ue,he,pe);var de=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,n){return me("function"==typeof e?new de(e):e,t,n)}));function fe(e,t){return function(){var n=arguments.length;if(0===n)return t();var s=arguments[n-1];return v(s)||"function"!=typeof s[e]?t.apply(this,arguments):s[e].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}const be=l(fe("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const _e=c(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(ce,arguments[0],_e(arguments)))}var ve=function(e,t){switch(arguments.length){case 0:return ve;case 1:return function t(n){return 0===arguments.length?t:X(e,n)};default:return X(e,t)}};const Se=ve;function Ee(e,t){return function(e,t,n){var s,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(s=1/t;n<e.length;){if(0===(i=e[n])&&1/i===s)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(i=e[n])&&i!=i)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(ne(e[n],t))return n;n+=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 je=function(e){return(e<10?"0":"")+e};const xe="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+je(e.getUTCMonth()+1)+"-"+je(e.getUTCDate())+"T"+je(e.getUTCHours())+":"+je(e.getUTCMinutes())+":"+je(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"]=$,e.prototype["@@transducer/result"]=A,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Pe(e){return function(t){return new Be(e,t)}}const $e=u(B(["fantasy-land/filter","filter"],Pe,(function(e,t){return Oe(t)?y((function(n,s){return e(t[s])&&(n[s]=t[s]),n}),{},z(t)):function(e,t){for(var n=0,s=t.length,i=[];n<s;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}(e,t)})));const Ae=u((function(e,t){return $e((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function Me(e,t){var n=function(n){var s=t.concat([e]);return Ee(n,s)?"<Circular>":Me(n,s)},s=function(e,t){return P((function(t){return we(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+P(n,e).join(", ")+"))";case"[object Array]":return"["+P(n,e).concat(s(e,Ae((function(e){return/^\d+$/.test(e)}),z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):we(xe(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":we(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var i=e.toString();if("[object Object]"!==i)return i}return"{"+s(e,z(e)).join(", ")+"}"}}const qe=c((function(e){return Me(e,[])}));const ke=u((function(e,t){return e.map((function(e){for(var n,s=t,i=0;i<e.length;){if(null==s)return;n=e[i],s=h(n)?d(n,s):s[n],i+=1}return s}))}));const Ce=u((function(e,t){return ke([e],t)[0]}));const Ne=l((function(e,t,n){return e(Ce(t,n))}));function Ie(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Te=u((function(e,t){return e&&t}));const Re=u((function(e,t){return Ie(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:K(Te)(e,t)}));const Fe=ne(null);const Ve=H(Fe);function De(e){return De="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},De(e)}const Le=function(e){return"object"===De(e)};const Je=N(1,Re(Ve,Le));const ze=u((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var s=n(e,t);if(void 0!==s)return s;var i=n(typeof e,typeof t);if(void 0!==i)return i===typeof e?e:t;var r=qe(e),o=n(r,qe(t));return void 0!==o&&o===r?e:t}));const Ue=u((function(e,t){return U(g(e),t)}));const We=c((function(e){return N(ge(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const Ge=N(1,ye(Y,Se("GeneratorFunction")));const Ke=N(1,ye(Y,Se("AsyncFunction")));const He=We([ye(Y,Se("Function")),Ge,Ke]);var Ze=ye(Y,Se("Object")),Qe=ye(qe,ne(qe(Object))),Xe=Ne(Re(He,Qe),["constructor"]);const Ye=N(1,(function(e){if(!Je(e)||!Ze(e))return!1;var t=Object.getPrototypeOf(e);return!!Fe(t)||Xe(t)}));class et extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const tt=et;class nt extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const st=nt;class it extends ae.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(re(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const rt=it;class ot extends ae.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new ae.ON([e.start.row,e.start.column,e.start.char]),n=new ae.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const at=ot;class ct extends ae.lS{constructor(){super(),this.register("annotation",tt),this.register("comment",st),this.register("parseResult",rt),this.register("sourceMap",at)}}const ut=new ct,lt=e=>{const t=new ct;return Ye(e)&&t.use(e),t},pt=ut;const ht=N(1,ye(Y,Se("String"))),mt=n.p+"23aac571c96605dc25219087ad291441.wasm",dt=globalThis.fetch;He(dt)&&(globalThis.fetch=(...e)=>ht(e[0])&&e[0].endsWith("tree-sitter.wasm")?dt.apply(globalThis,[mt,_e(e)]):dt.apply(globalThis,e));var gt=n(9794),ft=n(1427);const bt=class extends ft{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=n&&"object"==typeof n&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:e}=n;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(bt,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 yt=_t,vt=n.p+"13ee407b2f9bd26c94370902ddeb5bcf.wasm";let St=null,Et=null;const wt=async e=>{if(null===St&&null===Et)Et=gt.init().then((()=>gt.Language.load(vt))).then((e=>{const t=new gt;return t.setLanguage(e),t})).finally((()=>{Et=null})),St=await Et;else if(null===St&&null!==Et)St=await Et;else if(null===St)throw new yt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return St.parse(e)};const jt=class extends yt{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}},xt=(e,t,n)=>{const s=e[t];if(null!=s){if(!n&&"function"==typeof s)return s;const e=n?s.leave:s.enter;if("function"==typeof e)return e}else{const s=n?e.leave:e.enter;if(null!=s){if("function"==typeof s)return s;const e=s[t];if("function"==typeof e)return e}}return null},Ot={},Bt=e=>null==e?void 0:e.type,Pt=e=>"string"==typeof Bt(e),$t=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),At=(e,t,{keyMap:n=null,state:s={},breakSymbol:i=Ot,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=xt,nodeTypeGetter:c=Bt,nodePredicate:u=Pt,nodeCloneFn:l=$t,detectCycles:p=!0}={})=>{const h=n||{};let m,d,g=Array.isArray(e),f=[e],b=-1,_=[],y=e;const v=[],S=[];do{b+=1;const e=b===f.length;let n;const w=e&&0!==_.length;if(e){if(n=0===S.length?void 0:v.pop(),y=d,d=S.pop(),w)if(g){y=y.slice();let e=0;for(const[t,n]of _){const s=t-e;n===r?(y.splice(s,1),e+=1):y[s]=n}}else{y=l(y);for(const[e,t]of _)y[e]=t}b=m.index,f=m.keys,_=m.edits,g=m.inArray,m=m.prev}else if(d!==r&&void 0!==d){if(n=g?b:f[b],y=d[n],y===r||void 0===y)continue;v.push(n)}if(S.includes(y))continue;let j;if(!Array.isArray(y)){if(!u(y))throw new jt(`Invalid AST Node: ${String(y)}`,{node:y});if(p&&S.includes(y)){v.pop();continue}const r=a(t,c(y),e);if(r){for(const[e,n]of Object.entries(s))t[e]=n;j=r.call(t,y,n,d,v,S)}if(j===i)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(_.push([n,j]),!e)){if(!u(j)){v.pop();continue}y=j}}var E;if(void 0===j&&w&&_.push([n,y]),!e)m={inArray:g,index:b,keys:f,edits:_,prev:m},g=Array.isArray(y),f=g?y:null!==(E=h[c(y)])&&void 0!==E?E:[],b=-1,_=[],d!==r&&void 0!==d&&S.push(d),d=y}while(void 0!==m);return 0!==_.length?_[_.length-1][1]:e};At[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:s={},breakSymbol:i=Ot,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=xt,nodeTypeGetter:c=Bt,nodePredicate:u=Pt,nodeCloneFn:l=$t,detectCycles:p=!0}={})=>{const h=n||{};let m,d,g=Array.isArray(e),f=[e],b=-1,_=[],y=e;const v=[],S=[];do{b+=1;const e=b===f.length;let n;const w=e&&0!==_.length;if(e){if(n=0===S.length?void 0:v.pop(),y=d,d=S.pop(),w)if(g){y=y.slice();let e=0;for(const[t,n]of _){const s=t-e;n===r?(y.splice(s,1),e+=1):y[s]=n}}else{y=l(y);for(const[e,t]of _)y[e]=t}b=m.index,f=m.keys,_=m.edits,g=m.inArray,m=m.prev}else if(d!==r&&void 0!==d){if(n=g?b:f[b],y=d[n],y===r||void 0===y)continue;v.push(n)}let j;if(!Array.isArray(y)){if(!u(y))throw new jt(`Invalid AST Node: ${String(y)}`,{node:y});if(p&&S.includes(y)){v.pop();continue}const r=a(t,c(y),e);if(r){for(const[e,n]of Object.entries(s))t[e]=n;j=await r.call(t,y,n,d,v,S)}if(j===i)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(_.push([n,j]),!e)){if(!u(j)){v.pop();continue}y=j}}var E;if(void 0===j&&w&&_.push([n,y]),!e)m={inArray:g,index:b,keys:f,edits:_,prev:m},g=Array.isArray(y),f=g?y:null!==(E=h[c(y)])&&void 0!==E?E:[],b=-1,_=[],d!==r&&void 0!==d&&S.push(d),d=y}while(void 0!==m);return 0!==_.length?_[_.length-1][1]:e};var Mt=n(6591);const qt=function(){return!1};function kt(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var Ct=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=$,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=kt(this.xf["@@transducer/step"](e,!1))),e},e}();function Nt(e){return function(t){return new Ct(e,t)}}const It=u(B(["all"],Nt,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));const Tt=c((function(e){return N(e.length,(function(t,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=t,e.apply(this,s)}))}))(u(Ee)),Rt=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Ft=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Vt=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Dt=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof ae.ON)&&t.classes.includes(e),Lt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Jt=e=>e({hasMethod:Rt,hasBasicElementProps:Ft,primitiveEq:Vt,isElementType:Lt,hasClass:Dt}),zt=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.W_||e(n)&&t(void 0,n))),Ut=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.RP||e(n)&&t("string",n))),Wt=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.VL||e(n)&&t("number",n))),Gt=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.zr||e(n)&&t("null",n))),Kt=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.hh||e(n)&&t("boolean",n))),Ht=Jt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof ae.Sb||e(s)&&t("object",s)&&n("keys",s)&&n("values",s)&&n("items",s))),Zt=Jt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof ae.ON&&!(s instanceof ae.Sb)||e(s)&&t("array",s)&&n("push",s)&&n("unshift",s)&&n("map",s)&&n("reduce",s))),Qt=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ae.c6||e(s)&&t("member",s)&&n(void 0,s))),Xt=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ae.EA||e(s)&&t("link",s)&&n(void 0,s))),Yt=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ae.tK||e(s)&&t("ref",s)&&n(void 0,s))),en=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof tt||e(s)&&t("annotation",s)&&n("array",s))),tn=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof st||e(s)&&t("comment",s)&&n("string",s))),nn=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof rt||e(s)&&t("parseResult",s)&&n("array",s))),sn=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof at||e(s)&&t("sourceMap",s)&&n("array",s))),rn=e=>Lt("object",e)||Lt("array",e)||Lt("boolean",e)||Lt("number",e)||Lt("string",e)||Lt("null",e)||Lt("member",e),on=e=>sn(e.meta.get("sourceMap")),an=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!Zt(n)&&It(Tt(n.toValue()),e)},cn=(e,t)=>0===e.length||It(Tt(t.classes.toValue()),e);const un=class extends jt{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.source)}};const ln=class extends un{};const pn=class extends un{},hn=(e,t={})=>{const{visited:n=new WeakMap}=t,s={...t,visited:n};if(n.has(e))return n.get(e);if(e instanceof ae.KeyValuePair){const{key:t,value:i}=e,r=zt(t)?hn(t,s):t,o=zt(i)?hn(i,s):i,a=new ae.KeyValuePair(r,o);return n.set(e,a),a}if(e instanceof ae.rm){const t=e=>hn(e,s),i=[...e].map(t),r=new ae.rm(i);return n.set(e,r),r}if(e instanceof ae.O4){const t=e=>hn(e,s),i=[...e].map(t),r=new ae.O4(i);return n.set(e,r),r}if(zt(e)){const t=gn(e);if(n.set(e,t),e.content)if(zt(e.content))t.content=hn(e.content,s);else if(e.content instanceof ae.KeyValuePair)t.content=hn(e.content,s);else if(Array.isArray(e.content)){const n=e=>hn(e,s);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new ln("Value provided to cloneDeep function couldn't be cloned",{value:e})};hn.safe=e=>{try{return hn(e)}catch{return e}};const mn=e=>{const{key:t,value:n}=e;return new ae.KeyValuePair(t,n)},dn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=hn(e.meta)),e.attributes.length>0&&(t._attributes=hn(e.attributes)),zt(e.content)){const n=e.content;t.content=dn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof ae.KeyValuePair?t.content=mn(e.content):t.content=e.content;return t},gn=e=>{if(e instanceof ae.KeyValuePair)return mn(e);if(e instanceof ae.rm)return(e=>{const t=[...e];return new ae.rm(t)})(e);if(e instanceof ae.O4)return(e=>{const t=[...e];return new ae.O4(t)})(e);if(zt(e))return dn(e);throw new pn("Value provided to cloneShallow function couldn't be cloned",{value:e})};gn.safe=e=>{try{return gn(e)}catch{return e}};const fn=e=>Ht(e)?"ObjectElement":Zt(e)?"ArrayElement":Qt(e)?"MemberElement":Ut(e)?"StringElement":Kt(e)?"BooleanElement":Wt(e)?"NumberElement":Gt(e)?"NullElement":Xt(e)?"LinkElement":Yt(e)?"RefElement":void 0,bn=e=>zt(e)?gn(e):$t(e),_n=ye(fn,ht),yn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},vn=(Mt({props:{result:[],predicate:qt,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=yn,...s}={})=>At(e,t,{keyMap:n,nodeTypeGetter:fn,nodePredicate:_n,nodeCloneFn:bn,...s}));vn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=yn,...s}={})=>At[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:fn,nodePredicate:_n,nodeCloneFn:bn,...s});const Sn=be(0,-1);const En=u((function(e,t){return e.apply(this,t)}));const wn=H(He);var jn=c((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():v(e)?[]:m(e)?"":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 xn=jn;const On=c((function(e){return null!=e&&ne(e,xn(e))}));const Bn=N(1,He(Array.isArray)?Array.isArray:ye(Y,Se("Array")));const Pn=Re(Bn,On);const $n=N(3,(function(e,t,n){var s=Ce(e,n),i=Ce(Sn(e),n);if(!wn(s)&&!Pn(e)){var r=le(s,i);return En(r,t)}})),An=()=>({predicates:{...e},namespace:pt}),Mn=(e,t,n={})=>{if(0===t.length)return e;const s=f(An,"toolboxCreator",n),i=f({},"visitorOptions",n),r=f(fn,"nodeTypeGetter",i),o=s(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=xt,nodeTypeGetter:n=Bt}={})=>{const s=new Array(e.length).fill(null);return{enter(i,...r){for(let o=0;o<e.length;o+=1)if(null===s[o]){const a=t(e[o],n(i),!1);if("function"==typeof a){const t=a.call(e[o],i,...r);if(!1===t)s[o]=i;else if(t===Ot)s[o]=Ot;else if(void 0!==t)return t}}},leave(i,...r){for(let o=0;o<e.length;o+=1)if(null===s[o]){const a=t(e[o],n(i),!0);if("function"==typeof a){const t=a.call(e[o],i,...r);if(t===Ot)s[o]=Ot;else if(void 0!==t&&!1!==t)return t}}else s[o]===i&&(s[o]=null)}}})(a.map(f({},"visitor")),{nodeTypeGetter:r});a.forEach($n(["pre"],[]));const u=vn(e,c,i);return a.forEach($n(["post"],[])),u},qn=(e,{Type:t,plugins:n=[]})=>{const s=new t(e);return Mn(s,n,{toolboxCreator:An,visitorOptions:{nodeTypeGetter:fn}})},kn=e=>(t,n={})=>qn(t,{...n,Type:e});ae.Sb.refract=kn(ae.Sb),ae.ON.refract=kn(ae.ON),ae.RP.refract=kn(ae.RP),ae.hh.refract=kn(ae.hh),ae.zr.refract=kn(ae.zr),ae.VL.refract=kn(ae.VL),ae.EA.refract=kn(ae.EA),ae.tK.refract=kn(ae.tK),tt.refract=kn(tt),st.refract=kn(st),rt.refract=kn(rt),at.refract=kn(at);const Cn=class{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)}},Nn=Mt({props:{sourceMap:!1,annotations:[]},init(){this.annotations=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new at,s=(e=>{const t=new ae.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),n=new ae.ON([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),n.classes.push("position"),[t,n]})(e);if(null!==s){const[e,t]=s;n.push(e),n.push(t)}n.astNode=e,t.meta.set("sourceMap",n)};this.enter=function(t){if(t instanceof Cn&&!t.isNamed&&t.isMissing){const n=t.type||t.text,s=new tt(`(Missing ${n})`);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.document=function(t){const n=new rt;return n._content=t.children,e(t,n),n},this.ParseResultElement={leave(e){const t=e.findElements(rn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new ae.Sb;return n._content=t.children,e(t,n),n},this.array=function(t){const n=new ae.ON;return n._content=t.children,e(t,n),n},this.pair=function(t){const n=new ae.c6;return n.content.key=t.keyNode,n.content.value=t.valueNode,e(t,n),t.children.length>3&&t.children.filter((e=>"ERROR"===e.type)).forEach((e=>{this.ERROR(e,t,[],[t])})),n},this.string=function(t){const n=new ae.RP(JSON.parse(t.text));return e(t,n),n},this.number=function(t){const n=new ae.VL(Number(t.text));return e(t,n),n},this.null=function(t){const n=new ae.zr;return e(t,n),n},this.true=function(t){const n=new ae.hh(!0);return e(t,n),n},this.false=function(t){const n=new ae.hh(!1);return e(t,n),n},this.ERROR=function(t,n,s,i){const r=!t.hasError,o=t.text,a=new tt(r?`(Unexpected ${o})`:`(Error ${o})`);if(a.classes.push("error"),e(t,a),0===i.length){const e=new rt;return e.push(a),e}return this.annotations.push(a),null}}}),In=Nn;class Tn{constructor(e){this.cursor=e}document(){return new Cn(this.cursor)}object(){return new Cn(this.cursor).setFieldName(this.cursor)}array(){return new Cn(this.cursor).setFieldName(this.cursor)}pair(){return new Cn(this.cursor)}string(){return new Cn(this.cursor).setFieldName(this.cursor)}number(){return new Cn(this.cursor).setFieldName(this.cursor)}null(){return new Cn(this.cursor).setFieldName(this.cursor)}true(){return new Cn(this.cursor).setFieldName(this.cursor)}false(){return new Cn(this.cursor).setFieldName(this.cursor)}ERROR(){return new Cn(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Cn(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Tn(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new Tn(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const Rn=Tn,Fn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...yn},Vn=e=>nn(e)?"ParseResultElement":zt(e)?fn(e):Bt(e),Dn=e=>zt(e)||Pt(e),Ln=(e,{sourceMap:t=!1}={})=>{const n=In(),s=e.walk(),i=[...new Rn(s)][0];return At(i,n,{keyMap:Fn,nodeTypeGetter:Vn,nodePredicate:Dn,state:{sourceMap:t}})},Jn=Mt({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init({row:e=null,column:t=null,char:n=null}={}){this.row=e,this.column=t,this.char=n}}),zn=Mt({statics:{type:"position"},props:{type:"position",start:null,end:null},init({start:e=null,end:t=null}={}){this.start=e,this.end=t}}),Un=Mt({props:{type:null,position:null,children:[]},init({children:e=[],position:t=null,isMissing:n=!1}={},{stamp:s={}}){this.type=s.type,this.isMissing=n,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const n=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,n)})),e}}}),Wn=Mt(Un,{statics:{type:"literal"},props:{value:null},init({value:e=null}={}){this.value=e}});const Gn=d(0),Kn=Mt(Un),Hn=Mt(Kn,{statics:{type:"document"},methods:{get child(){return Gn(this.children)}}}),Zn=Mt(Un,{statics:{type:"parseResult"},methods:{get rootNode(){return Gn(this.children)}}}),Qn=(e,t)=>(null==t?void 0:t.type)===e,Xn=(Qn.bind(void 0,"literal"),Qn.bind(void 0,"position"),Qn.bind(void 0,"point"),Qn.bind(void 0,"parseResult"),Qn.bind(void 0,"document"),Qn.bind(void 0,"string")),Yn=Qn.bind(void 0,"false"),es=Qn.bind(void 0,"true"),ts=Qn.bind(void 0,"null"),ns=Qn.bind(void 0,"number"),ss=Qn.bind(void 0,"array"),is=Qn.bind(void 0,"object"),rs=Qn.bind(void 0,"stringContent"),os=Qn.bind(void 0,"escapeSequence"),as=Qn.bind(void 0,"property"),cs=Qn.bind(void 0,"key"),us=Mt(Kn,{statics:{type:"object"},methods:{get properties(){return this.children.filter(as)}}}),ls=Mt(Kn,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((e=>rs(e)||os(e))).reduce(((e,t)=>e+t.value),"")}}}),ps=Mt(ls,{statics:{type:"key"}}),hs=Mt(Kn,{statics:{type:"property"},methods:{get key(){return this.children.find(cs)},get value(){return this.children.find((e=>Yn(e)||es(e)||ts(e)||ns(e)||Xn(e)||ss(e)||is(e)))}}}),ms=Mt(Kn,{statics:{type:"array"},methods:{get items(){return this.children.filter((e=>Yn(e)||es(e)||ts(e)||ns(e)||Xn(e)||ss(e)||is))}}}),ds=Mt(Kn,{statics:{type:"value"},props:{value:null},init({value:e=null}={}){this.value=e}}),gs=Mt(ds,{statics:{type:"stringContent"}}),fs=Mt(ds,{statics:{type:"number"}}),bs=Mt(ds,{statics:{type:"null"}}),_s=Mt(ds,{statics:{type:"true"}}),ys=Mt(ds,{statics:{type:"false"}}),vs=Mt(Un,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init({value:e=null,isUnexpected:t=!1}={}){this.value=e,this.isUnexpected=t}}),Ss={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},Es=Mt({init(){const e=e=>{const t=Jn({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),n=Jn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return zn({start:t,end:n})};this.enter=function(t){if(t instanceof Cn&&!t.isNamed){const n=e(t),s=t.type||t.text,{isMissing:i}=t;return Wn({value:s,position:n,isMissing:i})}},this.document={enter(t){const n=e(t);return Hn({children:t.children,position:n,isMissing:t.isMissing})},leave:e=>Zn({children:[e]})},this.object=function(t){const n=e(t);return us({children:t.children,position:n,isMissing:t.isMissing})},this.pair=function(t){const n=e(t),s=t.children.slice(1),{keyNode:i}=t,r=ps({children:(null==i?void 0:i.children)||[],position:null!=i?e(i):null,isMissing:null!=i&&i.isMissing});return hs({children:[r,...s],position:n,isMissing:t.isMissing})},this.array=function(t){const n=e(t);return ms({children:t.children,position:n,isMissing:t.isMissing})},this.string=function(t){const n=e(t),s=gs({value:JSON.parse(t.text)});return ls({children:[s],position:n,isMissing:t.isMissing})},this.number=function(t){const n=e(t),s=t.text;return fs({value:s,position:n,isMissing:t.isMissing})},this.null=function(t){const n=e(t),s=t.text;return bs({value:s,position:n,isMissing:t.isMissing})},this.true=function(t){const n=e(t),s=t.text;return _s({value:s,position:n,isMissing:t.isMissing})},this.false=function(t){const n=e(t),s=t.text;return ys({value:s,position:n,isMissing:t.isMissing})},this.ERROR=function(t,n,s,i){const r=e(t),o=vs({children:t.children,position:r,isUnexpected:!t.hasError,isMissing:t.isMissing,value:t.text});return 0===i.length?Zn({children:[o]}):o}}}),ws=Es,js={[Zn.type]:["children"],[Hn.type]:["children"],[us.type]:["children"],[hs.type]:["children"],[ms.type]:["children"],[vs.type]:["children"],...yn},xs=e=>nn(e)?"ParseResultElement":zt(e)?fn(e):Bt(e),Os=e=>zt(e)||Pt(e),Bs=Mt({props:{sourceMap:!1,annotations:[]},init(){this.annotation=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new at;n.position=e.position,n.astNode=e,t.meta.set("sourceMap",n)};this.document=function(e){const t=new rt;return t._content=e.children,t},this.ParseResultElement={leave(e){const t=e.findElements(rn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new ae.Sb;return n._content=t.children,e(t,n),n},this.property=function(t){const n=new ae.c6;return n.content.key=t.key,n.content.value=t.value,e(t,n),t.children.length>3&&t.children.filter((e=>"error"===e.type)).forEach((e=>{this.error(e,t,[],[t])})),n},this.key=function(t){const n=new ae.RP(t.value);return e(t,n),n},this.array=function(t){const n=new ae.ON;return n._content=t.children,e(t,n),n},this.string=function(t){const n=new ae.RP(t.value);return e(t,n),n},this.number=function(t){const n=new ae.VL(Number(t.value));return e(t,n),n},this.null=function(t){const n=new ae.zr;return e(t,n),n},this.true=function(t){const n=new ae.hh(!0);return e(t,n),n},this.false=function(t){const n=new ae.hh(!1);return e(t,n),n},this.literal=function(t){if(t.isMissing){const n=`(Missing ${t.value})`,s=new tt(n);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.error=function(t,n,s,i){const r=t.isUnexpected?`(Unexpected ${t.value})`:`(Error ${t.value})`,o=new tt(r);if(o.classes.push("error"),e(t,o),0===i.length){const e=new rt;return e.push(o),e}return this.annotations.push(o),null}}}),Ps=Bs,$s=(e,{sourceMap:t=!1}={})=>{const n=e.walk(),s=[...new Rn(n)][0],i=ws(),r=Ps(),o=At(s,i,{keyMap:Ss,state:{sourceMap:t}});return At(o.rootNode,r,{keyMap:js,nodeTypeGetter:xs,nodePredicate:Os,state:{sourceMap:t}})},As=(lt(),/(?<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 Ms=u((function(e,t){return y((function(n,s){return n[s]=e(t[s],s,t),n}),{},z(t))}));const qs=c((function(e){return null==e}));const ks=u((function(e,t){if(0===e.length||qs(t))return!1;for(var n=t,s=0;s<e.length;){if(qs(n)||!I(e[s],n))return!1;n=n[e[s]],s+=1}return!0}));var Cs=u((function(e,t){return ks([e],t)}));const Ns=Cs;const Is=l((function(e,t,n){return e(g(t,n))}));const Ts=c((function(e){return N(e.length,e)}));const Rs=u((function(e,t){return N(e+1,(function(){var n=arguments[e];if(null!=n&&Ie(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(qe(n)+' does not have a method named "'+t+'"')}))}));const Fs=Rs(1,"split");var Vs=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,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 Ds(e){return function(t){return new Vs(e,t)}}const Ls=u(B(["dropWhile"],Ds,(function(e,t){for(var n=0,s=t.length;n<s&&e(t[n]);)n+=1;return be(n,1/0,t)})));const Js=Rs(1,"join");const zs=Ts((function(e,t){return ye(Fs(""),Ls(Tt(e)),Js(""))(t)})),Us=(e,t)=>{const n=p(e,t);return Ms((e=>{if(Ye(e)&&Ns("$ref",e)&&Is(ht,"$ref",e)){const t=Ce(["$ref"],e),s=zs("#/",t);return Ce(s.split("/"),n)}return Ye(e)?Us(e,n):e}),e)};var Ws=l((function e(t,n,s){if(0===t.length)return n;var i=t[0];if(t.length>1){var r=!qs(s)&&I(i,s)&&"object"==typeof s[i]?s[i]:h(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,r)}return function(e,t,n){if(h(e)&&v(n)){var s=[].concat(n);return s[e]=t,s}var i={};for(var r in n)i[r]=n[r];return i[e]=t,i}(i,n,s)}));const Gs=Ws;const Ks=l((function(e,t,n){var s=Array.prototype.slice.call(n,0);return s.splice(e,t),s}));var Hs=l((function(e,t,n){return Gs([e],t,n)}));const Zs=Hs;var Qs=u((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(h(e)&&v(t))return Ks(e,1,t);var n={};for(var s in t)n[s]=t[s];return delete n[e],n}(t[0],n);default:var s=t[0],i=Array.prototype.slice.call(t,1);return null==n[s]?function(e,t){if(h(e)&&v(t))return[].concat(t);var n={};for(var s in t)n[s]=t[s];return n}(s,n):Zs(s,e(i,n[s]),n)}}));const Xs=Qs,Ys=Mt({props:{element:null},methods:{copyMetaAndAttributes(e,t){on(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),ei=Mt(Ys,{methods:{enter(e){return this.element=hn(e),Ot}}});const ti=se(ie());const ni=function(){return!0},si=e=>"string"==typeof(null==e?void 0:e.type)?e.type:fn(e),ii={EphemeralObject:["content"],EphemeralArray:["content"],...yn},ri=(e,t,{keyMap:n=ii,...s}={})=>vn(e,t,{keyMap:n,nodeTypeGetter:si,nodePredicate:ni,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});ri[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ii,...n}={})=>vn[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:si,nodePredicate:ni,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const oi=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 ai=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))}},ci=Mt.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new ai(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new oi(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),ui=e=>zt(e)?Ut(e)||Wt(e)||Kt(e)||Gt(e)?e.toValue():ri(e,ci()):e;const li=u((function(e,t){for(var n={},s=0;s<e.length;)e[s]in t&&(n[e[s]]=t[e[s]]),s+=1;return n})),pi=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},hi={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...yn},mi=Mt(Ys,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return li(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ne(He,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),i=Object.getPrototypeOf(s);return re(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===i?hn(t):(vn(t,s,{keyMap:hi,nodeTypeGetter:pi,...n}),s.element)}}}),di=Mt(mi,{props:{specPath:ti,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,i)=>{if(Ut(s)&&n.includes(ui(s))&&!this.ignoredFields.includes(ui(s))){const n=this.toRefractedElement([...t,"fixedFields",ui(s)],e),r=new ae.c6(hn(s),n);this.copyMetaAndAttributes(i,r),r.classes.push("fixed-field"),this.element.content.push(r)}else this.ignoredFields.includes(ui(s))||this.element.content.push(hn(i))})),this.copyMetaAndAttributes(e,this.element),Ot}}});class gi extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const fi=gi,bi=Mt(di,ei,{props:{specPath:se(["document","objects","JSONSchema"])},init(){this.element=new fi}}),_i=ei,yi=ei,vi=ei,Si=ei,Ei=ei,wi=ei,ji=ei,xi=ei,Oi=ei,Bi=ei,Pi=Mt({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),$i=e=>Ht(e)&&e.hasKey("$ref"),Ai=Mt(mi,Pi,ei,{methods:{ObjectElement(e){const t=$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ae.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Mi=ei,qi=ei,ki=ei,Ci=ei,Ni=ei,Ii=Mt(ei,{methods:{ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-required"),Ot}}});const Ti=c((function(e){return N(ge(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Ri=u((function(e,t){return e||t}));const Fi=H(N(1,Re(Ve,u((function(e,t){return Ie(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:K(Ri)(e,t)}))(Le,He))));const Vi=H(On);const Di=Ti([ht,Fi,Vi]),Li=Mt(mi,{props:{fieldPatternPredicate:qt,specPath:ti,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(ui(t))&&this.fieldPatternPredicate(ui(t))){const s=this.specPath(e),i=this.toRefractedElement(s,e),r=new ae.c6(hn(t),i);this.copyMetaAndAttributes(n,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(ui(t))||this.element.content.push(hn(n))})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Ji=Mt(Li,{props:{fieldPatternPredicate:Di}}),zi=Mt(Ji,Pi,ei,{props:{specPath:e=>$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-properties")}}),Ui=Mt(Ji,Pi,ei,{props:{specPath:e=>$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-patternProperties")}}),Wi=Mt(Ji,Pi,ei,{props:{specPath:e=>$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-dependencies")}}),Gi=Mt(ei,{methods:{ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-enum"),Ot}}}),Ki=Mt(ei,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("json-schema-type"),Ot},ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-type"),Ot}}}),Hi=Mt(mi,Pi,ei,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Zi=Mt(mi,Pi,ei,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Qi=Mt(mi,Pi,ei,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Xi=Mt(Ji,Pi,ei,{props:{specPath:e=>$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-definitions")}}),Yi=ei,er=ei,tr=ei,nr=ei,sr=ei,ir=Mt(mi,Pi,ei,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),rr=ei;class or extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const ar=or,cr=Mt(di,ei,{props:{specPath:se(["document","objects","JSONReference"])},init(){this.element=new ar},methods:{ObjectElement(e){const t=di.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ur=Mt(ei,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("reference-value"),Ot}}});const lr=l((function(e,t,n){return N(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const pr=c((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var hr=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const mr=hr;const dr=c(kt);const gr=H(qs);const fr=Re(Bn,Vi);function br(e){return function(e){if(Array.isArray(e))return _r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return _r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}var yr=ye(mr(pr((function(e,t){return e.length>t.length}))),Gn,g("length")),vr=Ts((function(e,t,n){var s=n.apply(void 0,br(e));return gr(s)?dr(s):t}));const Sr=lr(fr,(function(e){var t=yr(e);return N(t,(function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return ge(vr(n),void 0,e)}))}),ie),Er=Mt(mi,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>lr(e,se(t),ie))),n=Sr(t)(e);return this.element=this.toRefractedElement(n,e),Ot}}}),wr=Mt(Er,{props:{alternator:[{predicate:$i,specPath:["document","objects","JSONReference"]},{predicate:ni,specPath:["document","objects","JSONSchema"]}]}});class jr extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const xr=jr,Or=Mt(di,ei,{props:{specPath:se(["document","objects","Media"])},init(){this.element=new xr}}),Br=ei,Pr=ei;class $r extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Ar=$r,Mr={visitors:{value:ei,JSONSchemaOrJSONReferenceVisitor:wr,document:{objects:{JSONSchema:{$visitor:bi,fixedFields:{id:_i,$schema:yi,multipleOf:vi,maximum:Si,exclusiveMaximum:Ei,minimum:wi,exclusiveMinimum:ji,maxLength:xi,minLength:Oi,pattern:Bi,additionalItems:wr,items:Ai,maxItems:Mi,minItems:qi,uniqueItems:ki,maxProperties:Ci,minProperties:Ni,required:Ii,properties:zi,additionalProperties:wr,patternProperties:Ui,dependencies:Wi,enum:Gi,type:Ki,allOf:Hi,anyOf:Zi,oneOf:Qi,not:wr,definitions:Xi,title:Yi,description:er,default:tr,format:nr,base:sr,links:ir,media:{$ref:"#/visitors/document/objects/Media"},readOnly:rr}},JSONReference:{$visitor:cr,fixedFields:{$ref:ur}},Media:{$visitor:Or,fixedFields:{binaryEncoding:Br,type:Pr}},LinkDescription:{$visitor:Mt(di,ei,{props:{specPath:se(["document","objects","LinkDescription"])},init(){this.element=new Ar}}),fixedFields:{href:ei,rel:ei,title:ei,targetSchema:wr,mediaType:ei,method:ei,encType:ei,schema:wr}}}}}};const qr=class extends yt{},kr=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof fi||e(s)&&t("JSONSchemaDraft4",s)&&n("object",s))),Cr=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ar||e(s)&&t("JSONReference",s)&&n("object",s))),Nr=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof xr||e(s)&&t("media",s)&&n("object",s))),Ir=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ar||e(s)&&t("linkDescription",s)&&n("object",s))),Tr={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",fi),t.register("jSONReference",ar),t.register("media",xr),t.register("linkDescription",Ar),t}},Rr=()=>{const e=lt(Tr);return{predicates:{...t,isStringElement:Ut},namespace:e}},Fr=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Mr}={})=>{const i=(0,ae.Qc)(e),r=Us(s),o=$n(t,[],r);return vn(i,o,{state:{specObj:r}}),Mn(o.element,n,{toolboxCreator:Rr,visitorOptions:{keyMap:hi,nodeTypeGetter:pi}})},Vr=e=>(t,n={})=>Fr(t,{specPath:e,...n});fi.refract=Vr(["visitors","document","objects","JSONSchema","$visitor"]),ar.refract=Vr(["visitors","document","objects","JSONReference","$visitor"]),xr.refract=Vr(["visitors","document","objects","Media","$visitor"]),Ar.refract=Vr(["visitors","document","objects","LinkDescription","$visitor"]);const Dr=class extends fi{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new qr("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new qr("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)}},Lr=Mt(di,ei,{props:{specPath:se(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Dr,di.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=hn(e),this.element.classes.push("boolean-json-schema"),Ot}}}),Jr=ei,zr=Mt(mi,Pi,ei,{methods:{ObjectElement(e){const t=$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ae.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=$i(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Ot}}}),Ur=ei,Wr=Mt(ei,{methods:{ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-examples"),Ot}}});const Gr=class extends Ar{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 qr("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new qr("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 qr("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new qr("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new qr("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new qr("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},Kr=Mt(di,ei,{props:{specPath:se(["document","objects","LinkDescription"])},init(){this.element=new Gr}}),Hr=ei,Zr=ye(Gs(["visitors","document","objects","JSONSchema","$visitor"],Lr),Xs(["visitors","document","objects","JSONSchema","fixedFields","id"]),Gs(["visitors","document","objects","JSONSchema","fixedFields","$id"],Jr),Gs(["visitors","document","objects","JSONSchema","fixedFields","contains"],Mr.visitors.JSONSchemaOrJSONReferenceVisitor),Gs(["visitors","document","objects","JSONSchema","fixedFields","items"],zr),Gs(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Mr.visitors.JSONSchemaOrJSONReferenceVisitor),Gs(["visitors","document","objects","JSONSchema","fixedFields","const"],Ur),Gs(["visitors","document","objects","JSONSchema","fixedFields","examples"],Wr),Gs(["visitors","document","objects","LinkDescription","$visitor"],Kr),Gs(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Mr.visitors.JSONSchemaOrJSONReferenceVisitor),Xs(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Gs(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Mr.visitors.JSONSchemaOrJSONReferenceVisitor),Xs(["visitors","document","objects","LinkDescription","fixedFields","method"]),Xs(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Gs(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Hr))(Mr),Qr=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Xr={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...yn},Yr=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Dr||e(s)&&t("JSONSchemaDraft6",s)&&n("object",s))),eo=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Gr||e(s)&&t("linkDescription",s)&&n("object",s))),to={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Dr),t.register("jSONReference",ar),t.register("media",xr),t.register("linkDescription",Gr),t}},no=()=>{const e=lt(to);return{predicates:{...i,isStringElement:Ut},namespace:e}},so=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Zr}={})=>{const i=(0,ae.Qc)(e),r=Us(s),o=$n(t,[],r);return vn(i,o,{state:{specObj:r}}),Mn(o.element,n,{toolboxCreator:no,visitorOptions:{keyMap:Xr,nodeTypeGetter:Qr}})},io=e=>(t,n={})=>so(t,{specPath:e,...n});Dr.refract=io(["visitors","document","objects","JSONSchema","$visitor"]),Gr.refract=io(["visitors","document","objects","LinkDescription","$visitor"]);const ro=class extends Dr{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new qr('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new qr('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)}},oo=Mt(di,ei,{props:{specPath:se(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new ro,di.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=hn(e),this.element.classes.push("boolean-json-schema"),Ot}}}),ao=ei,co=ei,uo=ei,lo=ei;const po=class extends Gr{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 qr("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new qr("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 qr("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new qr("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},ho=Mt(di,ei,{props:{specPath:se(["document","objects","LinkDescription"])},init(){this.element=new po}}),mo=ei,go=ei,fo=ei,bo=ei,_o=ei,yo=ei,vo=ei,So=ye(Gs(["visitors","document","objects","JSONSchema","$visitor"],oo),Gs(["visitors","document","objects","JSONSchema","fixedFields","$comment"],ao),Gs(["visitors","document","objects","JSONSchema","fixedFields","if"],Zr.visitors.JSONSchemaOrJSONReferenceVisitor),Gs(["visitors","document","objects","JSONSchema","fixedFields","then"],Zr.visitors.JSONSchemaOrJSONReferenceVisitor),Gs(["visitors","document","objects","JSONSchema","fixedFields","else"],Zr.visitors.JSONSchemaOrJSONReferenceVisitor),Xs(["visitors","document","objects","JSONSchema","fixedFields","media"]),Gs(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],co),Gs(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],uo),Gs(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],lo),Gs(["visitors","document","objects","LinkDescription","$visitor"],ho),Gs(["visitors","document","objects","LinkDescription","fixedFields","anchor"],mo),Gs(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],go),Xs(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Gs(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],fo),Gs(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],bo),Gs(["visitors","document","objects","LinkDescription","fixedFields","description"],_o),Gs(["visitors","document","objects","LinkDescription","fixedFields","$comment"],yo),Xs(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Gs(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],vo))(Zr),Eo=Mt({props:{element:null},methods:{copyMetaAndAttributes(e,t){on(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),wo=Mt(Eo,{methods:{enter(e){return this.element=hn(e),Ot}}}),jo=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},xo={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"],...yn},Oo=Mt(Eo,{props:{specObj:null},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return li(["namespace","specObj"],this)},retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ne(He,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),i=Object.getPrototypeOf(s);return re(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===i?hn(t):(vn(t,s,{keyMap:xo,...n,nodeTypeGetter:jo}),s.element)}}}),Bo=Mt(Oo,{methods:{MemberElement(e){return this.element=hn(e),this.element.classes.push("specification-extension"),Ot}}});var Po=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?kt(n):n},e}();function $o(e){return function(t){return new Po(e,t)}}const Ao=u(B(["take"],$o,(function(e,t){return be(0,e<0?1/0:e,t)})));const Mo=u((function(e,t){return ne(Ao(e.length,t),e)})),qo=e=>Ht(e)&&e.hasKey("$ref"),ko=e=>Ht(e),Co=e=>Ut(e.key)&&Mo("x-",ui(e.key)),No=Mt(Oo,{props:{specPath:ti,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:Co},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,i)=>{if(Ut(s)&&n.includes(ui(s))&&!this.ignoredFields.includes(ui(s))){const n=this.toRefractedElement([...t,"fixedFields",ui(s)],e),r=new ae.c6(hn(s),n);r.classes.push("fixed-field"),this.copyMetaAndAttributes(i,r),this.element.content.push(r)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(ui(s))||this.element.content.push(hn(i))})),this.copyMetaAndAttributes(e,this.element),Ot}}});class Io extends ae.Sb{constructor(e,t,n){super(e,t,n),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 To=Io,Ro=Mt(No,wo,{props:{specPath:se(["document","objects","AsyncApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new To}});class Fo extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Vo=Fo,Do=Mt(Oo,wo,{methods:{StringElement(e){const t=new Vo(ui(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}});class Lo extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="identifier"}}const Jo=Lo,zo=Mt(Oo,wo,{methods:{StringElement(e){const t=new Jo(ui(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}});class Uo extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Wo=Uo,Go=Mt(No,wo,{props:{specPath:se(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Wo}}),Ko=wo,Ho=wo,Zo=wo,Qo=Mt(wo,{methods:{StringElement(e){return this.element=new ae.RP(ui(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),Ot}}});class Xo extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Yo=Xo,ea=Mt(No,wo,{props:{specPath:se(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Yo}}),ta=wo,na=wo,sa=wo;class ia extends ae.Sb{constructor(e,t,n){super(e,t,n),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 ra=ia,oa=Mt(No,wo,{props:{specPath:se(["document","objects","CorrelationID"]),canSupportSpecificationExtensions:!0},init(){this.element=new ra}}),aa=wo,ca=wo;class ua extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="defaultContentType"}}const la=ua,pa=Mt(Oo,wo,{methods:{StringElement(e){const t=new la(ui(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}});class ha extends ae.Sb{constructor(e,t,n){super(e,t,n),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 ma=ha,da=Mt(No,wo,{props:{specPath:se(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new ma}}),ga=wo,fa=wo;class ba extends ae.Sb{constructor(e,t,n){super(e,t,n),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 _a=ba,ya=Mt(No,wo,{props:{specPath:se(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new _a}});class va extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Sa=va,Ea=Mt(No,wo,{props:{specPath:se(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new Sa}}),wa=wo,ja=wo,xa=wo;class Oa extends ae.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,n){super(e,t,n),this.classes.push(Oa.primaryClass)}}const Ba=Oa,Pa=Mt(Oo,{props:{fieldPatternPredicate:qt,specPath:ti,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:Co},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(ui(t))&&this.fieldPatternPredicate(ui(t))){const s=this.specPath(e),i=this.toRefractedElement(s,e),r=new ae.c6(hn(t),i);this.copyMetaAndAttributes(n,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(ui(t))||this.element.content.push(hn(n))})),this.copyMetaAndAttributes(e,this.element),Ot}}}),$a=Mt(Pa,{props:{fieldPatternPredicate:Di}}),Aa=Mt($a,wo,{props:{specPath:se(["value"])},init(){this.element=new Ba}});const Ma=u((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+qe(e));var n;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 qa extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="servers"}}const ka=qa;class Ca extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Na=Ca;class Ia extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ta=Ia;class Ra extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="channels"}}const Fa=Ra;class Va extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Da=Va;class La extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ja=La;class za extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ua=za;class Wa extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="parameters"}}const Ga=Wa;class Ka extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ha=Ka,Za=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Qa={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...yn},Xa=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ro||e(s)&&t("JSONSchemaDraft7",s)&&n("object",s))),Ya=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof po||e(s)&&t("linkDescription",s)&&n("object",s))),ec={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",ro),t.register("jSONReference",ar),t.register("linkDescription",po),t}},tc=()=>{const e=lt(ec);return{predicates:{...r,isStringElement:Ut},namespace:e}},nc=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=So}={})=>{const i=(0,ae.Qc)(e),r=Us(s),o=$n(t,[],r);return vn(i,o,{state:{specObj:r}}),Mn(o.element,n,{toolboxCreator:tc,visitorOptions:{keyMap:Qa,nodeTypeGetter:Za}})},sc=e=>(t,n={})=>nc(t,{specPath:e,...n});ro.refract=sc(["visitors","document","objects","JSONSchema","$visitor"]),po.refract=sc(["visitors","document","objects","LinkDescription","$visitor"]);const ic=class extends ro{constructor(e,t,n){super(e,t,n),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 rc extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const oc=rc;class ac extends ae.Sb{constructor(e,t,n){super(e,t,n),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 cc=ac;class uc extends ae.Sb{constructor(e,t,n){super(e,t,n),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 lc=uc;class pc extends ae.Sb{constructor(e,t,n){super(e,t,n),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=pc,mc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:s})=>i=>i instanceof To||e(i)&&t("asyncApi2",i)&&n("object",i)&&s("api",i))),dc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Vo||e(s)&&t("asyncApiVersion",s)&&n("string",s))),gc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Na||e(s)&&t("channelBindings",s)&&n("object",s))),fc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ta||e(s)&&t("channelItem",s)&&n("object",s))),bc=e=>{if(!fc(e))return!1;if(!Ut(e.$ref))return!1;const t=ui(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},_c=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Fa||e(s)&&t("channels",s)&&n("object",s))),yc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Da||e(s)&&t("components",s)&&n("object",s))),vc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Yo||e(s)&&t("contact",s)&&n("object",s))),Sc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Jo||e(s)&&t("identifier",s)&&n("string",s))),Ec=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Wo||e(s)&&t("info",s)&&n("object",s))),wc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ma||e(s)&&t("license",s)&&n("object",s))),jc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ja||e(s)&&t("operation",s)&&n("object",s))),xc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ua||e(s)&&t("parameter",s)&&n("object",s))),Oc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ga||e(s)&&t("parameters",s)&&n("object",s))),Bc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ha||e(s)&&t("reference",s)&&n("object",s))),Pc=e=>{if(!Bc(e))return!1;const t=ui(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},$c=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ic||e(s)&&t("schema",s)&&n("object",s))),Ac=e=>Kt(e)&&e.classes.includes("boolean-json-schema"),Mc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof oc||e(s)&&t("securityRequirement",s)&&n("object",s))),qc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof cc||e(s)&&t("server",s)&&n("object",s))),kc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof lc||e(s)&&t("serverBindings",s)&&n("object",s))),Cc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ka||e(s)&&t("servers",s)&&n("object",s))),Nc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof hc||e(s)&&t("serverVariable",s)&&n("object",s))),Ic=Mt(Pa,wo,{props:{fieldPatternPredicate:Ma(/^[A-Za-z0-9_-]+$/),specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","Server"],canSupportSpecificationExtensions:!1},init(){this.element=new ka,this.element.classes.push("servers")},methods:{ObjectElement(e){const t=Pa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}}),Tc=Mt(No,wo,{props:{specPath:se(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new cc}}),Rc=Mt(wo,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("server-url"),Ot}}}),Fc=wo,Vc=wo,Dc=wo,Lc=Mt(Oo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>lr(e,se(t),ie))),n=Sr(t)(e);return this.element=this.toRefractedElement(n,e),Ot}}}),Jc=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","ServerBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}});class zc extends ae.Sb{static primaryClass="server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(zc.primaryClass)}}const Uc=zc,Wc=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new Uc}});class Gc extends ae.ON{static primaryClass="server-security";constructor(e,t,n){super(e,t,n),this.classes.push(Gc.primaryClass)}}const Kc=Gc,Hc=Mt(Oo,wo,{init(){this.element=new Kc},methods:{ArrayElement(e){return e.forEach((e=>{if(ko(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Zc=Mt(No,wo,{props:{specPath:se(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new hc}}),Qc=wo,Xc=wo,Yc=wo,eu=wo,tu=Mt(No,wo,{props:{specPath:se(["document","objects","ServerBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new lc}});class nu extends ae.Sb{constructor(e,t,n){super(e,t,n),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=nu,iu=Mt(No,wo,{props:{specPath:se(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new su}}),ru=wo,ou=wo,au=wo,cu=wo,uu=wo,lu=wo,pu=wo,hu=Mt($a,wo,{props:{specPath:se(["value"])},init(){this.element=new oc}}),mu=Mt(No,wo,{props:{specPath:se(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ha},methods:{ObjectElement(e){const t=No.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),du=Mt(wo,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("reference-value"),Ot}}}),gu=Mt(No,wo,{props:{specPath:se(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},methods:{ObjectElement(e){return this.element=new ic,No.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=hn(e),this.element.classes.push("boolean-json-schema"),Ot}}}),{JSONSchemaOrJSONReferenceVisitor:fu}=So.visitors,bu=Mt(fu,{methods:{enter(e){const t=fu.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),_u=wo,yu=wo,{allOf:vu}=So.visitors.document.objects.JSONSchema.fixedFields,Su=Mt(vu,{methods:{ArrayElement(e){const t=vu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Eu}=So.visitors.document.objects.JSONSchema.fixedFields,wu=Mt(Eu,{methods:{ArrayElement(e){const t=Eu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:ju}=So.visitors.document.objects.JSONSchema.fixedFields,xu=Mt(ju,{methods:{ArrayElement(e){const t=ju.compose.methods.ArrayElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Ou}=So.visitors.document.objects.JSONSchema.fixedFields,Bu=Mt(Ou,{methods:{ObjectElement(e){const t=Ou.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Pu}=So.visitors.document.objects.JSONSchema.fixedFields,$u=Mt(Pu,{methods:{ObjectElement(e){const t=Pu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Au}=So.visitors.document.objects.JSONSchema.fixedFields,Mu=Mt(Au,{methods:{ObjectElement(e){const t=Au.compose.methods.ObjectElement.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=Au.compose.methods.ArrayElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:qu}=So.visitors.document.objects.JSONSchema.fixedFields,ku=Mt(qu,{methods:{ObjectElement(e){const t=qu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Cu}=So.visitors.document.objects.JSONSchema.fixedFields,Nu=Mt(Cu,{methods:{ObjectElement(e){const t=Cu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Iu=U((e=>e===So.visitors.JSONSchemaOrJSONReferenceVisitor?bu:e),So.visitors.document.objects.JSONSchema.fixedFields),Tu=Mt(Pa,wo,{props:{fieldPatternPredicate:Ma(/^[A-Za-z0-9_-]+$/),specPath:e=>qo(e)?["document","objects","Reference"]:(e=>Ht(e))(e)?["document","objects","Parameter"]:["value"],canSupportSpecificationExtensions:!1},init(){this.element=new Ga},methods:{ObjectElement(e){const t=Pa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}}),Ru=Mt(No,wo,{props:{specPath:se(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ua}}),Fu=wo,Vu=wo,Du=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}});class Lu extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ju=Lu,zu=Mt(No,wo,{props:{specPath:se(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ju}}),Uu=wo,Wu=wo,Gu=Mt(No,wo,{props:{specPath:se(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new Da}});class Ku extends ae.Sb{static primaryClass="components-schemas";constructor(e,t,n){super(e,t,n),this.classes.push(Ku.primaryClass)}}const Hu=Ku,Zu=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Hu},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Qu extends ae.Sb{static primaryClass="components-servers";constructor(e,t,n){super(e,t,n),this.classes.push(Qu.primaryClass)}}const Xu=Qu,Yu=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","Server"]},init(){this.element=new Xu},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}});class el extends ae.Sb{static primaryClass="components-server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(el.primaryClass)}}const tl=el,nl=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new tl},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}});class sl extends ae.Sb{static primaryClass="components-channels";constructor(e,t,n){super(e,t,n),this.classes.push(sl.primaryClass)}}const il=sl,rl=Mt($a,wo,{props:{specPath:se(["document","objects","ChannelItem"])},init(){this.element=new il}});class ol extends ae.Sb{static primaryClass="components-messages";constructor(e,t,n){super(e,t,n),this.classes.push(ol.primaryClass)}}const al=ol,cl=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","Message"]},init(){this.element=new al},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}});class ul extends ae.Sb{static primaryClass="components-security-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(ul.primaryClass)}}const ll=ul,pl=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new ll},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class hl extends ae.Sb{static primaryClass="components-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(hl.primaryClass)}}const ml=hl,dl=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new ml},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class gl extends ae.Sb{static primaryClass="components-correlation-ids";constructor(e,t,n){super(e,t,n),this.classes.push(gl.primaryClass)}}const fl=gl,bl=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]},init(){this.element=new fl},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}});class _l extends ae.Sb{static primaryClass="components-operation-traits";constructor(e,t,n){super(e,t,n),this.classes.push(_l.primaryClass)}}const yl=_l,vl=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]},init(){this.element=new yl},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}});class Sl extends ae.Sb{static primaryClass="components-message-traits";constructor(e,t,n){super(e,t,n),this.classes.push(Sl.primaryClass)}}const El=Sl,wl=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]},init(){this.element=new El},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}});class jl extends ae.Sb{static primaryClass="components-server-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(jl.primaryClass)}}const xl=jl,Ol=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]},init(){this.element=new xl},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}});class Bl extends ae.Sb{static primaryClass="components-channel-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(Bl.primaryClass)}}const Pl=Bl,$l=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]},init(){this.element=new Pl},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}});class Al extends ae.Sb{static primaryClass="components-operation-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(Al.primaryClass)}}const Ml=Al,ql=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]},init(){this.element=new Ml},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}});class kl extends ae.Sb{static primaryClass="components-message-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(kl.primaryClass)}}const Cl=kl,Nl=Mt($a,wo,{props:{specPath:e=>qo(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]},init(){this.element=new Cl},methods:{ObjectElement(e){const t=$a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bc).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}}),Il=Mt(No,wo,{props:{specPath:se(["document","objects","Operation"])},init(){this.element=new Ja}}),Tl=wo,Rl=wo,Fl=wo;class Vl extends ae.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(Vl.primaryClass)}}const Dl=Vl,Ll=Mt(Oo,wo,{init(){this.element=new Dl},methods:{ArrayElement(e){return e.forEach((e=>{if(ko(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Jl=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class zl extends ae.ON{static primaryClass="operation-traits";constructor(e,t,n){super(e,t,n),this.classes.push(zl.primaryClass)}}const Ul=zl,Wl=Mt(Oo,wo,{init(){this.element=new Ul},methods:{ArrayElement(e){return e.forEach((e=>{let t;qo(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),Ot}}});class Gl extends ae.Sb{static primaryClass="operation-message-map";constructor(e,t,n){super(e,t,n),this.classes.push(Gl.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const Kl=Gl;class Hl extends ae.ON{static primaryClass="operation-message";constructor(e,t,n){super(e,t,n),this.classes.push(Hl.primaryClass)}}const Zl=Hl,Ql=Mt(Oo,wo,{methods:{ObjectElement(e){if(qo(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(Zt(e.get("oneOf"))){this.element=new Kl;const t=new Zl;e.get("oneOf").forEach((e=>{let n;qo(e)?(n=this.toRefractedElement(["document","objects","Reference"],e),n.setMetaProperty("referenced-element","message")):n=this.toRefractedElement(["document","objects","Message"],e),t.push(n)})),this.element.oneOf=t}else this.element=this.toRefractedElement(["document","objects","Message"],e);return this.copyMetaAndAttributes(e,this.element),Ot}}});class Xl extends ae.ON{constructor(e,t,n){super(e,t,n),this.element="tags"}}const Yl=Xl,ep=Mt(Oo,wo,{init(){this.element=new Yl},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});class tp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 np=tp,sp=Mt(No,wo,{props:{specPath:se(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new np}}),ip=wo,rp=wo,op=Mt($a,wo,{props:{specPath:se(["document","objects","ChannelItem"])},init(){this.element=new Fa}}),ap=Mt(No,wo,{props:{specPath:se(["document","objects","ChannelBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new Na}}),cp=Mt(No,wo,{props:{specPath:se(["document","objects","ChannelItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ta},methods:{ObjectElement(e){const t=No.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}}),up=Mt(wo,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("reference-value"),Ot}}}),lp=wo;class pp extends ae.ON{static primaryClass="channel-item-server-names-list";constructor(e,t,n){super(e,t,n),this.classes.push(pp.primaryClass)}}const hp=pp,mp=Mt(Oo,wo,{init(){this.element=new hp},methods:{ArrayElement(e){return e.forEach((e=>{const t=hn(e);Ut(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),dp=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","ChannelBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}});class gp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 fp=gp,bp=Mt(No,wo,{props:{specPath:se(["document","objects","MessageBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new fp}});class _p extends ae.Sb{constructor(e,t,n){super(e,t,n),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 yp=_p,vp=Mt(No,wo,{props:{specPath:se(["document","objects","MessageExample"]),canSupportSpecificationExtensions:!0},init(){this.element=new yp}}),Sp=wo,Ep=wo,wp=wo,jp=wo;class xp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Op=xp,Bp=Mt(No,wo,{props:{specPath:se(["document","objects","MessageTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new Op}}),Pp=wo,$p=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ap=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),Mp=wo,qp=wo,kp=wo,Cp=wo,Np=wo,Ip=wo,Tp=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class Rp extends ae.ON{static primaryClass="message-trait-examples";constructor(e,t,n){super(e,t,n),this.classes.push(Rp.primaryClass)}}const Fp=Rp,Vp=Mt(Oo,wo,{init(){this.element=new Fp},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=Ht(e)?this.toRefractedElement(["document","objects","MessageExample"],e):hn(e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});const Dp=d(-1);const Lp=class extends qr{};const Jp=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Lp("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Lp("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Lp("latest method in MediaTypes class is not yet implemented.")}};class zp extends Jp{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 n="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return Dp(this.filterByFormat(e))}}const Up=new zp("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 Wp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Gp=Wp,Kp=Mt(No,wo,{props:{specPath:se(["document","objects","Message"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gp},methods:{ObjectElement(e){const t=No.compose.methods.ObjectElement.call(this,e),n=this.element.get("payload"),s=p(Up.latest(),ui(e.get("schemaFormat")));if(Up.includes(s)&&qo(n)){const e=this.toRefractedElement(["document","objects","Reference"],n);e.meta.set("referenced-element","schema"),this.element.payload=e}else Up.includes(s)&&Ht(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],n));return t}}}),Hp=wo,Zp=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Qp=wo,Xp=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),Yp=wo,eh=wo,th=wo,nh=wo,sh=wo,ih=wo,rh=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class oh extends ae.ON{static primaryClass="message-examples";constructor(e,t,n){super(e,t,n),this.classes.push(oh.primaryClass)}}const ah=oh,ch=Mt(Oo,wo,{init(){this.element=new ah},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=Ht(e)?this.toRefractedElement(["document","objects","MessageExample"],e):hn(e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});class uh extends ae.ON{static primaryClass="message-traits";constructor(e,t,n){super(e,t,n),this.classes.push(uh.primaryClass)}}const lh=uh,ph=Mt(Oo,wo,{init(){this.element=new lh},methods:{ArrayElement(e){return e.forEach((e=>{let t;qo(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),Ot}}});class hh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 mh=hh,dh=Mt(No,wo,{props:{specPath:se(["document","objects","OperationBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new mh}});class gh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 fh=gh,bh=Mt(No,wo,{props:{specPath:se(["document","objects","OperationTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new fh}}),_h=wo,yh=wo,vh=wo;class Sh extends ae.ON{static primaryClass="operation-trait-security";constructor(e,t,n){super(e,t,n),this.classes.push(Sh.primaryClass)}}const Eh=Sh,wh=Mt(Oo,wo,{init(){this.element=new Eh},methods:{ArrayElement(e){return e.forEach((e=>{if(ko(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),jh=Mt(Lc,wo,{props:{alternator:[{predicate:qo,specPath:["document","objects","Reference"]},{predicate:ni,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Bc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class xh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Oh=xh,Bh=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","amqp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Oh}});class Ph extends ae.Sb{constructor(e,t,n){super(e,t,n),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 $h=Ph,Ah=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","amqp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $h}});class Mh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 qh=Mh,kh=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","amqp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qh}});class Ch extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpServerBinding",this.classes.push("server-binding")}}const Nh=Ch,Ih=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","amqp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nh}});class Th extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const Rh=Th,Fh=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","amqp1","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Rh}});class Vh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const Dh=Vh,Lh=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","amqp1","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dh}});class Jh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const zh=Jh,Uh=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","amqp1","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zh}});class Wh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const Gh=Wh,Kh=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","amqp1","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gh}});class Hh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Zh=Hh,Qh=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","anypointmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zh}});class Xh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Yh=Xh,em=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","anypointmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Yh}});class tm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const nm=tm,sm=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","anypointmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new nm}});class im extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const rm=im,om=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","anypointmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rm}});class am extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const cm=am,um=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","http","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new cm}});class lm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 pm=lm,hm=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","http","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new pm}});class mm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 dm=mm,gm=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","http","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new dm}});class fm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="httpServerBinding",this.classes.push("server-binding")}}const bm=fm,_m=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","http","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bm}});class ym extends ae.Sb{constructor(e,t,n){super(e,t,n),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 vm=ym,Sm=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","googlepubsub","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new vm}});class Em extends ae.Sb{constructor(e,t,n){super(e,t,n),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 wm=Em,jm=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","googlepubusb","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wm}});class xm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const Om=xm,Bm=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","googlepubsub","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Om}});class Pm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const $m=Pm,Am=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","googlepubsub","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $m}});class Mm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 qm=Mm,km=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","ibmmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qm}});class Cm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Nm=Cm,Im=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","ibmmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nm}});class Tm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const Rm=Tm,Fm=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","ibmmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Rm}});class Vm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Dm=Vm,Lm=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","ibmmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dm}});class Jm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const zm=Jm,Um=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","jms","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zm}});class Wm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Gm=Wm,Km=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","jms","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gm}});class Hm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const Zm=Hm,Qm=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","jms","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zm}});class Xm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsServerBinding",this.classes.push("server-binding")}}const Ym=Xm,ed=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","jms","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ym}});class td extends ae.Sb{constructor(e,t,n){super(e,t,n),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 nd=td,sd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","kafka","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new nd}});class id extends ae.Sb{constructor(e,t,n){super(e,t,n),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 rd=id,od=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","kafka","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rd}});class ad extends ae.Sb{constructor(e,t,n){super(e,t,n),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 cd=ad,ud=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","kafka","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new cd}});class ld extends ae.Sb{constructor(e,t,n){super(e,t,n),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 pd=ld,hd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","kafka","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new pd}});class md extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const dd=md,gd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mercure","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new dd}});class fd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const bd=fd,_d=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mercure","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bd}});class yd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const vd=yd,Sd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mercure","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new vd}});class Ed extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureServerBinding",this.classes.push("server-binding")}}const wd=Ed,jd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mercure","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wd}});class xd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const Od=xd,Bd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mqtt","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Od}});class Pd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const $d=Pd,Ad=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mqtt","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $d}});class Md extends ae.Sb{constructor(e,t,n){super(e,t,n),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 qd=Md,kd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mqtt","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qd}});class Cd extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Nd=Cd,Id=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mqtt","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nd}});class Td extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const Rd=Td,Fd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mqtt5","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Rd}});class Vd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const Dd=Vd,Ld=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mqtt5","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dd}});class Jd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const zd=Jd,Ud=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mqtt5","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zd}});class Wd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const Gd=Wd,Kd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","mqtt5","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gd}});class Hd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const Zd=Hd,Qd=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","nats","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zd}});class Xd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="natsMessageBinding",this.classes.push("message-binding")}}const Yd=Xd,eg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","nats","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Yd}});class tg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 ng=tg,sg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","nats","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ng}});class ig extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="natsServerBinding",this.classes.push("server-binding")}}const rg=ig,og=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","nats","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rg}});class ag extends ae.Sb{constructor(e,t,n){super(e,t,n),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 cg=ag,ug=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","pulsar","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new cg}});class lg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const pg=lg,hg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","pulsar","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new pg}});class mg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const dg=mg,gg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","pulsar","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new dg}});class fg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 bg=fg,_g=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","pulsar","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bg}});class yg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const vg=yg,Sg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","redis","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new vg}});class Eg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisMessageBinding",this.classes.push("message-binding")}}const wg=Eg,jg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","redis","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wg}});class xg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Og=xg,Bg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","redis","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Og}});class Pg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisServerBinding",this.classes.push("server-binding")}}const $g=Pg,Ag=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","redis","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $g}});class Mg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const qg=Mg,kg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","sns","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qg}});class Cg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsMessageBinding",this.classes.push("message-binding")}}const Ng=Cg,Ig=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","sns","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ng}});class Tg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Rg=Tg,Fg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","sns","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Rg}});class Vg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsServerBinding",this.classes.push("server-binding")}}const Dg=Vg,Lg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","sns","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dg}});class Jg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const zg=Jg,Ug=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","solace","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zg}});class Wg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const Gg=Wg,Kg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","solace","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gg}});class Hg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Zg=Hg,Qg=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","solace","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zg}});class Xg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Yg=Xg,ef=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","solace","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Yg}});class tf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const nf=tf,sf=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","sqs","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new nf}});class rf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const of=rf,af=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","sqs","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new of}});class cf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const uf=cf,lf=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","sqs","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new uf}});class pf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsServerBinding",this.classes.push("server-binding")}}const hf=pf,mf=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","sqs","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new hf}});class df extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const gf=df,ff=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","stomp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new gf}});class bf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompMessageBinding",this.classes.push("message-binding")}}const _f=bf,yf=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","stomp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _f}});class vf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const Sf=vf,Ef=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","stomp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Sf}});class wf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompServerBinding",this.classes.push("server-binding")}}const jf=wf,xf=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","stomp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jf}});class Of extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Bf=Of,Pf=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","ws","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Bf}});class $f extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const Af=$f,Mf=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","ws","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Af}});class qf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const kf=qf,Cf=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","ws","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new kf}});class Nf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const If=Nf,Tf=Mt(No,wo,{props:{specPath:se(["document","objects","bindings","ws","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new If}}),Rf={$visitor:mu,fixedFields:{$ref:du}},Ff={$visitor:gu,fixedFields:{...Iu,allOf:Su,anyOf:wu,oneOf:xu,items:Mu,properties:Nu,patternProperties:ku,dependencies:$u,definitions:Bu,discriminator:yu,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:_u}},Vf={visitors:{value:wo,document:{objects:{AsyncApi:{$visitor:Ro,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:Do},Identifier:{$visitor:zo},Info:{$visitor:Go,fixedFields:{title:Ko,description:Ho,termsOfService:Zo,version:Qo,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:ea,fixedFields:{name:ta,url:na,email:sa}},License:{$visitor:da,fixedFields:{name:ga,url:fa}},Servers:{$visitor:Ic},Server:{$visitor:Tc,fixedFields:{url:Rc,protocol:Fc,protocolVersion:Vc,description:Dc,variables:Wc,security:Hc,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Jc}},ServerVariable:{$visitor:Zc,fixedFields:{enum:Qc,default:Xc,description:Yc,examples:eu}},DefaultContentType:{$visitor:pa},Channels:{$visitor:op},ChannelItem:{$visitor:cp,fixedFields:{$ref:up,description:lp,servers:mp,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:dp}},Operation:{$visitor:Il,fixedFields:{operationId:Tl,summary:Rl,description:Fl,security:Ll,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Jl,traits:Wl,message:Ql}},OperationTrait:{$visitor:bh,fixedFields:{operationId:_h,summary:yh,description:vh,security:wh,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:jh}},Message:{$visitor:Kp,fixedFields:{messageId:Hp,headers:Zp,payload:Qp,correlationId:Xp,schemaFormat:Yp,contentType:eh,name:th,title:nh,summary:sh,description:ih,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:rh,examples:ch,traits:ph}},MessageTrait:{$visitor:Bp,fixedFields:{messageId:Pp,headers:$p,correlationId:Ap,schemaFormat:Mp,contentType:qp,name:kp,title:Cp,summary:Np,description:Ip,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Tp,examples:Vp}},MessageExample:{$visitor:vp,fixedFields:{headers:Sp,payload:Ep,name:wp,summary:jp}},Tags:{$visitor:ep},Tag:{$visitor:sp,fixedFields:{name:ip,description:rp,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:zu,fixedFields:{description:Uu,url:Wu}},Components:{$visitor:Gu,fixedFields:{schemas:Zu,servers:Yu,serverVariables:nl,channels:rl,messages:cl,securitySchemes:pl,parameters:dl,correlationIds:bl,operationTraits:vl,messageTraits:wl,serverBindings:Ol,channelBindings:$l,operationBindings:ql,messageBindings:Nl}},JSONReference:Rf,Reference:Rf,JSONSchema:Ff,Schema:Ff,LinkDescription:So.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:iu,fixedFields:{type:ru,description:ou,name:au,in:cu,scheme:uu,bearerFormat:lu,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:pu}},SecurityRequirement:{$visitor:hu},OAuthFlows:{$visitor:ya,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:Ea,fixedFields:{authorizationUrl:wa,tokenUrl:ja,refreshUrl:xa,scopes:Aa}},ServerBindings:{$visitor:tu,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:Tu},Parameter:{$visitor:Ru,fixedFields:{description:Fu,schema:Du,location:Vu}},ChannelBindings:{$visitor:ap,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:dh,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:bp,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:oa,fixedFields:{description:aa,location:ca}},bindings:{http:{ServerBinding:{$visitor:_m},ChannelBinding:{$visitor:um},OperationBinding:{$visitor:gm,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:bu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:hm,fixedFields:{headers:bu,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:Tf},ChannelBinding:{$visitor:Pf,fixedFields:{method:{$ref:"#/visitors/value"},query:bu,headers:bu,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Cf},MessageBinding:{$visitor:Mf}},kafka:{ServerBinding:{$visitor:hd,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:sd,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:ud,fixedFields:{groupId:bu,clientId:bu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:od,fixedFields:{key:bu,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:om},ChannelBinding:{$visitor:Qh,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:sm},MessageBinding:{$visitor:em,fixedFields:{headers:bu,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Ih},ChannelBinding:{$visitor:Bh,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:kh,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:Ah,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:Kh},ChannelBinding:{$visitor:Fh},OperationBinding:{$visitor:Uh},MessageBinding:{$visitor:Lh}},mqtt:{ServerBinding:{$visitor:Id,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Bd},OperationBinding:{$visitor:kd,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ad,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:Kd},ChannelBinding:{$visitor:Fd},OperationBinding:{$visitor:Ud},MessageBinding:{$visitor:Ld}},nats:{ServerBinding:{$visitor:og},ChannelBinding:{$visitor:Qd},OperationBinding:{$visitor:sg,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:eg}},pulsar:{ServerBinding:{$visitor:_g,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:ug,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:gg},MessageBinding:{$visitor:hg}},jms:{ServerBinding:{$visitor:ed},ChannelBinding:{$visitor:Um},OperationBinding:{$visitor:Qm},MessageBinding:{$visitor:Km}},sns:{ServerBinding:{$visitor:Lg},ChannelBinding:{$visitor:kg},OperationBinding:{$visitor:Fg},MessageBinding:{$visitor:Ig}},solace:{ServerBinding:{$visitor:ef,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Ug},OperationBinding:{$visitor:Qg,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Kg}},sqs:{ServerBinding:{$visitor:mf},ChannelBinding:{$visitor:sf},OperationBinding:{$visitor:lf},MessageBinding:{$visitor:af}},stomp:{ServerBinding:{$visitor:xf},ChannelBinding:{$visitor:ff},OperationBinding:{$visitor:Ef},MessageBinding:{$visitor:yf}},redis:{ServerBinding:{$visitor:Ag},ChannelBinding:{$visitor:Sg},OperationBinding:{$visitor:Bg},MessageBinding:{$visitor:jg}},mercure:{ServerBinding:{$visitor:jd},ChannelBinding:{$visitor:gd},OperationBinding:{$visitor:Sd},MessageBinding:{$visitor:_d}},googlepubsub:{ServerBinding:{$visitor:Am},ChannelBinding:{$visitor:Sm,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:Bm},MessageBinding:{$visitor:jm,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:Lm,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:km,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Im,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Fm}}}},extension:{$visitor:Bo}}}},Df={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",To),t.register("asyncApiVersion",Vo),t.register("channelBindings",Na),t.register("channelItem",Ta),t.register("channels",Fa),t.register("components",Da),t.register("contact",Yo),t.register("correlationID",ra),t.register("defaultContentType",la),t.register("externalDocumentation",Ju),t.register("identifier",Jo),t.register("info",Wo),t.register("license",ma),t.register("message",Gp),t.register("messageBindings",fp),t.register("messageExample",yp),t.register("messageTrait",Op),t.register("oAuthFlow",Sa),t.register("oAuthFlows",_a),t.register("operation",Ja),t.register("operationBindings",mh),t.register("operationTrait",fh),t.register("parameter",Ua),t.register("parameters",Ga),t.register("reference",Ha),t.register("schema",ic),t.register("securityRequirement",oc),t.register("securityScheme",su),t.register("server",cc),t.register("serverBindings",lc),t.register("servers",ka),t.register("serverVariable",hc),t.register("tag",np),t.register("tags",Yl),t.register("amqpChannelBinding",Oh),t.register("amqpMessageBinding",$h),t.register("amqpOperationBinding",qh),t.register("amqpServerBinding",Nh),t.register("amqp1ChannelBinding",Rh),t.register("amqp1MessageBinding",Dh),t.register("amqp1OperationBinding",zh),t.register("amqp1ServerBinding",Gh),t.register("anypointmqChannelBinding",Zh),t.register("anypointmqMessageBinding",Yh),t.register("anypointmqOperationBinding",nm),t.register("anypointmqServerBinding",rm),t.register("googlepubsubChannelBinding",vm),t.register("googlepubsubMessageBinding",wm),t.register("googlepubsubOperationBinding",Om),t.register("googlepubsubServerBinding",$m),t.register("httpChannelBinding",cm),t.register("httpMessageBinding",pm),t.register("httpOperationBinding",dm),t.register("httpServerBinding",bm),t.register("ibmmqChannelBinding",qm),t.register("ibmmqMessageBinding",Nm),t.register("ibmmqOperationBinding",Rm),t.register("ibmmqServerBinding",Dm),t.register("jmsChannelBinding",zm),t.register("jmsMessageBinding",Gm),t.register("jmsOperationBinding",Zm),t.register("jmsServerBinding",Ym),t.register("kafkaChannelBinding",nd),t.register("kafkaMessageBinding",rd),t.register("kafkaOperationBinding",cd),t.register("kafkaServerBinding",pd),t.register("mercureChannelBinding",dd),t.register("mercureMessageBinding",bd),t.register("mercureOperationBinding",vd),t.register("mercureServerBinding",wd),t.register("mqttChannelBinding",Od),t.register("mqttMessageBinding",$d),t.register("mqttOperationBinding",qd),t.register("mqttServerBinding",Nd),t.register("mqtt5ChannelBinding",Rd),t.register("mqtt5MessageBinding",Dd),t.register("mqtt5OperationBinding",zd),t.register("mqtt5ServerBinding",Gd),t.register("natsChannelBinding",Zd),t.register("natsMessageBinding",Yd),t.register("natsOperationBinding",ng),t.register("natsServerBinding",rg),t.register("pulsarChannelBinding",cg),t.register("pulsarMessageBinding",pg),t.register("pulsarOperationBinding",dg),t.register("pulsarServerBinding",bg),t.register("redisChannelBinding",vg),t.register("redisMessageBinding",wg),t.register("redisOperationBinding",Og),t.register("redisServerBinding",$g),t.register("snsChannelBinding",qg),t.register("snsMessageBinding",Ng),t.register("snsOperationBinding",Rg),t.register("snsServerBinding",Dg),t.register("solaceChannelBinding",zg),t.register("solaceMessageBinding",Gg),t.register("solaceOperationBinding",Zg),t.register("solaceServerBinding",Yg),t.register("sqsChannelBinding",nf),t.register("sqsMessageBinding",of),t.register("sqsOperationBinding",uf),t.register("sqsServerBinding",hf),t.register("stompChannelBinding",gf),t.register("stompMessageBinding",_f),t.register("stompOperationBinding",Sf),t.register("stompServerBinding",jf),t.register("webSocketChannelBinding",Bf),t.register("webSocketMessageBinding",Af),t.register("webSocketOperationBinding",kf),t.register("webSocketServerBinding",If),t}},Lf=()=>{const e=lt(Df);return{predicates:{...o,isStringElement:Ut},namespace:e}},Jf=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:n=[]}={})=>{const s=(0,ae.Qc)(e),i=Us(Vf),r=$n(t,[],i);return vn(s,r,{state:{specObj:i}}),Mn(r.element,n,{toolboxCreator:Lf,visitorOptions:{keyMap:xo,nodeTypeGetter:jo}})},zf=e=>(t,n={})=>Jf(t,{...n,specPath:e});To.refract=zf(["visitors","document","objects","AsyncApi","$visitor"]),Vo.refract=zf(["visitors","document","objects","AsyncApiVersion","$visitor"]),Na.refract=zf(["visitors","document","objects","ChannelBindings","$visitor"]),Ta.refract=zf(["visitors","document","objects","ChannelItem","$visitor"]),Fa.refract=zf(["visitors","document","objects","Channels","$visitor"]),Da.refract=zf(["visitors","document","objects","Components","$visitor"]),Yo.refract=zf(["visitors","document","objects","Contact","$visitor"]),ra.refract=zf(["visitors","document","objects","CorrelationID","$visitor"]),la.refract=zf(["visitors","document","objects","DefaultContentType","$visitor"]),Ju.refract=zf(["visitors","document","objects","ExternalDocumentation","$visitor"]),Jo.refract=zf(["visitors","document","objects","Identifier","$visitor"]),Wo.refract=zf(["visitors","document","objects","Info","$visitor"]),ma.refract=zf(["visitors","document","objects","License","$visitor"]),Gp.refract=zf(["visitors","document","objects","Message","$visitor"]),fp.refract=zf(["visitors","document","objects","MessageBindings","$visitor"]),yp.refract=zf(["visitors","document","objects","MessageExample","$visitor"]),Op.refract=zf(["visitors","document","objects","MessageTrait","$visitor"]),Sa.refract=zf(["visitors","document","objects","OAuthFlow","$visitor"]),_a.refract=zf(["visitors","document","objects","OAuthFlows","$visitor"]),Ja.refract=zf(["visitors","document","objects","Operation","$visitor"]),mh.refract=zf(["visitors","document","objects","OperationBindings","$visitor"]),fh.refract=zf(["visitors","document","objects","OperationTrait","$visitor"]),Ua.refract=zf(["visitors","document","objects","Parameter","$visitor"]),Ga.refract=zf(["visitors","document","objects","Parameters","$visitor"]),Ha.refract=zf(["visitors","document","objects","Reference","$visitor"]),ic.refract=zf(["visitors","document","objects","Schema","$visitor"]),oc.refract=zf(["visitors","document","objects","SecurityRequirement","$visitor"]),su.refract=zf(["visitors","document","objects","SecurityScheme","$visitor"]),cc.refract=zf(["visitors","document","objects","Server","$visitor"]),lc.refract=zf(["visitors","document","objects","ServerBindings","$visitor"]),ka.refract=zf(["visitors","document","objects","Servers","$visitor"]),hc.refract=zf(["visitors","document","objects","ServerVariable","$visitor"]),np.refract=zf(["visitors","document","objects","Tag","$visitor"]),Yl.refract=zf(["visitors","document","objects","Tags","$visitor"]),Oh.refract=zf(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),$h.refract=zf(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),qh.refract=zf(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Nh.refract=zf(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Rh.refract=zf(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),Dh.refract=zf(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),zh.refract=zf(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),Gh.refract=zf(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),cm.refract=zf(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),pm.refract=zf(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),dm.refract=zf(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),bm.refract=zf(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),vm.refract=zf(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),wm.refract=zf(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),Om.refract=zf(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),$m.refract=zf(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),qm.refract=zf(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),Nm.refract=zf(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),Rm.refract=zf(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Dm.refract=zf(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),zm.refract=zf(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Gm.refract=zf(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),Zm.refract=zf(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),Ym.refract=zf(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),nd.refract=zf(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),rd.refract=zf(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),cd.refract=zf(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),pd.refract=zf(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),Zh.refract=zf(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),Yh.refract=zf(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),nm.refract=zf(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),rm.refract=zf(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),dd.refract=zf(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),bd.refract=zf(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),vd.refract=zf(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),wd.refract=zf(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Od.refract=zf(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),$d.refract=zf(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),qd.refract=zf(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),Nd.refract=zf(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),Rd.refract=zf(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),Dd.refract=zf(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),zd.refract=zf(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),Gd.refract=zf(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),Zd.refract=zf(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),Yd.refract=zf(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),ng.refract=zf(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),rg.refract=zf(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),cg.refract=zf(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),pg.refract=zf(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),dg.refract=zf(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),bg.refract=zf(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),vg.refract=zf(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),wg.refract=zf(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Og.refract=zf(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),$g.refract=zf(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),qg.refract=zf(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),Ng.refract=zf(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Rg.refract=zf(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),Dg.refract=zf(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),zg.refract=zf(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),Gg.refract=zf(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),Zg.refract=zf(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),Yg.refract=zf(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),nf.refract=zf(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),of.refract=zf(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),uf.refract=zf(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),hf.refract=zf(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),gf.refract=zf(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),_f.refract=zf(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),Sf.refract=zf(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),jf.refract=zf(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),Bf.refract=zf(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),Af.refract=zf(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),kf.refract=zf(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),If.refract=zf(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const Uf=new zp(...Up.filterByFormat("generic"),...Up.filterByFormat("json")),Wf=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,Gf=async e=>Wf.test(e)&&await(async e=>{if(!As.test(e))return!1;try{return"ERROR"!==(await wt(e)).rootNode.type}catch{return!1}})(e),Kf=async(e,t={})=>{const n=f({},"refractorOpts",t),s=_(["refractorOpts"],t),i=await(async(e,{sourceMap:t=!1,syntacticAnalysis:n="direct"}={})=>{const s=await wt(e);let i;return i="indirect"===n?$s(s,{sourceMap:t}):Ln(s,{sourceMap:t}),i})(e,s),{result:r}=i;if(oe(r)){const e=To.refract(r,n);e.classes.push("result"),i.replaceResult(e)}return i},Hf=lt(Df)})(),s})()));
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={9515:(e,t,n)=>{var s=n(8761)(n(7772),"DataView");e.exports=s},9612:(e,t,n)=>{var s=n(2118),i=n(6909),r=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var s=n(3945),i=n(1846),r=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var s=n(8761)(n(7772),"Map");e.exports=s},6738:(e,t,n)=>{var s=n(2411),i=n(6417),r=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=i,c.prototype.get=r,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var s=n(8761)(n(7772),"Promise");e.exports=s},2143:(e,t,n)=>{var s=n(8761)(n(7772),"Set");e.exports=s},5386:(e,t,n)=>{var s=n(6738),i=n(2842),r=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new s;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=i,o.prototype.has=r,e.exports=o},6571:(e,t,n)=>{var s=n(235),i=n(5243),r=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new s(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=r,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var s=n(7772).Symbol;e.exports=s},9162:(e,t,n)=>{var s=n(7772).Uint8Array;e.exports=s},3215:(e,t,n)=>{var s=n(8761)(n(7772),"WeakMap");e.exports=s},7552:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length,i=0,r=[];++n<s;){var o=e[n];t(o,n,e)&&(r[i++]=o)}return r}},1634:(e,t,n)=>{var s=n(6473),i=n(9631),r=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=r(e),l=!n&&i(e),p=!n&&!l&&o(e),h=!n&&!l&&!p&&c(e),m=n||l||p||h,d=m?s(e.length,String):[],g=d.length;for(var f in e)!t&&!u.call(e,f)||m&&("length"==f||p&&("offset"==f||"parent"==f)||h&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||a(f,g))||d.push(f);return d}},5067:e=>{e.exports=function(e,t){for(var n=-1,s=t.length,i=e.length;++n<s;)e[i+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length;++n<s;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var s=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(s(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var s=n(5067),i=n(6152);e.exports=function(e,t,n){var r=t(e);return i(e)?r:s(r,n(e))}},3366:(e,t,n)=>{var s=n(857),i=n(2107),r=n(7157),o=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):r(e)}},5183:(e,t,n)=>{var s=n(3366),i=n(5125);e.exports=function(e){return i(e)&&"[object Arguments]"==s(e)}},8746:(e,t,n)=>{var s=n(1952),i=n(5125);e.exports=function e(t,n,r,o,a){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:s(t,n,r,o,e,a))}},1952:(e,t,n)=>{var s=n(6571),i=n(4871),r=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",h="[object Array]",m="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,f,b){var _=c(e),y=c(t),v=_?h:a(e),S=y?h:a(t),E=(v=v==p?m:v)==m,w=(S=S==p?m:S)==m,j=v==S;if(j&&u(e)){if(!u(t))return!1;_=!0,E=!1}if(j&&!E)return b||(b=new s),_||l(e)?i(e,t,n,g,f,b):r(e,t,v,n,g,f,b);if(!(1&n)){var x=E&&d.call(e,"__wrapped__"),O=w&&d.call(t,"__wrapped__");if(x||O){var B=x?e.value():e,P=O?t.value():t;return b||(b=new s),f(B,P,n,g,b)}}return!!j&&(b||(b=new s),o(e,t,n,g,f,b))}},6840:(e,t,n)=>{var s=n(1049),i=n(7394),r=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||i(e))&&(s(e)?h:a).test(o(e))}},5522:(e,t,n)=>{var s=n(3366),i=n(1158),r=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&i(e.length)&&!!o[s(e)]}},6411:(e,t,n)=>{var s=n(6001),i=n(4248),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return i(e);var t=[];for(var n in Object(e))r.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,s=Array(e);++n<e;)s[n]=t(n);return s}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var s=n(7772)["__core-js_shared__"];e.exports=s},4871:(e,t,n)=>{var s=n(5386),i=n(7064),r=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=-1,g=!0,f=2&n?new s:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var b=e[d],_=t[d];if(o)var y=u?o(_,b,d,t,e,c):o(b,_,d,e,t,c);if(void 0!==y){if(y)continue;g=!1;break}if(f){if(!i(t,(function(e,t){if(!r(f,t)&&(b===e||a(b,e,n,o,c)))return f.push(t)}))){g=!1;break}}else if(b!==_&&!a(b,_,n,o,c)){g=!1;break}}return c.delete(e),c.delete(t),g}},1491:(e,t,n)=>{var s=n(857),i=n(9162),r=n(1225),o=n(4871),a=n(5179),c=n(4207),u=s?s.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,s,u,p,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=a;case"[object Set]":var d=1&s;if(m||(m=c),e.size!=t.size&&!d)return!1;var g=h.get(e);if(g)return g==t;s|=2,h.set(e,t);var f=o(m(e),m(t),s,u,p,h);return h.delete(e),f;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var s=n(3483),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,o,a){var c=1&n,u=s(e),l=u.length;if(l!=s(t).length&&!c)return!1;for(var p=l;p--;){var h=u[p];if(!(c?h in t:i.call(t,h)))return!1}var m=a.get(e),d=a.get(t);if(m&&d)return m==t&&d==e;var g=!0;a.set(e,t),a.set(t,e);for(var f=c;++p<l;){var b=e[h=u[p]],_=t[h];if(r)var y=c?r(_,b,h,t,e,a):r(b,_,h,e,t,a);if(!(void 0===y?b===_||o(b,_,n,r,a):y)){g=!1;break}f||(f="constructor"==h)}if(g&&!f){var v=e.constructor,S=t.constructor;v==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof S&&S instanceof S||(g=!1)}return a.delete(e),a.delete(t),g}},1242:(e,t,n)=>{var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=s},3483:(e,t,n)=>{var s=n(1897),i=n(633),r=n(249);e.exports=function(e){return s(e,r,i)}},7937:(e,t,n)=>{var s=n(8304);e.exports=function(e,t){var n=e.__data__;return s(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var s=n(6840),i=n(8109);e.exports=function(e,t){var n=i(e,t);return s(n)?n:void 0}},2107:(e,t,n)=>{var s=n(857),i=Object.prototype,r=i.hasOwnProperty,o=i.toString,a=s?s.toStringTag:void 0;e.exports=function(e){var t=r.call(e,a),n=e[a];try{e[a]=void 0;var s=!0}catch(e){}var i=o.call(e);return s&&(t?e[a]=n:delete e[a]),i}},633:(e,t,n)=>{var s=n(7552),i=n(981),r=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),s(o(e),(function(t){return r.call(e,t)})))}:i;e.exports=a},940:(e,t,n)=>{var s=n(9515),i=n(326),r=n(2760),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",d="[object DataView]",g=u(s),f=u(i),b=u(r),_=u(o),y=u(a),v=c;(s&&v(new s(new ArrayBuffer(1)))!=d||i&&v(new i)!=l||r&&v(r.resolve())!=p||o&&v(new o)!=h||a&&v(new a)!=m)&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,s=n?u(n):"";if(s)switch(s){case g:return d;case f:return l;case b:return p;case _:return h;case y:return m}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var s=n(9191);e.exports=function(){this.__data__=s?s(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var s=n(9191),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(s){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var s=n(9191),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return s?void 0!==t[e]:i.call(t,e)}},7942:(e,t,n)=>{var s=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var s=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==s||"symbol"!=s&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var s,i=n(4019),r=(s=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";e.exports=function(e){return!!r&&r in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var s=n(2218),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=s(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var s=n(2218);e.exports=function(e){var t=this.__data__,n=s(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var s=n(2218);e.exports=function(e){return s(this.__data__,e)>-1}},4769:(e,t,n)=>{var s=n(2218);e.exports=function(e,t){var n=this.__data__,i=s(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},2411:(e,t,n)=>{var s=n(9612),i=n(235),r=n(326);e.exports=function(){this.size=0,this.__data__={hash:new s,map:new(r||i),string:new s}}},6417:(e,t,n)=>{var s=n(7937);e.exports=function(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).get(e)}},9493:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).has(e)}},4150:(e,t,n)=>{var s=n(7937);e.exports=function(e,t){var n=s(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,s){n[++t]=[s,e]})),n}},9191:(e,t,n)=>{var s=n(8761)(Object,"create");e.exports=s},4248:(e,t,n)=>{var s=n(241)(Object.keys,Object);e.exports=s},4146:(e,t,n)=>{e=n.nmd(e);var s=n(1242),i=t&&!t.nodeType&&t,r=i&&e&&!e.nodeType&&e,o=r&&r.exports===i&&s.process,a=function(){try{var e=r&&r.require&&r.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var s=n(1242),i="object"==typeof self&&self&&self.Object===Object&&self,r=s||i||Function("return this")();e.exports=r},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var s=n(235);e.exports=function(){this.__data__=new s,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var s=n(235),i=n(326),r=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof s){var o=n.__data__;if(!i||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new r(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var s=n(5183),i=n(5125),r=Object.prototype,o=r.hasOwnProperty,a=r.propertyIsEnumerable,c=s(function(){return arguments}())?s:function(e){return i(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var s=n(1049),i=n(1158);e.exports=function(e){return null!=e&&i(e.length)&&!s(e)}},4335:(e,t,n)=>{var s=n(3366),i=n(5125);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==s(e)}},3226:(e,t,n)=>{e=n.nmd(e);var s=n(7772),i=n(6330),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r?s.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},8149:(e,t,n)=>{var s=n(8746);e.exports=function(e,t){return s(e,t)}},1049:(e,t,n)=>{var s=n(3366),i=n(9259);e.exports=function(e){if(!i(e))return!1;var t=s(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var s=n(3366),i=n(5125);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==s(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var s=n(3366),i=n(6152),r=n(5125);e.exports=function(e){return"string"==typeof e||!i(e)&&r(e)&&"[object String]"==s(e)}},7598:(e,t,n)=>{var s=n(5522),i=n(7826),r=n(4146),o=r&&r.isTypedArray,a=o?i(o):s;e.exports=a},249:(e,t,n)=>{var s=n(1634),i=n(6411),r=n(7878);e.exports=function(e){return r(e)?s(e):i(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const s=n(1570);function i(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class r{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const i=e.bind(t)(s);i&&n.push(i)})),n}filter(e,t){return e=i(e),new r(this.elements.filter(e,t))}reject(e,t){return e=i(e),new r(this.elements.filter(s(e),t))}find(e,t){return e=i(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=r},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const s=n(5877),i=n(5505),r=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(s,u.NullElement,!1).detect(i,u.StringElement,!1).detect(r,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const s=this.elementDetection[n][0],i=this.elementDetection[n][1];if(s(e)){t=new i(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const s=n(1570),i=n(1178);class r extends i{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new r(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(s(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,s)=>{e.bind(t)(n.value,n.key,n,s)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=r},3756:(e,t,n)=>{const s=n(6420),i=n(4152),r=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),h=n(2320),m=n(1178),d=n(3853),g=n(3026);function f(e){if(e instanceof s)return e;if("string"==typeof e)return new r(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new i;if(Array.isArray(e))return new c(e.map(f));if("object"==typeof e){return new l(e)}return e}s.prototype.ObjectElement=l,s.prototype.RefElement=h,s.prototype.MemberElement=u,s.prototype.refract=f,m.prototype.refract=f,e.exports={Element:s,NullElement:i,StringElement:r,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:f,ArraySlice:m,ObjectSlice:d,KeyValuePair:g}},5202:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const s=n(5140),i=n(3756);t.lS=s,t.KeyValuePair=n(3026),t.O4=i.ArraySlice,t.rm=i.ObjectSlice,t.W_=i.Element,t.RP=i.StringElement,t.VL=i.NumberElement,t.hh=i.BooleanElement,t.zr=i.NullElement,t.ON=i.ArrayElement,t.Sb=i.ObjectElement,t.c6=i.MemberElement,t.tK=i.RefElement,t.EA=i.LinkElement,t.Qc=i.refract,n(2947),n(8910)},1641:(e,t,n)=>{const s=n(1570),i=n(6420),r=n(1178);class o extends i{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const i=e.bind(t)(s);i&&n.push(i)})),n}filter(e,t){return new r(this.content.filter(e,t))}reject(e,t){return this.filter(s(e),t)}reduce(e,t){let n,s;void 0!==t?(n=0,s=this.refract(t)):(n=1,s="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];s="object"===this.primitive()?this.refract(e(s,n.value,n.key,n,this)):this.refract(e(s,n,t,this))}return s}forEach(e,t){this.content.forEach(((n,s)=>{e.bind(t)(n,this.refract(s))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},s=!!n.recursive,i=void 0===n.results?[]:n.results;return this.forEach(((t,n,r)=>{s&&void 0!==t.findElements&&t.findElements(e,{results:i,recursive:s}),e(t,n,r)&&i.push(t)})),i}find(e){return new r(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const s=n(8149),i=n(3026),r=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof i?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new r;const s=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const r=n.findRecursive(t);return r&&r.reduce(s,e),n.content instanceof i&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const s=e[t],i=n.indexOf(s);if(-1===i)return!1;n=n.splice(0,i)}return!0}))),n}set(e){return this.content=e,this}equals(e){return s(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof r)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof i)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new r;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new r(this.content);if(this.content instanceof i){const e=new r([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new r([this.content]):new r}get recursiveChildren(){const e=new r;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const s=n(3026),i=n(6420);e.exports=class extends i{constructor(e,t,n,i){super(new s,n,i),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const s=n(1570),i=n(9259),r=n(1641),o=n(8858),a=n(3853);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(i(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,s=this.getMember(n);return s?s.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((s,i,r)=>{const o=e.bind(t)(s,i,r);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(s(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const s=n(2947);e.exports=class extends s{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const s="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(s){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:s}=e;s.get("metadata")&&(s=s.clone(),s.set("meta",s.get("metadata")),s.remove("metadata")),"member"===e.element&&t&&(s=s.clone(),s.remove("variable")),s.length>0&&(n.attributes=this.serialiseObject(s))}if(s)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let s;t&&e.content.key?(s=e.content.clone(),s.key.attributes.set("variable",t),s=this.serialiseContent(s)):s=this.serialiseContent(e.content),this.shouldSerialiseContent(e,s)&&(n.content=s)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),s=t.get("default");let i=t.get("samples")||new this.namespace.elements.Array([]);if(s&&s.content&&(s.content.attributes&&s.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([s.content]))),i.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&i.unshift(e.content),i=i.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),i.length&&t.set("samples",i),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const s=this.deserialiseContent(e.content);if(void 0===s&&null!==n.content||(n.content=s),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const s=e;e=new this.namespace.elements.Array,s.forEach((s=>{s.forEach((s=>{const i=new t(s);i.element=n.element,e.push(i)}))}));const i=e.shift();n.content=i?i.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let s=n.attributes.get("default");if(s&&s.length>0){s=s.get(0);const e=new t(s);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const s=n.toValue();t[s]=this.convertKeyToRefract(s,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,s,i,r,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",m="deepConfiguration",d="deepProps",g="deepStatics",f="deepConf",b="initializers",_="methods",y="composers",v="compose";function S(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var w=E.bind(0,(function(e,t){if(t)for(var n=S(t),s=0;s<n.length;s+=1)Object.defineProperty(e,n[s],Object.getOwnPropertyDescriptor(t,n[s]));return e}));function j(e){return"function"==typeof e}function x(e){return e&&"object"==typeof e||j(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var B=E.bind(0,(function e(n,s){if(s===t)return n;if(Array.isArray(s))return(Array.isArray(n)?n:[]).concat(s);if(!O(s))return s;for(var i,r,o=S(s),a=0;a<o.length;)i=o[a++],(r=Object.getOwnPropertyDescriptor(s,i)).hasOwnProperty("value")?r.value!==t&&(n[i]=e(O(n[i])||Array.isArray(s[i])?n[i]:{},s[i])):Object.defineProperty(n,i,r);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return j(e)&&n.indexOf(e)===t}))).length?n:t}function $(e,t){function s(n,s){x(t[n])&&(x(e[n])||(e[n]={}),(s||w)(e[n],t[n]))}function i(s){(n=P(e[s],t[s]))&&(e[s]=n)}return t&&x(t=t[v]||t)&&(s(_),s(o),s(a,B),s(c),s(u),s(l,B),s(p),s(h),s(m,B),i(b),i(y)),e}function A(){return function(e){return n=function e(n){var s,i,r=e[v]||{},u={__proto__:r[_]},l=r[b],p=Array.prototype.slice.apply(arguments),h=r[a];if(h&&B(u,h),(h=r[o])&&w(u,h),(h=r[c])&&Object.defineProperties(u,h),!l||!l.length)return u;for(n===t&&(n={}),r=0;r<l.length;)j(s=l[r++])&&(u=(i=s.call(u,n,{instance:u,stamp:e,args:p}))===t?u:i);return u},(s=e[l])&&B(n,s),(s=e[u])&&w(n,s),(s=e[p])&&Object.defineProperties(n,s),s=j(n[v])?n[v]:A,w(n[v]=function(){return s.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce($,{}))}function M(e){return j(e)&&j(e[v])}var q={};function k(e,r){return function(){return(i={})[e]=r.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[v]||s).call(n,i)}}q[_]=k(_,w),q[o]=q.props=k(o,w),q[b]=q.init=k(b,P),q[y]=k(y,P),q[a]=q[d]=k(a,B),q[u]=q.statics=k(u,w),q[l]=q[g]=k(l,B),q[h]=q.conf=k(h,w),q[m]=q[f]=k(m,B),q[c]=k(c,w),q[p]=k(p,w),s=q[v]=w((function(){for(var e,S,E=0,j=[],O=arguments,$=this;E<O.length;)x(e=O[E++])&&j.push(M(e)?e:((i={})[_]=(S=e)[_]||t,s=S.props,i[o]=x((n=S[o])||s)?w({},s,n):t,i[b]=P(S.init,S[b]),i[y]=P(S[y]),s=S[d],i[a]=x((n=S[a])||s)?B({},s,n):t,i[c]=S[c],s=S.statics,i[u]=x((n=S[u])||s)?w({},s,n):t,s=S[g],i[l]=x((n=S[l])||s)?B({},s,n):t,n=S[p],i[p]=x((s=S.name&&{name:{value:S.name}})||n)?w({},n,s):t,s=S.conf,i[h]=x((n=S[h])||s)?w({},s,n):t,s=S[f],i[m]=x((n=S[m])||s)?B({},s,n):t,i));if(e=A.apply($||r,j),$&&j.unshift($),Array.isArray(O=e[v][y]))for(E=0;E<O.length;)e=M($=O[E++]({stamp:e,composables:j}))?$:e;return e}),q),q.create=function(){return this.apply(t,arguments)},(i={})[u]=q,r=A(i),s[v]=s.bind(),s.version="4.3.2","object"!=typeof t?e.exports=s:self.stampit=s}()},9794:(e,t,n)=>{var s=void 0!==s?s:{},i=function(){var t,i="object"==typeof window?{currentScript:window.document.currentScript}:null;class r{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(s=Object.assign({},s,o),t=new Promise((t=>{var o,a={};for(o in s)s.hasOwnProperty(o)&&(a[o]=s[o]);var c,u,l,p,h=[],m="./this.program",d=function(e,t){throw t};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var g,f,b,_,y,v="";c?(v=p?n(6287).dirname(v)+"/":"//",g=function(e,t){return _||(_=n(5530)),y||(y=n(6287)),e=y.normalize(e),_.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&&(m=process.argv[1].replace(/\\/g,"/")),h=process.argv.slice(2),e.exports=s,d=function(e){process.exit(e)},s.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?h=scriptArgs:void 0!==arguments&&(h=arguments),"function"==typeof quit&&(d=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?v=self.location.href:void 0!==i&&i.currentScript&&(v=i.currentScript.src),v=0!==v.indexOf("blob:")?v.substr(0,v.lastIndexOf("/")+1):"",g=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(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,n){var s=new XMLHttpRequest;s.open("GET",e,!0),s.responseType="arraybuffer",s.onload=function(){200==s.status||0==s.status&&s.response?t(s.response):n()},s.onerror=n,s.send(null)}),s.print||console.log.bind(console);var S=s.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(s[o]=a[o]);a=null,s.arguments&&(h=s.arguments),s.thisProgram&&(m=s.thisProgram),s.quit&&(d=s.quit);var E,w=16,j=[];function x(e,t){if(!E){E=new WeakMap;for(var n=0;n<Z.length;n++){var s=Z.get(n);s&&E.set(s,n)}}if(E.has(e))return E.get(e);var i=function(){if(j.length)return j.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(i,e)}catch(n){if(!(n instanceof TypeError))throw n;var r=function(e,t){if("function"==typeof WebAssembly.Function){for(var n={i:"i32",j:"i64",f:"f32",d:"f64"},s={parameters:[],results:"v"==t[0]?[]:[n[t[0]]]},i=1;i<t.length;++i)s.parameters.push(n[t[i]]);return new WebAssembly.Function(s,e)}var r=[1,0,1,96],o=t.slice(0,1),a=t.slice(1),c={i:127,j:126,f:125,d:124};for(r.push(a.length),i=0;i<a.length;++i)r.push(c[a[i]]);"v"==o?r.push(0):r=r.concat([1,c[o]]),r[1]=r.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(r,[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(i,r)}return E.set(e,i),i}var O,B=s.dynamicLibraries||[];s.wasmBinary&&(O=s.wasmBinary);var P,$=s.noExitRuntime||!0;function A(e,t,n,s){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":N[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:ae("invalid type for setValue: "+n)}}function M(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return N[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:ae("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ae("no native wasm support detected");var q=!1;function k(e,t){e||ae("Assertion failed: "+t)}var C,N,I,T,R,F,V,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function L(e,t,n){for(var s=t+n,i=t;e[i]&&!(i>=s);)++i;if(i-t>16&&e.subarray&&D)return D.decode(e.subarray(t,i));for(var r="";t<i;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)r+=String.fromCharCode(o);else{var u=o-65536;r+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else r+=String.fromCharCode((31&o)<<6|a)}else r+=String.fromCharCode(o)}return r}function J(e,t){return e?L(I,e,t):""}function z(e,t,n,s){if(!(s>0))return 0;for(var i=n,r=n+s-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)),a<=127){if(n>=r)break;t[n++]=a}else if(a<=2047){if(n+1>=r)break;t[n++]=192|a>>6,t[n++]=128|63&a}else if(a<=65535){if(n+2>=r)break;t[n++]=224|a>>12,t[n++]=128|a>>6&63,t[n++]=128|63&a}else{if(n+3>=r)break;t[n++]=240|a>>18,t[n++]=128|a>>12&63,t[n++]=128|a>>6&63,t[n++]=128|63&a}}return t[n]=0,n-i}function U(e,t,n){return z(e,I,t,n)}function W(e){for(var t=0,n=0;n<e.length;++n){var s=e.charCodeAt(n);s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++n)),s<=127?++t:t+=s<=2047?2:s<=65535?3:4}return t}function G(e){var t=W(e)+1,n=Je(t);return z(e,N,n,t),n}function K(e){C=e,s.HEAP8=N=new Int8Array(e),s.HEAP16=T=new Int16Array(e),s.HEAP32=R=new Int32Array(e),s.HEAPU8=I=new Uint8Array(e),s.HEAPU16=new Uint16Array(e),s.HEAPU32=new Uint32Array(e),s.HEAPF32=F=new Float32Array(e),s.HEAPF64=V=new Float64Array(e)}var H=s.INITIAL_MEMORY||33554432;(P=s.wasmMemory?s.wasmMemory:new WebAssembly.Memory({initial:H/65536,maximum:32768}))&&(C=P.buffer),H=C.byteLength,K(C);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),Q=[],X=[],Y=[],ee=[],te=!1,ne=0,se=null,ie=null;function re(e){ne++,s.monitorRunDependencies&&s.monitorRunDependencies(ne)}function oe(e){if(ne--,s.monitorRunDependencies&&s.monitorRunDependencies(ne),0==ne&&(null!==se&&(clearInterval(se),se=null),ie)){var t=ie;ie=null,t()}}function ae(e){throw s.onAbort&&s.onAbort(e),S(e+=""),q=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}s.preloadedImages={},s.preloadedAudios={},s.preloadedWasm={};var ce,ue,le;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function he(e){return e.startsWith("file://")}function me(e){try{if(e==ce&&O)return new Uint8Array(O);if(b)return b(e);throw"both async and sync fetching of the wasm failed"}catch(e){ae(e)}}pe(ce="tree-sitter.wasm")||(ce=function(e){return s.locateFile?s.locateFile(e,v):v+e}(ce));var de={},ge={get:function(e,t){return de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),de[t]}};function fe(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Z.get(n)():Z.get(n)(t.arg):n(void 0===t.arg?null:t.arg)}else t(s)}}function be(e){var t=0;function n(){for(var n=0,s=1;;){var i=e[t++];if(n+=(127&i)*s,s*=128,!(128&i))break}return n}if(e instanceof WebAssembly.Module){var s=WebAssembly.Module.customSections(e,"dylink");k(0!=s.length,"need dylink section"),e=new Int8Array(s[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,n(),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 i={};i.memorySize=n(),i.memoryAlign=n(),i.tableSize=n(),i.tableAlign=n();var r=n();i.neededDynlibs=[];for(var o=0;o<r;++o){var a=n(),c=e.subarray(t,t+a);t+=a;var u=L(c,0);i.neededDynlibs.push(u)}return i}var _e=0;function ye(){return $||_e>0}function ve(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function Se(e,t){for(var n in e)if(e.hasOwnProperty(n)){Re.hasOwnProperty(n)||(Re[n]=e[n]);var i=ve(n);s.hasOwnProperty(i)||(s[i]=e[n])}}var Ee={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var we=5250880;function je(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function xe(e,t){var n={};for(var s in e){var i=e[s];"object"==typeof i&&(i=i.value),"number"==typeof i&&(i+=t),n[s]=i}return function(e){for(var t in e)if(!je(t)){var n=!1,s=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],n=!0),de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(n||0==de[t].value)&&("function"==typeof s?de[t].value=x(s):"number"==typeof s?de[t].value=s:S("unhandled export type for `"+t+"`: "+typeof s))}}(n),n}function Oe(e,t){var n,i;return t&&(n=Re["orig$"+e]),n||(n=Re[e]),n||(n=s[ve(e)]),!n&&e.startsWith("invoke_")&&(i=e.split("_")[1],n=function(){var e=De();try{return function(e,t,n){return e.includes("j")?function(e,t,n){var i=s["dynCall_"+e];return n&&n.length?i.apply(null,[t].concat(n)):i.call(null,t)}(e,t,n):Z.get(t).apply(null,n)}(i,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Le(e),t!==t+0&&"longjmp"!==t)throw t;ze(1,0)}}),n}function Be(e,t){var n=be(e);function s(){var s=Math.pow(2,n.memoryAlign);s=Math.max(s,w);var i,r,o,a=(i=function(e){if(te)return Fe(e);var t=we,n=t+e+15&-16;return we=n,de.__heap_base.value=n,t}(n.memorySize+s),(r=s)||(r=w),Math.ceil(i/r)*r),c=Z.length;Z.grow(n.tableSize);for(var u=a;u<a+n.memorySize;u++)N[u]=0;for(u=c;u<c+n.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return a;case"__table_base":return c}return t in Re?Re[t]:(t in e||(e[t]=function(){return n||(n=function(e){var t=Oe(e,!1);return t||(t=o[e]),t}(t)),n.apply(null,arguments)}),e[t]);var n}}),p={"GOT.mem":new Proxy({},ge),"GOT.func":new Proxy({},ge),env:l,wasi_snapshot_preview1:l};function h(e){for(var s=0;s<n.tableSize;s++){var i=Z.get(c+s);i&&E.set(i,c+s)}o=xe(e.exports,a),t.allowUndefined||$e();var r=o.__wasm_call_ctors;return r||(r=o.__post_instantiate),r&&(te?r():X.push(r)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var m=new WebAssembly.Instance(e,p);return Promise.resolve(h(m))}return WebAssembly.instantiate(e,p).then((function(e){return h(e.instance)}))}var d=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return h(m=new WebAssembly.Instance(d,p))}return t.loadAsync?n.neededDynlibs.reduce((function(e,n){return e.then((function(){return Pe(n,t)}))}),Promise.resolve()).then((function(){return s()})):(n.neededDynlibs.forEach((function(e){Pe(e,t)})),s())}function Pe(e,t){"__main__"!=e||Ee.loadedLibNames[e]||(Ee.loadedLibs[-1]={refcount:1/0,name:"__main__",module:s.asm,global:!0},Ee.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var n,i=Ee.loadedLibNames[e];if(i)return n=Ee.loadedLibs[i],t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&Se(n.module)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,t.loadAsync?Promise.resolve(i):i;function r(e){if(t.fs){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(n)),t.loadAsync?Promise.resolve(n):n}return t.loadAsync?(s=e,fetch(s,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+s+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):b(e);var s}function o(){if(void 0!==s.preloadedWasm&&void 0!==s.preloadedWasm[e]){var n=s.preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?r(e).then((function(e){return Be(e,t)})):Be(r(e),t)}function a(e){n.global&&Se(e),n.module=e}return i=Ee.nextHandle++,n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},Ee.loadedLibNames[e]=i,Ee.loadedLibs[i]=n,t.loadAsync?o().then((function(e){return a(e),i})):(a(o()),i)}function $e(){for(var e in de)if(0==de[e].value){var t=Oe(e,!0);"function"==typeof t?de[e].value=x(t,t.sig):"number"==typeof t?de[e].value=t:k(!1,"bad export type for `"+e+"`: "+typeof t)}}s.___heap_base=we;var Ae,Me=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function qe(){ae()}s._abort=qe,qe.sig="v",Ae=c?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 n;if(0===e)n=Date.now();else{if(1!==e&&4!==e)return 28,R[Ve()>>2]=28,-1;n=Ae()}return R[t>>2]=n/1e3|0,R[t+4>>2]=n%1e3*1e3*1e3|0,0}function Ce(e){try{return P.grow(e-C.byteLength+65535>>>16),K(P.buffer),1}catch(e){}}function Ne(e){Ke(e)}function Ie(e){}ke.sig="iii",Ne.sig="vi",Ie.sig="vi";var Te,Re={__heap_base:we,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Me,__table_base:1,abort:qe,clock_gettime:ke,emscripten_memcpy_big:function(e,t,n){I.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){var t,n=I.length;if((e>>>=0)>2147483648)return!1;for(var s=1;s<=4;s*=2){var i=n*(1+.2/s);if(i=Math.min(i,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,i))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Ne,memory:P,setTempRet0:Ie,tree_sitter_log_callback:function(e,t){if(ut){const n=J(t);ut(n,0!==e)}},tree_sitter_parse_callback:function(e,t,n,s,i){var r=ct(t,{row:n,column:s});"string"==typeof r?(A(i,r.length,"i32"),function(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var s=(n-=2)<2*e.length?n/2:e.length,i=0;i<s;++i){var r=e.charCodeAt(i);T[t>>1]=r,t+=2}T[t>>1]=0}(r,e,10240)):A(i,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 n=e.exports;n=xe(n,1024),s.asm=n;var i,r=be(t);r.neededDynlibs&&(B=r.neededDynlibs.concat(B)),Se(n),i=s.asm.__wasm_call_ctors,X.unshift(i),oe()}function n(e){t(e.instance,e.module)}function i(t){return function(){if(!O&&(l||p)){if("function"==typeof fetch&&!he(ce))return fetch(ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ce+"'";return e.arrayBuffer()})).catch((function(){return me(ce)}));if(f)return new Promise((function(e,t){f(ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return me(ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){S("failed to asynchronously prepare wasm: "+e),ae(e)}))}if(re(),s.instantiateWasm)try{return s.instantiateWasm(e,t)}catch(e){return S("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||pe(ce)||he(ce)||"function"!=typeof fetch?i(n):fetch(ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(e){return S("wasm streaming compile failed: "+e),S("falling back to ArrayBuffer instantiation"),i(n)}))}))}(),s.___wasm_call_ctors=function(){return(s.___wasm_call_ctors=s.asm.__wasm_call_ctors).apply(null,arguments)},s._malloc=function(){return(Fe=s._malloc=s.asm.malloc).apply(null,arguments)}),Ve=(s._calloc=function(){return(s._calloc=s.asm.calloc).apply(null,arguments)},s._realloc=function(){return(s._realloc=s.asm.realloc).apply(null,arguments)},s._free=function(){return(s._free=s.asm.free).apply(null,arguments)},s._ts_language_symbol_count=function(){return(s._ts_language_symbol_count=s.asm.ts_language_symbol_count).apply(null,arguments)},s._ts_language_version=function(){return(s._ts_language_version=s.asm.ts_language_version).apply(null,arguments)},s._ts_language_field_count=function(){return(s._ts_language_field_count=s.asm.ts_language_field_count).apply(null,arguments)},s._ts_language_symbol_name=function(){return(s._ts_language_symbol_name=s.asm.ts_language_symbol_name).apply(null,arguments)},s._ts_language_symbol_for_name=function(){return(s._ts_language_symbol_for_name=s.asm.ts_language_symbol_for_name).apply(null,arguments)},s._ts_language_symbol_type=function(){return(s._ts_language_symbol_type=s.asm.ts_language_symbol_type).apply(null,arguments)},s._ts_language_field_name_for_id=function(){return(s._ts_language_field_name_for_id=s.asm.ts_language_field_name_for_id).apply(null,arguments)},s._memcpy=function(){return(s._memcpy=s.asm.memcpy).apply(null,arguments)},s._ts_parser_delete=function(){return(s._ts_parser_delete=s.asm.ts_parser_delete).apply(null,arguments)},s._ts_parser_reset=function(){return(s._ts_parser_reset=s.asm.ts_parser_reset).apply(null,arguments)},s._ts_parser_set_language=function(){return(s._ts_parser_set_language=s.asm.ts_parser_set_language).apply(null,arguments)},s._ts_parser_timeout_micros=function(){return(s._ts_parser_timeout_micros=s.asm.ts_parser_timeout_micros).apply(null,arguments)},s._ts_parser_set_timeout_micros=function(){return(s._ts_parser_set_timeout_micros=s.asm.ts_parser_set_timeout_micros).apply(null,arguments)},s._memmove=function(){return(s._memmove=s.asm.memmove).apply(null,arguments)},s._memcmp=function(){return(s._memcmp=s.asm.memcmp).apply(null,arguments)},s._ts_query_new=function(){return(s._ts_query_new=s.asm.ts_query_new).apply(null,arguments)},s._ts_query_delete=function(){return(s._ts_query_delete=s.asm.ts_query_delete).apply(null,arguments)},s._iswspace=function(){return(s._iswspace=s.asm.iswspace).apply(null,arguments)},s._iswalnum=function(){return(s._iswalnum=s.asm.iswalnum).apply(null,arguments)},s._ts_query_pattern_count=function(){return(s._ts_query_pattern_count=s.asm.ts_query_pattern_count).apply(null,arguments)},s._ts_query_capture_count=function(){return(s._ts_query_capture_count=s.asm.ts_query_capture_count).apply(null,arguments)},s._ts_query_string_count=function(){return(s._ts_query_string_count=s.asm.ts_query_string_count).apply(null,arguments)},s._ts_query_capture_name_for_id=function(){return(s._ts_query_capture_name_for_id=s.asm.ts_query_capture_name_for_id).apply(null,arguments)},s._ts_query_string_value_for_id=function(){return(s._ts_query_string_value_for_id=s.asm.ts_query_string_value_for_id).apply(null,arguments)},s._ts_query_predicates_for_pattern=function(){return(s._ts_query_predicates_for_pattern=s.asm.ts_query_predicates_for_pattern).apply(null,arguments)},s._ts_tree_copy=function(){return(s._ts_tree_copy=s.asm.ts_tree_copy).apply(null,arguments)},s._ts_tree_delete=function(){return(s._ts_tree_delete=s.asm.ts_tree_delete).apply(null,arguments)},s._ts_init=function(){return(s._ts_init=s.asm.ts_init).apply(null,arguments)},s._ts_parser_new_wasm=function(){return(s._ts_parser_new_wasm=s.asm.ts_parser_new_wasm).apply(null,arguments)},s._ts_parser_enable_logger_wasm=function(){return(s._ts_parser_enable_logger_wasm=s.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},s._ts_parser_parse_wasm=function(){return(s._ts_parser_parse_wasm=s.asm.ts_parser_parse_wasm).apply(null,arguments)},s._ts_language_type_is_named_wasm=function(){return(s._ts_language_type_is_named_wasm=s.asm.ts_language_type_is_named_wasm).apply(null,arguments)},s._ts_language_type_is_visible_wasm=function(){return(s._ts_language_type_is_visible_wasm=s.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},s._ts_tree_root_node_wasm=function(){return(s._ts_tree_root_node_wasm=s.asm.ts_tree_root_node_wasm).apply(null,arguments)},s._ts_tree_edit_wasm=function(){return(s._ts_tree_edit_wasm=s.asm.ts_tree_edit_wasm).apply(null,arguments)},s._ts_tree_get_changed_ranges_wasm=function(){return(s._ts_tree_get_changed_ranges_wasm=s.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},s._ts_tree_cursor_new_wasm=function(){return(s._ts_tree_cursor_new_wasm=s.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},s._ts_tree_cursor_delete_wasm=function(){return(s._ts_tree_cursor_delete_wasm=s.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},s._ts_tree_cursor_reset_wasm=function(){return(s._ts_tree_cursor_reset_wasm=s.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_first_child_wasm=function(){return(s._ts_tree_cursor_goto_first_child_wasm=s.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_next_sibling_wasm=function(){return(s._ts_tree_cursor_goto_next_sibling_wasm=s.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_parent_wasm=function(){return(s._ts_tree_cursor_goto_parent_wasm=s.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_type_id_wasm=function(){return(s._ts_tree_cursor_current_node_type_id_wasm=s.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_is_named_wasm=function(){return(s._ts_tree_cursor_current_node_is_named_wasm=s.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_is_missing_wasm=function(){return(s._ts_tree_cursor_current_node_is_missing_wasm=s.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_id_wasm=function(){return(s._ts_tree_cursor_current_node_id_wasm=s.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},s._ts_tree_cursor_start_position_wasm=function(){return(s._ts_tree_cursor_start_position_wasm=s.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},s._ts_tree_cursor_end_position_wasm=function(){return(s._ts_tree_cursor_end_position_wasm=s.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},s._ts_tree_cursor_start_index_wasm=function(){return(s._ts_tree_cursor_start_index_wasm=s.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},s._ts_tree_cursor_end_index_wasm=function(){return(s._ts_tree_cursor_end_index_wasm=s.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},s._ts_tree_cursor_current_field_id_wasm=function(){return(s._ts_tree_cursor_current_field_id_wasm=s.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_wasm=function(){return(s._ts_tree_cursor_current_node_wasm=s.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},s._ts_node_symbol_wasm=function(){return(s._ts_node_symbol_wasm=s.asm.ts_node_symbol_wasm).apply(null,arguments)},s._ts_node_child_count_wasm=function(){return(s._ts_node_child_count_wasm=s.asm.ts_node_child_count_wasm).apply(null,arguments)},s._ts_node_named_child_count_wasm=function(){return(s._ts_node_named_child_count_wasm=s.asm.ts_node_named_child_count_wasm).apply(null,arguments)},s._ts_node_child_wasm=function(){return(s._ts_node_child_wasm=s.asm.ts_node_child_wasm).apply(null,arguments)},s._ts_node_named_child_wasm=function(){return(s._ts_node_named_child_wasm=s.asm.ts_node_named_child_wasm).apply(null,arguments)},s._ts_node_child_by_field_id_wasm=function(){return(s._ts_node_child_by_field_id_wasm=s.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},s._ts_node_next_sibling_wasm=function(){return(s._ts_node_next_sibling_wasm=s.asm.ts_node_next_sibling_wasm).apply(null,arguments)},s._ts_node_prev_sibling_wasm=function(){return(s._ts_node_prev_sibling_wasm=s.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},s._ts_node_next_named_sibling_wasm=function(){return(s._ts_node_next_named_sibling_wasm=s.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},s._ts_node_prev_named_sibling_wasm=function(){return(s._ts_node_prev_named_sibling_wasm=s.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},s._ts_node_parent_wasm=function(){return(s._ts_node_parent_wasm=s.asm.ts_node_parent_wasm).apply(null,arguments)},s._ts_node_descendant_for_index_wasm=function(){return(s._ts_node_descendant_for_index_wasm=s.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},s._ts_node_named_descendant_for_index_wasm=function(){return(s._ts_node_named_descendant_for_index_wasm=s.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},s._ts_node_descendant_for_position_wasm=function(){return(s._ts_node_descendant_for_position_wasm=s.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},s._ts_node_named_descendant_for_position_wasm=function(){return(s._ts_node_named_descendant_for_position_wasm=s.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},s._ts_node_start_point_wasm=function(){return(s._ts_node_start_point_wasm=s.asm.ts_node_start_point_wasm).apply(null,arguments)},s._ts_node_end_point_wasm=function(){return(s._ts_node_end_point_wasm=s.asm.ts_node_end_point_wasm).apply(null,arguments)},s._ts_node_start_index_wasm=function(){return(s._ts_node_start_index_wasm=s.asm.ts_node_start_index_wasm).apply(null,arguments)},s._ts_node_end_index_wasm=function(){return(s._ts_node_end_index_wasm=s.asm.ts_node_end_index_wasm).apply(null,arguments)},s._ts_node_to_string_wasm=function(){return(s._ts_node_to_string_wasm=s.asm.ts_node_to_string_wasm).apply(null,arguments)},s._ts_node_children_wasm=function(){return(s._ts_node_children_wasm=s.asm.ts_node_children_wasm).apply(null,arguments)},s._ts_node_named_children_wasm=function(){return(s._ts_node_named_children_wasm=s.asm.ts_node_named_children_wasm).apply(null,arguments)},s._ts_node_descendants_of_type_wasm=function(){return(s._ts_node_descendants_of_type_wasm=s.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},s._ts_node_is_named_wasm=function(){return(s._ts_node_is_named_wasm=s.asm.ts_node_is_named_wasm).apply(null,arguments)},s._ts_node_has_changes_wasm=function(){return(s._ts_node_has_changes_wasm=s.asm.ts_node_has_changes_wasm).apply(null,arguments)},s._ts_node_has_error_wasm=function(){return(s._ts_node_has_error_wasm=s.asm.ts_node_has_error_wasm).apply(null,arguments)},s._ts_node_is_missing_wasm=function(){return(s._ts_node_is_missing_wasm=s.asm.ts_node_is_missing_wasm).apply(null,arguments)},s._ts_query_matches_wasm=function(){return(s._ts_query_matches_wasm=s.asm.ts_query_matches_wasm).apply(null,arguments)},s._ts_query_captures_wasm=function(){return(s._ts_query_captures_wasm=s.asm.ts_query_captures_wasm).apply(null,arguments)},s._iswdigit=function(){return(s._iswdigit=s.asm.iswdigit).apply(null,arguments)},s._iswalpha=function(){return(s._iswalpha=s.asm.iswalpha).apply(null,arguments)},s._iswlower=function(){return(s._iswlower=s.asm.iswlower).apply(null,arguments)},s._towupper=function(){return(s._towupper=s.asm.towupper).apply(null,arguments)},s.___errno_location=function(){return(Ve=s.___errno_location=s.asm.__errno_location).apply(null,arguments)}),De=(s._memchr=function(){return(s._memchr=s.asm.memchr).apply(null,arguments)},s._strlen=function(){return(s._strlen=s.asm.strlen).apply(null,arguments)},s.stackSave=function(){return(De=s.stackSave=s.asm.stackSave).apply(null,arguments)}),Le=s.stackRestore=function(){return(Le=s.stackRestore=s.asm.stackRestore).apply(null,arguments)},Je=s.stackAlloc=function(){return(Je=s.stackAlloc=s.asm.stackAlloc).apply(null,arguments)},ze=s._setThrew=function(){return(ze=s._setThrew=s.asm.setThrew).apply(null,arguments)};function Ue(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},s.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(s.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=s.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=s.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=s.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},s.__Znwm=function(){return(s.__Znwm=s.asm._Znwm).apply(null,arguments)},s.__ZdlPv=function(){return(s.__ZdlPv=s.asm._ZdlPv).apply(null,arguments)},s.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(s.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=s.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},s._orig$ts_parser_timeout_micros=function(){return(s._orig$ts_parser_timeout_micros=s.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},s._orig$ts_parser_set_timeout_micros=function(){return(s._orig$ts_parser_set_timeout_micros=s.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},s.allocate=function(e,t){var n;return n=1==t?Je(e.length):Fe(e.length),e.subarray||e.slice?I.set(e,n):I.set(new Uint8Array(e),n),n},ie=function e(){Te||Ge(),Te||(ie=e)};var We=!1;function Ge(e){function t(){Te||(Te=!0,s.calledRun=!0,q||(te=!0,fe(X),fe(Y),s.onRuntimeInitialized&&s.onRuntimeInitialized(),He&&function(e){var t=s._main;if(t){var n=(e=e||[]).length+1,i=Je(4*(n+1));R[i>>2]=G(m);for(var r=1;r<n;r++)R[(i>>2)+r]=G(e[r-1]);R[(i>>2)+n]=0;try{Ke(t(n,i),!0)}catch(e){if(e instanceof Ue)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),S("exception thrown: "+o),d(1,e)}}}(e),function(){if(s.postRun)for("function"==typeof s.postRun&&(s.postRun=[s.postRun]);s.postRun.length;)e=s.postRun.shift(),ee.unshift(e);var e;fe(ee)}()))}e=e||h,ne>0||!We&&(function(){if(B.length){if(!b)return re(),void B.reduce((function(e,t){return e.then((function(){return Pe(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),$e()}));B.forEach((function(e){Pe(e,{global:!0,nodelete:!0,allowUndefined:!0})})),$e()}else $e()}(),We=!0,ne>0)||(function(){if(s.preRun)for("function"==typeof s.preRun&&(s.preRun=[s.preRun]);s.preRun.length;)e=s.preRun.shift(),Q.unshift(e);var e;fe(Q)}(),ne>0||(s.setStatus?(s.setStatus("Running..."),setTimeout((function(){setTimeout((function(){s.setStatus("")}),1),t()}),1)):t()))}function Ke(e,t){t&&ye()&&0===e||(ye()||(s.onExit&&s.onExit(e),q=!0),d(e,new Ue(e)))}if(s.run=Ge,s.preInit)for("function"==typeof s.preInit&&(s.preInit=[s.preInit]);s.preInit.length>0;)s.preInit.pop()();var He=!0;s.noInitialRun&&(He=!1),Ge();const Ze=s,Qe={},Xe=4,Ye=5*Xe,et=2*Xe,tt=2*Xe+2*et,nt={row:0,column:0},st=/[\w-.]*/g,it=/^_?tree_sitter_\w+/;var rt,ot,at,ct,ut;class lt{static init(){at=Ze._ts_init(),rt=M(at,"i32"),ot=M(at+Xe,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=M(at,"i32"),this[1]=M(at+Xe,"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!==dt)throw new Error("Argument must be a Language");{t=e[0];const n=Ze._ts_language_version(t);if(n<ot||rt<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${ot} through ${rt}.`)}}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,n){if("string"==typeof e)ct=(t,n,s)=>e.slice(t,s);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");ct=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 s=0,i=0;if(n&&n.includedRanges){s=n.includedRanges.length;let e=i=Ze._calloc(s,tt);for(let t=0;t<s;t++)Ot(e,n.includedRanges[t]),e+=tt}const r=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,i,s);if(!r)throw ct=null,ut=null,new Error("Parsing failed");const o=new pt(Qe,r,this.language,ct);return ct=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 pt{constructor(e,t,n,s){_t(e),this[0]=t,this.language=n,this.textCallback=s}copy(){const e=Ze._ts_tree_copy(this[0]);return new pt(Qe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=at;jt(t,e.startPosition),jt(t+=et,e.oldEndPosition),jt(t+=et,e.newEndPosition),A(t+=et,e.startIndex,"i32"),A(t+=Xe,e.oldEndIndex,"i32"),A(t+=Xe,e.newEndIndex,"i32"),t+=Xe}(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!==pt)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=M(at,"i32"),n=M(at+Xe,"i32"),s=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)s[n]=Bt(e),e+=tt;Ze._free(n)}return s}}class ht{constructor(e,t){_t(e),this.tree=t}get typeId(){return vt(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return vt(this),Ze._ts_node_end_point_wasm(this.tree[0]),xt(at)}get endIndex(){return vt(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return ft(this.tree,this.startIndex,this.endIndex)}isNamed(){return vt(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return vt(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return vt(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return vt(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return vt(this),Ze._ts_node_child_wasm(this.tree[0],e),St(this.tree)}namedChild(e){return vt(this),Ze._ts_node_named_child_wasm(this.tree[0],e),St(this.tree)}childForFieldId(e){return vt(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 vt(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return vt(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){vt(this),Ze._ts_node_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Xe,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=St(this.tree,n),n+=Ye;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){vt(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Xe,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=St(this.tree,n),n+=Ye;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=nt),n||(n=nt);const s=[],i=this.tree.language.types;for(let t=0,n=i.length;t<n;t++)e.includes(i[t])&&s.push(t);const r=Ze._malloc(Xe*s.length);for(let e=0,t=s.length;e<t;e++)A(r+e*Xe,s[e],"i32");vt(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],r,s.length,t.row,t.column,n.row,n.column);const o=M(at,"i32"),a=M(at+Xe,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=St(this.tree,e),e+=Ye}return Ze._free(a),Ze._free(r),c}get nextSibling(){return vt(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),St(this.tree)}get previousSibling(){return vt(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),St(this.tree)}get nextNamedSibling(){return vt(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),St(this.tree)}get previousNamedSibling(){return vt(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),St(this.tree)}get parent(){return vt(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");vt(this);let n=at+Ye;return A(n,e,"i32"),A(n+Xe,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");vt(this);let n=at+Ye;return A(n,e,"i32"),A(n+Xe,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");vt(this);let n=at+Ye;return jt(n,e),jt(n+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");vt(this);let n=at+Ye;return jt(n,e),jt(n+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),St(this.tree)}walk(){return vt(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new mt(Qe,this.tree)}toString(){vt(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var n=I[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}(e);return Ze._free(e),t}}class mt{constructor(e,t){_t(e),this.tree=t,wt(this)}delete(){Et(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){vt(e),Et(this,at+Ye),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),wt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Et(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Et(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Et(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 Et(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),xt(at)}get endPosition(){return Et(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),xt(at)}get startIndex(){return Et(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Et(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Et(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),St(this.tree)}currentFieldId(){return Et(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Et(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return wt(this),1===e}gotoNextSibling(){Et(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return wt(this),1===e}gotoParent(){Et(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return wt(this),1===e}}class dt{constructor(e,t){_t(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 n=W(e),s=Ze._malloc(n+1);U(e,s,n+1);const i=Ze._ts_language_symbol_for_name(this[0],s,n,t);return Ze._free(s),i||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),n=Ze._malloc(t+1);U(e,n,t+1);const s=Ze._ts_query_new(this[0],n,t,at,at+Xe);if(!s){const t=M(at+Xe,"i32"),s=J(n,M(at,"i32")).length,i=e.substr(s,100).split("\n")[0];let r,o=i.match(st)[0];switch(t){case 2:r=new RangeError(`Bad node name '${o}'`);break;case 3:r=new RangeError(`Bad field name '${o}'`);break;case 4:r=new RangeError(`Bad capture name @${o}`);break;case 5:r=new TypeError(`Bad pattern structure at offset ${s}: '${i}'...`),o="";break;default:r=new SyntaxError(`Bad syntax at offset ${s}: '${i}'...`),o=""}throw r.index=s,r.length=o.length,Ze._free(n),r}const i=Ze._ts_query_string_count(s),r=Ze._ts_query_capture_count(s),o=Ze._ts_query_pattern_count(s),a=new Array(r),c=new Array(i);for(let e=0;e<r;e++){const t=Ze._ts_query_capture_name_for_id(s,e,at),n=M(at,"i32");a[e]=J(t,n)}for(let e=0;e<i;e++){const t=Ze._ts_query_string_value_for_id(s,e,at),n=M(at,"i32");c[e]=J(t,n)}const u=new Array(o),l=new Array(o),p=new Array(o),h=new Array(o),m=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(s,e,at),n=M(at,"i32");h[e]=[],m[e]=[];const i=[];let r=t;for(let t=0;t<n;t++){const t=M(r,"i32"),n=M(r+=Xe,"i32");if(r+=Xe,1===t)i.push({type:"capture",name:a[n]});else if(2===t)i.push({type:"string",value:c[n]});else if(i.length>0){if("string"!==i[0].type)throw new Error("Predicates must begin with a literal value");const t=i[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==i.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(i.length-1));if("capture"!==i[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${i[1].value}"`);if("capture"===i[2].type){const t=i[1].name,s=i[2].name;m[e].push((function(e){let i,r;for(const n of e)n.name===t&&(i=n.node),n.name===s&&(r=n.node);return void 0===i||void 0===r||i.text===r.text===n}))}else{const t=i[1].name,s=i[2].value;m[e].push((function(e){for(const i of e)if(i.name===t)return i.node.text===s===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==i.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${i.length-1}.`);if("capture"!==i[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${i[1].value}".`);if("string"!==i[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${i[2].value}.`);const s=i[1].name,r=new RegExp(i[2].value);m[e].push((function(e){for(const t of e)if(t.name===s)return r.test(t.node.text)===n;return!0}));break;case"set!":if(i.length<2||i.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${i.length-1}.`);if(i.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][i[1].value]=i[2]?i[2].value:null;break;case"is?":case"is-not?":if(i.length<2||i.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${i.length-1}.`);if(i.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][i[1].value]=i[2]?i[2].value:null;break;default:h[e].push({operator:t,operands:i.slice(1)})}i.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return Ze._free(n),new gt(Qe,s,a,m,h,Object.freeze(u),Object.freeze(l),Object.freeze(p))}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=n(5530);t=Promise.resolve(e.readFileSync(s))}else t=fetch(s).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}))))}const s="function"==typeof loadSideModule?loadSideModule:Be;return t.then((e=>s(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>it.test(e)&&!e.includes("external_scanner_")));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const s=e[n]();return new dt(Qe,s)}))}}class gt{constructor(e,t,n,s,i,r,o,a){_t(e),this[0]=t,this.captureNames=n,this.textPredicates=s,this.predicates=i,this.setProperties=r,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,s){t||(t=nt),n||(n=nt),s||(s={});let i=s.matchLimit;if(void 0===i)i=0;else if("number"!=typeof i)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,i);const r=M(at,"i32"),o=M(at+Xe,"i32"),a=M(at+2*Xe,"i32"),c=new Array(r);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<r;t++){const n=M(l,"i32"),s=M(l+=Xe,"i32");l+=Xe;const i=new Array(s);if(l=bt(this,e.tree,l,i),this.textPredicates[n].every((e=>e(i)))){c[u++]={pattern:n,captures:i};const e=this.setProperties[n];e&&(c[t].setProperties=e);const s=this.assertedProperties[n];s&&(c[t].assertedProperties=s);const r=this.refutedProperties[n];r&&(c[t].refutedProperties=r)}}return c.length=u,Ze._free(o),c}captures(e,t,n,s){t||(t=nt),n||(n=nt),s||(s={});let i=s.matchLimit;if(void 0===i)i=0;else if("number"!=typeof i)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,i);const r=M(at,"i32"),o=M(at+Xe,"i32"),a=M(at+2*Xe,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<r;t++){const t=M(l,"i32"),n=M(l+=Xe,"i32"),s=M(l+=Xe,"i32");if(l+=Xe,u.length=n,l=bt(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[s],n=this.setProperties[t];n&&(e.setProperties=n);const i=this.assertedProperties[t];i&&(e.assertedProperties=i);const r=this.refutedProperties[t];r&&(e.refutedProperties=r),c.push(e)}}return Ze._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function ft(e,t,n){const s=n-t;let i=e.textCallback(t,null,n);for(t+=i.length;t<n;){const s=e.textCallback(t,null,n);if(!(s&&s.length>0))break;t+=s.length,i+=s}return t>n&&(i=i.slice(0,s)),i}function bt(e,t,n,s){for(let i=0,r=s.length;i<r;i++){const r=M(n,"i32"),o=St(t,n+=Xe);n+=Ye,s[i]={name:e.captureNames[r],node:o}}return n}function _t(e){if(e!==Qe)throw new Error("Illegal constructor")}function yt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function vt(e){let t=at;A(t,e.id,"i32"),A(t+=Xe,e.startIndex,"i32"),A(t+=Xe,e.startPosition.row,"i32"),A(t+=Xe,e.startPosition.column,"i32"),A(t+=Xe,e[0],"i32")}function St(e,t=at){const n=M(t,"i32");if(0===n)return null;const s=M(t+=Xe,"i32"),i=M(t+=Xe,"i32"),r=M(t+=Xe,"i32"),o=M(t+=Xe,"i32"),a=new ht(Qe,e);return a.id=n,a.startIndex=s,a.startPosition={row:i,column:r},a[0]=o,a}function Et(e,t=at){A(t+0*Xe,e[0],"i32"),A(t+1*Xe,e[1],"i32"),A(t+2*Xe,e[2],"i32")}function wt(e){e[0]=M(at+0*Xe,"i32"),e[1]=M(at+1*Xe,"i32"),e[2]=M(at+2*Xe,"i32")}function jt(e,t){A(e,t.row,"i32"),A(e+Xe,t.column,"i32")}function xt(e){return{row:M(e,"i32"),column:M(e+Xe,"i32")}}function Ot(e,t){jt(e,t.startPosition),jt(e+=et,t.endPosition),A(e+=et,t.startIndex,"i32"),A(e+=Xe,t.endIndex,"i32"),e+=Xe}function Bt(e){const t={};return t.startPosition=xt(e),e+=et,t.endPosition=xt(e),e+=et,t.startIndex=M(e,"i32"),e+=Xe,t.endIndex=M(e,"i32"),t}for(const e of Object.getOwnPropertyNames(lt.prototype))Object.defineProperty(r.prototype,e,{value:lt.prototype[e],enumerable:!1,writable:!1});r.Language=dt,s.onRuntimeInitialized=()=>{lt.init(),t()}})))}}return r}();e.exports=i},5530:()=>{},6287:()=>{},1427:(e,t,n)=>{e.exports=n(1125)},1681:(e,t,n)=>{"use strict";var s=n(7497);e.exports=s},3258:(e,t,n)=>{"use strict";n(2777),n(733),n(1835),n(6449),n(9383);var s=n(8422);e.exports=s.AggregateError},1125:(e,t,n)=>{"use strict";e.exports=n(3985)},3985:(e,t,n)=>{"use strict";n(3584);var s=n(1681);e.exports=s},5375:(e,t,n)=>{"use strict";var s=n(8563),i=n(5787),r=TypeError;e.exports=function(e){if(s(e))return e;throw new r(i(e)+" is not a function")}},692:(e,t,n)=>{"use strict";var s=n(8563),i=String,r=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw new r("Can't set "+i(e)+" as a prototype")}},7171:e=>{"use strict";e.exports=function(){}},457:(e,t,n)=>{"use strict";var s=n(8257),i=String,r=TypeError;e.exports=function(e){if(s(e))return e;throw new r(i(e)+" is not an object")}},3346:(e,t,n)=>{"use strict";var s=n(4312),i=n(1940),r=n(8960),o=function(e){return function(t,n,o){var a,c=s(t),u=r(c),l=i(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},88:(e,t,n)=>{"use strict";var s=n(8814),i=s({}.toString),r=s("".slice);e.exports=function(e){return r(i(e),8,-1)}},2327:(e,t,n)=>{"use strict";var s=n(6694),i=n(8563),r=n(88),o=n(379)("toStringTag"),a=Object,c="Arguments"===r(function(){return arguments}());e.exports=s?r:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?r(t):"Object"===(s=r(t))&&i(t.callee)?"Arguments":s}},1318:(e,t,n)=>{"use strict";var s=n(3941),i=n(5956),r=n(3335),o=n(4376);e.exports=function(e,t,n){for(var a=i(t),c=o.f,u=r.f,l=0;l<a.length;l++){var p=a[l];s(e,p)||n&&s(n,p)||c(e,p,u(t,p))}}},8536:(e,t,n)=>{"use strict";var s=n(2998);e.exports=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9497:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},1370:(e,t,n)=>{"use strict";var s=n(1815),i=n(4376),r=n(7971);e.exports=s?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},7971:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4500:(e,t,n)=>{"use strict";var s=n(1370);e.exports=function(e,t,n,i){return i&&i.enumerable?e[t]=n:s(e,t,n),e}},8194:(e,t,n)=>{"use strict";var s=n(8426),i=Object.defineProperty;e.exports=function(e,t){try{i(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}},1815:(e,t,n)=>{"use strict";var s=n(2998);e.exports=!s((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5361:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},6327:(e,t,n)=>{"use strict";var s=n(8426),i=n(8257),r=s.document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},8987: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}},9954:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5057:(e,t,n)=>{"use strict";var s,i,r=n(8426),o=n(9954),a=r.process,c=r.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(i=(s=l.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!i&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(i=+s[1]),e.exports=i},8573:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4456:(e,t,n)=>{"use strict";var s=n(8814),i=Error,r=s("".replace),o=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=r(e,a,"");return e}},4151:(e,t,n)=>{"use strict";var s=n(1370),i=n(4456),r=n(5111),o=Error.captureStackTrace;e.exports=function(e,t,n,a){r&&(o?o(e,t):s(e,"stack",i(n,a)))}},5111:(e,t,n)=>{"use strict";var s=n(2998),i=n(7971);e.exports=!s((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},9011:(e,t,n)=>{"use strict";var s=n(8426),i=n(4877),r=n(9730),o=n(8563),a=n(3335).f,c=n(8722),u=n(8422),l=n(1207),p=n(1370),h=n(3941),m=function(e){var t=function(n,s,r){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,s)}return new e(n,s,r)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,i,d,g,f,b,_,y,v,S=e.target,E=e.global,w=e.stat,j=e.proto,x=E?s:w?s[S]:(s[S]||{}).prototype,O=E?u:u[S]||p(u,S,{})[S],B=O.prototype;for(g in t)i=!(n=c(E?g:S+(w?".":"#")+g,e.forced))&&x&&h(x,g),b=O[g],i&&(_=e.dontCallGetSet?(v=a(x,g))&&v.value:x[g]),f=i&&_?_:t[g],i&&typeof b==typeof f||(y=e.bind&&i?l(f,s):e.wrap&&i?m(f):j&&o(f)?r(f):f,(e.sham||f&&f.sham||b&&b.sham)&&p(y,"sham",!0),p(O,g,y),j&&(h(u,d=S+"Prototype")||p(u,d,{}),p(u[d],g,f),e.real&&B&&(n||!B[g])&&p(B,g,f)))}},2998:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},4877:(e,t,n)=>{"use strict";var s=n(5083),i=Function.prototype,r=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(s?o.bind(r):function(){return o.apply(r,arguments)})},1207:(e,t,n)=>{"use strict";var s=n(9730),i=n(5375),r=n(5083),o=s(s.bind);e.exports=function(e,t){return i(e),void 0===t?e:r?o(e,t):function(){return e.apply(t,arguments)}}},5083:(e,t,n)=>{"use strict";var s=n(2998);e.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},200:(e,t,n)=>{"use strict";var s=n(5083),i=Function.prototype.call;e.exports=s?i.bind(i):function(){return i.apply(i,arguments)}},5339:(e,t,n)=>{"use strict";var s=n(1815),i=n(3941),r=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,a=i(r,"name"),c=a&&"something"===function(){}.name,u=a&&(!s||s&&o(r,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},2799:(e,t,n)=>{"use strict";var s=n(8814),i=n(5375);e.exports=function(e,t,n){try{return s(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},9730:(e,t,n)=>{"use strict";var s=n(88),i=n(8814);e.exports=function(e){if("Function"===s(e))return i(e)}},8814:(e,t,n)=>{"use strict";var s=n(5083),i=Function.prototype,r=i.call,o=s&&i.bind.bind(r,r);e.exports=s?o:function(e){return function(){return r.apply(e,arguments)}}},6589:(e,t,n)=>{"use strict";var s=n(8422),i=n(8426),r=n(8563),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(s[e])||o(i[e]):s[e]&&s[e][t]||i[e]&&i[e][t]}},2630:(e,t,n)=>{"use strict";var s=n(2327),i=n(2833),r=n(5157),o=n(2444),a=n(379)("iterator");e.exports=function(e){if(!r(e))return i(e,a)||i(e,"@@iterator")||o[s(e)]}},1291:(e,t,n)=>{"use strict";var s=n(200),i=n(5375),r=n(457),o=n(5787),a=n(2630),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(i(n))return r(s(n,e));throw new c(o(e)+" is not iterable")}},2833:(e,t,n)=>{"use strict";var s=n(5375),i=n(5157);e.exports=function(e,t){var n=e[t];return i(n)?void 0:s(n)}},8426:function(e,t,n){"use strict";var s=function(e){return e&&e.Math===Math&&e};e.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||s("object"==typeof this&&this)||function(){return this}()||Function("return this")()},3941:(e,t,n)=>{"use strict";var s=n(8814),i=n(8389),r=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(i(e),t)}},3006:e=>{"use strict";e.exports={}},4812:(e,t,n)=>{"use strict";var s=n(6589);e.exports=s("document","documentElement")},4632:(e,t,n)=>{"use strict";var s=n(1815),i=n(2998),r=n(6327);e.exports=!s&&!i((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},6541:(e,t,n)=>{"use strict";var s=n(8814),i=n(2998),r=n(88),o=Object,a=s("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?a(e,""):o(e)}:o},9330:(e,t,n)=>{"use strict";var s=n(8563),i=n(8257),r=n(8597);e.exports=function(e,t,n){var o,a;return r&&s(o=t.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&r(e,a),e}},1609:(e,t,n)=>{"use strict";var s=n(8257),i=n(1370);e.exports=function(e,t){s(t)&&"cause"in t&&i(e,"cause",t.cause)}},8551:(e,t,n)=>{"use strict";var s,i,r,o=n(8268),a=n(8426),c=n(8257),u=n(1370),l=n(3941),p=n(6028),h=n(5430),m=n(3006),d="Object already initialized",g=a.TypeError,f=a.WeakMap;if(o||p.state){var b=p.state||(p.state=new f);b.get=b.get,b.has=b.has,b.set=b.set,s=function(e,t){if(b.has(e))throw new g(d);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},r=function(e){return b.has(e)}}else{var _=h("state");m[_]=!0,s=function(e,t){if(l(e,_))throw new g(d);return t.facade=e,u(e,_,t),t},i=function(e){return l(e,_)?e[_]:{}},r=function(e){return l(e,_)}}e.exports={set:s,get:i,has:r,enforce:function(e){return r(e)?i(e):s(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return n}}}},2576:(e,t,n)=>{"use strict";var s=n(379),i=n(2444),r=s("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},8563:(e,t,n)=>{"use strict";var s=n(5361),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},8722:(e,t,n)=>{"use strict";var s=n(2998),i=n(8563),r=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n===l||n!==u&&(i(t)?s(t):!!t)},a=o.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5157:e=>{"use strict";e.exports=function(e){return null==e}},8257:(e,t,n)=>{"use strict";var s=n(8563),i=n(5361),r=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===r}:function(e){return"object"==typeof e?null!==e:s(e)}},7736:e=>{"use strict";e.exports=!0},6753:(e,t,n)=>{"use strict";var s=n(6589),i=n(8563),r=n(7367),o=n(9378),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return i(t)&&r(t.prototype,a(e))}},3490:(e,t,n)=>{"use strict";var s=n(1207),i=n(200),r=n(457),o=n(5787),a=n(2576),c=n(8960),u=n(7367),l=n(1291),p=n(2630),h=n(6889),m=TypeError,d=function(e,t){this.stopped=e,this.result=t},g=d.prototype;e.exports=function(e,t,n){var f,b,_,y,v,S,E,w=n&&n.that,j=!(!n||!n.AS_ENTRIES),x=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),B=!(!n||!n.INTERRUPTED),P=s(t,w),$=function(e){return f&&h(f,"normal",e),new d(!0,e)},A=function(e){return j?(r(e),B?P(e[0],e[1],$):P(e[0],e[1])):B?P(e,$):P(e)};if(x)f=e.iterator;else if(O)f=e;else{if(!(b=p(e)))throw new m(o(e)+" is not iterable");if(a(b)){for(_=0,y=c(e);y>_;_++)if((v=A(e[_]))&&u(g,v))return v;return new d(!1)}f=l(e,b)}for(S=x?e.next:f.next;!(E=i(S,f)).done;){try{v=A(E.value)}catch(e){h(f,"throw",e)}if("object"==typeof v&&v&&u(g,v))return v}return new d(!1)}},6889:(e,t,n)=>{"use strict";var s=n(200),i=n(457),r=n(2833);e.exports=function(e,t,n){var o,a;i(e);try{if(!(o=r(e,"return"))){if("throw"===t)throw n;return n}o=s(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return i(o),n}},7323:(e,t,n)=>{"use strict";var s=n(374).IteratorPrototype,i=n(1504),r=n(7971),o=n(9468),a=n(2444),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=i(s,{next:r(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5994:(e,t,n)=>{"use strict";var s=n(9011),i=n(200),r=n(7736),o=n(5339),a=n(8563),c=n(7323),u=n(9814),l=n(8597),p=n(9468),h=n(1370),m=n(4500),d=n(379),g=n(2444),f=n(374),b=o.PROPER,_=o.CONFIGURABLE,y=f.IteratorPrototype,v=f.BUGGY_SAFARI_ITERATORS,S=d("iterator"),E="keys",w="values",j="entries",x=function(){return this};e.exports=function(e,t,n,o,d,f,O){c(n,t,o);var B,P,$,A=function(e){if(e===d&&N)return N;if(!v&&e&&e in k)return k[e];switch(e){case E:case w:case j:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",q=!1,k=e.prototype,C=k[S]||k["@@iterator"]||d&&k[d],N=!v&&C||A(d),I="Array"===t&&k.entries||C;if(I&&(B=u(I.call(new e)))!==Object.prototype&&B.next&&(r||u(B)===y||(l?l(B,y):a(B[S])||m(B,S,x)),p(B,M,!0,!0),r&&(g[M]=x)),b&&d===w&&C&&C.name!==w&&(!r&&_?h(k,"name",w):(q=!0,N=function(){return i(C,this)})),d)if(P={values:A(w),keys:f?N:A(E),entries:A(j)},O)for($ in P)(v||q||!($ in k))&&m(k,$,P[$]);else s({target:t,proto:!0,forced:v||q},P);return r&&!O||k[S]===N||m(k,S,N,{name:d}),g[t]=N,P}},374:(e,t,n)=>{"use strict";var s,i,r,o=n(2998),a=n(8563),c=n(8257),u=n(1504),l=n(9814),p=n(4500),h=n(379),m=n(7736),d=h("iterator"),g=!1;[].keys&&("next"in(r=[].keys())?(i=l(l(r)))!==Object.prototype&&(s=i):g=!0),!c(s)||o((function(){var e={};return s[d].call(e)!==e}))?s={}:m&&(s=u(s)),a(s[d])||p(s,d,(function(){return this})),e.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:g}},2444:e=>{"use strict";e.exports={}},8960:(e,t,n)=>{"use strict";var s=n(9261);e.exports=function(e){return s(e.length)}},5703:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},5517:(e,t,n)=>{"use strict";var s=n(4809);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:s(e)}},1504:(e,t,n)=>{"use strict";var s,i=n(457),r=n(8253),o=n(8573),a=n(3006),c=n(4812),u=n(6327),l=n(5430),p="prototype",h="script",m=l("IE_PROTO"),d=function(){},g=function(e){return"<"+h+">"+e+"</"+h+">"},f=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;b="undefined"!=typeof document?document.domain&&s?f(s):(t=u("iframe"),n="java"+h+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):f(s);for(var i=o.length;i--;)delete b[p][o[i]];return b()};a[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d[p]=i(e),n=new d,d[p]=null,n[m]=e):n=b(),void 0===t?n:r.f(n,t)}},8253:(e,t,n)=>{"use strict";var s=n(1815),i=n(4210),r=n(4376),o=n(457),a=n(4312),c=n(4230);t.f=s&&!i?Object.defineProperties:function(e,t){o(e);for(var n,s=a(t),i=c(t),u=i.length,l=0;u>l;)r.f(e,n=i[l++],s[n]);return e}},4376:(e,t,n)=>{"use strict";var s=n(1815),i=n(4632),r=n(4210),o=n(457),a=n(9722),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",m="writable";t.f=s?r?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var s=l(e,t);s&&s[m]&&(e[t]=n.value,n={configurable:h in n?n[h]:s[h],enumerable:p in n?n[p]:s[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},3335:(e,t,n)=>{"use strict";var s=n(1815),i=n(200),r=n(2886),o=n(7971),a=n(4312),c=n(9722),u=n(3941),l=n(4632),p=Object.getOwnPropertyDescriptor;t.f=s?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!i(r.f,e,t),e[t])}},4243:(e,t,n)=>{"use strict";var s=n(4062),i=n(8573).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,i)}},2306:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9814:(e,t,n)=>{"use strict";var s=n(3941),i=n(8563),r=n(8389),o=n(5430),a=n(8536),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=r(e);if(s(t,c))return t[c];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},7367:(e,t,n)=>{"use strict";var s=n(8814);e.exports=s({}.isPrototypeOf)},4062:(e,t,n)=>{"use strict";var s=n(8814),i=n(3941),r=n(4312),o=n(3346).indexOf,a=n(3006),c=s([].push);e.exports=function(e,t){var n,s=r(e),u=0,l=[];for(n in s)!i(a,n)&&i(s,n)&&c(l,n);for(;t.length>u;)i(s,n=t[u++])&&(~o(l,n)||c(l,n));return l}},4230:(e,t,n)=>{"use strict";var s=n(4062),i=n(8573);e.exports=Object.keys||function(e){return s(e,i)}},2886:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,i=s&&!n.call({1:2},1);t.f=i?function(e){var t=s(this,e);return!!t&&t.enumerable}:n},8597:(e,t,n)=>{"use strict";var s=n(2799),i=n(457),r=n(692);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=s(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return i(n),r(s),t?e(n,s):n.__proto__=s,n}}():void 0)},3024:(e,t,n)=>{"use strict";var s=n(6694),i=n(2327);e.exports=s?{}.toString:function(){return"[object "+i(this)+"]"}},2483:(e,t,n)=>{"use strict";var s=n(200),i=n(8563),r=n(8257),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!r(a=s(n,e)))return a;if(i(n=e.valueOf)&&!r(a=s(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!r(a=s(n,e)))return a;throw new o("Can't convert object to primitive value")}},5956:(e,t,n)=>{"use strict";var s=n(6589),i=n(8814),r=n(4243),o=n(2306),a=n(457),c=i([].concat);e.exports=s("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=o.f;return n?c(t,n(e)):t}},8422:e=>{"use strict";e.exports={}},3142:(e,t,n)=>{"use strict";var s=n(4376).f;e.exports=function(e,t,n){n in e||s(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},8280:(e,t,n)=>{"use strict";var s=n(5157),i=TypeError;e.exports=function(e){if(s(e))throw new i("Can't call method on "+e);return e}},9468:(e,t,n)=>{"use strict";var s=n(6694),i=n(4376).f,r=n(1370),o=n(3941),a=n(3024),c=n(379)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||i(l,c,{configurable:!0,value:t}),u&&!s&&r(l,"toString",a)}}},5430:(e,t,n)=>{"use strict";var s=n(3771),i=n(9216),r=s("keys");e.exports=function(e){return r[e]||(r[e]=i(e))}},6028:(e,t,n)=>{"use strict";var s=n(8426),i=n(8194),r="__core-js_shared__",o=s[r]||i(r,{});e.exports=o},3771:(e,t,n)=>{"use strict";var s=n(7736),i=n(6028);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.3",mode:s?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},7415:(e,t,n)=>{"use strict";var s=n(8814),i=n(1061),r=n(4809),o=n(8280),a=s("".charAt),c=s("".charCodeAt),u=s("".slice),l=function(e){return function(t,n){var s,l,p=r(o(t)),h=i(n),m=p.length;return h<0||h>=m?e?"":void 0:(s=c(p,h))<55296||s>56319||h+1===m||(l=c(p,h+1))<56320||l>57343?e?a(p,h):s:e?u(p,h,h+2):l-56320+(s-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},3772:(e,t,n)=>{"use strict";var s=n(5057),i=n(2998),r=n(8426).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},1940:(e,t,n)=>{"use strict";var s=n(1061),i=Math.max,r=Math.min;e.exports=function(e,t){var n=s(e);return n<0?i(n+t,0):r(n,t)}},4312:(e,t,n)=>{"use strict";var s=n(6541),i=n(8280);e.exports=function(e){return s(i(e))}},1061:(e,t,n)=>{"use strict";var s=n(5703);e.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}},9261:(e,t,n)=>{"use strict";var s=n(1061),i=Math.min;e.exports=function(e){return e>0?i(s(e),9007199254740991):0}},8389:(e,t,n)=>{"use strict";var s=n(8280),i=Object;e.exports=function(e){return i(s(e))}},6561:(e,t,n)=>{"use strict";var s=n(200),i=n(8257),r=n(6753),o=n(2833),a=n(2483),c=n(379),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!i(e)||r(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=s(c,e,t),!i(n)||r(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},9722:(e,t,n)=>{"use strict";var s=n(6561),i=n(6753);e.exports=function(e){var t=s(e,"string");return i(t)?t:t+""}},6694:(e,t,n)=>{"use strict";var s={};s[n(379)("toStringTag")]="z",e.exports="[object z]"===String(s)},4809:(e,t,n)=>{"use strict";var s=n(2327),i=String;e.exports=function(e){if("Symbol"===s(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},5787:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9216:(e,t,n)=>{"use strict";var s=n(8814),i=0,r=Math.random(),o=s(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+r,36)}},9378:(e,t,n)=>{"use strict";var s=n(3772);e.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4210:(e,t,n)=>{"use strict";var s=n(1815),i=n(2998);e.exports=s&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8268:(e,t,n)=>{"use strict";var s=n(8426),i=n(8563),r=s.WeakMap;e.exports=i(r)&&/native code/.test(String(r))},379:(e,t,n)=>{"use strict";var s=n(8426),i=n(3771),r=n(3941),o=n(9216),a=n(3772),c=n(9378),u=s.Symbol,l=i("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return r(l,e)||(l[e]=a&&r(u,e)?u[e]:p("Symbol."+e)),l[e]}},9791:(e,t,n)=>{"use strict";var s=n(6589),i=n(3941),r=n(1370),o=n(7367),a=n(8597),c=n(1318),u=n(3142),l=n(9330),p=n(5517),h=n(1609),m=n(4151),d=n(1815),g=n(7736);e.exports=function(e,t,n,f){var b="stackTraceLimit",_=f?2:1,y=e.split("."),v=y[y.length-1],S=s.apply(null,y);if(S){var E=S.prototype;if(!g&&i(E,"cause")&&delete E.cause,!n)return S;var w=s("Error"),j=t((function(e,t){var n=p(f?t:e,void 0),s=f?new S(e):new S;return void 0!==n&&r(s,"message",n),m(s,j,s.stack,2),this&&o(E,this)&&l(s,this,j),arguments.length>_&&h(s,arguments[_]),s}));if(j.prototype=E,"Error"!==v?a?a(j,w):c(j,w,{name:!0}):d&&b in S&&(u(j,S,b),u(j,S,"prepareStackTrace")),c(j,S),!g)try{E.name!==v&&r(E,"name",v),E.constructor=j}catch(e){}return j}}},1835:(e,t,n)=>{"use strict";var s=n(9011),i=n(6589),r=n(4877),o=n(2998),a=n(9791),c="AggregateError",u=i(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));s({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,n){return r(e,this,arguments)}}),l,!0)})},1320:(e,t,n)=>{"use strict";var s=n(9011),i=n(7367),r=n(9814),o=n(8597),a=n(1318),c=n(1504),u=n(1370),l=n(7971),p=n(1609),h=n(4151),m=n(3490),d=n(5517),g=n(379)("toStringTag"),f=Error,b=[].push,_=function(e,t){var n,s=i(y,this);o?n=o(new f,s?r(this):y):(n=s?this:c(y),u(n,g,"Error")),void 0!==t&&u(n,"message",d(t)),h(n,_,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return m(e,b,{that:a}),u(n,"errors",a),n};o?o(_,f):a(_,f,{name:!0});var y=_.prototype=c(f.prototype,{constructor:l(1,_),message:l(1,""),name:l(1,"AggregateError")});s({global:!0,constructor:!0,arity:2},{AggregateError:_})},733:(e,t,n)=>{"use strict";n(1320)},6449:(e,t,n)=>{"use strict";var s=n(4312),i=n(7171),r=n(2444),o=n(8551),a=n(4376).f,c=n(5994),u=n(9497),l=n(7736),p=n(1815),h="Array Iterator",m=o.set,d=o.getterFor(h);e.exports=c(Array,"Array",(function(e,t){m(this,{type:h,target:s(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var g=r.Arguments=r.Array;if(i("keys"),i("values"),i("entries"),!l&&p&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},2777:(e,t,n)=>{"use strict";var s=n(9011),i=n(8426),r=n(4877),o=n(9791),a="WebAssembly",c=i[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),s({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,u),s({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return r(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return r(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return r(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return r(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return r(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return r(e,this,arguments)}})),l("URIError",(function(e){return function(t){return r(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return r(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return r(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return r(e,this,arguments)}}))},9383:(e,t,n)=>{"use strict";var s=n(7415).charAt,i=n(4809),r=n(8551),o=n(5994),a=n(9497),c="String Iterator",u=r.set,l=r.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?a(void 0,!0):(e=s(n,i),t.index+=e.length,a(e,!1))}))},3584:(e,t,n)=>{"use strict";n(733)},6128:(e,t,n)=>{"use strict";n(6449);var s=n(8987),i=n(8426),r=n(2327),o=n(1370),a=n(2444),c=n(379)("toStringTag");for(var u in s){var l=i[u],p=l&&l.prototype;p&&r(p)!==c&&o(p,c,u),a[u]=a.Array}},7497:(e,t,n)=>{"use strict";n(3584);var s=n(3258);n(6128),e.exports=s}},t={};function n(s){var i=t[s];if(void 0!==i)return i.exports;var r=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var s=t.getElementsByTagName("script");if(s.length)for(var i=s.length-1;i>-1&&!e;)e=s[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var s={};return(()=>{"use strict";n.r(s),n.d(s,{detect:()=>Qf,detectionRegExp:()=>Zf,mediaTypes:()=>Hf,namespace:()=>Yf,parse:()=>Xf});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>on,includesClasses:()=>cn,includesSymbols:()=>an,isAnnotationElement:()=>en,isArrayElement:()=>Zt,isBooleanElement:()=>Kt,isCommentElement:()=>tn,isElement:()=>zt,isLinkElement:()=>Xt,isMemberElement:()=>Qt,isNullElement:()=>Gt,isNumberElement:()=>Wt,isObjectElement:()=>Ht,isParseResultElement:()=>nn,isPrimitiveElement:()=>rn,isRefElement:()=>Yt,isSourceMapElement:()=>sn,isStringElement:()=>Ut});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Rr,isJSONSchemaElement:()=>Tr,isLinkDescriptionElement:()=>Vr,isMediaElement:()=>Fr});var i={};n.r(i),n.d(i,{isJSONReferenceElement:()=>Rr,isJSONSchemaElement:()=>so,isLinkDescriptionElement:()=>io,isMediaElement:()=>Fr});var r={};n.r(r),n.d(r,{isJSONReferenceElement:()=>Rr,isJSONSchemaElement:()=>nc,isLinkDescriptionElement:()=>sc});var o={};function a(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function c(e){return function t(n){return 0===arguments.length||a(n)?t:e.apply(this,arguments)}}function u(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return a(n)?t:c((function(t){return e(n,t)}));default:return a(n)&&a(s)?t:a(n)?c((function(t){return e(t,s)})):a(s)?c((function(t){return e(n,t)})):e(n,s)}}}function l(e){return function t(n,s,i){switch(arguments.length){case 0:return t;case 1:return a(n)?t:u((function(t,s){return e(n,t,s)}));case 2:return a(n)&&a(s)?t:a(n)?u((function(t,n){return e(t,s,n)})):a(s)?u((function(t,s){return e(n,t,s)})):c((function(t){return e(n,s,t)}));default:return a(n)&&a(s)&&a(i)?t:a(n)&&a(s)?u((function(t,n){return e(t,n,i)})):a(n)&&a(i)?u((function(t,n){return e(t,s,n)})):a(s)&&a(i)?u((function(t,s){return e(n,t,s)})):a(n)?c((function(t){return e(t,s,i)})):a(s)?c((function(t){return e(n,t,i)})):a(i)?c((function(t){return e(n,s,t)})):e(n,s,i)}}}n.r(o),n.d(o,{isAsyncApi2Element:()=>bc,isAsyncApiVersionElement:()=>_c,isBooleanJsonSchemaElement:()=>Cc,isChannelBindingsElement:()=>yc,isChannelItemElement:()=>vc,isChannelItemElementExternal:()=>Sc,isChannelsElement:()=>Ec,isComponentsElement:()=>wc,isContactElement:()=>jc,isIdentifierElement:()=>xc,isInfoElement:()=>Oc,isLicenseElement:()=>Bc,isOperationElement:()=>Pc,isParameterElement:()=>$c,isParametersElement:()=>Ac,isReferenceElement:()=>Mc,isReferenceElementExternal:()=>qc,isSchemaElement:()=>kc,isSecurityRequirementElement:()=>Nc,isServerBindingsElement:()=>Tc,isServerElement:()=>Ic,isServerVariableElement:()=>Fc,isServersElement:()=>Rc});const p=u((function(e,t){return null==t||t!=t?e:t})),h=Number.isInteger||function(e){return e<<0===e};function m(e){return"[object String]"===Object.prototype.toString.call(e)}const d=u((function(e,t){var n=e<0?t.length+e:e;return m(t)?t.charAt(n):t[n]}));const g=u((function(e,t){if(null!=t)return h(e)?d(e,t):t[e]}));const f=l((function(e,t,n){return p(e,g(t,n))}));var b=u((function(e,t){for(var n={},s={},i=0,r=e.length;i<r;)s[e[i]]=1,i+=1;for(var o in t)s.hasOwnProperty(o)||(n[o]=t[o]);return n}));const _=b;function y(e,t,n){for(var s=0,i=n.length;s<i;)t=e(t,n[s]),s+=1;return t}const v=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const S=c((function(e){return!!v(e)||!!e&&("object"==typeof e&&(!m(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var E="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function w(e,t,n){return function(s,i,r){if(S(r))return e(s,i,r);if(null==r)return i;if("function"==typeof r["fantasy-land/reduce"])return t(s,i,r,"fantasy-land/reduce");if(null!=r[E])return n(s,i,r[E]());if("function"==typeof r.next)return n(s,i,r);if("function"==typeof r.reduce)return t(s,i,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function j(e,t,n){for(var s=n.next();!s.done;)t=e(t,s.value),s=n.next();return t}function x(e,t,n,s){return n[s](e,t)}const O=w(y,x,j);function B(e,t,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!v(s)){for(var i=0;i<e.length;){if("function"==typeof s[e[i]])return s[e[i]].apply(s,Array.prototype.slice.call(arguments,0,-1));i+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(s))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(s)}return n.apply(this,arguments)}}function P(e,t){for(var n=0,s=t.length,i=Array(s);n<s;)i[n]=e(t[n]),n+=1;return i}const $=function(){return this.xf["@@transducer/init"]()},A=function(e){return this.xf["@@transducer/result"](e)};var M=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,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 M(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,n){return t.apply(this,arguments)};case 3:return function(e,n,s){return t.apply(this,arguments)};case 4:return function(e,n,s,i){return t.apply(this,arguments)};case 5:return function(e,n,s,i,r){return t.apply(this,arguments)};case 6:return function(e,n,s,i,r,o){return t.apply(this,arguments)};case 7:return function(e,n,s,i,r,o,a){return t.apply(this,arguments)};case 8:return function(e,n,s,i,r,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,s,i,r,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,s,i,r,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 C(e,t,n){return function(){for(var s=[],i=0,r=e,o=0,c=!1;o<t.length||i<arguments.length;){var u;o<t.length&&(!a(t[o])||i>=arguments.length)?u=t[o]:(u=arguments[i],i+=1),s[o]=u,a(u)?c=!0:r-=1,o+=1}return!c&&r<=0?n.apply(this,s):k(Math.max(0,r),C(e,s,n))}}const N=u((function(e,t){return 1===e?c(t):k(e,C(e,[],t))}));function I(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 I("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 n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},J="function"!=typeof Object.keys||D?c((function(e){if(Object(e)!==e)return[];var t,n,s=[],i=D&&R(e);for(t in e)!I(t,e)||i&&"length"===t||(s[s.length]=t);if(F)for(n=V.length-1;n>=0;)I(t=V[n],e)&&!L(s,t)&&(s[s.length]=t),n-=1;return s})):c((function(e){return Object(e)!==e?[]:Object.keys(e)}));const z=J;const U=u(B(["fantasy-land/map","map"],q,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return N(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return y((function(n,s){return n[s]=e(t[s]),n}),{},z(t));default:return P(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(n){return e(n)(t(n))}:O((function(e,n){return function(e,t){var n;t=t||[];var s=(e=e||[]).length,i=t.length,r=[];for(n=0;n<s;)r[r.length]=e[n],n+=1;for(n=0;n<i;)r[r.length]=t[n],n+=1;return r}(e,U(n,t))}),[],e)}));const G=u((function(e,t){var n=N(e,t);return N(e,(function(){return y(W,U(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const K=c((function(e){return G(e.length,e)}));const H=K(c((function(e){return!e})));function Z(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Q(e,t,n){for(var s=0,i=n.length;s<i;){if(e(t,n[s]))return!0;s+=1}return!1}const X="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Y=c((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function ee(e,t,n,s){var i=Z(e);function r(e,t){return te(e,t,n.slice(),s.slice())}return!Q((function(e,t){return!Q(r,t,e)}),Z(t),i)}function te(e,t,n,s){if(X(e,t))return!0;var i,r,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"===(i=e.constructor,null==(r=String(i).match(/^function (\w*)/))?"":r[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!X(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!X(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return s[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&ee(e.entries(),t.entries(),n.concat([e]),s.concat([t]));case"Set":return e.size===t.size&&ee(e.values(),t.values(),n.concat([e]),s.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=z(e);if(c.length!==z(t).length)return!1;var u=n.concat([e]),l=s.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!I(p,t)||!te(t[p],e[p],u,l))return!1;a-=1}return!0}const ne=u((function(e,t){return te(e,t,[],[])}));const se=c((function(e){return function(){return e}}));const ie=se(void 0);const re=ne(ie());const oe=H(re);var ae=n(7952);function ce(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ue(e,t,n){for(var s=0,i=n.length;s<i;){if((t=e["@@transducer/step"](t,n[s]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return e["@@transducer/result"](t)}const le=u((function(e,t){return k(e.length,(function(){return e.apply(t,arguments)}))}));function pe(e,t,n){for(var s=n.next();!s.done;){if((t=e["@@transducer/step"](t,s.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=n.next()}return e["@@transducer/result"](t)}function he(e,t,n,s){return e["@@transducer/result"](n[s](le(e["@@transducer/step"],e),t))}const me=w(ue,he,pe);var de=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,n){return me("function"==typeof e?new de(e):e,t,n)}));function fe(e,t){return function(){var n=arguments.length;if(0===n)return t();var s=arguments[n-1];return v(s)||"function"!=typeof s[e]?t.apply(this,arguments):s[e].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}const be=l(fe("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const _e=c(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(ce,arguments[0],_e(arguments)))}var ve=function(e,t){switch(arguments.length){case 0:return ve;case 1:return function t(n){return 0===arguments.length?t:X(e,n)};default:return X(e,t)}};const Se=ve;function Ee(e,t){return function(e,t,n){var s,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(s=1/t;n<e.length;){if(0===(i=e[n])&&1/i===s)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(i=e[n])&&i!=i)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(ne(e[n],t))return n;n+=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 je=function(e){return(e<10?"0":"")+e};const xe="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+je(e.getUTCMonth()+1)+"-"+je(e.getUTCDate())+"T"+je(e.getUTCHours())+":"+je(e.getUTCMinutes())+":"+je(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"]=$,e.prototype["@@transducer/result"]=A,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Pe(e){return function(t){return new Be(e,t)}}const $e=u(B(["fantasy-land/filter","filter"],Pe,(function(e,t){return Oe(t)?y((function(n,s){return e(t[s])&&(n[s]=t[s]),n}),{},z(t)):function(e,t){for(var n=0,s=t.length,i=[];n<s;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}(e,t)})));const Ae=u((function(e,t){return $e((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function Me(e,t){var n=function(n){var s=t.concat([e]);return Ee(n,s)?"<Circular>":Me(n,s)},s=function(e,t){return P((function(t){return we(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+P(n,e).join(", ")+"))";case"[object Array]":return"["+P(n,e).concat(s(e,Ae((function(e){return/^\d+$/.test(e)}),z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):we(xe(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":we(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var i=e.toString();if("[object Object]"!==i)return i}return"{"+s(e,z(e)).join(", ")+"}"}}const qe=c((function(e){return Me(e,[])}));const ke=u((function(e,t){return e.map((function(e){for(var n,s=t,i=0;i<e.length;){if(null==s)return;n=e[i],s=h(n)?d(n,s):s[n],i+=1}return s}))}));const Ce=u((function(e,t){return ke([e],t)[0]}));const Ne=l((function(e,t,n){return e(Ce(t,n))}));function Ie(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Te=u((function(e,t){return e&&t}));const Re=u((function(e,t){return Ie(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:K(Te)(e,t)}));const Fe=ne(null);const Ve=H(Fe);function De(e){return De="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},De(e)}const Le=function(e){return"object"===De(e)};const Je=N(1,Re(Ve,Le));const ze=u((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var s=n(e,t);if(void 0!==s)return s;var i=n(typeof e,typeof t);if(void 0!==i)return i===typeof e?e:t;var r=qe(e),o=n(r,qe(t));return void 0!==o&&o===r?e:t}));const Ue=u((function(e,t){return U(g(e),t)}));const We=c((function(e){return N(ge(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const Ge=N(1,ye(Y,Se("GeneratorFunction")));const Ke=N(1,ye(Y,Se("AsyncFunction")));const He=We([ye(Y,Se("Function")),Ge,Ke]);var Ze=ye(Y,Se("Object")),Qe=ye(qe,ne(qe(Object))),Xe=Ne(Re(He,Qe),["constructor"]);const Ye=N(1,(function(e){if(!Je(e)||!Ze(e))return!1;var t=Object.getPrototypeOf(e);return!!Fe(t)||Xe(t)}));class et extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const tt=et;class nt extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const st=nt;class it extends ae.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(re(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const rt=it;class ot extends ae.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new ae.ON([e.start.row,e.start.column,e.start.char]),n=new ae.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const at=ot;class ct extends ae.lS{constructor(){super(),this.register("annotation",tt),this.register("comment",st),this.register("parseResult",rt),this.register("sourceMap",at)}}const ut=new ct,lt=e=>{const t=new ct;return Ye(e)&&t.use(e),t},pt=ut;const ht=N(1,ye(Y,Se("String"))),mt=n.p+"23aac571c96605dc25219087ad291441.wasm",dt=globalThis.fetch;He(dt)&&(globalThis.fetch=(...e)=>ht(e[0])&&e[0].endsWith("tree-sitter.wasm")?dt.apply(globalThis,[mt,_e(e)]):dt.apply(globalThis,e));var gt=n(9794),ft=n(1427);const bt=class extends ft{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=n&&"object"==typeof n&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:e}=n;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(bt,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 yt=_t,vt=n.p+"13ee407b2f9bd26c94370902ddeb5bcf.wasm";let St=null,Et=null;const wt=async e=>{if(null===St&&null===Et)Et=gt.init().then((()=>gt.Language.load(vt))).then((e=>{const t=new gt;return t.setLanguage(e),t})).finally((()=>{Et=null})),St=await Et;else if(null===St&&null!==Et)St=await Et;else if(null===St)throw new yt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return St.parse(e)};const jt=class extends yt{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}},xt=(e,t,n)=>{const s=e[t];if(null!=s){if(!n&&"function"==typeof s)return s;const e=n?s.leave:s.enter;if("function"==typeof e)return e}else{const s=n?e.leave:e.enter;if(null!=s){if("function"==typeof s)return s;const e=s[t];if("function"==typeof e)return e}}return null},Ot={},Bt=e=>null==e?void 0:e.type,Pt=e=>"string"==typeof Bt(e),$t=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),At=(e,t,{keyMap:n=null,state:s={},breakSymbol:i=Ot,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=xt,nodeTypeGetter:c=Bt,nodePredicate:u=Pt,nodeCloneFn:l=$t,detectCycles:p=!0}={})=>{const h=n||{};let m,d,g=Array.isArray(e),f=[e],b=-1,_=[],y=e;const v=[],S=[];do{b+=1;const e=b===f.length;let n;const w=e&&0!==_.length;if(e){if(n=0===S.length?void 0:v.pop(),y=d,d=S.pop(),w)if(g){y=y.slice();let e=0;for(const[t,n]of _){const s=t-e;n===r?(y.splice(s,1),e+=1):y[s]=n}}else{y=l(y);for(const[e,t]of _)y[e]=t}b=m.index,f=m.keys,_=m.edits,g=m.inArray,m=m.prev}else if(d!==r&&void 0!==d){if(n=g?b:f[b],y=d[n],y===r||void 0===y)continue;v.push(n)}let j;if(!Array.isArray(y)){if(!u(y))throw new jt(`Invalid AST Node: ${String(y)}`,{node:y});if(p&&S.includes(y)){v.pop();continue}const r=a(t,c(y),e);if(r){for(const[e,n]of Object.entries(s))t[e]=n;j=r.call(t,y,n,d,v,S)}if(j===i)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(_.push([n,j]),!e)){if(!u(j)){v.pop();continue}y=j}}var E;if(void 0===j&&w&&_.push([n,y]),!e)m={inArray:g,index:b,keys:f,edits:_,prev:m},g=Array.isArray(y),f=g?y:null!==(E=h[c(y)])&&void 0!==E?E:[],b=-1,_=[],d!==r&&void 0!==d&&S.push(d),d=y}while(void 0!==m);return 0!==_.length?_[_.length-1][1]:e};At[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:s={},breakSymbol:i=Ot,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=xt,nodeTypeGetter:c=Bt,nodePredicate:u=Pt,nodeCloneFn:l=$t,detectCycles:p=!0}={})=>{const h=n||{};let m,d,g=Array.isArray(e),f=[e],b=-1,_=[],y=e;const v=[],S=[];do{b+=1;const e=b===f.length;let n;const w=e&&0!==_.length;if(e){if(n=0===S.length?void 0:v.pop(),y=d,d=S.pop(),w)if(g){y=y.slice();let e=0;for(const[t,n]of _){const s=t-e;n===r?(y.splice(s,1),e+=1):y[s]=n}}else{y=l(y);for(const[e,t]of _)y[e]=t}b=m.index,f=m.keys,_=m.edits,g=m.inArray,m=m.prev}else if(d!==r&&void 0!==d){if(n=g?b:f[b],y=d[n],y===r||void 0===y)continue;v.push(n)}let j;if(!Array.isArray(y)){if(!u(y))throw new jt(`Invalid AST Node: ${String(y)}`,{node:y});if(p&&S.includes(y)){v.pop();continue}const r=a(t,c(y),e);if(r){for(const[e,n]of Object.entries(s))t[e]=n;j=await r.call(t,y,n,d,v,S)}if(j===i)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(_.push([n,j]),!e)){if(!u(j)){v.pop();continue}y=j}}var E;if(void 0===j&&w&&_.push([n,y]),!e)m={inArray:g,index:b,keys:f,edits:_,prev:m},g=Array.isArray(y),f=g?y:null!==(E=h[c(y)])&&void 0!==E?E:[],b=-1,_=[],d!==r&&void 0!==d&&S.push(d),d=y}while(void 0!==m);return 0!==_.length?_[_.length-1][1]:e};var Mt=n(6591);const qt=function(){return!1};function kt(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var Ct=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=$,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=kt(this.xf["@@transducer/step"](e,!1))),e},e}();function Nt(e){return function(t){return new Ct(e,t)}}const It=u(B(["all"],Nt,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));const Tt=c((function(e){return N(e.length,(function(t,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=t,e.apply(this,s)}))}))(u(Ee)),Rt=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Ft=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Vt=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Dt=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof ae.ON)&&t.classes.includes(e),Lt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Jt=e=>e({hasMethod:Rt,hasBasicElementProps:Ft,primitiveEq:Vt,isElementType:Lt,hasClass:Dt}),zt=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.W_||e(n)&&t(void 0,n))),Ut=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.RP||e(n)&&t("string",n))),Wt=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.VL||e(n)&&t("number",n))),Gt=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.zr||e(n)&&t("null",n))),Kt=Jt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.hh||e(n)&&t("boolean",n))),Ht=Jt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof ae.Sb||e(s)&&t("object",s)&&n("keys",s)&&n("values",s)&&n("items",s))),Zt=Jt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof ae.ON&&!(s instanceof ae.Sb)||e(s)&&t("array",s)&&n("push",s)&&n("unshift",s)&&n("map",s)&&n("reduce",s))),Qt=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ae.c6||e(s)&&t("member",s)&&n(void 0,s))),Xt=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ae.EA||e(s)&&t("link",s)&&n(void 0,s))),Yt=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ae.tK||e(s)&&t("ref",s)&&n(void 0,s))),en=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof tt||e(s)&&t("annotation",s)&&n("array",s))),tn=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof st||e(s)&&t("comment",s)&&n("string",s))),nn=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof rt||e(s)&&t("parseResult",s)&&n("array",s))),sn=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof at||e(s)&&t("sourceMap",s)&&n("array",s))),rn=e=>Lt("object",e)||Lt("array",e)||Lt("boolean",e)||Lt("number",e)||Lt("string",e)||Lt("null",e)||Lt("member",e),on=e=>sn(e.meta.get("sourceMap")),an=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!Zt(n)&&It(Tt(n.toValue()),e)},cn=(e,t)=>0===e.length||It(Tt(t.classes.toValue()),e);const un=class extends jt{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const ln=class extends un{};const pn=class extends un{},hn=(e,t={})=>{const{visited:n=new WeakMap}=t,s={...t,visited:n};if(n.has(e))return n.get(e);if(e instanceof ae.KeyValuePair){const{key:t,value:i}=e,r=zt(t)?hn(t,s):t,o=zt(i)?hn(i,s):i,a=new ae.KeyValuePair(r,o);return n.set(e,a),a}if(e instanceof ae.rm){const t=e=>hn(e,s),i=[...e].map(t),r=new ae.rm(i);return n.set(e,r),r}if(e instanceof ae.O4){const t=e=>hn(e,s),i=[...e].map(t),r=new ae.O4(i);return n.set(e,r),r}if(zt(e)){const t=gn(e);if(n.set(e,t),e.content)if(zt(e.content))t.content=hn(e.content,s);else if(e.content instanceof ae.KeyValuePair)t.content=hn(e.content,s);else if(Array.isArray(e.content)){const n=e=>hn(e,s);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new ln("Value provided to cloneDeep function couldn't be cloned",{value:e})};hn.safe=e=>{try{return hn(e)}catch{return e}};const mn=e=>{const{key:t,value:n}=e;return new ae.KeyValuePair(t,n)},dn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=hn(e.meta)),e.attributes.length>0&&(t._attributes=hn(e.attributes)),zt(e.content)){const n=e.content;t.content=dn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof ae.KeyValuePair?t.content=mn(e.content):t.content=e.content;return t},gn=e=>{if(e instanceof ae.KeyValuePair)return mn(e);if(e instanceof ae.rm)return(e=>{const t=[...e];return new ae.rm(t)})(e);if(e instanceof ae.O4)return(e=>{const t=[...e];return new ae.O4(t)})(e);if(zt(e))return dn(e);throw new pn("Value provided to cloneShallow function couldn't be cloned",{value:e})};gn.safe=e=>{try{return gn(e)}catch{return e}};const fn=e=>Ht(e)?"ObjectElement":Zt(e)?"ArrayElement":Qt(e)?"MemberElement":Ut(e)?"StringElement":Kt(e)?"BooleanElement":Wt(e)?"NumberElement":Gt(e)?"NullElement":Xt(e)?"LinkElement":Yt(e)?"RefElement":void 0,bn=e=>zt(e)?gn(e):$t(e),_n=ye(fn,ht),yn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},vn=(Mt({props:{result:[],predicate:qt,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=yn,...s}={})=>At(e,t,{keyMap:n,nodeTypeGetter:fn,nodePredicate:_n,nodeCloneFn:bn,...s}));vn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=yn,...s}={})=>At[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:fn,nodePredicate:_n,nodeCloneFn:bn,...s});const Sn=l((function(e,t,n){var s,i={};for(s in n=n||{},t=t||{})I(s,t)&&(i[s]=I(s,n)?e(s,t[s],n[s]):t[s]);for(s in n)I(s,n)&&!I(s,i)&&(i[s]=n[s]);return i}));const En=l((function e(t,n,s){return Sn((function(n,s,i){return Oe(s)&&Oe(i)?e(t,s,i):t(n,s,i)}),n,s)}));const wn=u((function(e,t){return En((function(e,t,n){return n}),e,t)}));const jn=be(0,-1);const xn=u((function(e,t){return e.apply(this,t)}));const On=H(He);var Bn=c((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():v(e)?[]:m(e)?"":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 Pn=Bn;const $n=c((function(e){return null!=e&&ne(e,Pn(e))}));const An=N(1,He(Array.isArray)?Array.isArray:ye(Y,Se("Array")));const Mn=Re(An,$n);const qn=N(3,(function(e,t,n){var s=Ce(e,n),i=Ce(jn(e),n);if(!On(s)&&!Mn(e)){var r=le(s,i);return xn(r,t)}})),kn=()=>({predicates:{...e},namespace:pt}),Cn={toolboxCreator:kn,visitorOptions:{nodeTypeGetter:fn,exposeEdits:!0}},Nn=(e,t,n={})=>{if(0===t.length)return e;const s=wn(Cn,n),{toolboxCreator:i,visitorOptions:r}=s,o=i(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=xt,nodeTypeGetter:n=Bt,breakSymbol:s=Ot,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:r=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(u,...l){let p=u,h=!1;for(let m=0;m<e.length;m+=1)if(c[m]===a){const a=t(e[m],n(p),!1);if("function"==typeof a){const t=a.call(e[m],p,...l);if(t===r)c[m]=u;else if(t===s)c[m]=s;else{if(t===i)return t;if(void 0!==t){if(!o)return t;p=t,h=!0}}}}return h?p:void 0},leave(i,...o){for(let u=0;u<e.length;u+=1)if(c[u]===a){const a=t(e[u],n(i),!0);if("function"==typeof a){const t=a.call(e[u],i,...o);if(t===s)c[u]=s;else if(void 0!==t&&t!==r)return t}}else c[u]===i&&(c[u]=a)}}})(a.map(f({},"visitor")),{...r});a.forEach(qn(["pre"],[]));const u=vn(e,c,r);return a.forEach(qn(["post"],[])),u},In=(e,{Type:t,plugins:n=[]})=>{const s=new t(e);return Nn(s,n,{toolboxCreator:kn,visitorOptions:{nodeTypeGetter:fn}})},Tn=e=>(t,n={})=>In(t,{...n,Type:e});ae.Sb.refract=Tn(ae.Sb),ae.ON.refract=Tn(ae.ON),ae.RP.refract=Tn(ae.RP),ae.hh.refract=Tn(ae.hh),ae.zr.refract=Tn(ae.zr),ae.VL.refract=Tn(ae.VL),ae.EA.refract=Tn(ae.EA),ae.tK.refract=Tn(ae.tK),tt.refract=Tn(tt),st.refract=Tn(st),rt.refract=Tn(rt),at.refract=Tn(at);const Rn=class{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)}},Fn=Mt({props:{sourceMap:!1,annotations:[]},init(){this.annotations=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new at,s=(e=>{const t=new ae.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),n=new ae.ON([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),n.classes.push("position"),[t,n]})(e);if(null!==s){const[e,t]=s;n.push(e),n.push(t)}n.astNode=e,t.meta.set("sourceMap",n)};this.enter=function(t){if(t instanceof Rn&&!t.isNamed&&t.isMissing){const n=t.type||t.text,s=new tt(`(Missing ${n})`);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.document=function(t){const n=new rt;return n._content=t.children,e(t,n),n},this.ParseResultElement={leave(e){const t=e.findElements(rn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new ae.Sb;return n._content=t.children,e(t,n),n},this.array=function(t){const n=new ae.ON;return n._content=t.children,e(t,n),n},this.pair=function(t){const n=new ae.c6;return n.content.key=t.keyNode,n.content.value=t.valueNode,e(t,n),t.children.length>3&&t.children.filter((e=>"ERROR"===e.type)).forEach((e=>{this.ERROR(e,t,[],[t])})),n},this.string=function(t){const n=new ae.RP(JSON.parse(t.text));return e(t,n),n},this.number=function(t){const n=new ae.VL(Number(t.text));return e(t,n),n},this.null=function(t){const n=new ae.zr;return e(t,n),n},this.true=function(t){const n=new ae.hh(!0);return e(t,n),n},this.false=function(t){const n=new ae.hh(!1);return e(t,n),n},this.ERROR=function(t,n,s,i){const r=!t.hasError,o=t.text,a=new tt(r?`(Unexpected ${o})`:`(Error ${o})`);if(a.classes.push("error"),e(t,a),0===i.length){const e=new rt;return e.push(a),e}return this.annotations.push(a),null}}}),Vn=Fn;class Dn{constructor(e){this.cursor=e}document(){return new Rn(this.cursor)}object(){return new Rn(this.cursor).setFieldName(this.cursor)}array(){return new Rn(this.cursor).setFieldName(this.cursor)}pair(){return new Rn(this.cursor)}string(){return new Rn(this.cursor).setFieldName(this.cursor)}number(){return new Rn(this.cursor).setFieldName(this.cursor)}null(){return new Rn(this.cursor).setFieldName(this.cursor)}true(){return new Rn(this.cursor).setFieldName(this.cursor)}false(){return new Rn(this.cursor).setFieldName(this.cursor)}ERROR(){return new Rn(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Rn(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Dn(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new Dn(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const Ln=Dn,Jn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...yn},zn=e=>nn(e)?"ParseResultElement":zt(e)?fn(e):Bt(e),Un=e=>zt(e)||Pt(e),Wn=(e,{sourceMap:t=!1}={})=>{const n=Vn(),s=e.walk(),i=new Ln(s),[r]=Array.from(i);return At(r,n,{keyMap:Jn,nodeTypeGetter:zn,nodePredicate:Un,state:{sourceMap:t}})},Gn=Mt({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init({row:e=null,column:t=null,char:n=null}={}){this.row=e,this.column=t,this.char=n}}),Kn=Mt({statics:{type:"position"},props:{type:"position",start:null,end:null},init({start:e=null,end:t=null}={}){this.start=e,this.end=t}}),Hn=Mt({props:{type:null,position:null,children:[]},init({children:e=[],position:t=null,isMissing:n=!1}={},{stamp:s={}}){this.type=s.type,this.isMissing=n,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const n=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,n)})),e}}}),Zn=Mt(Hn,{statics:{type:"literal"},props:{value:null},init({value:e=null}={}){this.value=e}});const Qn=d(0),Xn=Mt(Hn),Yn=Mt(Xn,{statics:{type:"document"},methods:{get child(){return Qn(this.children)}}}),es=Mt(Hn,{statics:{type:"parseResult"},methods:{get rootNode(){return Qn(this.children)}}}),ts=(e,t)=>(null==t?void 0:t.type)===e,ns=(ts.bind(void 0,"literal"),ts.bind(void 0,"position"),ts.bind(void 0,"point"),ts.bind(void 0,"parseResult"),ts.bind(void 0,"document"),ts.bind(void 0,"string")),ss=ts.bind(void 0,"false"),is=ts.bind(void 0,"true"),rs=ts.bind(void 0,"null"),os=ts.bind(void 0,"number"),as=ts.bind(void 0,"array"),cs=ts.bind(void 0,"object"),us=ts.bind(void 0,"stringContent"),ls=ts.bind(void 0,"escapeSequence"),ps=ts.bind(void 0,"property"),hs=ts.bind(void 0,"key"),ms=Mt(Xn,{statics:{type:"object"},methods:{get properties(){return this.children.filter(ps)}}}),ds=Mt(Xn,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((e=>us(e)||ls(e))).reduce(((e,t)=>e+t.value),"")}}}),gs=Mt(ds,{statics:{type:"key"}}),fs=Mt(Xn,{statics:{type:"property"},methods:{get key(){return this.children.find(hs)},get value(){return this.children.find((e=>ss(e)||is(e)||rs(e)||os(e)||ns(e)||as(e)||cs(e)))}}}),bs=Mt(Xn,{statics:{type:"array"},methods:{get items(){return this.children.filter((e=>ss(e)||is(e)||rs(e)||os(e)||ns(e)||as(e)||cs))}}}),_s=Mt(Xn,{statics:{type:"value"},props:{value:null},init({value:e=null}={}){this.value=e}}),ys=Mt(_s,{statics:{type:"stringContent"}}),vs=Mt(_s,{statics:{type:"number"}}),Ss=Mt(_s,{statics:{type:"null"}}),Es=Mt(_s,{statics:{type:"true"}}),ws=Mt(_s,{statics:{type:"false"}}),js=Mt(Hn,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init({value:e=null,isUnexpected:t=!1}={}){this.value=e,this.isUnexpected=t}}),xs={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},Os=Mt({init(){const e=e=>{const t=Gn({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),n=Gn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return Kn({start:t,end:n})};this.enter=function(t){if(t instanceof Rn&&!t.isNamed){const n=e(t),s=t.type||t.text,{isMissing:i}=t;return Zn({value:s,position:n,isMissing:i})}},this.document={enter(t){const n=e(t);return Yn({children:t.children,position:n,isMissing:t.isMissing})},leave:e=>es({children:[e]})},this.object=function(t){const n=e(t);return ms({children:t.children,position:n,isMissing:t.isMissing})},this.pair=function(t){const n=e(t),s=t.children.slice(1),{keyNode:i}=t,r=gs({children:(null==i?void 0:i.children)||[],position:null!=i?e(i):null,isMissing:null!=i&&i.isMissing});return fs({children:[r,...s],position:n,isMissing:t.isMissing})},this.array=function(t){const n=e(t);return bs({children:t.children,position:n,isMissing:t.isMissing})},this.string=function(t){const n=e(t),s=ys({value:JSON.parse(t.text)});return ds({children:[s],position:n,isMissing:t.isMissing})},this.number=function(t){const n=e(t),s=t.text;return vs({value:s,position:n,isMissing:t.isMissing})},this.null=function(t){const n=e(t),s=t.text;return Ss({value:s,position:n,isMissing:t.isMissing})},this.true=function(t){const n=e(t),s=t.text;return Es({value:s,position:n,isMissing:t.isMissing})},this.false=function(t){const n=e(t),s=t.text;return ws({value:s,position:n,isMissing:t.isMissing})},this.ERROR=function(t,n,s,i){const r=e(t),o=js({children:t.children,position:r,isUnexpected:!t.hasError,isMissing:t.isMissing,value:t.text});return 0===i.length?es({children:[o]}):o}}}),Bs=Os,Ps={[es.type]:["children"],[Yn.type]:["children"],[ms.type]:["children"],[fs.type]:["children"],[bs.type]:["children"],[js.type]:["children"],...yn},$s=e=>nn(e)?"ParseResultElement":zt(e)?fn(e):Bt(e),As=e=>zt(e)||Pt(e),Ms=Mt({props:{sourceMap:!1,annotations:[]},init(){this.annotation=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new at;n.position=e.position,n.astNode=e,t.meta.set("sourceMap",n)};this.document=function(e){const t=new rt;return t._content=e.children,t},this.ParseResultElement={leave(e){const t=e.findElements(rn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new ae.Sb;return n._content=t.children,e(t,n),n},this.property=function(t){const n=new ae.c6;return n.content.key=t.key,n.content.value=t.value,e(t,n),t.children.length>3&&t.children.filter((e=>"error"===e.type)).forEach((e=>{this.error(e,t,[],[t])})),n},this.key=function(t){const n=new ae.RP(t.value);return e(t,n),n},this.array=function(t){const n=new ae.ON;return n._content=t.children,e(t,n),n},this.string=function(t){const n=new ae.RP(t.value);return e(t,n),n},this.number=function(t){const n=new ae.VL(Number(t.value));return e(t,n),n},this.null=function(t){const n=new ae.zr;return e(t,n),n},this.true=function(t){const n=new ae.hh(!0);return e(t,n),n},this.false=function(t){const n=new ae.hh(!1);return e(t,n),n},this.literal=function(t){if(t.isMissing){const n=`(Missing ${t.value})`,s=new tt(n);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.error=function(t,n,s,i){const r=t.isUnexpected?`(Unexpected ${t.value})`:`(Error ${t.value})`,o=new tt(r);if(o.classes.push("error"),e(t,o),0===i.length){const e=new rt;return e.push(o),e}return this.annotations.push(o),null}}}),qs=Ms,ks=(e,{sourceMap:t=!1}={})=>{const n=e.walk(),s=new Ln(n),[i]=Array.from(s),r=Bs(),o=qs(),a=At(i,r,{keyMap:xs,state:{sourceMap:t}});return At(a.rootNode,o,{keyMap:Ps,nodeTypeGetter:$s,nodePredicate:As,state:{sourceMap:t}})},Cs=(lt(),/(?<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 Ns=u((function(e,t){return y((function(n,s){return n[s]=e(t[s],s,t),n}),{},z(t))}));const Is=c((function(e){return null==e}));const Ts=u((function(e,t){if(0===e.length||Is(t))return!1;for(var n=t,s=0;s<e.length;){if(Is(n)||!I(e[s],n))return!1;n=n[e[s]],s+=1}return!0}));var Rs=u((function(e,t){return Ts([e],t)}));const Fs=Rs;const Vs=l((function(e,t,n){return e(g(t,n))}));const Ds=c((function(e){return N(e.length,e)}));const Ls=u((function(e,t){return N(e+1,(function(){var n=arguments[e];if(null!=n&&Ie(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(qe(n)+' does not have a method named "'+t+'"')}))}));const Js=Ls(1,"split");var zs=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,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 Us(e){return function(t){return new zs(e,t)}}const Ws=u(B(["dropWhile"],Us,(function(e,t){for(var n=0,s=t.length;n<s&&e(t[n]);)n+=1;return be(n,1/0,t)})));const Gs=Ls(1,"join");const Ks=Ds((function(e,t){return ye(Js(""),Ws(Tt(e)),Gs(""))(t)})),Hs=(e,t)=>{const n=p(e,t);return Ns((e=>{if(Ye(e)&&Fs("$ref",e)&&Vs(ht,"$ref",e)){const t=Ce(["$ref"],e),s=Ks("#/",t);return Ce(s.split("/"),n)}return Ye(e)?Hs(e,n):e}),e)};var Zs=l((function e(t,n,s){if(0===t.length)return n;var i=t[0];if(t.length>1){var r=!Is(s)&&I(i,s)&&"object"==typeof s[i]?s[i]:h(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,r)}return function(e,t,n){if(h(e)&&v(n)){var s=[].concat(n);return s[e]=t,s}var i={};for(var r in n)i[r]=n[r];return i[e]=t,i}(i,n,s)}));const Qs=Zs;const Xs=l((function(e,t,n){var s=Array.prototype.slice.call(n,0);return s.splice(e,t),s}));var Ys=l((function(e,t,n){return Qs([e],t,n)}));const ei=Ys;var ti=u((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(h(e)&&v(t))return Xs(e,1,t);var n={};for(var s in t)n[s]=t[s];return delete n[e],n}(t[0],n);default:var s=t[0],i=Array.prototype.slice.call(t,1);return null==n[s]?function(e,t){if(h(e)&&v(t))return[].concat(t);var n={};for(var s in t)n[s]=t[s];return n}(s,n):ei(s,e(i,n[s]),n)}}));const ni=ti,si=Mt({props:{element:null},methods:{copyMetaAndAttributes(e,t){on(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),ii=Mt(si,{methods:{enter(e){return this.element=hn(e),Ot}}});const ri=se(ie());const oi=function(){return!0},ai=e=>"string"==typeof(null==e?void 0:e.type)?e.type:fn(e),ci={EphemeralObject:["content"],EphemeralArray:["content"],...yn},ui=(e,t,{keyMap:n=ci,...s}={})=>vn(e,t,{keyMap:n,nodeTypeGetter:ai,nodePredicate:oi,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});ui[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ci,...n}={})=>vn[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:ai,nodePredicate:oi,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const li=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 pi=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))}},hi=Mt.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new pi(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new li(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),mi=e=>zt(e)?Ut(e)||Wt(e)||Kt(e)||Gt(e)?e.toValue():ui(e,hi()):e;const di=u((function(e,t){for(var n={},s=0;s<e.length;)e[s]in t&&(n[e[s]]=t[e[s]]),s+=1;return n})),gi=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},fi={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...yn},bi=Mt(si,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return di(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ne(He,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),i=Object.getPrototypeOf(s);return re(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===i?hn(t):(vn(t,s,{keyMap:fi,nodeTypeGetter:gi,...n}),s.element)}}}),_i=Mt(bi,{props:{specPath:ri,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,i)=>{if(Ut(s)&&n.includes(mi(s))&&!this.ignoredFields.includes(mi(s))){const n=this.toRefractedElement([...t,"fixedFields",mi(s)],e),r=new ae.c6(hn(s),n);this.copyMetaAndAttributes(i,r),r.classes.push("fixed-field"),this.element.content.push(r)}else this.ignoredFields.includes(mi(s))||this.element.content.push(hn(i))})),this.copyMetaAndAttributes(e,this.element),Ot}}});class yi extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const vi=yi,Si=Mt(_i,ii,{props:{specPath:se(["document","objects","JSONSchema"])},init(){this.element=new vi}}),Ei=ii,wi=ii,ji=ii,xi=ii,Oi=ii,Bi=ii,Pi=ii,$i=ii,Ai=ii,Mi=ii,qi=Mt({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),ki=e=>Ht(e)&&e.hasKey("$ref"),Ci=Mt(bi,qi,ii,{methods:{ObjectElement(e){const t=ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ae.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Ni=ii,Ii=ii,Ti=ii,Ri=ii,Fi=ii,Vi=Mt(ii,{methods:{ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-required"),Ot}}});const Di=c((function(e){return N(ge(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Li=u((function(e,t){return e||t}));const Ji=H(N(1,Re(Ve,u((function(e,t){return Ie(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:K(Li)(e,t)}))(Le,He))));const zi=H($n);const Ui=Di([ht,Ji,zi]),Wi=Mt(bi,{props:{fieldPatternPredicate:qt,specPath:ri,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(mi(t))&&this.fieldPatternPredicate(mi(t))){const s=this.specPath(e),i=this.toRefractedElement(s,e),r=new ae.c6(hn(t),i);this.copyMetaAndAttributes(n,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(mi(t))||this.element.content.push(hn(n))})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Gi=Mt(Wi,{props:{fieldPatternPredicate:Ui}}),Ki=Mt(Gi,qi,ii,{props:{specPath:e=>ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-properties")}}),Hi=Mt(Gi,qi,ii,{props:{specPath:e=>ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-patternProperties")}}),Zi=Mt(Gi,qi,ii,{props:{specPath:e=>ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-dependencies")}}),Qi=Mt(ii,{methods:{ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-enum"),Ot}}}),Xi=Mt(ii,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("json-schema-type"),Ot},ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-type"),Ot}}}),Yi=Mt(bi,qi,ii,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),er=Mt(bi,qi,ii,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),tr=Mt(bi,qi,ii,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),nr=Mt(Gi,qi,ii,{props:{specPath:e=>ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-definitions")}}),sr=ii,ir=ii,rr=ii,or=ii,ar=ii,cr=Mt(bi,qi,ii,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),ur=ii;class lr extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const pr=lr,hr=Mt(_i,ii,{props:{specPath:se(["document","objects","JSONReference"])},init(){this.element=new pr},methods:{ObjectElement(e){const t=_i.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),mr=Mt(ii,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("reference-value"),Ot}}});const dr=l((function(e,t,n){return N(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const gr=c((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var fr=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const br=fr;const _r=c(kt);const yr=H(Is);const vr=Re(An,zi);function Sr(e){return function(e){if(Array.isArray(e))return Er(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Er(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Er(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}var wr=ye(br(gr((function(e,t){return e.length>t.length}))),Qn,g("length")),jr=Ds((function(e,t,n){var s=n.apply(void 0,Sr(e));return yr(s)?_r(s):t}));const xr=dr(vr,(function(e){var t=wr(e);return N(t,(function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return ge(jr(n),void 0,e)}))}),ie),Or=Mt(bi,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>dr(e,se(t),ie))),n=xr(t)(e);return this.element=this.toRefractedElement(n,e),Ot}}}),Br=Mt(Or,{props:{alternator:[{predicate:ki,specPath:["document","objects","JSONReference"]},{predicate:oi,specPath:["document","objects","JSONSchema"]}]}});class Pr extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const $r=Pr,Ar=Mt(_i,ii,{props:{specPath:se(["document","objects","Media"])},init(){this.element=new $r}}),Mr=ii,qr=ii;class kr extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Cr=kr,Nr={visitors:{value:ii,JSONSchemaOrJSONReferenceVisitor:Br,document:{objects:{JSONSchema:{$visitor:Si,fixedFields:{id:Ei,$schema:wi,multipleOf:ji,maximum:xi,exclusiveMaximum:Oi,minimum:Bi,exclusiveMinimum:Pi,maxLength:$i,minLength:Ai,pattern:Mi,additionalItems:Br,items:Ci,maxItems:Ni,minItems:Ii,uniqueItems:Ti,maxProperties:Ri,minProperties:Fi,required:Vi,properties:Ki,additionalProperties:Br,patternProperties:Hi,dependencies:Zi,enum:Qi,type:Xi,allOf:Yi,anyOf:er,oneOf:tr,not:Br,definitions:nr,title:sr,description:ir,default:rr,format:or,base:ar,links:cr,media:{$ref:"#/visitors/document/objects/Media"},readOnly:ur}},JSONReference:{$visitor:hr,fixedFields:{$ref:mr}},Media:{$visitor:Ar,fixedFields:{binaryEncoding:Mr,type:qr}},LinkDescription:{$visitor:Mt(_i,ii,{props:{specPath:se(["document","objects","LinkDescription"])},init(){this.element=new Cr}}),fixedFields:{href:ii,rel:ii,title:ii,targetSchema:Br,mediaType:ii,method:ii,encType:ii,schema:Br}}}}}};const Ir=class extends yt{},Tr=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof vi||e(s)&&t("JSONSchemaDraft4",s)&&n("object",s))),Rr=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof pr||e(s)&&t("JSONReference",s)&&n("object",s))),Fr=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof $r||e(s)&&t("media",s)&&n("object",s))),Vr=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Cr||e(s)&&t("linkDescription",s)&&n("object",s))),Dr={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",vi),t.register("jSONReference",pr),t.register("media",$r),t.register("linkDescription",Cr),t}},Lr=()=>{const e=lt(Dr);return{predicates:{...t,isStringElement:Ut},namespace:e}},Jr=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Nr}={})=>{const i=(0,ae.Qc)(e),r=Hs(s),o=qn(t,[],r);return vn(i,o,{state:{specObj:r}}),Nn(o.element,n,{toolboxCreator:Lr,visitorOptions:{keyMap:fi,nodeTypeGetter:gi}})},zr=e=>(t,n={})=>Jr(t,{specPath:e,...n});vi.refract=zr(["visitors","document","objects","JSONSchema","$visitor"]),pr.refract=zr(["visitors","document","objects","JSONReference","$visitor"]),$r.refract=zr(["visitors","document","objects","Media","$visitor"]),Cr.refract=zr(["visitors","document","objects","LinkDescription","$visitor"]);const Ur=class extends vi{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new Ir("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Ir("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)}},Wr=Mt(_i,ii,{props:{specPath:se(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Ur,_i.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=hn(e),this.element.classes.push("boolean-json-schema"),Ot}}}),Gr=ii,Kr=Mt(bi,qi,ii,{methods:{ObjectElement(e){const t=ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ae.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=ki(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Ot}}}),Hr=ii,Zr=Mt(ii,{methods:{ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-examples"),Ot}}});const Qr=class extends Cr{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 Ir("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Ir("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 Ir("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Ir("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Ir("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Ir("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},Xr=Mt(_i,ii,{props:{specPath:se(["document","objects","LinkDescription"])},init(){this.element=new Qr}}),Yr=ii,eo=ye(Qs(["visitors","document","objects","JSONSchema","$visitor"],Wr),ni(["visitors","document","objects","JSONSchema","fixedFields","id"]),Qs(["visitors","document","objects","JSONSchema","fixedFields","$id"],Gr),Qs(["visitors","document","objects","JSONSchema","fixedFields","contains"],Nr.visitors.JSONSchemaOrJSONReferenceVisitor),Qs(["visitors","document","objects","JSONSchema","fixedFields","items"],Kr),Qs(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Nr.visitors.JSONSchemaOrJSONReferenceVisitor),Qs(["visitors","document","objects","JSONSchema","fixedFields","const"],Hr),Qs(["visitors","document","objects","JSONSchema","fixedFields","examples"],Zr),Qs(["visitors","document","objects","LinkDescription","$visitor"],Xr),Qs(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Nr.visitors.JSONSchemaOrJSONReferenceVisitor),ni(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Qs(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Nr.visitors.JSONSchemaOrJSONReferenceVisitor),ni(["visitors","document","objects","LinkDescription","fixedFields","method"]),ni(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Qs(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Yr))(Nr),to=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},no={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...yn},so=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ur||e(s)&&t("JSONSchemaDraft6",s)&&n("object",s))),io=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Qr||e(s)&&t("linkDescription",s)&&n("object",s))),ro={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Ur),t.register("jSONReference",pr),t.register("media",$r),t.register("linkDescription",Qr),t}},oo=()=>{const e=lt(ro);return{predicates:{...i,isStringElement:Ut},namespace:e}},ao=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=eo}={})=>{const i=(0,ae.Qc)(e),r=Hs(s),o=qn(t,[],r);return vn(i,o,{state:{specObj:r}}),Nn(o.element,n,{toolboxCreator:oo,visitorOptions:{keyMap:no,nodeTypeGetter:to}})},co=e=>(t,n={})=>ao(t,{specPath:e,...n});Ur.refract=co(["visitors","document","objects","JSONSchema","$visitor"]),Qr.refract=co(["visitors","document","objects","LinkDescription","$visitor"]);const uo=class extends Ur{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Ir('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Ir('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)}},lo=Mt(_i,ii,{props:{specPath:se(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new uo,_i.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=hn(e),this.element.classes.push("boolean-json-schema"),Ot}}}),po=ii,ho=ii,mo=ii,go=ii;const fo=class extends Qr{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 Ir("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Ir("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 Ir("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Ir("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},bo=Mt(_i,ii,{props:{specPath:se(["document","objects","LinkDescription"])},init(){this.element=new fo}}),_o=ii,yo=ii,vo=ii,So=ii,Eo=ii,wo=ii,jo=ii,xo=ye(Qs(["visitors","document","objects","JSONSchema","$visitor"],lo),Qs(["visitors","document","objects","JSONSchema","fixedFields","$comment"],po),Qs(["visitors","document","objects","JSONSchema","fixedFields","if"],eo.visitors.JSONSchemaOrJSONReferenceVisitor),Qs(["visitors","document","objects","JSONSchema","fixedFields","then"],eo.visitors.JSONSchemaOrJSONReferenceVisitor),Qs(["visitors","document","objects","JSONSchema","fixedFields","else"],eo.visitors.JSONSchemaOrJSONReferenceVisitor),ni(["visitors","document","objects","JSONSchema","fixedFields","media"]),Qs(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],ho),Qs(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],mo),Qs(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],go),Qs(["visitors","document","objects","LinkDescription","$visitor"],bo),Qs(["visitors","document","objects","LinkDescription","fixedFields","anchor"],_o),Qs(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],yo),ni(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Qs(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],vo),Qs(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],So),Qs(["visitors","document","objects","LinkDescription","fixedFields","description"],Eo),Qs(["visitors","document","objects","LinkDescription","fixedFields","$comment"],wo),ni(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Qs(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],jo))(eo),Oo=Mt({props:{element:null},methods:{copyMetaAndAttributes(e,t){on(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Bo=Mt(Oo,{methods:{enter(e){return this.element=hn(e),Ot}}}),Po=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},$o={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"],...yn},Ao=Mt(Oo,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return di(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ne(He,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),i=Object.getPrototypeOf(s);return re(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===i?hn(t):(vn(t,s,{keyMap:$o,...n,nodeTypeGetter:Po}),s.element)}}}),Mo=Mt(Ao,{methods:{MemberElement(e){return this.element=hn(e),this.element.classes.push("specification-extension"),Ot}}});var qo=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?kt(n):n},e}();function ko(e){return function(t){return new qo(e,t)}}const Co=u(B(["take"],ko,(function(e,t){return be(0,e<0?1/0:e,t)})));const No=u((function(e,t){return ne(Co(e.length,t),e)})),Io=e=>Ht(e)&&e.hasKey("$ref"),To=e=>Ht(e),Ro=e=>Ut(e.key)&&No("x-",mi(e.key)),Fo=Mt(Ao,{props:{specPath:ri,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:Ro},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,i)=>{if(Ut(s)&&n.includes(mi(s))&&!this.ignoredFields.includes(mi(s))){const n=this.toRefractedElement([...t,"fixedFields",mi(s)],e),r=new ae.c6(hn(s),n);r.classes.push("fixed-field"),this.copyMetaAndAttributes(i,r),this.element.content.push(r)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(mi(s))||this.element.content.push(hn(i))})),this.copyMetaAndAttributes(e,this.element),Ot}}});class Vo extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Do=Vo,Lo=Mt(Fo,Bo,{props:{specPath:se(["document","objects","AsyncApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Do}});class Jo extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const zo=Jo,Uo=Mt(Ao,Bo,{methods:{StringElement(e){const t=new zo(mi(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}});class Wo extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="identifier"}}const Go=Wo,Ko=Mt(Ao,Bo,{methods:{StringElement(e){const t=new Go(mi(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}});class Ho extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Zo=Ho,Qo=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Zo}}),Xo=Bo,Yo=Bo,ea=Bo,ta=Mt(Bo,{methods:{StringElement(e){return this.element=new ae.RP(mi(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),Ot}}});class na extends ae.Sb{constructor(e,t,n){super(e,t,n),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 sa=na,ia=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new sa}}),ra=Bo,oa=Bo,aa=Bo;class ca extends ae.Sb{constructor(e,t,n){super(e,t,n),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 ua=ca,la=Mt(Fo,Bo,{props:{specPath:se(["document","objects","CorrelationID"]),canSupportSpecificationExtensions:!0},init(){this.element=new ua}}),pa=Bo,ha=Bo;class ma extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="defaultContentType"}}const da=ma,ga=Mt(Ao,Bo,{methods:{StringElement(e){const t=new da(mi(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}});class fa extends ae.Sb{constructor(e,t,n){super(e,t,n),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 ba=fa,_a=Mt(Fo,Bo,{props:{specPath:se(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new ba}}),ya=Bo,va=Bo;class Sa extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ea=Sa,wa=Mt(Fo,Bo,{props:{specPath:se(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ea}});class ja extends ae.Sb{constructor(e,t,n){super(e,t,n),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=ja,Oa=Mt(Fo,Bo,{props:{specPath:se(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new xa}}),Ba=Bo,Pa=Bo,$a=Bo;class Aa extends ae.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,n){super(e,t,n),this.classes.push(Aa.primaryClass)}}const Ma=Aa,qa=Mt(Ao,{props:{fieldPatternPredicate:qt,specPath:ri,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:Ro},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(mi(t))&&this.fieldPatternPredicate(mi(t))){const s=this.specPath(e),i=this.toRefractedElement(s,e),r=new ae.c6(hn(t),i);this.copyMetaAndAttributes(n,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(mi(t))||this.element.content.push(hn(n))})),this.copyMetaAndAttributes(e,this.element),Ot}}}),ka=Mt(qa,{props:{fieldPatternPredicate:Ui}}),Ca=Mt(ka,Bo,{props:{specPath:se(["value"])},init(){this.element=new Ma}});const Na=u((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+qe(e));var n;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 Ia extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="servers"}}const Ta=Ia;class Ra extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Fa=Ra;class Va extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Da=Va;class La extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="channels"}}const Ja=La;class za extends ae.Sb{constructor(e,t,n){super(e,t,n),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=za;class Wa extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ga=Wa;class Ka extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ha=Ka;class Za extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="parameters"}}const Qa=Za;class Xa extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ya=Xa,ec=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},tc={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...yn},nc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof uo||e(s)&&t("JSONSchemaDraft7",s)&&n("object",s))),sc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof fo||e(s)&&t("linkDescription",s)&&n("object",s))),ic={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",uo),t.register("jSONReference",pr),t.register("linkDescription",fo),t}},rc=()=>{const e=lt(ic);return{predicates:{...r,isStringElement:Ut},namespace:e}},oc=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=xo}={})=>{const i=(0,ae.Qc)(e),r=Hs(s),o=qn(t,[],r);return vn(i,o,{state:{specObj:r}}),Nn(o.element,n,{toolboxCreator:rc,visitorOptions:{keyMap:tc,nodeTypeGetter:ec}})},ac=e=>(t,n={})=>oc(t,{specPath:e,...n});uo.refract=ac(["visitors","document","objects","JSONSchema","$visitor"]),fo.refract=ac(["visitors","document","objects","LinkDescription","$visitor"]);const cc=class extends uo{constructor(e,t,n){super(e,t,n),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 uc extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const lc=uc;class pc extends ae.Sb{constructor(e,t,n){super(e,t,n),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 hc=pc;class mc extends ae.Sb{constructor(e,t,n){super(e,t,n),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=mc;class gc extends ae.Sb{constructor(e,t,n){super(e,t,n),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 fc=gc,bc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:s})=>i=>i instanceof Do||e(i)&&t("asyncApi2",i)&&n("object",i)&&s("api",i))),_c=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof zo||e(s)&&t("asyncApiVersion",s)&&n("string",s))),yc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Fa||e(s)&&t("channelBindings",s)&&n("object",s))),vc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Da||e(s)&&t("channelItem",s)&&n("object",s))),Sc=e=>{if(!vc(e))return!1;if(!Ut(e.$ref))return!1;const t=mi(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Ec=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ja||e(s)&&t("channels",s)&&n("object",s))),wc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ua||e(s)&&t("components",s)&&n("object",s))),jc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof sa||e(s)&&t("contact",s)&&n("object",s))),xc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Go||e(s)&&t("identifier",s)&&n("string",s))),Oc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Zo||e(s)&&t("info",s)&&n("object",s))),Bc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ba||e(s)&&t("license",s)&&n("object",s))),Pc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ga||e(s)&&t("operation",s)&&n("object",s))),$c=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ha||e(s)&&t("parameter",s)&&n("object",s))),Ac=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Qa||e(s)&&t("parameters",s)&&n("object",s))),Mc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ya||e(s)&&t("reference",s)&&n("object",s))),qc=e=>{if(!Mc(e))return!1;const t=mi(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},kc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof cc||e(s)&&t("schema",s)&&n("object",s))),Cc=e=>Kt(e)&&e.classes.includes("boolean-json-schema"),Nc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof lc||e(s)&&t("securityRequirement",s)&&n("object",s))),Ic=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof hc||e(s)&&t("server",s)&&n("object",s))),Tc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof dc||e(s)&&t("serverBindings",s)&&n("object",s))),Rc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ta||e(s)&&t("servers",s)&&n("object",s))),Fc=Jt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof fc||e(s)&&t("serverVariable",s)&&n("object",s))),Vc=Mt(qa,Bo,{props:{fieldPatternPredicate:Na(/^[A-Za-z0-9_-]+$/),specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","Server"],canSupportSpecificationExtensions:!1},init(){this.element=new Ta,this.element.classes.push("servers")},methods:{ObjectElement(e){const t=qa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}}),Dc=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new hc}}),Lc=Mt(Bo,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("server-url"),Ot}}}),Jc=Bo,zc=Bo,Uc=Bo,Wc=Mt(Ao,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>dr(e,se(t),ie))),n=xr(t)(e);return this.element=this.toRefractedElement(n,e),Ot}}}),Gc=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","ServerBindings"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}});class Kc extends ae.Sb{static primaryClass="server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(Kc.primaryClass)}}const Hc=Kc,Zc=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new Hc}});class Qc extends ae.ON{static primaryClass="server-security";constructor(e,t,n){super(e,t,n),this.classes.push(Qc.primaryClass)}}const Xc=Qc,Yc=Mt(Ao,Bo,{init(){this.element=new Xc},methods:{ArrayElement(e){return e.forEach((e=>{if(To(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),eu=Mt(Fo,Bo,{props:{specPath:se(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new fc}}),tu=Bo,nu=Bo,su=Bo,iu=Bo,ru=Mt(Fo,Bo,{props:{specPath:se(["document","objects","ServerBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new dc}});class ou extends ae.Sb{constructor(e,t,n){super(e,t,n),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 au=ou,cu=Mt(Fo,Bo,{props:{specPath:se(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new au}}),uu=Bo,lu=Bo,pu=Bo,hu=Bo,mu=Bo,du=Bo,gu=Bo,fu=Mt(ka,Bo,{props:{specPath:se(["value"])},init(){this.element=new lc}}),bu=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ya},methods:{ObjectElement(e){const t=Fo.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),_u=Mt(Bo,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("reference-value"),Ot}}}),yu=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},methods:{ObjectElement(e){return this.element=new cc,Fo.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=hn(e),this.element.classes.push("boolean-json-schema"),Ot}}}),{JSONSchemaOrJSONReferenceVisitor:vu}=xo.visitors,Su=Mt(vu,{methods:{enter(e){const t=vu.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Eu=Bo,wu=Bo,{allOf:ju}=xo.visitors.document.objects.JSONSchema.fixedFields,xu=Mt(ju,{methods:{ArrayElement(e){const t=ju.compose.methods.ArrayElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Ou}=xo.visitors.document.objects.JSONSchema.fixedFields,Bu=Mt(Ou,{methods:{ArrayElement(e){const t=Ou.compose.methods.ArrayElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:Pu}=xo.visitors.document.objects.JSONSchema.fixedFields,$u=Mt(Pu,{methods:{ArrayElement(e){const t=Pu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Au}=xo.visitors.document.objects.JSONSchema.fixedFields,Mu=Mt(Au,{methods:{ObjectElement(e){const t=Au.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:qu}=xo.visitors.document.objects.JSONSchema.fixedFields,ku=Mt(qu,{methods:{ObjectElement(e){const t=qu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Cu}=xo.visitors.document.objects.JSONSchema.fixedFields,Nu=Mt(Cu,{methods:{ObjectElement(e){const t=Cu.compose.methods.ObjectElement.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=Cu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:Iu}=xo.visitors.document.objects.JSONSchema.fixedFields,Tu=Mt(Iu,{methods:{ObjectElement(e){const t=Iu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Ru}=xo.visitors.document.objects.JSONSchema.fixedFields,Fu=Mt(Ru,{methods:{ObjectElement(e){const t=Ru.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Vu=U((e=>e===xo.visitors.JSONSchemaOrJSONReferenceVisitor?Su:e),xo.visitors.document.objects.JSONSchema.fixedFields),Du=Mt(qa,Bo,{props:{fieldPatternPredicate:Na(/^[A-Za-z0-9_-]+$/),specPath:e=>Io(e)?["document","objects","Reference"]:(e=>Ht(e))(e)?["document","objects","Parameter"]:["value"],canSupportSpecificationExtensions:!1},init(){this.element=new Qa},methods:{ObjectElement(e){const t=qa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}}),Lu=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ha}}),Ju=Bo,zu=Bo,Uu=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}});class Wu extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Gu=Wu,Ku=Mt(Fo,Bo,{props:{specPath:se(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gu}}),Hu=Bo,Zu=Bo,Qu=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ua}});class Xu extends ae.Sb{static primaryClass="components-schemas";constructor(e,t,n){super(e,t,n),this.classes.push(Xu.primaryClass)}}const Yu=Xu,el=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Yu},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class tl extends ae.Sb{static primaryClass="components-servers";constructor(e,t,n){super(e,t,n),this.classes.push(tl.primaryClass)}}const nl=tl,sl=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","Server"]},init(){this.element=new nl},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}});class il extends ae.Sb{static primaryClass="components-server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(il.primaryClass)}}const rl=il,ol=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new rl},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}});class al extends ae.Sb{static primaryClass="components-channels";constructor(e,t,n){super(e,t,n),this.classes.push(al.primaryClass)}}const cl=al,ul=Mt(ka,Bo,{props:{specPath:se(["document","objects","ChannelItem"])},init(){this.element=new cl}});class ll extends ae.Sb{static primaryClass="components-messages";constructor(e,t,n){super(e,t,n),this.classes.push(ll.primaryClass)}}const pl=ll,hl=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","Message"]},init(){this.element=new pl},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}});class ml extends ae.Sb{static primaryClass="components-security-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(ml.primaryClass)}}const dl=ml,gl=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new dl},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class fl extends ae.Sb{static primaryClass="components-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(fl.primaryClass)}}const bl=fl,_l=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new bl},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class yl extends ae.Sb{static primaryClass="components-correlation-ids";constructor(e,t,n){super(e,t,n),this.classes.push(yl.primaryClass)}}const vl=yl,Sl=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]},init(){this.element=new vl},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}});class El extends ae.Sb{static primaryClass="components-operation-traits";constructor(e,t,n){super(e,t,n),this.classes.push(El.primaryClass)}}const wl=El,jl=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]},init(){this.element=new wl},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}});class xl extends ae.Sb{static primaryClass="components-message-traits";constructor(e,t,n){super(e,t,n),this.classes.push(xl.primaryClass)}}const Ol=xl,Bl=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]},init(){this.element=new Ol},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}});class Pl extends ae.Sb{static primaryClass="components-server-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(Pl.primaryClass)}}const $l=Pl,Al=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]},init(){this.element=new $l},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}});class Ml extends ae.Sb{static primaryClass="components-channel-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(Ml.primaryClass)}}const ql=Ml,kl=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]},init(){this.element=new ql},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}});class Cl extends ae.Sb{static primaryClass="components-operation-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(Cl.primaryClass)}}const Nl=Cl,Il=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]},init(){this.element=new Nl},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}});class Tl extends ae.Sb{static primaryClass="components-message-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(Tl.primaryClass)}}const Rl=Tl,Fl=Mt(ka,Bo,{props:{specPath:e=>Io(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]},init(){this.element=new Rl},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(Mc).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}}),Vl=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Operation"])},init(){this.element=new Ga}}),Dl=Bo,Ll=Bo,Jl=Bo;class zl extends ae.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(zl.primaryClass)}}const Ul=zl,Wl=Mt(Ao,Bo,{init(){this.element=new Ul},methods:{ArrayElement(e){return e.forEach((e=>{if(To(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Gl=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class Kl extends ae.ON{static primaryClass="operation-traits";constructor(e,t,n){super(e,t,n),this.classes.push(Kl.primaryClass)}}const Hl=Kl,Zl=Mt(Ao,Bo,{init(){this.element=new Hl},methods:{ArrayElement(e){return e.forEach((e=>{let t;Io(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),Ot}}});class Ql extends ae.Sb{static primaryClass="operation-message-map";constructor(e,t,n){super(e,t,n),this.classes.push(Ql.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const Xl=Ql;class Yl extends ae.ON{static primaryClass="operation-message";constructor(e,t,n){super(e,t,n),this.classes.push(Yl.primaryClass)}}const ep=Yl,tp=Mt(Ao,Bo,{methods:{ObjectElement(e){if(Io(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(Zt(e.get("oneOf"))){this.element=new Xl;const t=new ep;e.get("oneOf").forEach((e=>{let n;Io(e)?(n=this.toRefractedElement(["document","objects","Reference"],e),n.setMetaProperty("referenced-element","message")):n=this.toRefractedElement(["document","objects","Message"],e),t.push(n)})),this.element.oneOf=t}else this.element=this.toRefractedElement(["document","objects","Message"],e);return this.copyMetaAndAttributes(e,this.element),Ot}}});class np extends ae.ON{constructor(e,t,n){super(e,t,n),this.element="tags"}}const sp=np,ip=Mt(Ao,Bo,{init(){this.element=new sp},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});class rp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 op=rp,ap=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new op}}),cp=Bo,up=Bo,lp=Mt(ka,Bo,{props:{specPath:se(["document","objects","ChannelItem"])},init(){this.element=new Ja}}),pp=Mt(Fo,Bo,{props:{specPath:se(["document","objects","ChannelBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new Fa}}),hp=Mt(Fo,Bo,{props:{specPath:se(["document","objects","ChannelItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Da},methods:{ObjectElement(e){const t=Fo.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}}),mp=Mt(Bo,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("reference-value"),Ot}}}),dp=Bo;class gp extends ae.ON{static primaryClass="channel-item-server-names-list";constructor(e,t,n){super(e,t,n),this.classes.push(gp.primaryClass)}}const fp=gp,bp=Mt(Ao,Bo,{init(){this.element=new fp},methods:{ArrayElement(e){return e.forEach((e=>{const t=hn(e);Ut(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),_p=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","ChannelBindings"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}});class yp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 vp=yp,Sp=Mt(Fo,Bo,{props:{specPath:se(["document","objects","MessageBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new vp}});class Ep extends ae.Sb{constructor(e,t,n){super(e,t,n),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 wp=Ep,jp=Mt(Fo,Bo,{props:{specPath:se(["document","objects","MessageExample"]),canSupportSpecificationExtensions:!0},init(){this.element=new wp}}),xp=Bo,Op=Bo,Bp=Bo,Pp=Bo;class $p extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ap=$p,Mp=Mt(Fo,Bo,{props:{specPath:se(["document","objects","MessageTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ap}}),qp=Bo,kp=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Cp=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),Np=Bo,Ip=Bo,Tp=Bo,Rp=Bo,Fp=Bo,Vp=Bo,Dp=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class Lp extends ae.ON{static primaryClass="message-trait-examples";constructor(e,t,n){super(e,t,n),this.classes.push(Lp.primaryClass)}}const Jp=Lp,zp=Mt(Ao,Bo,{init(){this.element=new Jp},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=Ht(e)?this.toRefractedElement(["document","objects","MessageExample"],e):hn(e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});const Up=d(-1);const Wp=class extends Ir{};const Gp=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Wp("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Wp("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Wp("latest method in MediaTypes class is not yet implemented.")}};class Kp extends Gp{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 n="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return Up(this.filterByFormat(e))}}const Hp=new Kp("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 Zp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Qp=Zp,Xp=Mt(Fo,Bo,{props:{specPath:se(["document","objects","Message"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qp},methods:{ObjectElement(e){const t=Fo.compose.methods.ObjectElement.call(this,e),n=this.element.get("payload"),s=p(Hp.latest(),mi(e.get("schemaFormat")));if(Hp.includes(s)&&Io(n)){const e=this.toRefractedElement(["document","objects","Reference"],n);e.meta.set("referenced-element","schema"),this.element.payload=e}else Hp.includes(s)&&Ht(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],n));return t}}}),Yp=Bo,eh=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),th=Bo,nh=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),sh=Bo,ih=Bo,rh=Bo,oh=Bo,ah=Bo,ch=Bo,uh=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class lh extends ae.ON{static primaryClass="message-examples";constructor(e,t,n){super(e,t,n),this.classes.push(lh.primaryClass)}}const ph=lh,hh=Mt(Ao,Bo,{init(){this.element=new ph},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=Ht(e)?this.toRefractedElement(["document","objects","MessageExample"],e):hn(e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});class mh extends ae.ON{static primaryClass="message-traits";constructor(e,t,n){super(e,t,n),this.classes.push(mh.primaryClass)}}const dh=mh,gh=Mt(Ao,Bo,{init(){this.element=new dh},methods:{ArrayElement(e){return e.forEach((e=>{let t;Io(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),Ot}}});class fh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 bh=fh,_h=Mt(Fo,Bo,{props:{specPath:se(["document","objects","OperationBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new bh}});class yh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 vh=yh,Sh=Mt(Fo,Bo,{props:{specPath:se(["document","objects","OperationTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new vh}}),Eh=Bo,wh=Bo,jh=Bo;class xh extends ae.ON{static primaryClass="operation-trait-security";constructor(e,t,n){super(e,t,n),this.classes.push(xh.primaryClass)}}const Oh=xh,Bh=Mt(Ao,Bo,{init(){this.element=new Oh},methods:{ArrayElement(e){return e.forEach((e=>{if(To(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Ph=Mt(Wc,Bo,{props:{alternator:[{predicate:Io,specPath:["document","objects","Reference"]},{predicate:oi,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return Mc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class $h extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ah=$h,Mh=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","amqp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ah}});class qh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 kh=qh,Ch=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","amqp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new kh}});class Nh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ih=Nh,Th=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","amqp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ih}});class Rh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpServerBinding",this.classes.push("server-binding")}}const Fh=Rh,Vh=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","amqp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fh}});class Dh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const Lh=Dh,Jh=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","amqp1","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Lh}});class zh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const Uh=zh,Wh=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","amqp1","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Uh}});class Gh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const Kh=Gh,Hh=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","amqp1","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Kh}});class Zh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const Qh=Zh,Xh=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","amqp1","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qh}});class Yh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 em=Yh,tm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","anypointmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new em}});class nm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 sm=nm,im=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","anypointmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new sm}});class rm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const om=rm,am=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","anypointmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new om}});class cm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const um=cm,lm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","anypointmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new um}});class pm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const hm=pm,mm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","http","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new hm}});class dm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 gm=dm,fm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","http","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new gm}});class bm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 _m=bm,ym=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","http","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _m}});class vm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="httpServerBinding",this.classes.push("server-binding")}}const Sm=vm,Em=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","http","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Sm}});class wm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 jm=wm,xm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","googlepubsub","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jm}});class Om extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Bm=Om,Pm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","googlepubusb","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Bm}});class $m extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const Am=$m,Mm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","googlepubsub","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Am}});class qm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const km=qm,Cm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","googlepubsub","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new km}});class Nm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Im=Nm,Tm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","ibmmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Im}});class Rm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Fm=Rm,Vm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","ibmmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fm}});class Dm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const Lm=Dm,Jm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","ibmmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Lm}});class zm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Um=zm,Wm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","ibmmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Um}});class Gm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const Km=Gm,Hm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","jms","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Km}});class Zm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Qm=Zm,Xm=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","jms","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qm}});class Ym extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const ed=Ym,td=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","jms","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ed}});class nd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsServerBinding",this.classes.push("server-binding")}}const sd=nd,id=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","jms","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new sd}});class rd extends ae.Sb{constructor(e,t,n){super(e,t,n),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 od=rd,ad=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","kafka","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new od}});class cd extends ae.Sb{constructor(e,t,n){super(e,t,n),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 ud=cd,ld=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","kafka","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ud}});class pd extends ae.Sb{constructor(e,t,n){super(e,t,n),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 hd=pd,md=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","kafka","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new hd}});class dd extends ae.Sb{constructor(e,t,n){super(e,t,n),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 gd=dd,fd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","kafka","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new gd}});class bd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const _d=bd,yd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mercure","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _d}});class vd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const Sd=vd,Ed=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mercure","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Sd}});class wd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const jd=wd,xd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mercure","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jd}});class Od extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureServerBinding",this.classes.push("server-binding")}}const Bd=Od,Pd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mercure","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Bd}});class $d extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const Ad=$d,Md=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mqtt","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ad}});class qd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const kd=qd,Cd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mqtt","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new kd}});class Nd extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Id=Nd,Td=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mqtt","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Id}});class Rd extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Fd=Rd,Vd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mqtt","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fd}});class Dd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const Ld=Dd,Jd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mqtt5","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ld}});class zd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const Ud=zd,Wd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mqtt5","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ud}});class Gd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const Kd=Gd,Hd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mqtt5","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Kd}});class Zd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const Qd=Zd,Xd=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","mqtt5","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qd}});class Yd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const eg=Yd,tg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","nats","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new eg}});class ng extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="natsMessageBinding",this.classes.push("message-binding")}}const sg=ng,ig=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","nats","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new sg}});class rg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 og=rg,ag=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","nats","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new og}});class cg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="natsServerBinding",this.classes.push("server-binding")}}const ug=cg,lg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","nats","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ug}});class pg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 hg=pg,mg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","pulsar","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new hg}});class dg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const gg=dg,fg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","pulsar","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new gg}});class bg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const _g=bg,yg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","pulsar","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _g}});class vg extends ae.Sb{constructor(e,t,n){super(e,t,n),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=vg,Eg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","pulsar","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Sg}});class wg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const jg=wg,xg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","redis","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jg}});class Og extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisMessageBinding",this.classes.push("message-binding")}}const Bg=Og,Pg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","redis","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Bg}});class $g extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Ag=$g,Mg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","redis","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ag}});class qg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisServerBinding",this.classes.push("server-binding")}}const kg=qg,Cg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","redis","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new kg}});class Ng extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const Ig=Ng,Tg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","sns","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ig}});class Rg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsMessageBinding",this.classes.push("message-binding")}}const Fg=Rg,Vg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","sns","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fg}});class Dg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Lg=Dg,Jg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","sns","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Lg}});class zg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsServerBinding",this.classes.push("server-binding")}}const Ug=zg,Wg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","sns","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ug}});class Gg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const Kg=Gg,Hg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","solace","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Kg}});class Zg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const Qg=Zg,Xg=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","solace","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qg}});class Yg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 ef=Yg,tf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","solace","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ef}});class nf extends ae.Sb{constructor(e,t,n){super(e,t,n),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 sf=nf,rf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","solace","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new sf}});class of extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const af=of,cf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","sqs","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new af}});class uf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const lf=uf,pf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","sqs","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new lf}});class hf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const mf=hf,df=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","sqs","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new mf}});class gf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsServerBinding",this.classes.push("server-binding")}}const ff=gf,bf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","sqs","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ff}});class _f extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const yf=_f,vf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","stomp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new yf}});class Sf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompMessageBinding",this.classes.push("message-binding")}}const Ef=Sf,wf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","stomp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ef}});class jf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const xf=jf,Of=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","stomp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new xf}});class Bf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompServerBinding",this.classes.push("server-binding")}}const Pf=Bf,$f=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","stomp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Pf}});class Af extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Mf=Af,qf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","ws","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Mf}});class kf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const Cf=kf,Nf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","ws","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Cf}});class If extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const Tf=If,Rf=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","ws","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Tf}});class Ff extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const Vf=Ff,Df=Mt(Fo,Bo,{props:{specPath:se(["document","objects","bindings","ws","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Vf}}),Lf={$visitor:bu,fixedFields:{$ref:_u}},Jf={$visitor:yu,fixedFields:{...Vu,allOf:xu,anyOf:Bu,oneOf:$u,items:Nu,properties:Fu,patternProperties:Tu,dependencies:ku,definitions:Mu,discriminator:wu,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:Eu}},zf={visitors:{value:Bo,document:{objects:{AsyncApi:{$visitor:Lo,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:Uo},Identifier:{$visitor:Ko},Info:{$visitor:Qo,fixedFields:{title:Xo,description:Yo,termsOfService:ea,version:ta,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:ia,fixedFields:{name:ra,url:oa,email:aa}},License:{$visitor:_a,fixedFields:{name:ya,url:va}},Servers:{$visitor:Vc},Server:{$visitor:Dc,fixedFields:{url:Lc,protocol:Jc,protocolVersion:zc,description:Uc,variables:Zc,security:Yc,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Gc}},ServerVariable:{$visitor:eu,fixedFields:{enum:tu,default:nu,description:su,examples:iu}},DefaultContentType:{$visitor:ga},Channels:{$visitor:lp},ChannelItem:{$visitor:hp,fixedFields:{$ref:mp,description:dp,servers:bp,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:_p}},Operation:{$visitor:Vl,fixedFields:{operationId:Dl,summary:Ll,description:Jl,security:Wl,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Gl,traits:Zl,message:tp}},OperationTrait:{$visitor:Sh,fixedFields:{operationId:Eh,summary:wh,description:jh,security:Bh,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Ph}},Message:{$visitor:Xp,fixedFields:{messageId:Yp,headers:eh,payload:th,correlationId:nh,schemaFormat:sh,contentType:ih,name:rh,title:oh,summary:ah,description:ch,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:uh,examples:hh,traits:gh}},MessageTrait:{$visitor:Mp,fixedFields:{messageId:qp,headers:kp,correlationId:Cp,schemaFormat:Np,contentType:Ip,name:Tp,title:Rp,summary:Fp,description:Vp,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Dp,examples:zp}},MessageExample:{$visitor:jp,fixedFields:{headers:xp,payload:Op,name:Bp,summary:Pp}},Tags:{$visitor:ip},Tag:{$visitor:ap,fixedFields:{name:cp,description:up,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:Ku,fixedFields:{description:Hu,url:Zu}},Components:{$visitor:Qu,fixedFields:{schemas:el,servers:sl,serverVariables:ol,channels:ul,messages:hl,securitySchemes:gl,parameters:_l,correlationIds:Sl,operationTraits:jl,messageTraits:Bl,serverBindings:Al,channelBindings:kl,operationBindings:Il,messageBindings:Fl}},JSONReference:Lf,Reference:Lf,JSONSchema:Jf,Schema:Jf,LinkDescription:xo.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:cu,fixedFields:{type:uu,description:lu,name:pu,in:hu,scheme:mu,bearerFormat:du,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:gu}},SecurityRequirement:{$visitor:fu},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:Oa,fixedFields:{authorizationUrl:Ba,tokenUrl:Pa,refreshUrl:$a,scopes:Ca}},ServerBindings:{$visitor:ru,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:Du},Parameter:{$visitor:Lu,fixedFields:{description:Ju,schema:Uu,location:zu}},ChannelBindings:{$visitor:pp,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:_h,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:Sp,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:la,fixedFields:{description:pa,location:ha}},bindings:{http:{ServerBinding:{$visitor:Em},ChannelBinding:{$visitor:mm},OperationBinding:{$visitor:ym,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Su,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:fm,fixedFields:{headers:Su,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:Df},ChannelBinding:{$visitor:qf,fixedFields:{method:{$ref:"#/visitors/value"},query:Su,headers:Su,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Rf},MessageBinding:{$visitor:Nf}},kafka:{ServerBinding:{$visitor:fd,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:ad,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:md,fixedFields:{groupId:Su,clientId:Su,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:ld,fixedFields:{key:Su,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:lm},ChannelBinding:{$visitor:tm,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:am},MessageBinding:{$visitor:im,fixedFields:{headers:Su,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Vh},ChannelBinding:{$visitor:Mh,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Th,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:Ch,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:Xh},ChannelBinding:{$visitor:Jh},OperationBinding:{$visitor:Hh},MessageBinding:{$visitor:Wh}},mqtt:{ServerBinding:{$visitor:Vd,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Md},OperationBinding:{$visitor:Td,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Cd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:Xd},ChannelBinding:{$visitor:Jd},OperationBinding:{$visitor:Hd},MessageBinding:{$visitor:Wd}},nats:{ServerBinding:{$visitor:lg},ChannelBinding:{$visitor:tg},OperationBinding:{$visitor:ag,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:ig}},pulsar:{ServerBinding:{$visitor:Eg,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:mg,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:yg},MessageBinding:{$visitor:fg}},jms:{ServerBinding:{$visitor:id},ChannelBinding:{$visitor:Hm},OperationBinding:{$visitor:td},MessageBinding:{$visitor:Xm}},sns:{ServerBinding:{$visitor:Wg},ChannelBinding:{$visitor:Tg},OperationBinding:{$visitor:Jg},MessageBinding:{$visitor:Vg}},solace:{ServerBinding:{$visitor:rf,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Hg},OperationBinding:{$visitor:tf,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Xg}},sqs:{ServerBinding:{$visitor:bf},ChannelBinding:{$visitor:cf},OperationBinding:{$visitor:df},MessageBinding:{$visitor:pf}},stomp:{ServerBinding:{$visitor:$f},ChannelBinding:{$visitor:vf},OperationBinding:{$visitor:Of},MessageBinding:{$visitor:wf}},redis:{ServerBinding:{$visitor:Cg},ChannelBinding:{$visitor:xg},OperationBinding:{$visitor:Mg},MessageBinding:{$visitor:Pg}},mercure:{ServerBinding:{$visitor:Pd},ChannelBinding:{$visitor:yd},OperationBinding:{$visitor:xd},MessageBinding:{$visitor:Ed}},googlepubsub:{ServerBinding:{$visitor:Cm},ChannelBinding:{$visitor:xm,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:Mm},MessageBinding:{$visitor:Pm,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:Wm,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:Tm,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Vm,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Jm}}}},extension:{$visitor:Mo}}}},Uf={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",Do),t.register("asyncApiVersion",zo),t.register("channelBindings",Fa),t.register("channelItem",Da),t.register("channels",Ja),t.register("components",Ua),t.register("contact",sa),t.register("correlationID",ua),t.register("defaultContentType",da),t.register("externalDocumentation",Gu),t.register("identifier",Go),t.register("info",Zo),t.register("license",ba),t.register("message",Qp),t.register("messageBindings",vp),t.register("messageExample",wp),t.register("messageTrait",Ap),t.register("oAuthFlow",xa),t.register("oAuthFlows",Ea),t.register("operation",Ga),t.register("operationBindings",bh),t.register("operationTrait",vh),t.register("parameter",Ha),t.register("parameters",Qa),t.register("reference",Ya),t.register("schema",cc),t.register("securityRequirement",lc),t.register("securityScheme",au),t.register("server",hc),t.register("serverBindings",dc),t.register("servers",Ta),t.register("serverVariable",fc),t.register("tag",op),t.register("tags",sp),t.register("amqpChannelBinding",Ah),t.register("amqpMessageBinding",kh),t.register("amqpOperationBinding",Ih),t.register("amqpServerBinding",Fh),t.register("amqp1ChannelBinding",Lh),t.register("amqp1MessageBinding",Uh),t.register("amqp1OperationBinding",Kh),t.register("amqp1ServerBinding",Qh),t.register("anypointmqChannelBinding",em),t.register("anypointmqMessageBinding",sm),t.register("anypointmqOperationBinding",om),t.register("anypointmqServerBinding",um),t.register("googlepubsubChannelBinding",jm),t.register("googlepubsubMessageBinding",Bm),t.register("googlepubsubOperationBinding",Am),t.register("googlepubsubServerBinding",km),t.register("httpChannelBinding",hm),t.register("httpMessageBinding",gm),t.register("httpOperationBinding",_m),t.register("httpServerBinding",Sm),t.register("ibmmqChannelBinding",Im),t.register("ibmmqMessageBinding",Fm),t.register("ibmmqOperationBinding",Lm),t.register("ibmmqServerBinding",Um),t.register("jmsChannelBinding",Km),t.register("jmsMessageBinding",Qm),t.register("jmsOperationBinding",ed),t.register("jmsServerBinding",sd),t.register("kafkaChannelBinding",od),t.register("kafkaMessageBinding",ud),t.register("kafkaOperationBinding",hd),t.register("kafkaServerBinding",gd),t.register("mercureChannelBinding",_d),t.register("mercureMessageBinding",Sd),t.register("mercureOperationBinding",jd),t.register("mercureServerBinding",Bd),t.register("mqttChannelBinding",Ad),t.register("mqttMessageBinding",kd),t.register("mqttOperationBinding",Id),t.register("mqttServerBinding",Fd),t.register("mqtt5ChannelBinding",Ld),t.register("mqtt5MessageBinding",Ud),t.register("mqtt5OperationBinding",Kd),t.register("mqtt5ServerBinding",Qd),t.register("natsChannelBinding",eg),t.register("natsMessageBinding",sg),t.register("natsOperationBinding",og),t.register("natsServerBinding",ug),t.register("pulsarChannelBinding",hg),t.register("pulsarMessageBinding",gg),t.register("pulsarOperationBinding",_g),t.register("pulsarServerBinding",Sg),t.register("redisChannelBinding",jg),t.register("redisMessageBinding",Bg),t.register("redisOperationBinding",Ag),t.register("redisServerBinding",kg),t.register("snsChannelBinding",Ig),t.register("snsMessageBinding",Fg),t.register("snsOperationBinding",Lg),t.register("snsServerBinding",Ug),t.register("solaceChannelBinding",Kg),t.register("solaceMessageBinding",Qg),t.register("solaceOperationBinding",ef),t.register("solaceServerBinding",sf),t.register("sqsChannelBinding",af),t.register("sqsMessageBinding",lf),t.register("sqsOperationBinding",mf),t.register("sqsServerBinding",ff),t.register("stompChannelBinding",yf),t.register("stompMessageBinding",Ef),t.register("stompOperationBinding",xf),t.register("stompServerBinding",Pf),t.register("webSocketChannelBinding",Mf),t.register("webSocketMessageBinding",Cf),t.register("webSocketOperationBinding",Tf),t.register("webSocketServerBinding",Vf),t}},Wf=()=>{const e=lt(Uf);return{predicates:{...o,isStringElement:Ut},namespace:e}},Gf=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:n=[]}={})=>{const s=(0,ae.Qc)(e),i=Hs(zf),r=qn(t,[],i);return vn(s,r,{state:{specObj:i}}),Nn(r.element,n,{toolboxCreator:Wf,visitorOptions:{keyMap:$o,nodeTypeGetter:Po}})},Kf=e=>(t,n={})=>Gf(t,{...n,specPath:e});Do.refract=Kf(["visitors","document","objects","AsyncApi","$visitor"]),zo.refract=Kf(["visitors","document","objects","AsyncApiVersion","$visitor"]),Fa.refract=Kf(["visitors","document","objects","ChannelBindings","$visitor"]),Da.refract=Kf(["visitors","document","objects","ChannelItem","$visitor"]),Ja.refract=Kf(["visitors","document","objects","Channels","$visitor"]),Ua.refract=Kf(["visitors","document","objects","Components","$visitor"]),sa.refract=Kf(["visitors","document","objects","Contact","$visitor"]),ua.refract=Kf(["visitors","document","objects","CorrelationID","$visitor"]),da.refract=Kf(["visitors","document","objects","DefaultContentType","$visitor"]),Gu.refract=Kf(["visitors","document","objects","ExternalDocumentation","$visitor"]),Go.refract=Kf(["visitors","document","objects","Identifier","$visitor"]),Zo.refract=Kf(["visitors","document","objects","Info","$visitor"]),ba.refract=Kf(["visitors","document","objects","License","$visitor"]),Qp.refract=Kf(["visitors","document","objects","Message","$visitor"]),vp.refract=Kf(["visitors","document","objects","MessageBindings","$visitor"]),wp.refract=Kf(["visitors","document","objects","MessageExample","$visitor"]),Ap.refract=Kf(["visitors","document","objects","MessageTrait","$visitor"]),xa.refract=Kf(["visitors","document","objects","OAuthFlow","$visitor"]),Ea.refract=Kf(["visitors","document","objects","OAuthFlows","$visitor"]),Ga.refract=Kf(["visitors","document","objects","Operation","$visitor"]),bh.refract=Kf(["visitors","document","objects","OperationBindings","$visitor"]),vh.refract=Kf(["visitors","document","objects","OperationTrait","$visitor"]),Ha.refract=Kf(["visitors","document","objects","Parameter","$visitor"]),Qa.refract=Kf(["visitors","document","objects","Parameters","$visitor"]),Ya.refract=Kf(["visitors","document","objects","Reference","$visitor"]),cc.refract=Kf(["visitors","document","objects","Schema","$visitor"]),lc.refract=Kf(["visitors","document","objects","SecurityRequirement","$visitor"]),au.refract=Kf(["visitors","document","objects","SecurityScheme","$visitor"]),hc.refract=Kf(["visitors","document","objects","Server","$visitor"]),dc.refract=Kf(["visitors","document","objects","ServerBindings","$visitor"]),Ta.refract=Kf(["visitors","document","objects","Servers","$visitor"]),fc.refract=Kf(["visitors","document","objects","ServerVariable","$visitor"]),op.refract=Kf(["visitors","document","objects","Tag","$visitor"]),sp.refract=Kf(["visitors","document","objects","Tags","$visitor"]),Ah.refract=Kf(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),kh.refract=Kf(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),Ih.refract=Kf(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Fh.refract=Kf(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Lh.refract=Kf(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),Uh.refract=Kf(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),Kh.refract=Kf(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),Qh.refract=Kf(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),hm.refract=Kf(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),gm.refract=Kf(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),_m.refract=Kf(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),Sm.refract=Kf(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),jm.refract=Kf(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),Bm.refract=Kf(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),Am.refract=Kf(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),km.refract=Kf(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),Im.refract=Kf(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),Fm.refract=Kf(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),Lm.refract=Kf(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Um.refract=Kf(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),Km.refract=Kf(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Qm.refract=Kf(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),ed.refract=Kf(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),sd.refract=Kf(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),od.refract=Kf(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),ud.refract=Kf(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),hd.refract=Kf(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),gd.refract=Kf(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),em.refract=Kf(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),sm.refract=Kf(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),om.refract=Kf(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),um.refract=Kf(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),_d.refract=Kf(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),Sd.refract=Kf(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),jd.refract=Kf(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),Bd.refract=Kf(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Ad.refract=Kf(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),kd.refract=Kf(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),Id.refract=Kf(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),Fd.refract=Kf(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),Ld.refract=Kf(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),Ud.refract=Kf(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),Kd.refract=Kf(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),Qd.refract=Kf(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),eg.refract=Kf(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),sg.refract=Kf(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),og.refract=Kf(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),ug.refract=Kf(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),hg.refract=Kf(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),gg.refract=Kf(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),_g.refract=Kf(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),Sg.refract=Kf(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),jg.refract=Kf(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),Bg.refract=Kf(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Ag.refract=Kf(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),kg.refract=Kf(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),Ig.refract=Kf(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),Fg.refract=Kf(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Lg.refract=Kf(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),Ug.refract=Kf(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),Kg.refract=Kf(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),Qg.refract=Kf(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),ef.refract=Kf(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),sf.refract=Kf(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),af.refract=Kf(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),lf.refract=Kf(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),mf.refract=Kf(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),ff.refract=Kf(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),yf.refract=Kf(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),Ef.refract=Kf(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),xf.refract=Kf(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),Pf.refract=Kf(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),Mf.refract=Kf(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),Cf.refract=Kf(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),Tf.refract=Kf(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),Vf.refract=Kf(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const Hf=new Kp(...Hp.filterByFormat("generic"),...Hp.filterByFormat("json")),Zf=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,Qf=async e=>Zf.test(e)&&await(async e=>{if(!Cs.test(e))return!1;try{return"ERROR"!==(await wt(e)).rootNode.type}catch{return!1}})(e),Xf=async(e,t={})=>{const n=f({},"refractorOpts",t),s=_(["refractorOpts"],t),i=await(async(e,{sourceMap:t=!1,syntacticAnalysis:n="direct"}={})=>{const s=await wt(e);let i;return i="indirect"===n?ks(s,{sourceMap:t}):Wn(s,{sourceMap:t}),i})(e,s),{result:r}=i;if(oe(r)){const e=Do.refract(r,n);e.classes.push("result"),i.replaceResult(e)}return i},Yf=lt(Uf)})(),s})()));