@swagger-api/apidom-parser-adapter-asyncapi-json-2 0.68.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +376 -0
- package/LICENSES/Apache-2.0.txt +202 -0
- package/LICENSES/MIT.txt +9 -0
- package/NOTICE +57 -0
- package/README.md +114 -0
- package/cjs/adapter.cjs +35 -0
- package/cjs/media-types.cjs +8 -0
- package/dist/7c7ca323880d9fa6e48d1d1b2e78e140.wasm +0 -0
- package/dist/apidom-parser-adapter-asyncapi-json-2.browser.js +50360 -0
- package/dist/apidom-parser-adapter-asyncapi-json-2.browser.min.js +1 -0
- package/dist/fba0b3cc0d7ee926ea482deee298a5fe.wasm +0 -0
- package/es/adapter.js +23 -0
- package/es/media-types.js +3 -0
- package/package.json +64 -0
- package/types/dist.d.ts +12 -0
|
@@ -0,0 +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={8385:(e,t,n)=>{var s=n(6174);e.exports=s},5271:(e,t,n)=>{var s=n(7820);e.exports=s},7574:(e,t,n)=>{var s=n(2);e.exports=s},33:(e,t,n)=>{var s=n(5636);e.exports=s},9821:(e,t,n)=>{var s=n(2285);n(9031),e.exports=s},8008:(e,t,n)=>{var s=n(8535);e.exports=s},164:(e,t,n)=>{var s=n(6042);e.exports=s},2089:(e,t,n)=>{n(2276);var s=n(5607);e.exports=s("Array").indexOf},2604:(e,t,n)=>{var s=n(8902),r=n(2089),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||s(i,e)&&t===i.indexOf?r:t}},3512:(e,t,n)=>{n(297);var s=n(7545).Object,r=e.exports=function(e,t,n){return s.defineProperty(e,t,n)};s.defineProperty.sham&&(r.sham=!0)},2921:(e,t,n)=>{n(6187);var s=n(7545);e.exports=s.Object.getOwnPropertySymbols},8651:(e,t,n)=>{n(2647);var s=n(7545);e.exports=s.Object.keys},5008:(e,t,n)=>{n(9106),n(6663),n(6187),n(9781),n(492),n(6681),n(9594),n(3665),n(9017),n(1250),n(9786),n(503),n(6565),n(9322),n(3610),n(6886),n(3514),n(8671),n(8556),n(1367);var s=n(7545);e.exports=s.Symbol},994:(e,t,n)=>{n(8939),n(6663),n(5454),n(3665);var s=n(9207);e.exports=s.f("iterator")},290:(e,t,n)=>{n(2432),n(3610);var s=n(9207);e.exports=s.f("toPrimitive")},5159:(e,t,n)=>{e.exports=n(2747)},8026:(e,t,n)=>{e.exports=n(229)},1903:(e,t,n)=>{e.exports=n(5090)},902:(e,t,n)=>{e.exports=n(5483)},9256:(e,t,n)=>{e.exports=n(2185)},5659:(e,t,n)=>{e.exports=n(9982)},3698:(e,t,n)=>{e.exports=n(8241)},2747:(e,t,n)=>{var s=n(8385);e.exports=s},229:(e,t,n)=>{var s=n(5271);e.exports=s},5090:(e,t,n)=>{var s=n(7574);e.exports=s},5483:(e,t,n)=>{var s=n(33);e.exports=s},2185:(e,t,n)=>{var s=n(9821);n(177),n(2725),n(1806),n(6658),n(4212),n(8658),n(1875),n(4592),n(6680),e.exports=s},9982:(e,t,n)=>{var s=n(8008);e.exports=s},8241:(e,t,n)=>{var s=n(164);e.exports=s},6235:(e,t,n)=>{var s=n(6447),r=n(9288),i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not a function")}},7757:(e,t,n)=>{var s=n(6447),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,n)=>{var s=n(5744),r=String,i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not an object")}},8180:(e,t,n)=>{var s=n(101),r=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=s(t),u=i(c),l=r(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)}},454:(e,t,n)=>{var s=n(8043),r=n(4120),i=n(2202),o=n(1795),a=n(4104),c=n(1321),u=r([].push),l=function(e){var t=1==e,n=2==e,r=3==e,l=4==e,p=6==e,h=7==e,m=5==e||p;return function(d,g,f,b){for(var y,v,_=o(d),S=i(_),j=s(g,f),w=a(S),E=0,O=b||c,x=t?O(d,w):n||h?O(d,0):void 0;w>E;E++)if((m||E in S)&&(v=j(y=S[E],E,_),e))if(t)x[E]=v;else if(v)switch(e){case 3:return!0;case 5:return y;case 6:return E;case 2:u(x,y)}else switch(e){case 4:return!1;case 7:u(x,y)}return p?-1:r||l?l:x}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},242:(e,t,n)=>{var s=n(6192),r=n(8182),i=n(4218),o=r("species");e.exports=function(e){return i>=51||!s((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},424:(e,t,n)=>{"use strict";var s=n(6192);e.exports=function(e,t){var n=[][e];return!!n&&s((function(){n.call(null,t||function(){return 1},1)}))}},1923:(e,t,n)=>{var s=n(7739),r=n(4104),i=n(9361),o=Array,a=Math.max;e.exports=function(e,t,n){for(var c=r(e),u=s(t,c),l=s(void 0===n?c:n,c),p=o(a(l-u,0)),h=0;u<l;u++,h++)i(p,h,e[u]);return p.length=h,p}},3096:(e,t,n)=>{var s=n(4120);e.exports=s([].slice)},3712:(e,t,n)=>{var s=n(4770),r=n(2091),i=n(5744),o=n(8182)("species"),a=Array;e.exports=function(e){var t;return s(e)&&(t=e.constructor,(r(t)&&(t===a||s(t.prototype))||i(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?a:t}},1321:(e,t,n)=>{var s=n(3712);e.exports=function(e,t){return new(s(e))(0===t?0:t)}},9272:(e,t,n)=>{var s=n(4120),r=s({}.toString),i=s("".slice);e.exports=function(e){return i(r(e),8,-1)}},4696:(e,t,n)=>{var s=n(3471),r=n(6447),i=n(9272),o=n(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=s?i: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?i(t):"Object"==(s=i(t))&&r(t.callee)?"Arguments":s}},4635:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{var s=n(69),r=n(2760),i=n(774);e.exports=s?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9361:(e,t,n)=>{"use strict";var s=n(77),r=n(2760),i=n(774);e.exports=function(e,t,n){var o=s(t);o in e?r.f(e,o,i(0,n)):e[o]=n}},2807:(e,t,n)=>{var s=n(2760);e.exports=function(e,t,n){return s.f(e,t,n)}},9362:(e,t,n)=>{var s=n(8711);e.exports=function(e,t,n,r){return r&&r.enumerable?e[t]=n:s(e,t,n),e}},5098:(e,t,n)=>{var s=n(8576),r=Object.defineProperty;e.exports=function(e,t){try{r(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}},69:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{var s=n(8576),r=n(5744),i=s.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},9425:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},7365:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{var s,r,i=n(8576),o=n(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=(s=l.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!r&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(r=+s[1]),e.exports=r},5607:(e,t,n)=>{var s=n(7545);e.exports=function(e){return s[e+"Prototype"]}},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(e,t,n)=>{"use strict";var s=n(8576),r=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),u=n(7545),l=n(8043),p=n(8711),h=n(4500),m=function(e){var t=function(n,s,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,s)}return new e(n,s,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,r,d,g,f,b,y,v,_,S=e.target,j=e.global,w=e.stat,E=e.proto,O=j?s:w?s[S]:(s[S]||{}).prototype,x=j?u:u[S]||p(u,S,{})[S],P=x.prototype;for(g in t)r=!(n=c(j?g:S+(w?".":"#")+g,e.forced))&&O&&h(O,g),b=x[g],r&&(y=e.dontCallGetSet?(_=a(O,g))&&_.value:O[g]),f=r&&y?y:t[g],r&&typeof b==typeof f||(v=e.bind&&r?l(f,s):e.wrap&&r?m(f):E&&o(f)?i(f):f,(e.sham||f&&f.sham||b&&b.sham)&&p(v,"sham",!0),p(x,g,v),E&&(h(u,d=S+"Prototype")||p(u,d,{}),p(u[d],g,f),e.real&&P&&(n||!P[g])&&p(P,g,f)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(s?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{var s=n(4914),r=n(6235),i=n(2784),o=s(s.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{var s=n(2784),r=Function.prototype.call;e.exports=s?r.bind(r):function(){return r.apply(r,arguments)}},2282:(e,t,n)=>{var s=n(69),r=n(4500),i=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!s||s&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(e,t,n)=>{var s=n(4120),r=n(6235);e.exports=function(e,t,n){try{return s(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{var s=n(9272),r=n(4120);e.exports=function(e){if("Function"===s(e))return r(e)}},4120:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.call,o=s&&r.bind.bind(i,i);e.exports=s?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{var s=n(7545),r=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(s[e])||o(r[e]):s[e]&&s[e][t]||r[e]&&r[e][t]}},9202:(e,t,n)=>{var s=n(4120),r=n(4770),i=n(6447),o=n(9272),a=n(4845),c=s([].push);e.exports=function(e){if(i(e))return e;if(r(e)){for(var t=e.length,n=[],s=0;s<t;s++){var u=e[s];"string"==typeof u?c(n,u):"number"!=typeof u&&"Number"!=o(u)&&"String"!=o(u)||c(n,a(u))}var l=n.length,p=!0;return function(e,t){if(p)return p=!1,t;if(r(this))return t;for(var s=0;s<l;s++)if(n[s]===e)return t}}}},5037:(e,t,n)=>{var s=n(6235),r=n(5646);e.exports=function(e,t){var n=e[t];return r(n)?void 0:s(n)}},8576:(e,t,n)=>{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}()||Function("return this")()},4500:(e,t,n)=>{var s=n(4120),r=n(1795),i=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},4535:e=>{e.exports={}},7403:(e,t,n)=>{var s=n(150);e.exports=s("document","documentElement")},188:(e,t,n)=>{var s=n(69),r=n(6192),i=n(7449);e.exports=!s&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{var s=n(4120),r=n(6192),i=n(9272),o=Object,a=s("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},9516:(e,t,n)=>{var s=n(4120),r=n(6447),i=n(6434),o=s(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},3326:(e,t,n)=>{var s,r,i,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 g(d);return t.facade=e,b.set(e,t),t},r=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var y=h("state");m[y]=!0,s=function(e,t){if(l(e,y))throw g(d);return t.facade=e,u(e,y,t),t},r=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:s,get:r,has:i,enforce:function(e){return i(e)?r(e):s(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},4770:(e,t,n)=>{var s=n(9272);e.exports=Array.isArray||function(e){return"Array"==s(e)}},6447:(e,t,n)=>{var s=n(8382),r=s.all;e.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},2091:(e,t,n)=>{var s=n(4120),r=n(6192),i=n(6447),o=n(4696),a=n(150),c=n(9516),u=function(){},l=[],p=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,m=s(h.exec),d=!h.exec(u),g=function(e){if(!i(e))return!1;try{return p(u,l,e),!0}catch(e){return!1}},f=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!m(h,c(e))}catch(e){return!0}};f.sham=!0,e.exports=!p||r((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?f:g},9245:(e,t,n)=>{var s=n(6192),r=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==l||n!=u&&(r(t)?s(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,n)=>{var s=n(6447),r=n(8382),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===i}:function(e){return"object"==typeof e?null!==e:s(e)}},5546:e=>{e.exports=!0},3236:(e,t,n)=>{var s=n(150),r=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return r(t)&&i(t.prototype,a(e))}},5695:(e,t,n)=>{"use strict";var s=n(4413).IteratorPrototype,r=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=r(s,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5297:(e,t,n)=>{"use strict";var s=n(3085),r=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),u=n(9341),l=n(4469),p=n(1284),h=n(8711),m=n(9362),d=n(8182),g=n(7771),f=n(4413),b=o.PROPER,y=o.CONFIGURABLE,v=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,S=d("iterator"),j="keys",w="values",E="entries",O=function(){return this};e.exports=function(e,t,n,o,d,f,x){c(n,t,o);var P,B,$,A=function(e){if(e===d&&N)return N;if(!_&&e in k)return k[e];switch(e){case j:case w:case E: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=!_&&C||A(d),I="Array"==t&&k.entries||C;if(I&&(P=u(I.call(new e)))!==Object.prototype&&P.next&&(i||u(P)===v||(l?l(P,v):a(P[S])||m(P,S,O)),p(P,M,!0,!0),i&&(g[M]=O)),b&&d==w&&C&&C.name!==w&&(!i&&y?h(k,"name",w):(q=!0,N=function(){return r(C,this)})),d)if(B={values:A(w),keys:f?N:A(j),entries:A(E)},x)for($ in B)(_||q||!($ in k))&&m(k,$,B[$]);else s({target:t,proto:!0,forced:_||q},B);return i&&!x||k[S]===N||m(k,S,N,{name:d}),g[t]=N,B}},4413:(e,t,n)=>{"use strict";var s,r,i,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(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(s=r):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=>{e.exports={}},4104:(e,t,n)=>{var s=n(8445);e.exports=function(e){return s(e.length)}},7679:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},2853:(e,t,n)=>{var s,r=n(1138),i=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 r=o.length;r--;)delete b[p][o[r]];return b()};a[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d[p]=r(e),n=new d,d[p]=null,n[m]=e):n=b(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{var s=n(69),r=n(9600),i=n(2760),o=n(1138),a=n(101),c=n(7653);t.f=s&&!r?Object.defineProperties:function(e,t){o(e);for(var n,s=a(t),r=c(t),u=r.length,l=0;u>l;)i.f(e,n=r[l++],s[n]);return e}},2760:(e,t,n)=>{var s=n(69),r=n(188),i=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?i?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),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{var s=n(69),r=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=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(!r(i.f,e,t),e[t])}},4052:(e,t,n)=>{var s=n(9272),r=n(101),i=n(2092).f,o=n(1923),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==s(e)?function(e){try{return i(e)}catch(e){return o(a)}}(e):i(r(e))}},2092:(e,t,n)=>{var s=n(7934),r=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,r)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{var s=n(4500),r=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(s(t,c))return t[c];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{var s=n(4120);e.exports=s({}.isPrototypeOf)},7934:(e,t,n)=>{var s=n(4120),r=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=s([].push);e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&c(l,n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||c(l,n));return l}},7653:(e,t,n)=>{var s=n(7934),r=n(2952);e.exports=Object.keys||function(e){return s(e,r)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!n.call({1:2},1);t.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{var s=n(6419),r=n(1138),i=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 r(n),i(s),t?e(n,s):n.__proto__=s,n}}():void 0)},158:(e,t,n)=>{"use strict";var s=n(3471),r=n(4696);e.exports=s?{}.toString:function(){return"[object "+r(this)+"]"}},380:(e,t,n)=>{var s=n(8922),r=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&r(n=e.toString)&&!i(a=s(n,e)))return a;if(r(n=e.valueOf)&&!i(a=s(n,e)))return a;if("string"!==t&&r(n=e.toString)&&!i(a=s(n,e)))return a;throw o("Can't convert object to primitive value")}},7545:e=>{e.exports={}},3209:(e,t,n)=>{var s=n(5646),r=TypeError;e.exports=function(e){if(s(e))throw r("Can't call method on "+e);return e}},1284:(e,t,n)=>{var s=n(3471),r=n(2760).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||r(l,c,{configurable:!0,value:t}),u&&!s&&i(l,"toString",a)}}},9766:(e,t,n)=>{var s=n(8717),r=n(2759),i=s("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},6434:(e,t,n)=>{var s=n(8576),r=n(5098),i="__core-js_shared__",o=s[i]||r(i,{});e.exports=o},8717:(e,t,n)=>{var s=n(5546),r=n(6434);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:s?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{var s=n(4120),r=n(1941),i=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=i(o(t)),h=r(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)=>{var s=n(4218),r=n(6192);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},3407:(e,t,n)=>{var s=n(8922),r=n(150),i=n(8182),o=n(9362);e.exports=function(){var e=r("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,a=i("toPrimitive");t&&!t[a]&&o(t,a,(function(e){return s(n,this)}),{arity:1})}},31:(e,t,n)=>{var s=n(6770);e.exports=s&&!!Symbol.for&&!!Symbol.keyFor},7739:(e,t,n)=>{var s=n(1941),r=Math.max,i=Math.min;e.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}},101:(e,t,n)=>{var s=n(2202),r=n(3209);e.exports=function(e){return s(r(e))}},1941:(e,t,n)=>{var s=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}},8445:(e,t,n)=>{var s=n(1941),r=Math.min;e.exports=function(e){return e>0?r(s(e),9007199254740991):0}},1795:(e,t,n)=>{var s=n(3209),r=Object;e.exports=function(e){return r(s(e))}},7888:(e,t,n)=>{var s=n(8922),r=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=s(c,e,t),!r(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{var s=n(7888),r=n(3236);e.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}},3471:(e,t,n)=>{var s={};s[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(s)},4845:(e,t,n)=>{var s=n(4696),r=String;e.exports=function(e){if("Symbol"===s(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{var s=n(4120),r=0,i=Math.random(),o=s(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},615:(e,t,n)=>{var s=n(6770);e.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{var s=n(69),r=n(6192);e.exports=s&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{var s=n(8576),r=n(6447),i=s.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8332:(e,t,n)=>{var s=n(7545),r=n(4500),i=n(9207),o=n(2760).f;e.exports=function(e){var t=s.Symbol||(s.Symbol={});r(t,e)||o(t,e,{value:i.f(e)})}},9207:(e,t,n)=>{var s=n(8182);t.f=s},8182:(e,t,n)=>{var s=n(8576),r=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),u=s.Symbol,l=r("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},9106:(e,t,n)=>{"use strict";var s=n(3085),r=n(6192),i=n(4770),o=n(5744),a=n(1795),c=n(4104),u=n(9425),l=n(9361),p=n(1321),h=n(242),m=n(8182),d=n(4218),g=m("isConcatSpreadable"),f=d>=51||!r((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),b=function(e){if(!o(e))return!1;var t=e[g];return void 0!==t?!!t:i(e)};s({target:"Array",proto:!0,arity:1,forced:!f||!h("concat")},{concat:function(e){var t,n,s,r,i,o=a(this),h=p(o,0),m=0;for(t=-1,s=arguments.length;t<s;t++)if(b(i=-1===t?o:arguments[t]))for(r=c(i),u(m+r),n=0;n<r;n++,m++)n in i&&l(h,m,i[n]);else u(m+1),l(h,m++,i);return h.length=m,h}})},2276:(e,t,n)=>{"use strict";var s=n(3085),r=n(4914),i=n(8180).indexOf,o=n(424),a=r([].indexOf),c=!!a&&1/a([1],1,-0)<0;s({target:"Array",proto:!0,forced:c||!o("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return c?a(this,e,t)||0:i(this,e,t)}})},8939:(e,t,n)=>{"use strict";var s=n(101),r=n(7423),i=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++;return!t||s>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?s:"values"==n?t[s]:[s,t[s]],!1)}),"values");var g=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&p&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},2432:()=>{},9704:(e,t,n)=>{var s=n(3085),r=n(150),i=n(6298),o=n(8922),a=n(4120),c=n(6192),u=n(6447),l=n(3236),p=n(3096),h=n(9202),m=n(6770),d=String,g=r("JSON","stringify"),f=a(/./.exec),b=a("".charAt),y=a("".charCodeAt),v=a("".replace),_=a(1..toString),S=/[\uD800-\uDFFF]/g,j=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,E=!m||c((function(){var e=r("Symbol")();return"[null]"!=g([e])||"{}"!=g({a:e})||"{}"!=g(Object(e))})),O=c((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),x=function(e,t){var n=p(arguments),s=h(t);if(u(s)||void 0!==e&&!l(e))return n[1]=function(e,t){if(u(s)&&(t=o(s,this,d(e),t)),!l(t))return t},i(g,null,n)},P=function(e,t,n){var s=b(n,t-1),r=b(n,t+1);return f(j,e)&&!f(w,r)||f(w,e)&&!f(j,s)?"\\u"+_(y(e,0),16):e};g&&s({target:"JSON",stat:!0,arity:3,forced:E||O},{stringify:function(e,t,n){var s=p(arguments),r=i(E?x:g,null,s);return O&&"string"==typeof r?v(r,S,P):r}})},8671:(e,t,n)=>{var s=n(8576);n(1284)(s.JSON,"JSON",!0)},8556:()=>{},297:(e,t,n)=>{var s=n(3085),r=n(69),i=n(2760).f;s({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!r},{defineProperty:i})},7895:(e,t,n)=>{var s=n(3085),r=n(6770),i=n(6192),o=n(4750),a=n(1795);s({target:"Object",stat:!0,forced:!r||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(a(e)):[]}})},2647:(e,t,n)=>{var s=n(3085),r=n(1795),i=n(7653);s({target:"Object",stat:!0,forced:n(6192)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},6663:()=>{},1367:()=>{},5454:(e,t,n)=>{"use strict";var s=n(863).charAt,r=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:r(e),index:0})}),(function(){var e,t=l(this),n=t.string,r=t.index;return r>=n.length?a(void 0,!0):(e=s(n,r),t.index+=e.length,a(e,!1))}))},9781:(e,t,n)=>{n(8332)("asyncIterator")},9351:(e,t,n)=>{"use strict";var s=n(3085),r=n(8576),i=n(8922),o=n(4120),a=n(5546),c=n(69),u=n(6770),l=n(6192),p=n(4500),h=n(8902),m=n(1138),d=n(101),g=n(77),f=n(4845),b=n(774),y=n(2853),v=n(7653),_=n(2092),S=n(4052),j=n(4750),w=n(5141),E=n(2760),O=n(1187),x=n(6007),P=n(9362),B=n(2807),$=n(8717),A=n(9766),M=n(4535),q=n(2759),k=n(8182),C=n(9207),N=n(8332),I=n(3407),T=n(1284),F=n(3326),R=n(454).forEach,D=A("hidden"),V="Symbol",L="prototype",J=F.set,z=F.getterFor(V),U=Object[L],W=r.Symbol,G=W&&W[L],H=r.TypeError,K=r.QObject,Z=w.f,Q=E.f,X=S.f,Y=x.f,ee=o([].push),te=$("symbols"),ne=$("op-symbols"),se=$("wks"),re=!K||!K[L]||!K[L].findChild,ie=c&&l((function(){return 7!=y(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var s=Z(U,t);s&&delete U[t],Q(e,t,n),s&&e!==U&&Q(U,t,s)}:Q,oe=function(e,t){var n=te[e]=y(G);return J(n,{type:V,tag:e,description:t}),c||(n.description=t),n},ae=function(e,t,n){e===U&&ae(ne,t,n),m(e);var s=g(t);return m(n),p(te,s)?(n.enumerable?(p(e,D)&&e[D][s]&&(e[D][s]=!1),n=y(n,{enumerable:b(0,!1)})):(p(e,D)||Q(e,D,b(1,{})),e[D][s]=!0),ie(e,s,n)):Q(e,s,n)},ce=function(e,t){m(e);var n=d(t),s=v(n).concat(he(n));return R(s,(function(t){c&&!i(ue,n,t)||ae(e,t,n[t])})),e},ue=function(e){var t=g(e),n=i(Y,this,t);return!(this===U&&p(te,t)&&!p(ne,t))&&(!(n||!p(this,t)||!p(te,t)||p(this,D)&&this[D][t])||n)},le=function(e,t){var n=d(e),s=g(t);if(n!==U||!p(te,s)||p(ne,s)){var r=Z(n,s);return!r||!p(te,s)||p(n,D)&&n[D][s]||(r.enumerable=!0),r}},pe=function(e){var t=X(d(e)),n=[];return R(t,(function(e){p(te,e)||p(M,e)||ee(n,e)})),n},he=function(e){var t=e===U,n=X(t?ne:d(e)),s=[];return R(n,(function(e){!p(te,e)||t&&!p(U,e)||ee(s,te[e])})),s};u||(P(G=(W=function(){if(h(G,this))throw H("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?f(arguments[0]):void 0,t=q(e),n=function(e){this===U&&i(n,ne,e),p(this,D)&&p(this[D],t)&&(this[D][t]=!1),ie(this,t,b(1,e))};return c&&re&&ie(U,t,{configurable:!0,set:n}),oe(t,e)})[L],"toString",(function(){return z(this).tag})),P(W,"withoutSetter",(function(e){return oe(q(e),e)})),x.f=ue,E.f=ae,O.f=ce,w.f=le,_.f=S.f=pe,j.f=he,C.f=function(e){return oe(k(e),e)},c&&(B(G,"description",{configurable:!0,get:function(){return z(this).description}}),a||P(U,"propertyIsEnumerable",ue,{unsafe:!0}))),s({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),R(v(se),(function(e){N(e)})),s({target:V,stat:!0,forced:!u},{useSetter:function(){re=!0},useSimple:function(){re=!1}}),s({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,t){return void 0===t?y(e):ce(y(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:le}),s({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pe}),I(),T(W,V),M[D]=!0},492:()=>{},9148:(e,t,n)=>{var s=n(3085),r=n(150),i=n(4500),o=n(4845),a=n(8717),c=n(31),u=a("string-to-symbol-registry"),l=a("symbol-to-string-registry");s({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=o(e);if(i(u,t))return u[t];var n=r("Symbol")(t);return u[t]=n,l[n]=t,n}})},6681:(e,t,n)=>{n(8332)("hasInstance")},9594:(e,t,n)=>{n(8332)("isConcatSpreadable")},3665:(e,t,n)=>{n(8332)("iterator")},6187:(e,t,n)=>{n(9351),n(9148),n(5991),n(9704),n(7895)},5991:(e,t,n)=>{var s=n(3085),r=n(4500),i=n(3236),o=n(9288),a=n(8717),c=n(31),u=a("symbol-to-string-registry");s({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw TypeError(o(e)+" is not a symbol");if(r(u,e))return u[e]}})},1250:(e,t,n)=>{n(8332)("matchAll")},9017:(e,t,n)=>{n(8332)("match")},9786:(e,t,n)=>{n(8332)("replace")},503:(e,t,n)=>{n(8332)("search")},6565:(e,t,n)=>{n(8332)("species")},9322:(e,t,n)=>{n(8332)("split")},3610:(e,t,n)=>{var s=n(8332),r=n(3407);s("toPrimitive"),r()},6886:(e,t,n)=>{var s=n(150),r=n(8332),i=n(1284);r("toStringTag"),i(s("Symbol"),"Symbol")},3514:(e,t,n)=>{n(8332)("unscopables")},177:(e,t,n)=>{n(8332)("asyncDispose")},9031:(e,t,n)=>{n(8332)("dispose")},2725:(e,t,n)=>{var s=n(3085),r=n(150),i=n(4120),o=r("Symbol"),a=o.keyFor,c=i(o.prototype.valueOf);s({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==a(c(e))}catch(e){return!1}}})},1806:(e,t,n)=>{for(var s=n(3085),r=n(8717),i=n(150),o=n(4120),a=n(3236),c=n(8182),u=i("Symbol"),l=u.isWellKnown,p=i("Object","getOwnPropertyNames"),h=o(u.prototype.valueOf),m=r("wks"),d=0,g=p(u),f=g.length;d<f;d++)try{var b=g[d];a(u[b])&&c(b)}catch(e){}s({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if(l&&l(e))return!0;try{for(var t=h(e),n=0,s=p(m),r=s.length;n<r;n++)if(m[s[n]]==t)return!0}catch(e){}return!1}})},6658:(e,t,n)=>{n(8332)("matcher")},4212:(e,t,n)=>{n(8332)("metadataKey")},1875:(e,t,n)=>{n(8332)("metadata")},8658:(e,t,n)=>{n(8332)("observable")},4592:(e,t,n)=>{n(8332)("patternMatch")},6680:(e,t,n)=>{n(8332)("replaceAll")},162:(e,t,n)=>{n(8939);var s=n(7365),r=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var u in s){var l=r[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},6174:(e,t,n)=>{var s=n(2604);e.exports=s},7820:(e,t,n)=>{var s=n(3512);e.exports=s},2:(e,t,n)=>{var s=n(2921);e.exports=s},5636:(e,t,n)=>{var s=n(8651);e.exports=s},2285:(e,t,n)=>{var s=n(5008);n(162),e.exports=s},8535:(e,t,n)=>{var s=n(994);n(162),e.exports=s},6042:(e,t,n)=>{var s=n(290);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),r=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var s=n(3945),r=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,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),r=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,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),r=n(2842),i=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=r,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var s=n(235),r=n(5243),i=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=r,u.prototype.delete=i,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,r=0,i=[];++n<s;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}},1634:(e,t,n)=>{var s=n(6473),r=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&r(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,r=e.length;++n<s;)e[r+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),r=n(6152);e.exports=function(e,t,n){var i=t(e);return r(e)?i:s(i,n(e))}},3366:(e,t,n)=>{var s=n(857),r=n(2107),i=n(7157),o="[object Null]",a="[object Undefined]",c=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?a:o:c&&c in Object(e)?r(e):i(e)}},5183:(e,t,n)=>{var s=n(3366),r=n(5125),i="[object Arguments]";e.exports=function(e){return r(e)&&s(e)==i}},8746:(e,t,n)=>{var s=n(1952),r=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:s(t,n,i,o,e,a))}},1952:(e,t,n)=>{var s=n(6571),r=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p=1,h="[object Arguments]",m="[object Array]",d="[object Object]",g=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,f,b,y){var v=c(e),_=c(t),S=v?m:a(e),j=_?m:a(t),w=(S=S==h?d:S)==d,E=(j=j==h?d:j)==d,O=S==j;if(O&&u(e)){if(!u(t))return!1;v=!0,w=!1}if(O&&!w)return y||(y=new s),v||l(e)?r(e,t,n,f,b,y):i(e,t,S,n,f,b,y);if(!(n&p)){var x=w&&g.call(e,"__wrapped__"),P=E&&g.call(t,"__wrapped__");if(x||P){var B=x?e.value():e,$=P?t.value():t;return y||(y=new s),b(B,$,n,f,y)}}return!!O&&(y||(y=new s),o(e,t,n,f,b,y))}},6840:(e,t,n)=>{var s=n(1049),r=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(s(e)?h:a).test(o(e))}},5522:(e,t,n)=>{var s=n(3366),r=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[s(e)]}},6411:(e,t,n)=>{var s=n(6001),r=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,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),r=n(7064),i=n(9950),o=1,a=2;e.exports=function(e,t,n,c,u,l){var p=n&o,h=e.length,m=t.length;if(h!=m&&!(p&&m>h))return!1;var d=l.get(e),g=l.get(t);if(d&&g)return d==t&&g==e;var f=-1,b=!0,y=n&a?new s:void 0;for(l.set(e,t),l.set(t,e);++f<h;){var v=e[f],_=t[f];if(c)var S=p?c(_,v,f,t,e,l):c(v,_,f,e,t,l);if(void 0!==S){if(S)continue;b=!1;break}if(y){if(!r(t,(function(e,t){if(!i(y,t)&&(v===e||u(v,e,n,c,l)))return y.push(t)}))){b=!1;break}}else if(v!==_&&!u(v,_,n,c,l)){b=!1;break}}return l.delete(e),l.delete(t),b}},1491:(e,t,n)=>{var s=n(857),r=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=1,l=2,p="[object Boolean]",h="[object Date]",m="[object Error]",d="[object Map]",g="[object Number]",f="[object RegExp]",b="[object Set]",y="[object String]",v="[object Symbol]",_="[object ArrayBuffer]",S="[object DataView]",j=s?s.prototype:void 0,w=j?j.valueOf:void 0;e.exports=function(e,t,n,s,j,E,O){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!E(new r(e),new r(t)));case p:case h:case g:return i(+e,+t);case m:return e.name==t.name&&e.message==t.message;case f:case y:return e==t+"";case d:var x=a;case b:var P=s&u;if(x||(x=c),e.size!=t.size&&!P)return!1;var B=O.get(e);if(B)return B==t;s|=l,O.set(e,t);var $=o(x(e),x(t),s,j,E,O);return O.delete(e),$;case v:if(w)return w.call(e)==w.call(t)}return!1}},7416:(e,t,n)=>{var s=n(3483),r=1,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,c){var u=n&r,l=s(e),p=l.length;if(p!=s(t).length&&!u)return!1;for(var h=p;h--;){var m=l[h];if(!(u?m in t:i.call(t,m)))return!1}var d=c.get(e),g=c.get(t);if(d&&g)return d==t&&g==e;var f=!0;c.set(e,t),c.set(t,e);for(var b=u;++h<p;){var y=e[m=l[h]],v=t[m];if(o)var _=u?o(v,y,m,t,e,c):o(y,v,m,e,t,c);if(!(void 0===_?y===v||a(y,v,n,o,c):_)){f=!1;break}b||(b="constructor"==m)}if(f&&!b){var S=e.constructor,j=t.constructor;S==j||!("constructor"in e)||!("constructor"in t)||"function"==typeof S&&S instanceof S&&"function"==typeof j&&j instanceof j||(f=!1)}return c.delete(e),c.delete(t),f}},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),r=n(633),i=n(249);e.exports=function(e){return s(e,i,r)}},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),r=n(8109);e.exports=function(e,t){var n=r(e,t);return s(n)?n:void 0}},2107:(e,t,n)=>{var s=n(857),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=s?s.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var s=!0}catch(e){}var r=o.call(e);return s&&(t?e[a]=n:delete e[a]),r}},633:(e,t,n)=>{var s=n(7552),r=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),s(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},940:(e,t,n)=>{var s=n(9515),r=n(326),i=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(r),b=u(i),y=u(o),v=u(a),_=c;(s&&_(new s(new ArrayBuffer(1)))!=d||r&&_(new r)!=l||i&&_(i.resolve())!=p||o&&_(new o)!=h||a&&_(new a)!=m)&&(_=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 y:return h;case v:return m}return t}),e.exports=_},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),r="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(s){var n=t[e];return n===r?void 0:n}return i.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return s?void 0!==t[e]:r.call(t,e)}},7942:(e,t,n)=>{var s=n(9191),r="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=s&&void 0===t?r:t,this}},9045:e=>{var t=9007199254740991,n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,s){var r=typeof e;return!!(s=null==s?t:s)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<s}},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,r=n(4019),i=(s=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var s=n(2218),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=s(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.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__,r=s(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},2411:(e,t,n)=>{var s=n(9612),r=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new s,map:new(i||r),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),r=n.size;return n.set(e,t),this.size+=n.size==r?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),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&s.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var s=n(1242),r="object"==typeof self&&self&&self.Object===Object&&self,i=s||r||Function("return this")();e.exports=i},2842:e=>{var t="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,t),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),r=n(326),i=n(6738),o=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof s){var a=n.__data__;if(!r||a.length<o-1)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}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),r=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=s(function(){return arguments}())?s:function(e){return r(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),r=n(1158);e.exports=function(e){return null!=e&&r(e.length)&&!s(e)}},4335:(e,t,n)=>{var s=n(3366),r=n(5125),i="[object Boolean]";e.exports=function(e){return!0===e||!1===e||r(e)&&s(e)==i}},3226:(e,t,n)=>{e=n.nmd(e);var s=n(7772),r=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?s.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;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),r=n(9259),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!r(e))return!1;var t=s(e);return t==o||t==a||t==i||t==c}},1158:e=>{var t=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var s=n(3366),r=n(5125),i="[object Number]";e.exports=function(e){return"number"==typeof e||r(e)&&s(e)==i}},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),r=n(6152),i=n(5125),o="[object String]";e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&s(e)==o}},7598:(e,t,n)=>{var s=n(5522),r=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?r(o):s;e.exports=a},249:(e,t,n)=>{var s=n(1634),r=n(6411),i=n(7878);e.exports=function(e){return i(e)?s(e):r(e)}},1570:e=>{var t="Expected a function";e.exports=function(e){if("function"!=typeof e)throw new TypeError(t);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 r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(s(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},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),r=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(s,u.NullElement,!1).detect(r,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,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],r=this.elementDetection[n][1];if(s(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const s=n(1570),r=n(1178);class i extends r{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(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=i},3756:(e,t,n)=>{const s=n(6420),r=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),h=n(2320),m=n(1178),d=n(3853),g=n(3026);function f(e){if(e instanceof s)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new r;if(Array.isArray(e))return new c(e.map(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:r,StringElement:i,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),r=n(3756);t.lS=s,n(3026),r.ArraySlice,r.ObjectSlice,t.W_=r.Element,t.RP=r.StringElement,t.VL=r.NumberElement,t.hh=r.BooleanElement,t.zr=r.NullElement,t.ON=r.ArrayElement,t.Sb=r.ObjectElement,t.c6=r.MemberElement,t.tK=r.RefElement,t.EA=r.LinkElement,t.Qc=r.refract,n(2947),n(8910)},1641:(e,t,n)=>{const s=n(1570),r=n(6420),i=n(1178);class o extends r{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 r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return new i(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,r=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{s&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:s}),e(t,n,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},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),r=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const s=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(s,e),n.content instanceof r&&(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],r=n.indexOf(s);if(-1===r)return!1;n=n.splice(0,r)}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 i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const s=n(3026),r=n(6420);e.exports=class extends r{constructor(e,t,n,r){super(new s,n,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},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),r=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(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,r,i)=>{const o=e.bind(t)(s,r,i);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 r=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]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),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 r=new t(s);r.element=n.element,e.push(r)}))}));const r=e.shift();n.content=r?r.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,r,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",m="deepConfiguration",d="deepProps",g="deepStatics",f="deepConf",b="initializers",y="methods",v="composers",_="compose";function S(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function j(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var w=j.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 E(e){return"function"==typeof e}function O(e){return e&&"object"==typeof e||E(e)}function x(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var P=j.bind(0,(function e(n,s){if(s===t)return n;if(Array.isArray(s))return(Array.isArray(n)?n:[]).concat(s);if(!x(s))return s;for(var r,i,o=S(s),a=0;a<o.length;)r=o[a++],(i=Object.getOwnPropertyDescriptor(s,r)).hasOwnProperty("value")?i.value!==t&&(n[r]=e(x(n[r])||Array.isArray(s[r])?n[r]:{},s[r])):Object.defineProperty(n,r,i);return n}));function B(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return E(e)&&n.indexOf(e)===t}))).length?n:t}function $(e,t){function s(n,s){O(t[n])&&(O(e[n])||(e[n]={}),(s||w)(e[n],t[n]))}function r(s){(n=B(e[s],t[s]))&&(e[s]=n)}return t&&O(t=t[_]||t)&&(s(y),s(o),s(a,P),s(c),s(u),s(l,P),s(p),s(h),s(m,P),r(b),r(v)),e}function A(){return function(e){return n=function e(n){var s,r,i=e[_]||{},u={__proto__:i[y]},l=i[b],p=Array.prototype.slice.apply(arguments),h=i[a];if(h&&P(u,h),(h=i[o])&&w(u,h),(h=i[c])&&Object.defineProperties(u,h),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)E(s=l[i++])&&(u=(r=s.call(u,n,{instance:u,stamp:e,args:p}))===t?u:r);return u},(s=e[l])&&P(n,s),(s=e[u])&&w(n,s),(s=e[p])&&Object.defineProperties(n,s),s=E(n[_])?n[_]:A,w(n[_]=function(){return s.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce($,{}))}function M(e){return E(e)&&E(e[_])}var q={};function k(e,i){return function(){return(r={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[_]||s).call(n,r)}}q[y]=k(y,w),q[o]=q.props=k(o,w),q[b]=q.init=k(b,B),q[v]=k(v,B),q[a]=q[d]=k(a,P),q[u]=q.statics=k(u,w),q[l]=q[g]=k(l,P),q[h]=q.conf=k(h,w),q[m]=q[f]=k(m,P),q[c]=k(c,w),q[p]=k(p,w),s=q[_]=w((function(){for(var e,S,j=0,E=[],x=arguments,$=this;j<x.length;)O(e=x[j++])&&E.push(M(e)?e:((r={})[y]=(S=e)[y]||t,s=S.props,r[o]=O((n=S[o])||s)?w({},s,n):t,r[b]=B(S.init,S[b]),r[v]=B(S[v]),s=S[d],r[a]=O((n=S[a])||s)?P({},s,n):t,r[c]=S[c],s=S.statics,r[u]=O((n=S[u])||s)?w({},s,n):t,s=S[g],r[l]=O((n=S[l])||s)?P({},s,n):t,n=S[p],r[p]=O((s=S.name&&{name:{value:S.name}})||n)?w({},n,s):t,s=S.conf,r[h]=O((n=S[h])||s)?w({},s,n):t,s=S[f],r[m]=O((n=S[m])||s)?P({},s,n):t,r));if(e=A.apply($||i,E),$&&E.unshift($),Array.isArray(x=e[_][v]))for(j=0;j<x.length;)e=M($=x[j++]({stamp:e,composables:E}))?$:e;return e}),q),q.create=function(){return this.apply(t,arguments)},(r={})[u]=q,i=A(r),s[_]=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:{},r=function(){var t,r="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(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="./this.program",h=function(e,t){throw t},m=!1,d=!1;m="object"==typeof window,d="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!m&&!c&&!d;var g,f,b,y,v,_="";c?(_=d?n(6287).dirname(_)+"/":"//",g=function(e,t){return y||(y=n(5530)),v||(v=n(6287)),e=v.normalize(e),y.readFileSync(e,t?null:"utf8")},b=function(e){var t=g(e,!0);return t.buffer||(t=new Uint8Array(t)),C(t.buffer),t},process.argv.length>1&&(p=process.argv[1].replace(/\\/g,"/")),l=process.argv.slice(2),e.exports=s,h=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)):(C("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?l=scriptArgs:void 0!==arguments&&(l=arguments),"function"==typeof quit&&(h=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(m||d)&&(d?_=self.location.href:void 0!==r&&r.currentScript&&(_=r.currentScript.src),_=0!==_.indexOf("blob:")?_.substr(0,_.lastIndexOf("/")+1):"",g=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},d&&(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&&(l=s.arguments),s.thisProgram&&(p=s.thisProgram),s.quit&&(h=s.quit);var j,w=16,E=[];function O(e,t){if(!j){j=new WeakMap;for(var n=0;n<Q.length;n++){var s=Q.get(n);s&&j.set(s,n)}}if(j.has(e))return j.get(e);var r=function(){if(E.length)return E.pop();try{Q.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Q.length-1}();try{Q.set(r,e)}catch(n){if(!(n instanceof TypeError))throw n;var i=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]]]},r=1;r<t.length;++r)s.parameters.push(n[t[r]]);return new WebAssembly.Function(s,e)}var i=[1,0,1,96],o=t.slice(0,1),a=t.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),r=0;r<a.length;++r)i.push(c[a[r]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:e}}).exports.f}(e,t);Q.set(r,i)}return j.set(e,r),r}var x,P=function(e){},B=s.dynamicLibraries||[];s.wasmBinary&&(x=s.wasmBinary);var $,A=s.noExitRuntime||!0;function M(e,t,n,s){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":I[e>>0]=t;break;case"i16":F[e>>1]=t;break;case"i32":R[e>>2]=t;break;case"i64":pe=[t>>>0,(le=t,+Math.abs(le)>=1?le>0?(0|Math.min(+Math.floor(le/4294967296),4294967295))>>>0:~~+Math.ceil((le-+(~~le>>>0))/4294967296)>>>0:0)],R[e>>2]=pe[0],R[e+4>>2]=pe[1];break;case"float":D[e>>2]=t;break;case"double":V[e>>3]=t;break;default:ce("invalid type for setValue: "+n)}}function q(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return I[e>>0];case"i16":return F[e>>1];case"i32":case"i64":return R[e>>2];case"float":return D[e>>2];case"double":return V[e>>3];default:ce("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ce("no native wasm support detected");var k=!1;function C(e,t){e||ce("Assertion failed: "+t)}var N,I,T,F,R,D,V,L="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function J(e,t,n){for(var s=t+n,r=t;e[r]&&!(r>=s);)++r;if(r-t>16&&e.subarray&&L)return L.decode(e.subarray(t,r));for(var i="";t<r;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function z(e,t){return e?J(T,e,t):""}function U(e,t,n,s){if(!(s>0))return 0;for(var r=n,i=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>=i)break;t[n++]=a}else if(a<=2047){if(n+1>=i)break;t[n++]=192|a>>6,t[n++]=128|63&a}else if(a<=65535){if(n+2>=i)break;t[n++]=224|a>>12,t[n++]=128|a>>6&63,t[n++]=128|63&a}else{if(n+3>=i)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-r}function W(e,t,n){return U(e,T,t,n)}function G(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 H(e){var t=G(e)+1,n=Ke(t);return U(e,I,n,t),n}function K(e){N=e,s.HEAP8=I=new Int8Array(e),s.HEAP16=F=new Int16Array(e),s.HEAP32=R=new Int32Array(e),s.HEAPU8=T=new Uint8Array(e),s.HEAPU16=new Uint16Array(e),s.HEAPU32=new Uint32Array(e),s.HEAPF32=D=new Float32Array(e),s.HEAPF64=V=new Float64Array(e)}var Z=s.INITIAL_MEMORY||33554432;($=s.wasmMemory?s.wasmMemory:new WebAssembly.Memory({initial:Z/65536,maximum:32768}))&&(N=$.buffer),Z=N.byteLength,K(N);var Q=new WebAssembly.Table({initial:20,element:"anyfunc"}),X=[],Y=[],ee=[],te=[],ne=!1,se=0,re=null,ie=null;function oe(e){se++,s.monitorRunDependencies&&s.monitorRunDependencies(se)}function ae(e){if(se--,s.monitorRunDependencies&&s.monitorRunDependencies(se),0==se&&(null!==re&&(clearInterval(re),re=null),ie)){var t=ie;ie=null,t()}}function ce(e){throw s.onAbort&&s.onAbort(e),S(e+=""),k=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}s.preloadedImages={},s.preloadedAudios={},s.preloadedWasm={};var ue,le,pe,he="data:application/octet-stream;base64,";function me(e){return e.startsWith(he)}function de(e){return e.startsWith("file://")}function ge(e){try{if(e==ue&&x)return new Uint8Array(x);if(b)return b(e);throw"both async and sync fetching of the wasm failed"}catch(e){ce(e)}}me(ue="tree-sitter.wasm")||(ue=function(e){return s.locateFile?s.locateFile(e,_):_+e}(ue));var fe={},be={get:function(e,t){return fe[t]||(fe[t]=new WebAssembly.Global({value:"i32",mutable:!0})),fe[t]}};function ye(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Q.get(n)():Q.get(n)(t.arg):n(void 0===t.arg?null:t.arg)}else t(s)}}function ve(e){var t=0;function n(){for(var n=0,s=1;;){var r=e[t++];if(n+=(127&r)*s,s*=128,!(128&r))break}return n}if(e instanceof WebAssembly.Module){var s=WebAssembly.Module.customSections(e,"dylink");C(0!=s.length,"need dylink section"),e=new Int8Array(s[0])}else C(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),C(0===e[8],"need the dylink section to be first"),t=9,n(),C(6===e[t]),C(e[++t]==="d".charCodeAt(0)),C(e[++t]==="y".charCodeAt(0)),C(e[++t]==="l".charCodeAt(0)),C(e[++t]==="i".charCodeAt(0)),C(e[++t]==="n".charCodeAt(0)),C(e[++t]==="k".charCodeAt(0)),t++;var r={};r.memorySize=n(),r.memoryAlign=n(),r.tableSize=n(),r.tableAlign=n();var i=n();r.neededDynlibs=[];for(var o=0;o<i;++o){var a=n(),c=e.subarray(t,t+a);t+=a;var u=J(c,0);r.neededDynlibs.push(u)}return r}var _e=0;function Se(){return A||_e>0}function je(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function we(e,t){for(var n in e)if(e.hasOwnProperty(n)){ze.hasOwnProperty(n)||(ze[n]=e[n]);var r=je(n);s.hasOwnProperty(r)||(s[r]=e[n])}}var Ee={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var Oe=5251072;function xe(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function Pe(e,t){var n={};for(var s in e){var r=e[s];"object"==typeof r&&(r=r.value),"number"==typeof r&&(r+=t),n[s]=r}return function(e){for(var t in e)if(!xe(t)){var n=!1,s=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],n=!0),fe[t]||(fe[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(n||0==fe[t].value)&&("function"==typeof s?fe[t].value=O(s):"number"==typeof s?fe[t].value=s:S("unhandled export type for `"+t+"`: "+typeof s))}}(n),n}function Be(e,t){var n,r;return t&&(n=ze["orig$"+e]),n||(n=ze[e]),n||(n=s[je(e)]),!n&&e.startsWith("invoke_")&&(r=e.split("_")[1],n=function(){var e=Ge();try{return function(e,t,n){return e.includes("j")?function(e,t,n){var r=s["dynCall_"+e];return n&&n.length?r.apply(null,[t].concat(n)):r.call(null,t)}(e,t,n):Q.get(t).apply(null,n)}(r,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(He(e),t!==t+0&&"longjmp"!==t)throw t;Ze(1,0)}}),n}function $e(e,t){var n=ve(e);function s(){var s=Math.pow(2,n.memoryAlign);s=Math.max(s,w);var r,i,o,a=(r=function(e){if(ne)return Ue(e);var t=Oe,n=t+e+15&-16;return Oe=n,fe.__heap_base.value=n,t}(n.memorySize+s),(i=s)||(i=w),Math.ceil(r/i)*i),c=Q.length;Q.grow(n.tableSize);for(var u=a;u<a+n.memorySize;u++)I[u]=0;for(u=c;u<c+n.tableSize;u++)Q.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 ze?ze[t]:(t in e||(e[t]=function(){return n||(n=function(e){var t=Be(e,!1);return t||(t=o[e]),t}(t)),n.apply(null,arguments)}),e[t]);var n}}),p={"GOT.mem":new Proxy({},be),"GOT.func":new Proxy({},be),env:l,wasi_snapshot_preview1:l};function h(e){for(var s=0;s<n.tableSize;s++){var r=Q.get(c+s);r&&j.set(r,c+s)}o=Pe(e.exports,a),t.allowUndefined||Me();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(ne?i():Y.push(i)),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 Ae(n,t)}))}),Promise.resolve()).then((function(){return s()})):(n.neededDynlibs.forEach((function(e){Ae(e,t)})),s())}function Ae(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,r=Ee.loadedLibNames[e];if(r)return n=Ee.loadedLibs[r],t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&we(n.module)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,t.loadAsync?Promise.resolve(r):r;function i(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?i(e).then((function(e){return $e(e,t)})):$e(i(e),t)}function a(e){n.global&&we(e),n.module=e}return r=Ee.nextHandle++,n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},Ee.loadedLibNames[e]=r,Ee.loadedLibs[r]=n,t.loadAsync?o().then((function(e){return a(e),r})):(a(o()),r)}function Me(){for(var e in fe)if(0==fe[e].value){var t=Be(e,!0);"function"==typeof t?fe[e].value=O(t,t.sig):"number"==typeof t?fe[e].value=t:C(!1,"bad export type for `"+e+"`: "+typeof t)}}s.___heap_base=Oe;var qe,ke=new WebAssembly.Global({value:"i32",mutable:!0},5251072);function Ce(){ce()}s._abort=Ce,Ce.sig="v",qe=c?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};var Ne=!0;function Ie(e,t){var n;if(0===e)n=Date.now();else{if(1!==e&&4!==e||!Ne)return 28,R[We()>>2]=28,-1;n=qe()}return R[t>>2]=n/1e3|0,R[t+4>>2]=n%1e3*1e3*1e3|0,0}function Te(e){try{return $.grow(e-N.byteLength+65535>>>16),K($.buffer),1}catch(e){}}function Fe(e){et(e)}Ie.sig="iii",Fe.sig="vi";var Re={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(e,t,n){if("/"===t[0])return t;var s;if(-100===e)s=FS.cwd();else{var r=FS.getStream(e);if(!r)throw new FS.ErrnoError(8);s=r.path}if(0==t.length){if(!n)throw new FS.ErrnoError(44);return s}return PATH.join2(s,t)},doStat:function(e,t,n){try{var s=e(t)}catch(e){if(e&&e.node&&PATH.normalize(t)!==PATH.normalize(FS.getPath(e.node)))return-54;throw e}return R[n>>2]=s.dev,R[n+4>>2]=0,R[n+8>>2]=s.ino,R[n+12>>2]=s.mode,R[n+16>>2]=s.nlink,R[n+20>>2]=s.uid,R[n+24>>2]=s.gid,R[n+28>>2]=s.rdev,R[n+32>>2]=0,pe=[s.size>>>0,(le=s.size,+Math.abs(le)>=1?le>0?(0|Math.min(+Math.floor(le/4294967296),4294967295))>>>0:~~+Math.ceil((le-+(~~le>>>0))/4294967296)>>>0:0)],R[n+40>>2]=pe[0],R[n+44>>2]=pe[1],R[n+48>>2]=4096,R[n+52>>2]=s.blocks,R[n+56>>2]=s.atime.getTime()/1e3|0,R[n+60>>2]=0,R[n+64>>2]=s.mtime.getTime()/1e3|0,R[n+68>>2]=0,R[n+72>>2]=s.ctime.getTime()/1e3|0,R[n+76>>2]=0,pe=[s.ino>>>0,(le=s.ino,+Math.abs(le)>=1?le>0?(0|Math.min(+Math.floor(le/4294967296),4294967295))>>>0:~~+Math.ceil((le-+(~~le>>>0))/4294967296)>>>0:0)],R[n+80>>2]=pe[0],R[n+84>>2]=pe[1],0},doMsync:function(e,t,n,s,r){var i=T.slice(e,e+n);FS.msync(t,i,r,n,s)},doMkdir:function(e,t){return"/"===(e=PATH.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),FS.mkdir(e,t,0),0},doMknod:function(e,t,n){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return FS.mknod(e,t,n),0},doReadlink:function(e,t,n){if(n<=0)return-28;var s=FS.readlink(e),r=Math.min(n,G(s)),i=I[t+r];return W(s,t,n+1),I[t+r]=i,r},doAccess:function(e,t){if(-8&t)return-28;var n;if(!(n=FS.lookupPath(e,{follow:!0}).node))return-44;var s="";return 4&t&&(s+="r"),2&t&&(s+="w"),1&t&&(s+="x"),s&&FS.nodePermissions(n,s)?-2:0},doDup:function(e,t,n){var s=FS.getStream(n);return s&&FS.close(s),FS.open(e,t,0,n,n).fd},doReadv:function(e,t,n,s){for(var r=0,i=0;i<n;i++){var o=R[t+8*i>>2],a=R[t+(8*i+4)>>2],c=FS.read(e,I,o,a,s);if(c<0)return-1;if(r+=c,c<a)break}return r},doWritev:function(e,t,n,s){for(var r=0,i=0;i<n;i++){var o=R[t+8*i>>2],a=R[t+(8*i+4)>>2],c=FS.write(e,I,o,a,s);if(c<0)return-1;r+=c}return r},varargs:void 0,get:function(){return Re.varargs+=4,R[Re.varargs-4>>2]},getStr:function(e){return z(e)},getStreamFromFD:function(e){var t=FS.getStream(e);if(!t)throw new FS.ErrnoError(8);return t},get64:function(e,t){return e}};function De(e){try{var t=Re.getStreamFromFD(e);return FS.close(t),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ce(e),e.errno}}function Ve(e,t,n,s){try{var r=Re.getStreamFromFD(e),i=Re.doWritev(r,t,n);return R[s>>2]=i,0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ce(e),e.errno}}function Le(e){P(e)}De.sig="ii",Ve.sig="iiiii",Le.sig="vi";var Je,ze={__heap_base:Oe,__indirect_function_table:Q,__memory_base:1024,__stack_pointer:ke,__table_base:1,abort:Ce,clock_gettime:Ie,emscripten_memcpy_big:function(e,t,n){T.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){var t,n=T.length;if((e>>>=0)>2147483648)return!1;for(var s=1;s<=4;s*=2){var r=n*(1+.2/s);if(r=Math.min(r,e+100663296),Te(Math.min(2147483648,((t=Math.max(e,r))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Fe,fd_close:De,fd_seek:function(e,t,n,s,r){try{var i=Re.getStreamFromFD(e),o=4294967296*n+(t>>>0);return o<=-9007199254740992||o>=9007199254740992?-61:(FS.llseek(i,o,s),pe=[i.position>>>0,(le=i.position,+Math.abs(le)>=1?le>0?(0|Math.min(+Math.floor(le/4294967296),4294967295))>>>0:~~+Math.ceil((le-+(~~le>>>0))/4294967296)>>>0:0)],R[r>>2]=pe[0],R[r+4>>2]=pe[1],i.getdents&&0===o&&0===s&&(i.getdents=null),0)}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ce(e),e.errno}},fd_write:Ve,memory:$,setTempRet0:Le,tree_sitter_log_callback:function(e,t){if(gt){const n=z(t);gt(n,0!==e)}},tree_sitter_parse_callback:function(e,t,n,s,r){var i=dt(t,{row:n,column:s});"string"==typeof i?(M(r,i.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,r=0;r<s;++r){var i=e.charCodeAt(r);F[t>>1]=i,t+=2}F[t>>1]=0}(i,e,10240)):M(r,0,"i32")}},Ue=(function(){var e={env:ze,wasi_snapshot_preview1:ze,"GOT.mem":new Proxy(ze,be),"GOT.func":new Proxy(ze,be)};function t(e,t){var n=e.exports;n=Pe(n,1024),s.asm=n;var r,i=ve(t);i.neededDynlibs&&(B=i.neededDynlibs.concat(B)),we(n),r=s.asm.__wasm_call_ctors,Y.unshift(r),ae()}function n(e){t(e.instance,e.module)}function r(t){return function(){if(!x&&(m||d)){if("function"==typeof fetch&&!de(ue))return fetch(ue,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ue+"'";return e.arrayBuffer()})).catch((function(){return ge(ue)}));if(f)return new Promise((function(e,t){f(ue,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return ge(ue)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){S("failed to asynchronously prepare wasm: "+e),ce(e)}))}if(oe(),s.instantiateWasm)try{return s.instantiateWasm(e,t)}catch(e){return S("Module.instantiateWasm callback failed with error: "+e),!1}x||"function"!=typeof WebAssembly.instantiateStreaming||me(ue)||de(ue)||"function"!=typeof fetch?r(n):fetch(ue,{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"),r(n)}))}))}(),s.___wasm_call_ctors=function(){return(s.___wasm_call_ctors=s.asm.__wasm_call_ctors).apply(null,arguments)},s._malloc=function(){return(Ue=s._malloc=s.asm.malloc).apply(null,arguments)}),We=(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(We=s.___errno_location=s.asm.__errno_location).apply(null,arguments)}),Ge=(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(Ge=s.stackSave=s.asm.stackSave).apply(null,arguments)}),He=s.stackRestore=function(){return(He=s.stackRestore=s.asm.stackRestore).apply(null,arguments)},Ke=s.stackAlloc=function(){return(Ke=s.stackAlloc=s.asm.stackAlloc).apply(null,arguments)},Ze=s._setThrew=function(){return(Ze=s._setThrew=s.asm.setThrew).apply(null,arguments)};function Qe(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.dynCall_jiji=function(){return(s.dynCall_jiji=s.asm.dynCall_jiji).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?Ke(e.length):Ue(e.length),e.subarray||e.slice?T.set(e,n):T.set(new Uint8Array(e),n),n},ie=function e(){Je||Ye(),Je||(ie=e)};var Xe=!1;function Ye(e){function t(){Je||(Je=!0,s.calledRun=!0,k||(ne=!0,ye(Y),ye(ee),s.onRuntimeInitialized&&s.onRuntimeInitialized(),tt&&function(e){var t=s._main;if(t){var n=(e=e||[]).length+1,r=Ke(4*(n+1));R[r>>2]=H(p);for(var i=1;i<n;i++)R[(r>>2)+i]=H(e[i-1]);R[(r>>2)+n]=0;try{et(t(n,r),!0)}catch(e){if(e instanceof Qe)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),S("exception thrown: "+o),h(1,e)}}}(e),function(){if(s.postRun)for("function"==typeof s.postRun&&(s.postRun=[s.postRun]);s.postRun.length;)e=s.postRun.shift(),te.unshift(e);var e;ye(te)}()))}e=e||l,se>0||!Xe&&(function(){if(B.length){if(!b)return oe(),void B.reduce((function(e,t){return e.then((function(){return Ae(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){ae(),Me()}));B.forEach((function(e){Ae(e,{global:!0,nodelete:!0,allowUndefined:!0})})),Me()}else Me()}(),Xe=!0,se>0)||(function(){if(s.preRun)for("function"==typeof s.preRun&&(s.preRun=[s.preRun]);s.preRun.length;)e=s.preRun.shift(),X.unshift(e);var e;ye(X)}(),se>0||(s.setStatus?(s.setStatus("Running..."),setTimeout((function(){setTimeout((function(){s.setStatus("")}),1),t()}),1)):t()))}function et(e,t){t&&Se()&&0===e||(Se()||(s.onExit&&s.onExit(e),k=!0),h(e,new Qe(e)))}if(s.run=Ye,s.preInit)for("function"==typeof s.preInit&&(s.preInit=[s.preInit]);s.preInit.length>0;)s.preInit.pop()();var tt=!0;s.noInitialRun&&(tt=!1),Ye();const nt=s,st={},rt=4,it=5*rt,ot=2*rt,at=2*rt+2*ot,ct={row:0,column:0},ut=/[\w-.]*/g,lt=/^_?tree_sitter_\w+/;var pt,ht,mt,dt,gt;class ft{static init(){mt=nt._ts_init(),pt=q(mt,"i32"),ht=q(mt+rt,"i32")}initialize(){nt._ts_parser_new_wasm(),this[0]=q(mt,"i32"),this[1]=q(mt+rt,"i32")}delete(){nt._ts_parser_delete(this[0]),nt._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==_t)throw new Error("Argument must be a Language");{t=e[0];const n=nt._ts_language_version(t);if(n<ht||pt<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${ht} through ${pt}.`)}}else t=0,e=null;return this.language=e,nt._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,n){if("string"==typeof e)dt=(t,n,s)=>e.slice(t,s);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");dt=e}this.logCallback?(gt=this.logCallback,nt._ts_parser_enable_logger_wasm(this[0],1)):(gt=null,nt._ts_parser_enable_logger_wasm(this[0],0));let s=0,r=0;if(n&&n.includedRanges){s=n.includedRanges.length;let e=r=nt._calloc(s,at);for(let t=0;t<s;t++)qt(e,n.includedRanges[t]),e+=at}const i=nt._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,r,s);if(!i)throw dt=null,gt=null,new Error("Parsing failed");const o=new bt(st,i,this.language,dt);return dt=null,gt=null,o}reset(){nt._ts_parser_reset(this[0])}setTimeoutMicros(e){nt._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return nt._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 bt{constructor(e,t,n,s){Et(e),this[0]=t,this.language=n,this.textCallback=s}copy(){const e=nt._ts_tree_copy(this[0]);return new bt(st,e,this.language,this.textCallback)}delete(){nt._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=mt;At(t,e.startPosition),At(t+=ot,e.oldEndPosition),At(t+=ot,e.newEndPosition),M(t+=ot,e.startIndex,"i32"),M(t+=rt,e.oldEndIndex,"i32"),M(t+=rt,e.newEndIndex,"i32"),t+=rt}(e),nt._ts_tree_edit_wasm(this[0])}get rootNode(){return nt._ts_tree_root_node_wasm(this[0]),Pt(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==bt)throw new TypeError("Argument must be a Tree");nt._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=q(mt,"i32"),n=q(mt+rt,"i32"),s=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)s[n]=kt(e),e+=at;nt._free(n)}return s}}class yt{constructor(e,t){Et(e),this.tree=t}get typeId(){return xt(this),nt._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return xt(this),nt._ts_node_end_point_wasm(this.tree[0]),Mt(mt)}get endIndex(){return xt(this),nt._ts_node_end_index_wasm(this.tree[0])}get text(){return jt(this.tree,this.startIndex,this.endIndex)}isNamed(){return xt(this),1===nt._ts_node_is_named_wasm(this.tree[0])}hasError(){return xt(this),1===nt._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return xt(this),1===nt._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return xt(this),1===nt._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return xt(this),nt._ts_node_child_wasm(this.tree[0],e),Pt(this.tree)}namedChild(e){return xt(this),nt._ts_node_named_child_wasm(this.tree[0],e),Pt(this.tree)}childForFieldId(e){return xt(this),nt._ts_node_child_by_field_id_wasm(this.tree[0],e),Pt(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return xt(this),nt._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return xt(this),nt._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){xt(this),nt._ts_node_children_wasm(this.tree[0]);const e=q(mt,"i32"),t=q(mt+rt,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=Pt(this.tree,n),n+=it;nt._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){xt(this),nt._ts_node_named_children_wasm(this.tree[0]);const e=q(mt,"i32"),t=q(mt+rt,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=Pt(this.tree,n),n+=it;nt._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=ct),n||(n=ct);const s=[],r=this.tree.language.types;for(let t=0,n=r.length;t<n;t++)e.includes(r[t])&&s.push(t);const i=nt._malloc(rt*s.length);for(let e=0,t=s.length;e<t;e++)M(i+e*rt,s[e],"i32");xt(this),nt._ts_node_descendants_of_type_wasm(this.tree[0],i,s.length,t.row,t.column,n.row,n.column);const o=q(mt,"i32"),a=q(mt+rt,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=Pt(this.tree,e),e+=it}return nt._free(a),nt._free(i),c}get nextSibling(){return xt(this),nt._ts_node_next_sibling_wasm(this.tree[0]),Pt(this.tree)}get previousSibling(){return xt(this),nt._ts_node_prev_sibling_wasm(this.tree[0]),Pt(this.tree)}get nextNamedSibling(){return xt(this),nt._ts_node_next_named_sibling_wasm(this.tree[0]),Pt(this.tree)}get previousNamedSibling(){return xt(this),nt._ts_node_prev_named_sibling_wasm(this.tree[0]),Pt(this.tree)}get parent(){return xt(this),nt._ts_node_parent_wasm(this.tree[0]),Pt(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");xt(this);let n=mt+it;return M(n,e,"i32"),M(n+rt,t,"i32"),nt._ts_node_descendant_for_index_wasm(this.tree[0]),Pt(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");xt(this);let n=mt+it;return M(n,e,"i32"),M(n+rt,t,"i32"),nt._ts_node_named_descendant_for_index_wasm(this.tree[0]),Pt(this.tree)}descendantForPosition(e,t=e){if(!Ot(e)||!Ot(t))throw new Error("Arguments must be {row, column} objects");xt(this);let n=mt+it;return At(n,e),At(n+ot,t),nt._ts_node_descendant_for_position_wasm(this.tree[0]),Pt(this.tree)}namedDescendantForPosition(e,t=e){if(!Ot(e)||!Ot(t))throw new Error("Arguments must be {row, column} objects");xt(this);let n=mt+it;return At(n,e),At(n+ot,t),nt._ts_node_named_descendant_for_position_wasm(this.tree[0]),Pt(this.tree)}walk(){return xt(this),nt._ts_tree_cursor_new_wasm(this.tree[0]),new vt(st,this.tree)}toString(){xt(this);const e=nt._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var n=T[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}(e);return nt._free(e),t}}class vt{constructor(e,t){Et(e),this.tree=t,$t(this)}delete(){Bt(this),nt._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){xt(e),Bt(this,mt+it),nt._ts_tree_cursor_reset_wasm(this.tree[0]),$t(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Bt(this),nt._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Bt(this),nt._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Bt(this),1===nt._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Bt(this),1===nt._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Bt(this);const e=nt._ts_tree_cursor_start_index_wasm(this.tree[0]),t=nt._ts_tree_cursor_end_index_wasm(this.tree[0]);return jt(this.tree,e,t)}get startPosition(){return Bt(this),nt._ts_tree_cursor_start_position_wasm(this.tree[0]),Mt(mt)}get endPosition(){return Bt(this),nt._ts_tree_cursor_end_position_wasm(this.tree[0]),Mt(mt)}get startIndex(){return Bt(this),nt._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Bt(this),nt._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Bt(this),nt._ts_tree_cursor_current_node_wasm(this.tree[0]),Pt(this.tree)}currentFieldId(){return Bt(this),nt._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Bt(this);const e=nt._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return $t(this),1===e}gotoNextSibling(){Bt(this);const e=nt._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return $t(this),1===e}gotoParent(){Bt(this);const e=nt._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return $t(this),1===e}}class _t{constructor(e,t){Et(e),this[0]=t,this.types=new Array(nt._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)nt._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=z(nt._ts_language_symbol_name(this[0],e)));this.fields=new Array(nt._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=nt._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?z(t):null}}get version(){return nt._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=G(e),s=nt._malloc(n+1);W(e,s,n+1);const r=nt._ts_language_symbol_for_name(this[0],s,n,t);return nt._free(s),r||null}get nodeTypeCount(){return nt._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=nt._ts_language_symbol_name(this[0],e);return t?z(t):null}nodeTypeIsNamed(e){return!!nt._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!nt._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=G(e),n=nt._malloc(t+1);W(e,n,t+1);const s=nt._ts_query_new(this[0],n,t,mt,mt+rt);if(!s){const t=q(mt+rt,"i32"),s=z(n,q(mt,"i32")).length,r=e.substr(s,100).split("\n")[0];let i,o=r.match(ut)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${s}: '${r}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${s}: '${r}'...`),o=""}throw i.index=s,i.length=o.length,nt._free(n),i}const r=nt._ts_query_string_count(s),i=nt._ts_query_capture_count(s),o=nt._ts_query_pattern_count(s),a=new Array(i),c=new Array(r);for(let e=0;e<i;e++){const t=nt._ts_query_capture_name_for_id(s,e,mt),n=q(mt,"i32");a[e]=z(t,n)}for(let e=0;e<r;e++){const t=nt._ts_query_string_value_for_id(s,e,mt),n=q(mt,"i32");c[e]=z(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=nt._ts_query_predicates_for_pattern(s,e,mt),n=q(mt,"i32");h[e]=[],m[e]=[];const r=[];let i=t;for(let t=0;t<n;t++){const t=q(i,"i32"),n=q(i+=rt,"i32");if(i+=rt,1===t)r.push({type:"capture",name:a[n]});else if(2===t)r.push({type:"string",value:c[n]});else if(r.length>0){if("string"!==r[0].type)throw new Error("Predicates must begin with a literal value");const t=r[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==r.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(r.length-1));if("capture"!==r[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${r[1].value}"`);if("capture"===r[2].type){const t=r[1].name,s=r[2].name;m[e].push((function(e){let r,i;for(const n of e)n.name===t&&(r=n.node),n.name===s&&(i=n.node);return void 0===r||void 0===i||r.text===i.text===n}))}else{const t=r[1].name,s=r[2].value;m[e].push((function(e){for(const r of e)if(r.name===t)return r.node.text===s===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==r.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${r.length-1}.`);if("capture"!==r[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${r[1].value}".`);if("string"!==r[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${r[2].value}.`);const s=r[1].name,i=new RegExp(r[2].value);m[e].push((function(e){for(const t of e)if(t.name===s)return i.test(t.node.text)===n;return!0}));break;case"set!":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][r[1].value]=r[2]?r[2].value:null;break;case"is?":case"is-not?":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][r[1].value]=r[2]?r[2].value:null;break;default:h[e].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return nt._free(n),new St(st,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:$e;return t.then((e=>s(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>lt.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 _t(st,s)}))}}class St{constructor(e,t,n,s,r,i,o,a){Et(e),this[0]=t,this.captureNames=n,this.textPredicates=s,this.predicates=r,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){nt._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,s){t||(t=ct),n||(n=ct),s||(s={});let r=s.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");xt(e),nt._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,r);const i=q(mt,"i32"),o=q(mt+rt,"i32"),a=q(mt+2*rt,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<i;t++){const n=q(l,"i32"),s=q(l+=rt,"i32");l+=rt;const r=new Array(s);if(l=wt(this,e.tree,l,r),this.textPredicates[n].every((e=>e(r)))){c[u++]={pattern:n,captures:r};const e=this.setProperties[n];e&&(c[t].setProperties=e);const s=this.assertedProperties[n];s&&(c[t].assertedProperties=s);const i=this.refutedProperties[n];i&&(c[t].refutedProperties=i)}}return c.length=u,nt._free(o),c}captures(e,t,n,s){t||(t=ct),n||(n=ct),s||(s={});let r=s.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");xt(e),nt._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,r);const i=q(mt,"i32"),o=q(mt+rt,"i32"),a=q(mt+2*rt,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<i;t++){const t=q(l,"i32"),n=q(l+=rt,"i32"),s=q(l+=rt,"i32");if(l+=rt,u.length=n,l=wt(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 r=this.assertedProperties[t];r&&(e.assertedProperties=r);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),c.push(e)}}return nt._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function jt(e,t,n){const s=n-t;let r=e.textCallback(t,null,n);for(t+=r.length;t<n;){const s=e.textCallback(t,null,n);if(!(s&&s.length>0))break;t+=s.length,r+=s}return t>n&&(r=r.slice(0,s)),r}function wt(e,t,n,s){for(let r=0,i=s.length;r<i;r++){const i=q(n,"i32"),o=Pt(t,n+=rt);n+=it,s[r]={name:e.captureNames[i],node:o}}return n}function Et(e){if(e!==st)throw new Error("Illegal constructor")}function Ot(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function xt(e){let t=mt;M(t,e.id,"i32"),M(t+=rt,e.startIndex,"i32"),M(t+=rt,e.startPosition.row,"i32"),M(t+=rt,e.startPosition.column,"i32"),M(t+=rt,e[0],"i32")}function Pt(e,t=mt){const n=q(t,"i32");if(0===n)return null;const s=q(t+=rt,"i32"),r=q(t+=rt,"i32"),i=q(t+=rt,"i32"),o=q(t+=rt,"i32"),a=new yt(st,e);return a.id=n,a.startIndex=s,a.startPosition={row:r,column:i},a[0]=o,a}function Bt(e,t=mt){M(t+0*rt,e[0],"i32"),M(t+1*rt,e[1],"i32"),M(t+2*rt,e[2],"i32")}function $t(e){e[0]=q(mt+0*rt,"i32"),e[1]=q(mt+1*rt,"i32"),e[2]=q(mt+2*rt,"i32")}function At(e,t){M(e,t.row,"i32"),M(e+rt,t.column,"i32")}function Mt(e){return{row:q(e,"i32"),column:q(e+rt,"i32")}}function qt(e,t){At(e,t.startPosition),At(e+=ot,t.endPosition),M(e+=ot,t.startIndex,"i32"),M(e+=rt,t.endIndex,"i32"),e+=rt}function kt(e){const t={};return t.startPosition=Mt(e),e+=ot,t.endPosition=Mt(e),e+=ot,t.startIndex=q(e,"i32"),e+=rt,t.endIndex=q(e,"i32"),t}for(const e of Object.getOwnPropertyNames(ft.prototype))Object.defineProperty(i.prototype,e,{value:ft.prototype[e],enumerable:!1,writable:!1});i.Language=_t,s.onRuntimeInitialized=()=>{ft.init(),t()}})))}}return i}();e.exports=r},5530:()=>{},6287:()=>{},6405:(e,t,n)=>{e.exports=n(5159)},9800:(e,t,n)=>{e.exports=n(8026)},4463:(e,t,n)=>{e.exports=n(1903)},5575:(e,t,n)=>{e.exports=n(902)},7829:(e,t,n)=>{e.exports=n(9256)},2876:(e,t,n)=>{e.exports=n(5659)},2903:(e,t,n)=>{e.exports=n(3698)}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={id:s,loaded:!1,exports:{}};return e[s](i,i.exports,n),i.loaded=!0,i.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");s.length&&(e=s[s.length-1].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:()=>Yf,detectionRegExp:()=>Xf,mediaTypes:()=>Qf,namespace:()=>tb,parse:()=>eb});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>Ln,includesClasses:()=>zn,includesSymbols:()=>Jn,isAnnotationElement:()=>Tn,isArrayElement:()=>kn,isBooleanElement:()=>Mn,isCommentElement:()=>Fn,isElement:()=>Pn,isLinkElement:()=>Nn,isMemberElement:()=>Cn,isNullElement:()=>An,isNumberElement:()=>$n,isObjectElement:()=>qn,isParseResultElement:()=>Rn,isPrimitiveElement:()=>Vn,isRefElement:()=>In,isSourceMapElement:()=>Dn,isStringElement:()=>Bn});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Pi,isJSONSchemaElement:()=>xi,isLinkDescriptionElement:()=>$i,isMediaElement:()=>Bi});var r={};n.r(r),n.d(r,{isJSONReferenceElement:()=>Pi,isJSONSchemaElement:()=>Zi,isLinkDescriptionElement:()=>Qi,isMediaElement:()=>Bi});var i={};n.r(i),n.d(i,{isJSONReferenceElement:()=>Pi,isJSONSchemaElement:()=>Qa,isLinkDescriptionElement:()=>Xa});var o={};n.r(o),n.d(o,{isAsyncApi2Element:()=>gc,isAsyncApiVersionElement:()=>fc,isBooleanJsonSchemaElement:()=>qc,isChannelBindingsElement:()=>bc,isChannelItemElement:()=>yc,isChannelItemElementExternal:()=>vc,isChannelsElement:()=>_c,isComponentsElement:()=>Sc,isContactElement:()=>jc,isIdentifierElement:()=>wc,isInfoElement:()=>Ec,isLicenseElement:()=>Oc,isOperationElement:()=>xc,isParameterElement:()=>Pc,isParametersElement:()=>Bc,isReferenceElement:()=>$c,isReferenceElementExternal:()=>Ac,isSchemaElement:()=>Mc,isSecurityRequirementElement:()=>kc,isServerBindingsElement:()=>Nc,isServerElement:()=>Cc,isServerVariableElement:()=>Tc,isServersElement:()=>Ic});const a=function(){return!1};const c=function(){return!0};function u(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function l(e){return function t(n){return 0===arguments.length||u(n)?t:e.apply(this,arguments)}}function p(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return u(n)?t:l((function(t){return e(n,t)}));default:return u(n)&&u(s)?t:u(n)?l((function(t){return e(t,s)})):u(s)?l((function(t){return e(n,t)})):e(n,s)}}}const h=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function m(e,t,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!h(s)){for(var r=0;r<e.length;){if("function"==typeof s[e[r]])return s[e[r]].apply(s,Array.prototype.slice.call(arguments,0,-1));r+=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 d(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const g={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}};var f=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=g.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=d(this.xf["@@transducer/step"](e,!1))),e},e}();const b=p(m(["all"],p((function(e,t){return new f(e,t)})),(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function y(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,r){return t.apply(this,arguments)};case 5:return function(e,n,s,r,i){return t.apply(this,arguments)};case 6:return function(e,n,s,r,i,o){return t.apply(this,arguments)};case 7:return function(e,n,s,r,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,s,r,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,s,r,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,s,r,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function v(e,t,n){return function(){for(var s=[],r=0,i=e,o=0;o<t.length||r<arguments.length;){var a;o<t.length&&(!u(t[o])||r>=arguments.length)?a=t[o]:(a=arguments[r],r+=1),s[o]=a,u(a)||(i-=1),o+=1}return i<=0?n.apply(this,s):y(i,v(e,s,n))}}const _=p((function(e,t){return 1===e?l(t):y(e,v(e,[],t))}));const S=p((function(e,t){return t>e?t:e}));function j(e,t){for(var n=0,s=t.length,r=Array(s);n<s;)r[n]=e(t[n]),n+=1;return r}function w(e){return"[object String]"===Object.prototype.toString.call(e)}const E=l((function(e){return!!h(e)||!!e&&("object"==typeof e&&(!w(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var O=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 x=p((function(e,t){return y(e.length,(function(){return e.apply(t,arguments)}))}));function P(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 B(e,t,n,s){return e["@@transducer/result"](n[s](x(e["@@transducer/step"],e),t))}var $="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function A(e,t,n){if("function"==typeof e&&(e=function(e){return new O(e)}(e)),E(n))return function(e,t,n){for(var s=0,r=n.length;s<r;){if((t=e["@@transducer/step"](t,n[s]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return B(e,t,n,"fantasy-land/reduce");if(null!=n[$])return P(e,t,n[$]());if("function"==typeof n.next)return P(e,t,n);if("function"==typeof n.reduce)return B(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}var M=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=g.init,e.prototype["@@transducer/result"]=g.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const q=p((function(e,t){return new M(e,t)}));function k(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var C=Object.prototype.toString;const N=function(){return"[object Arguments]"===C.call(arguments)?function(e){return"[object Arguments]"===C.call(e)}:function(e){return k("callee",e)}}();var I=!{toString:null}.propertyIsEnumerable("toString"),T=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],F=function(){return arguments.propertyIsEnumerable("length")}(),R=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};const D="function"!=typeof Object.keys||F?l((function(e){if(Object(e)!==e)return[];var t,n,s=[],r=F&&N(e);for(t in e)!k(t,e)||r&&"length"===t||(s[s.length]=t);if(I)for(n=T.length-1;n>=0;)k(t=T[n],e)&&!R(s,t)&&(s[s.length]=t),n-=1;return s})):l((function(e){return Object(e)!==e?[]:Object.keys(e)}));const V=p(m(["fantasy-land/map","map"],q,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return _(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return A((function(n,s){return n[s]=e(t[s]),n}),{},D(t));default:return j(e,t)}}))),L=Number.isInteger||function(e){return e<<0===e};const J=p((function(e,t){var n=e<0?t.length+e:e;return w(t)?t.charAt(n):t[n]}));const z=p((function(e,t){if(null!=t)return L(e)?J(e,t):t[e]}));const U=p((function(e,t){return V(z(e),t)}));function W(e){return function t(n,s,r){switch(arguments.length){case 0:return t;case 1:return u(n)?t:p((function(t,s){return e(n,t,s)}));case 2:return u(n)&&u(s)?t:u(n)?p((function(t,n){return e(t,s,n)})):u(s)?p((function(t,s){return e(n,t,s)})):l((function(t){return e(n,s,t)}));default:return u(n)&&u(s)&&u(r)?t:u(n)&&u(s)?p((function(t,n){return e(t,n,r)})):u(n)&&u(r)?p((function(t,n){return e(t,s,n)})):u(s)&&u(r)?p((function(t,s){return e(n,t,s)})):u(n)?l((function(t){return e(t,s,r)})):u(s)?l((function(t){return e(n,t,r)})):u(r)?l((function(t){return e(n,s,t)})):e(n,s,r)}}}const G=W(A);const H=l((function(e){return _(G(S,0,U("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 K=l((function(e){return function(){return e}}));const Z=l((function(e){return _(G(S,0,U("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function Q(e,t){var n;t=t||[];var s=(e=e||[]).length,r=t.length,i=[];for(n=0;n<s;)i[i.length]=e[n],n+=1;for(n=0;n<r;)i[i.length]=t[n],n+=1;return i}const X=p((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:A((function(e,n){return Q(e,V(n,t))}),[],e)}));const Y=p((function(e,t){return e.apply(this,t)}));const ee=l((function(e){return null==e}));const te=W((function e(t,n,s){if(0===t.length)return n;var r=t[0];if(t.length>1){var i=!ee(s)&&k(r,s)?s[r]:L(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}return function(e,t,n){if(L(e)&&h(n)){var s=[].concat(n);return s[e]=t,s}var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}(r,n,s)}));const ne=W((function(e,t,n){return te([e],t,n)}));function se(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const re=p((function(e,t){return e&&t}));const ie=p((function(e,t){var n=_(e,t);return _(e,(function(){return A(X,V(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const oe=l((function(e){return ie(e.length,e)}));const ae=p((function(e,t){return se(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:oe(re)(e,t)}));const ce=l((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));const ue=oe(l((function(e){return!e})));function le(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function pe(e,t){return function(){var n=arguments.length;if(0===n)return t();var s=arguments[n-1];return h(s)||"function"!=typeof s[e]?t.apply(this,arguments):s[e].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}const he=W(pe("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const me=l(pe("tail",he(1,1/0)));function de(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return y(arguments[0].length,G(le,arguments[0],me(arguments)))}function ge(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function fe(e,t,n){for(var s=0,r=n.length;s<r;){if(e(t,n[s]))return!0;s+=1}return!1}const be="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const ye=l((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function ve(e,t,n,s){var r=ge(e);function i(e,t){return _e(e,t,n.slice(),s.slice())}return!fe((function(e,t){return!fe(i,t,e)}),ge(t),r)}function _e(e,t,n,s){if(be(e,t))return!0;var r,i,o=ye(e);if(o!==ye(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!be(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!be(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&&ve(e.entries(),t.entries(),n.concat([e]),s.concat([t]));case"Set":return e.size===t.size&&ve(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=D(e);if(c.length!==D(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(!k(p,t)||!_e(t[p],e[p],u,l))return!1;a-=1}return!0}const Se=p((function(e,t){return _e(e,t,[],[])}));function je(e,t){return function(e,t,n){var s,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(s=1/t;n<e.length;){if(0===(r=e[n])&&1/r===s)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(r=e[n])&&r!=r)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(Se(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 Ee=function(e){return(e<10?"0":"")+e};const Oe="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Ee(e.getUTCMonth()+1)+"-"+Ee(e.getUTCDate())+"T"+Ee(e.getUTCHours())+":"+Ee(e.getUTCMinutes())+":"+Ee(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function xe(e){return"[object Object]"===Object.prototype.toString.call(e)}var Pe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=g.init,e.prototype["@@transducer/result"]=g.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();const Be=p(m(["fantasy-land/filter","filter"],p((function(e,t){return new Pe(e,t)})),(function(e,t){return xe(t)?A((function(n,s){return e(t[s])&&(n[s]=t[s]),n}),{},D(t)):function(e,t){for(var n=0,s=t.length,r=[];n<s;)e(t[n])&&(r[r.length]=t[n]),n+=1;return r}(e,t)})));const $e=p((function(e,t){return Be((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function Ae(e,t){var n=function(n){var s=t.concat([e]);return je(n,s)?"<Circular>":Ae(n,s)},s=function(e,t){return j((function(t){return we(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+j(n,e).join(", ")+"))";case"[object Array]":return"["+j(n,e).concat(s(e,$e((function(e){return/^\d+$/.test(e)}),D(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(Oe(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 String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":we(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+s(e,D(e)).join(", ")+"}"}}const Me=l((function(e){return Ae(e,[])}));function qe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}const ke=l((function(e){return _(e.length,e)}));const Ce=p((function(e,t){return null==t||t!=t?e:t}));var Ne=W((function(e,t,n){var s=Array.prototype.slice.call(n,0);return s.splice(e,t),s}));const Ie=Ne;const Te=p((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(L(e)&&h(t))return Ie(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],r=Array.prototype.slice.call(t,1);return null==n[s]?function(e,t){if(L(e)&&h(t))return[].concat(t);var n={};for(var s in t)n[s]=t[s];return n}(s,n):ne(s,e(r,n[s]),n)}}));var Fe=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=g.init,e.prototype["@@transducer/result"]=g.result,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?d(n):n},e}();const Re=p(m(["take"],p((function(e,t){return new Fe(e,t)})),(function(e,t){return he(0,e<0?1/0:e,t)})));const De=J(-1);var Ve=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=g.init,e.prototype["@@transducer/result"]=g.result,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();const Le=p(m(["dropWhile"],p((function(e,t){return new Ve(e,t)})),(function(e,t){for(var n=0,s=t.length;n<s&&e(t[n]);)n+=1;return he(n,1/0,t)})));const Je=p((function(e,t){return e||t}));const ze=p((function(e,t){return se(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:oe(Je)(e,t)}));var Ue=l((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():h(e)?[]:w(e)?"":xe(e)?{}:N(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 We=Ue;const Ge=l((function(e){return _(e.length,(function(t,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=t,e.apply(this,s)}))}));const He=p((function(e,t){if(0===e.length||ee(t))return!1;for(var n=t,s=0;s<e.length;){if(ee(n)||!k(e[s],n))return!1;n=n[e[s]],s+=1}return!0}));const Ke=p((function(e,t){return He([e],t)}));const Ze=J(0);const Qe=p(be);const Xe=W((function(e,t,n){return _(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const Ye=p(je);const et=he(0,-1);"function"==typeof Object.assign&&Object.assign;const tt=p((function(e,t){return _(e+1,(function(){var n=arguments[e];if(null!=n&&se(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Me(n)+' does not have a method named "'+t+'"')}))}));const nt=l((function(e){return null!=e&&Se(e,We(e))}));const st=tt(1,"join");const rt=p((function(e,t){return e.map((function(e){for(var n,s=t,r=0;r<e.length;){if(null==s)return;n=e[r],s=L(n)?J(n,s):s[n],r+=1}return s}))}));const it=p((function(e,t){return rt([e],t)[0]}));const ot=p((function(e,t){return A((function(n,s){return n[s]=e(t[s],s,t),n}),{},D(t))}));const at=p((function(e,t){for(var n={},s={},r=0,i=e.length;r<i;)s[e[r]]=1,r+=1;for(var o in t)s.hasOwnProperty(o)||(n[o]=t[o]);return n}));const ct=W((function(e,t,n){return e(it(t,n))}));const ut=p((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}));const lt=W((function(e,t,n){return Ce(e,z(t,n))}));const pt=W((function(e,t,n){return e(z(t,n))}));const ht=l(d);var mt=p((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const dt=mt;const gt=tt(1,"split");const ft=p((function(e,t){return Se(Re(e.length,t),e)}));const bt=p((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 "+Me(e));var n;return qe(e).test(t)}));var yt="\t\n\v\f\r \u2028\u2029\ufeff";String.prototype.trim;const vt=K(void 0);const _t=Se(vt());const St=ue(_t);var jt=n(7952);const wt=Se(null);const Et=ue(wt);function Ot(e){return Ot="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},Ot(e)}const xt=function(e){return"object"===Ot(e)};const Pt=_(1,ae(Et,xt));const Bt=_(1,de(ye,Qe("GeneratorFunction")));const $t=_(1,de(ye,Qe("AsyncFunction")));const At=Z([de(ye,Qe("Function")),Bt,$t]);var Mt=de(ye,Qe("Object")),qt=de(Me,Se(Me(Object))),kt=ct(ae(At,qt),["constructor"]);const Ct=_(1,(function(e){if(!Pt(e)||!Mt(e))return!1;var t=Object.getPrototypeOf(e);return!!wt(t)||kt(t)}));class Nt extends jt.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 It=Nt;class Tt extends jt.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const Ft=Tt;class Rt extends jt.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(_t(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const Dt=Rt;class Vt extends jt.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 jt.ON([e.start.row,e.start.column,e.start.char]),n=new jt.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Lt=Vt;class Jt extends jt.lS{constructor(){super(),this.register("annotation",It),this.register("comment",Ft),this.register("parseResult",Dt),this.register("sourceMap",Lt)}}const zt=new Jt,Ut=e=>{const t=new Jt;return Ct(e)&&t.use(e),t},Wt=zt;const Gt=_(1,de(ye,Qe("String"))),Ht=n.p+"fba0b3cc0d7ee926ea482deee298a5fe.wasm",Kt=globalThis.fetch;At(Kt)&&(globalThis.fetch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Gt(t[0])&&t[0].endsWith("tree-sitter.wasm")?Kt.apply(globalThis,[Ht,me(t)]):Kt.apply(globalThis,t)});var Zt=n(9794);const Qt=n.p+"7c7ca323880d9fa6e48d1d1b2e78e140.wasm";let Xt=null,Yt=null;const en=async e=>{if(null===Xt&&null===Yt)Yt=Zt.init().then((()=>Zt.Language.load(Qt))).then((e=>{const t=new Zt;return t.setLanguage(e),t})).finally((()=>{Yt=null})),Xt=await Yt;else if(null===Xt&&null!==Yt)Xt=await Yt;else if(null===Xt)throw new Error("Error while initializing web-tree-sitter");return Xt.parse(e)};var tn=n(9800),nn=n(7829),sn=n(2876);function rn(e){return rn="function"==typeof nn&&"symbol"==typeof sn?function(e){return typeof e}:function(e){return e&&"function"==typeof nn&&e.constructor===nn&&e!==nn.prototype?"symbol":typeof e},rn(e)}var on=n(2903);function an(e){var t=function(e,t){if("object"!==rn(e)||null===e)return e;var n=e[on];if(void 0!==n){var s=n.call(e,t||"default");if("object"!==rn(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===rn(t)?t:String(t)}function cn(e,t,n){return(t=an(t))in e?tn(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var un=n(6591);const ln=(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},pn={},hn=e=>null==e?void 0:e.type,mn=e=>"string"==typeof hn(e),dn=function(e){let{visitFnGetter:t=ln,nodeTypeGetter:n=hn}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=new Array(e.length);return{enter(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<e.length;i+=1)if(null==s[i]){const a=t(e[i],n(r),!1);if("function"==typeof a){const t=a.call(e[i],r,...o);if(!1===t)s[i]=r;else if(t===pn)s[i]=pn;else if(void 0!==t)return t}}},leave(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<e.length;i+=1)if(null==s[i]){const a=t(e[i],n(r),!0);if("function"==typeof a){const t=a.call(e[i],r,...o);if(t===pn)s[i]=pn;else if(void 0!==t&&!1!==t)return t}}else s[i]===r&&(s[i]=null)}}},gn=function(e,t){let{keyMap:n=null,state:s={},breakSymbol:r=pn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ln,nodeTypeGetter:c=hn,nodePredicate:u=mn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=n||{};let h,m,d=Array.isArray(e),g=[e],f=-1,b=[];const y=[],v=[];let _=e;do{f+=1;const e=f===g.length;let n,S;const j=e&&0!==b.length;if(e){if(n=0===v.length?void 0:y.pop(),S=m,m=v.pop(),j){S=d?S.slice():Object.create(Object.getPrototypeOf(S),Object.getOwnPropertyDescriptors(S));let e=0;for(let t=0;t<b.length;t+=1){let n=b[t][0];const s=b[t][1];d&&(n-=e),d&&s===i?(S.splice(n,1),e+=1):S[n]=s}}f=h.index,g=h.keys,b=h.edits,d=h.inArray,h=h.prev}else{if(n=m?d?f:g[f]:void 0,S=m?m[n]:_,S===i||void 0===S)continue;m&&y.push(n)}if(v.includes(S))continue;let w;if(!Array.isArray(S)){if(!u(S))throw new Error(`Invalid AST Node: ${JSON.stringify(S)}`);if(l&&v.includes(S)){y.pop();continue}const i=a(t,c(S),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;if(w=i.call(t,S,n,m,y,v),w===r)break;if(w===o){if(!e){y.pop();continue}}else if(void 0!==w&&(b.push([n,w]),!e)){if(!u(w)){y.pop();continue}S=w}}}void 0===w&&j&&b.push([n,S]),e||(h={inArray:d,index:f,keys:g,edits:b,prev:h},d=Array.isArray(S),g=d?S:p[c(S)]||[],f=-1,b=[],m&&v.push(m),m=S)}while(void 0!==h);return 0!==b.length&&([,_]=b[b.length-1]),_};gn[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let{keyMap:n=null,state:s={},breakSymbol:r=pn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ln,nodeTypeGetter:c=hn,nodePredicate:u=mn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=n||{};let h,m,d=Array.isArray(e),g=[e],f=-1,b=[];const y=[],v=[];let _=e;do{f+=1;const e=f===g.length;let n,S;const j=e&&0!==b.length;if(e){if(n=0===v.length?void 0:y.pop(),S=m,m=v.pop(),j){S=d?S.slice():Object.create(Object.getPrototypeOf(S),Object.getOwnPropertyDescriptors(S));let e=0;for(let t=0;t<b.length;t+=1){let n=b[t][0];const s=b[t][1];d&&(n-=e),d&&s===i?(S.splice(n,1),e+=1):S[n]=s}}f=h.index,g=h.keys,b=h.edits,d=h.inArray,h=h.prev}else{if(n=m?d?f:g[f]:void 0,S=m?m[n]:_,S===i||void 0===S)continue;m&&y.push(n)}let w;if(!Array.isArray(S)){if(!u(S))throw new Error(`Invalid AST Node: ${JSON.stringify(S)}`);if(l&&v.includes(S)){y.pop();continue}const i=a(t,c(S),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;if(w=await i.call(t,S,n,m,y,v),w===r)break;if(w===o){if(!e){y.pop();continue}}else if(void 0!==w&&(b.push([n,w]),!e)){if(!u(w)){y.pop();continue}S=w}}}void 0===w&&j&&b.push([n,S]),e||(h={inArray:d,index:f,keys:g,edits:b,prev:h},d=Array.isArray(S),g=d?S:p[c(S)]||[],f=-1,b=[],m&&v.push(m),m=S)}while(void 0!==h);return 0!==b.length&&([,_]=b[b.length-1]),_};var fn=n(4463),bn=n(6405),yn=n(5575);function vn(e,t){if(null==e)return{};var n,s,r=function(e,t){if(null==e)return{};var n,s,r={},i=yn(e);for(s=0;s<i.length;s++)n=i[s],bn(t).call(t,n)>=0||(r[n]=e[n]);return r}(e,t);if(fn){var i=fn(e);for(s=0;s<i.length;s++)n=i[s],bn(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const _n=Ge(Ye),Sn=(e,t)=>"function"==typeof(null==t?void 0:t[e]),jn=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),wn=(e,t)=>{var n;return(null==t||null===(n=t.primitive)||void 0===n?void 0:n.call(t))===e},En=(e,t)=>{var n,s;return(null==t||null===(n=t.classes)||void 0===n||null===(s=n.includes)||void 0===s?void 0:s.call(n,e))||!1},On=(e,t)=>(null==t?void 0:t.element)===e,xn=e=>e({hasMethod:Sn,hasBasicElementProps:jn,primitiveEq:wn,isElementType:On,hasClass:En}),Pn=xn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof jt.W_||t(e)&&n(void 0,e)})),Bn=xn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof jt.RP||t(e)&&n("string",e)})),$n=xn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof jt.VL||t(e)&&n("number",e)})),An=xn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof jt.zr||t(e)&&n("null",e)})),Mn=xn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof jt.hh||t(e)&&n("boolean",e)})),qn=xn((e=>{let{hasBasicElementProps:t,primitiveEq:n,hasMethod:s}=e;return e=>e instanceof jt.Sb||t(e)&&n("object",e)&&s("keys",e)&&s("values",e)&&s("items",e)})),kn=xn((e=>{let{hasBasicElementProps:t,primitiveEq:n,hasMethod:s}=e;return e=>e instanceof jt.ON&&!(e instanceof jt.Sb)||t(e)&&n("array",e)&&s("push",e)&&s("unshift",e)&&s("map",e)&&s("reduce",e)})),Cn=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof jt.c6||t(e)&&n("member",e)&&s(void 0,e)})),Nn=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof jt.EA||t(e)&&n("link",e)&&s(void 0,e)})),In=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof jt.tK||t(e)&&n("ref",e)&&s(void 0,e)})),Tn=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof It||t(e)&&n("annotation",e)&&s("array",e)})),Fn=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ft||t(e)&&n("comment",e)&&s("string",e)})),Rn=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Dt||t(e)&&n("parseResult",e)&&s("array",e)})),Dn=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Lt||t(e)&&n("sourceMap",e)&&s("array",e)})),Vn=e=>On("object",e)||On("array",e)||On("boolean",e)||On("number",e)||On("string",e)||On("null",e)||On("member",e),Ln=e=>{var t,n;return Dn(null==e||null===(t=e.meta)||void 0===t||null===(n=t.get)||void 0===n?void 0:n.call(t,"sourceMap"))},Jn=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!kn(n)&&b(_n(n.toValue()),e)},zn=(e,t)=>0===e.length||b(_n(t.classes.toValue()),e),Un=["keyMap"],Wn=["keyMap"];function Gn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gn(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Kn=e=>qn(e)?"ObjectElement":kn(e)?"ArrayElement":Cn(e)?"MemberElement":Bn(e)?"StringElement":Mn(e)?"BooleanElement":$n(e)?"NumberElement":An(e)?"NullElement":Nn(e)?"LinkElement":In(e)?"RefElement":void 0,Zn=_(1,de(Kn,Gt)),Qn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},Xn=(un({props:{result:[],predicate:a,returnOnTrue:void 0,returnOnFalse:void 0},init(){let{predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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}}}),function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:s=Qn}=n,r=vn(n,Un);return gn(e,t,Hn({keyMap:s,nodeTypeGetter:Kn,nodePredicate:Zn},r))});Xn[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:s=Qn}=n,r=vn(n,Wn);return gn[Symbol.for("nodejs.util.promisify.custom")](e,t,Hn({keyMap:s,nodeTypeGetter:Kn,nodePredicate:Zn},r))};const Yn=ue(At);const es=_(1,At(Array.isArray)?Array.isArray:de(ye,Qe("Array")));const ts=ae(es,nt);const ns=_(3,(function(e,t,n){var s=it(e,n),r=it(et(e),n);if(!Yn(s)&&!ts(e)){var i=x(s,r);return Y(i,t)}}));function ss(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const rs=()=>({predicates:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ss(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ss(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),namespace:Wt}),is=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===t.length)return e;const s=lt(rs,"toolboxCreator",n),r=lt({},"visitorOptions",n),i=lt(Kn,"nodeTypeGetter",r),o=s(),a=t.map((e=>e(o))),c=dn(a.map(lt({},"visitor")),{nodeTypeGetter:i});a.forEach(ns(["pre"],[]));const u=Xn(e,c,r);return a.forEach(ns(["post"],[])),u};function os(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function as(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?os(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):os(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const cs=(e,t)=>{let{Type:n,plugins:s=[]}=t;const r=new n(e);return is(r,s,{toolboxCreator:rs,visitorOptions:{nodeTypeGetter:Kn}})},us=e=>function(t){return cs(t,as(as({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{Type:e}))};function ls(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}jt.Sb.refract=us(jt.Sb),jt.ON.refract=us(jt.ON),jt.RP.refract=us(jt.RP),jt.hh.refract=us(jt.hh),jt.zr.refract=us(jt.zr),jt.VL.refract=us(jt.VL),jt.EA.refract=us(jt.EA),jt.tK.refract=us(jt.tK),It.refract=us(It),Ft.refract=us(Ft),Dt.refract=us(Dt),Lt.refract=us(Lt);const ps=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ls(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ls(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},Qn),hs=e=>Rn(e)?"ParseResultElement":Pn(e)?Kn(e):hn(e),ms=e=>Pn(e)||mn(e),ds=un({props:{sourceMap:!1,annotations:[]},init(){this.annotations=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new Lt,s=(e=>{if(null===e)return null;const t=new jt.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),n=new jt.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)},t=(e,t)=>{var n;return`${e}Node`in t?t[`${e}Node`]:"childForFieldName"in t?null===(n=t.childForFieldName)||void 0===n?void 0:n.call(t,e):null};this.enter=function(t){if(("function"==typeof t.isNamed&&!t.isNamed()||!1===t.isNamed)&&t.isMissing()){const n=t.type||t.text,s=new It(`(Missing ${n})`);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.document=function(t){const n=new Dt;return n._content=t.children,e(t,n),n},this.ParseResultElement={leave(e){const t=e.findElements(Vn);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 jt.Sb;return n._content=t.children,e(t,n),n},this.array=function(t){const n=new jt.ON;return n._content=t.children,e(t,n),n},this.pair=function(n){const s=new jt.c6;return s.content.key=t("key",n),s.content.value=t("value",n),e(n,s),n.children.length>3&&n.children.filter((e=>"ERROR"===e.type)).forEach((e=>{this.ERROR(e,n,[],[n])})),s},this.string=function(t){const n=new jt.RP(t.text.slice(1,-1));return e(t,n),n},this.number=function(t){const n=new jt.VL(Number(t.text));return e(t,n),n},this.null=function(t){const n=new jt.zr;return e(t,n),n},this.true=function(t){const n=new jt.hh(!0);return e(t,n),n},this.false=function(t){const n=new jt.hh(!1);return e(t,n),n},this.ERROR=function(t,n,s,r){const i=!t.hasError(),o=t.text,a=new It(i?`(Unexpected ${o})`:`(Error ${o})`);if(a.classes.push("error"),e(t,a),0===r.length){const e=new Dt;return e.push(a),e}return this.annotations.push(a),null}}}),gs=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=ds();return gn(e.rootNode,n,{keyMap:ps,nodeTypeGetter:hs,nodePredicate:ms,state:{sourceMap:t}})},fs=un({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:e=null,column:t=null,char:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=e,this.column=t,this.char=n}}),bs=un({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:e=null,end:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=e,this.end=t}}),ys=un({props:{type:null,position:null,children:[]},init(){let{children:e=[],position:t=null,isMissing:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:s={}}=arguments.length>1?arguments[1]:void 0;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}}}),vs=un(ys,{statics:{type:"literal"},props:{value:null},init(){let{value:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e}}),_s=un(ys),Ss=un(_s,{statics:{type:"document"},methods:{get child(){return Ze(this.children)}}}),js=un(ys,{statics:{type:"parseResult"},methods:{get rootNode(){return Ze(this.children)}}}),ws=(e,t)=>(null==t?void 0:t.type)===e,Es=(ws.bind(void 0,"literal"),ws.bind(void 0,"position"),ws.bind(void 0,"point"),ws.bind(void 0,"parseResult"),ws.bind(void 0,"document"),ws.bind(void 0,"string")),Os=ws.bind(void 0,"false"),xs=ws.bind(void 0,"true"),Ps=ws.bind(void 0,"null"),Bs=ws.bind(void 0,"number"),$s=ws.bind(void 0,"array"),As=ws.bind(void 0,"object"),Ms=ws.bind(void 0,"stringContent"),qs=ws.bind(void 0,"escapeSequence"),ks=ws.bind(void 0,"property"),Cs=ws.bind(void 0,"key"),Ns=un(_s,{statics:{type:"object"},methods:{get properties(){return this.children.filter(ks)}}}),Is=un(_s,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((e=>Ms(e)||qs(e))).reduce(((e,t)=>e+t.value),"")}}}),Ts=un(Is,{statics:{type:"key"}}),Fs=un(_s,{statics:{type:"property"},methods:{get key(){return this.children.find(Cs)},get value(){return this.children.find((e=>Os(e)||xs(e)||Ps(e)||Bs(e)||Es(e)||$s(e)||As(e)))}}}),Rs=un(_s,{statics:{type:"array"},methods:{get items(){return this.children.filter((e=>Os(e)||xs(e)||Ps(e)||Bs(e)||Es(e)||$s(e)||As))}}}),Ds=un(_s,{statics:{type:"value"},props:{value:null},init(){let{value:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e}}),Vs=un(Ds,{statics:{type:"stringContent"}}),Ls=un(Ds,{statics:{type:"number"}}),Js=un(Ds,{statics:{type:"null"}}),zs=un(Ds,{statics:{type:"true"}}),Us=un(Ds,{statics:{type:"false"}}),Ws=un(ys,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:e=null,isUnexpected:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e,this.isUnexpected=t}}),Gs={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},Hs=un({init(){const e=e=>{if(null===e)return null;const t=fs({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),n=fs({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return bs({start:t,end:n})};this.enter=function(t){if("function"==typeof t.isNamed&&!t.isNamed()||!1===t.isNamed){const n=e(t),s=t.type||t.text,r=t.isMissing();return vs({value:s,position:n,isMissing:r})}},this.document={enter(t){const n=e(t);return Ss({children:t.children,position:n,isMissing:t.isMissing()})},leave:e=>js({children:[e]})},this.object=function(t){const n=e(t);return Ns({children:t.children,position:n,isMissing:t.isMissing()})},this.pair=function(t){const n=e(t),s=t.children.slice(1),r=((e,t)=>{var n;return`${e}Node`in t?t[`${e}Node`]:"childForFieldName"in t?null===(n=t.childForFieldName)||void 0===n?void 0:n.call(t,e):null})("key",t),i=Ts({children:(null==r?void 0:r.children)||[],position:e(r),isMissing:(null==r?void 0:r.isMissing())||!1});return Fs({children:[i,...s],position:n,isMissing:t.isMissing()})},this.array=function(t){const n=e(t);return Rs({children:t.children,position:n,isMissing:t.isMissing()})},this.string=function(t){const n=e(t),s=Vs({value:t.text.slice(1,-1)});return Is({children:[s],position:n,isMissing:t.isMissing()})},this.number=function(t){const n=e(t),s=t.text;return Ls({value:s,position:n,isMissing:t.isMissing()})},this.null=function(t){const n=e(t),s=t.text;return Js({value:s,position:n,isMissing:t.isMissing()})},this.true=function(t){const n=e(t),s=t.text;return zs({value:s,position:n,isMissing:t.isMissing()})},this.false=function(t){const n=e(t),s=t.text;return Us({value:s,position:n,isMissing:t.isMissing()})},this.ERROR=function(t,n,s,r){const i=e(t),o=Ws({children:t.children,position:i,isUnexpected:!t.hasError(),isMissing:t.isMissing(),value:t.text});return 0===r.length?js({children:[o]}):o}}});function Ks(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Zs=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ks(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ks(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({[js.type]:["children"],[Ss.type]:["children"],[Ns.type]:["children"],[Fs.type]:["children"],[Rs.type]:["children"],[Ws.type]:["children"]},Qn),Qs=e=>Rn(e)?"ParseResultElement":Pn(e)?Kn(e):hn(e),Xs=e=>Pn(e)||mn(e),Ys=un({props:{sourceMap:!1,annotations:[]},init(){this.annotation=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new Lt;n.position=e.position,n.astNode=e,t.meta.set("sourceMap",n)};this.document=function(e){const t=new Dt;return t._content=e.children,t},this.ParseResultElement={leave(e){const t=e.findElements(Vn);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 jt.Sb;return n._content=t.children,e(t,n),n},this.property=function(t){const n=new jt.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 jt.RP(t.value);return e(t,n),n},this.array=function(t){const n=new jt.ON;return n._content=t.children,e(t,n),n},this.string=function(t){const n=new jt.RP(t.value);return e(t,n),n},this.number=function(t){const n=new jt.VL(Number(t.value));return e(t,n),n},this.null=function(t){const n=new jt.zr;return e(t,n),n},this.true=function(t){const n=new jt.hh(!0);return e(t,n),n},this.false=function(t){const n=new jt.hh(!1);return e(t,n),n},this.literal=function(t){if(t.isMissing){const n=`(Missing ${t.value})`,s=new It(n);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.error=function(t,n,s,r){const i=t.isUnexpected?`(Unexpected ${t.value})`:`(Error ${t.value})`,o=new It(i);if(o.classes.push("error"),e(t,o),0===r.length){const e=new Dt;return e.push(o),e}return this.annotations.push(o),null}}}),er=Ys,tr=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Hs(),s=er(),r=gn(e.rootNode,n,{keyMap:Gs,state:{sourceMap:t}});return gn(r.rootNode,s,{keyMap:Zs,nodeTypeGetter:Qs,nodePredicate:Xs,state:{sourceMap:t}})},nr=(Ut(),/(?<true>^\s*true\s*$)|(?<false>^\s*false\s*$)|(?<null>^\s*null\s*$)|(?<number>^\s*\d+\s*$)|(?<object>^\s*{\s*)|(?<array>^\s*\[\s*)|(?<string>^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/),sr=async function(e){let{sourceMap:t=!1,syntacticAnalysis:n="direct"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=await en(e);let r;return r="indirect"===n?tr(s,{sourceMap:t}):gs(s,{sourceMap:t}),r};const rr=ke((function(e,t){return de(gt(""),Le(_n(e)),st(""))(t)})),ir=(e,t)=>{const n=Ce(e,t);return ot((e=>{if(Ct(e)&&Ke("$ref",e)&&pt(Gt,"$ref",e)){const t=it(["$ref"],e),s=rr("#/",t);return it(s.split("/"),n)}return Ct(e)?ir(e,n):e}),e)},or=un({props:{element:null},methods:{copyMetaAndAttributes(e,t){Ln(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),ar=un(or,{methods:{enter(e){return this.element=e.clone(),pn}}});const cr=K(vt());function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const lr=e=>{if(Pn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},pr=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},Qn);function hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const dr=un(or,{props:{specObj:null,passingOptionsNames:["specObj"]},init(e){let{specObj:t=this.specObj}=e;this.specObj=t},methods:{retrievePassingOptions(){return ut(this.passingOptionsNames,this)},retrieveFixedFields(e){return de(it(["visitors",...e,"fixedFields"]),D)(this.specObj)},retrieveVisitor(e){return ct(At,["visitors",...e],this.specObj)?it(["visitors",...e],this.specObj):it(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.retrievePassingOptions();return this.retrieveVisitor(e)(mr(mr({},n),t))},toRefractedElement(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return _t(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?t.clone():(Xn(t,s,mr({keyMap:pr,nodeTypeGetter:lr},n)),s.element)}}}),gr=un(dr,{props:{specPath:cr,ignoredFields:[]},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(Bn(s)&&n.includes(s.toValue())&&!this.ignoredFields.includes(s.toValue())){const n=this.toRefractedElement([...t,"fixedFields",s.toValue()],e),i=new jt.c6(s.clone(),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(s.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),pn}}});class fr extends jt.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 br=fr,yr=un(gr,ar,{props:{specPath:K(["document","objects","JSONSchema"])},init(){this.element=new br}}),vr=ar,_r=ar,Sr=ar,jr=ar,wr=ar,Er=ar,Or=ar,xr=ar,Pr=ar,Br=ar,$r=un({props:{parent:null},init(e){let{parent:t=this.parent}=e;this.parent=t,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Ar=e=>qn(e)&&e.hasKey("$ref"),Mr=un(dr,$r,ar,{methods:{ObjectElement(e){const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),pn},ArrayElement(e){return this.element=new jt.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),pn}}}),qr=ar,kr=ar,Cr=ar,Nr=ar,Ir=ar,Tr=un(ar,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),pn}}});const Fr=ue(_(1,ae(Et,ze(xt,At))));const Rr=ue(nt);const Dr=H([Gt,Fr,Rr]),Vr=un(dr,{props:{fieldPatternPredicate:a,specPath:cr,ignoredFields:[]},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new jt.c6(t.clone(),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(n.clone())})),this.copyMetaAndAttributes(e,this.element),pn}}}),Lr=un(Vr,{props:{fieldPatternPredicate:Dr}}),Jr=un(Lr,$r,ar,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new jt.Sb,this.element.classes.push("json-schema-properties")}}),zr=un(Lr,$r,ar,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new jt.Sb,this.element.classes.push("json-schema-patternProperties")}}),Ur=un(Lr,$r,ar,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new jt.Sb,this.element.classes.push("json-schema-dependencies")}}),Wr=un(ar,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),pn}}}),Gr=un(ar,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),pn},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),pn}}}),Hr=un(dr,$r,ar,{init(){this.element=new jt.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),pn}}}),Kr=un(dr,$r,ar,{init(){this.element=new jt.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),pn}}}),Zr=un(dr,$r,ar,{init(){this.element=new jt.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),pn}}}),Qr=un(Lr,$r,ar,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new jt.Sb,this.element.classes.push("json-schema-definitions")}}),Xr=ar,Yr=ar,ei=ar,ti=ar,ni=ar,si=un(dr,$r,ar,{init(){this.element=new jt.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),pn}}}),ri=ar;class ii extends jt.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 oi=ii,ai=un(gr,ar,{props:{specPath:K(["document","objects","JSONReference"])},init(){this.element=new oi},methods:{ObjectElement(e){const t=gr.compose.methods.ObjectElement.call(this,e);return Bn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ci=un(ar,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),pn}}});const ui=ue(ee);const li=ae(es,Rr);function pi(e){return function(e){if(Array.isArray(e))return hi(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 hi(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 hi(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 hi(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 mi=de(dt(ce((function(e,t){return e.length>t.length}))),Ze,z("length")),di=ke((function(e,t,n){var s=n.apply(void 0,pi(e));return ui(s)?ht(s):t}));const gi=Xe(li,(function(e){var t=mi(e);return _(t,(function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return G(di(n),void 0,e)}))}),vt),fi=un(dr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:n}=e;return Xe(t,K(n),vt)})),n=gi(t)(e);return this.element=this.toRefractedElement(n,e),pn}}}),bi=un(fi,{props:{alternator:[{predicate:Ar,specPath:["document","objects","JSONReference"]},{predicate:c,specPath:["document","objects","JSONSchema"]}]}});class yi extends jt.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 vi=yi,_i=un(gr,ar,{props:{specPath:K(["document","objects","Media"])},init(){this.element=new vi}}),Si=ar,ji=ar;class wi extends jt.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 Ei=wi,Oi={visitors:{value:ar,JSONSchemaOrJSONReferenceVisitor:bi,document:{objects:{JSONSchema:{$visitor:yr,fixedFields:{id:vr,$schema:_r,multipleOf:Sr,maximum:jr,exclusiveMaximum:wr,minimum:Er,exclusiveMinimum:Or,maxLength:xr,minLength:Pr,pattern:Br,additionalItems:bi,items:Mr,maxItems:qr,minItems:kr,uniqueItems:Cr,maxProperties:Nr,minProperties:Ir,required:Tr,properties:Jr,additionalProperties:bi,patternProperties:zr,dependencies:Ur,enum:Wr,type:Gr,allOf:Hr,anyOf:Kr,oneOf:Zr,not:bi,definitions:Qr,title:Xr,description:Yr,default:ei,format:ti,base:ni,links:si,media:{$ref:"#/visitors/document/objects/Media"},readOnly:ri}},JSONReference:{$visitor:ai,fixedFields:{$ref:ci}},Media:{$visitor:_i,fixedFields:{binaryEncoding:Si,type:ji}},LinkDescription:{$visitor:un(gr,ar,{props:{specPath:K(["document","objects","LinkDescription"])},init(){this.element=new Ei}}),fixedFields:{href:ar,rel:ar,title:ar,targetSchema:bi,mediaType:ar,method:ar,encType:ar,schema:bi}}}}}},xi=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof br||t(e)&&n("JSONSchemaDraft4",e)&&s("object",e)})),Pi=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof oi||t(e)&&n("JSONReference",e)&&s("object",e)})),Bi=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof vi||t(e)&&n("media",e)&&s("object",e)})),$i=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ei||t(e)&&n("linkDescription",e)&&s("object",e)})),Ai={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",br),t.register("jSONReference",oi),t.register("media",vi),t.register("linkDescription",Ei),t}};function Mi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function qi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mi(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ki=()=>{const e=Ut(Ai);return{predicates:qi(qi({},t),{},{isStringElement:Bn}),namespace:e}};function Ci(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Ni=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Oi}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(0,jt.Qc)(e),i=ir(s),o=ns(t,[],i);return Xn(r,o,{state:{specObj:i}}),is(o.element,n,{toolboxCreator:ki,visitorOptions:{keyMap:pr,nodeTypeGetter:lr}})},Ii=e=>function(t){return Ni(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ci(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ci(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};br.refract=Ii(["visitors","document","objects","JSONSchema","$visitor"]),oi.refract=Ii(["visitors","document","objects","JSONReference","$visitor"]),vi.refract=Ii(["visitors","document","objects","Media","$visitor"]),Ei.refract=Ii(["visitors","document","objects","LinkDescription","$visitor"]);const Ti=class extends br{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new Error("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Error("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)}},Fi=un(gr,ar,{props:{specPath:K(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Ti,gr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),pn}}}),Ri=ar,Di=un(dr,$r,ar,{methods:{ObjectElement(e){const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),pn},ArrayElement(e){return this.element=new jt.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),pn},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),pn}}}),Vi=ar,Li=un(ar,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-examples"),pn}}});const Ji=class extends Ei{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 Error("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Error("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 Error("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Error("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Error("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Error("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},zi=un(gr,ar,{props:{specPath:K(["document","objects","LinkDescription"])},init(){this.element=new Ji}}),Ui=ar,Wi=de(te(["visitors","document","objects","JSONSchema","$visitor"],Fi),Te(["visitors","document","objects","JSONSchema","fixedFields","id"]),te(["visitors","document","objects","JSONSchema","fixedFields","$id"],Ri),te(["visitors","document","objects","JSONSchema","fixedFields","contains"],Oi.visitors.JSONSchemaOrJSONReferenceVisitor),te(["visitors","document","objects","JSONSchema","fixedFields","items"],Di),te(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Oi.visitors.JSONSchemaOrJSONReferenceVisitor),te(["visitors","document","objects","JSONSchema","fixedFields","const"],Vi),te(["visitors","document","objects","JSONSchema","fixedFields","examples"],Li),te(["visitors","document","objects","LinkDescription","$visitor"],zi),te(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Oi.visitors.JSONSchemaOrJSONReferenceVisitor),Te(["visitors","document","objects","LinkDescription","fixedFields","schema"]),te(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Oi.visitors.JSONSchemaOrJSONReferenceVisitor),Te(["visitors","document","objects","LinkDescription","fixedFields","method"]),Te(["visitors","document","objects","LinkDescription","fixedFields","encType"]),te(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Ui))(Oi);function Gi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Hi=e=>{if(Pn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Ki=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gi(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},Qn),Zi=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ti||t(e)&&n("JSONSchemaDraft6",e)&&s("object",e)})),Qi=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ji||t(e)&&n("linkDescription",e)&&s("object",e)})),Xi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Ti),t.register("jSONReference",oi),t.register("media",vi),t.register("linkDescription",Ji),t}};function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function eo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yi(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const to=()=>{const e=Ut(Xi);return{predicates:eo(eo({},r),{},{isStringElement:Bn}),namespace:e}};function no(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const so=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Wi}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(0,jt.Qc)(e),i=ir(s),o=ns(t,[],i);return Xn(r,o,{state:{specObj:i}}),is(o.element,n,{toolboxCreator:to,visitorOptions:{keyMap:Ki,nodeTypeGetter:Hi}})},ro=e=>function(t){return so(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?no(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):no(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};Ti.refract=ro(["visitors","document","objects","JSONSchema","$visitor"]),Ji.refract=ro(["visitors","document","objects","LinkDescription","$visitor"]);const io=class extends Ti{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 Error('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Error('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=un(gr,ar,{props:{specPath:K(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new io,gr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),pn}}}),ao=ar,co=ar,uo=ar,lo=ar;const po=class extends Ji{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 Error("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Error("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 Error("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Error("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=un(gr,ar,{props:{specPath:K(["document","objects","LinkDescription"])},init(){this.element=new po}}),mo=ar,go=ar,fo=ar,bo=ar,yo=ar,vo=ar,_o=ar,So=de(te(["visitors","document","objects","JSONSchema","$visitor"],oo),te(["visitors","document","objects","JSONSchema","fixedFields","$comment"],ao),te(["visitors","document","objects","JSONSchema","fixedFields","if"],Wi.visitors.JSONSchemaOrJSONReferenceVisitor),te(["visitors","document","objects","JSONSchema","fixedFields","then"],Wi.visitors.JSONSchemaOrJSONReferenceVisitor),te(["visitors","document","objects","JSONSchema","fixedFields","else"],Wi.visitors.JSONSchemaOrJSONReferenceVisitor),Te(["visitors","document","objects","JSONSchema","fixedFields","media"]),te(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],co),te(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],uo),te(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],lo),te(["visitors","document","objects","LinkDescription","$visitor"],ho),te(["visitors","document","objects","LinkDescription","fixedFields","anchor"],mo),te(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],go),Te(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),te(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],fo),te(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],bo),te(["visitors","document","objects","LinkDescription","fixedFields","description"],yo),te(["visitors","document","objects","LinkDescription","fixedFields","$comment"],vo),Te(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),te(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],_o))(Wi),jo=un({props:{element:null},methods:{copyMetaAndAttributes(e,t){Ln(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),wo=un(jo,{methods:{enter(e){return this.element=e.clone(),pn}}});function Eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Oo=e=>{if(Pn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},xo=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({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"]},Qn);function Po(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Po(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Po(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const $o=un(jo,{props:{specObj:null},init(e){let{specObj:t=this.specObj}=e;this.specObj=t},methods:{retrievePassingOptions(){return ut(["namespace","specObj"],this)},retrieveFixedFields(e){return de(it(["visitors",...e,"fixedFields"]),D)(this.specObj)},retrieveVisitor(e){return ct(At,["visitors",...e],this.specObj)?it(["visitors",...e],this.specObj):it(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.retrievePassingOptions();return this.retrieveVisitor(e)(Bo(Bo({},n),t))},toRefractedElement(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return _t(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?t.clone():(Xn(t,s,Bo(Bo({keyMap:xo},n),{},{nodeTypeGetter:Oo})),s.element)}}}),Ao=un($o,{methods:{MemberElement(e){return this.element=e.clone(),this.element.classes.push("specification-extension"),pn}}}),Mo=e=>qn(e)&&e.hasKey("$ref"),qo=e=>qn(e),ko=e=>Bn(e.key)&&ft("x-",e.key.toValue()),Co=un($o,{props:{specPath:cr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:ko},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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,r)=>{if(Bn(s)&&n.includes(s.toValue())&&!this.ignoredFields.includes(s.toValue())){const n=this.toRefractedElement([...t,"fixedFields",s.toValue()],e),i=new jt.c6(s.clone(),n);i.classes.push("fixed-field"),this.copyMetaAndAttributes(r,i),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(s.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),pn}}});class No extends jt.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 Io=No,To=un(Co,wo,{props:{specPath:K(["document","objects","AsyncApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Io}});class Fo extends jt.RP{constructor(e,t,n){super(e,t,n),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Ro=Fo,Do=un($o,wo,{methods:{StringElement(e){const t=new Ro(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,pn}}});class Vo extends jt.RP{constructor(e,t,n){super(e,t,n),this.element="identifier"}}const Lo=Vo,Jo=un($o,wo,{methods:{StringElement(e){const t=new Lo(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,pn}}});class zo extends jt.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 Uo=zo,Wo=un(Co,wo,{props:{specPath:K(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Uo}}),Go=wo,Ho=wo,Ko=wo,Zo=un(wo,{methods:{StringElement(e){return this.element=new jt.RP(e.toValue()),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),pn}}});class Qo extends jt.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 Xo=Qo,Yo=un(Co,wo,{props:{specPath:K(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Xo}}),ea=wo,ta=wo,na=wo;class sa extends jt.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=sa,ia=un(Co,wo,{props:{specPath:K(["document","objects","CorrelationID"]),canSupportSpecificationExtensions:!0},init(){this.element=new ra}}),oa=wo,aa=wo;class ca extends jt.RP{constructor(e,t,n){super(e,t,n),this.element="defaultContentType"}}const ua=ca,la=un($o,wo,{methods:{StringElement(e){const t=new ua(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,pn}}});class pa extends jt.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 ha=pa,ma=un(Co,wo,{props:{specPath:K(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new ha}}),da=wo,ga=wo;class fa extends jt.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 ba=fa,ya=un(Co,wo,{props:{specPath:K(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new ba}});class va extends jt.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 _a=va,Sa=un(Co,wo,{props:{specPath:K(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new _a}}),ja=wo,wa=wo,Ea=wo;class Oa extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Oa.primaryClass)}}cn(Oa,"primaryClass","oauth-flow-scopes");const xa=Oa,Pa=un($o,{props:{fieldPatternPredicate:a,specPath:cr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:ko},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new jt.c6(t.clone(),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(n.clone())})),this.copyMetaAndAttributes(e,this.element),pn}}}),Ba=un(Pa,{props:{fieldPatternPredicate:Dr}}),$a=un(Ba,wo,{props:{specPath:K(["value"])},init(){this.element=new xa}});class Aa extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="servers"}}const Ma=Aa;class qa extends jt.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 ka=qa;class Ca extends jt.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 Na=Ca;class Ia extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="channels"}}const Ta=Ia;class Fa extends jt.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 Ra=Fa;class Da extends jt.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 Va=Da;class La extends jt.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 Ja=La;class za extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="parameters"}}const Ua=za;class Wa extends jt.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 Ga=Wa;function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Ka=e=>{if(Pn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Za=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"]},Qn),Qa=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof io||t(e)&&n("JSONSchemaDraft7",e)&&s("object",e)})),Xa=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof po||t(e)&&n("linkDescription",e)&&s("object",e)})),Ya={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",io),t.register("jSONReference",oi),t.register("linkDescription",po),t}};function ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ec(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const nc=()=>{const e=Ut(Ya);return{predicates:tc(tc({},i),{},{isStringElement:Bn}),namespace:e}};function sc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const rc=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=So}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(0,jt.Qc)(e),i=ir(s),o=ns(t,[],i);return Xn(r,o,{state:{specObj:i}}),is(o.element,n,{toolboxCreator:nc,visitorOptions:{keyMap:Za,nodeTypeGetter:Ka}})},ic=e=>function(t){return rc(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sc(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};io.refract=ic(["visitors","document","objects","JSONSchema","$visitor"]),po.refract=ic(["visitors","document","objects","LinkDescription","$visitor"]);const oc=class extends io{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 ac extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const cc=ac;class uc extends jt.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 lc=uc;class pc extends jt.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 hc=pc;class mc extends jt.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 dc=mc,gc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s,hasClass:r}=e;return e=>e instanceof Io||t(e)&&n("asyncApi2",e)&&s("object",e)&&r("api",e)})),fc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ro||t(e)&&n("asyncApiVersion",e)&&s("string",e)})),bc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof ka||t(e)&&n("channelBindings",e)&&s("object",e)})),yc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Na||t(e)&&n("channelItem",e)&&s("object",e)})),vc=e=>{if(!yc(e))return!1;if(!Bn(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},_c=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ta||t(e)&&n("channels",e)&&s("object",e)})),Sc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ra||t(e)&&n("components",e)&&s("object",e)})),jc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Xo||t(e)&&n("contact",e)&&s("object",e)})),wc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Lo||t(e)&&n("identifier",e)&&s("string",e)})),Ec=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Uo||t(e)&&n("info",e)&&s("object",e)})),Oc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof ha||t(e)&&n("license",e)&&s("object",e)})),xc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Va||t(e)&&n("operation",e)&&s("object",e)})),Pc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ja||t(e)&&n("parameter",e)&&s("object",e)})),Bc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ua||t(e)&&n("parameters",e)&&s("object",e)})),$c=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ga||t(e)&&n("reference",e)&&s("object",e)})),Ac=e=>{if(!$c(e))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Mc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof oc||t(e)&&n("schema",e)&&s("object",e)})),qc=e=>Mn(e)&&e.classes.includes("boolean-json-schema"),kc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof cc||t(e)&&n("securityRequirement",e)&&s("object",e)})),Cc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof lc||t(e)&&n("server",e)&&s("object",e)})),Nc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof hc||t(e)&&n("serverBindings",e)&&s("object",e)})),Ic=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ma||t(e)&&n("servers",e)&&s("object",e)})),Tc=xn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof dc||t(e)&&n("serverVariable",e)&&s("object",e)})),Fc=un(Pa,wo,{props:{fieldPatternPredicate:bt(/^[A-Za-z0-9_-]+$/),specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","Server"],canSupportSpecificationExtensions:!1},init(){this.element=new Ma,this.element.classes.push("servers")},methods:{ObjectElement(e){const t=Pa.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}}),Rc=un(Co,wo,{props:{specPath:K(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new lc}}),Dc=un(wo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("server-url"),pn}}}),Vc=wo,Lc=wo,Jc=wo,zc=un($o,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:n}=e;return Xe(t,K(n),vt)})),n=gi(t)(e);return this.element=this.toRefractedElement(n,e),pn}}}),Uc=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","ServerBindings"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}});class Wc extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Wc.primaryClass)}}cn(Wc,"primaryClass","server-variables");const Gc=Wc,Hc=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new Gc}});class Kc extends jt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Kc.primaryClass)}}cn(Kc,"primaryClass","server-security");const Zc=Kc,Qc=un($o,wo,{init(){this.element=new Zc},methods:{ArrayElement(e){return e.forEach((e=>{if(qo(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),pn}}}),Xc=un(Co,wo,{props:{specPath:K(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new dc}}),Yc=wo,eu=wo,tu=wo,nu=wo,su=un(Co,wo,{props:{specPath:K(["document","objects","ServerBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new hc}});class ru extends jt.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 iu=ru,ou=un(Co,wo,{props:{specPath:K(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new iu}}),au=wo,cu=wo,uu=wo,lu=wo,pu=wo,hu=wo,mu=wo,du=un(Ba,wo,{props:{specPath:K(["value"])},init(){this.element=new cc}}),gu=un(Co,wo,{props:{specPath:K(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ga},methods:{ObjectElement(e){const t=Co.compose.methods.ObjectElement.call(this,e);return Bn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),fu=un(wo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),pn}}}),bu=un(Co,wo,{props:{specPath:K(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},methods:{ObjectElement(e){return this.element=new oc,Co.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),pn}}}),{JSONSchemaOrJSONReferenceVisitor:yu}=So.visitors,vu=un(yu,{methods:{enter(e){const t=yu.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),_u=wo,Su=wo,{allOf:ju}=So.visitors.document.objects.JSONSchema.fixedFields,wu=un(ju,{methods:{ArrayElement(e){const t=ju.compose.methods.ArrayElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Eu}=So.visitors.document.objects.JSONSchema.fixedFields,Ou=un(Eu,{methods:{ArrayElement(e){const t=Eu.compose.methods.ArrayElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:xu}=So.visitors.document.objects.JSONSchema.fixedFields,Pu=un(xu,{methods:{ArrayElement(e){const t=xu.compose.methods.ArrayElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Bu}=So.visitors.document.objects.JSONSchema.fixedFields,$u=un(Bu,{methods:{ObjectElement(e){const t=Bu.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Au}=So.visitors.document.objects.JSONSchema.fixedFields,Mu=un(Au,{methods:{ObjectElement(e){const t=Au.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:qu}=So.visitors.document.objects.JSONSchema.fixedFields,ku=un(qu,{methods:{ObjectElement(e){const t=qu.compose.methods.ObjectElement.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=qu.compose.methods.ArrayElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:Cu}=So.visitors.document.objects.JSONSchema.fixedFields,Nu=un(Cu,{methods:{ObjectElement(e){const t=Cu.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Iu}=So.visitors.document.objects.JSONSchema.fixedFields,Tu=un(Iu,{methods:{ObjectElement(e){const t=Iu.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Fu=V((e=>e===So.visitors.JSONSchemaOrJSONReferenceVisitor?vu:e),So.visitors.document.objects.JSONSchema.fixedFields),Ru=un(Pa,wo,{props:{fieldPatternPredicate:bt(/^[A-Za-z0-9_-]+$/),specPath:e=>Mo(e)?["document","objects","Reference"]:(e=>qn(e))(e)?["document","objects","Parameter"]:["value"],canSupportSpecificationExtensions:!1},init(){this.element=new Ua},methods:{ObjectElement(e){const t=Pa.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}}),Du=un(Co,wo,{props:{specPath:K(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ja}}),Vu=wo,Lu=wo,Ju=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}});class zu extends jt.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 Uu=zu,Wu=un(Co,wo,{props:{specPath:K(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Uu}}),Gu=wo,Hu=wo,Ku=un(Co,wo,{props:{specPath:K(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ra}});class Zu extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Zu.primaryClass)}}cn(Zu,"primaryClass","components-schemas");const Qu=Zu,Xu=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Qu},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Yu extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Yu.primaryClass)}}cn(Yu,"primaryClass","components-servers");const el=Yu,tl=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","Server"]},init(){this.element=new el},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}});class nl extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(nl.primaryClass)}}cn(nl,"primaryClass","components-server-variables");const sl=nl,rl=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new sl},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}});class il extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(il.primaryClass)}}cn(il,"primaryClass","components-channels");const ol=il,al=un(Ba,wo,{props:{specPath:K(["document","objects","ChannelItem"])},init(){this.element=new ol}});class cl extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(cl.primaryClass)}}cn(cl,"primaryClass","components-messages");const ul=cl,ll=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","Message"]},init(){this.element=new ul},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}});class pl extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(pl.primaryClass)}}cn(pl,"primaryClass","components-security-schemes");const hl=pl,ml=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new hl},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class dl extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(dl.primaryClass)}}cn(dl,"primaryClass","components-parameters");const gl=dl,fl=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new gl},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class bl extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(bl.primaryClass)}}cn(bl,"primaryClass","components-correlation-ids");const yl=bl,vl=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]},init(){this.element=new yl},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}});class _l extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(_l.primaryClass)}}cn(_l,"primaryClass","components-operation-traits");const Sl=_l,jl=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]},init(){this.element=new Sl},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}});class wl extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(wl.primaryClass)}}cn(wl,"primaryClass","components-message-traits");const El=wl,Ol=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]},init(){this.element=new El},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}});class xl extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(xl.primaryClass)}}cn(xl,"primaryClass","components-server-bindings");const Pl=xl,Bl=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]},init(){this.element=new Pl},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}});class $l extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push($l.primaryClass)}}cn($l,"primaryClass","components-channel-bindings");const Al=$l,Ml=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]},init(){this.element=new Al},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}});class ql extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(ql.primaryClass)}}cn(ql,"primaryClass","components-operation-bindings");const kl=ql,Cl=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]},init(){this.element=new kl},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}});class Nl extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Nl.primaryClass)}}cn(Nl,"primaryClass","components-message-bindings");const Il=Nl,Tl=un(Ba,wo,{props:{specPath:e=>Mo(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]},init(){this.element=new Il},methods:{ObjectElement(e){const t=Ba.compose.methods.ObjectElement.call(this,e);return this.element.filter($c).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}}),Fl=un(Co,wo,{props:{specPath:K(["document","objects","Operation"])},init(){this.element=new Va}}),Rl=wo,Dl=wo,Vl=wo;class Ll extends jt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Ll.primaryClass)}}cn(Ll,"primaryClass","operation-security");const Jl=Ll,zl=un($o,wo,{init(){this.element=new Jl},methods:{ArrayElement(e){return e.forEach((e=>{if(qo(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),pn}}}),Ul=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class Wl extends jt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Wl.primaryClass)}}cn(Wl,"primaryClass","operation-traits");const Gl=Wl,Hl=un($o,wo,{init(){this.element=new Gl},methods:{ArrayElement(e){return e.forEach((e=>{let t;Mo(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),pn}}});class Kl extends jt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Kl.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}cn(Kl,"primaryClass","operation-message-map");const Zl=Kl;class Ql extends jt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Ql.primaryClass)}}cn(Ql,"primaryClass","operation-message");const Xl=Ql,Yl=un($o,wo,{methods:{ObjectElement(e){if(Mo(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(kn(e.get("oneOf"))){this.element=new Zl;const t=new Xl;e.get("oneOf").forEach((e=>{let n;Mo(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),pn}}});class ep extends jt.ON{constructor(e,t,n){super(e,t,n),this.element="tags"}}const tp=ep,np=un($o,wo,{init(){this.element=new tp},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),pn}}});class sp extends jt.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 rp=sp,ip=un(Co,wo,{props:{specPath:K(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new rp}}),op=wo,ap=wo,cp=un(Ba,wo,{props:{specPath:K(["document","objects","ChannelItem"])},init(){this.element=new Ta}}),up=un(Co,wo,{props:{specPath:K(["document","objects","ChannelBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new ka}}),lp=un(Co,wo,{props:{specPath:K(["document","objects","ChannelItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Na},methods:{ObjectElement(e){const t=Co.compose.methods.ObjectElement.call(this,e);return Bn(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}}),pp=un(wo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),pn}}}),hp=wo;class mp extends jt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(mp.primaryClass)}}cn(mp,"primaryClass","channel-item-server-names-list");const dp=mp,gp=un($o,wo,{init(){this.element=new dp},methods:{ArrayElement(e){return e.forEach((e=>{const t=e.clone();Bn(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),pn}}}),fp=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","ChannelBindings"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}});class bp extends jt.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 yp=bp,vp=un(Co,wo,{props:{specPath:K(["document","objects","MessageBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new yp}});class _p extends jt.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 Sp=_p,jp=un(Co,wo,{props:{specPath:K(["document","objects","MessageExample"]),canSupportSpecificationExtensions:!0},init(){this.element=new Sp}}),wp=wo,Ep=wo,Op=wo,xp=wo;class Pp extends jt.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 Bp=Pp,$p=un(Co,wo,{props:{specPath:K(["document","objects","MessageTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new Bp}}),Ap=wo,Mp=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),qp=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),kp=wo,Cp=wo,Np=wo,Ip=wo,Tp=wo,Fp=wo,Rp=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class Dp extends jt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Dp.primaryClass)}}cn(Dp,"primaryClass","message-trait-examples");const Vp=Dp,Lp=un($o,wo,{init(){this.element=new Vp},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=qn(e)?this.toRefractedElement(["document","objects","MessageExample"],e):e.clone(),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),pn}}});const Jp=class extends Array{constructor(){super(...arguments),cn(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class zp extends Jp{filterByFormat(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";const t="generic"===e?"asyncapi;version":e;return this.filter((e=>e.includes(t)))}findBy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2.6.0",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"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(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";return De(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 jt.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,Hp=un(Co,wo,{props:{specPath:K(["document","objects","Message"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gp},methods:{ObjectElement(e){var t;const n=Co.compose.methods.ObjectElement.call(this,e),s=this.element.get("payload"),r=Ce(Up.latest(),null===(t=e.get("schemaFormat"))||void 0===t?void 0:t.toValue());if(Up.includes(r)&&Mo(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else Up.includes(r)&&qn(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return n}}}),Kp=wo,Zp=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Qp=wo,Xp=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),Yp=wo,eh=wo,th=wo,nh=wo,sh=wo,rh=wo,ih=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class oh extends jt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(oh.primaryClass)}}cn(oh,"primaryClass","message-examples");const ah=oh,ch=un($o,wo,{init(){this.element=new ah},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=qn(e)?this.toRefractedElement(["document","objects","MessageExample"],e):e.clone(),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),pn}}});class uh extends jt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(uh.primaryClass)}}cn(uh,"primaryClass","message-traits");const lh=uh,ph=un($o,wo,{init(){this.element=new lh},methods:{ArrayElement(e){return e.forEach((e=>{let t;Mo(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),pn}}});class hh extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","OperationBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new mh}});class gh extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","OperationTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new fh}}),yh=wo,vh=wo,_h=wo;class Sh extends jt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Sh.primaryClass)}}cn(Sh,"primaryClass","operation-trait-security");const jh=Sh,wh=un($o,wo,{init(){this.element=new jh},methods:{ArrayElement(e){return e.forEach((e=>{if(qo(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),pn}}}),Eh=un(zc,wo,{props:{alternator:[{predicate:Mo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return $c(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class Oh extends jt.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 xh=Oh,Ph=un(Co,wo,{props:{specPath:K(["document","objects","bindings","amqp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new xh}});class Bh extends jt.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=Bh,Ah=un(Co,wo,{props:{specPath:K(["document","objects","bindings","amqp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $h}});class Mh extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","amqp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qh}});class Ch extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpServerBinding",this.classes.push("server-binding")}}const Nh=Ch,Ih=un(Co,wo,{props:{specPath:K(["document","objects","bindings","amqp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nh}});class Th extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const Fh=Th,Rh=un(Co,wo,{props:{specPath:K(["document","objects","bindings","amqp1","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fh}});class Dh extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const Vh=Dh,Lh=un(Co,wo,{props:{specPath:K(["document","objects","bindings","amqp1","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Vh}});class Jh extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const zh=Jh,Uh=un(Co,wo,{props:{specPath:K(["document","objects","bindings","amqp1","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zh}});class Wh extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const Gh=Wh,Hh=un(Co,wo,{props:{specPath:K(["document","objects","bindings","amqp1","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gh}});class Kh extends jt.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=Kh,Qh=un(Co,wo,{props:{specPath:K(["document","objects","bindings","anypointmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zh}});class Xh extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","anypointmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Yh}});class tm extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const nm=tm,sm=un(Co,wo,{props:{specPath:K(["document","objects","bindings","anypointmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new nm}});class rm extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const im=rm,om=un(Co,wo,{props:{specPath:K(["document","objects","bindings","anypointmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new im}});class am extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const cm=am,um=un(Co,wo,{props:{specPath:K(["document","objects","bindings","http","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new cm}});class lm extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","http","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new pm}});class mm extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","http","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new dm}});class fm extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpServerBinding",this.classes.push("server-binding")}}const bm=fm,ym=un(Co,wo,{props:{specPath:K(["document","objects","bindings","http","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bm}});class vm extends jt.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 _m=vm,Sm=un(Co,wo,{props:{specPath:K(["document","objects","bindings","googlepubsub","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _m}});class jm extends jt.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=jm,Em=un(Co,wo,{props:{specPath:K(["document","objects","bindings","googlepubusb","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wm}});class Om extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const xm=Om,Pm=un(Co,wo,{props:{specPath:K(["document","objects","bindings","googlepubsub","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new xm}});class Bm extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const $m=Bm,Am=un(Co,wo,{props:{specPath:K(["document","objects","bindings","googlepubsub","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $m}});class Mm extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","ibmmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qm}});class Cm extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","ibmmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nm}});class Tm extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const Fm=Tm,Rm=un(Co,wo,{props:{specPath:K(["document","objects","bindings","ibmmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fm}});class Dm extends jt.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 Vm=Dm,Lm=un(Co,wo,{props:{specPath:K(["document","objects","bindings","ibmmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Vm}});class Jm extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const zm=Jm,Um=un(Co,wo,{props:{specPath:K(["document","objects","bindings","jms","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zm}});class Wm extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Gm=Wm,Hm=un(Co,wo,{props:{specPath:K(["document","objects","bindings","jms","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gm}});class Km extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const Zm=Km,Qm=un(Co,wo,{props:{specPath:K(["document","objects","bindings","jms","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zm}});class Xm extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsServerBinding",this.classes.push("server-binding")}}const Ym=Xm,ed=un(Co,wo,{props:{specPath:K(["document","objects","bindings","jms","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ym}});class td extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","kafka","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new nd}});class rd extends jt.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 id=rd,od=un(Co,wo,{props:{specPath:K(["document","objects","bindings","kafka","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new id}});class ad extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","kafka","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new cd}});class ld extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","kafka","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new pd}});class md extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const dd=md,gd=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mercure","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new dd}});class fd extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const bd=fd,yd=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mercure","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bd}});class vd extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const _d=vd,Sd=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mercure","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _d}});class jd extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureServerBinding",this.classes.push("server-binding")}}const wd=jd,Ed=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mercure","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wd}});class Od extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const xd=Od,Pd=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mqtt","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new xd}});class Bd extends jt.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=Bd,Ad=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mqtt","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $d}});class Md extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mqtt","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qd}});class Cd extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mqtt","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nd}});class Td extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const Fd=Td,Rd=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mqtt5","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fd}});class Dd extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const Vd=Dd,Ld=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mqtt5","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Vd}});class Jd extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const zd=Jd,Ud=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mqtt5","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zd}});class Wd extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const Gd=Wd,Hd=un(Co,wo,{props:{specPath:K(["document","objects","bindings","mqtt5","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gd}});class Kd extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const Zd=Kd,Qd=un(Co,wo,{props:{specPath:K(["document","objects","bindings","nats","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zd}});class Xd extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsMessageBinding",this.classes.push("message-binding")}}const Yd=Xd,eg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","nats","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Yd}});class tg extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","nats","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ng}});class rg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsServerBinding",this.classes.push("server-binding")}}const ig=rg,og=un(Co,wo,{props:{specPath:K(["document","objects","bindings","nats","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ig}});class ag extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","pulsar","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new cg}});class lg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const pg=lg,hg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","pulsar","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new pg}});class mg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const dg=mg,gg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","pulsar","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new dg}});class fg extends jt.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,yg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","pulsar","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bg}});class vg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const _g=vg,Sg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","redis","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _g}});class jg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisMessageBinding",this.classes.push("message-binding")}}const wg=jg,Eg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","redis","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wg}});class Og extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const xg=Og,Pg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","redis","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new xg}});class Bg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisServerBinding",this.classes.push("server-binding")}}const $g=Bg,Ag=un(Co,wo,{props:{specPath:K(["document","objects","bindings","redis","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $g}});class Mg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const qg=Mg,kg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","sns","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qg}});class Cg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsMessageBinding",this.classes.push("message-binding")}}const Ng=Cg,Ig=un(Co,wo,{props:{specPath:K(["document","objects","bindings","sns","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ng}});class Tg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Fg=Tg,Rg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","sns","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fg}});class Dg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsServerBinding",this.classes.push("server-binding")}}const Vg=Dg,Lg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","sns","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Vg}});class Jg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const zg=Jg,Ug=un(Co,wo,{props:{specPath:K(["document","objects","bindings","solace","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zg}});class Wg extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const Gg=Wg,Hg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","solace","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gg}});class Kg extends jt.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=Kg,Qg=un(Co,wo,{props:{specPath:K(["document","objects","bindings","solace","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zg}});class Xg extends jt.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=un(Co,wo,{props:{specPath:K(["document","objects","bindings","solace","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Yg}});class tf extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const nf=tf,sf=un(Co,wo,{props:{specPath:K(["document","objects","bindings","sqs","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new nf}});class rf extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const of=rf,af=un(Co,wo,{props:{specPath:K(["document","objects","bindings","sqs","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new of}});class cf extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const uf=cf,lf=un(Co,wo,{props:{specPath:K(["document","objects","bindings","sqs","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new uf}});class pf extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsServerBinding",this.classes.push("server-binding")}}const hf=pf,mf=un(Co,wo,{props:{specPath:K(["document","objects","bindings","sqs","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new hf}});class df extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const gf=df,ff=un(Co,wo,{props:{specPath:K(["document","objects","bindings","stomp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new gf}});class bf extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompMessageBinding",this.classes.push("message-binding")}}const yf=bf,vf=un(Co,wo,{props:{specPath:K(["document","objects","bindings","stomp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new yf}});class _f extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const Sf=_f,jf=un(Co,wo,{props:{specPath:K(["document","objects","bindings","stomp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Sf}});class wf extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompServerBinding",this.classes.push("server-binding")}}const Ef=wf,Of=un(Co,wo,{props:{specPath:K(["document","objects","bindings","stomp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ef}});class xf extends jt.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 Pf=xf,Bf=un(Co,wo,{props:{specPath:K(["document","objects","bindings","ws","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Pf}});class $f extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const Af=$f,Mf=un(Co,wo,{props:{specPath:K(["document","objects","bindings","ws","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Af}});class qf extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const kf=qf,Cf=un(Co,wo,{props:{specPath:K(["document","objects","bindings","ws","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new kf}});class Nf extends jt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const If=Nf,Tf=un(Co,wo,{props:{specPath:K(["document","objects","bindings","ws","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new If}});function Ff(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Rf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ff(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ff(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Df={$visitor:gu,fixedFields:{$ref:fu}},Vf={$visitor:bu,fixedFields:Rf(Rf({},Fu),{},{allOf:wu,anyOf:Ou,oneOf:Pu,items:ku,properties:Tu,patternProperties:Nu,dependencies:Mu,definitions:$u,discriminator:Su,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:_u})},Lf={visitors:{value:wo,document:{objects:{AsyncApi:{$visitor:To,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:Jo},Info:{$visitor:Wo,fixedFields:{title:Go,description:Ho,termsOfService:Ko,version:Zo,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:Yo,fixedFields:{name:ea,url:ta,email:na}},License:{$visitor:ma,fixedFields:{name:da,url:ga}},Servers:{$visitor:Fc},Server:{$visitor:Rc,fixedFields:{url:Dc,protocol:Vc,protocolVersion:Lc,description:Jc,variables:Hc,security:Qc,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Uc}},ServerVariable:{$visitor:Xc,fixedFields:{enum:Yc,default:eu,description:tu,examples:nu}},DefaultContentType:{$visitor:la},Channels:{$visitor:cp},ChannelItem:{$visitor:lp,fixedFields:{$ref:pp,description:hp,servers:gp,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:fp}},Operation:{$visitor:Fl,fixedFields:{operationId:Rl,summary:Dl,description:Vl,security:zl,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Ul,traits:Hl,message:Yl}},OperationTrait:{$visitor:bh,fixedFields:{operationId:yh,summary:vh,description:_h,security:wh,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Eh}},Message:{$visitor:Hp,fixedFields:{messageId:Kp,headers:Zp,payload:Qp,correlationId:Xp,schemaFormat:Yp,contentType:eh,name:th,title:nh,summary:sh,description:rh,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:ih,examples:ch,traits:ph}},MessageTrait:{$visitor:$p,fixedFields:{messageId:Ap,headers:Mp,correlationId:qp,schemaFormat:kp,contentType:Cp,name:Np,title:Ip,summary:Tp,description:Fp,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Rp,examples:Lp}},MessageExample:{$visitor:jp,fixedFields:{headers:wp,payload:Ep,name:Op,summary:xp}},Tags:{$visitor:np},Tag:{$visitor:ip,fixedFields:{name:op,description:ap,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:Wu,fixedFields:{description:Gu,url:Hu}},Components:{$visitor:Ku,fixedFields:{schemas:Xu,servers:tl,serverVariables:rl,channels:al,messages:ll,securitySchemes:ml,parameters:fl,correlationIds:vl,operationTraits:jl,messageTraits:Ol,serverBindings:Bl,channelBindings:Ml,operationBindings:Cl,messageBindings:Tl}},JSONReference:Df,Reference:Df,JSONSchema:Vf,Schema:Vf,LinkDescription:So.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:ou,fixedFields:{type:au,description:cu,name:uu,in:lu,scheme:pu,bearerFormat:hu,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:mu}},SecurityRequirement:{$visitor:du},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:Sa,fixedFields:{authorizationUrl:ja,tokenUrl:wa,refreshUrl:Ea,scopes:$a}},ServerBindings:{$visitor:su,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:Ru},Parameter:{$visitor:Du,fixedFields:{description:Vu,schema:Ju,location:Lu}},ChannelBindings:{$visitor:up,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:vp,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:ia,fixedFields:{description:oa,location:aa}},bindings:{http:{ServerBinding:{$visitor:ym},ChannelBinding:{$visitor:um},OperationBinding:{$visitor:gm,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:vu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:hm,fixedFields:{headers:vu,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:Tf},ChannelBinding:{$visitor:Bf,fixedFields:{method:{$ref:"#/visitors/value"},query:vu,headers:vu,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:vu,clientId:vu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:od,fixedFields:{key:vu,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:vu,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Ih},ChannelBinding:{$visitor:Ph,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:Hh},ChannelBinding:{$visitor:Rh},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:Pd},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:Hd},ChannelBinding:{$visitor:Rd},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:yg,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:Hm}},sns:{ServerBinding:{$visitor:Lg},ChannelBinding:{$visitor:kg},OperationBinding:{$visitor:Rg},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:Hg}},sqs:{ServerBinding:{$visitor:mf},ChannelBinding:{$visitor:sf},OperationBinding:{$visitor:lf},MessageBinding:{$visitor:af}},stomp:{ServerBinding:{$visitor:Of},ChannelBinding:{$visitor:ff},OperationBinding:{$visitor:jf},MessageBinding:{$visitor:vf}},redis:{ServerBinding:{$visitor:Ag},ChannelBinding:{$visitor:Sg},OperationBinding:{$visitor:Pg},MessageBinding:{$visitor:Eg}},mercure:{ServerBinding:{$visitor:Ed},ChannelBinding:{$visitor:gd},OperationBinding:{$visitor:Sd},MessageBinding:{$visitor:yd}},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:Pm},MessageBinding:{$visitor:Em,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:Rm}}}},extension:{$visitor:Ao}}}},Jf={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",Io),t.register("asyncApiVersion",Ro),t.register("channelBindings",ka),t.register("channelItem",Na),t.register("channels",Ta),t.register("components",Ra),t.register("contact",Xo),t.register("correlationID",ra),t.register("defaultContentType",ua),t.register("externalDocumentation",Uu),t.register("identifier",Lo),t.register("info",Uo),t.register("license",ha),t.register("message",Gp),t.register("messageBindings",yp),t.register("messageExample",Sp),t.register("messageTrait",Bp),t.register("oAuthFlow",_a),t.register("oAuthFlows",ba),t.register("operation",Va),t.register("operationBindings",mh),t.register("operationTrait",fh),t.register("parameter",Ja),t.register("parameters",Ua),t.register("reference",Ga),t.register("schema",oc),t.register("securityRequirement",cc),t.register("securityScheme",iu),t.register("server",lc),t.register("serverBindings",hc),t.register("servers",Ma),t.register("serverVariable",dc),t.register("tag",rp),t.register("tags",tp),t.register("amqpChannelBinding",xh),t.register("amqpMessageBinding",$h),t.register("amqpOperationBinding",qh),t.register("amqpServerBinding",Nh),t.register("amqp1ChannelBinding",Fh),t.register("amqp1MessageBinding",Vh),t.register("amqp1OperationBinding",zh),t.register("amqp1ServerBinding",Gh),t.register("anypointmqChannelBinding",Zh),t.register("anypointmqMessageBinding",Yh),t.register("anypointmqOperationBinding",nm),t.register("anypointmqServerBinding",im),t.register("googlepubsubChannelBinding",_m),t.register("googlepubsubMessageBinding",wm),t.register("googlepubsubOperationBinding",xm),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",Fm),t.register("ibmmqServerBinding",Vm),t.register("jmsChannelBinding",zm),t.register("jmsMessageBinding",Gm),t.register("jmsOperationBinding",Zm),t.register("jmsServerBinding",Ym),t.register("kafkaChannelBinding",nd),t.register("kafkaMessageBinding",id),t.register("kafkaOperationBinding",cd),t.register("kafkaServerBinding",pd),t.register("mercureChannelBinding",dd),t.register("mercureMessageBinding",bd),t.register("mercureOperationBinding",_d),t.register("mercureServerBinding",wd),t.register("mqttChannelBinding",xd),t.register("mqttMessageBinding",$d),t.register("mqttOperationBinding",qd),t.register("mqttServerBinding",Nd),t.register("mqtt5ChannelBinding",Fd),t.register("mqtt5MessageBinding",Vd),t.register("mqtt5OperationBinding",zd),t.register("mqtt5ServerBinding",Gd),t.register("natsChannelBinding",Zd),t.register("natsMessageBinding",Yd),t.register("natsOperationBinding",ng),t.register("natsServerBinding",ig),t.register("pulsarChannelBinding",cg),t.register("pulsarMessageBinding",pg),t.register("pulsarOperationBinding",dg),t.register("pulsarServerBinding",bg),t.register("redisChannelBinding",_g),t.register("redisMessageBinding",wg),t.register("redisOperationBinding",xg),t.register("redisServerBinding",$g),t.register("snsChannelBinding",qg),t.register("snsMessageBinding",Ng),t.register("snsOperationBinding",Fg),t.register("snsServerBinding",Vg),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",yf),t.register("stompOperationBinding",Sf),t.register("stompServerBinding",Ef),t.register("webSocketChannelBinding",Pf),t.register("webSocketMessageBinding",Af),t.register("webSocketOperationBinding",kf),t.register("webSocketServerBinding",If),t}};function zf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Uf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zf(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Wf=()=>{const e=Ut(Jf);return{predicates:Uf(Uf({},o),{},{isStringElement:Bn}),namespace:e}};function Gf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Hf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gf(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Kf=function(e){let{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:n=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=(0,jt.Qc)(e),r=ir(Lf),i=ns(t,[],r);return Xn(s,i,{state:{specObj:r}}),is(i.element,n,{toolboxCreator:Wf,visitorOptions:{keyMap:xo,nodeTypeGetter:Oo}})},Zf=e=>function(t){return Kf(t,Hf(Hf({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{specPath:e}))};Io.refract=Zf(["visitors","document","objects","AsyncApi","$visitor"]),Ro.refract=Zf(["visitors","document","objects","AsyncApiVersion","$visitor"]),ka.refract=Zf(["visitors","document","objects","ChannelBindings","$visitor"]),Na.refract=Zf(["visitors","document","objects","ChannelItem","$visitor"]),Ta.refract=Zf(["visitors","document","objects","Channels","$visitor"]),Ra.refract=Zf(["visitors","document","objects","Components","$visitor"]),Xo.refract=Zf(["visitors","document","objects","Contact","$visitor"]),ra.refract=Zf(["visitors","document","objects","CorrelationID","$visitor"]),ua.refract=Zf(["visitors","document","objects","DefaultContentType","$visitor"]),Uu.refract=Zf(["visitors","document","objects","ExternalDocumentation","$visitor"]),Lo.refract=Zf(["visitors","document","objects","Identifier","$visitor"]),Uo.refract=Zf(["visitors","document","objects","Info","$visitor"]),ha.refract=Zf(["visitors","document","objects","License","$visitor"]),Gp.refract=Zf(["visitors","document","objects","Message","$visitor"]),yp.refract=Zf(["visitors","document","objects","MessageBindings","$visitor"]),Sp.refract=Zf(["visitors","document","objects","MessageExample","$visitor"]),Bp.refract=Zf(["visitors","document","objects","MessageTrait","$visitor"]),_a.refract=Zf(["visitors","document","objects","OAuthFlow","$visitor"]),ba.refract=Zf(["visitors","document","objects","OAuthFlows","$visitor"]),Va.refract=Zf(["visitors","document","objects","Operation","$visitor"]),mh.refract=Zf(["visitors","document","objects","OperationBindings","$visitor"]),fh.refract=Zf(["visitors","document","objects","OperationTrait","$visitor"]),Ja.refract=Zf(["visitors","document","objects","Parameter","$visitor"]),Ua.refract=Zf(["visitors","document","objects","Parameters","$visitor"]),Ga.refract=Zf(["visitors","document","objects","Reference","$visitor"]),oc.refract=Zf(["visitors","document","objects","Schema","$visitor"]),cc.refract=Zf(["visitors","document","objects","SecurityRequirement","$visitor"]),iu.refract=Zf(["visitors","document","objects","SecurityScheme","$visitor"]),lc.refract=Zf(["visitors","document","objects","Server","$visitor"]),hc.refract=Zf(["visitors","document","objects","ServerBindings","$visitor"]),Ma.refract=Zf(["visitors","document","objects","Servers","$visitor"]),dc.refract=Zf(["visitors","document","objects","ServerVariable","$visitor"]),rp.refract=Zf(["visitors","document","objects","Tag","$visitor"]),tp.refract=Zf(["visitors","document","objects","Tags","$visitor"]),xh.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"]),Fh.refract=Zf(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),Vh.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"]),_m.refract=Zf(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),wm.refract=Zf(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),xm.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"]),Fm.refract=Zf(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Vm.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"]),id.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"]),im.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"]),_d.refract=Zf(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),wd.refract=Zf(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),xd.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"]),Fd.refract=Zf(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),Vd.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"]),ig.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"]),_g.refract=Zf(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),wg.refract=Zf(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),xg.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"]),Fg.refract=Zf(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),Vg.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"]),yf.refract=Zf(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),Sf.refract=Zf(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),Ef.refract=Zf(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),Pf.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 Qf=new zp(...Up.filterByFormat("generic"),...Up.filterByFormat("json")),Xf=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,Yf=async e=>Xf.test(e)&&await(async e=>{if(!nr.test(e))return!1;try{return"ERROR"!==(await en(e)).rootNode.type}catch{return!1}})(e),eb=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=lt({},"refractorOpts",t),s=at(["refractorOpts"],t),r=await sr(e,s),{result:i}=r;if(St(i)){const e=Io.refract(i,n);e.classes.push("result"),r.replaceResult(e)}return r},tb=Ut(Jf)})(),s})()));
|