@speclynx/apidom-ns-asyncapi-2 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsAsyncApi2=t():e.apidomNsAsyncApi2=t()}(self,()=>(()=>{"use strict";var e={d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{AlternatingVisitor:()=>jc,Amqp1ChannelBindingElement:()=>Cr,Amqp1MessageBindingElement:()=>Pr,Amqp1OperationBindingElement:()=>kr,Amqp1ServerBindingElement:()=>Ar,AmqpChannelBindingElement:()=>Or,AmqpMessageBindingElement:()=>qr,AmqpOperationBindingElement:()=>$r,AmqpServerBindingElement:()=>Mr,AnypointmqChannelBindingElement:()=>Fr,AnypointmqMessageBindingElement:()=>Vr,AnypointmqOperationBindingElement:()=>Ir,AnypointmqServerBindingElement:()=>Tr,AsyncAPIMediaTypes:()=>g,AsyncApi2Element:()=>L,AsyncApiVersionElement:()=>z,BaseAlternatingVisitor:()=>Tc,BaseFixedFieldsVisitor:()=>Ac,BaseMapVisitor:()=>Vc,BaseMixedFieldsVisitor:()=>Ic,BasePatternedFieldsVisitor:()=>Fc,BaseSpecificationVisitor:()=>kc,ChannelBindingsElement:()=>W,ChannelItemElement:()=>K,ChannelsElement:()=>H,ComponentsElement:()=>G,ContactElement:()=>Q,CorrelationIDElement:()=>Z,DefaultContentTypeElement:()=>X,ExternalDocumentationElement:()=>Y,FallbackVisitor:()=>Ec,FixedFieldsVisitor:()=>Oc,GooglepubsubChannelBindingElement:()=>Rr,GooglepubsubMessageBindingElement:()=>_r,GooglepubsubOperationBindingElement:()=>Nr,GooglepubsubServerBindingElement:()=>Dr,HttpChannelBindingElement:()=>Jr,HttpMessageBindingElement:()=>Lr,HttpOperationBindingElement:()=>Ur,HttpServerBindingElement:()=>zr,IbmmqChannelBindingElement:()=>Wr,IbmmqMessageBindingElement:()=>Kr,IbmmqOperationBindingElement:()=>Hr,IbmmqServerBindingElement:()=>Gr,IdentifierElement:()=>ee,InfoElement:()=>te,JmsChannelBindingElement:()=>Qr,JmsMessageBindingElement:()=>Zr,JmsOperationBindingElement:()=>Xr,JmsServerBindingElement:()=>Yr,KafkaChannelBindingElement:()=>eo,KafkaMessageBindingElement:()=>to,KafkaOperationBindingElement:()=>so,KafkaServerBindingElement:()=>no,LicenseElement:()=>se,MapVisitor:()=>$c,MercureChannelBindingElement:()=>io,MercureMessageBindingElement:()=>ro,MercureOperationBindingElement:()=>oo,MercureServerBindingElement:()=>ao,MessageBindingsElement:()=>ie,MessageElement:()=>ne,MessageExampleElement:()=>re,MessageTraitElement:()=>oe,MixedFieldsVisitor:()=>Rc,Mqtt5ChannelBindingElement:()=>mo,Mqtt5MessageBindingElement:()=>po,Mqtt5OperationBindingElement:()=>go,Mqtt5ServerBindingElement:()=>fo,MqttChannelBindingElement:()=>co,MqttMessageBindingElement:()=>lo,MqttOperationBindingElement:()=>uo,MqttServerBindingElement:()=>ho,NatsChannelBindingElement:()=>bo,NatsMessageBindingElement:()=>vo,NatsOperationBindingElement:()=>yo,NatsServerBindingElement:()=>So,OAuthFlowElement:()=>ae,OAuthFlowsElement:()=>ce,OperationBindingsElement:()=>ue,OperationElement:()=>le,OperationTraitElement:()=>de,ParameterElement:()=>he,ParametersElement:()=>me,PatternedFieldsVisitor:()=>qc,PulsarChannelBindingElement:()=>xo,PulsarMessageBindingElement:()=>Bo,PulsarOperationBindingElement:()=>Eo,PulsarServerBindingElement:()=>wo,RedisChannelBindingElement:()=>jo,RedisMessageBindingElement:()=>Oo,RedisOperationBindingElement:()=>qo,RedisServerBindingElement:()=>$o,ReferenceElement:()=>pe,SchemaElement:()=>br,SecurityRequirementElement:()=>vr,SecuritySchemeElement:()=>yr,ServerBindingsElement:()=>xr,ServerElement:()=>Sr,ServerVariableElement:()=>Er,ServersElement:()=>Br,SnsChannelBindingElement:()=>Mo,SnsMessageBindingElement:()=>Co,SnsOperationBindingElement:()=>Po,SnsServerBindingElement:()=>ko,SolaceChannelBindingElement:()=>Ao,SolaceMessageBindingElement:()=>Fo,SolaceOperationBindingElement:()=>Vo,SolaceServerBindingElement:()=>Io,SpecificationExtensionVisitor:()=>_c,SpecificationVisitor:()=>wc,SqsChannelBindingElement:()=>To,SqsMessageBindingElement:()=>Ro,SqsOperationBindingElement:()=>_o,SqsServerBindingElement:()=>No,StompChannelBindingElement:()=>Do,StompMessageBindingElement:()=>Jo,StompOperationBindingElement:()=>Lo,StompServerBindingElement:()=>Uo,TagElement:()=>wr,TagsElement:()=>jr,Visitor:()=>Bc,WebSocketChannelBindingElement:()=>zo,WebSocketMessageBindingElement:()=>Wo,WebSocketOperationBindingElement:()=>Ko,WebSocketServerBindingElement:()=>Ho,default:()=>Go,isAsyncApi2Element:()=>Ga,isAsyncApiExtension:()=>xc,isAsyncApiVersionElement:()=>Qa,isBooleanJsonSchemaElement:()=>uc,isChannelBindingsElement:()=>Za,isChannelItemElement:()=>Xa,isChannelsElement:()=>Ya,isComponentsElement:()=>ec,isContactElement:()=>tc,isIdentifierElement:()=>sc,isInfoElement:()=>nc,isLicenseElement:()=>ic,isOperationElement:()=>rc,isParameterElement:()=>oc,isParametersElement:()=>ac,isReferenceElement:()=>cc,isReferenceLikeElement:()=>Sc,isSchemaElement:()=>lc,isSecurityRequirementElement:()=>dc,isServerBindingsElement:()=>mc,isServerElement:()=>hc,isServerVariableElement:()=>gc,isServersElement:()=>pc,mediaTypes:()=>f,refract:()=>Op,refractAmqp1ChannelBinding:()=>cm,refractAmqp1MessageBinding:()=>lm,refractAmqp1OperationBinding:()=>um,refractAmqp1ServerBinding:()=>dm,refractAmqpChannelBinding:()=>im,refractAmqpMessageBinding:()=>rm,refractAmqpOperationBinding:()=>om,refractAmqpServerBinding:()=>am,refractAnypointmqChannelBinding:()=>hm,refractAnypointmqMessageBinding:()=>mm,refractAnypointmqOperationBinding:()=>pm,refractAnypointmqServerBinding:()=>gm,refractAsyncApi2:()=>wh,refractAsyncApiVersion:()=>jh,refractChannelBindings:()=>kh,refractChannelItem:()=>Ah,refractChannels:()=>$h,refractComponents:()=>Fh,refractContact:()=>Vh,refractCorrelationID:()=>Ih,refractDefaultContentType:()=>qh,refractExternalDocumentation:()=>Th,refractGooglepubsubChannelBinding:()=>fm,refractGooglepubsubMessageBinding:()=>bm,refractGooglepubsubOperationBinding:()=>vm,refractGooglepubsubServerBinding:()=>ym,refractHttpChannelBinding:()=>Sm,refractHttpMessageBinding:()=>xm,refractHttpOperationBinding:()=>Bm,refractHttpServerBinding:()=>Em,refractIbmmqChannelBinding:()=>wm,refractIbmmqMessageBinding:()=>jm,refractIbmmqOperationBinding:()=>Om,refractIbmmqServerBinding:()=>qm,refractIdentifier:()=>Oh,refractInfo:()=>Rh,refractJmsChannelBinding:()=>$m,refractJmsMessageBinding:()=>Mm,refractJmsOperationBinding:()=>Cm,refractJmsServerBinding:()=>Pm,refractKafkaChannelBinding:()=>km,refractKafkaMessageBinding:()=>Am,refractKafkaOperationBinding:()=>Fm,refractKafkaServerBinding:()=>Vm,refractLicense:()=>_h,refractMercureChannelBinding:()=>Im,refractMercureMessageBinding:()=>Tm,refractMercureOperationBinding:()=>Rm,refractMercureServerBinding:()=>_m,refractMessage:()=>Nh,refractMessageBindings:()=>Dh,refractMessageExample:()=>Jh,refractMessageTrait:()=>Lh,refractMqtt5ChannelBinding:()=>Um,refractMqtt5MessageBinding:()=>zm,refractMqtt5OperationBinding:()=>Wm,refractMqtt5ServerBinding:()=>Km,refractMqttChannelBinding:()=>Nm,refractMqttMessageBinding:()=>Dm,refractMqttOperationBinding:()=>Jm,refractMqttServerBinding:()=>Lm,refractNatsChannelBinding:()=>Hm,refractNatsMessageBinding:()=>Gm,refractNatsOperationBinding:()=>Qm,refractNatsServerBinding:()=>Zm,refractOAuthFlow:()=>Uh,refractOAuthFlows:()=>zh,refractOperation:()=>Wh,refractOperationBindings:()=>Kh,refractOperationTrait:()=>Hh,refractParameter:()=>Gh,refractParameters:()=>Ch,refractPulsarChannelBinding:()=>Xm,refractPulsarMessageBinding:()=>Ym,refractPulsarOperationBinding:()=>ep,refractPulsarServerBinding:()=>tp,refractRedisChannelBinding:()=>sp,refractRedisMessageBinding:()=>np,refractRedisOperationBinding:()=>ip,refractRedisServerBinding:()=>rp,refractReference:()=>Qh,refractSchema:()=>Zh,refractSecurityRequirement:()=>Xh,refractSecurityScheme:()=>Yh,refractServer:()=>em,refractServerBindings:()=>tm,refractServerVariable:()=>sm,refractServers:()=>Mh,refractSnsChannelBinding:()=>op,refractSnsMessageBinding:()=>ap,refractSnsOperationBinding:()=>cp,refractSnsServerBinding:()=>lp,refractSolaceChannelBinding:()=>up,refractSolaceMessageBinding:()=>dp,refractSolaceOperationBinding:()=>hp,refractSolaceServerBinding:()=>mp,refractSqsChannelBinding:()=>pp,refractSqsMessageBinding:()=>gp,refractSqsOperationBinding:()=>fp,refractSqsServerBinding:()=>bp,refractStompChannelBinding:()=>vp,refractStompMessageBinding:()=>yp,refractStompOperationBinding:()=>Sp,refractStompServerBinding:()=>xp,refractTag:()=>nm,refractTags:()=>Ph,refractWebSocketChannelBinding:()=>Bp,refractWebSocketMessageBinding:()=>Ep,refractWebSocketOperationBinding:()=>wp,refractWebSocketServerBinding:()=>jp,refractorPluginReplaceEmptyElement:()=>Ha});var s={};e.r(s),e.d(s,{isAsyncApi2Element:()=>Ga,isAsyncApiVersionElement:()=>Qa,isBooleanJsonSchemaElement:()=>uc,isChannelBindingsElement:()=>Za,isChannelItemElement:()=>Xa,isChannelsElement:()=>Ya,isComponentsElement:()=>ec,isContactElement:()=>tc,isIdentifierElement:()=>sc,isInfoElement:()=>nc,isLicenseElement:()=>ic,isOperationElement:()=>rc,isParameterElement:()=>oc,isParametersElement:()=>ac,isReferenceElement:()=>cc,isSchemaElement:()=>lc,isSecurityRequirementElement:()=>dc,isServerBindingsElement:()=>mc,isServerElement:()=>hc,isServerVariableElement:()=>gc,isServersElement:()=>pc});var n={};function i(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function r(e){return function t(s){return 0===arguments.length||i(s)?t:e.apply(this,arguments)}}function o(e,t){return t[e<0?t.length+e:e]}e.r(n),e.d(n,{isAsyncApiExtension:()=>xc,isReferenceLikeElement:()=>Sc});const a=r(function(e){return o(-1,e)});class c extends AggregateError{constructor(e,t,s){super(e,t,s),this.name=this.constructor.name,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}const l=c;class u extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(l,e)}constructor(e,t){super(e,t),this.name=this.constructor.name,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}const d=u;const h=class extends d{};const m=class extends h{};const p=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new m("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new m("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new m("latest method in MediaTypes class is not yet implemented.")}};class g extends p{filterByFormat(e="generic"){const t="generic"===e?"asyncapi;version":e;return this.filter(e=>e.includes(t))}findBy(e="2.6.0",t="generic"){const s="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find(e=>e.includes(s))||this.unknownMediaType}latest(e="generic"){return a(this.filterByFormat(e))}}const f=new g("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");function b(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return i(s)?t:r(function(t){return e(s,t)});default:return i(s)&&i(n)?t:i(s)?r(function(t){return e(t,n)}):i(n)?r(function(t){return e(s,t)}):e(s,n)}}}function v(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function y(e,t,s){for(var n=0,i=s.length;n<i;){if(e(t,s[n]))return!0;n+=1}return!1}function S(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const x="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var B=Object.prototype.toString;const E=function(){return"[object Arguments]"===B.call(arguments)?function(e){return"[object Arguments]"===B.call(e)}:function(e){return S("callee",e)}}();var w=!{toString:null}.propertyIsEnumerable("toString"),j=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=function(){return arguments.propertyIsEnumerable("length")}(),q=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},$="function"!=typeof Object.keys||O?r(function(e){if(Object(e)!==e)return[];var t,s,n=[],i=O&&E(e);for(t in e)!S(t,e)||i&&"length"===t||(n[n.length]=t);if(w)for(s=j.length-1;s>=0;)S(t=j[s],e)&&!q(n,t)&&(n[n.length]=t),s-=1;return n}):r(function(e){return Object(e)!==e?[]:Object.keys(e)});const M=$;const C=r(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function P(e,t,s,n){var i=v(e);function r(e,t){return k(e,t,s.slice(),n.slice())}return!y(function(e,t){return!y(r,t,e)},v(t),i)}function k(e,t,s,n){if(x(e,t))return!0;var i,r,o=C(e);if(o!==C(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(i=e.constructor,null==(r=String(i).match(/^function (\w*)/))?"":r[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!x(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!x(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=s.length-1;a>=0;){if(s[a]===e)return n[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&P(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&P(e.values(),t.values(),s.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=M(e);if(c.length!==M(t).length)return!1;var l=s.concat([e]),u=n.concat([t]);for(a=c.length-1;a>=0;){var d=c[a];if(!S(d,t)||!k(t[d],e[d],l,u))return!1;a-=1}return!0}const A=b(function(e,t){return k(e,t,[],[])});const F=class{key;value;constructor(e,t){this.key=e,this.value=t}toValue(){return{key:this.key?.toValue(),value:this.value?.toValue()}}};class V{elements;constructor(e){this.elements=e??[]}toValue(){return this.elements.map(e=>({key:e.key?.toValue(),value:e.value?.toValue()}))}map(e,t){return this.elements.map(s=>{const n=s.value,i=s.key;if(void 0===n||void 0===i)throw new Error("MemberElement must have both key and value");return void 0!==t?e.call(t,n,i,s):e(n,i,s)})}filter(e,t){const s=this.elements.filter(s=>{const n=s.value,i=s.key;return void 0!==n&&void 0!==i&&(void 0!==t?e.call(t,n,i,s):e(n,i,s))});return new V(s)}reject(e,t){const s=[];for(const n of this.elements){const i=n.value,r=n.key;void 0!==i&&void 0!==r&&(e.call(t,i,r,n)||s.push(n))}return new V(s)}forEach(e,t){this.elements.forEach((s,n)=>{const i=s.value,r=s.key;void 0!==i&&void 0!==r&&(void 0!==t?e.call(t,i,r,s,n):e(i,r,s,n))})}find(e,t){return this.elements.find(s=>{const n=s.value,i=s.key;return void 0!==n&&void 0!==i&&(void 0!==t?e.call(t,n,i,s):e(n,i,s))})}keys(){return this.elements.map(e=>e.key?.toValue()).filter(e=>void 0!==e)}values(){return this.elements.map(e=>e.value?.toValue()).filter(e=>void 0!==e)}get length(){return this.elements.length}get isEmpty(){return 0===this.length}get first(){return this.elements[0]}get(e){return this.elements[e]}push(e){return this.elements.push(e),this}includesKey(e){return this.elements.some(t=>t.key?.equals(e))}[Symbol.iterator](){return this.elements[Symbol.iterator]()}}const I=V;class T{parent;startLine;startCharacter;startOffset;endLine;endCharacter;endOffset;_storedElement="element";_content;_meta;_attributes;constructor(e,t,s){void 0!==t&&(this.meta=t),void 0!==s&&(this.attributes=s),void 0!==e&&(this.content=e)}get element(){return this._storedElement}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof T)this._content=e;else if(null!=e&&"string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e&&"bigint"!=typeof e&&"symbol"!=typeof e)if(e instanceof F)this._content=e;else if(e instanceof I)this._content=e.elements;else if(Array.isArray(e))this._content=e.map(e=>this.refract(e));else{if("object"!=typeof e)throw new Error("Cannot set content to value of type "+typeof e);this._content=Object.entries(e).map(([e,t])=>new this.MemberElement(e,t))}else this._content=e}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 T?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 T?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 links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get children(){const{_content:e}=this;if(Array.isArray(e))return e;if(e instanceof F){const t=[];return e.key&&t.push(e.key),e.value&&t.push(e.value),t}return e instanceof T?[e]:[]}get isFrozen(){return Object.isFrozen(this)}freeze(){if(!this.isFrozen){this._meta&&(this._meta.parent=this,this._meta.freeze()),this._attributes&&(this._attributes.parent=this,this._attributes.freeze());for(const e of this.children)e.parent=this,e.freeze();Array.isArray(this._content)&&Object.freeze(this._content),Object.freeze(this)}}toValue(){const{_content:e}=this;return e instanceof T||e instanceof F?e.toValue():Array.isArray(e)?e.map(e=>e.toValue()):e}equals(e){return A(this.toValue(),e)}primitive(){}set(e){return this.content=e,this}toRef(e){const t=this.id.toValue();if(""===t)throw new Error("Cannot create reference to an element without an ID");const s=new this.RefElement(t);return"string"==typeof e&&(s.path=this.refract(e)),s}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)}hasMetaProperty(e){return!this.isMetaEmpty&&this.meta.hasKey(e)}get isMetaEmpty(){return void 0===this._meta||this.meta.isEmpty}getAttributesProperty(e,t){if(!this.hasAttributesProperty(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.attributes.set(e,t)}return this.attributes.get(e)}setAttributesProperty(e,t){this.attributes.set(e,t)}hasAttributesProperty(e){return!this.isAttributesEmpty&&this.attributes.hasKey(e)}get isAttributesEmpty(){return void 0===this._attributes||this.attributes.isEmpty}}const R=T;class _ extends R{constructor(e,t,s){super(e||[],t,s)}get length(){return this._content.length}get isEmpty(){return 0===this.length}get first(){return this._content[0]}get second(){return this._content[1]}get last(){return this._content.at(-1)}push(...e){for(const t of e)this._content.push(this.refract(t));return this}shift(){return this._content.shift()}unshift(e){this._content.unshift(this.refract(e))}includes(e){return this._content.some(t=>t.equals(e))}findElements(e,t){const s=t||{},n=!!s.recursive,i=void 0===s.results?[]:s.results;for(let t=0;t<this._content.length;t+=1){const s=this._content[t],r=s;n&&"function"==typeof r.findElements&&r.findElements(e,{results:i,recursive:n}),e(s,t,void 0)&&i.push(s)}return i}find(e){const t=this.findElements(e,{recursive:!0});return new this.ArrayElement(t)}findByElement(e){return this.find(t=>t.element===e)}findByClass(e){return this.find(t=>{const s=t.classes;return"function"==typeof s.includes&&s.includes(e)})}getById(e){return this.find(t=>t.id.toValue()===e).first}concat(e){return new(0,this.constructor)(this._content.concat(e._content))}[Symbol.iterator](){return this._content[Symbol.iterator]()}}const N=_;const D=class extends R{constructor(e,t,s,n){super(new F,s,n),this.element="member",void 0!==e&&(this.key=e),arguments.length>=2&&(this.value=t)}primitive(){return"member"}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=void 0===e?void 0:this.refract(e)}};const J=class extends N{constructor(e,t,s){super(e||[],t,s),this.element="object"}primitive(){return"object"}toValue(){return this._content.reduce((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e),{})}get(e){const t=this.getMember(e);if(t)return t.value}getValue(e){const t=this.get(e);if(t)return t.toValue()}getMember(e){if(void 0!==e)return this._content.find(t=>t.key.toValue()===e)}remove(e){let t=null;return this.content=this._content.filter(s=>s.key.toValue()!==e||(t=s,!1)),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if("string"==typeof e){const s=this.getMember(e);s?s.value=t:this._content.push(new D(e,t))}else if("object"==typeof e&&!Array.isArray(e))for(const t of Object.keys(e))this.set(t,e[t]);return this}keys(){return this._content.map(e=>e.key.toValue())}values(){return this._content.map(e=>e.value.toValue())}hasKey(e){return this._content.some(t=>t.key.equals(e))}items(){return this._content.map(e=>[e.key.toValue(),e.value.toValue()])}map(e,t){return this._content.map(s=>e.call(t,s.value,s.key,s))}compactMap(e,t){const s=[];return this.forEach((n,i,r)=>{const o=e.call(t,n,i,r);o&&s.push(o)}),s}filter(e,t){return new I(this._content).filter(e,t)}reject(e,t){const s=[];for(const n of this._content)e.call(t,n.value,n.key,n)||s.push(n);return new I(s)}forEach(e,t){this._content.forEach(s=>e.call(t,s.value,s.key,s))}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n=this._content[0]?.value);for(let t=s;t<this._content.length;t+=1){const s=this._content[t],i=e(n,s.value,s.key,s,this);n=void 0===i?i:this.refract(i)}return n}empty(){return new this.constructor([])}};const L=class extends J{constructor(e,t,s){super(e,t,s),this.element="asyncApi2",this.classes.push("api")}get asyncapi(){return this.get("asyncapi")}set asyncapi(e){this.set("asyncapi",e)}get idField(){return this.get("id")}set idField(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 U=class extends R{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content?.length??0}};const z=class extends U{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}};const W=class extends J{constructor(e,t,s){super(e,t,s),this.element="channelBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const K=class extends J{constructor(e,t,s){super(e,t,s),this.element="channelItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get subscribe(){return this.get("subscribe")}set subscribe(e){this.set("subscribe",e)}get publish(){return this.get("publish")}set publish(e){this.set("publish",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const H=class extends J{constructor(e,t,s){super(e,t,s),this.element="channels"}};const G=class extends J{constructor(e,t,s){super(e,t,s),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get serverVariables(){return this.get("serverVariables")}set serverVariables(e){this.set("serverVariables",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get correlationIds(){return this.get("correlationIds")}set correlationIds(e){this.set("correlationIds",e)}get operationTraits(){return this.get("operationTraits")}set operationTraits(e){this.set("operationTraits",e)}get messageTraits(){return this.get("messageTraits")}set messageTraits(e){this.set("messageTraits",e)}get serverBindings(){return this.get("serverBindings")}set serverBindings(e){this.set("serverBindings",e)}get channelBindings(){return this.get("channelBindings")}set channelBindings(e){this.set("channelBindings",e)}get operationBindings(){return this.get("operationBindings")}set operationBindings(e){this.set("operationBindings",e)}get messageBindings(){return this.get("messageBindings")}set messageBindings(e){this.set("messageBindings",e)}};const Q=class extends J{constructor(e,t,s){super(e,t,s),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}};const Z=class extends J{constructor(e,t,s){super(e,t,s),this.element="correlationID"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}};const X=class extends U{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}};const Y=class extends J{constructor(e,t,s){super(e,t,s),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}};const ee=class extends U{constructor(e,t,s){super(e,t,s),this.element="identifier"}};const te=class extends J{constructor(e,t,s){super(e,t,s),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}};const se=class extends J{constructor(e,t,s){super(e,t,s),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}};const ne=class extends J{constructor(e,t,s){super(e,t,s),this.element="message"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}};const ie=class extends J{constructor(e,t,s){super(e,t,s),this.element="messageBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const re=class extends J{constructor(e,t,s){super(e,t,s),this.element="messageExample"}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};const oe=class extends J{constructor(e,t,s){super(e,t,s),this.element="messageTrait"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const ae=class extends J{constructor(e,t,s){super(e,t,s),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}};const ce=class extends J{constructor(e,t,s){super(e,t,s),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}};const le=class extends J{constructor(e,t,s){super(e,t,s),this.element="operation"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}get message(){return this.get("message")}set message(e){this.set("message",e)}};const ue=class extends J{constructor(e,t,s){super(e,t,s),this.element="operationBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const de=class extends J{constructor(e,t,s){super(e,t,s),this.element="operationTrait"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const he=class extends J{constructor(e,t,s){super(e,t,s),this.element="parameter"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}};const me=class extends J{constructor(e,t,s){super(e,t,s),this.element="parameters"}};const pe=class extends J{constructor(e,t,s){super(e,t,s),this.element="reference",this.classes.push("json-reference"),this.classes.push("asyncapi-reference")}set $ref(e){this.set("$ref",e)}get $ref(){return this.get("$ref")}};function ge(e,t,s){for(var n=0,i=s.length;n<i;)t=e(t,s[n]),n+=1;return t}const fe=b(function(e,t){return ge(function(s,n){return s[n]=e(t[n],n,t),s},{},M(t))});const be=r(function(e){return null==e});var ve=b(function(e,t){if(0===e.length||be(t))return!1;for(var s=t,n=0;n<e.length;){if(be(s)||!S(e[n],s))return!1;s=s[e[n]],n+=1}return!0});const ye=ve;var Se=b(function(e,t){return ye([e],t)});const xe=Se;function Be(e){return function t(s,n,o){switch(arguments.length){case 0:return t;case 1:return i(s)?t:b(function(t,n){return e(s,t,n)});case 2:return i(s)&&i(n)?t:i(s)?b(function(t,s){return e(t,n,s)}):i(n)?b(function(t,n){return e(s,t,n)}):r(function(t){return e(s,n,t)});default:return i(s)&&i(n)&&i(o)?t:i(s)&&i(n)?b(function(t,s){return e(t,s,o)}):i(s)&&i(o)?b(function(t,s){return e(t,n,s)}):i(n)&&i(o)?b(function(t,n){return e(s,t,n)}):i(s)?r(function(t){return e(t,n,o)}):i(n)?r(function(t){return e(s,t,o)}):i(o)?r(function(t){return e(s,n,t)}):e(s,n,o)}}}const Ee=Number.isInteger||function(e){return(e|0)===e};const we=function(e,t){if(null!=t)return Ee(e)?o(e,t):t[e]};const je=b(we);const Oe=Be(function(e,t,s){return e(je(t,s))});function qe(e,t){for(var s=t,n=0;n<e.length;n+=1){if(null==s)return;var i=e[n];s=Ee(i)?o(i,s):s[i]}return s}const $e=b(qe);function Me(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,n){return t.apply(this,arguments)};case 4:return function(e,s,n,i){return t.apply(this,arguments)};case 5:return function(e,s,n,i,r){return t.apply(this,arguments)};case 6:return function(e,s,n,i,r,o){return t.apply(this,arguments)};case 7:return function(e,s,n,i,r,o,a){return t.apply(this,arguments)};case 8:return function(e,s,n,i,r,o,a,c){return t.apply(this,arguments)};case 9:return function(e,s,n,i,r,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,s,n,i,r,o,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Ce(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const Pe=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function ke(e){return"[object String]"===Object.prototype.toString.call(e)}const Ae=r(function(e){return!!Pe(e)||!!e&&("object"==typeof e&&(!ke(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))});var Fe="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ve(e,t,s){return function(n,i,r){if(Ae(r))return e(n,i,r);if(null==r)return i;if("function"==typeof r["fantasy-land/reduce"])return t(n,i,r,"fantasy-land/reduce");if(null!=r[Fe])return s(n,i,r[Fe]());if("function"==typeof r.next)return s(n,i,r);if("function"==typeof r.reduce)return t(n,i,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Ie(e,t,s){for(var n=0,i=s.length;n<i;){if((t=e["@@transducer/step"](t,s[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const Te=b(function(e,t){return Me(e.length,function(){return e.apply(t,arguments)})});function Re(e,t,s){for(var n=s.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=s.next()}return e["@@transducer/result"](t)}function _e(e,t,s,n){return e["@@transducer/result"](s[n](Te(e["@@transducer/step"],e),t))}const Ne=Ve(Ie,_e,Re);var De=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const Je=Be(function(e,t,s){return Ne("function"==typeof e?new De(e):e,t,s)});function Le(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return Pe(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const Ue=Be(Le("slice",function(e,t,s){return Array.prototype.slice.call(s,e,t)}));const ze=r(Le("tail",Ue(1,1/0)));function We(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Me(arguments[0].length,Je(Ce,arguments[0],ze(arguments)))}var Ke=function(e,t){switch(arguments.length){case 0:return Ke;case 1:return function t(s){return 0===arguments.length?t:x(e,s)};default:return x(e,t)}};const He=Ke;function Ge(e,t){return function(e,t,s){var n,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(i=e[s])&&1/i===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(i=e[s])&&i!=i)return s;s+=1}return-1}return e.indexOf(t,s);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,s);case"object":if(null===t)return e.indexOf(t,s)}for(;s<e.length;){if(A(e[s],t))return s;s+=1}return-1}(t,e,0)>=0}function Qe(e,t){for(var s=0,n=t.length,i=Array(n);s<n;)i[s]=e(t[s]),s+=1;return i}function Ze(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Xe=function(e){return(e<10?"0":"")+e};const Ye="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Xe(e.getUTCMonth()+1)+"-"+Xe(e.getUTCDate())+"T"+Xe(e.getUTCHours())+":"+Xe(e.getUTCMinutes())+":"+Xe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function et(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!Pe(n)){for(var i=0;i<e.length;){if("function"==typeof n[e[i]])return n[e[i]].apply(n,Array.prototype.slice.call(arguments,0,-1));i+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return s.apply(this,arguments)}}function tt(e){return"[object Object]"===Object.prototype.toString.call(e)}const st=function(){return this.xf["@@transducer/init"]()},nt=function(e){return this.xf["@@transducer/result"](e)};var it=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function rt(e){return function(t){return new it(e,t)}}var ot=b(et(["fantasy-land/filter","filter"],rt,function(e,t){return tt(t)?ge(function(s,n){return e(t[n])&&(s[n]=t[n]),s},{},M(t)):(s=t,"[object Map]"===Object.prototype.toString.call(s)?function(e,t){for(var s=new Map,n=t.entries(),i=n.next();!i.done;)e(i.value[1])&&s.set(i.value[0],i.value[1]),i=n.next();return s}(e,t):function(e,t){for(var s=0,n=t.length,i=[];s<n;)e(t[s])&&(i[i.length]=t[s]),s+=1;return i}(e,t));var s}));const at=ot;const ct=b(function(e,t){return at((s=e,function(){return!s.apply(this,arguments)}),t);var s});function lt(e,t){var s=function(s){var n=t.concat([e]);return Ge(s,n)?"<Circular>":lt(s,n)},n=function(e,t){return Qe(function(t){return Ze(t)+": "+s(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Qe(s,e).join(", ")+"))";case"[object Array]":return"["+Qe(s,e).concat(n(e,ct(function(e){return/^\d+$/.test(e)},M(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+s(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?s(NaN):Ze(Ye(e)))+")";case"[object Map]":return"new Map("+s(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+s(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+s(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+s(e.valueOf())+")":Ze(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var i=e.toString();if("[object Object]"!==i)return i}return"{"+n(e,M(e)).join(", ")+"}"}}const ut=r(function(e){return lt(e,[])});const dt=Be(function(e,t,s){return e(qe(t,s))});function ht(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const mt=b(function(e,t){return e&&t});function pt(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function gt(e,t,s,n){return s[n](e,t)}const ft=Ve(ge,gt,pt);var bt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const vt=function(e){return function(t){return new bt(e,t)}};function yt(e,t,s){return function(){for(var n=[],r=0,o=e,a=0,c=!1;a<t.length||r<arguments.length;){var l;a<t.length&&(!i(t[a])||r>=arguments.length)?l=t[a]:(l=arguments[r],r+=1),n[a]=l,i(l)?c=!0:o-=1,a+=1}return!c&&o<=0?s.apply(this,n):Me(Math.max(0,o),yt(e,n,s))}}const St=b(function(e,t){return 1===e?r(t):Me(e,yt(e,[],t))});const xt=b(et(["fantasy-land/map","map"],vt,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return St(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return ge(function(s,n){return s[n]=e(t[n]),s},{},M(t));default:return Qe(e,t)}}));const Bt=b(function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(s){return e(s)(t(s))}:ft(function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,i=t.length,r=[];for(s=0;s<n;)r[r.length]=e[s],s+=1;for(s=0;s<i;)r[r.length]=t[s],s+=1;return r}(e,xt(s,t))},[],e)});const Et=b(function(e,t){var s=St(e,t);return St(e,function(){return ge(Bt,xt(s,arguments[0]),Array.prototype.slice.call(arguments,1))})});const wt=r(function(e){return Et(e.length,e)});const jt=b(function(e,t){return ht(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:wt(mt)(e,t)});const Ot=A(null);const qt=wt(r(function(e){return!e}));const $t=qt(Ot);function Mt(e){return Mt="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},Mt(e)}const Ct=function(e){return"object"===Mt(e)};const Pt=St(1,jt($t,Ct));const kt=b(function(e,t){if(e===t)return t;function s(e,t){if(e>t!=t>e)return t>e?t:e}var n=s(e,t);if(void 0!==n)return n;var i=s(typeof e,typeof t);if(void 0!==i)return i===typeof e?e:t;var r=ut(e),o=s(r,ut(t));return void 0!==o&&o===r?e:t});const At=b(function(e,t){return xt(je(e),t)});const Ft=r(function(e){return St(Je(kt,0,At("length",e)),function(){for(var t=0,s=e.length;t<s;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})});const Vt=St(1,We(C,He("GeneratorFunction")));const It=St(1,We(C,He("AsyncFunction")));const Tt=Ft([We(C,He("Function")),Vt,It]);var Rt=We(C,He("Object")),_t=We(ut,A(ut(Object))),Nt=dt(jt(Tt,_t),["constructor"]);const Dt=St(1,function(e){if(!Pt(e)||!Rt(e))return!1;var t=Object.getPrototypeOf(e);return!!Ot(t)||Nt(t)});const Jt=St(1,We(C,He("String")));const Lt=r(function(e){return St(e.length,e)});const Ut=b(function(e,t){return St(e+1,function(){var s=arguments[e];if(null!=s&&ht(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(ut(s)+' does not have a method named "'+t+'"')})});const zt=Ut(1,"split");var Wt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Kt(e){return function(t){return new Wt(e,t)}}const Ht=b(et(["dropWhile"],Kt,function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return Ue(s,1/0,t)}));const Gt=Ut(1,"join");const Qt=r(function(e){return St(e.length,function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)})})(b(Ge));const Zt=Lt(function(e,t){return We(zt(""),Ht(Qt(e)),Gt(""))(t)}),Xt=new WeakMap,Yt=e=>{if(Xt.has(e))return Xt.get(e);const t={},s=(e,n,i)=>("string"==typeof e.element&&(t[e.element]=e.$visitor?[...i,"$visitor"]:i),fe((e,t)=>{const r=[...i,t];if(Dt(e)&&xe("$ref",e)&&Oe(Jt,"$ref",e)){const t=$e(["$ref"],e),s=Zt("#/",t);return $e(s.split("/"),n)}return Dt(e)?s(e,n,r):e},e)),n=s(e,e,[]);return n.elementMap=t,Xt.set(e,n),n};const es=class extends J{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idField(){return this.get("id")}set idField(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get itemsField(){return this.get("items")}set itemsField(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 linksField(){return this.get("links")}set linksField(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 ts=class extends J{constructor(e,t,s){super(e,t,s),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}};const ss=class extends J{constructor(e,t,s){super(e,t,s),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}};const ns=class extends J{constructor(e,t,s){super(e,t,s),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const is=class extends R{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}};const rs=class extends R{constructor(e,t,s){super(e??null,t,s),this.element="null"}primitive(){return"null"}set(e){throw new Error("Cannot set the value of null")}};const os=class extends R{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}};const as=class extends N{constructor(e,t,s){super(e||[],t,s),this.element="array"}primitive(){return"array"}get(e){return this._content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}set(e,t){return"number"==typeof e&&void 0!==t?this._content[e]=this.refract(t):this.content=e,this}remove(e){return this._content.splice(e,1)[0]??null}map(e,t){return this._content.map(e,t)}flatMap(e,t){return this._content.flatMap(e,t)}compactMap(e,t){const s=[];for(const n of this._content){const i=e.call(t,n);i&&s.push(i)}return s}filter(e,t){const s=this._content.filter(e,t);return new this.constructor(s)}reject(e,t){const s=[];for(const n of this._content)e.call(t,n)||s.push(n);return new this.constructor(s)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n=this.first);for(let t=s;t<this.length;t+=1){const s=e(n,this._content[t],t,this);n=void 0===s?s:this.refract(s)}return n}forEach(e,t){this._content.forEach((s,n)=>{e.call(t,s,n)})}empty(){return new this.constructor([])}},cs=e=>e instanceof R,ls=e=>e instanceof U,us=e=>e instanceof is,ds=e=>e instanceof rs,hs=e=>e instanceof os,ms=e=>e instanceof as,ps=e=>e instanceof J,gs=e=>e instanceof D,fs=e=>"number"==typeof e.startLine&&"number"==typeof e.startCharacter&&"number"==typeof e.startOffset&&"number"==typeof e.endLine&&"number"==typeof e.endCharacter&&"number"==typeof e.endOffset,bs=(e,t)=>0===t.length||!!cs(e)&&(!e.isMetaEmpty&&(!!e.hasMetaProperty("classes")&&t.every(t=>e.classes.includes(t))));class vs extends U{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}static transfer(e,t){t.startLine=e.startLine,t.startCharacter=e.startCharacter,t.startOffset=e.startOffset,t.endLine=e.endLine,t.endCharacter=e.endCharacter,t.endOffset=e.endOffset}static from(e){const{startLine:t,startCharacter:s,startOffset:n,endLine:i,endCharacter:r,endOffset:o}=e;if("number"!=typeof t||"number"!=typeof s||"number"!=typeof n||"number"!=typeof i||"number"!=typeof r||"number"!=typeof o)return;const a="sm1:"+[t,s,n,i,r,o].map(Ss).join("");const c=new vs(a);return c.startLine=t,c.startCharacter=s,c.startOffset=n,c.endLine=i,c.endCharacter=r,c.endOffset=o,c}applyTo(e){this.content&&([e.startLine,e.startCharacter,e.startOffset,e.endLine,e.endCharacter,e.endOffset]=function(e){const t=e.startsWith("sm1:")?e.slice(4):e,s=[];let n=0;for(let e=0;e<6;e++){const e=xs(t,n);s.push(e.value),n=e.next}return s}(this.content))}}const ys="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Ss(e){let t=e>>>0,s="";do{let e=31&t;t>>>=5,0!==t&&(e|=32),s+=ys[e]}while(0!==t);return s}function xs(e,t=0){let s=0,n=0,i=t;for(;;){const t=e[i++],r=ys.indexOf(t);if(-1===r)throw new Error(`Invalid Base64 VLQ char: ${t}`);if(s|=(31&r)<<n,n+=5,!!!(32&r))break}return{value:s>>>0,next:i}}const Bs=vs;const Es=class extends d{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}};const ws=class extends Es{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const js=class extends ws{};const Os=class extends ws{},qs=(e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const i=Ps(e);s.set(e,i);const{content:r}=e;return Array.isArray(r)?i.content=r.map(e=>qs(e,n)):cs(r)?i.content=qs(r,n):i.content=r instanceof F?$s(r,n):r,i},$s=(e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const{key:i,value:r}=e,o=void 0!==i?qs(i,n):void 0,a=void 0!==r?qs(r,n):void 0,c=new F(o,a);return s.set(e,c),c},Ms=(e,t={})=>{if(e instanceof F)return $s(e,t);if(e instanceof I)return((e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const i=[...e].map(e=>qs(e,n)),r=new I(i);return s.set(e,r),r})(e,t);if(cs(e))return qs(e,t);throw new js("Value provided to cloneDeep function couldn't be cloned",{value:e})};Ms.safe=e=>{try{return Ms(e)}catch{return e}};const Cs=e=>{const{key:t,value:s}=e;return new F(t,s)},Ps=e=>{const t=new(0,e.constructor);t.element=e.element,e.isMetaEmpty||(t.meta=Ms(e.meta)),e.isAttributesEmpty||(t.attributes=Ms(e.attributes)),fs(e)&&Bs.transfer(e,t);const{content:s}=e;return cs(s)?t.content=Ps(s):Array.isArray(s)?t.content=[...s]:t.content=s instanceof F?Cs(s):s,t},ks=e=>{if(e instanceof F)return Cs(e);if(e instanceof I)return(e=>{const t=[...e];return new I(t)})(e);if(cs(e))return Ps(e);throw new Os("Value provided to cloneShallow function couldn't be cloned",{value:e})};ks.safe=e=>{try{return ks(e)}catch{return e}};const As=class extends R{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){if(this.hasAttributesProperty("relation"))return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){if(this.hasAttributesProperty("href"))return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}};const Fs=class extends R{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){if(this.hasAttributesProperty("path"))return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}};const Vs=class extends U{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){if(this.hasAttributesProperty("code"))return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}};const Is=class extends U{constructor(e,t,s){super(e,t,s),this.element="comment"}};const Ts=class extends as{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.filter(e=>bs(e,["api"])).first}get results(){return this.filter(e=>bs(e,["result"]))}get result(){return this.results.first}get annotations(){return this.filter(e=>"annotation"===e.element)}get warnings(){return this.filter(e=>"annotation"===e.element&&bs(e,["warning"]))}get errors(){return this.filter(e=>"annotation"===e.element&&bs(e,["error"]))}get isEmpty(){return 0===this.reject(e=>"annotation"===e.element).length}replaceResult(e){const{result:t}=this;if(void 0===t)return!1;const s=this._content,n=s.findIndex(e=>e===t);return-1!==n&&(s[n]=e,!0)}},Rs=e=>e instanceof As,_s=e=>e instanceof Fs,Ns=e=>{if(!cs(e))return e;if(ls(e)||us(e)||hs(e)||ds(e))return e.toValue();const t=new WeakMap,s=e=>{if(!cs(e))return e;if(ps(e)){if(t.has(e))return t.get(e);const n={};return t.set(e,n),e.forEach((e,t)=>{const i=s(t),r=s(e);"string"==typeof i&&(n[i]=r)}),n}if(ms(e)){if(t.has(e))return t.get(e);const n=[];return t.set(e,n),e.forEach(e=>n.push(s(e))),n}return _s(e)?String(e.toValue()):Rs(e)?ls(e.href)?e.href.toValue():"":e.toValue()};return s(e)},Ds=e=>{const t=e.isMetaEmpty?void 0:Ms(e.meta),s=e.isAttributesEmpty?void 0:Ms(e.attributes);return new e.constructor(void 0,t,s)},Js=(e,t)=>t.clone&&t.isMergeableElement(e)?Us(Ds(e),e,t):e,Ls={clone:!0,isMergeableElement:e=>ps(e)||ms(e),arrayElementMerge:(e,t,s)=>new(0,e.constructor)(e.concat(t).map(e=>Js(e,s))),objectElementMerge:(e,t,s)=>{const n=ps(e)?Ds(e):Ds(t);return ps(e)&&e.forEach((e,t,i)=>{const r=ks(i);r.value=Js(e,s),n.content.push(r)}),t.forEach((t,i,r)=>{const o=Ns(i);let a;if(ps(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);a=ks(r),a.value=((e,t)=>{if("function"!=typeof t.customMerge)return Us;const s=t.customMerge(e,t);return"function"==typeof s?s:Us})(i,s)(n,t,s)}else a=ks(r),a.value=Js(t,s);n.remove(o),n.content.push(a)}),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},Us=(e,t,s)=>{const n={...Ls,...s};n.isMergeableElement=n.isMergeableElement??Ls.isMergeableElement,n.arrayElementMerge=n.arrayElementMerge??Ls.arrayElementMerge,n.objectElementMerge=n.objectElementMerge??Ls.objectElementMerge;const i=ms(t);if(!(i===ms(e)))return Js(t,n);const r=i&&"function"==typeof n.arrayElementMerge?n.arrayElementMerge(e,t,n):n.objectElementMerge(e,t,n);return r.meta=(e=>"function"!=typeof e.customMetaMerge?e=>Ms(e):e.customMetaMerge)(n)(e.meta,t.meta),r.attributes=(e=>"function"!=typeof e.customAttributesMerge?e=>Ms(e):e.customAttributesMerge)(n)(e.attributes,t.attributes),r};Us.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new J:e.reduce((e,s)=>Us(e,s,t),Ds(e[0]))};const zs=Us;const Ws=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new J:t.meta,n=e.isMetaEmpty?new J:e.meta;t.meta=zs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new J:t.attributes,n=e.isAttributesEmpty?new J:e.attributes;t.attributes=zs(s,n)}Bs.transfer(e,t)}};const Ks=class extends Ws{enter(e){this.element=Ms(e.node),e.stop()}};const Hs=r(function(e){return function(){return e}});const Gs=b(function(e,t){return null==t||t!=t?e:t});const Qs=Hs(void 0);const Zs=A(Qs());const Xs=r(function(e){return St(Je(kt,0,At("length",e)),function(){for(var t=0,s=e.length;t<s;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})});var Ys=r(function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:Pe(e)?[]:ke(e)?"":tt(e)?{}:E(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 en=Ys;const tn=r(function(e){return null!=e&&A(e,en(e))});const sn=r(function(e){return!tn(e)});const nn=b(function(e,t){return e||t});const rn=St(1,jt($t,b(function(e,t){return ht(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:wt(nn)(e,t)})(Ct,Tt)));var on=qt(rn);const an=Xs([Jt,on,sn]);const cn=b(function(e,t){for(var s={},n=0;n<e.length;)e[n]in t&&(s[e[n]]=t[e[n]]),n+=1;return s});class ln{node;key;index;parent;parentPath;inList;#e=!1;#t=!1;#s=!1;#n=!1;#i;#r=!1;constructor(e,t,s,n,i){this.node=e,this.parent=t,this.parentPath=s,this.key=n,this.index=i&&"number"==typeof n?n:void 0,this.inList=i}get shouldSkip(){return this.#e}get shouldStop(){return this.#t}get removed(){return this.#s}isRoot(){return null===this.parentPath}get depth(){let e=0,t=this.parentPath;for(;null!==t;)e+=1,t=t.parentPath;return e}getAncestry(){const e=[];let t=this.parentPath;for(;null!==t;)e.push(t),t=t.parentPath;return e}getAncestorNodes(){return this.getAncestry().map(e=>e.node)}getPathKeys(){const e=[];let t=this;for(;null!==t&&void 0!==t.key;)e.unshift(t.key),t=t.parentPath;return e}findParent(e){let t=this.parentPath;for(;null!==t;){if(e(t))return t;t=t.parentPath}return null}find(e){return e(this)?this:this.findParent(e)}skip(){this.#e=!0}stop(){this.#t=!0}replaceWith(e){this.#r&&console.warn("Warning: replaceWith() called on a stale Path. This path belongs to a node whose visit has already completed. The replacement will have no effect. To replace a parent node, do so from the parent's own visitor."),this.#n=!0,this.#i=e,this.node=e}remove(){this.#r&&console.warn("Warning: remove() called on a stale Path. This path belongs to a node whose visit has already completed. The removal will have no effect. To remove a parent node, do so from the parent's own visitor."),this.#s=!0}_getReplacementNode(){return this.#i}_wasReplaced(){return this.#n}_reset(){this.#e=!1,this.#t=!1,this.#s=!1,this.#n=!1,this.#i=void 0}_markStale(){this.#r=!0}}const un=St(1,jt(rn,We(ut,A("[object Promise]")))),dn=e=>{const t=e?.element;return void 0===t||"element"===t?"Element":`${t.charAt(0).toUpperCase()}${t.slice(1)}Element`},hn=e=>cs(e),mn=e=>ks(e),pn=(e,t,s)=>{gs(e)?e.value=s:Array.isArray(e)?e[t]=null===s?void 0:s:null===s?delete e[t]:e[t]=s},gn=e=>gs(e)?["key","value"]:ms(e)||ps(e)?["content"]:[],fn=(e,t)=>{if(void 0!==e[t])return e[t];const s=t.length;for(const n in e){if(!n.includes("|"))continue;const i=n.indexOf(t);if(-1===i)continue;const r=0===i||"|"===n[i-1],o=i+s===n.length||"|"===n[i+s];if(r&&o)return e[n]}},bn=(e,t,s)=>{if(void 0===t)return null;const n=e,i=s?"leave":"enter",r=fn(n,t);if(!s&&"function"==typeof r)return r;if(null!=r){const e=r[i];if("function"==typeof e)return e}const o=n[i];if("function"==typeof o)return o;if(null!=o){const e=fn(o,t);if("function"==typeof e)return e}return null},vn=(e,t={})=>{const{visitFnGetter:s=bn,nodeTypeGetter:n=dn,exposeEdits:i=!1}=t,r=Symbol("internal-skip"),o=Symbol("break"),a=new Array(e.length).fill(r);return{enter(t){let c=t.node,l=!1;for(let u=0;u<e.length;u+=1)if(a[u]===r){const r=s(e[u],n(c),!1);if("function"==typeof r){const s=Sn(t,c),n=r.call(e[u],s);if(un(n))throw new Es("Async visitor not supported in sync mode",{visitor:e[u],visitFn:r});if(s.shouldStop){a[u]=o;break}if(s.shouldSkip&&(a[u]=c),s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();if(!i)return t.replaceWith(e),e;c=e,l=!0}else if(void 0!==n){if(!i)return t.replaceWith(n),n;c=n,l=!0}}}if(l)return t.replaceWith(c),c},leave(t){const i=t.node;for(let c=0;c<e.length;c+=1)if(a[c]===r){const r=s(e[c],n(i),!0);if("function"==typeof r){const s=Sn(t,i),n=r.call(e[c],s);if(un(n))throw new Es("Async visitor not supported in sync mode",{visitor:e[c],visitFn:r});if(s.shouldStop){a[c]=o;break}if(s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();return t.replaceWith(e),e}if(void 0!==n)return t.replaceWith(n),n}}else a[c]===i&&(a[c]=r)}}},yn=(e,t={})=>{const{visitFnGetter:s=bn,nodeTypeGetter:n=dn,exposeEdits:i=!1}=t,r=Symbol("internal-skip"),o=Symbol("break"),a=new Array(e.length).fill(r);return{async enter(t){let c=t.node,l=!1;for(let u=0;u<e.length;u+=1)if(a[u]===r){const r=s(e[u],n(c),!1);if("function"==typeof r){const s=Sn(t,c),n=await r.call(e[u],s);if(s.shouldStop){a[u]=o;break}if(s.shouldSkip&&(a[u]=c),s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();if(!i)return t.replaceWith(e),e;c=e,l=!0}else if(void 0!==n){if(!i)return t.replaceWith(n),n;c=n,l=!0}}}if(l)return t.replaceWith(c),c},async leave(t){const i=t.node;for(let c=0;c<e.length;c+=1)if(a[c]===r){const r=s(e[c],n(i),!0);if("function"==typeof r){const s=Sn(t,i),n=await r.call(e[c],s);if(s.shouldStop){a[c]=o;break}if(s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();return t.replaceWith(e),e}if(void 0!==n)return t.replaceWith(n),n}}else a[c]===i&&(a[c]=r)}}};function Sn(e,t){return new ln(t,e.parent,e.parentPath,e.key,e.inList)}function*xn(e,t,s){const{keyMap:n,state:i,nodeTypeGetter:r,nodePredicate:o,nodeCloneFn:a,detectCycles:c,mutable:l,mutationFn:u}=s,d="function"==typeof n;let h,m,p=Array.isArray(e),g=[e],f=-1,b=[],v=e,y=null,S=null;const x=[];do{f+=1;const e=f===g.length;let s;const B=e&&0!==b.length;if(e){if(s=0===x.length?void 0:y?.key,v=m,m=x.pop(),S=y?.parentPath?.parentPath??null,B)if(l)for(const[e,t]of b)u(v,e,t);else if(p){v=v.slice();let e=0;for(const[t,s]of b){const n=t-e;null===s?(v.splice(n,1),e+=1):v[n]=s}}else{v=a(v);for(const[e,t]of b)v[e]=t}if(void 0!==h){f=h.index,g=h.keys,b=h.edits;const e=h.inArray;if(S=h.parentPath,h=h.prev,B&&!l){const t=e?f:g[f];b.push([t,v])}p=e}}else if(void 0!==m&&(s=p?f:g[f],v=m[s],void 0===v))continue;if(!Array.isArray(v)){if(!o(v))throw new Es(`Invalid AST Node: ${String(v)}`,{node:v});if(c&&x.includes(v))continue;y=new ln(v,m,S,s,p);const n=bn(t,r(v),e);if(n){for(const[e,s]of Object.entries(i))t[e]=s;const r=yield{visitFn:n,path:y,isLeaving:e};if(y.shouldStop)break;if(y.shouldSkip&&!e)continue;if(y.removed){if(b.push([s,null]),!e)continue}else if(y._wasReplaced()){const t=y._getReplacementNode();if(b.push([s,t]),!e){if(!o(t))continue;v=t}}else if(void 0!==r&&(b.push([s,r]),!e)){if(!o(r))continue;v=r}y._markStale()}}if(!e){if(h={inArray:p,index:f,keys:g,edits:b,parentPath:S,prev:h},p=Array.isArray(v),p)g=v;else if(d)g=n(v);else{const e=r(v);g=void 0!==e?n[e]??[]:[]}f=-1,b=[],void 0!==m&&x.push(m),m=v,S=y}}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:e}vn[Symbol.for("nodejs.util.promisify.custom")]=yn;const Bn=(e,t,s={})=>{const n=xn(e,t,{keyMap:s.keyMap??gn,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??dn,nodePredicate:s.nodePredicate??hn,nodeCloneFn:s.nodeCloneFn??mn,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??pn});let i=n.next();for(;!i.done;){const e=i.value,s=e.visitFn.call(t,e.path);if(un(s))throw new Es("Async visitor not supported in sync mode",{visitor:t,visitFn:e.visitFn});i=n.next(s)}return i.value},En=async(e,t,s={})=>{const n=xn(e,t,{keyMap:s.keyMap??gn,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??dn,nodePredicate:s.nodePredicate??hn,nodeCloneFn:s.nodeCloneFn??mn,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??pn});let i=n.next();for(;!i.done;){const e=i.value,s=await e.visitFn.call(t,e.path);i=n.next(s)}return i.value};Bn[Symbol.for("nodejs.util.promisify.custom")]=En,ln.prototype.traverse=function(e,t){return Bn(this.node,e,t)},ln.prototype.traverseAsync=function(e,t){return En(this.node,e,t)};const wn=class extends Ws{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return cn(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=$e(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return dt(Tt,["visitors",...e],this.specObj)?$e(["visitors",...e],this.specObj):$e(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof Ks&&n?.constructor===Ks?Ms(t):(Bn(t,n,s),n.element)}};const jn=class extends wn{specPath;ignoredFields;constructor({specPath:e,ignoredFields:t,...s}){super({...s}),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const t=e.node,s=this.specPath(t),n=this.retrieveFixedFields(s);t.forEach((e,t,i)=>{const r=Ns(t);if(ls(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new D(Ms(t),n);this.copyMetaAndAttributes(i,o),o.classes.push("fixed-field"),this.element.content.push(o)}else this.ignoredFields.includes(r)||this.element.content.push(Ms(i))}),this.copyMetaAndAttributes(t,this.element),e.stop()}},On=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},qn=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:qn(s,[...t,s])},$n=(e,t,s=[])=>{var n;const i=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map(e=>qn(e));for(;s.every(e=>e.length>0);){const e=s.map(e=>e.pop()),n=e[0];if(!e.every(e=>e===n))break;t=n}return t})(...e))&&void 0!==n?n:Object.prototype,r=Object.create(i),o=qn(i);for(let t of e){let e=qn(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(On(r,n,["constructor",...s]),o.push(n))}}return r.constructor=t,r},Mn=e=>e.filter((t,s)=>e.indexOf(t)==s),Cn=(e,t)=>{const s=t.map(e=>qn(e));let n=0,i=!0;for(;i;){i=!1;for(let r=t.length-1;r>=0;r--){const t=s[r][n];if(null!=t&&(i=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[r][0]}n++}},Pn=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,s)=>Object.getOwnPropertyDescriptor(Cn(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==Cn(n,e)||void 0!==t[n],get:(s,n)=>(Cn(n,e)||t)[n],set(t,s,n){const i=Cn(s,e);if(void 0===i)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return i[s]=n,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce((e,t)=>t.concat(e.filter(e=>t.indexOf(e)<0)))}),kn=null,An="copy",Fn="copy",Vn="deep",In=new WeakMap,Tn=e=>In.get(e),Rn=(e,t)=>{var s,n;const i=Mn([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),r={};for(let o of i)r[o]=Mn([...null!==(s=null==e?void 0:e[o])&&void 0!==s?s:[],...null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[]]);return r},_n=(e,t)=>{var s,n,i,r;return{property:Rn(null!==(s=null==e?void 0:e.property)&&void 0!==s?s:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:Rn(null!==(i=null==e?void 0:e.method)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.method)&&void 0!==r?r:{})}},Nn=(e,t)=>{var s,n,i,r,o,a;return{class:Mn([...null!==(s=null==e?void 0:e.class)&&void 0!==s?s:[],...null!==(n=null==t?void 0:t.class)&&void 0!==n?n:[]]),static:_n(null!==(i=null==e?void 0:e.static)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.static)&&void 0!==r?r:{}),instance:_n(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(a=null==t?void 0:t.instance)&&void 0!==a?a:{})}},Dn=new Map,Jn=(...e)=>{const t=((...e)=>{var t;const s=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const i=[...qn(e.prototype).map(e=>e.constructor),...null!==(t=Tn(e))&&void 0!==t?t:[]].filter(e=>!s.has(e));for(let e of i)n.add(e);s.add(e),n.delete(e)}return[...s]})(...e).map(e=>Dn.get(e)).filter(e=>!!e);return 0==t.length?{}:1==t.length?t[0]:t.reduce((e,t)=>Nn(e,t))},Ln=e=>{let t=Dn.get(e);return t||(t={},Dn.set(e,t)),t};function Un(...e){var t,s,n;const i=e.map(e=>e.prototype),r=kn;if(null!==r){const e=i.map(e=>e[r]).filter(e=>"function"==typeof e),t=function(...t){for(let s of e)s.apply(this,t)},s={[r]:t};i.push(s)}function o(...t){for(const s of e)On(this,new s(...t));null!==r&&"function"==typeof this[r]&&this[r].apply(this,t)}var a,c;o.prototype="copy"===Fn?$n(i,o):(a=i,c=o,Pn([...a,{constructor:c}])),Object.setPrototypeOf(o,"copy"===An?$n(e,null,["prototype"]):Pn(e,Function.prototype));let l=o;if("none"!==Vn){const i="deep"===Vn?Jn(...e):((...e)=>{const t=e.map(e=>Ln(e));return 0===t.length?{}:1===t.length?t[0]:t.reduce((e,t)=>Nn(e,t))})(...e);for(let e of null!==(t=null==i?void 0:i.class)&&void 0!==t?t:[]){const t=e(l);t&&(l=t)}zn(null!==(s=null==i?void 0:i.static)&&void 0!==s?s:{},l),zn(null!==(n=null==i?void 0:i.instance)&&void 0!==n?n:{},l.prototype)}var u,d;return u=l,d=e,In.set(u,d),l}const zn=(e,t)=>{const s=e.property,n=e.method;if(s)for(let e in s)for(let n of s[e])n(t,e);if(n)for(let e in n)for(let s of n[e])s(t,e,Object.getOwnPropertyDescriptor(t,e))};const Wn=function(){return!1};const Kn=class extends wn{specPath;ignoredFields;fieldPatternPredicate=Wn;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,...n}){super({...n}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s)}ObjectElement(e){const t=e.node;t.forEach((e,t,s)=>{const n=Ns(t);if(!this.ignoredFields.includes(n)&&this.fieldPatternPredicate(n)){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new D(Ms(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(n)||this.element.content.push(Ms(s))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Hn=class extends Kn{constructor(e){super(e),this.fieldPatternPredicate=an}};const Gn=class{parent;constructor({parent:e}){this.parent=e}},Qn=Un(jn,Gn,Ks),Zn=Un(jn,Ks),Xn=Un(jn,Ks),Yn=Un(jn,Ks),ei=Un(wn,Gn,Ks),ti=Un(wn,Gn,Ks),si=Un(wn,Gn,Ks),ni=Un(wn,Gn,Ks),ii=Un(wn,Gn,Ks),ri=Un(Hn,Gn,Ks),oi=Un(Hn,Gn,Ks),ai=Un(Hn,Gn,Ks),ci=Un(Hn,Gn,Ks);const li=class extends Qn{constructor(e){super(e),this.element=new es,this.specPath=Hs(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(e){const t=e.node;return this.handleDialectIdentifier(t),this.handleSchemaIdentifier(t),this.parent=this.element,jn.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(Zs(this.parent)&&!ls(e.get("$schema")))this.element.meta.set("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(this.parent instanceof es&&!ls(e.get("$schema"))){const e=Gs(Ns(this.parent.meta.get("inheritedDialectIdentifier")),Ns(this.parent.$schema));this.element.meta.set("inheritedDialectIdentifier",e)}}handleSchemaIdentifier(e,t="id"){const s=void 0!==this.parent?Ms(this.parent.meta.get("ancestorsSchemaIdentifiers")??new as):new as,n=Ns(e.get(t));an(n)&&s.push(n),this.element.meta.set("ancestorsSchemaIdentifiers",s)}},ui=e=>ps(e)&&e.hasKey("$ref");const di=class extends ni{ObjectElement(e){const t=e.node,s=ui(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];this.element=this.toRefractedElement(s,t),e.stop()}ArrayElement(e){const t=e.node;this.element=new as,this.element.classes.push("json-schema-items"),t.forEach(e=>{const t=ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const hi=class extends Ks{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-required")}};const mi=class extends ci{constructor(e){super(e),this.element=new J,this.element.classes.push("json-schema-properties"),this.specPath=e=>ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const pi=class extends ai{constructor(e){super(e),this.element=new J,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const gi=class extends oi{constructor(e){super(e),this.element=new J,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const fi=class extends Ks{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-enum")}};const bi=class extends Ks{StringElement(e){super.enter(e),this.element.classes.push("json-schema-type")}ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-type")}};const vi=class extends ei{constructor(e){super(e),this.element=new as,this.element.classes.push("json-schema-allOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const yi=class extends ti{constructor(e){super(e),this.element=new as,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Si=class extends si{constructor(e){super(e),this.element=new as,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const xi=class extends ri{constructor(e){super(e),this.element=new J,this.element.classes.push("json-schema-definitions"),this.specPath=e=>ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const Bi=class extends ii{constructor(e){super(e),this.element=new as,this.element.classes.push("json-schema-links")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ei=class extends Zn{constructor(e){super(e),this.element=new ts,this.specPath=Hs(["document","objects","JSONReference"])}ObjectElement(e){jn.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&this.element.classes.push("reference-element")}};const wi=class extends Ks{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const ji=function(){return!0};const Oi=Be(function(e,t,s){return St(Math.max(e.length,t.length,s.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)})});const qi=r(function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}});var $i=b(function(e,t){return Array.prototype.slice.call(t,0).sort(e)});const Mi=$i;const Ci=r(function(e){return o(0,e)});function Pi(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const ki=r(Pi);const Ai=qt(be);const Fi=St(1,Tt(Array.isArray)?Array.isArray:We(C,He("Array")));const Vi=jt(Fi,sn);function Ii(e){return function(e){if(Array.isArray(e))return Ti(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ti(e,t);var s={}.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?Ti(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=Array(t);s<t;s++)n[s]=e[s];return n}var Ri=We(Mi(qi(function(e,t){return e.length>t.length})),Ci,je("length")),_i=Lt(function(e,t,s){var n=s.apply(void 0,Ii(e));return Ai(n)?ki(n):t});const Ni=Oi(Vi,function(e){var t=Ri(e);return St(t,function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return Je(_i(s),void 0,e)})},Qs);const Di=class extends wn{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>Oi(e,Hs(t),Qs)),n=Ni(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const Ji=class extends Di{constructor(e){super(e),this.alternator=[{predicate:ui,specPath:["document","objects","JSONReference"]},{predicate:ji,specPath:["document","objects","JSONSchema"]}]}};const Li=class extends Yn{constructor(e){super(e),this.element=new ss,this.specPath=Hs(["document","objects","Media"])}};const Ui=class extends Xn{constructor(e){super(e),this.element=new ns,this.specPath=Hs(["document","objects","LinkDescription"])}},zi={visitors:{value:Ks,JSONSchemaOrJSONReferenceVisitor:Ji,document:{objects:{JSONSchema:{element:"jSONSchemaDraft4",$visitor:li,fixedFields:{id:{$visitor:Ks,alias:"idField"},$schema:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},additionalItems:Ji,items:{$visitor:di,alias:"itemsField"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:hi,properties:mi,additionalProperties:Ji,patternProperties:pi,dependencies:gi,enum:fi,type:bi,allOf:vi,anyOf:yi,oneOf:Si,not:Ji,definitions:xi,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:{$visitor:Bi,alias:"linksField"},media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{element:"jSONReference",$visitor:Ei,fixedFields:{$ref:wi}},Media:{element:"media",$visitor:Li,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{element:"linkDescription",$visitor:Ui,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Ji,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Ji}}}}}},Wi=Yt(zi),Ki=e=>Object.entries(e).map(([e,t])=>Dt(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(es,"fixedFields",{get:()=>Ki(Wi.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(ts,"fixedFields",{get:()=>Ki(Wi.visitors.document.objects.JSONReference.fixedFields),enumerable:!0}),Object.defineProperty(ss,"fixedFields",{get:()=>Ki(Wi.visitors.document.objects.Media.fixedFields),enumerable:!0}),Object.defineProperty(ns,"fixedFields",{get:()=>Ki(Wi.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const Hi=class extends es{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idField(){throw new h("id keyword from Core vocabulary has been renamed to $id.")}set idField(e){throw new h("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 containsField(){return this.get("contains")}set containsField(e){this.set("contains",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const Gi=class extends ns{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 h("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new h("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 h("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new h("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new h("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new h("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};var Qi=Be(function e(t,s,n){if(0===t.length)return s;var i=t[0];if(t.length>1){var r=we(i,n);(be(r)||"object"!=typeof r)&&(r=Ee(t[1])?[]:{}),s=e(Array.prototype.slice.call(t,1),s,r)}return function(e,t,s){if(Ee(e)&&Pe(s)){var n=e<0?s.length+e:e,i=[].concat(s);return i[n]=t,i}var r={};for(var o in s)r[o]=s[o];return r[e]=t,r}(i,s,n)});const Zi=Qi;const Xi=Be(function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n});var Yi=Be(function(e,t,s){return Zi([e],t,s)});const er=Yi;var tr=b(function e(t,s){if(null==s)return s;switch(t.length){case 0:return s;case 1:return function(e,t){if(null==t)return t;if(Ee(e)&&Pe(t))return Xi(e,1,t);var s={};for(var n in t)s[n]=t[n];return delete s[e],s}(t[0],s);default:var n=t[0],i=Array.prototype.slice.call(t,1);return null==s[n]?function(e,t){if(Ee(e)&&Pe(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):er(n,e(i,s[n]),s)}});const sr=tr;const nr=class extends li{constructor(e){super(e),this.element=new Hi}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(e){this.enter(e),this.element.classes.push("boolean-json-schema")}handleSchemaIdentifier(e,t="$id"){return super.handleSchemaIdentifier(e,t)}};const ir=class extends di{BooleanElement(e){this.element=this.toRefractedElement(["document","objects","JSONSchema"],e.node),e.stop()}};const rr=class extends Ks{ArrayElement(e){this.enter(e),this.element.classes.push("json-schema-examples")}};const or=class extends Ui{constructor(e){super(e),this.element=new Gi}},ar=We(Zi(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft6"),Zi(["visitors","document","objects","JSONSchema","$visitor"],nr),sr(["visitors","document","objects","JSONSchema","fixedFields","id"]),Zi(["visitors","document","objects","JSONSchema","fixedFields","$id"],{$ref:"#/visitors/value"}),Zi(["visitors","document","objects","JSONSchema","fixedFields","contains"],{$visitor:zi.visitors.JSONSchemaOrJSONReferenceVisitor,alias:"containsField"}),Zi(["visitors","document","objects","JSONSchema","fixedFields","items"],{$visitor:ir,alias:"itemsField"}),Zi(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],zi.visitors.JSONSchemaOrJSONReferenceVisitor),Zi(["visitors","document","objects","JSONSchema","fixedFields","const"],{$ref:"#/visitors/value"}),Zi(["visitors","document","objects","JSONSchema","fixedFields","examples"],rr),Zi(["visitors","document","objects","LinkDescription","$visitor"],or),Zi(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],zi.visitors.JSONSchemaOrJSONReferenceVisitor),sr(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Zi(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],zi.visitors.JSONSchemaOrJSONReferenceVisitor),sr(["visitors","document","objects","LinkDescription","fixedFields","method"]),sr(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Zi(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],{$ref:"#/visitors/value"}))(zi),cr=Yt(ar),lr=e=>Object.entries(e).map(([e,t])=>Dt(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(Hi,"fixedFields",{get:()=>lr(cr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(Gi,"fixedFields",{get:()=>lr(cr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const ur=class extends Hi{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new h('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new h('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const dr=class extends Gi{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){throw new h("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new h("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get submissionEncType(){throw new h("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new h("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}};const hr=class extends nr{constructor(e){super(e),this.element=new ur}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}};const mr=class extends or{constructor(e){super(e),this.element=new dr}},pr=We(Zi(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft7"),Zi(["visitors","document","objects","JSONSchema","$visitor"],hr),Zi(["visitors","document","objects","JSONSchema","fixedFields","$comment"],ar.visitors.value),Zi(["visitors","document","objects","JSONSchema","fixedFields","if"],ar.visitors.JSONSchemaOrJSONReferenceVisitor),Zi(["visitors","document","objects","JSONSchema","fixedFields","then"],ar.visitors.JSONSchemaOrJSONReferenceVisitor),Zi(["visitors","document","objects","JSONSchema","fixedFields","else"],ar.visitors.JSONSchemaOrJSONReferenceVisitor),sr(["visitors","document","objects","JSONSchema","fixedFields","media"]),Zi(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],ar.visitors.value),Zi(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],ar.visitors.value),Zi(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","$visitor"],mr),Zi(["visitors","document","objects","LinkDescription","fixedFields","anchor"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],ar.visitors.value),sr(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Zi(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","description"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","$comment"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],ar.visitors.JSONSchemaOrJSONReferenceVisitor),sr(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Zi(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],ar.visitors.value))(ar),gr=Yt(pr),fr=e=>Object.entries(e).map(([e,t])=>Dt(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(ur,"fixedFields",{get:()=>fr(gr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(dr,"fixedFields",{get:()=>fr(gr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const br=class extends ur{constructor(e,t,s){super(e,t,s),this.element="schema",this.classes.push("json-schema-draft-7")}get not(){return this.get("not")}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get contains(){return this.get("contains")}set contains(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")}};const vr=class extends J{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}};const yr=class extends J{constructor(e,t,s){super(e,t,s),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}};const Sr=class extends J{constructor(e,t,s){super(e,t,s),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get protocol(){return this.get("protocol")}set protocol(e){this.set("protocol",e)}get protocolVersion(){return this.get("protocolVersion")}set protocolVersion(e){this.set("protocolVersion",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const xr=class extends J{constructor(e,t,s){super(e,t,s),this.element="serverBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const Br=class extends J{constructor(e,t,s){super(e,t,s),this.element="servers"}};const Er=class extends J{constructor(e,t,s){super(e,t,s),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const wr=class extends J{constructor(e,t,s){super(e,t,s),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};const jr=class extends as{constructor(e,t,s){super(e,t,s),this.element="tags"}};const Or=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqpChannelBinding",this.classes.push("channel-binding")}get is(){return this.get("is")}set is(e){this.set("is",e)}get exchange(){return this.get("exchange")}set exchange(e){this.set("exchange",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const qr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqpMessageBinding",this.classes.push("message-binding")}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get messageType(){return this.get("messageType")}set messageType(e){this.set("messageType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const $r=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqpOperationBinding",this.classes.push("operation-binding")}get expiration(){return this.get("expiration")}set expiration(e){this.set("expiration",e)}get userId(){return this.get("userId")}set userId(e){this.set("userId",e)}get cc(){return this.get("cc")}set cc(e){this.set("cc",e)}get priority(){return this.get("priority")}set priority(e){this.set("priority",e)}get deliveryMode(){return this.get("deliveryMode")}set deliveryMode(e){this.set("deliveryMode",e)}get mandatory(){return this.get("mandatory")}set mandatory(e){this.set("mandatory",e)}get bcc(){return this.get("bcc")}set bcc(e){this.set("bcc",e)}get replyTo(){return this.get("replyTo")}set replyTo(e){this.set("replyTo",e)}get timestamp(){return this.get("timestamp")}set timestamp(e){this.set("timestamp",e)}get ack(){return this.get("ack")}set ack(e){this.set("ack",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Mr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}};const Cr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}};const Pr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}};const kr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}};const Ar=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}};const Fr=class extends J{constructor(e,t,s){super(e,t,s),this.element="anypointmqChannelBinding",this.classes.push("channel-binding")}get destination(){return this.get("destination")}set destination(e){this.set("destination",e)}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Vr=class extends J{constructor(e,t,s){super(e,t,s),this.element="anypointmqMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Ir=class extends J{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}};const Tr=class extends J{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}};const Rr=class extends J{constructor(e,t,s){super(e,t,s),this.element="googlepubsubChannelBinding",this.classes.push("channel-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get labels(){return this.get("labels")}set labels(e){this.set("labels",e)}get messageRetentionDuration(){return this.get("messageRetentionDuration")}set messageRetentionDuration(e){this.set("messageRetentionDuration",e)}get messageStoragePolicy(){return this.get("messageStoragePolicy")}set messageStoragePolicy(e){this.set("messageStoragePolicy",e)}get schemaSettings(){return this.get("schemaSettings")}set schemaSettings(e){this.set("schemaSettings",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}};const _r=class extends J{constructor(e,t,s){super(e,t,s),this.element="googlepubsubMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get attributesField(){return this.get("attributes")}set attributesField(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 Nr=class extends J{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}};const Dr=class extends J{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}};const Jr=class extends J{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}};const Lr=class extends J{constructor(e,t,s){super(e,t,s),this.element="httpMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Ur=class extends J{constructor(e,t,s){super(e,t,s),this.element="httpOperationBinding",this.classes.push("operation-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const zr=class extends J{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}};const Wr=class extends J{constructor(e,t,s){super(e,t,s),this.element="ibmmqChannelBinding",this.classes.push("channel-binding")}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get maxMsgLength(){return this.get("maxMsgLength")}set maxMsgLength(e){this.set("maxMsgLength",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Kr=class extends J{constructor(e,t,s){super(e,t,s),this.element="ibmmqMessageBinding",this.classes.push("message-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get expiry(){return this.get("expiry")}set expiry(e){this.set("expiry",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Hr=class extends J{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}};const Gr=class extends J{constructor(e,t,s){super(e,t,s),this.element="ibmmqServerBinding",this.classes.push("server-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get ccdtQueueManagerName(){return this.get("ccdtQueueManagerName")}set ccdtQueueManagerName(e){this.set("ccdtQueueManagerName",e)}get cipherSpec(){return this.get("cipherSpec")}set cipherSpec(e){this.set("cipherSpec",e)}get multiEndpointServer(){return this.get("multiEndpointServer")}set multiEndpointServer(e){this.set("multiEndpointServer",e)}get heartBeatInterval(){return this.get("heartBeatInterval")}set heartBeatInterval(e){this.set("heartBeatInterval",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Qr=class extends J{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}};const Zr=class extends J{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}};const Xr=class extends J{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}};const Yr=class extends J{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}};const eo=class extends J{constructor(e,t,s){super(e,t,s),this.element="kafkaChannelBinding",this.classes.push("channel-binding")}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get partitions(){return this.get("partitions")}set partitions(e){this.set("partitions",e)}get replicas(){return this.get("replicas")}set replicas(e){this.set("replicas",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const to=class extends J{constructor(e,t,s){super(e,t,s),this.element="kafkaMessageBinding",this.classes.push("message-binding")}get key(){return this.get("key")}set key(e){this.set("key",e)}get schemaIdLocation(){return this.get("schemaIdLocation")}set schemaIdLocation(e){this.set("schemaIdLocation",e)}get schemaIdPayloadEncoding(){return this.get("schemaIdPayloadEncoding")}set schemaIdPayloadEncoding(e){this.set("schemaIdPayloadEncoding",e)}get schemaLookupStrategy(){return this.get("schemaLookupStrategy")}set schemaLookupStrategy(e){this.set("schemaLookupStrategy",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const so=class extends J{constructor(e,t,s){super(e,t,s),this.element="kafkaOperationBinding",this.classes.push("operation-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const no=class extends J{constructor(e,t,s){super(e,t,s),this.element="kafkaServerBinding",this.classes.push("server-binding")}get schemaRegistryUrl(){return this.get("schemaRegistryUrl")}set schemaRegistryUrl(e){this.set("schemaRegistryUrl",e)}get schemaRegistryVendor(){return this.get("schemaRegistryVendor")}set schemaRegistryVendor(e){this.set("schemaRegistryVendor",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const io=class extends J{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}};const ro=class extends J{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}};const oo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}};const ao=class extends J{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}};const co=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}};const lo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const uo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqttOperationBinding",this.classes.push("operation-binding")}get qos(){return this.get("qos")}set qos(e){this.set("qos",e)}get retain(){return this.get("retain")}set retain(e){this.set("retain",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const ho=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqttServerBinding",this.classes.push("server-binding")}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get cleanSession(){return this.get("cleanSession")}set cleanSession(e){this.set("cleanSession",e)}get lastWill(){return this.get("lastWill")}set lastWill(e){this.set("lastWill",e)}get keepAlive(){return this.get("keepAlive")}set keepAlive(e){this.set("keepAlive",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const mo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}};const po=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}};const go=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}};const fo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}};const bo=class extends J{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}};const vo=class extends J{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}};const yo=class extends J{constructor(e,t,s){super(e,t,s),this.element="natsOperationBinding",this.classes.push("operation-binding")}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const So=class extends J{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}};const xo=class extends J{constructor(e,t,s){super(e,t,s),this.element="pulsarChannelBinding",this.classes.push("channel-binding")}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get persistence(){return this.get("persistence")}set persistence(e){this.set("persistence",e)}get compaction(){return this.get("compaction")}set compaction(e){this.set("compaction",e)}get"geo-replication"(){return this.get("geo-replication")}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 Bo=class extends J{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}};const Eo=class extends J{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}};const wo=class extends J{constructor(e,t,s){super(e,t,s),this.element="pulsarServerBinding",this.classes.push("server-binding")}get tenant(){return this.get("tenant")}set tenant(e){this.set("tenant",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const jo=class extends J{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}};const Oo=class extends J{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}};const qo=class extends J{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}};const $o=class extends J{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}};const Mo=class extends J{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}};const Co=class extends J{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}};const Po=class extends J{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}};const ko=class extends J{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}};const Ao=class extends J{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}};const Fo=class extends J{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}};const Vo=class extends J{constructor(e,t,s){super(e,t,s),this.element="solaceOperationBinding",this.classes.push("operation-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get destinations(){return this.get("destinations")}set destinations(e){this.set("destinations",e)}};const Io=class extends J{constructor(e,t,s){super(e,t,s),this.element="solaceServerBinding",this.classes.push("server-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get msgVpn(){return this.get("msgVpn")}set msgVpn(e){this.set("msgVpn",e)}};const To=class extends J{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}};const Ro=class extends J{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}};const _o=class extends J{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}};const No=class extends J{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}};const Do=class extends J{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}};const Jo=class extends J{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}};const Lo=class extends J{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}};const Uo=class extends J{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}};const zo=class extends J{constructor(e,t,s){super(e,t,s),this.element="webSocketChannelBinding",this.classes.push("channel-binding")}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Wo=class extends J{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}};const Ko=class extends J{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}};const Ho=class extends J{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}},Go={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",L),t.register("asyncApiVersion",z),t.register("channelBindings",W),t.register("channelItem",K),t.register("channels",H),t.register("components",G),t.register("contact",Q),t.register("correlationID",Z),t.register("defaultContentType",X),t.register("externalDocumentation",Y),t.register("identifier",ee),t.register("info",te),t.register("license",se),t.register("message",ne),t.register("messageBindings",ie),t.register("messageExample",re),t.register("messageTrait",oe),t.register("oAuthFlow",ae),t.register("oAuthFlows",ce),t.register("operation",le),t.register("operationBindings",ue),t.register("operationTrait",de),t.register("parameter",he),t.register("parameters",me),t.register("reference",pe),t.register("schema",br),t.register("securityRequirement",vr),t.register("securityScheme",yr),t.register("server",Sr),t.register("serverBindings",xr),t.register("servers",Br),t.register("serverVariable",Er),t.register("tag",wr),t.register("tags",jr),t.register("amqpChannelBinding",Or),t.register("amqpMessageBinding",qr),t.register("amqpOperationBinding",$r),t.register("amqpServerBinding",Mr),t.register("amqp1ChannelBinding",Cr),t.register("amqp1MessageBinding",Pr),t.register("amqp1OperationBinding",kr),t.register("amqp1ServerBinding",Ar),t.register("anypointmqChannelBinding",Fr),t.register("anypointmqMessageBinding",Vr),t.register("anypointmqOperationBinding",Ir),t.register("anypointmqServerBinding",Tr),t.register("googlepubsubChannelBinding",Rr),t.register("googlepubsubMessageBinding",_r),t.register("googlepubsubOperationBinding",Nr),t.register("googlepubsubServerBinding",Dr),t.register("httpChannelBinding",Jr),t.register("httpMessageBinding",Lr),t.register("httpOperationBinding",Ur),t.register("httpServerBinding",zr),t.register("ibmmqChannelBinding",Wr),t.register("ibmmqMessageBinding",Kr),t.register("ibmmqOperationBinding",Hr),t.register("ibmmqServerBinding",Gr),t.register("jmsChannelBinding",Qr),t.register("jmsMessageBinding",Zr),t.register("jmsOperationBinding",Xr),t.register("jmsServerBinding",Yr),t.register("kafkaChannelBinding",eo),t.register("kafkaMessageBinding",to),t.register("kafkaOperationBinding",so),t.register("kafkaServerBinding",no),t.register("mercureChannelBinding",io),t.register("mercureMessageBinding",ro),t.register("mercureOperationBinding",oo),t.register("mercureServerBinding",ao),t.register("mqttChannelBinding",co),t.register("mqttMessageBinding",lo),t.register("mqttOperationBinding",uo),t.register("mqttServerBinding",ho),t.register("mqtt5ChannelBinding",mo),t.register("mqtt5MessageBinding",po),t.register("mqtt5OperationBinding",go),t.register("mqtt5ServerBinding",fo),t.register("natsChannelBinding",bo),t.register("natsMessageBinding",vo),t.register("natsOperationBinding",yo),t.register("natsServerBinding",So),t.register("pulsarChannelBinding",xo),t.register("pulsarMessageBinding",Bo),t.register("pulsarOperationBinding",Eo),t.register("pulsarServerBinding",wo),t.register("redisChannelBinding",jo),t.register("redisMessageBinding",Oo),t.register("redisOperationBinding",qo),t.register("redisServerBinding",$o),t.register("snsChannelBinding",Mo),t.register("snsMessageBinding",Co),t.register("snsOperationBinding",Po),t.register("snsServerBinding",ko),t.register("solaceChannelBinding",Ao),t.register("solaceMessageBinding",Fo),t.register("solaceOperationBinding",Vo),t.register("solaceServerBinding",Io),t.register("sqsChannelBinding",To),t.register("sqsMessageBinding",Ro),t.register("sqsOperationBinding",_o),t.register("sqsServerBinding",No),t.register("stompChannelBinding",Do),t.register("stompMessageBinding",Jo),t.register("stompOperationBinding",Lo),t.register("stompServerBinding",Uo),t.register("webSocketChannelBinding",zo),t.register("webSocketMessageBinding",Wo),t.register("webSocketOperationBinding",Ko),t.register("webSocketServerBinding",Ho),t}};class Qo extends J{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(Qo.primaryClass)}}const Zo=Qo;class Xo extends J{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Xo.primaryClass)}}const Yo=Xo;class ea extends J{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(ea.primaryClass)}}const ta=ea;class sa extends J{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(sa.primaryClass)}}const na=sa;class ia extends J{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(ia.primaryClass)}}const ra=ia;class oa extends J{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(oa.primaryClass)}}const aa=oa;class ca extends J{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(ca.primaryClass)}}const la=ca;class ua extends J{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(ua.primaryClass)}}const da=ua;class ha extends J{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(ha.primaryClass)}}const ma=ha;class pa extends J{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(pa.primaryClass)}}const ga=pa;class fa extends J{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(fa.primaryClass)}}const ba=fa;class va extends J{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(va.primaryClass)}}const ya=va;class Sa extends J{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Sa.primaryClass)}}const xa=Sa;class Ba extends J{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Ba.primaryClass)}}const Ea=Ba;class wa extends as{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(wa.primaryClass)}}const ja=wa;class Oa extends J{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Oa.primaryClass)}}const qa=Oa;class $a extends as{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push($a.primaryClass)}}const Ma=$a;class Ca extends as{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ca.primaryClass)}}const Pa=Ca;class ka extends J{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(ka.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const Aa=ka;class Fa extends as{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(Fa.primaryClass)}}const Va=Fa;class Ia extends as{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ia.primaryClass)}}const Ta=Ia;class Ra extends as{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ra.primaryClass)}}const _a=Ra;class Na extends as{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Na.primaryClass)}}const Da=Na;class Ja extends as{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Ja.primaryClass)}}const La=Ja;class Ua extends as{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Ua.primaryClass)}}const za=Ua,Wa={AsyncApi2Element:{asyncapi:(...e)=>new z(...e),identifier:(...e)=>new ee(...e),info:(...e)=>new te(...e),servers:(...e)=>new Br(...e),defaultContentType:(...e)=>new X(...e),channels:(...e)=>new H(...e),components:(...e)=>new G(...e),tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e)},InfoElement:{contact:(...e)=>new Q(...e),license:(...e)=>new se(...e)},ServersElement:{"[key: *]":function(...e){return new Sr(...e)}},ServerElement:{variables:(...e)=>new Ea(...e),security:(...e)=>new Pa(...e),tags:(...e)=>new jr(...e),bindings:(...e)=>new xr(...e)},ServerVariableElement:{enum:(...e)=>new as(...e),examples:(...e)=>new as(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new as(...e)}},ChannelsElement:{"[key: *]":function(...e){return new K(...e)}},ChannelItemElement:{servers:(...e)=>new ja(...e),subscribe:(...e)=>new le(...e),publish:(...e)=>new le(...e),parameters:(...e)=>new he(...e),bindings:(...e)=>new W(...e)},OperationElement:{tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e),bindings:(...e)=>new ue(...e),traits:(...e)=>new Ma(...e),message:(...e)=>new ne(...e)},ComponentsElement:{schemas:(...e)=>new Zo(...e),servers:(...e)=>new Yo(...e),serverVariables:(...e)=>new ta(...e),messages:(...e)=>new na(...e),securitySchemes:(...e)=>new ra(...e),parameters:(...e)=>new aa(...e),correlationIds:(...e)=>new la(...e),operationTraits:(...e)=>new da(...e),messageTraits:(...e)=>new ma(...e),serverBindings:(...e)=>new ga(...e),channelBindings:(...e)=>new ba(...e),operationBindings:(...e)=>new ya(...e),messageBindings:(...e)=>new xa(...e)},TagElement:{externalDocs:(...e)=>new Y(...e)},MessageElement:{headers:(...e)=>new br(...e),correlationId:(...e)=>new Z(...e),tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new as(...e),traits:(...e)=>new as(...e),payload(...e){const{context:t}=this,s=Gs(f.latest(),Ns(t.schemaFormat));return f.includes(s)?new br(...e):new J(...e)}},SecuritySchemeElement:{flows:(...e)=>new ce(...e)},OAuthFlowsElement:{implicit:(...e)=>new ae(...e),password:(...e)=>new ae(...e),clientCredentials:(...e)=>new ae(...e),authorizationCode:(...e)=>new ae(...e)},OAuthFlow:{scopes:(...e)=>new qa(...e)},ParametersElement:{"[key: *]":function(...e){return new he(...e)}},ParameterElement:{schema:(...e)=>new br(...e)},OperationTraitElement:{tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e),bindings:(...e)=>new ue(...e)},MessageTraitElement:{headers:(...e)=>new br(...e),correlationId:(...e)=>new Z(...e),tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new as(...e)},MessageExampleElement:{headers:(...e)=>new J(...e)},OperationBindingsElement:{http:(...e)=>new Ur(...e),ws:(...e)=>new Ko(...e),kafka:(...e)=>new so(...e),anypointmq:(...e)=>new Ir(...e),amqp:(...e)=>new $r(...e),amqp1:(...e)=>new kr(...e),mqtt:(...e)=>new uo(...e),mqtt5:(...e)=>new go(...e),nats:(...e)=>new yo(...e),jms:(...e)=>new Xr(...e),sns:(...e)=>new Po(...e),solace:(...e)=>new Vo(...e),sqs:(...e)=>new _o(...e),stomp:(...e)=>new Lo(...e),redis:(...e)=>new qo(...e),mercure:(...e)=>new oo(...e),googlepubsub:(...e)=>new Nr(...e),ibmmq:(...e)=>new Hr(...e),pulsar:(...e)=>new Eo(...e)},MessageBindingsElement:{http:(...e)=>new Lr(...e),ws:(...e)=>new Wo(...e),kafka:(...e)=>new to(...e),anypointmq:(...e)=>new Vr(...e),amqp:(...e)=>new qr(...e),amqp1:(...e)=>new Pr(...e),mqtt:(...e)=>new lo(...e),mqtt5:(...e)=>new po(...e),nats:(...e)=>new vo(...e),jms:(...e)=>new Zr(...e),sns:(...e)=>new Co(...e),solace:(...e)=>new Fo(...e),sqs:(...e)=>new Ro(...e),stomp:(...e)=>new Jo(...e),redis:(...e)=>new Oo(...e),mercure:(...e)=>new ro(...e),ibmmq:(...e)=>new Kr(...e),googlepubsub:(...e)=>new _r(...e),pulsar:(...e)=>new Bo(...e)},ServerBindingsElement:{http:(...e)=>new zr(...e),ws:(...e)=>new Ho(...e),kafka:(...e)=>new no(...e),anypointmq:(...e)=>new Tr(...e),amqp:(...e)=>new Mr(...e),amqp1:(...e)=>new Ar(...e),mqtt:(...e)=>new ho(...e),mqtt5:(...e)=>new fo(...e),nats:(...e)=>new So(...e),jms:(...e)=>new Yr(...e),sns:(...e)=>new ko(...e),solace:(...e)=>new Io(...e),sqs:(...e)=>new No(...e),stomp:(...e)=>new Uo(...e),redis:(...e)=>new $o(...e),mercure:(...e)=>new ao(...e),ibmmq:(...e)=>new Gr(...e),googlepubsub:(...e)=>new Dr(...e),pulsar:(...e)=>new wo(...e)},ChannelBindingsElement:{http:(...e)=>new Jr(...e),ws:(...e)=>new zo(...e),kafka:(...e)=>new eo(...e),anypointmq:(...e)=>new Fr(...e),amqp:(...e)=>new Or(...e),amqp1:(...e)=>new Cr(...e),mqtt:(...e)=>new co(...e),mqtt5:(...e)=>new mo(...e),nats:(...e)=>new bo(...e),jms:(...e)=>new Qr(...e),sns:(...e)=>new Mo(...e),solace:(...e)=>new Ao(...e),sqs:(...e)=>new To(...e),stomp:(...e)=>new Do(...e),redis:(...e)=>new jo(...e),mercure:(...e)=>new io(...e),ibmmq:(...e)=>new Wr(...e),googlepubsub:(...e)=>new Rr(...e),pulsar:(...e)=>new xo(...e)},SchemaElement:{allOf(...e){const t=new as(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new as(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new as(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new br(...e),if:(...e)=>new br(...e),then:(...e)=>new br(...e),else:(...e)=>new br(...e),enum:(...e)=>new as(...e),items:(...e)=>new br(...e),additionalItems:(...e)=>new br(...e),contains:(...e)=>new br(...e),required(...e){const t=new as(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new J(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new J(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new br(...e),dependencies(...e){const t=new J(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new br(...e),examples(...e){const t=new as(...e);return t.classes.push("json-schema-examples"),t},definitions(...e){const t=new J(...e);return t.classes.push("json-schema-definitions"),t},externalDocs:(...e)=>new Y(...e)},HttpOperationBindingElement:{query:(...e)=>new br(...e)},HttpMessageBindingElement:{headers:(...e)=>new br(...e)},WebSocketChannelBindingElement:{query:(...e)=>new br(...e),headers:(...e)=>new br(...e)},KafkaOperationBindingElement:{groupId:(...e)=>new br(...e),clientId:(...e)=>new br(...e)},KafkaMessageBindingElement:{key:(...e)=>new br(...e)},AnypointmqMessageBindingElement:{headers:(...e)=>new br(...e)},AmqpChannelBindingElement:{exchange:(...e)=>new J(...e),queue:(...e)=>new J(...e)},AmqpOperationBindingElement:{cc:(...e)=>new as(...e),bcc:(...e)=>new as(...e)},IbmmqChannelBindingElement:{queue:(...e)=>new J(...e),topic:(...e)=>new J(...e)},MqttServerBindingElement:{lastWill:(...e)=>new J(...e)},SolaceOperationBindingElement:{destinations:(...e)=>new as(...e)},GooglepubsubChannelBindingElement:{labels:(...e)=>new J(...e),messageStoragePolicy:(...e)=>new J(...e),schemaSettings:(...e)=>new J(...e)},GooglepubsubMessageBindingElement:{attributes:(...e)=>new J(...e),schema:(...e)=>new J(...e)},PulsarChannelBindingElement:{"geo-replication":function(...e){return new as(...e)},retention:(...e)=>new J(...e)},TagsElement:{"<*>":function(...e){return new wr(...e)}},[Zo.primaryClass]:{"[key: *]":function(...e){return new br(...e)}},[Yo.primaryClass]:{"[key: *]":function(...e){return new Sr(...e)}},[ta.primaryClass]:{"[key: *]":function(...e){return new Er(...e)}},[na.primaryClass]:{"[key: *]":function(...e){return new ne(...e)}},[ra.primaryClass]:{"[key: *]":function(...e){return new yr(...e)}},[aa.primaryClass]:{"[key: *]":function(...e){return new he(...e)}},[la.primaryClass]:{"[key: *]":function(...e){return new Z(...e)}},[da.primaryClass]:{"[key: *]":function(...e){return new de(...e)}},[ma.primaryClass]:{"[key: *]":function(...e){return new oe(...e)}},[ga.primaryClass]:{"[key: *]":function(...e){return new xr(...e)}},[ba.primaryClass]:{"[key: *]":function(...e){return new W(...e)}},[ya.primaryClass]:{"[key: *]":function(...e){return new ue(...e)}},[xa.primaryClass]:{"[key: *]":function(...e){return new ie(...e)}},[Ea.primaryClass]:{"[key: *]":function(...e){return new Er(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new br(...e)}},[Pa.primaryClass]:{"<*>":function(...e){return new vr(...e)}},[Ma.primaryClass]:{"<*>":function(...e){return new de(...e)}},[Aa.primaryClass]:{oneOf:(...e)=>new Va(...e)},[Va.primaryClass]:{"<*>":function(...e){return new ne(...e)}},[Ta.primaryClass]:{"<*>":function(...e){return new vr(...e)}},[_a.primaryClass]:{"<*>":function(...e){return new vr(...e)}},[Da.primaryClass]:{"<*>":function(...e){return new re(...e)}},[La.primaryClass]:{"<*>":function(...e){return new oe(...e)}},[za.primaryClass]:{"<*>":function(...e){return new re(...e)}},"json-schema-allOf":{"<*>":function(...e){return new br(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new br(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new br(...e)}}},Ka=(e,t)=>{const s=dn(e),n=Wa[s]||Wa[Ns(e.classes.first)];return void 0===n?void 0:Object.hasOwn(n,"[key: *]")?n["[key: *]"]:n[t]},Ha=()=>()=>({visitor:{StringElement(e){const t=e.node;if(!(e=>ls(e)&&bs(e,["yaml-e-node","yaml-e-scalar"]))(t))return;const s=e.getAncestorNodes().reverse().filter(cs),n=s.at(-1);let i,r;if(ms(n)?(r=t,i=Ka(n,"<*>")):gs(n)&&(r=s.at(-2),i=Ka(r,Ns(n.key))),"function"!=typeof i)return;const o=i.call({context:r},void 0,Ms(t.meta),Ms(t.attributes));Bs.transfer(t,o),e.replaceWith(o)}}}),Ga=e=>e instanceof L,Qa=e=>e instanceof z,Za=e=>e instanceof W,Xa=e=>e instanceof K,Ya=e=>e instanceof H,ec=e=>e instanceof G,tc=e=>e instanceof Q,sc=e=>e instanceof ee,nc=e=>e instanceof te,ic=e=>e instanceof se,rc=e=>e instanceof le,oc=e=>e instanceof he,ac=e=>e instanceof me,cc=e=>e instanceof pe,lc=e=>e instanceof br,uc=e=>hs(e)&&bs(e,["boolean-json-schema"]),dc=e=>e instanceof vr,hc=e=>e instanceof Sr,mc=e=>e instanceof xr,pc=e=>e instanceof Br,gc=e=>e instanceof Er;var fc=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var s=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?Pi(s):s},e}();function bc(e){return function(t){return new fc(e,t)}}const vc=b(et(["take"],bc,function(e,t){return Ue(0,e<0?1/0:e,t)}));const yc=b(function(e,t){return A(vc(e.length,t),e)}),Sc=e=>ps(e)&&e.hasKey("$ref"),xc=e=>ls(e.key)&&yc("x-",Ns(e.key));const Bc=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new J:t.meta,n=e.isMetaEmpty?new J:e.meta;t.meta=zs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new J:t.attributes,n=e.isAttributesEmpty?new J:e.attributes;t.attributes=zs(s,n)}Bs.transfer(e,t)}};const Ec=class extends Bc{enter(e){this.element=Ms(e.node),e.stop()}};const wc=class extends Bc{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return cn(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=$e(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return dt(Tt,["visitors",...e],this.specObj)?$e(["visitors",...e],this.specObj):$e(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof Ec&&n?.constructor===Ec?Ms(t):(Bn(t,n),n.element)}};const jc=class extends wc{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>Oi(e,Hs(t),Qs)),n=Ni(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const Oc=class extends wc{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=xc;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=e.node,s=this.specPath(t),n=this.retrieveFixedFields(s);t.forEach((e,t,i)=>{const r=Ns(t);if(ls(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new D(Ms(t),n);o.classes.push("fixed-field"),this.copyMetaAndAttributes(i,o),this.element.content.push(o)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(r)||this.element.content.push(Ms(i))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const qc=class extends wc{specPath;ignoredFields;fieldPatternPredicate=Wn;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=xc;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:i,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof i&&(this.specificationExtensionPredicate=i)}ObjectElement(e){const t=e.node;t.forEach((e,t,s)=>{const n=Ns(t);if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(n)&&this.fieldPatternPredicate(n)){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new D(Ms(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(n)||this.element.content.push(Ms(s))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const $c=class extends qc{constructor(e){super(e),this.fieldPatternPredicate=an}};function Mc(e,t,s){var n,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!s._items["-0"]||(t&&(s._items["-0"]=!0),!1):null!==s._nativeSet?t?(n=s._nativeSet.size,s._nativeSet.add(e),s._nativeSet.size===n):s._nativeSet.has(e):i in s._items?e in s._items[i]||(t&&(s._items[i][e]=!0),!1):(t&&(s._items[i]={},s._items[i][e]=!0),!1);case"boolean":if(i in s._items){var r=e?1:0;return!!s._items[i][r]||(t&&(s._items[i][r]=!0),!1)}return t&&(s._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==s._nativeSet?t?(n=s._nativeSet.size,s._nativeSet.add(e),s._nativeSet.size===n):s._nativeSet.has(e):i in s._items?!!Ge(e,s._items[i])||(t&&s._items[i].push(e),!1):(t&&(s._items[i]=[e]),!1);case"undefined":return!!s._items[i]||(t&&(s._items[i]=!0),!1);case"object":if(null===e)return!!s._items.null||(t&&(s._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in s._items?!!Ge(e,s._items[i])||(t&&s._items[i].push(e),!1):(t&&(s._items[i]=[e]),!1)}}const Cc=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mc(e,!0,this)},e.prototype.has=function(e){return Mc(e,!1,this)},e}();const Pc=b(function(e,t){for(var s=[],n=0,i=e.length,r=t.length,o=new Cc,a=0;a<r;a+=1)o.add(t[a]);for(;n<i;)o.add(e[n])&&(s[s.length]=e[n]),n+=1;return s}),kc=Un(wc,Ec),Ac=Un(Oc,Ec),Fc=Un(qc,Ec),Vc=Un($c,Ec),Ic=Un(Oc,qc),Tc=Un(jc,Ec);const Rc=class extends Ic{specPathFixedFields;specPathPatternedFields;constructor({specPathFixedFields:e,specPathPatternedFields:t,...s}){super({...s}),this.specPathFixedFields=e,this.specPathPatternedFields=t}ObjectElement(e){const t=e.node,{specPath:s,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const s=this.retrieveFixedFields(this.specPath(t));this.ignoredFields=[...n,...Pc(t.keys(),s)],Oc.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=s,qc.prototype.ObjectElement.call(this,e);const i=t.keys();this.element.content.sort((e,t)=>i.indexOf(Ns(e.key))-i.indexOf(Ns(t.key)))}catch(e){throw this.specPath=s,e}e.stop()}};const _c=class extends wc{MemberElement(e){const t=e.node;this.element=Ms(t),this.element.classes.push("specification-extension"),e.stop()}};function Nc(e){return void 0===e?new rs:Dc(e)}function Dc(e){if(e instanceof R)return e;if("string"==typeof e)return new U(e);if("number"==typeof e)return new is(e);if("boolean"==typeof e)return new os(e);if(null===e)return new rs;if(Array.isArray(e))return new as(e.map(Nc));if("object"==typeof e)return new J(e);throw new Error("Cannot refract value of type "+typeof e)}R.prototype.ObjectElement=J,R.prototype.ArrayElement=as,R.prototype.RefElement=Fs,R.prototype.MemberElement=D,R.prototype.refract=Dc;const Jc=Be(function(e,t,s){var n,i={};for(n in s=s||{},t=t||{})S(n,t)&&(i[n]=S(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)S(n,s)&&!S(n,i)&&(i[n]=s[n]);return i});const Lc=Be(function e(t,s,n){return Jc(function(s,n,i){return tt(n)&&tt(i)?e(t,n,i):t(s,n,i)},s,n)});const Uc=b(function(e,t){return Lc(function(e,t,s){return s},e,t)});const zc=Be(function(e,t,s){return Gs(e,je(t,s))});const Wc=Ue(0,-1);const Kc=b(function(e,t){return e.apply(this,t)});const Hc=qt(Tt);const Gc=jt(Fi,tn);const Qc=St(3,function(e,t,s){var n=$e(e,s),i=$e(Wc(e),s);if(!Hc(n)&&!Gc(e)){var r=Te(n,i);return Kc(r,t)}});const Zc=class{namespace;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};if(e.isMetaEmpty||(t.meta=this.serialiseObject(e.meta)),e.isAttributesEmpty||(t.attributes=this.serialiseObject(e.attributes)),!(e instanceof Bs)){const s=Bs.from(e);s&&(t.meta||(t.meta={}),t.meta.__mappings__=this.serialise(s))}const s=this.serialiseContent(e.content);return void 0!==s&&(t.content=s),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));let s;t.element!==e.element&&(t.element=e.element);let n=e.meta;if(e.meta?.__mappings__){const{__mappings__:t,...i}=e.meta;s=t,n=Object.keys(i).length>0?i:void 0}if(n&&this.deserialiseObject(n,t.meta),s){this.deserialise(s).applyTo(t)}e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const i=this.deserialiseContent(e.content);return void 0===i&&null!==t.content||(t.content=i),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t=e,s={key:this.serialise(t.key)};return t.value&&(s.value=this.serialise(t.value)),s}if(e&&Array.isArray(e)){if(0===e.length)return;return e.map(e=>this.serialise(e))}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(Array.isArray(e))return e.map(e=>this.deserialise(e))}return e}serialiseObject(e){const t={};if(e.forEach((e,s)=>{e&&(t[s.toValue()]=this.serialise(e))}),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach(s=>{t.set(s,this.deserialise(e[s]))})}},Xc=e=>null===e,Yc=e=>"string"==typeof e,el=e=>"number"==typeof e,tl=e=>"boolean"==typeof e,sl=e=>null!==e&&"object"==typeof e;class nl{elementMap={};elementDetection=[];Element;KeyValuePair;_elements;_attributeElementKeys=[];_attributeElementArrayKeys=[];constructor(e){this.Element=R,this.KeyValuePair=F,e&&e.noDefault||this.useDefault()}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",rs).register("string",U).register("number",is).register("boolean",os).register("array",as).register("object",J).register("member",D).register("ref",Fs).register("link",As).register("sourceMap",Bs),this.detect(Xc,rs,!1).detect(Yc,U,!1).detect(el,is,!1).detect(tl,os,!1).detect(Array.isArray,as,!1).detect(sl,J,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,s){return void 0===s||s?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(const[s,n]of this.elementDetection)if(s(e)){t=new n(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.substring(1);this._elements[t]=this.elementMap[e]})),this._elements}get serialiser(){return new Zc(this)}}Zc.prototype.Namespace=nl;const il=nl,rl=new il,ol={isElement:cs,isStringElement:ls,isNumberElement:us,isNullElement:ds,isBooleanElement:hs,isArrayElement:ms,isObjectElement:ps,isMemberElement:gs,isPrimitiveElement:e=>ps(e)&&"object"===e.element||ms(e)&&"array"===e.element||hs(e)&&"boolean"===e.element||us(e)&&"number"===e.element||ls(e)&&"string"===e.element||ds(e)&&"null"===e.element||gs(e)&&"member"===e.element,isLinkElement:Rs,isRefElement:_s,isAnnotationElement:e=>e instanceof Vs,isCommentElement:e=>e instanceof Is,isParseResultElement:e=>e instanceof Ts,isSourceMapElement:e=>e instanceof Bs,hasElementSourceMap:fs,includesSymbols:(e,t)=>{if(0===t.length)return!0;if(!e.hasAttributesProperty("symbols"))return!1;const s=e.attributes.get("symbols");return!!ms(s)&&t.every(e=>s.includes(e))},includesClasses:bs},al={toolboxCreator:()=>({predicates:ol,namespace:rl}),visitorOptions:{exposeEdits:!0}},cl=(e,t,s={})=>{if(0===t.length)return e;const n=Uc(al,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),a=t.map(e=>e(o)),c=vn(a.map(zc({},"visitor")),r);a.forEach(Qc(["pre"],[]));const l=Bn(e,c);return a.forEach(Qc(["post"],[])),l};cl[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=Uc(al,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),a=t.map(e=>e(o)),c=yn(a.map(zc({},"visitor")),r);await Promise.allSettled(a.map(Qc(["pre"],[])));const l=await En(e,c);return await Promise.allSettled(a.map(Qc(["post"],[]))),l};const ll=class extends Ac{constructor(e){super(e),this.element=new L,this.specPath=Hs(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}};const ul=class extends kc{StringElement(e){const t=e.node,s=new z(Ns(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const dl=class extends kc{StringElement(e){const t=e.node,s=new ee(Ns(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const hl=class extends Ac{constructor(e){super(e),this.element=new te,this.specPath=Hs(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}};const ml=class extends Ec{StringElement(e){const t=e.node;this.element=new U(Ns(t)),this.copyMetaAndAttributes(t,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),e.stop()}};const pl=class extends Ac{constructor(e){super(e),this.element=new Q,this.specPath=Hs(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}};const gl=class extends Ac{constructor(e){super(e),this.element=new Z,this.specPath=Hs(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}};const fl=class extends kc{StringElement(e){const t=e.node,s=new X(Ns(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const bl=class extends Ac{constructor(e){super(e),this.element=new se,this.specPath=Hs(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}};const vl=class extends Ac{constructor(e){super(e),this.element=new ce,this.specPath=Hs(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}};const yl=class extends Ac{constructor(e){super(e),this.element=new ae,this.specPath=Hs(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}};const Sl=class extends Vc{constructor(e){super(e),this.element=new qa,this.specPath=Hs(["value"])}};const xl=b(function(e,t){if(s=e,"[object RegExp]"!==Object.prototype.toString.call(s))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+ut(e));var s;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)});const Bl=class extends Fc{constructor(e){super(e),this.element=new Br,this.element.classes.push("servers"),this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=xl(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){Fc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","server")})}};const El=class extends Ac{constructor(e){super(e),this.element=new Sr,this.specPath=Hs(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}};const wl=class extends Ec{StringElement(e){super.enter(e),this.element.classes.push("server-url")}};const jl=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","serverBindings")}};const Ol=class extends Vc{constructor(e){super(e),this.element=new Ea,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}};const ql=class extends kc{constructor(e){super(e),this.element=new Pa}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const $l=class extends Ac{constructor(e){super(e),this.element=new Er,this.specPath=Hs(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}};const Ml=class extends Ac{constructor(e){super(e),this.element=new xr,this.specPath=Hs(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}};const Cl=class extends Ac{constructor(e){super(e),this.element=new yr,this.specPath=Hs(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}};const Pl=class extends Vc{constructor(e){super(e),this.element=new vr,this.specPath=Hs(["value"])}};const kl=class extends Ac{constructor(e){super(e),this.element=new pe,this.specPath=Hs(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){Ac.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&this.element.classes.push("reference-element")}};const Al=class extends Ec{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const Fl=class extends Ac{constructor(e){super(e),this.specPath=Hs(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){this.element=new br,Ac.prototype.ObjectElement.call(this,e)}BooleanElement(e){super.enter(e),this.element.classes.push("boolean-json-schema")}},Vl=pr.visitors.JSONSchemaOrJSONReferenceVisitor;const Il=class extends Vl{enter(e){Vl.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}},Tl=pr.visitors.document.objects.JSONSchema.fixedFields.allOf;const Rl=class extends Tl{ArrayElement(e){Tl.prototype.ArrayElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},_l=pr.visitors.document.objects.JSONSchema.fixedFields.anyOf;const Nl=class extends _l{ArrayElement(e){_l.prototype.ArrayElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Dl=pr.visitors.document.objects.JSONSchema.fixedFields.oneOf;const Jl=class extends Dl{ArrayElement(e){Dl.prototype.ArrayElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Ll=pr.visitors.document.objects.JSONSchema.fixedFields.definitions;const Ul=class extends Ll{ObjectElement(e){Ll.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},zl=pr.visitors.document.objects.JSONSchema.fixedFields.dependencies;const Wl=class extends zl{ObjectElement(e){zl.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Kl=pr.visitors.document.objects.JSONSchema.fixedFields.items.$visitor;const Hl=class extends Kl{ObjectElement(e){Kl.prototype.ObjectElement.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}ArrayElement(e){Kl.prototype.ArrayElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Gl=pr.visitors.document.objects.JSONSchema.fixedFields.patternProperties;const Ql=class extends Gl{ObjectElement(e){Gl.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Zl=pr.visitors.document.objects.JSONSchema.fixedFields.properties;const Xl=class extends Zl{ObjectElement(e){Zl.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Yl=xt(e=>e===pr.visitors.JSONSchemaOrJSONReferenceVisitor?Il:e,pr.visitors.document.objects.JSONSchema.fixedFields);const eu=class extends Fc{constructor(e){super(e),this.element=new me,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Parameter"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=e=>"string"==typeof e&&/^[A-Za-z0-9_-]+$/.test(e)}ObjectElement(e){Fc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const tu=class extends Ac{constructor(e){super(e),this.element=new he,this.specPath=Hs(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}};const su=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","Schema"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}};const nu=class extends Ac{constructor(e){super(e),this.element=new Y,this.specPath=Hs(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}};const iu=class extends Ac{constructor(e){super(e),this.element=new G,this.specPath=Hs(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}};const ru=class extends Vc{constructor(e){super(e),this.element=new Zo,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}};const ou=class extends Vc{constructor(e){super(e),this.element=new Yo,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","server")})}};const au=class extends Vc{constructor(e){super(e),this.element=new ta,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","serverVariable")})}};class cu extends J{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(cu.primaryClass)}}const lu=cu;const uu=class extends Vc{constructor(e){super(e),this.element=new lu,this.specPath=Hs(["document","objects","ChannelItem"])}};const du=class extends Vc{constructor(e){super(e),this.element=new na,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","message")})}};const hu=class extends Vc{constructor(e){super(e),this.element=new ra,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","securityScheme")})}};const mu=class extends Vc{constructor(e){super(e),this.element=new aa,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const pu=class extends Vc{constructor(e){super(e),this.element=new la,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","correlationID")})}};const gu=class extends Vc{constructor(e){super(e),this.element=new da,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","operationTrait")})}};const fu=class extends Vc{constructor(e){super(e),this.element=new ma,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","messageTrait")})}};const bu=class extends Vc{constructor(e){super(e),this.element=new ga,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","serverBindings")})}};const vu=class extends Vc{constructor(e){super(e),this.element=new ba,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","channelBindings")})}};const yu=class extends Vc{constructor(e){super(e),this.element=new ya,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","operationBindings")})}};const Su=class extends Vc{constructor(e){super(e),this.element=new xa,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","messageBindings")})}};const xu=class extends Ac{constructor(e){super(e),this.element=new le,this.specPath=Hs(["document","objects","Operation"])}};const Bu=class extends kc{constructor(e){super(e),this.element=new Ta}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Eu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const wu=class extends kc{constructor(e){super(e),this.element=new Ma}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;Sc(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.meta.set("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const ju=class extends kc{ObjectElement(e){const t=e.node;if(Sc(t))this.element=this.toRefractedElement(["document","objects","Reference"],t),this.element.meta.set("referenced-element","message");else if(ms(t.get("oneOf"))){this.element=new Aa;const e=new Va;t.get("oneOf").forEach(t=>{let s;const n=t;Sc(n)?(s=this.toRefractedElement(["document","objects","Reference"],n),s.meta.set("referenced-element","message")):s=this.toRefractedElement(["document","objects","Message"],n),e.push(s)}),this.element.oneOf=e}else this.element=this.toRefractedElement(["document","objects","Message"],t);this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ou=class extends kc{constructor(e){super(e),this.element=new jr}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const qu=class extends Ac{constructor(e){super(e),this.element=new wr,this.specPath=Hs(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}};const $u=class extends Vc{constructor(e){super(e),this.element=new H,this.specPath=Hs(["document","objects","ChannelItem"])}};const Mu=class extends Ac{constructor(e){super(e),this.element=new W,this.specPath=Hs(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}};const Cu=class extends Ac{constructor(e){super(e),this.element=new K,this.specPath=Hs(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){Ac.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.meta.set("referenced-element","channelItem"))}};const Pu=class extends Ec{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const ku=class extends kc{constructor(e){super(e),this.element=new ja}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ms(e);ls(t)&&t.classes.push("server-name"),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Au=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","channelBindings")}};const Fu=class extends Ac{constructor(e){super(e),this.element=new ie,this.specPath=Hs(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}};const Vu=class extends Ac{constructor(e){super(e),this.element=new re,this.specPath=Hs(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}};const Iu=class extends Ac{constructor(e){super(e),this.element=new oe,this.specPath=Hs(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}};const Tu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","Schema"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}};const Ru=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const _u=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const Nu=class extends kc{constructor(e){super(e),this.element=new za}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Du=class extends Ac{constructor(e){super(e),this.element=new ne,this.specPath=Hs(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){Ac.prototype.ObjectElement.call(this,e);const t=e.node,s=this.element.get("payload"),n=Gs(f.latest(),Ns(t.get("schemaFormat")));if(f.includes(n)&&Sc(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else f.includes(n)&&ps(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s))}};const Ju=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","Schema"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}};const Lu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const Uu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const zu=class extends kc{constructor(e){super(e),this.element=new Da}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Wu=class extends kc{constructor(e){super(e),this.element=new La}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;Sc(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.meta.set("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ku=class extends Ac{constructor(e){super(e),this.element=new ue,this.specPath=Hs(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}};const Hu=class extends Ac{constructor(e){super(e),this.element=new de,this.specPath=Hs(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}};const Gu=class extends kc{constructor(e){super(e),this.element=new _a}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Qu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const Zu=class extends Ac{constructor(e){super(e),this.element=new Or,this.specPath=Hs(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Xu=class extends Ac{constructor(e){super(e),this.element=new qr,this.specPath=Hs(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Yu=class extends Ac{constructor(e){super(e),this.element=new $r,this.specPath=Hs(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ed=class extends Ac{constructor(e){super(e),this.element=new Mr,this.specPath=Hs(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const td=class extends Ac{constructor(e){super(e),this.element=new Cr,this.specPath=Hs(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const sd=class extends Ac{constructor(e){super(e),this.element=new Pr,this.specPath=Hs(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const nd=class extends Ac{constructor(e){super(e),this.element=new kr,this.specPath=Hs(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const id=class extends Ac{constructor(e){super(e),this.element=new Ar,this.specPath=Hs(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const rd=class extends Ac{constructor(e){super(e),this.element=new Fr,this.specPath=Hs(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const od=class extends Ac{constructor(e){super(e),this.element=new Vr,this.specPath=Hs(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const ad=class extends Ac{constructor(e){super(e),this.element=new Ir,this.specPath=Hs(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const cd=class extends Ac{constructor(e){super(e),this.element=new Tr,this.specPath=Hs(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const ld=class extends Ac{constructor(e){super(e),this.element=new Jr,this.specPath=Hs(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const ud=class extends Ac{constructor(e){super(e),this.element=new Lr,this.specPath=Hs(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const dd=class extends Ac{constructor(e){super(e),this.element=new Ur,this.specPath=Hs(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const hd=class extends Ac{constructor(e){super(e),this.element=new zr,this.specPath=Hs(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const md=class extends Ac{constructor(e){super(e),this.element=new Rr,this.specPath=Hs(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const pd=class extends Ac{constructor(e){super(e),this.element=new _r,this.specPath=Hs(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const gd=class extends Ac{constructor(e){super(e),this.element=new Nr,this.specPath=Hs(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const fd=class extends Ac{constructor(e){super(e),this.element=new Dr,this.specPath=Hs(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const bd=class extends Ac{constructor(e){super(e),this.element=new Wr,this.specPath=Hs(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const vd=class extends Ac{constructor(e){super(e),this.element=new Kr,this.specPath=Hs(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const yd=class extends Ac{constructor(e){super(e),this.element=new Hr,this.specPath=Hs(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Sd=class extends Ac{constructor(e){super(e),this.element=new Gr,this.specPath=Hs(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const xd=class extends Ac{constructor(e){super(e),this.element=new Qr,this.specPath=Hs(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Bd=class extends Ac{constructor(e){super(e),this.element=new Zr,this.specPath=Hs(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Ed=class extends Ac{constructor(e){super(e),this.element=new Xr,this.specPath=Hs(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const wd=class extends Ac{constructor(e){super(e),this.element=new Yr,this.specPath=Hs(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const jd=class extends Ac{constructor(e){super(e),this.element=new eo,this.specPath=Hs(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Od=class extends Ac{constructor(e){super(e),this.element=new to,this.specPath=Hs(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const qd=class extends Ac{constructor(e){super(e),this.element=new so,this.specPath=Hs(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const $d=class extends Ac{constructor(e){super(e),this.element=new no,this.specPath=Hs(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Md=class extends Ac{constructor(e){super(e),this.element=new io,this.specPath=Hs(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Cd=class extends Ac{constructor(e){super(e),this.element=new ro,this.specPath=Hs(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Pd=class extends Ac{constructor(e){super(e),this.element=new oo,this.specPath=Hs(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const kd=class extends Ac{constructor(e){super(e),this.element=new ao,this.specPath=Hs(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Ad=class extends Ac{constructor(e){super(e),this.element=new co,this.specPath=Hs(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Fd=class extends Ac{constructor(e){super(e),this.element=new lo,this.specPath=Hs(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Vd=class extends Ac{constructor(e){super(e),this.element=new uo,this.specPath=Hs(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Id=class extends Ac{constructor(e){super(e),this.element=new ho,this.specPath=Hs(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Td=class extends Ac{constructor(e){super(e),this.element=new mo,this.specPath=Hs(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Rd=class extends Ac{constructor(e){super(e),this.element=new po,this.specPath=Hs(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const _d=class extends Ac{constructor(e){super(e),this.element=new go,this.specPath=Hs(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Nd=class extends Ac{constructor(e){super(e),this.element=new fo,this.specPath=Hs(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Dd=class extends Ac{constructor(e){super(e),this.element=new bo,this.specPath=Hs(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Jd=class extends Ac{constructor(e){super(e),this.element=new vo,this.specPath=Hs(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Ld=class extends Ac{constructor(e){super(e),this.element=new yo,this.specPath=Hs(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Ud=class extends Ac{constructor(e){super(e),this.element=new So,this.specPath=Hs(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const zd=class extends Ac{constructor(e){super(e),this.element=new xo,this.specPath=Hs(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Wd=class extends Ac{constructor(e){super(e),this.element=new Bo,this.specPath=Hs(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Kd=class extends Ac{constructor(e){super(e),this.element=new Eo,this.specPath=Hs(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Hd=class extends Ac{constructor(e){super(e),this.element=new wo,this.specPath=Hs(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Gd=class extends Ac{constructor(e){super(e),this.element=new jo,this.specPath=Hs(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Qd=class extends Ac{constructor(e){super(e),this.element=new Oo,this.specPath=Hs(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Zd=class extends Ac{constructor(e){super(e),this.element=new qo,this.specPath=Hs(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Xd=class extends Ac{constructor(e){super(e),this.element=new $o,this.specPath=Hs(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Yd=class extends Ac{constructor(e){super(e),this.element=new Mo,this.specPath=Hs(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const eh=class extends Ac{constructor(e){super(e),this.element=new Co,this.specPath=Hs(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const th=class extends Ac{constructor(e){super(e),this.element=new Po,this.specPath=Hs(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const sh=class extends Ac{constructor(e){super(e),this.element=new ko,this.specPath=Hs(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const nh=class extends Ac{constructor(e){super(e),this.element=new Ao,this.specPath=Hs(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const ih=class extends Ac{constructor(e){super(e),this.element=new Fo,this.specPath=Hs(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const rh=class extends Ac{constructor(e){super(e),this.element=new Vo,this.specPath=Hs(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const oh=class extends Ac{constructor(e){super(e),this.element=new Io,this.specPath=Hs(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const ah=class extends Ac{constructor(e){super(e),this.element=new To,this.specPath=Hs(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const ch=class extends Ac{constructor(e){super(e),this.element=new Ro,this.specPath=Hs(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const lh=class extends Ac{constructor(e){super(e),this.element=new _o,this.specPath=Hs(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const uh=class extends Ac{constructor(e){super(e),this.element=new No,this.specPath=Hs(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const dh=class extends Ac{constructor(e){super(e),this.element=new Do,this.specPath=Hs(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const hh=class extends Ac{constructor(e){super(e),this.element=new Jo,this.specPath=Hs(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const mh=class extends Ac{constructor(e){super(e),this.element=new Lo,this.specPath=Hs(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ph=class extends Ac{constructor(e){super(e),this.element=new Uo,this.specPath=Hs(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const gh=class extends Ac{constructor(e){super(e),this.element=new zo,this.specPath=Hs(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const fh=class extends Ac{constructor(e){super(e),this.element=new Wo,this.specPath=Hs(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const bh=class extends Ac{constructor(e){super(e),this.element=new Ko,this.specPath=Hs(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const vh=class extends Ac{constructor(e){super(e),this.element=new Ho,this.specPath=Hs(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}},yh={element:"reference",$visitor:kl,fixedFields:{$ref:Al}},Sh={element:"schema",$visitor:Fl,fixedFields:{...Yl,allOf:Rl,anyOf:Nl,oneOf:Jl,items:{$visitor:Hl,alias:"itemsField"},properties:Xl,patternProperties:Ql,dependencies:Wl,definitions:Ul,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},xh={visitors:{value:Ec,document:{objects:{AsyncApi:{element:"asyncApi2",$visitor:ll,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$visitor:dl,alias:"idField"},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:{element:"asyncApiVersion",$visitor:ul},Identifier:{element:"identifier",$visitor:dl},Info:{element:"info",$visitor:hl,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:ml,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{element:"contact",$visitor:pl,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{element:"license",$visitor:bl,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{element:"servers",$visitor:Bl},Server:{element:"server",$visitor:El,fixedFields:{url:wl,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:Ol,security:ql,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:jl}},ServerVariable:{element:"serverVariable",$visitor:$l,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{element:"defaultContentType",$visitor:fl},Channels:{element:"channels",$visitor:$u},ChannelItem:{element:"channelItem",$visitor:Cu,fixedFields:{$ref:Pu,description:{$ref:"#/visitors/value"},servers:ku,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Au}},Operation:{element:"operation",$visitor:xu,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Bu,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Eu,traits:wu,message:ju}},OperationTrait:{element:"operationTrait",$visitor:Hu,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Gu,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Qu}},Message:{element:"message",$visitor:Du,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Ju,payload:{$ref:"#/visitors/value"},correlationId:Lu,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Uu,examples:zu,traits:Wu}},MessageTrait:{element:"messageTrait",$visitor:Iu,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Tu,correlationId:Ru,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:_u,examples:Nu}},MessageExample:{element:"messageExample",$visitor:Vu,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{element:"tags",$visitor:Ou},Tag:{element:"tag",$visitor:qu,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{element:"externalDocumentation",$visitor:nu,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{element:"components",$visitor:iu,fixedFields:{schemas:ru,servers:ou,serverVariables:au,channels:uu,messages:du,securitySchemes:hu,parameters:mu,correlationIds:pu,operationTraits:gu,messageTraits:fu,serverBindings:bu,channelBindings:vu,operationBindings:yu,messageBindings:Su}},JSONReference:yh,Reference:yh,JSONSchema:Sh,Schema:Sh,LinkDescription:pr.visitors.document.objects.LinkDescription,SecurityScheme:{element:"securityScheme",$visitor:Cl,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},SecurityRequirement:{element:"securityRequirement",$visitor:Pl},OAuthFlows:{element:"oAuthFlows",$visitor:vl,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:{element:"oAuthFlow",$visitor:yl,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Sl}},ServerBindings:{element:"serverBindings",$visitor:Ml,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:{element:"parameters",$visitor:eu},Parameter:{element:"parameter",$visitor:tu,fixedFields:{description:{$ref:"#/visitors/value"},schema:su,location:{$ref:"#/visitors/value"}}},ChannelBindings:{element:"channelBindings",$visitor:Mu,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:{element:"operationBindings",$visitor:Ku,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:{element:"messageBindings",$visitor:Fu,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:{element:"correlationID",$visitor:gl,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{element:"httpServerBinding",$visitor:hd},ChannelBinding:{element:"httpChannelBinding",$visitor:ld},OperationBinding:{element:"httpOperationBinding",$visitor:dd,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Il,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"httpMessageBinding",$visitor:ud,fixedFields:{headers:Il,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{element:"webSocketServerBinding",$visitor:vh},ChannelBinding:{element:"webSocketChannelBinding",$visitor:gh,fixedFields:{method:{$ref:"#/visitors/value"},query:Il,headers:Il,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"webSocketOperationBinding",$visitor:bh},MessageBinding:{element:"webSocketMessageBinding",$visitor:fh}},kafka:{ServerBinding:{element:"kafkaServerBinding",$visitor:$d,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"kafkaChannelBinding",$visitor:jd,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"kafkaOperationBinding",$visitor:qd,fixedFields:{groupId:Il,clientId:Il,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"kafkaMessageBinding",$visitor:Od,fixedFields:{key:Il,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{element:"anypointmqServerBinding",$visitor:cd},ChannelBinding:{element:"anypointmqChannelBinding",$visitor:rd,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"anypointmqOperationBinding",$visitor:ad},MessageBinding:{element:"anypointmqMessageBinding",$visitor:od,fixedFields:{headers:Il,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{element:"amqpServerBinding",$visitor:ed},ChannelBinding:{element:"amqpChannelBinding",$visitor:Zu,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"amqpOperationBinding",$visitor:Yu,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:{element:"amqpMessageBinding",$visitor:Xu,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{element:"amqp1ServerBinding",$visitor:id},ChannelBinding:{element:"amqp1ChannelBinding",$visitor:td},OperationBinding:{element:"amqp1OperationBinding",$visitor:nd},MessageBinding:{element:"amqp1MessageBinding",$visitor:sd}},mqtt:{ServerBinding:{element:"mqttServerBinding",$visitor:Id,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"mqttChannelBinding",$visitor:Ad},OperationBinding:{element:"mqttOperationBinding",$visitor:Vd,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"mqttMessageBinding",$visitor:Fd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{element:"mqtt5ServerBinding",$visitor:Nd},ChannelBinding:{element:"mqtt5ChannelBinding",$visitor:Td},OperationBinding:{element:"mqtt5OperationBinding",$visitor:_d},MessageBinding:{element:"mqtt5MessageBinding",$visitor:Rd}},nats:{ServerBinding:{element:"natsServerBinding",$visitor:Ud},ChannelBinding:{element:"natsChannelBinding",$visitor:Dd},OperationBinding:{element:"natsOperationBinding",$visitor:Ld,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"natsMessageBinding",$visitor:Jd}},pulsar:{ServerBinding:{element:"pulsarServerBinding",$visitor:Hd,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"pulsarChannelBinding",$visitor:zd,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:{element:"pulsarOperationBinding",$visitor:Kd},MessageBinding:{element:"pulsarMessageBinding",$visitor:Wd}},jms:{ServerBinding:{element:"jmsServerBinding",$visitor:wd},ChannelBinding:{element:"jmsChannelBinding",$visitor:xd},OperationBinding:{element:"jmsOperationBinding",$visitor:Ed},MessageBinding:{element:"jmsMessageBinding",$visitor:Bd}},sns:{ServerBinding:{element:"snsServerBinding",$visitor:sh},ChannelBinding:{element:"snsChannelBinding",$visitor:Yd},OperationBinding:{element:"snsOperationBinding",$visitor:th},MessageBinding:{element:"snsMessageBinding",$visitor:eh}},solace:{ServerBinding:{element:"solaceServerBinding",$visitor:oh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"solaceChannelBinding",$visitor:nh},OperationBinding:{element:"solaceOperationBinding",$visitor:rh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{element:"solaceMessageBinding",$visitor:ih}},sqs:{ServerBinding:{element:"sqsServerBinding",$visitor:uh},ChannelBinding:{element:"sqsChannelBinding",$visitor:ah},OperationBinding:{element:"sqsOperationBinding",$visitor:lh},MessageBinding:{element:"sqsMessageBinding",$visitor:ch}},stomp:{ServerBinding:{element:"stompServerBinding",$visitor:ph},ChannelBinding:{element:"stompChannelBinding",$visitor:dh},OperationBinding:{element:"stompOperationBinding",$visitor:mh},MessageBinding:{element:"stompMessageBinding",$visitor:hh}},redis:{ServerBinding:{element:"redisServerBinding",$visitor:Xd},ChannelBinding:{element:"redisChannelBinding",$visitor:Gd},OperationBinding:{element:"redisOperationBinding",$visitor:Zd},MessageBinding:{element:"redisMessageBinding",$visitor:Qd}},mercure:{ServerBinding:{element:"mercureServerBinding",$visitor:kd},ChannelBinding:{element:"mercureChannelBinding",$visitor:Md},OperationBinding:{element:"mercureOperationBinding",$visitor:Pd},MessageBinding:{element:"mercureMessageBinding",$visitor:Cd}},googlepubsub:{ServerBinding:{element:"googlepubsubServerBinding",$visitor:fd},ChannelBinding:{element:"googlepubsubChannelBinding",$visitor:md,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:{element:"googlepubsubOperationBinding",$visitor:gd},MessageBinding:{element:"googlepubsubMessageBinding",$visitor:pd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$visitor:Ec,alias:"attributesField"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{element:"ibmmqServerBinding",$visitor:Sd,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:{element:"ibmmqChannelBinding",$visitor:bd,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"ibmmqMessageBinding",$visitor:vd,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"ibmmqOperationBinding",$visitor:yd}}}},extension:{$visitor:_c}}}},Bh=()=>{const e=new il,t={...n,...s,isStringElement:ls};return e.use(Go),{predicates:t,namespace:e}},Eh=(e,{element:t="asyncApi2",plugins:s=[],specificationObj:n=xh}={})=>{const i=Dc(e),r=Yt(n),o=r.elementMap[t];if(!o)throw new Error(`Unknown element type: "${t}"`);const a=new($e(o,r))({specObj:r});return Bn(i,a),cl(a.element,s,{toolboxCreator:Bh})},wh=(e,t={})=>Eh(e,{...t,element:"asyncApi2"}),jh=(e,t={})=>Eh(e,{...t,element:"asyncApiVersion"}),Oh=(e,t={})=>Eh(e,{...t,element:"identifier"}),qh=(e,t={})=>Eh(e,{...t,element:"defaultContentType"}),$h=(e,t={})=>Eh(e,{...t,element:"channels"}),Mh=(e,t={})=>Eh(e,{...t,element:"servers"}),Ch=(e,t={})=>Eh(e,{...t,element:"parameters"}),Ph=(e,t={})=>Eh(e,{...t,element:"tags"}),kh=(e,t={})=>Eh(e,{...t,element:"channelBindings"}),Ah=(e,t={})=>Eh(e,{...t,element:"channelItem"}),Fh=(e,t={})=>Eh(e,{...t,element:"components"}),Vh=(e,t={})=>Eh(e,{...t,element:"contact"}),Ih=(e,t={})=>Eh(e,{...t,element:"correlationID"}),Th=(e,t={})=>Eh(e,{...t,element:"externalDocumentation"}),Rh=(e,t={})=>Eh(e,{...t,element:"info"}),_h=(e,t={})=>Eh(e,{...t,element:"license"}),Nh=(e,t={})=>Eh(e,{...t,element:"message"}),Dh=(e,t={})=>Eh(e,{...t,element:"messageBindings"}),Jh=(e,t={})=>Eh(e,{...t,element:"messageExample"}),Lh=(e,t={})=>Eh(e,{...t,element:"messageTrait"}),Uh=(e,t={})=>Eh(e,{...t,element:"oAuthFlow"}),zh=(e,t={})=>Eh(e,{...t,element:"oAuthFlows"}),Wh=(e,t={})=>Eh(e,{...t,element:"operation"}),Kh=(e,t={})=>Eh(e,{...t,element:"operationBindings"}),Hh=(e,t={})=>Eh(e,{...t,element:"operationTrait"}),Gh=(e,t={})=>Eh(e,{...t,element:"parameter"}),Qh=(e,t={})=>Eh(e,{...t,element:"reference"}),Zh=(e,t={})=>Eh(e,{...t,element:"schema"}),Xh=(e,t={})=>Eh(e,{...t,element:"securityRequirement"}),Yh=(e,t={})=>Eh(e,{...t,element:"securityScheme"}),em=(e,t={})=>Eh(e,{...t,element:"server"}),tm=(e,t={})=>Eh(e,{...t,element:"serverBindings"}),sm=(e,t={})=>Eh(e,{...t,element:"serverVariable"}),nm=(e,t={})=>Eh(e,{...t,element:"tag"}),im=(e,t={})=>Eh(e,{...t,element:"amqpChannelBinding"}),rm=(e,t={})=>Eh(e,{...t,element:"amqpMessageBinding"}),om=(e,t={})=>Eh(e,{...t,element:"amqpOperationBinding"}),am=(e,t={})=>Eh(e,{...t,element:"amqpServerBinding"}),cm=(e,t={})=>Eh(e,{...t,element:"amqp1ChannelBinding"}),lm=(e,t={})=>Eh(e,{...t,element:"amqp1MessageBinding"}),um=(e,t={})=>Eh(e,{...t,element:"amqp1OperationBinding"}),dm=(e,t={})=>Eh(e,{...t,element:"amqp1ServerBinding"}),hm=(e,t={})=>Eh(e,{...t,element:"anypointmqChannelBinding"}),mm=(e,t={})=>Eh(e,{...t,element:"anypointmqMessageBinding"}),pm=(e,t={})=>Eh(e,{...t,element:"anypointmqOperationBinding"}),gm=(e,t={})=>Eh(e,{...t,element:"anypointmqServerBinding"}),fm=(e,t={})=>Eh(e,{...t,element:"googlepubsubChannelBinding"}),bm=(e,t={})=>Eh(e,{...t,element:"googlepubsubMessageBinding"}),vm=(e,t={})=>Eh(e,{...t,element:"googlepubsubOperationBinding"}),ym=(e,t={})=>Eh(e,{...t,element:"googlepubsubServerBinding"}),Sm=(e,t={})=>Eh(e,{...t,element:"httpChannelBinding"}),xm=(e,t={})=>Eh(e,{...t,element:"httpMessageBinding"}),Bm=(e,t={})=>Eh(e,{...t,element:"httpOperationBinding"}),Em=(e,t={})=>Eh(e,{...t,element:"httpServerBinding"}),wm=(e,t={})=>Eh(e,{...t,element:"ibmmqChannelBinding"}),jm=(e,t={})=>Eh(e,{...t,element:"ibmmqMessageBinding"}),Om=(e,t={})=>Eh(e,{...t,element:"ibmmqOperationBinding"}),qm=(e,t={})=>Eh(e,{...t,element:"ibmmqServerBinding"}),$m=(e,t={})=>Eh(e,{...t,element:"jmsChannelBinding"}),Mm=(e,t={})=>Eh(e,{...t,element:"jmsMessageBinding"}),Cm=(e,t={})=>Eh(e,{...t,element:"jmsOperationBinding"}),Pm=(e,t={})=>Eh(e,{...t,element:"jmsServerBinding"}),km=(e,t={})=>Eh(e,{...t,element:"kafkaChannelBinding"}),Am=(e,t={})=>Eh(e,{...t,element:"kafkaMessageBinding"}),Fm=(e,t={})=>Eh(e,{...t,element:"kafkaOperationBinding"}),Vm=(e,t={})=>Eh(e,{...t,element:"kafkaServerBinding"}),Im=(e,t={})=>Eh(e,{...t,element:"mercureChannelBinding"}),Tm=(e,t={})=>Eh(e,{...t,element:"mercureMessageBinding"}),Rm=(e,t={})=>Eh(e,{...t,element:"mercureOperationBinding"}),_m=(e,t={})=>Eh(e,{...t,element:"mercureServerBinding"}),Nm=(e,t={})=>Eh(e,{...t,element:"mqttChannelBinding"}),Dm=(e,t={})=>Eh(e,{...t,element:"mqttMessageBinding"}),Jm=(e,t={})=>Eh(e,{...t,element:"mqttOperationBinding"}),Lm=(e,t={})=>Eh(e,{...t,element:"mqttServerBinding"}),Um=(e,t={})=>Eh(e,{...t,element:"mqtt5ChannelBinding"}),zm=(e,t={})=>Eh(e,{...t,element:"mqtt5MessageBinding"}),Wm=(e,t={})=>Eh(e,{...t,element:"mqtt5OperationBinding"}),Km=(e,t={})=>Eh(e,{...t,element:"mqtt5ServerBinding"}),Hm=(e,t={})=>Eh(e,{...t,element:"natsChannelBinding"}),Gm=(e,t={})=>Eh(e,{...t,element:"natsMessageBinding"}),Qm=(e,t={})=>Eh(e,{...t,element:"natsOperationBinding"}),Zm=(e,t={})=>Eh(e,{...t,element:"natsServerBinding"}),Xm=(e,t={})=>Eh(e,{...t,element:"pulsarChannelBinding"}),Ym=(e,t={})=>Eh(e,{...t,element:"pulsarMessageBinding"}),ep=(e,t={})=>Eh(e,{...t,element:"pulsarOperationBinding"}),tp=(e,t={})=>Eh(e,{...t,element:"pulsarServerBinding"}),sp=(e,t={})=>Eh(e,{...t,element:"redisChannelBinding"}),np=(e,t={})=>Eh(e,{...t,element:"redisMessageBinding"}),ip=(e,t={})=>Eh(e,{...t,element:"redisOperationBinding"}),rp=(e,t={})=>Eh(e,{...t,element:"redisServerBinding"}),op=(e,t={})=>Eh(e,{...t,element:"snsChannelBinding"}),ap=(e,t={})=>Eh(e,{...t,element:"snsMessageBinding"}),cp=(e,t={})=>Eh(e,{...t,element:"snsOperationBinding"}),lp=(e,t={})=>Eh(e,{...t,element:"snsServerBinding"}),up=(e,t={})=>Eh(e,{...t,element:"solaceChannelBinding"}),dp=(e,t={})=>Eh(e,{...t,element:"solaceMessageBinding"}),hp=(e,t={})=>Eh(e,{...t,element:"solaceOperationBinding"}),mp=(e,t={})=>Eh(e,{...t,element:"solaceServerBinding"}),pp=(e,t={})=>Eh(e,{...t,element:"sqsChannelBinding"}),gp=(e,t={})=>Eh(e,{...t,element:"sqsMessageBinding"}),fp=(e,t={})=>Eh(e,{...t,element:"sqsOperationBinding"}),bp=(e,t={})=>Eh(e,{...t,element:"sqsServerBinding"}),vp=(e,t={})=>Eh(e,{...t,element:"stompChannelBinding"}),yp=(e,t={})=>Eh(e,{...t,element:"stompMessageBinding"}),Sp=(e,t={})=>Eh(e,{...t,element:"stompOperationBinding"}),xp=(e,t={})=>Eh(e,{...t,element:"stompServerBinding"}),Bp=(e,t={})=>Eh(e,{...t,element:"webSocketChannelBinding"}),Ep=(e,t={})=>Eh(e,{...t,element:"webSocketMessageBinding"}),wp=(e,t={})=>Eh(e,{...t,element:"webSocketOperationBinding"}),jp=(e,t={})=>Eh(e,{...t,element:"webSocketServerBinding"}),Op=Eh;return t})());
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsAsyncApi2=t():e.apidomNsAsyncApi2=t()}(self,()=>(()=>{"use strict";var e={d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{AlternatingVisitor:()=>Na,Amqp1ChannelBindingElement:()=>Ur,Amqp1MessageBindingElement:()=>Hr,Amqp1OperationBindingElement:()=>Gr,Amqp1ServerBindingElement:()=>zr,AmqpChannelBindingElement:()=>Rr,AmqpMessageBindingElement:()=>_r,AmqpOperationBindingElement:()=>Lr,AmqpServerBindingElement:()=>Jr,AnypointmqChannelBindingElement:()=>Wr,AnypointmqMessageBindingElement:()=>Xr,AnypointmqOperationBindingElement:()=>Kr,AnypointmqServerBindingElement:()=>Yr,AsyncAPIMediaTypes:()=>g,AsyncApi2Element:()=>J,AsyncApiVersionElement:()=>H,BaseAlternatingVisitor:()=>Ya,BaseFixedFieldsVisitor:()=>za,BaseMapVisitor:()=>Xa,BaseMixedFieldsVisitor:()=>Ka,BasePatternedFieldsVisitor:()=>Wa,BaseSpecificationVisitor:()=>Ga,ChannelBindingsElement:()=>G,ChannelItemElement:()=>z,ChannelsElement:()=>W,ComponentsElement:()=>X,ContactElement:()=>K,CorrelationIDElement:()=>Y,DefaultContentTypeElement:()=>Q,ExternalDocumentationElement:()=>Z,FallbackVisitor:()=>Da,FixedFieldsVisitor:()=>Ra,GooglepubsubChannelBindingElement:()=>Qr,GooglepubsubMessageBindingElement:()=>Zr,GooglepubsubOperationBindingElement:()=>eo,GooglepubsubServerBindingElement:()=>to,HttpChannelBindingElement:()=>so,HttpMessageBindingElement:()=>no,HttpOperationBindingElement:()=>io,HttpServerBindingElement:()=>ro,IbmmqChannelBindingElement:()=>oo,IbmmqMessageBindingElement:()=>co,IbmmqOperationBindingElement:()=>ao,IbmmqServerBindingElement:()=>lo,IdentifierElement:()=>ee,InfoElement:()=>te,JmsChannelBindingElement:()=>uo,JmsMessageBindingElement:()=>po,JmsOperationBindingElement:()=>ho,JmsServerBindingElement:()=>mo,KafkaChannelBindingElement:()=>go,KafkaMessageBindingElement:()=>fo,KafkaOperationBindingElement:()=>yo,KafkaServerBindingElement:()=>bo,LicenseElement:()=>se,MapVisitor:()=>La,MercureChannelBindingElement:()=>vo,MercureMessageBindingElement:()=>xo,MercureOperationBindingElement:()=>So,MercureServerBindingElement:()=>wo,MessageBindingsElement:()=>ie,MessageElement:()=>ne,MessageExampleElement:()=>re,MessageTraitElement:()=>oe,MixedFieldsVisitor:()=>Qa,Mqtt5ChannelBindingElement:()=>ko,Mqtt5MessageBindingElement:()=>qo,Mqtt5OperationBindingElement:()=>Mo,Mqtt5ServerBindingElement:()=>Co,MqttChannelBindingElement:()=>Bo,MqttMessageBindingElement:()=>Eo,MqttOperationBindingElement:()=>jo,MqttServerBindingElement:()=>Oo,NatsChannelBindingElement:()=>$o,NatsMessageBindingElement:()=>Ao,NatsOperationBindingElement:()=>Po,NatsServerBindingElement:()=>Io,OAuthFlowElement:()=>ce,OAuthFlowsElement:()=>ae,OperationBindingsElement:()=>ue,OperationElement:()=>le,OperationTraitElement:()=>de,ParameterElement:()=>pe,ParametersElement:()=>he,PatternedFieldsVisitor:()=>_a,PulsarChannelBindingElement:()=>Fo,PulsarMessageBindingElement:()=>To,PulsarOperationBindingElement:()=>Do,PulsarServerBindingElement:()=>Vo,RedisChannelBindingElement:()=>No,RedisMessageBindingElement:()=>Ro,RedisOperationBindingElement:()=>_o,RedisServerBindingElement:()=>Lo,ReferenceElement:()=>me,SchemaElement:()=>$r,SecurityRequirementElement:()=>Ar,SecuritySchemeElement:()=>Pr,ServerBindingsElement:()=>Fr,ServerElement:()=>Ir,ServerVariableElement:()=>Dr,ServersElement:()=>Tr,SnsChannelBindingElement:()=>Jo,SnsMessageBindingElement:()=>Uo,SnsOperationBindingElement:()=>Ho,SnsServerBindingElement:()=>Go,SolaceChannelBindingElement:()=>zo,SolaceMessageBindingElement:()=>Wo,SolaceOperationBindingElement:()=>Xo,SolaceServerBindingElement:()=>Ko,SpecificationExtensionVisitor:()=>Za,SpecificationVisitor:()=>Va,SqsChannelBindingElement:()=>Yo,SqsMessageBindingElement:()=>Qo,SqsOperationBindingElement:()=>Zo,SqsServerBindingElement:()=>ec,StompChannelBindingElement:()=>tc,StompMessageBindingElement:()=>sc,StompOperationBindingElement:()=>nc,StompServerBindingElement:()=>ic,TagElement:()=>Vr,TagsElement:()=>Nr,Visitor:()=>Ta,WebSocketChannelBindingElement:()=>rc,WebSocketMessageBindingElement:()=>oc,WebSocketOperationBindingElement:()=>cc,WebSocketServerBindingElement:()=>ac,default:()=>lc,isAsyncApi2Element:()=>la,isAsyncApiExtension:()=>Fa,isAsyncApiVersionElement:()=>ua,isBooleanJsonSchemaElement:()=>Ea,isChannelBindingsElement:()=>da,isChannelItemElement:()=>pa,isChannelsElement:()=>ha,isComponentsElement:()=>ma,isContactElement:()=>ga,isIdentifierElement:()=>fa,isInfoElement:()=>ya,isLicenseElement:()=>ba,isOperationElement:()=>va,isParameterElement:()=>xa,isParametersElement:()=>Sa,isReferenceElement:()=>wa,isReferenceLikeElement:()=>Ia,isSchemaElement:()=>Ba,isSecurityRequirementElement:()=>ja,isServerBindingsElement:()=>ka,isServerElement:()=>Oa,isServerVariableElement:()=>Ma,isServersElement:()=>qa,mediaTypes:()=>f,refract:()=>Rm,refractAmqp1ChannelBinding:()=>wh,refractAmqp1MessageBinding:()=>Bh,refractAmqp1OperationBinding:()=>Eh,refractAmqp1ServerBinding:()=>jh,refractAmqpChannelBinding:()=>bh,refractAmqpMessageBinding:()=>vh,refractAmqpOperationBinding:()=>xh,refractAmqpServerBinding:()=>Sh,refractAnypointmqChannelBinding:()=>Oh,refractAnypointmqMessageBinding:()=>kh,refractAnypointmqOperationBinding:()=>qh,refractAnypointmqServerBinding:()=>Mh,refractAsyncApi2:()=>Vp,refractAsyncApiVersion:()=>Np,refractChannelBindings:()=>Gp,refractChannelItem:()=>zp,refractChannels:()=>Lp,refractComponents:()=>Wp,refractContact:()=>Xp,refractCorrelationID:()=>Kp,refractDefaultContentType:()=>_p,refractExternalDocumentation:()=>Yp,refractGooglepubsubChannelBinding:()=>Ch,refractGooglepubsubMessageBinding:()=>$h,refractGooglepubsubOperationBinding:()=>Ah,refractGooglepubsubServerBinding:()=>Ph,refractHttpChannelBinding:()=>Ih,refractHttpMessageBinding:()=>Fh,refractHttpOperationBinding:()=>Th,refractHttpServerBinding:()=>Dh,refractIbmmqChannelBinding:()=>Vh,refractIbmmqMessageBinding:()=>Nh,refractIbmmqOperationBinding:()=>Rh,refractIbmmqServerBinding:()=>_h,refractIdentifier:()=>Rp,refractInfo:()=>Qp,refractJmsChannelBinding:()=>Lh,refractJmsMessageBinding:()=>Jh,refractJmsOperationBinding:()=>Uh,refractJmsServerBinding:()=>Hh,refractKafkaChannelBinding:()=>Gh,refractKafkaMessageBinding:()=>zh,refractKafkaOperationBinding:()=>Wh,refractKafkaServerBinding:()=>Xh,refractLicense:()=>Zp,refractMercureChannelBinding:()=>Kh,refractMercureMessageBinding:()=>Yh,refractMercureOperationBinding:()=>Qh,refractMercureServerBinding:()=>Zh,refractMessage:()=>eh,refractMessageBindings:()=>th,refractMessageExample:()=>sh,refractMessageTrait:()=>nh,refractMqtt5ChannelBinding:()=>im,refractMqtt5MessageBinding:()=>rm,refractMqtt5OperationBinding:()=>om,refractMqtt5ServerBinding:()=>cm,refractMqttChannelBinding:()=>em,refractMqttMessageBinding:()=>tm,refractMqttOperationBinding:()=>sm,refractMqttServerBinding:()=>nm,refractNatsChannelBinding:()=>am,refractNatsMessageBinding:()=>lm,refractNatsOperationBinding:()=>um,refractNatsServerBinding:()=>dm,refractOAuthFlow:()=>ih,refractOAuthFlows:()=>rh,refractOperation:()=>oh,refractOperationBindings:()=>ch,refractOperationTrait:()=>ah,refractParameter:()=>lh,refractParameters:()=>Up,refractPulsarChannelBinding:()=>pm,refractPulsarMessageBinding:()=>hm,refractPulsarOperationBinding:()=>mm,refractPulsarServerBinding:()=>gm,refractRedisChannelBinding:()=>fm,refractRedisMessageBinding:()=>ym,refractRedisOperationBinding:()=>bm,refractRedisServerBinding:()=>vm,refractReference:()=>uh,refractSchema:()=>dh,refractSecurityRequirement:()=>ph,refractSecurityScheme:()=>hh,refractServer:()=>mh,refractServerBindings:()=>gh,refractServerVariable:()=>fh,refractServers:()=>Jp,refractSnsChannelBinding:()=>xm,refractSnsMessageBinding:()=>Sm,refractSnsOperationBinding:()=>wm,refractSnsServerBinding:()=>Bm,refractSolaceChannelBinding:()=>Em,refractSolaceMessageBinding:()=>jm,refractSolaceOperationBinding:()=>Om,refractSolaceServerBinding:()=>km,refractSqsChannelBinding:()=>qm,refractSqsMessageBinding:()=>Mm,refractSqsOperationBinding:()=>Cm,refractSqsServerBinding:()=>$m,refractStompChannelBinding:()=>Am,refractStompMessageBinding:()=>Pm,refractStompOperationBinding:()=>Im,refractStompServerBinding:()=>Fm,refractTag:()=>yh,refractTags:()=>Hp,refractWebSocketChannelBinding:()=>Tm,refractWebSocketMessageBinding:()=>Dm,refractWebSocketOperationBinding:()=>Vm,refractWebSocketServerBinding:()=>Nm,refractorPluginReplaceEmptyElement:()=>aa});var s={};e.r(s),e.d(s,{isAsyncApi2Element:()=>la,isAsyncApiVersionElement:()=>ua,isBooleanJsonSchemaElement:()=>Ea,isChannelBindingsElement:()=>da,isChannelItemElement:()=>pa,isChannelsElement:()=>ha,isComponentsElement:()=>ma,isContactElement:()=>ga,isIdentifierElement:()=>fa,isInfoElement:()=>ya,isLicenseElement:()=>ba,isOperationElement:()=>va,isParameterElement:()=>xa,isParametersElement:()=>Sa,isReferenceElement:()=>wa,isSchemaElement:()=>Ba,isSecurityRequirementElement:()=>ja,isServerBindingsElement:()=>ka,isServerElement:()=>Oa,isServerVariableElement:()=>Ma,isServersElement:()=>qa});var n={};function i(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function r(e){return function t(s){return 0===arguments.length||i(s)?t:e.apply(this,arguments)}}function o(e,t){return t[e<0?t.length+e:e]}e.r(n),e.d(n,{isAsyncApiExtension:()=>Fa,isReferenceLikeElement:()=>Ia});const c=r(function(e){return o(-1,e)});class a extends AggregateError{constructor(e,t,s){super(e,t,s),this.name=this.constructor.name,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}const l=a;class u extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(l,e)}constructor(e,t){super(e,t),this.name=this.constructor.name,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}const d=u;const p=class extends d{};const h=class extends p{};const m=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new h("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new h("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new h("latest method in MediaTypes class is not yet implemented.")}};class g extends m{filterByFormat(e="generic"){const t="generic"===e?"asyncapi;version":e;return this.filter(e=>e.includes(t))}findBy(e="2.6.0",t="generic"){const s="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find(e=>e.includes(s))||this.unknownMediaType}latest(e="generic"){return c(this.filterByFormat(e))}}const f=new g("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");function y(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return i(s)?t:r(function(t){return e(s,t)});default:return i(s)&&i(n)?t:i(s)?r(function(t){return e(t,n)}):i(n)?r(function(t){return e(s,t)}):e(s,n)}}}function b(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function v(e,t,s){for(var n=0,i=s.length;n<i;){if(e(t,s[n]))return!0;n+=1}return!1}function x(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const S="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var w=Object.prototype.toString;const B=function(){return"[object Arguments]"===w.call(arguments)?function(e){return"[object Arguments]"===w.call(e)}:function(e){return x("callee",e)}}();var E=!{toString:null}.propertyIsEnumerable("toString"),j=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=function(){return arguments.propertyIsEnumerable("length")}(),k=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},q="function"!=typeof Object.keys||O?r(function(e){if(Object(e)!==e)return[];var t,s,n=[],i=O&&B(e);for(t in e)!x(t,e)||i&&"length"===t||(n[n.length]=t);if(E)for(s=j.length-1;s>=0;)x(t=j[s],e)&&!k(n,t)&&(n[n.length]=t),s-=1;return n}):r(function(e){return Object(e)!==e?[]:Object.keys(e)});const M=q;const C=r(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function $(e,t,s,n){var i=b(e);function r(e,t){return A(e,t,s.slice(),n.slice())}return!v(function(e,t){return!v(r,t,e)},b(t),i)}function A(e,t,s,n){if(S(e,t))return!0;var i,r,o=C(e);if(o!==C(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(i=e.constructor,null==(r=String(i).match(/^function (\w*)/))?"":r[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!S(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!S(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=s.length-1;c>=0;){if(s[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&$(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&$(e.values(),t.values(),s.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=M(e);if(a.length!==M(t).length)return!1;var l=s.concat([e]),u=n.concat([t]);for(c=a.length-1;c>=0;){var d=a[c];if(!x(d,t)||!A(t[d],e[d],l,u))return!1;c-=1}return!0}const P=y(function(e,t){return A(e,t,[],[])});const I=class{key;value;constructor(e,t){this.key=e,this.value=t}toValue(){return{key:this.key?.toValue(),value:this.value?.toValue()}}};class F{elements;constructor(e){this.elements=e??[]}toValue(){return this.elements.map(e=>({key:e.key?.toValue(),value:e.value?.toValue()}))}map(e,t){return this.elements.map(s=>{const n=s.value,i=s.key;if(void 0===n||void 0===i)throw new Error("MemberElement must have both key and value");return void 0!==t?e.call(t,n,i,s):e(n,i,s)})}filter(e,t){const s=this.elements.filter(s=>{const n=s.value,i=s.key;return void 0!==n&&void 0!==i&&(void 0!==t?e.call(t,n,i,s):e(n,i,s))});return new F(s)}reject(e,t){const s=[];for(const n of this.elements){const i=n.value,r=n.key;void 0!==i&&void 0!==r&&(e.call(t,i,r,n)||s.push(n))}return new F(s)}forEach(e,t){this.elements.forEach((s,n)=>{const i=s.value,r=s.key;void 0!==i&&void 0!==r&&(void 0!==t?e.call(t,i,r,s,n):e(i,r,s,n))})}find(e,t){return this.elements.find(s=>{const n=s.value,i=s.key;return void 0!==n&&void 0!==i&&(void 0!==t?e.call(t,n,i,s):e(n,i,s))})}keys(){return this.elements.map(e=>e.key?.toValue()).filter(e=>void 0!==e)}values(){return this.elements.map(e=>e.value?.toValue()).filter(e=>void 0!==e)}get length(){return this.elements.length}get isEmpty(){return 0===this.length}get first(){return this.elements[0]}get(e){return this.elements[e]}push(e){return this.elements.push(e),this}includesKey(e){return this.elements.some(t=>t.key?.equals(e))}[Symbol.iterator](){return this.elements[Symbol.iterator]()}}const T=F;class D{parent;startLine;startCharacter;startOffset;endLine;endCharacter;endOffset;_storedElement="element";_content;_meta;_attributes;constructor(e,t,s){void 0!==t&&(this.meta=t),void 0!==s&&(this.attributes=s),void 0!==e&&(this.content=e)}get element(){return this._storedElement}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof D)this._content=e;else if(null!=e&&"string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e&&"bigint"!=typeof e&&"symbol"!=typeof e)if(e instanceof I)this._content=e;else if(e instanceof T)this._content=e.elements;else if(Array.isArray(e))this._content=e.map(e=>this.refract(e));else{if("object"!=typeof e)throw new Error("Cannot set content to value of type "+typeof e);this._content=Object.entries(e).map(([e,t])=>new this.MemberElement(e,t))}else this._content=e}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 D?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 D?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 links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get children(){const{_content:e}=this;if(Array.isArray(e))return e;if(e instanceof I){const t=[];return e.key&&t.push(e.key),e.value&&t.push(e.value),t}return e instanceof D?[e]:[]}get isFrozen(){return Object.isFrozen(this)}freeze(){if(!this.isFrozen){this._meta&&(this._meta.parent=this,this._meta.freeze()),this._attributes&&(this._attributes.parent=this,this._attributes.freeze());for(const e of this.children)e.parent=this,e.freeze();Array.isArray(this._content)&&Object.freeze(this._content),Object.freeze(this)}}toValue(){const{_content:e}=this;return e instanceof D||e instanceof I?e.toValue():Array.isArray(e)?e.map(e=>e.toValue()):e}equals(e){return P(this.toValue(),e)}primitive(){}set(e){return this.content=e,this}toRef(e){const t=this.id.toValue();if(""===t)throw new Error("Cannot create reference to an element without an ID");const s=new this.RefElement(t);return"string"==typeof e&&(s.path=this.refract(e)),s}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)}hasMetaProperty(e){return!this.isMetaEmpty&&this.meta.hasKey(e)}get isMetaEmpty(){return void 0===this._meta||this.meta.isEmpty}getAttributesProperty(e,t){if(!this.hasAttributesProperty(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.attributes.set(e,t)}return this.attributes.get(e)}setAttributesProperty(e,t){this.attributes.set(e,t)}hasAttributesProperty(e){return!this.isAttributesEmpty&&this.attributes.hasKey(e)}get isAttributesEmpty(){return void 0===this._attributes||this.attributes.isEmpty}}const V=D;class N extends V{constructor(e,t,s){super(e||[],t,s)}get length(){return this._content.length}get isEmpty(){return 0===this.length}get first(){return this._content[0]}get second(){return this._content[1]}get last(){return this._content.at(-1)}push(...e){for(const t of e)this._content.push(this.refract(t));return this}shift(){return this._content.shift()}unshift(e){this._content.unshift(this.refract(e))}includes(e){return this._content.some(t=>t.equals(e))}findElements(e,t){const s=t||{},n=!!s.recursive,i=void 0===s.results?[]:s.results;for(let t=0;t<this._content.length;t+=1){const s=this._content[t],r=s;n&&"function"==typeof r.findElements&&r.findElements(e,{results:i,recursive:n}),e(s,t,void 0)&&i.push(s)}return i}find(e){const t=this.findElements(e,{recursive:!0});return new this.ArrayElement(t)}findByElement(e){return this.find(t=>t.element===e)}findByClass(e){return this.find(t=>{const s=t.classes;return"function"==typeof s.includes&&s.includes(e)})}getById(e){return this.find(t=>t.id.toValue()===e).first}concat(e){return new(0,this.constructor)(this._content.concat(e._content))}[Symbol.iterator](){return this._content[Symbol.iterator]()}}const R=N;const _=class extends V{constructor(e,t,s,n){super(new I,s,n),this.element="member",void 0!==e&&(this.key=e),arguments.length>=2&&(this.value=t)}primitive(){return"member"}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=void 0===e?void 0:this.refract(e)}};const L=class extends R{constructor(e,t,s){super(e||[],t,s),this.element="object"}primitive(){return"object"}toValue(){return this._content.reduce((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e),{})}get(e){const t=this.getMember(e);if(t)return t.value}getValue(e){const t=this.get(e);if(t)return t.toValue()}getMember(e){if(void 0!==e)return this._content.find(t=>t.key.toValue()===e)}remove(e){let t=null;return this.content=this._content.filter(s=>s.key.toValue()!==e||(t=s,!1)),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if("string"==typeof e){const s=this.getMember(e);s?s.value=t:this._content.push(new _(e,t))}else if("object"==typeof e&&!Array.isArray(e))for(const t of Object.keys(e))this.set(t,e[t]);return this}keys(){return this._content.map(e=>e.key.toValue())}values(){return this._content.map(e=>e.value.toValue())}hasKey(e){return this._content.some(t=>t.key.equals(e))}items(){return this._content.map(e=>[e.key.toValue(),e.value.toValue()])}map(e,t){return this._content.map(s=>e.call(t,s.value,s.key,s))}compactMap(e,t){const s=[];return this.forEach((n,i,r)=>{const o=e.call(t,n,i,r);o&&s.push(o)}),s}filter(e,t){return new T(this._content).filter(e,t)}reject(e,t){const s=[];for(const n of this._content)e.call(t,n.value,n.key,n)||s.push(n);return new T(s)}forEach(e,t){this._content.forEach(s=>e.call(t,s.value,s.key,s))}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n=this._content[0]?.value);for(let t=s;t<this._content.length;t+=1){const s=this._content[t],i=e(n,s.value,s.key,s,this);n=void 0===i?i:this.refract(i)}return n}empty(){return new this.constructor([])}};const J=class extends L{constructor(e,t,s){super(e,t,s),this.element="asyncApi2",this.classes.push("api")}get asyncapi(){return this.get("asyncapi")}set asyncapi(e){this.set("asyncapi",e)}get idField(){return this.get("id")}set idField(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 U=class extends V{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content?.length??0}};const H=class extends U{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}};const G=class extends L{constructor(e,t,s){super(e,t,s),this.element="channelBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const z=class extends L{constructor(e,t,s){super(e,t,s),this.element="channelItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get subscribe(){return this.get("subscribe")}set subscribe(e){this.set("subscribe",e)}get publish(){return this.get("publish")}set publish(e){this.set("publish",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const W=class extends L{constructor(e,t,s){super(e,t,s),this.element="channels"}};const X=class extends L{constructor(e,t,s){super(e,t,s),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get serverVariables(){return this.get("serverVariables")}set serverVariables(e){this.set("serverVariables",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get correlationIds(){return this.get("correlationIds")}set correlationIds(e){this.set("correlationIds",e)}get operationTraits(){return this.get("operationTraits")}set operationTraits(e){this.set("operationTraits",e)}get messageTraits(){return this.get("messageTraits")}set messageTraits(e){this.set("messageTraits",e)}get serverBindings(){return this.get("serverBindings")}set serverBindings(e){this.set("serverBindings",e)}get channelBindings(){return this.get("channelBindings")}set channelBindings(e){this.set("channelBindings",e)}get operationBindings(){return this.get("operationBindings")}set operationBindings(e){this.set("operationBindings",e)}get messageBindings(){return this.get("messageBindings")}set messageBindings(e){this.set("messageBindings",e)}};const K=class extends L{constructor(e,t,s){super(e,t,s),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}};const Y=class extends L{constructor(e,t,s){super(e,t,s),this.element="correlationID"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}};const Q=class extends U{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}};const Z=class extends L{constructor(e,t,s){super(e,t,s),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}};const ee=class extends U{constructor(e,t,s){super(e,t,s),this.element="identifier"}};const te=class extends L{constructor(e,t,s){super(e,t,s),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}};const se=class extends L{constructor(e,t,s){super(e,t,s),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}};const ne=class extends L{constructor(e,t,s){super(e,t,s),this.element="message"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}};const ie=class extends L{constructor(e,t,s){super(e,t,s),this.element="messageBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const re=class extends L{constructor(e,t,s){super(e,t,s),this.element="messageExample"}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};const oe=class extends L{constructor(e,t,s){super(e,t,s),this.element="messageTrait"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const ce=class extends L{constructor(e,t,s){super(e,t,s),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}};const ae=class extends L{constructor(e,t,s){super(e,t,s),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}};const le=class extends L{constructor(e,t,s){super(e,t,s),this.element="operation"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}get message(){return this.get("message")}set message(e){this.set("message",e)}};const ue=class extends L{constructor(e,t,s){super(e,t,s),this.element="operationBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const de=class extends L{constructor(e,t,s){super(e,t,s),this.element="operationTrait"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const pe=class extends L{constructor(e,t,s){super(e,t,s),this.element="parameter"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}};const he=class extends L{constructor(e,t,s){super(e,t,s),this.element="parameters"}};const me=class extends L{constructor(e,t,s){super(e,t,s),this.element="reference",this.classes.push("json-reference"),this.classes.push("asyncapi-reference")}set $ref(e){this.set("$ref",e)}get $ref(){return this.get("$ref")}};function ge(e,t,s){for(var n=0,i=s.length;n<i;)t=e(t,s[n]),n+=1;return t}const fe=y(function(e,t){return ge(function(s,n){return s[n]=e(t[n],n,t),s},{},M(t))});const ye=r(function(e){return null==e});var be=y(function(e,t){if(0===e.length||ye(t))return!1;for(var s=t,n=0;n<e.length;){if(ye(s)||!x(e[n],s))return!1;s=s[e[n]],n+=1}return!0});const ve=be;var xe=y(function(e,t){return ve([e],t)});const Se=xe;function we(e){return function t(s,n,o){switch(arguments.length){case 0:return t;case 1:return i(s)?t:y(function(t,n){return e(s,t,n)});case 2:return i(s)&&i(n)?t:i(s)?y(function(t,s){return e(t,n,s)}):i(n)?y(function(t,n){return e(s,t,n)}):r(function(t){return e(s,n,t)});default:return i(s)&&i(n)&&i(o)?t:i(s)&&i(n)?y(function(t,s){return e(t,s,o)}):i(s)&&i(o)?y(function(t,s){return e(t,n,s)}):i(n)&&i(o)?y(function(t,n){return e(s,t,n)}):i(s)?r(function(t){return e(t,n,o)}):i(n)?r(function(t){return e(s,t,o)}):i(o)?r(function(t){return e(s,n,t)}):e(s,n,o)}}}const Be=Number.isInteger||function(e){return(e|0)===e};const Ee=function(e,t){if(null!=t)return Be(e)?o(e,t):t[e]};const je=y(Ee);const Oe=we(function(e,t,s){return e(je(t,s))});function ke(e,t){for(var s=t,n=0;n<e.length;n+=1){if(null==s)return;var i=e[n];s=Be(i)?o(i,s):s[i]}return s}const qe=y(ke);function Me(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,n){return t.apply(this,arguments)};case 4:return function(e,s,n,i){return t.apply(this,arguments)};case 5:return function(e,s,n,i,r){return t.apply(this,arguments)};case 6:return function(e,s,n,i,r,o){return t.apply(this,arguments)};case 7:return function(e,s,n,i,r,o,c){return t.apply(this,arguments)};case 8:return function(e,s,n,i,r,o,c,a){return t.apply(this,arguments)};case 9:return function(e,s,n,i,r,o,c,a,l){return t.apply(this,arguments)};case 10:return function(e,s,n,i,r,o,c,a,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Ce(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const $e=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function Ae(e){return"[object String]"===Object.prototype.toString.call(e)}const Pe=r(function(e){return!!$e(e)||!!e&&("object"==typeof e&&(!Ae(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))});var Ie="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Fe(e,t,s){return function(n,i,r){if(Pe(r))return e(n,i,r);if(null==r)return i;if("function"==typeof r["fantasy-land/reduce"])return t(n,i,r,"fantasy-land/reduce");if(null!=r[Ie])return s(n,i,r[Ie]());if("function"==typeof r.next)return s(n,i,r);if("function"==typeof r.reduce)return t(n,i,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Te(e,t,s){for(var n=0,i=s.length;n<i;){if((t=e["@@transducer/step"](t,s[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const De=y(function(e,t){return Me(e.length,function(){return e.apply(t,arguments)})});function Ve(e,t,s){for(var n=s.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=s.next()}return e["@@transducer/result"](t)}function Ne(e,t,s,n){return e["@@transducer/result"](s[n](De(e["@@transducer/step"],e),t))}const Re=Fe(Te,Ne,Ve);var _e=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 Le=we(function(e,t,s){return Re("function"==typeof e?new _e(e):e,t,s)});function Je(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return $e(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const Ue=we(Je("slice",function(e,t,s){return Array.prototype.slice.call(s,e,t)}));const He=r(Je("tail",Ue(1,1/0)));function Ge(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Me(arguments[0].length,Le(Ce,arguments[0],He(arguments)))}var ze=function(e,t){switch(arguments.length){case 0:return ze;case 1:return function t(s){return 0===arguments.length?t:S(e,s)};default:return S(e,t)}};const We=ze;function Xe(e,t){return function(e,t,s){var n,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(i=e[s])&&1/i===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(i=e[s])&&i!=i)return s;s+=1}return-1}return e.indexOf(t,s);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,s);case"object":if(null===t)return e.indexOf(t,s)}for(;s<e.length;){if(P(e[s],t))return s;s+=1}return-1}(t,e,0)>=0}function Ke(e,t){for(var s=0,n=t.length,i=Array(n);s<n;)i[s]=e(t[s]),s+=1;return i}function Ye(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 Qe=function(e){return(e<10?"0":"")+e};const Ze="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Qe(e.getUTCMonth()+1)+"-"+Qe(e.getUTCDate())+"T"+Qe(e.getUTCHours())+":"+Qe(e.getUTCMinutes())+":"+Qe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function et(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!$e(n)){for(var i=0;i<e.length;){if("function"==typeof n[e[i]])return n[e[i]].apply(n,Array.prototype.slice.call(arguments,0,-1));i+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return s.apply(this,arguments)}}function tt(e){return"[object Object]"===Object.prototype.toString.call(e)}const st=function(){return this.xf["@@transducer/init"]()},nt=function(e){return this.xf["@@transducer/result"](e)};var it=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function rt(e){return function(t){return new it(e,t)}}var ot=y(et(["fantasy-land/filter","filter"],rt,function(e,t){return tt(t)?ge(function(s,n){return e(t[n])&&(s[n]=t[n]),s},{},M(t)):(s=t,"[object Map]"===Object.prototype.toString.call(s)?function(e,t){for(var s=new Map,n=t.entries(),i=n.next();!i.done;)e(i.value[1])&&s.set(i.value[0],i.value[1]),i=n.next();return s}(e,t):function(e,t){for(var s=0,n=t.length,i=[];s<n;)e(t[s])&&(i[i.length]=t[s]),s+=1;return i}(e,t));var s}));const ct=ot;const at=y(function(e,t){return ct((s=e,function(){return!s.apply(this,arguments)}),t);var s});function lt(e,t){var s=function(s){var n=t.concat([e]);return Xe(s,n)?"<Circular>":lt(s,n)},n=function(e,t){return Ke(function(t){return Ye(t)+": "+s(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Ke(s,e).join(", ")+"))";case"[object Array]":return"["+Ke(s,e).concat(n(e,at(function(e){return/^\d+$/.test(e)},M(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+s(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?s(NaN):Ye(Ze(e)))+")";case"[object Map]":return"new Map("+s(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+s(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+s(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+s(e.valueOf())+")":Ye(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var i=e.toString();if("[object Object]"!==i)return i}return"{"+n(e,M(e)).join(", ")+"}"}}const ut=r(function(e){return lt(e,[])});const dt=we(function(e,t,s){return e(ke(t,s))});function pt(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const ht=y(function(e,t){return e&&t});function mt(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function gt(e,t,s,n){return s[n](e,t)}const ft=Fe(ge,gt,mt);var yt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const bt=function(e){return function(t){return new yt(e,t)}};function vt(e,t,s){return function(){for(var n=[],r=0,o=e,c=0,a=!1;c<t.length||r<arguments.length;){var l;c<t.length&&(!i(t[c])||r>=arguments.length)?l=t[c]:(l=arguments[r],r+=1),n[c]=l,i(l)?a=!0:o-=1,c+=1}return!a&&o<=0?s.apply(this,n):Me(Math.max(0,o),vt(e,n,s))}}const xt=y(function(e,t){return 1===e?r(t):Me(e,vt(e,[],t))});const St=y(et(["fantasy-land/map","map"],bt,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return xt(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return ge(function(s,n){return s[n]=e(t[n]),s},{},M(t));default:return Ke(e,t)}}));const wt=y(function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(s){return e(s)(t(s))}:ft(function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,i=t.length,r=[];for(s=0;s<n;)r[r.length]=e[s],s+=1;for(s=0;s<i;)r[r.length]=t[s],s+=1;return r}(e,St(s,t))},[],e)});const Bt=y(function(e,t){var s=xt(e,t);return xt(e,function(){return ge(wt,St(s,arguments[0]),Array.prototype.slice.call(arguments,1))})});const Et=r(function(e){return Bt(e.length,e)});const jt=y(function(e,t){return pt(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Et(ht)(e,t)});const Ot=P(null);const kt=Et(r(function(e){return!e}));const qt=kt(Ot);function Mt(e){return Mt="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},Mt(e)}const Ct=function(e){return"object"===Mt(e)};const $t=xt(1,jt(qt,Ct));const At=y(function(e,t){if(e===t)return t;function s(e,t){if(e>t!=t>e)return t>e?t:e}var n=s(e,t);if(void 0!==n)return n;var i=s(typeof e,typeof t);if(void 0!==i)return i===typeof e?e:t;var r=ut(e),o=s(r,ut(t));return void 0!==o&&o===r?e:t});const Pt=y(function(e,t){return St(je(e),t)});const It=r(function(e){return xt(Le(At,0,Pt("length",e)),function(){for(var t=0,s=e.length;t<s;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})});const Ft=xt(1,Ge(C,We("GeneratorFunction")));const Tt=xt(1,Ge(C,We("AsyncFunction")));const Dt=It([Ge(C,We("Function")),Ft,Tt]);var Vt=Ge(C,We("Object")),Nt=Ge(ut,P(ut(Object))),Rt=dt(jt(Dt,Nt),["constructor"]);const _t=xt(1,function(e){if(!$t(e)||!Vt(e))return!1;var t=Object.getPrototypeOf(e);return!!Ot(t)||Rt(t)});const Lt=xt(1,Ge(C,We("String")));const Jt=r(function(e){return xt(e.length,e)});const Ut=y(function(e,t){return xt(e+1,function(){var s=arguments[e];if(null!=s&&pt(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(ut(s)+' does not have a method named "'+t+'"')})});const Ht=Ut(1,"split");var Gt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function zt(e){return function(t){return new Gt(e,t)}}const Wt=y(et(["dropWhile"],zt,function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return Ue(s,1/0,t)}));const Xt=Ut(1,"join");const Kt=r(function(e){return xt(e.length,function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)})})(y(Xe));const Yt=Jt(function(e,t){return Ge(Ht(""),Wt(Kt(e)),Xt(""))(t)}),Qt=new WeakMap,Zt=e=>{if(Qt.has(e))return Qt.get(e);const t={},s=(e,n,i)=>("string"==typeof e.element&&(t[e.element]=e.$visitor?[...i,"$visitor"]:i),fe((e,t)=>{const r=[...i,t];if(_t(e)&&Se("$ref",e)&&Oe(Lt,"$ref",e)){const t=qe(["$ref"],e),s=Yt("#/",t);return qe(s.split("/"),n)}return _t(e)?s(e,n,r):e},e)),n=s(e,e,[]);return n.elementMap=t,Qt.set(e,n),n};const es=class extends L{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idField(){return this.get("id")}set idField(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get itemsField(){return this.get("items")}set itemsField(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 linksField(){return this.get("links")}set linksField(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 ts=class extends L{constructor(e,t,s){super(e,t,s),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}};const ss=class extends L{constructor(e,t,s){super(e,t,s),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}};const ns=class extends L{constructor(e,t,s){super(e,t,s),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const is=class extends V{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}};const rs=class extends V{constructor(e,t,s){super(e??null,t,s),this.element="null"}primitive(){return"null"}set(e){throw new Error("Cannot set the value of null")}};const os=class extends V{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}};const cs=class extends R{constructor(e,t,s){super(e||[],t,s),this.element="array"}primitive(){return"array"}get(e){return this._content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}set(e,t){return"number"==typeof e&&void 0!==t?this._content[e]=this.refract(t):this.content=e,this}remove(e){return this._content.splice(e,1)[0]??null}map(e,t){return this._content.map(e,t)}flatMap(e,t){return this._content.flatMap(e,t)}compactMap(e,t){const s=[];for(const n of this._content){const i=e.call(t,n);i&&s.push(i)}return s}filter(e,t){const s=this._content.filter(e,t);return new this.constructor(s)}reject(e,t){const s=[];for(const n of this._content)e.call(t,n)||s.push(n);return new this.constructor(s)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n=this.first);for(let t=s;t<this.length;t+=1){const s=e(n,this._content[t],t,this);n=void 0===s?s:this.refract(s)}return n}forEach(e,t){this._content.forEach((s,n)=>{e.call(t,s,n)})}empty(){return new this.constructor([])}},as=e=>e instanceof V,ls=e=>e instanceof U,us=e=>e instanceof is,ds=e=>e instanceof rs,ps=e=>e instanceof os,hs=e=>e instanceof cs,ms=e=>e instanceof L,gs=e=>e instanceof _,fs=e=>"number"==typeof e.startLine&&"number"==typeof e.startCharacter&&"number"==typeof e.startOffset&&"number"==typeof e.endLine&&"number"==typeof e.endCharacter&&"number"==typeof e.endOffset,ys=(e,t)=>0===t.length||!!as(e)&&(!e.isMetaEmpty&&(!!e.hasMetaProperty("classes")&&t.every(t=>e.classes.includes(t))));class bs extends U{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}static transfer(e,t){t.startLine=e.startLine,t.startCharacter=e.startCharacter,t.startOffset=e.startOffset,t.endLine=e.endLine,t.endCharacter=e.endCharacter,t.endOffset=e.endOffset}static from(e){const{startLine:t,startCharacter:s,startOffset:n,endLine:i,endCharacter:r,endOffset:o}=e;if("number"!=typeof t||"number"!=typeof s||"number"!=typeof n||"number"!=typeof i||"number"!=typeof r||"number"!=typeof o)return;const c="sm1:"+[t,s,n,i,r,o].map(xs).join("");const a=new bs(c);return a.startLine=t,a.startCharacter=s,a.startOffset=n,a.endLine=i,a.endCharacter=r,a.endOffset=o,a}applyTo(e){this.content&&([e.startLine,e.startCharacter,e.startOffset,e.endLine,e.endCharacter,e.endOffset]=function(e){const t=e.startsWith("sm1:")?e.slice(4):e,s=[];let n=0;for(let e=0;e<6;e++){const e=Ss(t,n);s.push(e.value),n=e.next}return s}(this.content))}}const vs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function xs(e){let t=e>>>0,s="";do{let e=31&t;t>>>=5,0!==t&&(e|=32),s+=vs[e]}while(0!==t);return s}function Ss(e,t=0){let s=0,n=0,i=t;for(;;){const t=e[i++],r=vs.indexOf(t);if(-1===r)throw new Error(`Invalid Base64 VLQ char: ${t}`);if(s|=(31&r)<<n,n+=5,!!!(32&r))break}return{value:s>>>0,next:i}}const ws=bs;const Bs=class extends d{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}};const Es=class extends Bs{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const js=class extends Es{};const Os=class extends Es{},ks=(e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const i=$s(e);s.set(e,i);const{content:r}=e;return Array.isArray(r)?i.content=r.map(e=>ks(e,n)):as(r)?i.content=ks(r,n):i.content=r instanceof I?qs(r,n):r,i},qs=(e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const{key:i,value:r}=e,o=void 0!==i?ks(i,n):void 0,c=void 0!==r?ks(r,n):void 0,a=new I(o,c);return s.set(e,a),a},Ms=(e,t={})=>{if(e instanceof I)return qs(e,t);if(e instanceof T)return((e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const i=[...e].map(e=>ks(e,n)),r=new T(i);return s.set(e,r),r})(e,t);if(as(e))return ks(e,t);throw new js("Value provided to cloneDeep function couldn't be cloned",{value:e})};Ms.safe=e=>{try{return Ms(e)}catch{return e}};const Cs=e=>{const{key:t,value:s}=e;return new I(t,s)},$s=e=>{const t=new(0,e.constructor);t.element=e.element,e.isMetaEmpty||(t.meta=Ms(e.meta)),e.isAttributesEmpty||(t.attributes=Ms(e.attributes)),fs(e)&&ws.transfer(e,t);const{content:s}=e;return as(s)?t.content=$s(s):Array.isArray(s)?t.content=[...s]:t.content=s instanceof I?Cs(s):s,t},As=e=>{if(e instanceof I)return Cs(e);if(e instanceof T)return(e=>{const t=[...e];return new T(t)})(e);if(as(e))return $s(e);throw new Os("Value provided to cloneShallow function couldn't be cloned",{value:e})};As.safe=e=>{try{return As(e)}catch{return e}};const Ps=class extends V{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){if(this.hasAttributesProperty("relation"))return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){if(this.hasAttributesProperty("href"))return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}};const Is=class extends V{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){if(this.hasAttributesProperty("path"))return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}};const Fs=class extends U{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){if(this.hasAttributesProperty("code"))return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}};const Ts=class extends U{constructor(e,t,s){super(e,t,s),this.element="comment"}};const Ds=class extends cs{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.filter(e=>ys(e,["api"])).first}get results(){return this.filter(e=>ys(e,["result"]))}get result(){return this.results.first}get annotations(){return this.filter(e=>"annotation"===e.element)}get warnings(){return this.filter(e=>"annotation"===e.element&&ys(e,["warning"]))}get errors(){return this.filter(e=>"annotation"===e.element&&ys(e,["error"]))}get isEmpty(){return 0===this.reject(e=>"annotation"===e.element).length}replaceResult(e){const{result:t}=this;if(void 0===t)return!1;const s=this._content,n=s.findIndex(e=>e===t);return-1!==n&&(s[n]=e,!0)}},Vs=e=>e instanceof Ps,Ns=e=>e instanceof Is,Rs=e=>{if(!as(e))return e;if(ls(e)||us(e)||ps(e)||ds(e))return e.toValue();const t=new WeakMap,s=e=>{if(!as(e))return e;if(ms(e)){if(t.has(e))return t.get(e);const n={};return t.set(e,n),e.forEach((e,t)=>{const i=s(t),r=s(e);"string"==typeof i&&(n[i]=r)}),n}if(hs(e)){if(t.has(e))return t.get(e);const n=[];return t.set(e,n),e.forEach(e=>n.push(s(e))),n}return Ns(e)?String(e.toValue()):Vs(e)?ls(e.href)?e.href.toValue():"":e.toValue()};return s(e)},_s=e=>{const t=e.isMetaEmpty?void 0:Ms(e.meta),s=e.isAttributesEmpty?void 0:Ms(e.attributes);return new e.constructor(void 0,t,s)},Ls=(e,t)=>t.clone&&t.isMergeableElement(e)?Us(_s(e),e,t):e,Js={clone:!0,isMergeableElement:e=>ms(e)||hs(e),arrayElementMerge:(e,t,s)=>new(0,e.constructor)(e.concat(t).map(e=>Ls(e,s))),objectElementMerge:(e,t,s)=>{const n=ms(e)?_s(e):_s(t);return ms(e)&&e.forEach((e,t,i)=>{const r=As(i);r.value=Ls(e,s),n.content.push(r)}),t.forEach((t,i,r)=>{const o=Rs(i);let c;if(ms(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);c=As(r),c.value=((e,t)=>{if("function"!=typeof t.customMerge)return Us;const s=t.customMerge(e,t);return"function"==typeof s?s:Us})(i,s)(n,t,s)}else c=As(r),c.value=Ls(t,s);n.remove(o),n.content.push(c)}),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},Us=(e,t,s)=>{const n={...Js,...s};n.isMergeableElement=n.isMergeableElement??Js.isMergeableElement,n.arrayElementMerge=n.arrayElementMerge??Js.arrayElementMerge,n.objectElementMerge=n.objectElementMerge??Js.objectElementMerge;const i=hs(t);if(!(i===hs(e)))return Ls(t,n);const r=i&&"function"==typeof n.arrayElementMerge?n.arrayElementMerge(e,t,n):n.objectElementMerge(e,t,n);return r.meta=(e=>"function"!=typeof e.customMetaMerge?e=>Ms(e):e.customMetaMerge)(n)(e.meta,t.meta),r.attributes=(e=>"function"!=typeof e.customAttributesMerge?e=>Ms(e):e.customAttributesMerge)(n)(e.attributes,t.attributes),r};Us.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new L:e.reduce((e,s)=>Us(e,s,t),_s(e[0]))};const Hs=Us;const Gs=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new L:t.meta,n=e.isMetaEmpty?new L:e.meta;t.meta=Hs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new L:t.attributes,n=e.isAttributesEmpty?new L:e.attributes;t.attributes=Hs(s,n)}ws.transfer(e,t)}};const zs=class extends Gs{enter(e){this.element=Ms(e.node),e.stop()}};const Ws=r(function(e){return function(){return e}});const Xs=y(function(e,t){return null==t||t!=t?e:t});const Ks=Ws(void 0);const Ys=P(Ks());const Qs=r(function(e){return xt(Le(At,0,Pt("length",e)),function(){for(var t=0,s=e.length;t<s;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})});var Zs=r(function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:$e(e)?[]:Ae(e)?"":tt(e)?{}:B(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 en=Zs;const tn=r(function(e){return null!=e&&P(e,en(e))});const sn=r(function(e){return!tn(e)});const nn=y(function(e,t){return e||t});const rn=xt(1,jt(qt,y(function(e,t){return pt(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Et(nn)(e,t)})(Ct,Dt)));var on=kt(rn);const cn=Qs([Lt,on,sn]);const an=y(function(e,t){for(var s={},n=0;n<e.length;)e[n]in t&&(s[e[n]]=t[e[n]]),n+=1;return s}),ln=function(){const e=dn,t=un,s=this,n="parser.js: Parser(): ";s.ast=void 0,s.stats=void 0,s.trace=void 0,s.callbacks=[];let i,r,o,c,a,l,u,d=0,p=0,h=0,m=0,g=0,f=new function(){this.state=e.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=e.ACTIVE,this.phraseLength=0}};s.parse=(y,b,x,S)=>{const w=`${n}parse(): `;d=0,p=0,h=0,m=0,g=0,i=void 0,r=void 0,o=void 0,c=void 0,f.refresh(),a=void 0,l=void 0,u=void 0,c=t.stringToChars(x),i=y.rules,r=y.udts;const B=b.toLowerCase();let E;for(const e in i)if(i.hasOwnProperty(e)&&B===i[e].lower){E=i[e].index;break}if(void 0===E)throw new Error(`${w}start rule name '${startRule}' not recognized`);(()=>{const e=`${n}initializeCallbacks(): `;let t,o;for(a=[],l=[],t=0;t<i.length;t+=1)a[t]=void 0;for(t=0;t<r.length;t+=1)l[t]=void 0;const c=[];for(t=0;t<i.length;t+=1)c.push(i[t].lower);for(t=0;t<r.length;t+=1)c.push(r[t].lower);for(const n in s.callbacks)if(s.callbacks.hasOwnProperty(n)){if(t=c.indexOf(n.toLowerCase()),t<0)throw new Error(`${e}syntax callback '${n}' not a rule or udt name`);if(o=s.callbacks[n]?s.callbacks[n]:void 0,"function"!=typeof o&&void 0!==o)throw new Error(`${e}syntax callback[${n}] must be function reference or falsy)`);t<i.length?a[t]=o:l[t-i.length]=o}})(),s.trace&&s.trace.init(i,r,c),s.stats&&s.stats.init(i,r),s.ast&&s.ast.init(i,r,c),u=S,o=[{type:e.RNM,index:E}],v(0,0),o=void 0;let j=!1;switch(f.state){case e.ACTIVE:throw new Error(`${w}final state should never be 'ACTIVE'`);case e.NOMATCH:j=!1;break;case e.EMPTY:case e.MATCH:j=f.phraseLength===c.length;break;default:throw new Error("unrecognized state")}return{success:j,state:f.state,stateName:e.idName(f.state),length:c.length,matched:f.phraseLength,maxMatched:g,maxTreeDepth:h,nodeHits:m}};const y=(t,s,i,r)=>{if(s.phraseLength>i){let e=`${n}opRNM(${t.name}): callback function error: `;throw e+=`sysData.phraseLength: ${s.phraseLength}`,e+=` must be <= remaining chars: ${i}`,new Error(e)}switch(s.state){case e.ACTIVE:if(!r)throw new Error(`${n}opRNM(${t.name}): callback function return error. ACTIVE state not allowed.`);break;case e.EMPTY:s.phraseLength=0;break;case e.MATCH:0===s.phraseLength&&(s.state=e.EMPTY);break;case e.NOMATCH:s.phraseLength=0;break;default:throw new Error(`${n}opRNM(${t.name}): callback function return error. Unrecognized return state: ${s.state}`)}},b=(t,a)=>{let p,h,m;const g=o[t],y=r[g.index];f.UdtIndex=y.index,d||(m=s.ast&&s.ast.udtDefined(g.index),m&&(h=i.length+g.index,p=s.ast.getLength(),s.ast.down(h,y.name)));const b=c.length-a;l[g.index](f,c,a,u),((t,s,i)=>{if(s.phraseLength>i){let e=`${n}opUDT(${t.name}): callback function error: `;throw e+=`sysData.phraseLength: ${s.phraseLength}`,e+=` must be <= remaining chars: ${i}`,new Error(e)}switch(s.state){case e.ACTIVE:throw new Error(`${n}opUDT(${t.name}) ACTIVE state return not allowed.`);case e.EMPTY:if(!t.empty)throw new Error(`${n}opUDT(${t.name}) may not return EMPTY.`);s.phraseLength=0;break;case e.MATCH:if(0===s.phraseLength){if(!t.empty)throw new Error(`${n}opUDT(${t.name}) may not return EMPTY.`);s.state=e.EMPTY}break;case e.NOMATCH:s.phraseLength=0;break;default:throw new Error(`${n}opUDT(${t.name}): callback function return error. Unrecognized return state: ${s.state}`)}})(y,f,b),d||m&&(f.state===e.NOMATCH?s.ast.setLength(p):s.ast.up(h,y.name,a,f.phraseLength))},v=(t,r)=>{const l=`${n}opExecute(): `,x=o[t];switch(m+=1,p>h&&(h=p),p+=1,f.refresh(),s.trace&&s.trace.down(x,r),x.type){case e.ALT:((t,s)=>{const n=o[t];for(let t=0;t<n.children.length&&(v(n.children[t],s),f.state===e.NOMATCH);t+=1);})(t,r);break;case e.CAT:((t,n)=>{let i,r,c,a;const l=o[t];s.ast&&(r=s.ast.getLength()),i=!0,c=n,a=0;for(let t=0;t<l.children.length;t+=1){if(v(l.children[t],c),f.state===e.NOMATCH){i=!1;break}c+=f.phraseLength,a+=f.phraseLength}i?(f.state=0===a?e.EMPTY:e.MATCH,f.phraseLength=a):(f.state=e.NOMATCH,f.phraseLength=0,s.ast&&s.ast.setLength(r))})(t,r);break;case e.REP:((t,n)=>{let i,r,a,l;const u=o[t];if(0===u.max)return f.state=e.EMPTY,void(f.phraseLength=0);for(r=n,a=0,l=0,s.ast&&(i=s.ast.getLength());!(r>=c.length)&&(v(t+1,r),f.state!==e.NOMATCH)&&f.state!==e.EMPTY&&(l+=1,a+=f.phraseLength,r+=f.phraseLength,l!==u.max););f.state===e.EMPTY||l>=u.min?(f.state=0===a?e.EMPTY:e.MATCH,f.phraseLength=a):(f.state=e.NOMATCH,f.phraseLength=0,s.ast&&s.ast.setLength(i))})(t,r);break;case e.RNM:((t,n)=>{let r,l,p;const h=o[t],m=i[h.index],g=a[m.index];if(d||(l=s.ast&&s.ast.ruleDefined(h.index),l&&(r=s.ast.getLength(),s.ast.down(h.index,i[h.index].name))),g){const t=c.length-n;g(f,c,n,u),y(m,f,t,!0),f.state===e.ACTIVE&&(p=o,o=m.opcodes,v(0,n),o=p,g(f,c,n,u),y(m,f,t,!1))}else p=o,o=m.opcodes,v(0,n,f),o=p;d||l&&(f.state===e.NOMATCH?s.ast.setLength(r):s.ast.up(h.index,m.name,n,f.phraseLength))})(t,r);break;case e.TRG:((t,s)=>{const n=o[t];f.state=e.NOMATCH,s<c.length&&n.min<=c[s]&&c[s]<=n.max&&(f.state=e.MATCH,f.phraseLength=1)})(t,r);break;case e.TBS:((t,s)=>{const n=o[t],i=n.string.length;if(f.state=e.NOMATCH,s+i<=c.length){for(let e=0;e<i;e+=1)if(c[s+e]!==n.string[e])return;f.state=e.MATCH,f.phraseLength=i}})(t,r);break;case e.TLS:((t,s)=>{let n;const i=o[t];f.state=e.NOMATCH;const r=i.string.length;if(0!==r){if(s+r<=c.length){for(let e=0;e<r;e+=1)if(n=c[s+e],n>=65&&n<=90&&(n+=32),n!==i.string[e])return;f.state=e.MATCH,f.phraseLength=r}}else f.state=e.EMPTY})(t,r);break;case e.UDT:b(t,r);break;case e.AND:((t,s)=>{switch(d+=1,v(t+1,s),d-=1,f.phraseLength=0,f.state){case e.EMPTY:case e.MATCH:f.state=e.EMPTY;break;case e.NOMATCH:f.state=e.NOMATCH;break;default:throw new Error(`opAND: invalid state ${f.state}`)}})(t,r);break;case e.NOT:((t,s)=>{switch(d+=1,v(t+1,s),d-=1,f.phraseLength=0,f.state){case e.EMPTY:case e.MATCH:f.state=e.NOMATCH;break;case e.NOMATCH:f.state=e.EMPTY;break;default:throw new Error(`opNOT: invalid state ${f.state}`)}})(t,r);break;default:throw new Error(`${l}unrecognized operator`)}d||r+f.phraseLength>g&&(g=r+f.phraseLength),s.stats&&s.stats.collect(x,f),s.trace&&s.trace.up(x,f.state,r,f.phraseLength),p-=1}},un={stringToChars:e=>[...e].map(e=>e.codePointAt(0)),charsToString:(e,t,s)=>{let n=e;for(;!(void 0===t||t<0);){if(void 0===s){n=e.slice(t);break}if(s<=0)return"";n=e.slice(t,t+s);break}return String.fromCodePoint(...n)}},dn={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,idName:e=>{switch(e){case dn.ALT:return"ALT";case dn.CAT:return"CAT";case dn.REP:return"REP";case dn.RNM:return"RNM";case dn.TRG:return"TRG";case dn.TBS:return"TBS";case dn.TLS:return"TLS";case dn.UDT:return"UDT";case dn.AND:return"AND";case dn.NOT:return"NOT";case dn.ACTIVE:return"ACTIVE";case dn.EMPTY:return"EMPTY";case dn.MATCH:return"MATCH";case dn.NOMATCH:return"NOMATCH";case dn.SEM_PRE:return"SEM_PRE";case dn.SEM_POST:return"SEM_POST";case dn.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};function pn(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"json-pointer",lower:"json-pointer",index:0,isBkr:!1},this.rules[1]={name:"reference-token",lower:"reference-token",index:1,isBkr:!1},this.rules[2]={name:"unescaped",lower:"unescaped",index:2,isBkr:!1},this.rules[3]={name:"escaped",lower:"escaped",index:3,isBkr:!1},this.rules[4]={name:"array-location",lower:"array-location",index:4,isBkr:!1},this.rules[5]={name:"array-index",lower:"array-index",index:5,isBkr:!1},this.rules[6]={name:"array-dash",lower:"array-dash",index:6,isBkr:!1},this.rules[7]={name:"slash",lower:"slash",index:7,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:0,max:1/0},this.rules[0].opcodes[1]={type:2,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:7},this.rules[0].opcodes[3]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:0,max:1/0},this.rules[1].opcodes[1]={type:1,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:2},this.rules[1].opcodes[3]={type:4,index:3},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:1,children:[1,2,3]},this.rules[2].opcodes[1]={type:5,min:0,max:46},this.rules[2].opcodes[2]={type:5,min:48,max:125},this.rules[2].opcodes[3]={type:5,min:127,max:1114111},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2]},this.rules[3].opcodes[1]={type:7,string:[126]},this.rules[3].opcodes[2]={type:1,children:[3,4]},this.rules[3].opcodes[3]={type:7,string:[48]},this.rules[3].opcodes[4]={type:7,string:[49]},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:1,children:[1,2]},this.rules[4].opcodes[1]={type:4,index:5},this.rules[4].opcodes[2]={type:4,index:6},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2]},this.rules[5].opcodes[1]={type:6,string:[48]},this.rules[5].opcodes[2]={type:2,children:[3,4]},this.rules[5].opcodes[3]={type:5,min:49,max:57},this.rules[5].opcodes[4]={type:3,min:0,max:1/0},this.rules[5].opcodes[5]={type:5,min:48,max:57},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:7,string:[45]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:7,string:[47]},this.toString=function(){let e="";return e+="; JavaScript Object Notation (JSON) Pointer ABNF syntax\n",e+="; https://datatracker.ietf.org/doc/html/rfc6901\n",e+="json-pointer = *( slash reference-token ) ; MODIFICATION: surrogate text rule used\n",e+="reference-token = *( unescaped / escaped )\n",e+="unescaped = %x00-2E / %x30-7D / %x7F-10FFFF\n",e+=" ; %x2F ('/') and %x7E ('~') are excluded from 'unescaped'\n",e+='escaped = "~" ( "0" / "1" )\n',e+=" ; representing '~' and '/', respectively\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6901#section-4\n",e+="array-location = array-index / array-dash\n",e+="array-index = %x30 / ( %x31-39 *(%x30-39) )\n",e+=' ; "0", or digits without a leading "0"\n',e+='array-dash = "-"\n',e+="\n",e+="; Surrogate named rules\n",e+='slash = "/"\n','; JavaScript Object Notation (JSON) Pointer ABNF syntax\n; https://datatracker.ietf.org/doc/html/rfc6901\njson-pointer = *( slash reference-token ) ; MODIFICATION: surrogate text rule used\nreference-token = *( unescaped / escaped )\nunescaped = %x00-2E / %x30-7D / %x7F-10FFFF\n ; %x2F (\'/\') and %x7E (\'~\') are excluded from \'unescaped\'\nescaped = "~" ( "0" / "1" )\n ; representing \'~\' and \'/\', respectively\n\n; https://datatracker.ietf.org/doc/html/rfc6901#section-4\narray-location = array-index / array-dash\narray-index = %x30 / ( %x31-39 *(%x30-39) )\n ; "0", or digits without a leading "0"\narray-dash = "-"\n\n; Surrogate named rules\nslash = "/"\n'}}class hn extends Error{constructor(e,t=void 0){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}if(null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}}const mn=hn;new pn;new pn,new ln,new pn,new ln,new pn,new ln,new pn,new ln;const gn=e=>{if("string"!=typeof e&&"number"!=typeof e)throw new TypeError("Reference token must be a string or number");return String(e).replace(/~/g,"~0").replace(/\//g,"~1")};const fn=class extends mn{},yn=e=>{if(!Array.isArray(e))throw new TypeError("Reference tokens must be a list of strings or numbers");try{return 0===e.length?"":`/${e.map(e=>{if("string"!=typeof e&&"number"!=typeof e)throw new TypeError("Reference token must be a string or number");return gn(String(e))}).join("/")}`}catch(t){throw new fn("Unexpected error during JSON Pointer compilation",{cause:t,referenceTokens:e})}};class bn extends Error{constructor(e,t=void 0){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}if(null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}}const vn=bn;new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"jsonpath-query",lower:"jsonpath-query",index:0,isBkr:!1},this.rules[1]={name:"segments",lower:"segments",index:1,isBkr:!1},this.rules[2]={name:"B",lower:"b",index:2,isBkr:!1},this.rules[3]={name:"S",lower:"s",index:3,isBkr:!1},this.rules[4]={name:"root-identifier",lower:"root-identifier",index:4,isBkr:!1},this.rules[5]={name:"selector",lower:"selector",index:5,isBkr:!1},this.rules[6]={name:"name-selector",lower:"name-selector",index:6,isBkr:!1},this.rules[7]={name:"string-literal",lower:"string-literal",index:7,isBkr:!1},this.rules[8]={name:"double-quoted",lower:"double-quoted",index:8,isBkr:!1},this.rules[9]={name:"single-quoted",lower:"single-quoted",index:9,isBkr:!1},this.rules[10]={name:"ESC",lower:"esc",index:10,isBkr:!1},this.rules[11]={name:"unescaped",lower:"unescaped",index:11,isBkr:!1},this.rules[12]={name:"escapable",lower:"escapable",index:12,isBkr:!1},this.rules[13]={name:"hexchar",lower:"hexchar",index:13,isBkr:!1},this.rules[14]={name:"non-surrogate",lower:"non-surrogate",index:14,isBkr:!1},this.rules[15]={name:"high-surrogate",lower:"high-surrogate",index:15,isBkr:!1},this.rules[16]={name:"low-surrogate",lower:"low-surrogate",index:16,isBkr:!1},this.rules[17]={name:"HEXDIG",lower:"hexdig",index:17,isBkr:!1},this.rules[18]={name:"wildcard-selector",lower:"wildcard-selector",index:18,isBkr:!1},this.rules[19]={name:"index-selector",lower:"index-selector",index:19,isBkr:!1},this.rules[20]={name:"int",lower:"int",index:20,isBkr:!1},this.rules[21]={name:"DIGIT1",lower:"digit1",index:21,isBkr:!1},this.rules[22]={name:"slice-selector",lower:"slice-selector",index:22,isBkr:!1},this.rules[23]={name:"start",lower:"start",index:23,isBkr:!1},this.rules[24]={name:"end",lower:"end",index:24,isBkr:!1},this.rules[25]={name:"step",lower:"step",index:25,isBkr:!1},this.rules[26]={name:"filter-selector",lower:"filter-selector",index:26,isBkr:!1},this.rules[27]={name:"logical-expr",lower:"logical-expr",index:27,isBkr:!1},this.rules[28]={name:"logical-or-expr",lower:"logical-or-expr",index:28,isBkr:!1},this.rules[29]={name:"logical-and-expr",lower:"logical-and-expr",index:29,isBkr:!1},this.rules[30]={name:"basic-expr",lower:"basic-expr",index:30,isBkr:!1},this.rules[31]={name:"paren-expr",lower:"paren-expr",index:31,isBkr:!1},this.rules[32]={name:"logical-not-op",lower:"logical-not-op",index:32,isBkr:!1},this.rules[33]={name:"test-expr",lower:"test-expr",index:33,isBkr:!1},this.rules[34]={name:"filter-query",lower:"filter-query",index:34,isBkr:!1},this.rules[35]={name:"rel-query",lower:"rel-query",index:35,isBkr:!1},this.rules[36]={name:"current-node-identifier",lower:"current-node-identifier",index:36,isBkr:!1},this.rules[37]={name:"comparison-expr",lower:"comparison-expr",index:37,isBkr:!1},this.rules[38]={name:"literal",lower:"literal",index:38,isBkr:!1},this.rules[39]={name:"comparable",lower:"comparable",index:39,isBkr:!1},this.rules[40]={name:"comparison-op",lower:"comparison-op",index:40,isBkr:!1},this.rules[41]={name:"singular-query",lower:"singular-query",index:41,isBkr:!1},this.rules[42]={name:"rel-singular-query",lower:"rel-singular-query",index:42,isBkr:!1},this.rules[43]={name:"abs-singular-query",lower:"abs-singular-query",index:43,isBkr:!1},this.rules[44]={name:"singular-query-segments",lower:"singular-query-segments",index:44,isBkr:!1},this.rules[45]={name:"name-segment",lower:"name-segment",index:45,isBkr:!1},this.rules[46]={name:"index-segment",lower:"index-segment",index:46,isBkr:!1},this.rules[47]={name:"number",lower:"number",index:47,isBkr:!1},this.rules[48]={name:"frac",lower:"frac",index:48,isBkr:!1},this.rules[49]={name:"exp",lower:"exp",index:49,isBkr:!1},this.rules[50]={name:"true",lower:"true",index:50,isBkr:!1},this.rules[51]={name:"false",lower:"false",index:51,isBkr:!1},this.rules[52]={name:"null",lower:"null",index:52,isBkr:!1},this.rules[53]={name:"function-name",lower:"function-name",index:53,isBkr:!1},this.rules[54]={name:"function-name-first",lower:"function-name-first",index:54,isBkr:!1},this.rules[55]={name:"function-name-char",lower:"function-name-char",index:55,isBkr:!1},this.rules[56]={name:"LCALPHA",lower:"lcalpha",index:56,isBkr:!1},this.rules[57]={name:"function-expr",lower:"function-expr",index:57,isBkr:!1},this.rules[58]={name:"function-argument",lower:"function-argument",index:58,isBkr:!1},this.rules[59]={name:"segment",lower:"segment",index:59,isBkr:!1},this.rules[60]={name:"child-segment",lower:"child-segment",index:60,isBkr:!1},this.rules[61]={name:"bracketed-selection",lower:"bracketed-selection",index:61,isBkr:!1},this.rules[62]={name:"member-name-shorthand",lower:"member-name-shorthand",index:62,isBkr:!1},this.rules[63]={name:"name-first",lower:"name-first",index:63,isBkr:!1},this.rules[64]={name:"name-char",lower:"name-char",index:64,isBkr:!1},this.rules[65]={name:"DIGIT",lower:"digit",index:65,isBkr:!1},this.rules[66]={name:"ALPHA",lower:"alpha",index:66,isBkr:!1},this.rules[67]={name:"descendant-segment",lower:"descendant-segment",index:67,isBkr:!1},this.rules[68]={name:"normalized-path",lower:"normalized-path",index:68,isBkr:!1},this.rules[69]={name:"normal-index-segment",lower:"normal-index-segment",index:69,isBkr:!1},this.rules[70]={name:"normal-selector",lower:"normal-selector",index:70,isBkr:!1},this.rules[71]={name:"normal-name-selector",lower:"normal-name-selector",index:71,isBkr:!1},this.rules[72]={name:"normal-single-quoted",lower:"normal-single-quoted",index:72,isBkr:!1},this.rules[73]={name:"normal-unescaped",lower:"normal-unescaped",index:73,isBkr:!1},this.rules[74]={name:"normal-escapable",lower:"normal-escapable",index:74,isBkr:!1},this.rules[75]={name:"normal-hexchar",lower:"normal-hexchar",index:75,isBkr:!1},this.rules[76]={name:"normal-HEXDIG",lower:"normal-hexdig",index:76,isBkr:!1},this.rules[77]={name:"normal-index-selector",lower:"normal-index-selector",index:77,isBkr:!1},this.rules[78]={name:"dot-prefix",lower:"dot-prefix",index:78,isBkr:!1},this.rules[79]={name:"double-dot-prefix",lower:"double-dot-prefix",index:79,isBkr:!1},this.rules[80]={name:"left-bracket",lower:"left-bracket",index:80,isBkr:!1},this.rules[81]={name:"right-bracket",lower:"right-bracket",index:81,isBkr:!1},this.rules[82]={name:"left-paren",lower:"left-paren",index:82,isBkr:!1},this.rules[83]={name:"right-paren",lower:"right-paren",index:83,isBkr:!1},this.rules[84]={name:"comma",lower:"comma",index:84,isBkr:!1},this.rules[85]={name:"colon",lower:"colon",index:85,isBkr:!1},this.rules[86]={name:"dquote",lower:"dquote",index:86,isBkr:!1},this.rules[87]={name:"squote",lower:"squote",index:87,isBkr:!1},this.rules[88]={name:"questionmark",lower:"questionmark",index:88,isBkr:!1},this.rules[89]={name:"disjunction",lower:"disjunction",index:89,isBkr:!1},this.rules[90]={name:"conjunction",lower:"conjunction",index:90,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2]},this.rules[0].opcodes[1]={type:4,index:4},this.rules[0].opcodes[2]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:0,max:1/0},this.rules[1].opcodes[1]={type:2,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:3},this.rules[1].opcodes[3]={type:4,index:59},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[2].opcodes[1]={type:6,string:[32]},this.rules[2].opcodes[2]={type:6,string:[9]},this.rules[2].opcodes[3]={type:6,string:[10]},this.rules[2].opcodes[4]={type:6,string:[13]},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:0,max:1/0},this.rules[3].opcodes[1]={type:4,index:2},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:7,string:[36]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[5].opcodes[1]={type:4,index:6},this.rules[5].opcodes[2]={type:4,index:18},this.rules[5].opcodes[3]={type:4,index:22},this.rules[5].opcodes[4]={type:4,index:19},this.rules[5].opcodes[5]={type:4,index:26},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:4,index:7},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,6]},this.rules[7].opcodes[1]={type:2,children:[2,3,5]},this.rules[7].opcodes[2]={type:4,index:86},this.rules[7].opcodes[3]={type:3,min:0,max:1/0},this.rules[7].opcodes[4]={type:4,index:8},this.rules[7].opcodes[5]={type:4,index:86},this.rules[7].opcodes[6]={type:2,children:[7,8,10]},this.rules[7].opcodes[7]={type:4,index:87},this.rules[7].opcodes[8]={type:3,min:0,max:1/0},this.rules[7].opcodes[9]={type:4,index:9},this.rules[7].opcodes[10]={type:4,index:87},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3,6]},this.rules[8].opcodes[1]={type:4,index:11},this.rules[8].opcodes[2]={type:6,string:[39]},this.rules[8].opcodes[3]={type:2,children:[4,5]},this.rules[8].opcodes[4]={type:4,index:10},this.rules[8].opcodes[5]={type:6,string:[34]},this.rules[8].opcodes[6]={type:2,children:[7,8]},this.rules[8].opcodes[7]={type:4,index:10},this.rules[8].opcodes[8]={type:4,index:12},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:1,children:[1,2,3,6]},this.rules[9].opcodes[1]={type:4,index:11},this.rules[9].opcodes[2]={type:6,string:[34]},this.rules[9].opcodes[3]={type:2,children:[4,5]},this.rules[9].opcodes[4]={type:4,index:10},this.rules[9].opcodes[5]={type:6,string:[39]},this.rules[9].opcodes[6]={type:2,children:[7,8]},this.rules[9].opcodes[7]={type:4,index:10},this.rules[9].opcodes[8]={type:4,index:12},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:6,string:[92]},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[11].opcodes[1]={type:5,min:32,max:33},this.rules[11].opcodes[2]={type:5,min:35,max:38},this.rules[11].opcodes[3]={type:5,min:40,max:91},this.rules[11].opcodes[4]={type:5,min:93,max:55295},this.rules[11].opcodes[5]={type:5,min:57344,max:1114111},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8]},this.rules[12].opcodes[1]={type:6,string:[98]},this.rules[12].opcodes[2]={type:6,string:[102]},this.rules[12].opcodes[3]={type:6,string:[110]},this.rules[12].opcodes[4]={type:6,string:[114]},this.rules[12].opcodes[5]={type:6,string:[116]},this.rules[12].opcodes[6]={type:7,string:[47]},this.rules[12].opcodes[7]={type:7,string:[92]},this.rules[12].opcodes[8]={type:2,children:[9,10]},this.rules[12].opcodes[9]={type:6,string:[117]},this.rules[12].opcodes[10]={type:4,index:13},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:1,children:[1,2]},this.rules[13].opcodes[1]={type:4,index:14},this.rules[13].opcodes[2]={type:2,children:[3,4,5,6]},this.rules[13].opcodes[3]={type:4,index:15},this.rules[13].opcodes[4]={type:7,string:[92]},this.rules[13].opcodes[5]={type:6,string:[117]},this.rules[13].opcodes[6]={type:4,index:16},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:1,children:[1,11]},this.rules[14].opcodes[1]={type:2,children:[2,9]},this.rules[14].opcodes[2]={type:1,children:[3,4,5,6,7,8]},this.rules[14].opcodes[3]={type:4,index:65},this.rules[14].opcodes[4]={type:7,string:[97]},this.rules[14].opcodes[5]={type:7,string:[98]},this.rules[14].opcodes[6]={type:7,string:[99]},this.rules[14].opcodes[7]={type:7,string:[101]},this.rules[14].opcodes[8]={type:7,string:[102]},this.rules[14].opcodes[9]={type:3,min:3,max:3},this.rules[14].opcodes[10]={type:4,index:17},this.rules[14].opcodes[11]={type:2,children:[12,13,14]},this.rules[14].opcodes[12]={type:7,string:[100]},this.rules[14].opcodes[13]={type:5,min:48,max:55},this.rules[14].opcodes[14]={type:3,min:2,max:2},this.rules[14].opcodes[15]={type:4,index:17},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:2,children:[1,2,7]},this.rules[15].opcodes[1]={type:7,string:[100]},this.rules[15].opcodes[2]={type:1,children:[3,4,5,6]},this.rules[15].opcodes[3]={type:7,string:[56]},this.rules[15].opcodes[4]={type:7,string:[57]},this.rules[15].opcodes[5]={type:7,string:[97]},this.rules[15].opcodes[6]={type:7,string:[98]},this.rules[15].opcodes[7]={type:3,min:2,max:2},this.rules[15].opcodes[8]={type:4,index:17},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:2,children:[1,2,7]},this.rules[16].opcodes[1]={type:7,string:[100]},this.rules[16].opcodes[2]={type:1,children:[3,4,5,6]},this.rules[16].opcodes[3]={type:7,string:[99]},this.rules[16].opcodes[4]={type:7,string:[100]},this.rules[16].opcodes[5]={type:7,string:[101]},this.rules[16].opcodes[6]={type:7,string:[102]},this.rules[16].opcodes[7]={type:3,min:2,max:2},this.rules[16].opcodes[8]={type:4,index:17},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[17].opcodes[1]={type:4,index:65},this.rules[17].opcodes[2]={type:7,string:[97]},this.rules[17].opcodes[3]={type:7,string:[98]},this.rules[17].opcodes[4]={type:7,string:[99]},this.rules[17].opcodes[5]={type:7,string:[100]},this.rules[17].opcodes[6]={type:7,string:[101]},this.rules[17].opcodes[7]={type:7,string:[102]},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:7,string:[42]},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:4,index:20},this.rules[20].opcodes=[],this.rules[20].opcodes[0]={type:1,children:[1,2]},this.rules[20].opcodes[1]={type:7,string:[48]},this.rules[20].opcodes[2]={type:2,children:[3,5,6]},this.rules[20].opcodes[3]={type:3,min:0,max:1},this.rules[20].opcodes[4]={type:7,string:[45]},this.rules[20].opcodes[5]={type:4,index:21},this.rules[20].opcodes[6]={type:3,min:0,max:1/0},this.rules[20].opcodes[7]={type:4,index:65},this.rules[21].opcodes=[],this.rules[21].opcodes[0]={type:5,min:49,max:57},this.rules[22].opcodes=[],this.rules[22].opcodes[0]={type:2,children:[1,5,6,7,11]},this.rules[22].opcodes[1]={type:3,min:0,max:1},this.rules[22].opcodes[2]={type:2,children:[3,4]},this.rules[22].opcodes[3]={type:4,index:23},this.rules[22].opcodes[4]={type:4,index:3},this.rules[22].opcodes[5]={type:4,index:85},this.rules[22].opcodes[6]={type:4,index:3},this.rules[22].opcodes[7]={type:3,min:0,max:1},this.rules[22].opcodes[8]={type:2,children:[9,10]},this.rules[22].opcodes[9]={type:4,index:24},this.rules[22].opcodes[10]={type:4,index:3},this.rules[22].opcodes[11]={type:3,min:0,max:1},this.rules[22].opcodes[12]={type:2,children:[13,14]},this.rules[22].opcodes[13]={type:4,index:85},this.rules[22].opcodes[14]={type:3,min:0,max:1},this.rules[22].opcodes[15]={type:2,children:[16,17]},this.rules[22].opcodes[16]={type:4,index:3},this.rules[22].opcodes[17]={type:4,index:25},this.rules[23].opcodes=[],this.rules[23].opcodes[0]={type:4,index:20},this.rules[24].opcodes=[],this.rules[24].opcodes[0]={type:4,index:20},this.rules[25].opcodes=[],this.rules[25].opcodes[0]={type:4,index:20},this.rules[26].opcodes=[],this.rules[26].opcodes[0]={type:2,children:[1,2,3]},this.rules[26].opcodes[1]={type:4,index:88},this.rules[26].opcodes[2]={type:4,index:3},this.rules[26].opcodes[3]={type:4,index:27},this.rules[27].opcodes=[],this.rules[27].opcodes[0]={type:4,index:28},this.rules[28].opcodes=[],this.rules[28].opcodes[0]={type:2,children:[1,2]},this.rules[28].opcodes[1]={type:4,index:29},this.rules[28].opcodes[2]={type:3,min:0,max:1/0},this.rules[28].opcodes[3]={type:2,children:[4,5,6,7]},this.rules[28].opcodes[4]={type:4,index:3},this.rules[28].opcodes[5]={type:4,index:89},this.rules[28].opcodes[6]={type:4,index:3},this.rules[28].opcodes[7]={type:4,index:29},this.rules[29].opcodes=[],this.rules[29].opcodes[0]={type:2,children:[1,2]},this.rules[29].opcodes[1]={type:4,index:30},this.rules[29].opcodes[2]={type:3,min:0,max:1/0},this.rules[29].opcodes[3]={type:2,children:[4,5,6,7]},this.rules[29].opcodes[4]={type:4,index:3},this.rules[29].opcodes[5]={type:4,index:90},this.rules[29].opcodes[6]={type:4,index:3},this.rules[29].opcodes[7]={type:4,index:30},this.rules[30].opcodes=[],this.rules[30].opcodes[0]={type:1,children:[1,2,3]},this.rules[30].opcodes[1]={type:4,index:31},this.rules[30].opcodes[2]={type:4,index:37},this.rules[30].opcodes[3]={type:4,index:33},this.rules[31].opcodes=[],this.rules[31].opcodes[0]={type:2,children:[1,5,6,7,8,9]},this.rules[31].opcodes[1]={type:3,min:0,max:1},this.rules[31].opcodes[2]={type:2,children:[3,4]},this.rules[31].opcodes[3]={type:4,index:32},this.rules[31].opcodes[4]={type:4,index:3},this.rules[31].opcodes[5]={type:4,index:82},this.rules[31].opcodes[6]={type:4,index:3},this.rules[31].opcodes[7]={type:4,index:27},this.rules[31].opcodes[8]={type:4,index:3},this.rules[31].opcodes[9]={type:4,index:83},this.rules[32].opcodes=[],this.rules[32].opcodes[0]={type:7,string:[33]},this.rules[33].opcodes=[],this.rules[33].opcodes[0]={type:2,children:[1,5]},this.rules[33].opcodes[1]={type:3,min:0,max:1},this.rules[33].opcodes[2]={type:2,children:[3,4]},this.rules[33].opcodes[3]={type:4,index:32},this.rules[33].opcodes[4]={type:4,index:3},this.rules[33].opcodes[5]={type:1,children:[6,7]},this.rules[33].opcodes[6]={type:4,index:34},this.rules[33].opcodes[7]={type:4,index:57},this.rules[34].opcodes=[],this.rules[34].opcodes[0]={type:1,children:[1,2]},this.rules[34].opcodes[1]={type:4,index:35},this.rules[34].opcodes[2]={type:4,index:0},this.rules[35].opcodes=[],this.rules[35].opcodes[0]={type:2,children:[1,2]},this.rules[35].opcodes[1]={type:4,index:36},this.rules[35].opcodes[2]={type:4,index:1},this.rules[36].opcodes=[],this.rules[36].opcodes[0]={type:7,string:[64]},this.rules[37].opcodes=[],this.rules[37].opcodes[0]={type:2,children:[1,2,3,4,5]},this.rules[37].opcodes[1]={type:4,index:39},this.rules[37].opcodes[2]={type:4,index:3},this.rules[37].opcodes[3]={type:4,index:40},this.rules[37].opcodes[4]={type:4,index:3},this.rules[37].opcodes[5]={type:4,index:39},this.rules[38].opcodes=[],this.rules[38].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[38].opcodes[1]={type:4,index:47},this.rules[38].opcodes[2]={type:4,index:7},this.rules[38].opcodes[3]={type:4,index:50},this.rules[38].opcodes[4]={type:4,index:51},this.rules[38].opcodes[5]={type:4,index:52},this.rules[39].opcodes=[],this.rules[39].opcodes[0]={type:1,children:[1,2,3]},this.rules[39].opcodes[1]={type:4,index:41},this.rules[39].opcodes[2]={type:4,index:57},this.rules[39].opcodes[3]={type:4,index:38},this.rules[40].opcodes=[],this.rules[40].opcodes[0]={type:1,children:[1,2,3,4,5,6]},this.rules[40].opcodes[1]={type:7,string:[61,61]},this.rules[40].opcodes[2]={type:7,string:[33,61]},this.rules[40].opcodes[3]={type:7,string:[60,61]},this.rules[40].opcodes[4]={type:7,string:[62,61]},this.rules[40].opcodes[5]={type:7,string:[60]},this.rules[40].opcodes[6]={type:7,string:[62]},this.rules[41].opcodes=[],this.rules[41].opcodes[0]={type:1,children:[1,2]},this.rules[41].opcodes[1]={type:4,index:42},this.rules[41].opcodes[2]={type:4,index:43},this.rules[42].opcodes=[],this.rules[42].opcodes[0]={type:2,children:[1,2]},this.rules[42].opcodes[1]={type:4,index:36},this.rules[42].opcodes[2]={type:4,index:44},this.rules[43].opcodes=[],this.rules[43].opcodes[0]={type:2,children:[1,2]},this.rules[43].opcodes[1]={type:4,index:4},this.rules[43].opcodes[2]={type:4,index:44},this.rules[44].opcodes=[],this.rules[44].opcodes[0]={type:3,min:0,max:1/0},this.rules[44].opcodes[1]={type:2,children:[2,3]},this.rules[44].opcodes[2]={type:4,index:3},this.rules[44].opcodes[3]={type:1,children:[4,5]},this.rules[44].opcodes[4]={type:4,index:45},this.rules[44].opcodes[5]={type:4,index:46},this.rules[45].opcodes=[],this.rules[45].opcodes[0]={type:1,children:[1,5]},this.rules[45].opcodes[1]={type:2,children:[2,3,4]},this.rules[45].opcodes[2]={type:4,index:80},this.rules[45].opcodes[3]={type:4,index:6},this.rules[45].opcodes[4]={type:4,index:81},this.rules[45].opcodes[5]={type:2,children:[6,7]},this.rules[45].opcodes[6]={type:4,index:78},this.rules[45].opcodes[7]={type:4,index:62},this.rules[46].opcodes=[],this.rules[46].opcodes[0]={type:2,children:[1,2,3]},this.rules[46].opcodes[1]={type:4,index:80},this.rules[46].opcodes[2]={type:4,index:19},this.rules[46].opcodes[3]={type:4,index:81},this.rules[47].opcodes=[],this.rules[47].opcodes[0]={type:2,children:[1,4,6]},this.rules[47].opcodes[1]={type:1,children:[2,3]},this.rules[47].opcodes[2]={type:4,index:20},this.rules[47].opcodes[3]={type:7,string:[45,48]},this.rules[47].opcodes[4]={type:3,min:0,max:1},this.rules[47].opcodes[5]={type:4,index:48},this.rules[47].opcodes[6]={type:3,min:0,max:1},this.rules[47].opcodes[7]={type:4,index:49},this.rules[48].opcodes=[],this.rules[48].opcodes[0]={type:2,children:[1,2]},this.rules[48].opcodes[1]={type:7,string:[46]},this.rules[48].opcodes[2]={type:3,min:1,max:1/0},this.rules[48].opcodes[3]={type:4,index:65},this.rules[49].opcodes=[],this.rules[49].opcodes[0]={type:2,children:[1,2,6]},this.rules[49].opcodes[1]={type:7,string:[101]},this.rules[49].opcodes[2]={type:3,min:0,max:1},this.rules[49].opcodes[3]={type:1,children:[4,5]},this.rules[49].opcodes[4]={type:7,string:[45]},this.rules[49].opcodes[5]={type:7,string:[43]},this.rules[49].opcodes[6]={type:3,min:1,max:1/0},this.rules[49].opcodes[7]={type:4,index:65},this.rules[50].opcodes=[],this.rules[50].opcodes[0]={type:6,string:[116,114,117,101]},this.rules[51].opcodes=[],this.rules[51].opcodes[0]={type:6,string:[102,97,108,115,101]},this.rules[52].opcodes=[],this.rules[52].opcodes[0]={type:6,string:[110,117,108,108]},this.rules[53].opcodes=[],this.rules[53].opcodes[0]={type:2,children:[1,2]},this.rules[53].opcodes[1]={type:4,index:54},this.rules[53].opcodes[2]={type:3,min:0,max:1/0},this.rules[53].opcodes[3]={type:4,index:55},this.rules[54].opcodes=[],this.rules[54].opcodes[0]={type:4,index:56},this.rules[55].opcodes=[],this.rules[55].opcodes[0]={type:1,children:[1,2,3]},this.rules[55].opcodes[1]={type:4,index:54},this.rules[55].opcodes[2]={type:7,string:[95]},this.rules[55].opcodes[3]={type:4,index:65},this.rules[56].opcodes=[],this.rules[56].opcodes[0]={type:5,min:97,max:122},this.rules[57].opcodes=[],this.rules[57].opcodes[0]={type:2,children:[1,2,3,4,13,14]},this.rules[57].opcodes[1]={type:4,index:53},this.rules[57].opcodes[2]={type:4,index:82},this.rules[57].opcodes[3]={type:4,index:3},this.rules[57].opcodes[4]={type:3,min:0,max:1},this.rules[57].opcodes[5]={type:2,children:[6,7]},this.rules[57].opcodes[6]={type:4,index:58},this.rules[57].opcodes[7]={type:3,min:0,max:1/0},this.rules[57].opcodes[8]={type:2,children:[9,10,11,12]},this.rules[57].opcodes[9]={type:4,index:3},this.rules[57].opcodes[10]={type:4,index:84},this.rules[57].opcodes[11]={type:4,index:3},this.rules[57].opcodes[12]={type:4,index:58},this.rules[57].opcodes[13]={type:4,index:3},this.rules[57].opcodes[14]={type:4,index:83},this.rules[58].opcodes=[],this.rules[58].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[58].opcodes[1]={type:4,index:27},this.rules[58].opcodes[2]={type:4,index:34},this.rules[58].opcodes[3]={type:4,index:57},this.rules[58].opcodes[4]={type:4,index:38},this.rules[59].opcodes=[],this.rules[59].opcodes[0]={type:1,children:[1,2]},this.rules[59].opcodes[1]={type:4,index:60},this.rules[59].opcodes[2]={type:4,index:67},this.rules[60].opcodes=[],this.rules[60].opcodes[0]={type:1,children:[1,2]},this.rules[60].opcodes[1]={type:4,index:61},this.rules[60].opcodes[2]={type:2,children:[3,4]},this.rules[60].opcodes[3]={type:4,index:78},this.rules[60].opcodes[4]={type:1,children:[5,6]},this.rules[60].opcodes[5]={type:4,index:18},this.rules[60].opcodes[6]={type:4,index:62},this.rules[61].opcodes=[],this.rules[61].opcodes[0]={type:2,children:[1,2,3,4,10,11]},this.rules[61].opcodes[1]={type:4,index:80},this.rules[61].opcodes[2]={type:4,index:3},this.rules[61].opcodes[3]={type:4,index:5},this.rules[61].opcodes[4]={type:3,min:0,max:1/0},this.rules[61].opcodes[5]={type:2,children:[6,7,8,9]},this.rules[61].opcodes[6]={type:4,index:3},this.rules[61].opcodes[7]={type:4,index:84},this.rules[61].opcodes[8]={type:4,index:3},this.rules[61].opcodes[9]={type:4,index:5},this.rules[61].opcodes[10]={type:4,index:3},this.rules[61].opcodes[11]={type:4,index:81},this.rules[62].opcodes=[],this.rules[62].opcodes[0]={type:2,children:[1,2]},this.rules[62].opcodes[1]={type:4,index:63},this.rules[62].opcodes[2]={type:3,min:0,max:1/0},this.rules[62].opcodes[3]={type:4,index:64},this.rules[63].opcodes=[],this.rules[63].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[63].opcodes[1]={type:4,index:66},this.rules[63].opcodes[2]={type:7,string:[95]},this.rules[63].opcodes[3]={type:5,min:128,max:55295},this.rules[63].opcodes[4]={type:5,min:57344,max:1114111},this.rules[64].opcodes=[],this.rules[64].opcodes[0]={type:1,children:[1,2]},this.rules[64].opcodes[1]={type:4,index:63},this.rules[64].opcodes[2]={type:4,index:65},this.rules[65].opcodes=[],this.rules[65].opcodes[0]={type:5,min:48,max:57},this.rules[66].opcodes=[],this.rules[66].opcodes[0]={type:1,children:[1,2]},this.rules[66].opcodes[1]={type:5,min:65,max:90},this.rules[66].opcodes[2]={type:5,min:97,max:122},this.rules[67].opcodes=[],this.rules[67].opcodes[0]={type:2,children:[1,2]},this.rules[67].opcodes[1]={type:4,index:79},this.rules[67].opcodes[2]={type:1,children:[3,4,5]},this.rules[67].opcodes[3]={type:4,index:61},this.rules[67].opcodes[4]={type:4,index:18},this.rules[67].opcodes[5]={type:4,index:62},this.rules[68].opcodes=[],this.rules[68].opcodes[0]={type:2,children:[1,2]},this.rules[68].opcodes[1]={type:4,index:4},this.rules[68].opcodes[2]={type:3,min:0,max:1/0},this.rules[68].opcodes[3]={type:4,index:69},this.rules[69].opcodes=[],this.rules[69].opcodes[0]={type:2,children:[1,2,3]},this.rules[69].opcodes[1]={type:4,index:80},this.rules[69].opcodes[2]={type:4,index:70},this.rules[69].opcodes[3]={type:4,index:81},this.rules[70].opcodes=[],this.rules[70].opcodes[0]={type:1,children:[1,2]},this.rules[70].opcodes[1]={type:4,index:71},this.rules[70].opcodes[2]={type:4,index:77},this.rules[71].opcodes=[],this.rules[71].opcodes[0]={type:2,children:[1,2,4]},this.rules[71].opcodes[1]={type:4,index:87},this.rules[71].opcodes[2]={type:3,min:0,max:1/0},this.rules[71].opcodes[3]={type:4,index:72},this.rules[71].opcodes[4]={type:4,index:87},this.rules[72].opcodes=[],this.rules[72].opcodes[0]={type:1,children:[1,2]},this.rules[72].opcodes[1]={type:4,index:73},this.rules[72].opcodes[2]={type:2,children:[3,4]},this.rules[72].opcodes[3]={type:4,index:10},this.rules[72].opcodes[4]={type:4,index:74},this.rules[73].opcodes=[],this.rules[73].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[73].opcodes[1]={type:5,min:32,max:38},this.rules[73].opcodes[2]={type:5,min:40,max:91},this.rules[73].opcodes[3]={type:5,min:93,max:55295},this.rules[73].opcodes[4]={type:5,min:57344,max:1114111},this.rules[74].opcodes=[],this.rules[74].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8]},this.rules[74].opcodes[1]={type:6,string:[98]},this.rules[74].opcodes[2]={type:6,string:[102]},this.rules[74].opcodes[3]={type:6,string:[110]},this.rules[74].opcodes[4]={type:6,string:[114]},this.rules[74].opcodes[5]={type:6,string:[116]},this.rules[74].opcodes[6]={type:7,string:[39]},this.rules[74].opcodes[7]={type:7,string:[92]},this.rules[74].opcodes[8]={type:2,children:[9,10]},this.rules[74].opcodes[9]={type:6,string:[117]},this.rules[74].opcodes[10]={type:4,index:75},this.rules[75].opcodes=[],this.rules[75].opcodes[0]={type:2,children:[1,2,3]},this.rules[75].opcodes[1]={type:7,string:[48]},this.rules[75].opcodes[2]={type:7,string:[48]},this.rules[75].opcodes[3]={type:1,children:[4,7,10,13]},this.rules[75].opcodes[4]={type:2,children:[5,6]},this.rules[75].opcodes[5]={type:7,string:[48]},this.rules[75].opcodes[6]={type:5,min:48,max:55},this.rules[75].opcodes[7]={type:2,children:[8,9]},this.rules[75].opcodes[8]={type:7,string:[48]},this.rules[75].opcodes[9]={type:6,string:[98]},this.rules[75].opcodes[10]={type:2,children:[11,12]},this.rules[75].opcodes[11]={type:7,string:[48]},this.rules[75].opcodes[12]={type:5,min:101,max:102},this.rules[75].opcodes[13]={type:2,children:[14,15]},this.rules[75].opcodes[14]={type:7,string:[49]},this.rules[75].opcodes[15]={type:4,index:76},this.rules[76].opcodes=[],this.rules[76].opcodes[0]={type:1,children:[1,2]},this.rules[76].opcodes[1]={type:4,index:65},this.rules[76].opcodes[2]={type:5,min:97,max:102},this.rules[77].opcodes=[],this.rules[77].opcodes[0]={type:1,children:[1,2]},this.rules[77].opcodes[1]={type:7,string:[48]},this.rules[77].opcodes[2]={type:2,children:[3,4]},this.rules[77].opcodes[3]={type:4,index:21},this.rules[77].opcodes[4]={type:3,min:0,max:1/0},this.rules[77].opcodes[5]={type:4,index:65},this.rules[78].opcodes=[],this.rules[78].opcodes[0]={type:7,string:[46]},this.rules[79].opcodes=[],this.rules[79].opcodes[0]={type:7,string:[46,46]},this.rules[80].opcodes=[],this.rules[80].opcodes[0]={type:7,string:[91]},this.rules[81].opcodes=[],this.rules[81].opcodes[0]={type:7,string:[93]},this.rules[82].opcodes=[],this.rules[82].opcodes[0]={type:7,string:[40]},this.rules[83].opcodes=[],this.rules[83].opcodes[0]={type:7,string:[41]},this.rules[84].opcodes=[],this.rules[84].opcodes[0]={type:7,string:[44]},this.rules[85].opcodes=[],this.rules[85].opcodes[0]={type:7,string:[58]},this.rules[86].opcodes=[],this.rules[86].opcodes[0]={type:6,string:[34]},this.rules[87].opcodes=[],this.rules[87].opcodes[0]={type:6,string:[39]},this.rules[88].opcodes=[],this.rules[88].opcodes[0]={type:7,string:[63]},this.rules[89].opcodes=[],this.rules[89].opcodes[0]={type:7,string:[124,124]},this.rules[90].opcodes=[],this.rules[90].opcodes[0]={type:7,string:[38,38]},this.toString=function(){let e="";return e+="; JSONPath: Query Expressions for JSON\n",e+="; https://www.rfc-editor.org/rfc/rfc9535\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1\n",e+="jsonpath-query = root-identifier segments\n",e+="segments = *(S segment)\n",e+="\n",e+="B = %x20 / ; Space\n",e+=" %x09 / ; Horizontal tab\n",e+=" %x0A / ; Line feed or New line\n",e+=" %x0D ; Carriage return\n",e+="S = *B ; optional blank space\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1\n",e+='root-identifier = "$"\n',e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3\n",e+="selector = name-selector /\n",e+=" wildcard-selector /\n",e+=" slice-selector /\n",e+=" index-selector /\n",e+=" filter-selector\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1\n",e+="name-selector = string-literal\n",e+="\n",e+='string-literal = dquote *double-quoted dquote / ; "string", MODIFICATION: surrogate text rule used\n',e+=" squote *single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n",e+="\n",e+="double-quoted = unescaped /\n",e+=" %x27 / ; '\n",e+=' ESC %x22 / ; \\"\n',e+=" ESC escapable\n",e+="\n",e+="single-quoted = unescaped /\n",e+=' %x22 / ; "\n',e+=" ESC %x27 / ; \\'\n",e+=" ESC escapable\n",e+="\n",e+="ESC = %x5C ; \\ backslash\n",e+="\n",e+="unescaped = %x20-21 / ; see RFC 8259\n",e+=' ; omit 0x22 "\n',e+=" %x23-26 /\n",e+=" ; omit 0x27 '\n",e+=" %x28-5B /\n",e+=" ; omit 0x5C \\\n",e+=" %x5D-D7FF /\n",e+=" ; skip surrogate code points\n",e+=" %xE000-10FFFF\n",e+="\n",e+="escapable = %x62 / ; b BS backspace U+0008\n",e+=" %x66 / ; f FF form feed U+000C\n",e+=" %x6E / ; n LF line feed U+000A\n",e+=" %x72 / ; r CR carriage return U+000D\n",e+=" %x74 / ; t HT horizontal tab U+0009\n",e+=' "/" / ; / slash (solidus) U+002F\n',e+=' "\\" / ; \\ backslash (reverse solidus) U+005C\n',e+=" (%x75 hexchar) ; uXXXX U+XXXX\n",e+="\n",e+="hexchar = non-surrogate /\n",e+=' (high-surrogate "\\" %x75 low-surrogate)\n',e+='non-surrogate = ((DIGIT / "A"/"B"/"C" / "E"/"F") 3HEXDIG) /\n',e+=' ("D" %x30-37 2HEXDIG )\n',e+='high-surrogate = "D" ("8"/"9"/"A"/"B") 2HEXDIG\n',e+='low-surrogate = "D" ("C"/"D"/"E"/"F") 2HEXDIG\n',e+="\n",e+='HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n',e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1\n",e+='wildcard-selector = "*"\n',e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1\n",e+="index-selector = int ; decimal integer\n",e+="\n",e+='int = "0" /\n',e+=' (["-"] DIGIT1 *DIGIT) ; - optional\n',e+="DIGIT1 = %x31-39 ; 1-9 non-zero digit\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1\n",e+="slice-selector = [start S] colon S [end S] [colon [S step ]] ; MODIFICATION: surrogate text rule used\n",e+="\n",e+="start = int ; included in selection\n",e+="end = int ; not included in selection\n",e+="step = int ; default: 1\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1\n",e+="filter-selector = questionmark S logical-expr ; MODIFICATION: surrogate text rule used\n",e+="\n",e+="logical-expr = logical-or-expr\n",e+="logical-or-expr = logical-and-expr *(S disjunction S logical-and-expr) ; MODIFICATION: surrogate text rule used\n",e+=" ; disjunction\n",e+=" ; binds less tightly than conjunction\n",e+="logical-and-expr = basic-expr *(S conjunction S basic-expr) ; MODIFICATION: surrogate text rule used\n",e+=" ; conjunction\n",e+=" ; binds more tightly than disjunction\n",e+="\n",e+="basic-expr = paren-expr /\n",e+=" comparison-expr /\n",e+=" test-expr\n",e+="\n",e+="paren-expr = [logical-not-op S] left-paren S logical-expr S right-paren ; MODIFICATION: surrogate text rule used\n",e+=" ; parenthesized expression\n",e+='logical-not-op = "!" ; logical NOT operator\n',e+="\n",e+="test-expr = [logical-not-op S]\n",e+=" (filter-query / ; existence/non-existence\n",e+=" function-expr) ; LogicalType or NodesType\n",e+="filter-query = rel-query / jsonpath-query\n",e+="rel-query = current-node-identifier segments\n",e+='current-node-identifier = "@"\n',e+="\n",e+="comparison-expr = comparable S comparison-op S comparable\n",e+="literal = number / string-literal /\n",e+=" true / false / null\n",e+="comparable = singular-query / ; singular query value\n",e+=" function-expr / ; ValueType\n",e+=" literal\n",e+=" ; MODIFICATION: https://www.rfc-editor.org/errata/eid8352\n",e+='comparison-op = "==" / "!=" /\n',e+=' "<=" / ">=" /\n',e+=' "<" / ">"\n',e+="\n",e+="singular-query = rel-singular-query / abs-singular-query\n",e+="rel-singular-query = current-node-identifier singular-query-segments\n",e+="abs-singular-query = root-identifier singular-query-segments\n",e+="singular-query-segments = *(S (name-segment / index-segment))\n",e+="name-segment = (left-bracket name-selector right-bracket) / ; MODIFICATION: surrogate text rule used\n",e+=" (dot-prefix member-name-shorthand) ; MODIFICATION: surrogate text rule used\n",e+="index-segment = left-bracket index-selector right-bracket ; MODIFICATION: surrogate text rule used\n",e+="\n",e+='number = (int / "-0") [ frac ] [ exp ] ; decimal number\n',e+='frac = "." 1*DIGIT ; decimal fraction\n',e+='exp = "e" [ "-" / "+" ] 1*DIGIT ; decimal exponent\n',e+="true = %x74.72.75.65 ; true\n",e+="false = %x66.61.6c.73.65 ; false\n",e+="null = %x6e.75.6c.6c ; null\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.4\n",e+="function-name = function-name-first *function-name-char\n",e+="function-name-first = LCALPHA\n",e+='function-name-char = function-name-first / "_" / DIGIT\n',e+='LCALPHA = %x61-7A ; "a".."z"\n',e+="\n",e+="function-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used\n",e+=" *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used\n",e+="function-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n",e+=" filter-query / ; (includes singular-query)\n",e+=" function-expr /\n",e+=" literal\n",e+="\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.5\n",e+="segment = child-segment / descendant-segment\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1\n",e+="child-segment = bracketed-selection /\n",e+=" (dot-prefix ; MODIFICATION: surrogate text rule used\n",e+=" (wildcard-selector /\n",e+=" member-name-shorthand))\n",e+="\n",e+="bracketed-selection = left-bracket S selector *(S comma S selector) S right-bracket\n",e+=" ; MODIFICATION: surrogate text rule used\n",e+="\n",e+="member-name-shorthand = name-first *name-char\n",e+="name-first = ALPHA /\n",e+=' "_" /\n',e+=" %x80-D7FF /\n",e+=" ; skip surrogate code points\n",e+=" %xE000-10FFFF\n",e+="name-char = name-first / DIGIT\n",e+="\n",e+="DIGIT = %x30-39 ; 0-9\n",e+="ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1\n",e+="descendant-segment = double-dot-prefix (bracketed-selection / ; MODIFICATION: surrogate text rule used\n",e+=" wildcard-selector /\n",e+=" member-name-shorthand)\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths\n",e+="normalized-path = root-identifier *(normal-index-segment)\n",e+="normal-index-segment = left-bracket normal-selector right-bracket ; MODIFICATION: surrogate text rule used\n",e+="normal-selector = normal-name-selector / normal-index-selector\n",e+="normal-name-selector = squote *normal-single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n",e+="normal-single-quoted = normal-unescaped /\n",e+=" ESC normal-escapable\n",e+="normal-unescaped = ; omit %x0-1F control codes\n",e+=" %x20-26 /\n",e+=" ; omit 0x27 '\n",e+=" %x28-5B /\n",e+=" ; omit 0x5C \\\n",e+=" %x5D-D7FF /\n",e+=" ; skip surrogate code points\n",e+=" %xE000-10FFFF\n",e+="\n",e+="normal-escapable = %x62 / ; b BS backspace U+0008\n",e+=" %x66 / ; f FF form feed U+000C\n",e+=" %x6E / ; n LF line feed U+000A\n",e+=" %x72 / ; r CR carriage return U+000D\n",e+=" %x74 / ; t HT horizontal tab U+0009\n",e+=" \"'\" / ; ' apostrophe U+0027\n",e+=' "\\" / ; \\ backslash (reverse solidus) U+005C\n',e+=" (%x75 normal-hexchar)\n",e+=" ; certain values u00xx U+00XX\n",e+='normal-hexchar = "0" "0"\n',e+=" (\n",e+=' ("0" %x30-37) / ; "00"-"07"\n',e+=" ; omit U+0008-U+000A BS HT LF\n",e+=' ("0" %x62) / ; "0b"\n',e+=" ; omit U+000C-U+000D FF CR\n",e+=' ("0" %x65-66) / ; "0e"-"0f"\n',e+=' ("1" normal-HEXDIG)\n',e+=" )\n",e+='normal-HEXDIG = DIGIT / %x61-66 ; "0"-"9", "a"-"f"\n',e+='normal-index-selector = "0" / (DIGIT1 *DIGIT)\n',e+=" ; non-negative decimal integer\n",e+="\n",e+="; Surrogate named rules\n",e+='dot-prefix = "."\n',e+='double-dot-prefix = ".."\n',e+='left-bracket = "["\n',e+='right-bracket = "]"\n',e+='left-paren = "("\n',e+='right-paren = ")"\n',e+='comma = ","\n',e+='colon = ":"\n',e+='dquote = %x22 ; "\n',e+="squote = %x27 ; '\n",e+='questionmark = "?"\n',e+='disjunction = "||"\n',e+='conjunction = "&&"\n','; JSONPath: Query Expressions for JSON\n; https://www.rfc-editor.org/rfc/rfc9535\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1\njsonpath-query = root-identifier segments\nsegments = *(S segment)\n\nB = %x20 / ; Space\n %x09 / ; Horizontal tab\n %x0A / ; Line feed or New line\n %x0D ; Carriage return\nS = *B ; optional blank space\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1\nroot-identifier = "$"\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3\nselector = name-selector /\n wildcard-selector /\n slice-selector /\n index-selector /\n filter-selector\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1\nname-selector = string-literal\n\nstring-literal = dquote *double-quoted dquote / ; "string", MODIFICATION: surrogate text rule used\n squote *single-quoted squote ; \'string\', MODIFICATION: surrogate text rule used\n\ndouble-quoted = unescaped /\n %x27 / ; \'\n ESC %x22 / ; \\"\n ESC escapable\n\nsingle-quoted = unescaped /\n %x22 / ; "\n ESC %x27 / ; \\\'\n ESC escapable\n\nESC = %x5C ; \\ backslash\n\nunescaped = %x20-21 / ; see RFC 8259\n ; omit 0x22 "\n %x23-26 /\n ; omit 0x27 \'\n %x28-5B /\n ; omit 0x5C \\\n %x5D-D7FF /\n ; skip surrogate code points\n %xE000-10FFFF\n\nescapable = %x62 / ; b BS backspace U+0008\n %x66 / ; f FF form feed U+000C\n %x6E / ; n LF line feed U+000A\n %x72 / ; r CR carriage return U+000D\n %x74 / ; t HT horizontal tab U+0009\n "/" / ; / slash (solidus) U+002F\n "\\" / ; \\ backslash (reverse solidus) U+005C\n (%x75 hexchar) ; uXXXX U+XXXX\n\nhexchar = non-surrogate /\n (high-surrogate "\\" %x75 low-surrogate)\nnon-surrogate = ((DIGIT / "A"/"B"/"C" / "E"/"F") 3HEXDIG) /\n ("D" %x30-37 2HEXDIG )\nhigh-surrogate = "D" ("8"/"9"/"A"/"B") 2HEXDIG\nlow-surrogate = "D" ("C"/"D"/"E"/"F") 2HEXDIG\n\nHEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1\nwildcard-selector = "*"\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1\nindex-selector = int ; decimal integer\n\nint = "0" /\n (["-"] DIGIT1 *DIGIT) ; - optional\nDIGIT1 = %x31-39 ; 1-9 non-zero digit\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1\nslice-selector = [start S] colon S [end S] [colon [S step ]] ; MODIFICATION: surrogate text rule used\n\nstart = int ; included in selection\nend = int ; not included in selection\nstep = int ; default: 1\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1\nfilter-selector = questionmark S logical-expr ; MODIFICATION: surrogate text rule used\n\nlogical-expr = logical-or-expr\nlogical-or-expr = logical-and-expr *(S disjunction S logical-and-expr) ; MODIFICATION: surrogate text rule used\n ; disjunction\n ; binds less tightly than conjunction\nlogical-and-expr = basic-expr *(S conjunction S basic-expr) ; MODIFICATION: surrogate text rule used\n ; conjunction\n ; binds more tightly than disjunction\n\nbasic-expr = paren-expr /\n comparison-expr /\n test-expr\n\nparen-expr = [logical-not-op S] left-paren S logical-expr S right-paren ; MODIFICATION: surrogate text rule used\n ; parenthesized expression\nlogical-not-op = "!" ; logical NOT operator\n\ntest-expr = [logical-not-op S]\n (filter-query / ; existence/non-existence\n function-expr) ; LogicalType or NodesType\nfilter-query = rel-query / jsonpath-query\nrel-query = current-node-identifier segments\ncurrent-node-identifier = "@"\n\ncomparison-expr = comparable S comparison-op S comparable\nliteral = number / string-literal /\n true / false / null\ncomparable = singular-query / ; singular query value\n function-expr / ; ValueType\n literal\n ; MODIFICATION: https://www.rfc-editor.org/errata/eid8352\ncomparison-op = "==" / "!=" /\n "<=" / ">=" /\n "<" / ">"\n\nsingular-query = rel-singular-query / abs-singular-query\nrel-singular-query = current-node-identifier singular-query-segments\nabs-singular-query = root-identifier singular-query-segments\nsingular-query-segments = *(S (name-segment / index-segment))\nname-segment = (left-bracket name-selector right-bracket) / ; MODIFICATION: surrogate text rule used\n (dot-prefix member-name-shorthand) ; MODIFICATION: surrogate text rule used\nindex-segment = left-bracket index-selector right-bracket ; MODIFICATION: surrogate text rule used\n\nnumber = (int / "-0") [ frac ] [ exp ] ; decimal number\nfrac = "." 1*DIGIT ; decimal fraction\nexp = "e" [ "-" / "+" ] 1*DIGIT ; decimal exponent\ntrue = %x74.72.75.65 ; true\nfalse = %x66.61.6c.73.65 ; false\nnull = %x6e.75.6c.6c ; null\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.4\nfunction-name = function-name-first *function-name-char\nfunction-name-first = LCALPHA\nfunction-name-char = function-name-first / "_" / DIGIT\nLCALPHA = %x61-7A ; "a".."z"\n\nfunction-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used\n *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used\nfunction-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n filter-query / ; (includes singular-query)\n function-expr /\n literal\n\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.5\nsegment = child-segment / descendant-segment\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1\nchild-segment = bracketed-selection /\n (dot-prefix ; MODIFICATION: surrogate text rule used\n (wildcard-selector /\n member-name-shorthand))\n\nbracketed-selection = left-bracket S selector *(S comma S selector) S right-bracket\n ; MODIFICATION: surrogate text rule used\n\nmember-name-shorthand = name-first *name-char\nname-first = ALPHA /\n "_" /\n %x80-D7FF /\n ; skip surrogate code points\n %xE000-10FFFF\nname-char = name-first / DIGIT\n\nDIGIT = %x30-39 ; 0-9\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1\ndescendant-segment = double-dot-prefix (bracketed-selection / ; MODIFICATION: surrogate text rule used\n wildcard-selector /\n member-name-shorthand)\n\n; https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths\nnormalized-path = root-identifier *(normal-index-segment)\nnormal-index-segment = left-bracket normal-selector right-bracket ; MODIFICATION: surrogate text rule used\nnormal-selector = normal-name-selector / normal-index-selector\nnormal-name-selector = squote *normal-single-quoted squote ; \'string\', MODIFICATION: surrogate text rule used\nnormal-single-quoted = normal-unescaped /\n ESC normal-escapable\nnormal-unescaped = ; omit %x0-1F control codes\n %x20-26 /\n ; omit 0x27 \'\n %x28-5B /\n ; omit 0x5C \\\n %x5D-D7FF /\n ; skip surrogate code points\n %xE000-10FFFF\n\nnormal-escapable = %x62 / ; b BS backspace U+0008\n %x66 / ; f FF form feed U+000C\n %x6E / ; n LF line feed U+000A\n %x72 / ; r CR carriage return U+000D\n %x74 / ; t HT horizontal tab U+0009\n "\'" / ; \' apostrophe U+0027\n "\\" / ; \\ backslash (reverse solidus) U+005C\n (%x75 normal-hexchar)\n ; certain values u00xx U+00XX\nnormal-hexchar = "0" "0"\n (\n ("0" %x30-37) / ; "00"-"07"\n ; omit U+0008-U+000A BS HT LF\n ("0" %x62) / ; "0b"\n ; omit U+000C-U+000D FF CR\n ("0" %x65-66) / ; "0e"-"0f"\n ("1" normal-HEXDIG)\n )\nnormal-HEXDIG = DIGIT / %x61-66 ; "0"-"9", "a"-"f"\nnormal-index-selector = "0" / (DIGIT1 *DIGIT)\n ; non-negative decimal integer\n\n; Surrogate named rules\ndot-prefix = "."\ndouble-dot-prefix = ".."\nleft-bracket = "["\nright-bracket = "]"\nleft-paren = "("\nright-paren = ")"\ncomma = ","\ncolon = ":"\ndquote = %x22 ; "\nsquote = %x27 ; \'\nquestionmark = "?"\ndisjunction = "||"\nconjunction = "&&"\n'}};const xn=e=>{if("string"!=typeof e)throw new TypeError("Selector must be a string");let t="";for(const s of e){const e=s.codePointAt(0);switch(e){case 8:t+="\\b";break;case 9:t+="\\t";break;case 10:t+="\\n";break;case 12:t+="\\f";break;case 13:t+="\\r";break;case 39:t+="\\'";break;case 92:t+="\\\\";break;default:t+=e<=31?`\\u${e.toString(16).padStart(4,"0")}`:s}}return t};const Sn=class extends vn{},wn=e=>{if(!Array.isArray(e))throw new Sn("Selectors must be an array, got: "+typeof e,{selectors:e});try{return`$${e.map(e=>{if("string"==typeof e)return`['${xn(e)}']`;if("number"==typeof e){if(!Number.isSafeInteger(e)||e<0)throw new TypeError(`Index selector must be a non-negative safe integer, got: ${e}`);return`[${e}]`}throw new TypeError("Selector must be a string or non-negative integer, got: "+typeof e)}).join("")}`}catch(t){throw new Sn("Failed to compile normalized JSONPath",{cause:t,selectors:e})}};class Bn{node;key;index;parent;parentPath;inList;#e=!1;#t=!1;#s=!1;#n=!1;#i;#r=!1;constructor(e,t,s,n,i){this.node=e,this.parent=t,this.parentPath=s,this.key=n,this.index=i&&"number"==typeof n?n:void 0,this.inList=i}get shouldSkip(){return this.#e}get shouldStop(){return this.#t}get removed(){return this.#s}isRoot(){return null===this.parentPath}get depth(){let e=0,t=this.parentPath;for(;null!==t;)e+=1,t=t.parentPath;return e}getAncestry(){const e=[];let t=this.parentPath;for(;null!==t;)e.push(t),t=t.parentPath;return e}getAncestorNodes(){return this.getAncestry().map(e=>e.node)}getPathKeys(){const e=[];let t=this;for(;null!==t&&void 0!==t.key;)e.unshift(t.key),t=t.parentPath;return e}formatPath(e="jsonpointer"){const t=this.getPathKeys();return 0===t.length?"jsonpath"===e?"$":"":"jsonpath"===e?wn(t):yn(t)}findParent(e){let t=this.parentPath;for(;null!==t;){if(e(t))return t;t=t.parentPath}return null}find(e){return e(this)?this:this.findParent(e)}skip(){this.#e=!0}stop(){this.#t=!0}replaceWith(e){this.#r&&console.warn("Warning: replaceWith() called on a stale Path. This path belongs to a node whose visit has already completed. The replacement will have no effect. To replace a parent node, do so from the parent's own visitor."),this.#n=!0,this.#i=e,this.node=e}remove(){this.#r&&console.warn("Warning: remove() called on a stale Path. This path belongs to a node whose visit has already completed. The removal will have no effect. To remove a parent node, do so from the parent's own visitor."),this.#s=!0}_getReplacementNode(){return this.#i}_wasReplaced(){return this.#n}_reset(){this.#e=!1,this.#t=!1,this.#s=!1,this.#n=!1,this.#i=void 0}_markStale(){this.#r=!0}}const En=xt(1,jt(rn,Ge(ut,P("[object Promise]")))),jn=e=>{const t=e?.element;return void 0===t||"element"===t?"Element":`${t.charAt(0).toUpperCase()}${t.slice(1)}Element`},On=e=>as(e),kn=e=>As(e),qn=(e,t,s)=>{gs(e)?e.value=s:Array.isArray(e)?e[t]=null===s?void 0:s:null===s?delete e[t]:e[t]=s},Mn=e=>gs(e)?["key","value"]:hs(e)||ms(e)?["content"]:[],Cn=(e,t)=>{if(void 0!==e[t])return e[t];const s=t.length;for(const n in e){if(!n.includes("|"))continue;const i=n.indexOf(t);if(-1===i)continue;const r=0===i||"|"===n[i-1],o=i+s===n.length||"|"===n[i+s];if(r&&o)return e[n]}},$n=(e,t,s)=>{if(void 0===t)return null;const n=e,i=s?"leave":"enter",r=Cn(n,t);if(!s&&"function"==typeof r)return r;if(null!=r){const e=r[i];if("function"==typeof e)return e}const o=n[i];if("function"==typeof o)return o;if(null!=o){const e=Cn(o,t);if("function"==typeof e)return e}return null},An=(e,t={})=>{const{visitFnGetter:s=$n,nodeTypeGetter:n=jn,exposeEdits:i=!1}=t,r=Symbol("internal-skip"),o=Symbol("break"),c=new Array(e.length).fill(r);return{enter(t){let a=t.node,l=!1;for(let u=0;u<e.length;u+=1)if(c[u]===r){const r=s(e[u],n(a),!1);if("function"==typeof r){const s=In(t,a),n=r.call(e[u],s);if(En(n))throw new Bs("Async visitor not supported in sync mode",{visitor:e[u],visitFn:r});if(s.shouldStop){c[u]=o;break}if(s.shouldSkip&&(c[u]=a),s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();if(!i)return t.replaceWith(e),e;a=e,l=!0}else if(void 0!==n){if(!i)return t.replaceWith(n),n;a=n,l=!0}}}if(l)return t.replaceWith(a),a},leave(t){const i=t.node;for(let a=0;a<e.length;a+=1)if(c[a]===r){const r=s(e[a],n(i),!0);if("function"==typeof r){const s=In(t,i),n=r.call(e[a],s);if(En(n))throw new Bs("Async visitor not supported in sync mode",{visitor:e[a],visitFn:r});if(s.shouldStop){c[a]=o;break}if(s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();return t.replaceWith(e),e}if(void 0!==n)return t.replaceWith(n),n}}else c[a]===i&&(c[a]=r)}}},Pn=(e,t={})=>{const{visitFnGetter:s=$n,nodeTypeGetter:n=jn,exposeEdits:i=!1}=t,r=Symbol("internal-skip"),o=Symbol("break"),c=new Array(e.length).fill(r);return{async enter(t){let a=t.node,l=!1;for(let u=0;u<e.length;u+=1)if(c[u]===r){const r=s(e[u],n(a),!1);if("function"==typeof r){const s=In(t,a),n=await r.call(e[u],s);if(s.shouldStop){c[u]=o;break}if(s.shouldSkip&&(c[u]=a),s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();if(!i)return t.replaceWith(e),e;a=e,l=!0}else if(void 0!==n){if(!i)return t.replaceWith(n),n;a=n,l=!0}}}if(l)return t.replaceWith(a),a},async leave(t){const i=t.node;for(let a=0;a<e.length;a+=1)if(c[a]===r){const r=s(e[a],n(i),!0);if("function"==typeof r){const s=In(t,i),n=await r.call(e[a],s);if(s.shouldStop){c[a]=o;break}if(s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();return t.replaceWith(e),e}if(void 0!==n)return t.replaceWith(n),n}}else c[a]===i&&(c[a]=r)}}};function In(e,t){return new Bn(t,e.parent,e.parentPath,e.key,e.inList)}function*Fn(e,t,s){const{keyMap:n,state:i,nodeTypeGetter:r,nodePredicate:o,nodeCloneFn:c,detectCycles:a,mutable:l,mutationFn:u}=s,d="function"==typeof n;let p,h,m=Array.isArray(e),g=[e],f=-1,y=[],b=e,v=null,x=null;const S=[];do{f+=1;const e=f===g.length;let s;const w=e&&0!==y.length;if(e){if(s=0===S.length?void 0:v?.key,b=h,h=S.pop(),x=v?.parentPath?.parentPath??null,w)if(l)for(const[e,t]of y)u(b,e,t);else if(m){b=b.slice();let e=0;for(const[t,s]of y){const n=t-e;null===s?(b.splice(n,1),e+=1):b[n]=s}}else{b=c(b);for(const[e,t]of y)b[e]=t}if(void 0!==p){f=p.index,g=p.keys,y=p.edits;const e=p.inArray;if(x=p.parentPath,p=p.prev,w&&!l){const t=e?f:g[f];y.push([t,b])}m=e}}else if(void 0!==h&&(s=m?f:g[f],b=h[s],void 0===b))continue;if(!Array.isArray(b)){if(!o(b))throw new Bs(`Invalid AST Node: ${String(b)}`,{node:b});if(a&&S.includes(b))continue;v=new Bn(b,h,x,s,m);const n=$n(t,r(b),e);if(n){for(const[e,s]of Object.entries(i))t[e]=s;const r=yield{visitFn:n,path:v,isLeaving:e};if(v.shouldStop)break;if(v.shouldSkip&&!e)continue;if(v.removed){if(y.push([s,null]),!e)continue}else if(v._wasReplaced()){const t=v._getReplacementNode();if(y.push([s,t]),!e){if(!o(t))continue;b=t}}else if(void 0!==r&&(y.push([s,r]),!e)){if(!o(r))continue;b=r}v._markStale()}}if(!e){if(p={inArray:m,index:f,keys:g,edits:y,parentPath:x,prev:p},m=Array.isArray(b),m)g=b;else if(d)g=n(b);else{const e=r(b);g=void 0!==e?n[e]??[]:[]}f=-1,y=[],void 0!==h&&S.push(h),h=b,x=v}}while(void 0!==p);return 0!==y.length?y.at(-1)[1]:e}An[Symbol.for("nodejs.util.promisify.custom")]=Pn;const Tn=(e,t,s={})=>{const n=Fn(e,t,{keyMap:s.keyMap??Mn,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??jn,nodePredicate:s.nodePredicate??On,nodeCloneFn:s.nodeCloneFn??kn,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??qn});let i=n.next();for(;!i.done;){const e=i.value,s=e.visitFn.call(t,e.path);if(En(s))throw new Bs("Async visitor not supported in sync mode",{visitor:t,visitFn:e.visitFn});i=n.next(s)}return i.value},Dn=async(e,t,s={})=>{const n=Fn(e,t,{keyMap:s.keyMap??Mn,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??jn,nodePredicate:s.nodePredicate??On,nodeCloneFn:s.nodeCloneFn??kn,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??qn});let i=n.next();for(;!i.done;){const e=i.value,s=await e.visitFn.call(t,e.path);i=n.next(s)}return i.value};Tn[Symbol.for("nodejs.util.promisify.custom")]=Dn,Bn.prototype.traverse=function(e,t){return Tn(this.node,e,t)},Bn.prototype.traverseAsync=function(e,t){return Dn(this.node,e,t)};const Vn=class extends Gs{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return an(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=qe(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return dt(Dt,["visitors",...e],this.specObj)?qe(["visitors",...e],this.specObj):qe(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof zs&&n?.constructor===zs?Ms(t):(Tn(t,n,s),n.element)}};const Nn=class extends Vn{specPath;ignoredFields;constructor({specPath:e,ignoredFields:t,...s}){super({...s}),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const t=e.node,s=this.specPath(t),n=this.retrieveFixedFields(s);t.forEach((e,t,i)=>{const r=Rs(t);if(ls(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new _(Ms(t),n);this.copyMetaAndAttributes(i,o),o.classes.push("fixed-field"),this.element.content.push(o)}else this.ignoredFields.includes(r)||this.element.content.push(Ms(i))}),this.copyMetaAndAttributes(t,this.element),e.stop()}},Rn=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},_n=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:_n(s,[...t,s])},Ln=(e,t,s=[])=>{var n;const i=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map(e=>_n(e));for(;s.every(e=>e.length>0);){const e=s.map(e=>e.pop()),n=e[0];if(!e.every(e=>e===n))break;t=n}return t})(...e))&&void 0!==n?n:Object.prototype,r=Object.create(i),o=_n(i);for(let t of e){let e=_n(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(Rn(r,n,["constructor",...s]),o.push(n))}}return r.constructor=t,r},Jn=e=>e.filter((t,s)=>e.indexOf(t)==s),Un=(e,t)=>{const s=t.map(e=>_n(e));let n=0,i=!0;for(;i;){i=!1;for(let r=t.length-1;r>=0;r--){const t=s[r][n];if(null!=t&&(i=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[r][0]}n++}},Hn=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,s)=>Object.getOwnPropertyDescriptor(Un(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==Un(n,e)||void 0!==t[n],get:(s,n)=>(Un(n,e)||t)[n],set(t,s,n){const i=Un(s,e);if(void 0===i)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return i[s]=n,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce((e,t)=>t.concat(e.filter(e=>t.indexOf(e)<0)))}),Gn=null,zn="copy",Wn="copy",Xn="deep",Kn=new WeakMap,Yn=e=>Kn.get(e),Qn=(e,t)=>{var s,n;const i=Jn([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),r={};for(let o of i)r[o]=Jn([...null!==(s=null==e?void 0:e[o])&&void 0!==s?s:[],...null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[]]);return r},Zn=(e,t)=>{var s,n,i,r;return{property:Qn(null!==(s=null==e?void 0:e.property)&&void 0!==s?s:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:Qn(null!==(i=null==e?void 0:e.method)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.method)&&void 0!==r?r:{})}},ei=(e,t)=>{var s,n,i,r,o,c;return{class:Jn([...null!==(s=null==e?void 0:e.class)&&void 0!==s?s:[],...null!==(n=null==t?void 0:t.class)&&void 0!==n?n:[]]),static:Zn(null!==(i=null==e?void 0:e.static)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.static)&&void 0!==r?r:{}),instance:Zn(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},ti=new Map,si=(...e)=>{const t=((...e)=>{var t;const s=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const i=[..._n(e.prototype).map(e=>e.constructor),...null!==(t=Yn(e))&&void 0!==t?t:[]].filter(e=>!s.has(e));for(let e of i)n.add(e);s.add(e),n.delete(e)}return[...s]})(...e).map(e=>ti.get(e)).filter(e=>!!e);return 0==t.length?{}:1==t.length?t[0]:t.reduce((e,t)=>ei(e,t))},ni=e=>{let t=ti.get(e);return t||(t={},ti.set(e,t)),t};function ii(...e){var t,s,n;const i=e.map(e=>e.prototype),r=Gn;if(null!==r){const e=i.map(e=>e[r]).filter(e=>"function"==typeof e),t=function(...t){for(let s of e)s.apply(this,t)},s={[r]:t};i.push(s)}function o(...t){for(const s of e)Rn(this,new s(...t));null!==r&&"function"==typeof this[r]&&this[r].apply(this,t)}var c,a;o.prototype="copy"===Wn?Ln(i,o):(c=i,a=o,Hn([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===zn?Ln(e,null,["prototype"]):Hn(e,Function.prototype));let l=o;if("none"!==Xn){const i="deep"===Xn?si(...e):((...e)=>{const t=e.map(e=>ni(e));return 0===t.length?{}:1===t.length?t[0]:t.reduce((e,t)=>ei(e,t))})(...e);for(let e of null!==(t=null==i?void 0:i.class)&&void 0!==t?t:[]){const t=e(l);t&&(l=t)}ri(null!==(s=null==i?void 0:i.static)&&void 0!==s?s:{},l),ri(null!==(n=null==i?void 0:i.instance)&&void 0!==n?n:{},l.prototype)}var u,d;return u=l,d=e,Kn.set(u,d),l}const ri=(e,t)=>{const s=e.property,n=e.method;if(s)for(let e in s)for(let n of s[e])n(t,e);if(n)for(let e in n)for(let s of n[e])s(t,e,Object.getOwnPropertyDescriptor(t,e))};const oi=function(){return!1};const ci=class extends Vn{specPath;ignoredFields;fieldPatternPredicate=oi;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,...n}){super({...n}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s)}ObjectElement(e){const t=e.node;t.forEach((e,t,s)=>{const n=Rs(t);if(!this.ignoredFields.includes(n)&&this.fieldPatternPredicate(n)){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new _(Ms(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(n)||this.element.content.push(Ms(s))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const ai=class extends ci{constructor(e){super(e),this.fieldPatternPredicate=cn}};const li=class{parent;constructor({parent:e}){this.parent=e}},ui=ii(Nn,li,zs),di=ii(Nn,zs),pi=ii(Nn,zs),hi=ii(Nn,zs),mi=ii(Vn,li,zs),gi=ii(Vn,li,zs),fi=ii(Vn,li,zs),yi=ii(Vn,li,zs),bi=ii(Vn,li,zs),vi=ii(ai,li,zs),xi=ii(ai,li,zs),Si=ii(ai,li,zs),wi=ii(ai,li,zs);const Bi=class extends ui{constructor(e){super(e),this.element=new es,this.specPath=Ws(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(e){const t=e.node;return this.handleDialectIdentifier(t),this.handleSchemaIdentifier(t),this.parent=this.element,Nn.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(Ys(this.parent)&&!ls(e.get("$schema")))this.element.meta.set("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(this.parent instanceof es&&!ls(e.get("$schema"))){const e=Xs(Rs(this.parent.meta.get("inheritedDialectIdentifier")),Rs(this.parent.$schema));this.element.meta.set("inheritedDialectIdentifier",e)}}handleSchemaIdentifier(e,t="id"){const s=void 0!==this.parent?Ms(this.parent.meta.get("ancestorsSchemaIdentifiers")??new cs):new cs,n=Rs(e.get(t));cn(n)&&s.push(n),this.element.meta.set("ancestorsSchemaIdentifiers",s)}},Ei=e=>ms(e)&&e.hasKey("$ref");const ji=class extends yi{ObjectElement(e){const t=e.node,s=Ei(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];this.element=this.toRefractedElement(s,t),e.stop()}ArrayElement(e){const t=e.node;this.element=new cs,this.element.classes.push("json-schema-items"),t.forEach(e=>{const t=Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Oi=class extends zs{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-required")}};const ki=class extends wi{constructor(e){super(e),this.element=new L,this.element.classes.push("json-schema-properties"),this.specPath=e=>Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const qi=class extends Si{constructor(e){super(e),this.element=new L,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const Mi=class extends xi{constructor(e){super(e),this.element=new L,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const Ci=class extends zs{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-enum")}};const $i=class extends zs{StringElement(e){super.enter(e),this.element.classes.push("json-schema-type")}ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-type")}};const Ai=class extends mi{constructor(e){super(e),this.element=new cs,this.element.classes.push("json-schema-allOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Pi=class extends gi{constructor(e){super(e),this.element=new cs,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ii=class extends fi{constructor(e){super(e),this.element=new cs,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Fi=class extends vi{constructor(e){super(e),this.element=new L,this.element.classes.push("json-schema-definitions"),this.specPath=e=>Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const Ti=class extends bi{constructor(e){super(e),this.element=new cs,this.element.classes.push("json-schema-links")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Di=class extends di{constructor(e){super(e),this.element=new ts,this.specPath=Ws(["document","objects","JSONReference"])}ObjectElement(e){Nn.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&this.element.classes.push("reference-element")}};const Vi=class extends zs{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const Ni=function(){return!0};const Ri=we(function(e,t,s){return xt(Math.max(e.length,t.length,s.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)})});const _i=r(function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}});var Li=y(function(e,t){return Array.prototype.slice.call(t,0).sort(e)});const Ji=Li;const Ui=r(function(e){return o(0,e)});function Hi(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const Gi=r(Hi);const zi=kt(ye);const Wi=xt(1,Dt(Array.isArray)?Array.isArray:Ge(C,We("Array")));const Xi=jt(Wi,sn);function Ki(e){return function(e){if(Array.isArray(e))return Yi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Yi(e,t);var s={}.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?Yi(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yi(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=Array(t);s<t;s++)n[s]=e[s];return n}var Qi=Ge(Ji(_i(function(e,t){return e.length>t.length})),Ui,je("length")),Zi=Jt(function(e,t,s){var n=s.apply(void 0,Ki(e));return zi(n)?Gi(n):t});const er=Ri(Xi,function(e){var t=Qi(e);return xt(t,function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return Le(Zi(s),void 0,e)})},Ks);const tr=class extends Vn{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>Ri(e,Ws(t),Ks)),n=er(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const sr=class extends tr{constructor(e){super(e),this.alternator=[{predicate:Ei,specPath:["document","objects","JSONReference"]},{predicate:Ni,specPath:["document","objects","JSONSchema"]}]}};const nr=class extends hi{constructor(e){super(e),this.element=new ss,this.specPath=Ws(["document","objects","Media"])}};const ir=class extends pi{constructor(e){super(e),this.element=new ns,this.specPath=Ws(["document","objects","LinkDescription"])}},rr={visitors:{value:zs,JSONSchemaOrJSONReferenceVisitor:sr,document:{objects:{JSONSchema:{element:"jSONSchemaDraft4",$visitor:Bi,fixedFields:{id:{$visitor:zs,alias:"idField"},$schema:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},additionalItems:sr,items:{$visitor:ji,alias:"itemsField"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:Oi,properties:ki,additionalProperties:sr,patternProperties:qi,dependencies:Mi,enum:Ci,type:$i,allOf:Ai,anyOf:Pi,oneOf:Ii,not:sr,definitions:Fi,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:{$visitor:Ti,alias:"linksField"},media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{element:"jSONReference",$visitor:Di,fixedFields:{$ref:Vi}},Media:{element:"media",$visitor:nr,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{element:"linkDescription",$visitor:ir,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:sr,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:sr}}}}}},or=Zt(rr),cr=e=>Object.entries(e).map(([e,t])=>_t(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(es,"fixedFields",{get:()=>cr(or.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(ts,"fixedFields",{get:()=>cr(or.visitors.document.objects.JSONReference.fixedFields),enumerable:!0}),Object.defineProperty(ss,"fixedFields",{get:()=>cr(or.visitors.document.objects.Media.fixedFields),enumerable:!0}),Object.defineProperty(ns,"fixedFields",{get:()=>cr(or.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const ar=class extends es{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idField(){throw new p("id keyword from Core vocabulary has been renamed to $id.")}set idField(e){throw new p("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 containsField(){return this.get("contains")}set containsField(e){this.set("contains",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const lr=class extends ns{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 p("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new p("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 p("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new p("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new p("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new p("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};var ur=we(function e(t,s,n){if(0===t.length)return s;var i=t[0];if(t.length>1){var r=Ee(i,n);(ye(r)||"object"!=typeof r)&&(r=Be(t[1])?[]:{}),s=e(Array.prototype.slice.call(t,1),s,r)}return function(e,t,s){if(Be(e)&&$e(s)){var n=e<0?s.length+e:e,i=[].concat(s);return i[n]=t,i}var r={};for(var o in s)r[o]=s[o];return r[e]=t,r}(i,s,n)});const dr=ur;const pr=we(function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n});var hr=we(function(e,t,s){return dr([e],t,s)});const mr=hr;var gr=y(function e(t,s){if(null==s)return s;switch(t.length){case 0:return s;case 1:return function(e,t){if(null==t)return t;if(Be(e)&&$e(t))return pr(e,1,t);var s={};for(var n in t)s[n]=t[n];return delete s[e],s}(t[0],s);default:var n=t[0],i=Array.prototype.slice.call(t,1);return null==s[n]?function(e,t){if(Be(e)&&$e(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):mr(n,e(i,s[n]),s)}});const fr=gr;const yr=class extends Bi{constructor(e){super(e),this.element=new ar}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(e){this.enter(e),this.element.classes.push("boolean-json-schema")}handleSchemaIdentifier(e,t="$id"){return super.handleSchemaIdentifier(e,t)}};const br=class extends ji{BooleanElement(e){this.element=this.toRefractedElement(["document","objects","JSONSchema"],e.node),e.stop()}};const vr=class extends zs{ArrayElement(e){this.enter(e),this.element.classes.push("json-schema-examples")}};const xr=class extends ir{constructor(e){super(e),this.element=new lr}},Sr=Ge(dr(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft6"),dr(["visitors","document","objects","JSONSchema","$visitor"],yr),fr(["visitors","document","objects","JSONSchema","fixedFields","id"]),dr(["visitors","document","objects","JSONSchema","fixedFields","$id"],{$ref:"#/visitors/value"}),dr(["visitors","document","objects","JSONSchema","fixedFields","contains"],{$visitor:rr.visitors.JSONSchemaOrJSONReferenceVisitor,alias:"containsField"}),dr(["visitors","document","objects","JSONSchema","fixedFields","items"],{$visitor:br,alias:"itemsField"}),dr(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],rr.visitors.JSONSchemaOrJSONReferenceVisitor),dr(["visitors","document","objects","JSONSchema","fixedFields","const"],{$ref:"#/visitors/value"}),dr(["visitors","document","objects","JSONSchema","fixedFields","examples"],vr),dr(["visitors","document","objects","LinkDescription","$visitor"],xr),dr(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],rr.visitors.JSONSchemaOrJSONReferenceVisitor),fr(["visitors","document","objects","LinkDescription","fixedFields","schema"]),dr(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],rr.visitors.JSONSchemaOrJSONReferenceVisitor),fr(["visitors","document","objects","LinkDescription","fixedFields","method"]),fr(["visitors","document","objects","LinkDescription","fixedFields","encType"]),dr(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],{$ref:"#/visitors/value"}))(rr),wr=Zt(Sr),Br=e=>Object.entries(e).map(([e,t])=>_t(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(ar,"fixedFields",{get:()=>Br(wr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(lr,"fixedFields",{get:()=>Br(wr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const Er=class extends ar{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new p('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new p('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const jr=class extends lr{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){throw new p("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new p("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get submissionEncType(){throw new p("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new p("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}};const Or=class extends yr{constructor(e){super(e),this.element=new Er}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}};const kr=class extends xr{constructor(e){super(e),this.element=new jr}},qr=Ge(dr(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft7"),dr(["visitors","document","objects","JSONSchema","$visitor"],Or),dr(["visitors","document","objects","JSONSchema","fixedFields","$comment"],Sr.visitors.value),dr(["visitors","document","objects","JSONSchema","fixedFields","if"],Sr.visitors.JSONSchemaOrJSONReferenceVisitor),dr(["visitors","document","objects","JSONSchema","fixedFields","then"],Sr.visitors.JSONSchemaOrJSONReferenceVisitor),dr(["visitors","document","objects","JSONSchema","fixedFields","else"],Sr.visitors.JSONSchemaOrJSONReferenceVisitor),fr(["visitors","document","objects","JSONSchema","fixedFields","media"]),dr(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],Sr.visitors.value),dr(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],Sr.visitors.value),dr(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","$visitor"],kr),dr(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],Sr.visitors.value),fr(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),dr(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","description"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],Sr.visitors.JSONSchemaOrJSONReferenceVisitor),fr(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),dr(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Sr.visitors.value))(Sr),Mr=Zt(qr),Cr=e=>Object.entries(e).map(([e,t])=>_t(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(Er,"fixedFields",{get:()=>Cr(Mr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(jr,"fixedFields",{get:()=>Cr(Mr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const $r=class extends Er{constructor(e,t,s){super(e,t,s),this.element="schema",this.classes.push("json-schema-draft-7")}get not(){return this.get("not")}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get contains(){return this.get("contains")}set contains(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")}};const Ar=class extends L{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}};const Pr=class extends L{constructor(e,t,s){super(e,t,s),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}};const Ir=class extends L{constructor(e,t,s){super(e,t,s),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get protocol(){return this.get("protocol")}set protocol(e){this.set("protocol",e)}get protocolVersion(){return this.get("protocolVersion")}set protocolVersion(e){this.set("protocolVersion",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const Fr=class extends L{constructor(e,t,s){super(e,t,s),this.element="serverBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const Tr=class extends L{constructor(e,t,s){super(e,t,s),this.element="servers"}};const Dr=class extends L{constructor(e,t,s){super(e,t,s),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const Vr=class extends L{constructor(e,t,s){super(e,t,s),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}};const Nr=class extends cs{constructor(e,t,s){super(e,t,s),this.element="tags"}};const Rr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqpChannelBinding",this.classes.push("channel-binding")}get is(){return this.get("is")}set is(e){this.set("is",e)}get exchange(){return this.get("exchange")}set exchange(e){this.set("exchange",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const _r=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqpMessageBinding",this.classes.push("message-binding")}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get messageType(){return this.get("messageType")}set messageType(e){this.set("messageType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Lr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqpOperationBinding",this.classes.push("operation-binding")}get expiration(){return this.get("expiration")}set expiration(e){this.set("expiration",e)}get userId(){return this.get("userId")}set userId(e){this.set("userId",e)}get cc(){return this.get("cc")}set cc(e){this.set("cc",e)}get priority(){return this.get("priority")}set priority(e){this.set("priority",e)}get deliveryMode(){return this.get("deliveryMode")}set deliveryMode(e){this.set("deliveryMode",e)}get mandatory(){return this.get("mandatory")}set mandatory(e){this.set("mandatory",e)}get bcc(){return this.get("bcc")}set bcc(e){this.set("bcc",e)}get replyTo(){return this.get("replyTo")}set replyTo(e){this.set("replyTo",e)}get timestamp(){return this.get("timestamp")}set timestamp(e){this.set("timestamp",e)}get ack(){return this.get("ack")}set ack(e){this.set("ack",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Jr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}};const Ur=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}};const Hr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}};const Gr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}};const zr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}};const Wr=class extends L{constructor(e,t,s){super(e,t,s),this.element="anypointmqChannelBinding",this.classes.push("channel-binding")}get destination(){return this.get("destination")}set destination(e){this.set("destination",e)}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Xr=class extends L{constructor(e,t,s){super(e,t,s),this.element="anypointmqMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Kr=class extends L{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}};const Yr=class extends L{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}};const Qr=class extends L{constructor(e,t,s){super(e,t,s),this.element="googlepubsubChannelBinding",this.classes.push("channel-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get labels(){return this.get("labels")}set labels(e){this.set("labels",e)}get messageRetentionDuration(){return this.get("messageRetentionDuration")}set messageRetentionDuration(e){this.set("messageRetentionDuration",e)}get messageStoragePolicy(){return this.get("messageStoragePolicy")}set messageStoragePolicy(e){this.set("messageStoragePolicy",e)}get schemaSettings(){return this.get("schemaSettings")}set schemaSettings(e){this.set("schemaSettings",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}};const Zr=class extends L{constructor(e,t,s){super(e,t,s),this.element="googlepubsubMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get attributesField(){return this.get("attributes")}set attributesField(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 eo=class extends L{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}};const to=class extends L{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}};const so=class extends L{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}};const no=class extends L{constructor(e,t,s){super(e,t,s),this.element="httpMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const io=class extends L{constructor(e,t,s){super(e,t,s),this.element="httpOperationBinding",this.classes.push("operation-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const ro=class extends L{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}};const oo=class extends L{constructor(e,t,s){super(e,t,s),this.element="ibmmqChannelBinding",this.classes.push("channel-binding")}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get maxMsgLength(){return this.get("maxMsgLength")}set maxMsgLength(e){this.set("maxMsgLength",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const co=class extends L{constructor(e,t,s){super(e,t,s),this.element="ibmmqMessageBinding",this.classes.push("message-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get expiry(){return this.get("expiry")}set expiry(e){this.set("expiry",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const ao=class extends L{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}};const lo=class extends L{constructor(e,t,s){super(e,t,s),this.element="ibmmqServerBinding",this.classes.push("server-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get ccdtQueueManagerName(){return this.get("ccdtQueueManagerName")}set ccdtQueueManagerName(e){this.set("ccdtQueueManagerName",e)}get cipherSpec(){return this.get("cipherSpec")}set cipherSpec(e){this.set("cipherSpec",e)}get multiEndpointServer(){return this.get("multiEndpointServer")}set multiEndpointServer(e){this.set("multiEndpointServer",e)}get heartBeatInterval(){return this.get("heartBeatInterval")}set heartBeatInterval(e){this.set("heartBeatInterval",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const uo=class extends L{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}};const po=class extends L{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}};const ho=class extends L{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}};const mo=class extends L{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}};const go=class extends L{constructor(e,t,s){super(e,t,s),this.element="kafkaChannelBinding",this.classes.push("channel-binding")}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get partitions(){return this.get("partitions")}set partitions(e){this.set("partitions",e)}get replicas(){return this.get("replicas")}set replicas(e){this.set("replicas",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const fo=class extends L{constructor(e,t,s){super(e,t,s),this.element="kafkaMessageBinding",this.classes.push("message-binding")}get key(){return this.get("key")}set key(e){this.set("key",e)}get schemaIdLocation(){return this.get("schemaIdLocation")}set schemaIdLocation(e){this.set("schemaIdLocation",e)}get schemaIdPayloadEncoding(){return this.get("schemaIdPayloadEncoding")}set schemaIdPayloadEncoding(e){this.set("schemaIdPayloadEncoding",e)}get schemaLookupStrategy(){return this.get("schemaLookupStrategy")}set schemaLookupStrategy(e){this.set("schemaLookupStrategy",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const yo=class extends L{constructor(e,t,s){super(e,t,s),this.element="kafkaOperationBinding",this.classes.push("operation-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const bo=class extends L{constructor(e,t,s){super(e,t,s),this.element="kafkaServerBinding",this.classes.push("server-binding")}get schemaRegistryUrl(){return this.get("schemaRegistryUrl")}set schemaRegistryUrl(e){this.set("schemaRegistryUrl",e)}get schemaRegistryVendor(){return this.get("schemaRegistryVendor")}set schemaRegistryVendor(e){this.set("schemaRegistryVendor",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const vo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}};const xo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}};const So=class extends L{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}};const wo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}};const Bo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}};const Eo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const jo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqttOperationBinding",this.classes.push("operation-binding")}get qos(){return this.get("qos")}set qos(e){this.set("qos",e)}get retain(){return this.get("retain")}set retain(e){this.set("retain",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Oo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqttServerBinding",this.classes.push("server-binding")}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get cleanSession(){return this.get("cleanSession")}set cleanSession(e){this.set("cleanSession",e)}get lastWill(){return this.get("lastWill")}set lastWill(e){this.set("lastWill",e)}get keepAlive(){return this.get("keepAlive")}set keepAlive(e){this.set("keepAlive",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const ko=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}};const qo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}};const Mo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}};const Co=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}};const $o=class extends L{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}};const Ao=class extends L{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}};const Po=class extends L{constructor(e,t,s){super(e,t,s),this.element="natsOperationBinding",this.classes.push("operation-binding")}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Io=class extends L{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}};const Fo=class extends L{constructor(e,t,s){super(e,t,s),this.element="pulsarChannelBinding",this.classes.push("channel-binding")}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get persistence(){return this.get("persistence")}set persistence(e){this.set("persistence",e)}get compaction(){return this.get("compaction")}set compaction(e){this.set("compaction",e)}get"geo-replication"(){return this.get("geo-replication")}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 To=class extends L{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}};const Do=class extends L{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}};const Vo=class extends L{constructor(e,t,s){super(e,t,s),this.element="pulsarServerBinding",this.classes.push("server-binding")}get tenant(){return this.get("tenant")}set tenant(e){this.set("tenant",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const No=class extends L{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}};const Ro=class extends L{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}};const _o=class extends L{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}};const Lo=class extends L{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}};const Jo=class extends L{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}};const Uo=class extends L{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}};const Ho=class extends L{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}};const Go=class extends L{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}};const zo=class extends L{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}};const Wo=class extends L{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}};const Xo=class extends L{constructor(e,t,s){super(e,t,s),this.element="solaceOperationBinding",this.classes.push("operation-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get destinations(){return this.get("destinations")}set destinations(e){this.set("destinations",e)}};const Ko=class extends L{constructor(e,t,s){super(e,t,s),this.element="solaceServerBinding",this.classes.push("server-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get msgVpn(){return this.get("msgVpn")}set msgVpn(e){this.set("msgVpn",e)}};const Yo=class extends L{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}};const Qo=class extends L{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}};const Zo=class extends L{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}};const ec=class extends L{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}};const tc=class extends L{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}};const sc=class extends L{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}};const nc=class extends L{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}};const ic=class extends L{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}};const rc=class extends L{constructor(e,t,s){super(e,t,s),this.element="webSocketChannelBinding",this.classes.push("channel-binding")}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const oc=class extends L{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}};const cc=class extends L{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}};const ac=class extends L{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}},lc={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",J),t.register("asyncApiVersion",H),t.register("channelBindings",G),t.register("channelItem",z),t.register("channels",W),t.register("components",X),t.register("contact",K),t.register("correlationID",Y),t.register("defaultContentType",Q),t.register("externalDocumentation",Z),t.register("identifier",ee),t.register("info",te),t.register("license",se),t.register("message",ne),t.register("messageBindings",ie),t.register("messageExample",re),t.register("messageTrait",oe),t.register("oAuthFlow",ce),t.register("oAuthFlows",ae),t.register("operation",le),t.register("operationBindings",ue),t.register("operationTrait",de),t.register("parameter",pe),t.register("parameters",he),t.register("reference",me),t.register("schema",$r),t.register("securityRequirement",Ar),t.register("securityScheme",Pr),t.register("server",Ir),t.register("serverBindings",Fr),t.register("servers",Tr),t.register("serverVariable",Dr),t.register("tag",Vr),t.register("tags",Nr),t.register("amqpChannelBinding",Rr),t.register("amqpMessageBinding",_r),t.register("amqpOperationBinding",Lr),t.register("amqpServerBinding",Jr),t.register("amqp1ChannelBinding",Ur),t.register("amqp1MessageBinding",Hr),t.register("amqp1OperationBinding",Gr),t.register("amqp1ServerBinding",zr),t.register("anypointmqChannelBinding",Wr),t.register("anypointmqMessageBinding",Xr),t.register("anypointmqOperationBinding",Kr),t.register("anypointmqServerBinding",Yr),t.register("googlepubsubChannelBinding",Qr),t.register("googlepubsubMessageBinding",Zr),t.register("googlepubsubOperationBinding",eo),t.register("googlepubsubServerBinding",to),t.register("httpChannelBinding",so),t.register("httpMessageBinding",no),t.register("httpOperationBinding",io),t.register("httpServerBinding",ro),t.register("ibmmqChannelBinding",oo),t.register("ibmmqMessageBinding",co),t.register("ibmmqOperationBinding",ao),t.register("ibmmqServerBinding",lo),t.register("jmsChannelBinding",uo),t.register("jmsMessageBinding",po),t.register("jmsOperationBinding",ho),t.register("jmsServerBinding",mo),t.register("kafkaChannelBinding",go),t.register("kafkaMessageBinding",fo),t.register("kafkaOperationBinding",yo),t.register("kafkaServerBinding",bo),t.register("mercureChannelBinding",vo),t.register("mercureMessageBinding",xo),t.register("mercureOperationBinding",So),t.register("mercureServerBinding",wo),t.register("mqttChannelBinding",Bo),t.register("mqttMessageBinding",Eo),t.register("mqttOperationBinding",jo),t.register("mqttServerBinding",Oo),t.register("mqtt5ChannelBinding",ko),t.register("mqtt5MessageBinding",qo),t.register("mqtt5OperationBinding",Mo),t.register("mqtt5ServerBinding",Co),t.register("natsChannelBinding",$o),t.register("natsMessageBinding",Ao),t.register("natsOperationBinding",Po),t.register("natsServerBinding",Io),t.register("pulsarChannelBinding",Fo),t.register("pulsarMessageBinding",To),t.register("pulsarOperationBinding",Do),t.register("pulsarServerBinding",Vo),t.register("redisChannelBinding",No),t.register("redisMessageBinding",Ro),t.register("redisOperationBinding",_o),t.register("redisServerBinding",Lo),t.register("snsChannelBinding",Jo),t.register("snsMessageBinding",Uo),t.register("snsOperationBinding",Ho),t.register("snsServerBinding",Go),t.register("solaceChannelBinding",zo),t.register("solaceMessageBinding",Wo),t.register("solaceOperationBinding",Xo),t.register("solaceServerBinding",Ko),t.register("sqsChannelBinding",Yo),t.register("sqsMessageBinding",Qo),t.register("sqsOperationBinding",Zo),t.register("sqsServerBinding",ec),t.register("stompChannelBinding",tc),t.register("stompMessageBinding",sc),t.register("stompOperationBinding",nc),t.register("stompServerBinding",ic),t.register("webSocketChannelBinding",rc),t.register("webSocketMessageBinding",oc),t.register("webSocketOperationBinding",cc),t.register("webSocketServerBinding",ac),t}};class uc extends L{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(uc.primaryClass)}}const dc=uc;class pc extends L{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(pc.primaryClass)}}const hc=pc;class mc extends L{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(mc.primaryClass)}}const gc=mc;class fc extends L{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(fc.primaryClass)}}const yc=fc;class bc extends L{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(bc.primaryClass)}}const vc=bc;class xc extends L{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(xc.primaryClass)}}const Sc=xc;class wc extends L{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(wc.primaryClass)}}const Bc=wc;class Ec extends L{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Ec.primaryClass)}}const jc=Ec;class Oc extends L{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Oc.primaryClass)}}const kc=Oc;class qc extends L{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(qc.primaryClass)}}const Mc=qc;class Cc extends L{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Cc.primaryClass)}}const $c=Cc;class Ac extends L{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Ac.primaryClass)}}const Pc=Ac;class Ic extends L{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Ic.primaryClass)}}const Fc=Ic;class Tc extends L{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Tc.primaryClass)}}const Dc=Tc;class Vc extends cs{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(Vc.primaryClass)}}const Nc=Vc;class Rc extends L{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Rc.primaryClass)}}const _c=Rc;class Lc extends cs{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Lc.primaryClass)}}const Jc=Lc;class Uc extends cs{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(Uc.primaryClass)}}const Hc=Uc;class Gc extends L{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(Gc.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const zc=Gc;class Wc extends cs{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(Wc.primaryClass)}}const Xc=Wc;class Kc extends cs{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Kc.primaryClass)}}const Yc=Kc;class Qc extends cs{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(Qc.primaryClass)}}const Zc=Qc;class ea extends cs{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(ea.primaryClass)}}const ta=ea;class sa extends cs{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(sa.primaryClass)}}const na=sa;class ia extends cs{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(ia.primaryClass)}}const ra=ia,oa={AsyncApi2Element:{asyncapi:(...e)=>new H(...e),identifier:(...e)=>new ee(...e),info:(...e)=>new te(...e),servers:(...e)=>new Tr(...e),defaultContentType:(...e)=>new Q(...e),channels:(...e)=>new W(...e),components:(...e)=>new X(...e),tags:(...e)=>new Nr(...e),externalDocs:(...e)=>new Z(...e)},InfoElement:{contact:(...e)=>new K(...e),license:(...e)=>new se(...e)},ServersElement:{"[key: *]":function(...e){return new Ir(...e)}},ServerElement:{variables:(...e)=>new Dc(...e),security:(...e)=>new Hc(...e),tags:(...e)=>new Nr(...e),bindings:(...e)=>new Fr(...e)},ServerVariableElement:{enum:(...e)=>new cs(...e),examples:(...e)=>new cs(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new cs(...e)}},ChannelsElement:{"[key: *]":function(...e){return new z(...e)}},ChannelItemElement:{servers:(...e)=>new Nc(...e),subscribe:(...e)=>new le(...e),publish:(...e)=>new le(...e),parameters:(...e)=>new pe(...e),bindings:(...e)=>new G(...e)},OperationElement:{tags:(...e)=>new Nr(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ue(...e),traits:(...e)=>new Jc(...e),message:(...e)=>new ne(...e)},ComponentsElement:{schemas:(...e)=>new dc(...e),servers:(...e)=>new hc(...e),serverVariables:(...e)=>new gc(...e),messages:(...e)=>new yc(...e),securitySchemes:(...e)=>new vc(...e),parameters:(...e)=>new Sc(...e),correlationIds:(...e)=>new Bc(...e),operationTraits:(...e)=>new jc(...e),messageTraits:(...e)=>new kc(...e),serverBindings:(...e)=>new Mc(...e),channelBindings:(...e)=>new $c(...e),operationBindings:(...e)=>new Pc(...e),messageBindings:(...e)=>new Fc(...e)},TagElement:{externalDocs:(...e)=>new Z(...e)},MessageElement:{headers:(...e)=>new $r(...e),correlationId:(...e)=>new Y(...e),tags:(...e)=>new Nr(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new cs(...e),traits:(...e)=>new cs(...e),payload(...e){const{context:t}=this,s=Xs(f.latest(),Rs(t.schemaFormat));return f.includes(s)?new $r(...e):new L(...e)}},SecuritySchemeElement:{flows:(...e)=>new ae(...e)},OAuthFlowsElement:{implicit:(...e)=>new ce(...e),password:(...e)=>new ce(...e),clientCredentials:(...e)=>new ce(...e),authorizationCode:(...e)=>new ce(...e)},OAuthFlow:{scopes:(...e)=>new _c(...e)},ParametersElement:{"[key: *]":function(...e){return new pe(...e)}},ParameterElement:{schema:(...e)=>new $r(...e)},OperationTraitElement:{tags:(...e)=>new Nr(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ue(...e)},MessageTraitElement:{headers:(...e)=>new $r(...e),correlationId:(...e)=>new Y(...e),tags:(...e)=>new Nr(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new cs(...e)},MessageExampleElement:{headers:(...e)=>new L(...e)},OperationBindingsElement:{http:(...e)=>new io(...e),ws:(...e)=>new cc(...e),kafka:(...e)=>new yo(...e),anypointmq:(...e)=>new Kr(...e),amqp:(...e)=>new Lr(...e),amqp1:(...e)=>new Gr(...e),mqtt:(...e)=>new jo(...e),mqtt5:(...e)=>new Mo(...e),nats:(...e)=>new Po(...e),jms:(...e)=>new ho(...e),sns:(...e)=>new Ho(...e),solace:(...e)=>new Xo(...e),sqs:(...e)=>new Zo(...e),stomp:(...e)=>new nc(...e),redis:(...e)=>new _o(...e),mercure:(...e)=>new So(...e),googlepubsub:(...e)=>new eo(...e),ibmmq:(...e)=>new ao(...e),pulsar:(...e)=>new Do(...e)},MessageBindingsElement:{http:(...e)=>new no(...e),ws:(...e)=>new oc(...e),kafka:(...e)=>new fo(...e),anypointmq:(...e)=>new Xr(...e),amqp:(...e)=>new _r(...e),amqp1:(...e)=>new Hr(...e),mqtt:(...e)=>new Eo(...e),mqtt5:(...e)=>new qo(...e),nats:(...e)=>new Ao(...e),jms:(...e)=>new po(...e),sns:(...e)=>new Uo(...e),solace:(...e)=>new Wo(...e),sqs:(...e)=>new Qo(...e),stomp:(...e)=>new sc(...e),redis:(...e)=>new Ro(...e),mercure:(...e)=>new xo(...e),ibmmq:(...e)=>new co(...e),googlepubsub:(...e)=>new Zr(...e),pulsar:(...e)=>new To(...e)},ServerBindingsElement:{http:(...e)=>new ro(...e),ws:(...e)=>new ac(...e),kafka:(...e)=>new bo(...e),anypointmq:(...e)=>new Yr(...e),amqp:(...e)=>new Jr(...e),amqp1:(...e)=>new zr(...e),mqtt:(...e)=>new Oo(...e),mqtt5:(...e)=>new Co(...e),nats:(...e)=>new Io(...e),jms:(...e)=>new mo(...e),sns:(...e)=>new Go(...e),solace:(...e)=>new Ko(...e),sqs:(...e)=>new ec(...e),stomp:(...e)=>new ic(...e),redis:(...e)=>new Lo(...e),mercure:(...e)=>new wo(...e),ibmmq:(...e)=>new lo(...e),googlepubsub:(...e)=>new to(...e),pulsar:(...e)=>new Vo(...e)},ChannelBindingsElement:{http:(...e)=>new so(...e),ws:(...e)=>new rc(...e),kafka:(...e)=>new go(...e),anypointmq:(...e)=>new Wr(...e),amqp:(...e)=>new Rr(...e),amqp1:(...e)=>new Ur(...e),mqtt:(...e)=>new Bo(...e),mqtt5:(...e)=>new ko(...e),nats:(...e)=>new $o(...e),jms:(...e)=>new uo(...e),sns:(...e)=>new Jo(...e),solace:(...e)=>new zo(...e),sqs:(...e)=>new Yo(...e),stomp:(...e)=>new tc(...e),redis:(...e)=>new No(...e),mercure:(...e)=>new vo(...e),ibmmq:(...e)=>new oo(...e),googlepubsub:(...e)=>new Qr(...e),pulsar:(...e)=>new Fo(...e)},SchemaElement:{allOf(...e){const t=new cs(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new cs(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new cs(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new $r(...e),if:(...e)=>new $r(...e),then:(...e)=>new $r(...e),else:(...e)=>new $r(...e),enum:(...e)=>new cs(...e),items:(...e)=>new $r(...e),additionalItems:(...e)=>new $r(...e),contains:(...e)=>new $r(...e),required(...e){const t=new cs(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new L(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new L(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new $r(...e),dependencies(...e){const t=new L(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new $r(...e),examples(...e){const t=new cs(...e);return t.classes.push("json-schema-examples"),t},definitions(...e){const t=new L(...e);return t.classes.push("json-schema-definitions"),t},externalDocs:(...e)=>new Z(...e)},HttpOperationBindingElement:{query:(...e)=>new $r(...e)},HttpMessageBindingElement:{headers:(...e)=>new $r(...e)},WebSocketChannelBindingElement:{query:(...e)=>new $r(...e),headers:(...e)=>new $r(...e)},KafkaOperationBindingElement:{groupId:(...e)=>new $r(...e),clientId:(...e)=>new $r(...e)},KafkaMessageBindingElement:{key:(...e)=>new $r(...e)},AnypointmqMessageBindingElement:{headers:(...e)=>new $r(...e)},AmqpChannelBindingElement:{exchange:(...e)=>new L(...e),queue:(...e)=>new L(...e)},AmqpOperationBindingElement:{cc:(...e)=>new cs(...e),bcc:(...e)=>new cs(...e)},IbmmqChannelBindingElement:{queue:(...e)=>new L(...e),topic:(...e)=>new L(...e)},MqttServerBindingElement:{lastWill:(...e)=>new L(...e)},SolaceOperationBindingElement:{destinations:(...e)=>new cs(...e)},GooglepubsubChannelBindingElement:{labels:(...e)=>new L(...e),messageStoragePolicy:(...e)=>new L(...e),schemaSettings:(...e)=>new L(...e)},GooglepubsubMessageBindingElement:{attributes:(...e)=>new L(...e),schema:(...e)=>new L(...e)},PulsarChannelBindingElement:{"geo-replication":function(...e){return new cs(...e)},retention:(...e)=>new L(...e)},TagsElement:{"<*>":function(...e){return new Vr(...e)}},[dc.primaryClass]:{"[key: *]":function(...e){return new $r(...e)}},[hc.primaryClass]:{"[key: *]":function(...e){return new Ir(...e)}},[gc.primaryClass]:{"[key: *]":function(...e){return new Dr(...e)}},[yc.primaryClass]:{"[key: *]":function(...e){return new ne(...e)}},[vc.primaryClass]:{"[key: *]":function(...e){return new Pr(...e)}},[Sc.primaryClass]:{"[key: *]":function(...e){return new pe(...e)}},[Bc.primaryClass]:{"[key: *]":function(...e){return new Y(...e)}},[jc.primaryClass]:{"[key: *]":function(...e){return new de(...e)}},[kc.primaryClass]:{"[key: *]":function(...e){return new oe(...e)}},[Mc.primaryClass]:{"[key: *]":function(...e){return new Fr(...e)}},[$c.primaryClass]:{"[key: *]":function(...e){return new G(...e)}},[Pc.primaryClass]:{"[key: *]":function(...e){return new ue(...e)}},[Fc.primaryClass]:{"[key: *]":function(...e){return new ie(...e)}},[Dc.primaryClass]:{"[key: *]":function(...e){return new Dr(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new $r(...e)}},[Hc.primaryClass]:{"<*>":function(...e){return new Ar(...e)}},[Jc.primaryClass]:{"<*>":function(...e){return new de(...e)}},[zc.primaryClass]:{oneOf:(...e)=>new Xc(...e)},[Xc.primaryClass]:{"<*>":function(...e){return new ne(...e)}},[Yc.primaryClass]:{"<*>":function(...e){return new Ar(...e)}},[Zc.primaryClass]:{"<*>":function(...e){return new Ar(...e)}},[ta.primaryClass]:{"<*>":function(...e){return new re(...e)}},[na.primaryClass]:{"<*>":function(...e){return new oe(...e)}},[ra.primaryClass]:{"<*>":function(...e){return new re(...e)}},"json-schema-allOf":{"<*>":function(...e){return new $r(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new $r(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new $r(...e)}}},ca=(e,t)=>{const s=jn(e),n=oa[s]||oa[Rs(e.classes.first)];return void 0===n?void 0:Object.hasOwn(n,"[key: *]")?n["[key: *]"]:n[t]},aa=()=>()=>({visitor:{StringElement(e){const t=e.node;if(!(e=>ls(e)&&ys(e,["yaml-e-node","yaml-e-scalar"]))(t))return;const s=e.getAncestorNodes().reverse().filter(as),n=s.at(-1);let i,r;if(hs(n)?(r=t,i=ca(n,"<*>")):gs(n)&&(r=s.at(-2),i=ca(r,Rs(n.key))),"function"!=typeof i)return;const o=i.call({context:r},void 0,Ms(t.meta),Ms(t.attributes));ws.transfer(t,o),e.replaceWith(o)}}}),la=e=>e instanceof J,ua=e=>e instanceof H,da=e=>e instanceof G,pa=e=>e instanceof z,ha=e=>e instanceof W,ma=e=>e instanceof X,ga=e=>e instanceof K,fa=e=>e instanceof ee,ya=e=>e instanceof te,ba=e=>e instanceof se,va=e=>e instanceof le,xa=e=>e instanceof pe,Sa=e=>e instanceof he,wa=e=>e instanceof me,Ba=e=>e instanceof $r,Ea=e=>ps(e)&&ys(e,["boolean-json-schema"]),ja=e=>e instanceof Ar,Oa=e=>e instanceof Ir,ka=e=>e instanceof Fr,qa=e=>e instanceof Tr,Ma=e=>e instanceof Dr;var Ca=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var s=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?Hi(s):s},e}();function $a(e){return function(t){return new Ca(e,t)}}const Aa=y(et(["take"],$a,function(e,t){return Ue(0,e<0?1/0:e,t)}));const Pa=y(function(e,t){return P(Aa(e.length,t),e)}),Ia=e=>ms(e)&&e.hasKey("$ref"),Fa=e=>ls(e.key)&&Pa("x-",Rs(e.key));const Ta=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new L:t.meta,n=e.isMetaEmpty?new L:e.meta;t.meta=Hs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new L:t.attributes,n=e.isAttributesEmpty?new L:e.attributes;t.attributes=Hs(s,n)}ws.transfer(e,t)}};const Da=class extends Ta{enter(e){this.element=Ms(e.node),e.stop()}};const Va=class extends Ta{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return an(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=qe(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return dt(Dt,["visitors",...e],this.specObj)?qe(["visitors",...e],this.specObj):qe(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof Da&&n?.constructor===Da?Ms(t):(Tn(t,n),n.element)}};const Na=class extends Va{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>Ri(e,Ws(t),Ks)),n=er(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const Ra=class extends Va{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=Fa;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=e.node,s=this.specPath(t),n=this.retrieveFixedFields(s);t.forEach((e,t,i)=>{const r=Rs(t);if(ls(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new _(Ms(t),n);o.classes.push("fixed-field"),this.copyMetaAndAttributes(i,o),this.element.content.push(o)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(r)||this.element.content.push(Ms(i))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const _a=class extends Va{specPath;ignoredFields;fieldPatternPredicate=oi;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=Fa;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:i,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof i&&(this.specificationExtensionPredicate=i)}ObjectElement(e){const t=e.node;t.forEach((e,t,s)=>{const n=Rs(t);if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(n)&&this.fieldPatternPredicate(n)){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new _(Ms(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(n)||this.element.content.push(Ms(s))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const La=class extends _a{constructor(e){super(e),this.fieldPatternPredicate=cn}};function Ja(e,t,s){var n,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!s._items["-0"]||(t&&(s._items["-0"]=!0),!1):null!==s._nativeSet?t?(n=s._nativeSet.size,s._nativeSet.add(e),s._nativeSet.size===n):s._nativeSet.has(e):i in s._items?e in s._items[i]||(t&&(s._items[i][e]=!0),!1):(t&&(s._items[i]={},s._items[i][e]=!0),!1);case"boolean":if(i in s._items){var r=e?1:0;return!!s._items[i][r]||(t&&(s._items[i][r]=!0),!1)}return t&&(s._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==s._nativeSet?t?(n=s._nativeSet.size,s._nativeSet.add(e),s._nativeSet.size===n):s._nativeSet.has(e):i in s._items?!!Xe(e,s._items[i])||(t&&s._items[i].push(e),!1):(t&&(s._items[i]=[e]),!1);case"undefined":return!!s._items[i]||(t&&(s._items[i]=!0),!1);case"object":if(null===e)return!!s._items.null||(t&&(s._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in s._items?!!Xe(e,s._items[i])||(t&&s._items[i].push(e),!1):(t&&(s._items[i]=[e]),!1)}}const Ua=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Ja(e,!0,this)},e.prototype.has=function(e){return Ja(e,!1,this)},e}();const Ha=y(function(e,t){for(var s=[],n=0,i=e.length,r=t.length,o=new Ua,c=0;c<r;c+=1)o.add(t[c]);for(;n<i;)o.add(e[n])&&(s[s.length]=e[n]),n+=1;return s}),Ga=ii(Va,Da),za=ii(Ra,Da),Wa=ii(_a,Da),Xa=ii(La,Da),Ka=ii(Ra,_a),Ya=ii(Na,Da);const Qa=class extends Ka{specPathFixedFields;specPathPatternedFields;constructor({specPathFixedFields:e,specPathPatternedFields:t,...s}){super({...s}),this.specPathFixedFields=e,this.specPathPatternedFields=t}ObjectElement(e){const t=e.node,{specPath:s,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const s=this.retrieveFixedFields(this.specPath(t));this.ignoredFields=[...n,...Ha(t.keys(),s)],Ra.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=s,_a.prototype.ObjectElement.call(this,e);const i=t.keys();this.element.content.sort((e,t)=>i.indexOf(Rs(e.key))-i.indexOf(Rs(t.key)))}catch(e){throw this.specPath=s,e}e.stop()}};const Za=class extends Va{MemberElement(e){const t=e.node;this.element=Ms(t),this.element.classes.push("specification-extension"),e.stop()}};function el(e){return void 0===e?new rs:tl(e)}function tl(e){if(e instanceof V)return e;if("string"==typeof e)return new U(e);if("number"==typeof e)return new is(e);if("boolean"==typeof e)return new os(e);if(null===e)return new rs;if(Array.isArray(e))return new cs(e.map(el));if("object"==typeof e)return new L(e);throw new Error("Cannot refract value of type "+typeof e)}V.prototype.ObjectElement=L,V.prototype.ArrayElement=cs,V.prototype.RefElement=Is,V.prototype.MemberElement=_,V.prototype.refract=tl;const sl=we(function(e,t,s){var n,i={};for(n in s=s||{},t=t||{})x(n,t)&&(i[n]=x(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)x(n,s)&&!x(n,i)&&(i[n]=s[n]);return i});const nl=we(function e(t,s,n){return sl(function(s,n,i){return tt(n)&&tt(i)?e(t,n,i):t(s,n,i)},s,n)});const il=y(function(e,t){return nl(function(e,t,s){return s},e,t)});const rl=we(function(e,t,s){return Xs(e,je(t,s))});const ol=Ue(0,-1);const cl=y(function(e,t){return e.apply(this,t)});const al=kt(Dt);const ll=jt(Wi,tn);const ul=xt(3,function(e,t,s){var n=qe(e,s),i=qe(ol(e),s);if(!al(n)&&!ll(e)){var r=De(n,i);return cl(r,t)}});const dl=class{namespace;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};if(e.isMetaEmpty||(t.meta=this.serialiseObject(e.meta)),e.isAttributesEmpty||(t.attributes=this.serialiseObject(e.attributes)),!(e instanceof ws)){const s=ws.from(e);s&&(t.meta||(t.meta={}),t.meta.__mappings__=this.serialise(s))}const s=this.serialiseContent(e.content);return void 0!==s&&(t.content=s),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));let s;t.element!==e.element&&(t.element=e.element);let n=e.meta;if(e.meta?.__mappings__){const{__mappings__:t,...i}=e.meta;s=t,n=Object.keys(i).length>0?i:void 0}if(n&&this.deserialiseObject(n,t.meta),s){this.deserialise(s).applyTo(t)}e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const i=this.deserialiseContent(e.content);return void 0===i&&null!==t.content||(t.content=i),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t=e,s={key:this.serialise(t.key)};return t.value&&(s.value=this.serialise(t.value)),s}if(e&&Array.isArray(e)){if(0===e.length)return;return e.map(e=>this.serialise(e))}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(Array.isArray(e))return e.map(e=>this.deserialise(e))}return e}serialiseObject(e){const t={};if(e.forEach((e,s)=>{e&&(t[s.toValue()]=this.serialise(e))}),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach(s=>{t.set(s,this.deserialise(e[s]))})}},pl=e=>null===e,hl=e=>"string"==typeof e,ml=e=>"number"==typeof e,gl=e=>"boolean"==typeof e,fl=e=>null!==e&&"object"==typeof e;class yl{elementMap={};elementDetection=[];Element;KeyValuePair;_elements;_attributeElementKeys=[];_attributeElementArrayKeys=[];constructor(e){this.Element=V,this.KeyValuePair=I,e&&e.noDefault||this.useDefault()}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",rs).register("string",U).register("number",is).register("boolean",os).register("array",cs).register("object",L).register("member",_).register("ref",Is).register("link",Ps).register("sourceMap",ws),this.detect(pl,rs,!1).detect(hl,U,!1).detect(ml,is,!1).detect(gl,os,!1).detect(Array.isArray,cs,!1).detect(fl,L,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,s){return void 0===s||s?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(const[s,n]of this.elementDetection)if(s(e)){t=new n(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.substring(1);this._elements[t]=this.elementMap[e]})),this._elements}get serialiser(){return new dl(this)}}dl.prototype.Namespace=yl;const bl=yl,vl=new bl,xl={isElement:as,isStringElement:ls,isNumberElement:us,isNullElement:ds,isBooleanElement:ps,isArrayElement:hs,isObjectElement:ms,isMemberElement:gs,isPrimitiveElement:e=>ms(e)&&"object"===e.element||hs(e)&&"array"===e.element||ps(e)&&"boolean"===e.element||us(e)&&"number"===e.element||ls(e)&&"string"===e.element||ds(e)&&"null"===e.element||gs(e)&&"member"===e.element,isLinkElement:Vs,isRefElement:Ns,isAnnotationElement:e=>e instanceof Fs,isCommentElement:e=>e instanceof Ts,isParseResultElement:e=>e instanceof Ds,isSourceMapElement:e=>e instanceof ws,hasElementSourceMap:fs,includesSymbols:(e,t)=>{if(0===t.length)return!0;if(!e.hasAttributesProperty("symbols"))return!1;const s=e.attributes.get("symbols");return!!hs(s)&&t.every(e=>s.includes(e))},includesClasses:ys},Sl={toolboxCreator:()=>({predicates:xl,namespace:vl}),visitorOptions:{exposeEdits:!0}},wl=(e,t,s={})=>{if(0===t.length)return e;const n=il(Sl,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),c=t.map(e=>e(o)),a=An(c.map(rl({},"visitor")),r);c.forEach(ul(["pre"],[]));const l=Tn(e,a);return c.forEach(ul(["post"],[])),l};wl[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=il(Sl,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),c=t.map(e=>e(o)),a=Pn(c.map(rl({},"visitor")),r);await Promise.allSettled(c.map(ul(["pre"],[])));const l=await Dn(e,a);return await Promise.allSettled(c.map(ul(["post"],[]))),l};const Bl=class extends za{constructor(e){super(e),this.element=new J,this.specPath=Ws(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}};const El=class extends Ga{StringElement(e){const t=e.node,s=new H(Rs(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const jl=class extends Ga{StringElement(e){const t=e.node,s=new ee(Rs(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const Ol=class extends za{constructor(e){super(e),this.element=new te,this.specPath=Ws(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}};const kl=class extends Da{StringElement(e){const t=e.node;this.element=new U(Rs(t)),this.copyMetaAndAttributes(t,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),e.stop()}};const ql=class extends za{constructor(e){super(e),this.element=new K,this.specPath=Ws(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}};const Ml=class extends za{constructor(e){super(e),this.element=new Y,this.specPath=Ws(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}};const Cl=class extends Ga{StringElement(e){const t=e.node,s=new Q(Rs(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const $l=class extends za{constructor(e){super(e),this.element=new se,this.specPath=Ws(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}};const Al=class extends za{constructor(e){super(e),this.element=new ae,this.specPath=Ws(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}};const Pl=class extends za{constructor(e){super(e),this.element=new ce,this.specPath=Ws(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}};const Il=class extends Xa{constructor(e){super(e),this.element=new _c,this.specPath=Ws(["value"])}};const Fl=y(function(e,t){if(s=e,"[object RegExp]"!==Object.prototype.toString.call(s))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+ut(e));var s;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)});const Tl=class extends Wa{constructor(e){super(e),this.element=new Tr,this.element.classes.push("servers"),this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=Fl(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){Wa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","server")})}};const Dl=class extends za{constructor(e){super(e),this.element=new Ir,this.specPath=Ws(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}};const Vl=class extends Da{StringElement(e){super.enter(e),this.element.classes.push("server-url")}};const Nl=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","serverBindings")}};const Rl=class extends Xa{constructor(e){super(e),this.element=new Dc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}};const _l=class extends Ga{constructor(e){super(e),this.element=new Hc}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ll=class extends za{constructor(e){super(e),this.element=new Dr,this.specPath=Ws(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}};const Jl=class extends za{constructor(e){super(e),this.element=new Fr,this.specPath=Ws(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}};const Ul=class extends za{constructor(e){super(e),this.element=new Pr,this.specPath=Ws(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}};const Hl=class extends Xa{constructor(e){super(e),this.element=new Ar,this.specPath=Ws(["value"])}};const Gl=class extends za{constructor(e){super(e),this.element=new me,this.specPath=Ws(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){za.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&this.element.classes.push("reference-element")}};const zl=class extends Da{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const Wl=class extends za{constructor(e){super(e),this.specPath=Ws(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){this.element=new $r,za.prototype.ObjectElement.call(this,e)}BooleanElement(e){super.enter(e),this.element.classes.push("boolean-json-schema")}},Xl=qr.visitors.JSONSchemaOrJSONReferenceVisitor;const Kl=class extends Xl{enter(e){Xl.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}},Yl=qr.visitors.document.objects.JSONSchema.fixedFields.allOf;const Ql=class extends Yl{ArrayElement(e){Yl.prototype.ArrayElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},Zl=qr.visitors.document.objects.JSONSchema.fixedFields.anyOf;const eu=class extends Zl{ArrayElement(e){Zl.prototype.ArrayElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},tu=qr.visitors.document.objects.JSONSchema.fixedFields.oneOf;const su=class extends tu{ArrayElement(e){tu.prototype.ArrayElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},nu=qr.visitors.document.objects.JSONSchema.fixedFields.definitions;const iu=class extends nu{ObjectElement(e){nu.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},ru=qr.visitors.document.objects.JSONSchema.fixedFields.dependencies;const ou=class extends ru{ObjectElement(e){ru.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},cu=qr.visitors.document.objects.JSONSchema.fixedFields.items.$visitor;const au=class extends cu{ObjectElement(e){cu.prototype.ObjectElement.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}ArrayElement(e){cu.prototype.ArrayElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},lu=qr.visitors.document.objects.JSONSchema.fixedFields.patternProperties;const uu=class extends lu{ObjectElement(e){lu.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},du=qr.visitors.document.objects.JSONSchema.fixedFields.properties;const pu=class extends du{ObjectElement(e){du.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},hu=St(e=>e===qr.visitors.JSONSchemaOrJSONReferenceVisitor?Kl:e,qr.visitors.document.objects.JSONSchema.fixedFields);const mu=class extends Wa{constructor(e){super(e),this.element=new he,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Parameter"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=e=>"string"==typeof e&&/^[A-Za-z0-9_-]+$/.test(e)}ObjectElement(e){Wa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const gu=class extends za{constructor(e){super(e),this.element=new pe,this.specPath=Ws(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}};const fu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","Schema"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}};const yu=class extends za{constructor(e){super(e),this.element=new Z,this.specPath=Ws(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}};const bu=class extends za{constructor(e){super(e),this.element=new X,this.specPath=Ws(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}};const vu=class extends Xa{constructor(e){super(e),this.element=new dc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}};const xu=class extends Xa{constructor(e){super(e),this.element=new hc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","server")})}};const Su=class extends Xa{constructor(e){super(e),this.element=new gc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","serverVariable")})}};class wu extends L{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(wu.primaryClass)}}const Bu=wu;const Eu=class extends Xa{constructor(e){super(e),this.element=new Bu,this.specPath=Ws(["document","objects","ChannelItem"])}};const ju=class extends Xa{constructor(e){super(e),this.element=new yc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","message")})}};const Ou=class extends Xa{constructor(e){super(e),this.element=new vc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","securityScheme")})}};const ku=class extends Xa{constructor(e){super(e),this.element=new Sc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const qu=class extends Xa{constructor(e){super(e),this.element=new Bc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","correlationID")})}};const Mu=class extends Xa{constructor(e){super(e),this.element=new jc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","operationTrait")})}};const Cu=class extends Xa{constructor(e){super(e),this.element=new kc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","messageTrait")})}};const $u=class extends Xa{constructor(e){super(e),this.element=new Mc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","serverBindings")})}};const Au=class extends Xa{constructor(e){super(e),this.element=new $c,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","channelBindings")})}};const Pu=class extends Xa{constructor(e){super(e),this.element=new Pc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","operationBindings")})}};const Iu=class extends Xa{constructor(e){super(e),this.element=new Fc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","messageBindings")})}};const Fu=class extends za{constructor(e){super(e),this.element=new le,this.specPath=Ws(["document","objects","Operation"])}};const Tu=class extends Ga{constructor(e){super(e),this.element=new Yc}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Du=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const Vu=class extends Ga{constructor(e){super(e),this.element=new Jc}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;Ia(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.meta.set("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Nu=class extends Ga{ObjectElement(e){const t=e.node;if(Ia(t))this.element=this.toRefractedElement(["document","objects","Reference"],t),this.element.meta.set("referenced-element","message");else if(hs(t.get("oneOf"))){this.element=new zc;const e=new Xc;t.get("oneOf").forEach(t=>{let s;const n=t;Ia(n)?(s=this.toRefractedElement(["document","objects","Reference"],n),s.meta.set("referenced-element","message")):s=this.toRefractedElement(["document","objects","Message"],n),e.push(s)}),this.element.oneOf=e}else this.element=this.toRefractedElement(["document","objects","Message"],t);this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ru=class extends Ga{constructor(e){super(e),this.element=new Nr}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const _u=class extends za{constructor(e){super(e),this.element=new Vr,this.specPath=Ws(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}};const Lu=class extends Xa{constructor(e){super(e),this.element=new W,this.specPath=Ws(["document","objects","ChannelItem"])}};const Ju=class extends za{constructor(e){super(e),this.element=new G,this.specPath=Ws(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}};const Uu=class extends za{constructor(e){super(e),this.element=new z,this.specPath=Ws(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){za.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.meta.set("referenced-element","channelItem"))}};const Hu=class extends Da{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const Gu=class extends Ga{constructor(e){super(e),this.element=new Nc}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ms(e);ls(t)&&t.classes.push("server-name"),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const zu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","channelBindings")}};const Wu=class extends za{constructor(e){super(e),this.element=new ie,this.specPath=Ws(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}};const Xu=class extends za{constructor(e){super(e),this.element=new re,this.specPath=Ws(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}};const Ku=class extends za{constructor(e){super(e),this.element=new oe,this.specPath=Ws(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}};const Yu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","Schema"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}};const Qu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const Zu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const ed=class extends Ga{constructor(e){super(e),this.element=new ra}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const td=class extends za{constructor(e){super(e),this.element=new ne,this.specPath=Ws(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){za.prototype.ObjectElement.call(this,e);const t=e.node,s=this.element.get("payload"),n=Xs(f.latest(),Rs(t.get("schemaFormat")));if(f.includes(n)&&Ia(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else f.includes(n)&&ms(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s))}};const sd=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","Schema"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}};const nd=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const id=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const rd=class extends Ga{constructor(e){super(e),this.element=new ta}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const od=class extends Ga{constructor(e){super(e),this.element=new na}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;Ia(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.meta.set("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const cd=class extends za{constructor(e){super(e),this.element=new ue,this.specPath=Ws(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}};const ad=class extends za{constructor(e){super(e),this.element=new de,this.specPath=Ws(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}};const ld=class extends Ga{constructor(e){super(e),this.element=new Zc}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const ud=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const dd=class extends za{constructor(e){super(e),this.element=new Rr,this.specPath=Ws(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const pd=class extends za{constructor(e){super(e),this.element=new _r,this.specPath=Ws(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const hd=class extends za{constructor(e){super(e),this.element=new Lr,this.specPath=Ws(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const md=class extends za{constructor(e){super(e),this.element=new Jr,this.specPath=Ws(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const gd=class extends za{constructor(e){super(e),this.element=new Ur,this.specPath=Ws(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const fd=class extends za{constructor(e){super(e),this.element=new Hr,this.specPath=Ws(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const yd=class extends za{constructor(e){super(e),this.element=new Gr,this.specPath=Ws(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const bd=class extends za{constructor(e){super(e),this.element=new zr,this.specPath=Ws(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const vd=class extends za{constructor(e){super(e),this.element=new Wr,this.specPath=Ws(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const xd=class extends za{constructor(e){super(e),this.element=new Xr,this.specPath=Ws(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Sd=class extends za{constructor(e){super(e),this.element=new Kr,this.specPath=Ws(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const wd=class extends za{constructor(e){super(e),this.element=new Yr,this.specPath=Ws(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Bd=class extends za{constructor(e){super(e),this.element=new so,this.specPath=Ws(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Ed=class extends za{constructor(e){super(e),this.element=new no,this.specPath=Ws(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const jd=class extends za{constructor(e){super(e),this.element=new io,this.specPath=Ws(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Od=class extends za{constructor(e){super(e),this.element=new ro,this.specPath=Ws(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const kd=class extends za{constructor(e){super(e),this.element=new Qr,this.specPath=Ws(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const qd=class extends za{constructor(e){super(e),this.element=new Zr,this.specPath=Ws(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Md=class extends za{constructor(e){super(e),this.element=new eo,this.specPath=Ws(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Cd=class extends za{constructor(e){super(e),this.element=new to,this.specPath=Ws(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const $d=class extends za{constructor(e){super(e),this.element=new oo,this.specPath=Ws(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Ad=class extends za{constructor(e){super(e),this.element=new co,this.specPath=Ws(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Pd=class extends za{constructor(e){super(e),this.element=new ao,this.specPath=Ws(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Id=class extends za{constructor(e){super(e),this.element=new lo,this.specPath=Ws(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Fd=class extends za{constructor(e){super(e),this.element=new uo,this.specPath=Ws(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Td=class extends za{constructor(e){super(e),this.element=new po,this.specPath=Ws(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Dd=class extends za{constructor(e){super(e),this.element=new ho,this.specPath=Ws(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Vd=class extends za{constructor(e){super(e),this.element=new mo,this.specPath=Ws(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Nd=class extends za{constructor(e){super(e),this.element=new go,this.specPath=Ws(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Rd=class extends za{constructor(e){super(e),this.element=new fo,this.specPath=Ws(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const _d=class extends za{constructor(e){super(e),this.element=new yo,this.specPath=Ws(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Ld=class extends za{constructor(e){super(e),this.element=new bo,this.specPath=Ws(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Jd=class extends za{constructor(e){super(e),this.element=new vo,this.specPath=Ws(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Ud=class extends za{constructor(e){super(e),this.element=new xo,this.specPath=Ws(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Hd=class extends za{constructor(e){super(e),this.element=new So,this.specPath=Ws(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Gd=class extends za{constructor(e){super(e),this.element=new wo,this.specPath=Ws(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const zd=class extends za{constructor(e){super(e),this.element=new Bo,this.specPath=Ws(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Wd=class extends za{constructor(e){super(e),this.element=new Eo,this.specPath=Ws(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Xd=class extends za{constructor(e){super(e),this.element=new jo,this.specPath=Ws(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Kd=class extends za{constructor(e){super(e),this.element=new Oo,this.specPath=Ws(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Yd=class extends za{constructor(e){super(e),this.element=new ko,this.specPath=Ws(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Qd=class extends za{constructor(e){super(e),this.element=new qo,this.specPath=Ws(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Zd=class extends za{constructor(e){super(e),this.element=new Mo,this.specPath=Ws(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ep=class extends za{constructor(e){super(e),this.element=new Co,this.specPath=Ws(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const tp=class extends za{constructor(e){super(e),this.element=new $o,this.specPath=Ws(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const sp=class extends za{constructor(e){super(e),this.element=new Ao,this.specPath=Ws(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const np=class extends za{constructor(e){super(e),this.element=new Po,this.specPath=Ws(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ip=class extends za{constructor(e){super(e),this.element=new Io,this.specPath=Ws(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const rp=class extends za{constructor(e){super(e),this.element=new Fo,this.specPath=Ws(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const op=class extends za{constructor(e){super(e),this.element=new To,this.specPath=Ws(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const cp=class extends za{constructor(e){super(e),this.element=new Do,this.specPath=Ws(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ap=class extends za{constructor(e){super(e),this.element=new Vo,this.specPath=Ws(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const lp=class extends za{constructor(e){super(e),this.element=new No,this.specPath=Ws(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const up=class extends za{constructor(e){super(e),this.element=new Ro,this.specPath=Ws(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const dp=class extends za{constructor(e){super(e),this.element=new _o,this.specPath=Ws(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const pp=class extends za{constructor(e){super(e),this.element=new Lo,this.specPath=Ws(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const hp=class extends za{constructor(e){super(e),this.element=new Jo,this.specPath=Ws(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const mp=class extends za{constructor(e){super(e),this.element=new Uo,this.specPath=Ws(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const gp=class extends za{constructor(e){super(e),this.element=new Ho,this.specPath=Ws(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const fp=class extends za{constructor(e){super(e),this.element=new Go,this.specPath=Ws(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const yp=class extends za{constructor(e){super(e),this.element=new zo,this.specPath=Ws(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const bp=class extends za{constructor(e){super(e),this.element=new Wo,this.specPath=Ws(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const vp=class extends za{constructor(e){super(e),this.element=new Xo,this.specPath=Ws(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const xp=class extends za{constructor(e){super(e),this.element=new Ko,this.specPath=Ws(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Sp=class extends za{constructor(e){super(e),this.element=new Yo,this.specPath=Ws(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const wp=class extends za{constructor(e){super(e),this.element=new Qo,this.specPath=Ws(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Bp=class extends za{constructor(e){super(e),this.element=new Zo,this.specPath=Ws(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Ep=class extends za{constructor(e){super(e),this.element=new ec,this.specPath=Ws(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const jp=class extends za{constructor(e){super(e),this.element=new tc,this.specPath=Ws(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Op=class extends za{constructor(e){super(e),this.element=new sc,this.specPath=Ws(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const kp=class extends za{constructor(e){super(e),this.element=new nc,this.specPath=Ws(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const qp=class extends za{constructor(e){super(e),this.element=new ic,this.specPath=Ws(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Mp=class extends za{constructor(e){super(e),this.element=new rc,this.specPath=Ws(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Cp=class extends za{constructor(e){super(e),this.element=new oc,this.specPath=Ws(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const $p=class extends za{constructor(e){super(e),this.element=new cc,this.specPath=Ws(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Ap=class extends za{constructor(e){super(e),this.element=new ac,this.specPath=Ws(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}},Pp={element:"reference",$visitor:Gl,fixedFields:{$ref:zl}},Ip={element:"schema",$visitor:Wl,fixedFields:{...hu,allOf:Ql,anyOf:eu,oneOf:su,items:{$visitor:au,alias:"itemsField"},properties:pu,patternProperties:uu,dependencies:ou,definitions:iu,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},Fp={visitors:{value:Da,document:{objects:{AsyncApi:{element:"asyncApi2",$visitor:Bl,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$visitor:jl,alias:"idField"},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:{element:"asyncApiVersion",$visitor:El},Identifier:{element:"identifier",$visitor:jl},Info:{element:"info",$visitor:Ol,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:kl,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{element:"contact",$visitor:ql,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{element:"license",$visitor:$l,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{element:"servers",$visitor:Tl},Server:{element:"server",$visitor:Dl,fixedFields:{url:Vl,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:Rl,security:_l,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Nl}},ServerVariable:{element:"serverVariable",$visitor:Ll,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{element:"defaultContentType",$visitor:Cl},Channels:{element:"channels",$visitor:Lu},ChannelItem:{element:"channelItem",$visitor:Uu,fixedFields:{$ref:Hu,description:{$ref:"#/visitors/value"},servers:Gu,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:zu}},Operation:{element:"operation",$visitor:Fu,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Tu,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Du,traits:Vu,message:Nu}},OperationTrait:{element:"operationTrait",$visitor:ad,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:ld,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:ud}},Message:{element:"message",$visitor:td,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:sd,payload:{$ref:"#/visitors/value"},correlationId:nd,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:id,examples:rd,traits:od}},MessageTrait:{element:"messageTrait",$visitor:Ku,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Yu,correlationId:Qu,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Zu,examples:ed}},MessageExample:{element:"messageExample",$visitor:Xu,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{element:"tags",$visitor:Ru},Tag:{element:"tag",$visitor:_u,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{element:"externalDocumentation",$visitor:yu,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{element:"components",$visitor:bu,fixedFields:{schemas:vu,servers:xu,serverVariables:Su,channels:Eu,messages:ju,securitySchemes:Ou,parameters:ku,correlationIds:qu,operationTraits:Mu,messageTraits:Cu,serverBindings:$u,channelBindings:Au,operationBindings:Pu,messageBindings:Iu}},JSONReference:Pp,Reference:Pp,JSONSchema:Ip,Schema:Ip,LinkDescription:qr.visitors.document.objects.LinkDescription,SecurityScheme:{element:"securityScheme",$visitor:Ul,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},SecurityRequirement:{element:"securityRequirement",$visitor:Hl},OAuthFlows:{element:"oAuthFlows",$visitor:Al,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:{element:"oAuthFlow",$visitor:Pl,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Il}},ServerBindings:{element:"serverBindings",$visitor:Jl,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:{element:"parameters",$visitor:mu},Parameter:{element:"parameter",$visitor:gu,fixedFields:{description:{$ref:"#/visitors/value"},schema:fu,location:{$ref:"#/visitors/value"}}},ChannelBindings:{element:"channelBindings",$visitor:Ju,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:{element:"operationBindings",$visitor:cd,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:{element:"messageBindings",$visitor:Wu,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:{element:"correlationID",$visitor:Ml,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{element:"httpServerBinding",$visitor:Od},ChannelBinding:{element:"httpChannelBinding",$visitor:Bd},OperationBinding:{element:"httpOperationBinding",$visitor:jd,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Kl,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"httpMessageBinding",$visitor:Ed,fixedFields:{headers:Kl,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{element:"webSocketServerBinding",$visitor:Ap},ChannelBinding:{element:"webSocketChannelBinding",$visitor:Mp,fixedFields:{method:{$ref:"#/visitors/value"},query:Kl,headers:Kl,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"webSocketOperationBinding",$visitor:$p},MessageBinding:{element:"webSocketMessageBinding",$visitor:Cp}},kafka:{ServerBinding:{element:"kafkaServerBinding",$visitor:Ld,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"kafkaChannelBinding",$visitor:Nd,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"kafkaOperationBinding",$visitor:_d,fixedFields:{groupId:Kl,clientId:Kl,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"kafkaMessageBinding",$visitor:Rd,fixedFields:{key:Kl,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{element:"anypointmqServerBinding",$visitor:wd},ChannelBinding:{element:"anypointmqChannelBinding",$visitor:vd,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"anypointmqOperationBinding",$visitor:Sd},MessageBinding:{element:"anypointmqMessageBinding",$visitor:xd,fixedFields:{headers:Kl,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{element:"amqpServerBinding",$visitor:md},ChannelBinding:{element:"amqpChannelBinding",$visitor:dd,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"amqpOperationBinding",$visitor:hd,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:{element:"amqpMessageBinding",$visitor:pd,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{element:"amqp1ServerBinding",$visitor:bd},ChannelBinding:{element:"amqp1ChannelBinding",$visitor:gd},OperationBinding:{element:"amqp1OperationBinding",$visitor:yd},MessageBinding:{element:"amqp1MessageBinding",$visitor:fd}},mqtt:{ServerBinding:{element:"mqttServerBinding",$visitor:Kd,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"mqttChannelBinding",$visitor:zd},OperationBinding:{element:"mqttOperationBinding",$visitor:Xd,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"mqttMessageBinding",$visitor:Wd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{element:"mqtt5ServerBinding",$visitor:ep},ChannelBinding:{element:"mqtt5ChannelBinding",$visitor:Yd},OperationBinding:{element:"mqtt5OperationBinding",$visitor:Zd},MessageBinding:{element:"mqtt5MessageBinding",$visitor:Qd}},nats:{ServerBinding:{element:"natsServerBinding",$visitor:ip},ChannelBinding:{element:"natsChannelBinding",$visitor:tp},OperationBinding:{element:"natsOperationBinding",$visitor:np,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"natsMessageBinding",$visitor:sp}},pulsar:{ServerBinding:{element:"pulsarServerBinding",$visitor:ap,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"pulsarChannelBinding",$visitor:rp,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:{element:"pulsarOperationBinding",$visitor:cp},MessageBinding:{element:"pulsarMessageBinding",$visitor:op}},jms:{ServerBinding:{element:"jmsServerBinding",$visitor:Vd},ChannelBinding:{element:"jmsChannelBinding",$visitor:Fd},OperationBinding:{element:"jmsOperationBinding",$visitor:Dd},MessageBinding:{element:"jmsMessageBinding",$visitor:Td}},sns:{ServerBinding:{element:"snsServerBinding",$visitor:fp},ChannelBinding:{element:"snsChannelBinding",$visitor:hp},OperationBinding:{element:"snsOperationBinding",$visitor:gp},MessageBinding:{element:"snsMessageBinding",$visitor:mp}},solace:{ServerBinding:{element:"solaceServerBinding",$visitor:xp,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"solaceChannelBinding",$visitor:yp},OperationBinding:{element:"solaceOperationBinding",$visitor:vp,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{element:"solaceMessageBinding",$visitor:bp}},sqs:{ServerBinding:{element:"sqsServerBinding",$visitor:Ep},ChannelBinding:{element:"sqsChannelBinding",$visitor:Sp},OperationBinding:{element:"sqsOperationBinding",$visitor:Bp},MessageBinding:{element:"sqsMessageBinding",$visitor:wp}},stomp:{ServerBinding:{element:"stompServerBinding",$visitor:qp},ChannelBinding:{element:"stompChannelBinding",$visitor:jp},OperationBinding:{element:"stompOperationBinding",$visitor:kp},MessageBinding:{element:"stompMessageBinding",$visitor:Op}},redis:{ServerBinding:{element:"redisServerBinding",$visitor:pp},ChannelBinding:{element:"redisChannelBinding",$visitor:lp},OperationBinding:{element:"redisOperationBinding",$visitor:dp},MessageBinding:{element:"redisMessageBinding",$visitor:up}},mercure:{ServerBinding:{element:"mercureServerBinding",$visitor:Gd},ChannelBinding:{element:"mercureChannelBinding",$visitor:Jd},OperationBinding:{element:"mercureOperationBinding",$visitor:Hd},MessageBinding:{element:"mercureMessageBinding",$visitor:Ud}},googlepubsub:{ServerBinding:{element:"googlepubsubServerBinding",$visitor:Cd},ChannelBinding:{element:"googlepubsubChannelBinding",$visitor:kd,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:{element:"googlepubsubOperationBinding",$visitor:Md},MessageBinding:{element:"googlepubsubMessageBinding",$visitor:qd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$visitor:Da,alias:"attributesField"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{element:"ibmmqServerBinding",$visitor:Id,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:{element:"ibmmqChannelBinding",$visitor:$d,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"ibmmqMessageBinding",$visitor:Ad,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"ibmmqOperationBinding",$visitor:Pd}}}},extension:{$visitor:Za}}}},Tp=()=>{const e=new bl,t={...n,...s,isStringElement:ls};return e.use(lc),{predicates:t,namespace:e}},Dp=(e,{element:t="asyncApi2",plugins:s=[],specificationObj:n=Fp}={})=>{const i=tl(e),r=Zt(n),o=r.elementMap[t];if(!o)throw new Error(`Unknown element type: "${t}"`);const c=new(qe(o,r))({specObj:r});return Tn(i,c),wl(c.element,s,{toolboxCreator:Tp})},Vp=(e,t={})=>Dp(e,{...t,element:"asyncApi2"}),Np=(e,t={})=>Dp(e,{...t,element:"asyncApiVersion"}),Rp=(e,t={})=>Dp(e,{...t,element:"identifier"}),_p=(e,t={})=>Dp(e,{...t,element:"defaultContentType"}),Lp=(e,t={})=>Dp(e,{...t,element:"channels"}),Jp=(e,t={})=>Dp(e,{...t,element:"servers"}),Up=(e,t={})=>Dp(e,{...t,element:"parameters"}),Hp=(e,t={})=>Dp(e,{...t,element:"tags"}),Gp=(e,t={})=>Dp(e,{...t,element:"channelBindings"}),zp=(e,t={})=>Dp(e,{...t,element:"channelItem"}),Wp=(e,t={})=>Dp(e,{...t,element:"components"}),Xp=(e,t={})=>Dp(e,{...t,element:"contact"}),Kp=(e,t={})=>Dp(e,{...t,element:"correlationID"}),Yp=(e,t={})=>Dp(e,{...t,element:"externalDocumentation"}),Qp=(e,t={})=>Dp(e,{...t,element:"info"}),Zp=(e,t={})=>Dp(e,{...t,element:"license"}),eh=(e,t={})=>Dp(e,{...t,element:"message"}),th=(e,t={})=>Dp(e,{...t,element:"messageBindings"}),sh=(e,t={})=>Dp(e,{...t,element:"messageExample"}),nh=(e,t={})=>Dp(e,{...t,element:"messageTrait"}),ih=(e,t={})=>Dp(e,{...t,element:"oAuthFlow"}),rh=(e,t={})=>Dp(e,{...t,element:"oAuthFlows"}),oh=(e,t={})=>Dp(e,{...t,element:"operation"}),ch=(e,t={})=>Dp(e,{...t,element:"operationBindings"}),ah=(e,t={})=>Dp(e,{...t,element:"operationTrait"}),lh=(e,t={})=>Dp(e,{...t,element:"parameter"}),uh=(e,t={})=>Dp(e,{...t,element:"reference"}),dh=(e,t={})=>Dp(e,{...t,element:"schema"}),ph=(e,t={})=>Dp(e,{...t,element:"securityRequirement"}),hh=(e,t={})=>Dp(e,{...t,element:"securityScheme"}),mh=(e,t={})=>Dp(e,{...t,element:"server"}),gh=(e,t={})=>Dp(e,{...t,element:"serverBindings"}),fh=(e,t={})=>Dp(e,{...t,element:"serverVariable"}),yh=(e,t={})=>Dp(e,{...t,element:"tag"}),bh=(e,t={})=>Dp(e,{...t,element:"amqpChannelBinding"}),vh=(e,t={})=>Dp(e,{...t,element:"amqpMessageBinding"}),xh=(e,t={})=>Dp(e,{...t,element:"amqpOperationBinding"}),Sh=(e,t={})=>Dp(e,{...t,element:"amqpServerBinding"}),wh=(e,t={})=>Dp(e,{...t,element:"amqp1ChannelBinding"}),Bh=(e,t={})=>Dp(e,{...t,element:"amqp1MessageBinding"}),Eh=(e,t={})=>Dp(e,{...t,element:"amqp1OperationBinding"}),jh=(e,t={})=>Dp(e,{...t,element:"amqp1ServerBinding"}),Oh=(e,t={})=>Dp(e,{...t,element:"anypointmqChannelBinding"}),kh=(e,t={})=>Dp(e,{...t,element:"anypointmqMessageBinding"}),qh=(e,t={})=>Dp(e,{...t,element:"anypointmqOperationBinding"}),Mh=(e,t={})=>Dp(e,{...t,element:"anypointmqServerBinding"}),Ch=(e,t={})=>Dp(e,{...t,element:"googlepubsubChannelBinding"}),$h=(e,t={})=>Dp(e,{...t,element:"googlepubsubMessageBinding"}),Ah=(e,t={})=>Dp(e,{...t,element:"googlepubsubOperationBinding"}),Ph=(e,t={})=>Dp(e,{...t,element:"googlepubsubServerBinding"}),Ih=(e,t={})=>Dp(e,{...t,element:"httpChannelBinding"}),Fh=(e,t={})=>Dp(e,{...t,element:"httpMessageBinding"}),Th=(e,t={})=>Dp(e,{...t,element:"httpOperationBinding"}),Dh=(e,t={})=>Dp(e,{...t,element:"httpServerBinding"}),Vh=(e,t={})=>Dp(e,{...t,element:"ibmmqChannelBinding"}),Nh=(e,t={})=>Dp(e,{...t,element:"ibmmqMessageBinding"}),Rh=(e,t={})=>Dp(e,{...t,element:"ibmmqOperationBinding"}),_h=(e,t={})=>Dp(e,{...t,element:"ibmmqServerBinding"}),Lh=(e,t={})=>Dp(e,{...t,element:"jmsChannelBinding"}),Jh=(e,t={})=>Dp(e,{...t,element:"jmsMessageBinding"}),Uh=(e,t={})=>Dp(e,{...t,element:"jmsOperationBinding"}),Hh=(e,t={})=>Dp(e,{...t,element:"jmsServerBinding"}),Gh=(e,t={})=>Dp(e,{...t,element:"kafkaChannelBinding"}),zh=(e,t={})=>Dp(e,{...t,element:"kafkaMessageBinding"}),Wh=(e,t={})=>Dp(e,{...t,element:"kafkaOperationBinding"}),Xh=(e,t={})=>Dp(e,{...t,element:"kafkaServerBinding"}),Kh=(e,t={})=>Dp(e,{...t,element:"mercureChannelBinding"}),Yh=(e,t={})=>Dp(e,{...t,element:"mercureMessageBinding"}),Qh=(e,t={})=>Dp(e,{...t,element:"mercureOperationBinding"}),Zh=(e,t={})=>Dp(e,{...t,element:"mercureServerBinding"}),em=(e,t={})=>Dp(e,{...t,element:"mqttChannelBinding"}),tm=(e,t={})=>Dp(e,{...t,element:"mqttMessageBinding"}),sm=(e,t={})=>Dp(e,{...t,element:"mqttOperationBinding"}),nm=(e,t={})=>Dp(e,{...t,element:"mqttServerBinding"}),im=(e,t={})=>Dp(e,{...t,element:"mqtt5ChannelBinding"}),rm=(e,t={})=>Dp(e,{...t,element:"mqtt5MessageBinding"}),om=(e,t={})=>Dp(e,{...t,element:"mqtt5OperationBinding"}),cm=(e,t={})=>Dp(e,{...t,element:"mqtt5ServerBinding"}),am=(e,t={})=>Dp(e,{...t,element:"natsChannelBinding"}),lm=(e,t={})=>Dp(e,{...t,element:"natsMessageBinding"}),um=(e,t={})=>Dp(e,{...t,element:"natsOperationBinding"}),dm=(e,t={})=>Dp(e,{...t,element:"natsServerBinding"}),pm=(e,t={})=>Dp(e,{...t,element:"pulsarChannelBinding"}),hm=(e,t={})=>Dp(e,{...t,element:"pulsarMessageBinding"}),mm=(e,t={})=>Dp(e,{...t,element:"pulsarOperationBinding"}),gm=(e,t={})=>Dp(e,{...t,element:"pulsarServerBinding"}),fm=(e,t={})=>Dp(e,{...t,element:"redisChannelBinding"}),ym=(e,t={})=>Dp(e,{...t,element:"redisMessageBinding"}),bm=(e,t={})=>Dp(e,{...t,element:"redisOperationBinding"}),vm=(e,t={})=>Dp(e,{...t,element:"redisServerBinding"}),xm=(e,t={})=>Dp(e,{...t,element:"snsChannelBinding"}),Sm=(e,t={})=>Dp(e,{...t,element:"snsMessageBinding"}),wm=(e,t={})=>Dp(e,{...t,element:"snsOperationBinding"}),Bm=(e,t={})=>Dp(e,{...t,element:"snsServerBinding"}),Em=(e,t={})=>Dp(e,{...t,element:"solaceChannelBinding"}),jm=(e,t={})=>Dp(e,{...t,element:"solaceMessageBinding"}),Om=(e,t={})=>Dp(e,{...t,element:"solaceOperationBinding"}),km=(e,t={})=>Dp(e,{...t,element:"solaceServerBinding"}),qm=(e,t={})=>Dp(e,{...t,element:"sqsChannelBinding"}),Mm=(e,t={})=>Dp(e,{...t,element:"sqsMessageBinding"}),Cm=(e,t={})=>Dp(e,{...t,element:"sqsOperationBinding"}),$m=(e,t={})=>Dp(e,{...t,element:"sqsServerBinding"}),Am=(e,t={})=>Dp(e,{...t,element:"stompChannelBinding"}),Pm=(e,t={})=>Dp(e,{...t,element:"stompMessageBinding"}),Im=(e,t={})=>Dp(e,{...t,element:"stompOperationBinding"}),Fm=(e,t={})=>Dp(e,{...t,element:"stompServerBinding"}),Tm=(e,t={})=>Dp(e,{...t,element:"webSocketChannelBinding"}),Dm=(e,t={})=>Dp(e,{...t,element:"webSocketMessageBinding"}),Vm=(e,t={})=>Dp(e,{...t,element:"webSocketOperationBinding"}),Nm=(e,t={})=>Dp(e,{...t,element:"webSocketServerBinding"}),Rm=Dp;return t})());
|