@swagger-api/apidom-ns-openapi-3-1 0.77.0 → 0.78.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.
- package/CHANGELOG.md +10 -0
- package/dist/apidom-ns-openapi-3-1.browser.js +4745 -16642
- package/dist/apidom-ns-openapi-3-1.browser.min.js +1 -1
- package/package.json +7 -7
- package/types/dist.d.ts +4 -34
|
@@ -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.apidomNsOpenApi3_1=t():e.apidomNsOpenApi3_1=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{var s=n(5846);e.exports=s},6791:(e,t,n)=>{n(4339),n(4242),n(4016),n(8939),n(5454);var s=n(7545);e.exports=s.AggregateError},6762:(e,t,n)=>{e.exports=n(3028)},3028:(e,t,n)=>{n(2752);var s=n(42);e.exports=s},6235:(e,t,n)=>{var s=n(6447),r=n(9288),i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not a function")}},7757:(e,t,n)=>{var s=n(6447),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,n)=>{var s=n(5744),r=String,i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not an object")}},8180:(e,t,n)=>{var s=n(101),r=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=s(t),l=i(c),u=r(o,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{var s=n(4120),r=s({}.toString),i=s("".slice);e.exports=function(e){return i(r(e),8,-1)}},4696:(e,t,n)=>{var s=n(3471),r=n(6447),i=n(9272),o=n(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=s?i:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"==(s=i(t))&&r(t.callee)?"Arguments":s}},7987:(e,t,n)=>{var s=n(4500),r=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var a=r(t),c=o.f,l=i.f,u=0;u<a.length;u++){var p=a[u];s(e,p)||n&&s(n,p)||c(e,p,l(t,p))}}},4635:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{var s=n(69),r=n(2454),i=n(774);e.exports=s?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{var s=n(8711);e.exports=function(e,t,n,r){return r&&r.enumerable?e[t]=n:s(e,t,n),e}},5098:(e,t,n)=>{var s=n(8576),r=Object.defineProperty;e.exports=function(e,t){try{r(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}},69:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{var s=n(8576),r=n(5744),i=s.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{var s,r,i=n(8576),o=n(8989),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(r=(s=u.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!r&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(r=+s[1]),e.exports=r},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{var s=n(4120),r=Error,i=s("".replace),o=String(r("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},8266:(e,t,n)=>{var s=n(8711),r=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):s(e,"stack",r(n,a)))}},274:(e,t,n)=>{var s=n(6192),r=n(774);e.exports=!s((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var s=n(8576),r=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),l=n(7545),u=n(8043),p=n(8711),m=n(4500),h=function(e){var t=function(n,s,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,s)}return new e(n,s,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,r,f,d,y,g,v,b,E,x=e.target,j=e.global,O=e.stat,S=e.proto,w=j?s:O?s[x]:(s[x]||{}).prototype,P=j?l:l[x]||p(l,x,{})[x],A=P.prototype;for(d in t)r=!(n=c(j?d:x+(O?".":"#")+d,e.forced))&&w&&m(w,d),g=P[d],r&&(v=e.dontCallGetSet?(E=a(w,d))&&E.value:w[d]),y=r&&v?v:t[d],r&&typeof g==typeof y||(b=e.bind&&r?u(y,s):e.wrap&&r?h(y):S&&o(y)?i(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(P,d,b),S&&(m(l,f=x+"Prototype")||p(l,f,{}),p(l[f],d,y),e.real&&A&&(n||!A[d])&&p(A,d,y)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(s?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{var s=n(4914),r=n(6235),i=n(2784),o=s(s.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{var s=n(2784),r=Function.prototype.call;e.exports=s?r.bind(r):function(){return r.apply(r,arguments)}},2282:(e,t,n)=>{var s=n(69),r=n(4500),i=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!s||s&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},6419:(e,t,n)=>{var s=n(4120),r=n(6235);e.exports=function(e,t,n){try{return s(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{var s=n(9272),r=n(4120);e.exports=function(e){if("Function"===s(e))return r(e)}},4120:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.call,o=s&&r.bind.bind(i,i);e.exports=s?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{var s=n(7545),r=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(s[e])||o(r[e]):s[e]&&s[e][t]||r[e]&&r[e][t]}},8703:(e,t,n)=>{var s=n(4696),r=n(5037),i=n(5646),o=n(7771),a=n(8182)("iterator");e.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[s(e)]}},1669:(e,t,n)=>{var s=n(8922),r=n(6235),i=n(1138),o=n(9288),a=n(8703),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(r(n))return i(s(n,e));throw c(o(e)+" is not iterable")}},5037:(e,t,n)=>{var s=n(6235),r=n(5646);e.exports=function(e,t){var n=e[t];return r(n)?void 0:s(n)}},8576:function(e,t,n){var s=function(e){return e&&e.Math==Math&&e};e.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{var s=n(4120),r=n(1795),i=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},4535:e=>{e.exports={}},7403:(e,t,n)=>{var s=n(150);e.exports=s("document","documentElement")},188:(e,t,n)=>{var s=n(69),r=n(6192),i=n(7449);e.exports=!s&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{var s=n(4120),r=n(6192),i=n(9272),o=Object,a=s("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},2643:(e,t,n)=>{var s=n(6447),r=n(5744),i=n(4469);e.exports=function(e,t,n){var o,a;return i&&s(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},273:(e,t,n)=>{var s=n(5744),r=n(8711);e.exports=function(e,t){s(t)&&"cause"in t&&r(e,"cause",t.cause)}},3326:(e,t,n)=>{var s,r,i,o=n(5278),a=n(8576),c=n(5744),l=n(8711),u=n(4500),p=n(6434),m=n(9766),h=n(4535),f="Object already initialized",d=a.TypeError,y=a.WeakMap;if(o||p.state){var g=p.state||(p.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,s=function(e,t){if(g.has(e))throw d(f);return t.facade=e,g.set(e,t),t},r=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var v=m("state");h[v]=!0,s=function(e,t){if(u(e,v))throw d(f);return t.facade=e,l(e,v,t),t},r=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:s,get:r,has:i,enforce:function(e){return i(e)?r(e):s(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{var s=n(8182),r=n(7771),i=s("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},6447:(e,t,n)=>{var s=n(8382),r=s.all;e.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{var s=n(6192),r=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==u||n!=l&&(r(t)?s(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,n)=>{var s=n(6447),r=n(8382),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===i}:function(e){return"object"==typeof e?null!==e:s(e)}},5546:e=>{e.exports=!0},3236:(e,t,n)=>{var s=n(150),r=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return r(t)&&i(t.prototype,a(e))}},3442:(e,t,n)=>{var s=n(8043),r=n(8922),i=n(1138),o=n(9288),a=n(6109),c=n(4104),l=n(8902),u=n(1669),p=n(8703),m=n(6639),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},d=f.prototype;e.exports=function(e,t,n){var y,g,v,b,E,x,j,O=n&&n.that,S=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_RECORD),P=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),k=s(t,O),C=function(e){return y&&m(y,"normal",e),new f(!0,e)},_=function(e){return S?(i(e),A?k(e[0],e[1],C):k(e[0],e[1])):A?k(e,C):k(e)};if(w)y=e.iterator;else if(P)y=e;else{if(!(g=p(e)))throw h(o(e)+" is not iterable");if(a(g)){for(v=0,b=c(e);b>v;v++)if((E=_(e[v]))&&l(d,E))return E;return new f(!1)}y=u(e,g)}for(x=w?e.next:y.next;!(j=r(x,y)).done;){try{E=_(j.value)}catch(e){m(y,"throw",e)}if("object"==typeof E&&E&&l(d,E))return E}return new f(!1)}},6639:(e,t,n)=>{var s=n(8922),r=n(1138),i=n(5037);e.exports=function(e,t,n){var o,a;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=s(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return r(o),n}},5695:(e,t,n)=>{"use strict";var s=n(4413).IteratorPrototype,r=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,l){var u=t+" Iterator";return e.prototype=r(s,{next:i(+!l,n)}),o(e,u,!1,!0),a[u]=c,e}},5297:(e,t,n)=>{"use strict";var s=n(3085),r=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),l=n(9341),u=n(4469),p=n(1284),m=n(8711),h=n(9362),f=n(8182),d=n(7771),y=n(4413),g=o.PROPER,v=o.CONFIGURABLE,b=y.IteratorPrototype,E=y.BUGGY_SAFARI_ITERATORS,x=f("iterator"),j="keys",O="values",S="entries",w=function(){return this};e.exports=function(e,t,n,o,f,y,P){c(n,t,o);var A,k,C,_=function(e){if(e===f&&$)return $;if(!E&&e in M)return M[e];switch(e){case j:case O:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},R=t+" Iterator",T=!1,M=e.prototype,I=M[x]||M["@@iterator"]||f&&M[f],$=!E&&I||_(f),q="Array"==t&&M.entries||I;if(q&&(A=l(q.call(new e)))!==Object.prototype&&A.next&&(i||l(A)===b||(u?u(A,b):a(A[x])||h(A,x,w)),p(A,R,!0,!0),i&&(d[R]=w)),g&&f==O&&I&&I.name!==O&&(!i&&v?m(M,"name",O):(T=!0,$=function(){return r(I,this)})),f)if(k={values:_(O),keys:y?$:_(j),entries:_(S)},P)for(C in k)(E||T||!(C in M))&&h(M,C,k[C]);else s({target:t,proto:!0,forced:E||T},k);return i&&!P||M[x]===$||h(M,x,$,{name:f}),d[t]=$,k}},4413:(e,t,n)=>{"use strict";var s,r,i,o=n(6192),a=n(6447),c=n(5744),l=n(2853),u=n(9341),p=n(9362),m=n(8182),h=n(5546),f=m("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(r=u(u(i)))!==Object.prototype&&(s=r):d=!0),!c(s)||o((function(){var e={};return s[f].call(e)!==e}))?s={}:h&&(s=l(s)),a(s[f])||p(s,f,(function(){return this})),e.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{e.exports={}},4104:(e,t,n)=>{var s=n(8445);e.exports=function(e){return s(e.length)}},7679:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},6016:(e,t,n)=>{var s=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:s(e)}},2853:(e,t,n)=>{var s,r=n(1138),i=n(1187),o=n(2952),a=n(4535),c=n(7403),l=n(7449),u=n(9766),p="prototype",m="script",h=u("IE_PROTO"),f=function(){},d=function(e){return"<"+m+">"+e+"</"+m+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g="undefined"!=typeof document?document.domain&&s?y(s):(t=l("iframe"),n="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(s);for(var r=o.length;r--;)delete g[p][o[r]];return g()};a[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[p]=r(e),n=new f,f[p]=null,n[h]=e):n=g(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{var s=n(69),r=n(9600),i=n(2454),o=n(1138),a=n(101),c=n(7653);t.f=s&&!r?Object.defineProperties:function(e,t){o(e);for(var n,s=a(t),r=c(t),l=r.length,u=0;l>u;)i.f(e,n=r[u++],s[n]);return e}},2454:(e,t,n)=>{var s=n(69),r=n(188),i=n(9600),o=n(1138),a=n(77),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",h="writable";t.f=s?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var s=u(e,t);s&&s[h]&&(e[t]=n.value,n={configurable:m in n?n[m]:s[m],enumerable:p in n?n[p]:s[p],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(o(e),t=a(t),o(n),r)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{var s=n(69),r=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),l=n(4500),u=n(188),p=Object.getOwnPropertyDescriptor;t.f=s?p:function(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!r(i.f,e,t),e[t])}},2092:(e,t,n)=>{var s=n(7934),r=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,r)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{var s=n(4500),r=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(s(t,c))return t[c];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof l?u:null}},8902:(e,t,n)=>{var s=n(4120);e.exports=s({}.isPrototypeOf)},7934:(e,t,n)=>{var s=n(4120),r=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=s([].push);e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&c(u,n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||c(u,n));return u}},7653:(e,t,n)=>{var s=n(7934),r=n(2952);e.exports=Object.keys||function(e){return s(e,r)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!n.call({1:2},1);t.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{var s=n(6419),r=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=s(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),i(s),t?e(n,s):n.__proto__=s,n}}():void 0)},158:(e,t,n)=>{"use strict";var s=n(3471),r=n(4696);e.exports=s?{}.toString:function(){return"[object "+r(this)+"]"}},380:(e,t,n)=>{var s=n(8922),r=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&r(n=e.toString)&&!i(a=s(n,e)))return a;if(r(n=e.valueOf)&&!i(a=s(n,e)))return a;if("string"!==t&&r(n=e.toString)&&!i(a=s(n,e)))return a;throw o("Can't convert object to primitive value")}},3011:(e,t,n)=>{var s=n(150),r=n(4120),i=n(2092),o=n(4750),a=n(1138),c=r([].concat);e.exports=s("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},7545:e=>{e.exports={}},7656:(e,t,n)=>{var s=n(2454).f;e.exports=function(e,t,n){n in e||s(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{var s=n(5646),r=TypeError;e.exports=function(e){if(s(e))throw r("Can't call method on "+e);return e}},1284:(e,t,n)=>{var s=n(3471),r=n(2454).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,l){if(e){var u=n?e:e.prototype;o(u,c)||r(u,c,{configurable:!0,value:t}),l&&!s&&i(u,"toString",a)}}},9766:(e,t,n)=>{var s=n(8717),r=n(2759),i=s("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},6434:(e,t,n)=>{var s=n(8576),r=n(5098),i="__core-js_shared__",o=s[i]||r(i,{});e.exports=o},8717:(e,t,n)=>{var s=n(5546),r=n(6434);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:s?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{var s=n(4120),r=n(1941),i=n(4845),o=n(3209),a=s("".charAt),c=s("".charCodeAt),l=s("".slice),u=function(e){return function(t,n){var s,u,p=i(o(t)),m=r(n),h=p.length;return m<0||m>=h?e?"":void 0:(s=c(p,m))<55296||s>56319||m+1===h||(u=c(p,m+1))<56320||u>57343?e?a(p,m):s:e?l(p,m,m+2):u-56320+(s-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},6770:(e,t,n)=>{var s=n(4218),r=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},7739:(e,t,n)=>{var s=n(1941),r=Math.max,i=Math.min;e.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}},101:(e,t,n)=>{var s=n(2202),r=n(3209);e.exports=function(e){return s(r(e))}},1941:(e,t,n)=>{var s=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}},8445:(e,t,n)=>{var s=n(1941),r=Math.min;e.exports=function(e){return e>0?r(s(e),9007199254740991):0}},1795:(e,t,n)=>{var s=n(3209),r=Object;e.exports=function(e){return r(s(e))}},7888:(e,t,n)=>{var s=n(8922),r=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,c=o(e,u);if(c){if(void 0===t&&(t="default"),n=s(c,e,t),!r(n)||i(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{var s=n(7888),r=n(3236);e.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}},3471:(e,t,n)=>{var s={};s[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(s)},4845:(e,t,n)=>{var s=n(4696),r=String;e.exports=function(e){if("Symbol"===s(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{var s=n(4120),r=0,i=Math.random(),o=s(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},615:(e,t,n)=>{var s=n(6770);e.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{var s=n(69),r=n(6192);e.exports=s&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{var s=n(8576),r=n(6447),i=s.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{var s=n(8576),r=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),l=s.Symbol,u=r("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:p("Symbol."+e)),u[e]}},426:(e,t,n)=>{"use strict";var s=n(150),r=n(4500),i=n(8711),o=n(8902),a=n(4469),c=n(7987),l=n(7656),u=n(2643),p=n(6016),m=n(273),h=n(8266),f=n(69),d=n(5546);e.exports=function(e,t,n,y){var g="stackTraceLimit",v=y?2:1,b=e.split("."),E=b[b.length-1],x=s.apply(null,b);if(x){var j=x.prototype;if(!d&&r(j,"cause")&&delete j.cause,!n)return x;var O=s("Error"),S=t((function(e,t){var n=p(y?t:e,void 0),s=y?new x(e):new x;return void 0!==n&&i(s,"message",n),h(s,S,s.stack,2),this&&o(j,this)&&u(s,this,S),arguments.length>v&&m(s,arguments[v]),s}));if(S.prototype=j,"Error"!==E?a?a(S,O):c(S,O,{name:!0}):f&&g in x&&(l(S,x,g),l(S,x,"prepareStackTrace")),c(S,x),!d)try{j.name!==E&&i(j,"name",E),j.constructor=S}catch(e){}return S}}},4016:(e,t,n)=>{var s=n(3085),r=n(150),i=n(6298),o=n(6192),a=n(426),c="AggregateError",l=r(c),u=!o((function(){return 1!==l([1]).errors[0]}))&&o((function(){return 7!==l([1],c,{cause:7}).cause}));s({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),u,!0)})},3820:(e,t,n)=>{"use strict";var s=n(3085),r=n(8902),i=n(9341),o=n(4469),a=n(7987),c=n(2853),l=n(8711),u=n(774),p=n(273),m=n(8266),h=n(3442),f=n(6016),d=n(8182)("toStringTag"),y=Error,g=[].push,v=function(e,t){var n,s=r(b,this);o?n=o(y(),s?i(this):b):(n=s?this:c(b),l(n,d,"Error")),void 0!==t&&l(n,"message",f(t)),m(n,v,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return h(e,g,{that:a}),l(n,"errors",a),n};o?o(v,y):a(v,y,{name:!0});var b=v.prototype=c(y.prototype,{constructor:u(1,v),message:u(1,""),name:u(1,"AggregateError")});s({global:!0,constructor:!0,arity:2},{AggregateError:v})},4242:(e,t,n)=>{n(3820)},8939:(e,t,n)=>{"use strict";var s=n(101),r=n(7423),i=n(7771),o=n(3326),a=n(2454).f,c=n(5297),l=n(7271),u=n(5546),p=n(69),m="Array Iterator",h=o.set,f=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){h(this,{type:m,target:s(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,s=e.index++;return!t||s>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==n?s:"values"==n?t[s]:[s,t[s]],!1)}),"values");var d=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!u&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{var s=n(3085),r=n(8576),i=n(6298),o=n(426),a="WebAssembly",c=r[a],l=7!==Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=o(e,t,l),s({global:!0,constructor:!0,arity:1,forced:l},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,l),s({target:a,stat:!0,constructor:!0,arity:1,forced:l},n)}};u("Error",(function(e){return function(t){return i(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),u("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var s=n(863).charAt,r=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",l=i.set,u=i.getterFor(c);o(String,"String",(function(e){l(this,{type:c,string:r(e),index:0})}),(function(){var e,t=u(this),n=t.string,r=t.index;return r>=n.length?a(void 0,!0):(e=s(n,r),t.index+=e.length,a(e,!1))}))},2752:(e,t,n)=>{n(4242)},162:(e,t,n)=>{n(8939);var s=n(7365),r=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var l in s){var u=r[l],p=u&&u.prototype;p&&i(p)!==c&&o(p,c,l),a[l]=a.Array}},5846:(e,t,n)=>{n(2752);var s=n(6791);n(162),e.exports=s},9515:(e,t,n)=>{var s=n(8761)(n(7772),"DataView");e.exports=s},9612:(e,t,n)=>{var s=n(2118),r=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var s=n(3945),r=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var s=n(8761)(n(7772),"Map");e.exports=s},6738:(e,t,n)=>{var s=n(2411),r=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var s=n(8761)(n(7772),"Promise");e.exports=s},2143:(e,t,n)=>{var s=n(8761)(n(7772),"Set");e.exports=s},5386:(e,t,n)=>{var s=n(6738),r=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new s;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var s=n(235),r=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function l(e){var t=this.__data__=new s(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=c,e.exports=l},857:(e,t,n)=>{var s=n(7772).Symbol;e.exports=s},9162:(e,t,n)=>{var s=n(7772).Uint8Array;e.exports=s},3215:(e,t,n)=>{var s=n(8761)(n(7772),"WeakMap");e.exports=s},7552:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length,r=0,i=[];++n<s;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}},1634:(e,t,n)=>{var s=n(6473),r=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&r(e),p=!n&&!u&&o(e),m=!n&&!u&&!p&&c(e),h=n||u||p||m,f=h?s(e.length,String):[],d=f.length;for(var y in e)!t&&!l.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||m&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,d))||f.push(y);return f}},5067:e=>{e.exports=function(e,t){for(var n=-1,s=t.length,r=e.length;++n<s;)e[r+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length;++n<s;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var s=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(s(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var s=n(5067),r=n(6152);e.exports=function(e,t,n){var i=t(e);return r(e)?i:s(i,n(e))}},3366:(e,t,n)=>{var s=n(857),r=n(2107),i=n(7157),o=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},5183:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return r(e)&&"[object Arguments]"==s(e)}},8746:(e,t,n)=>{var s=n(1952),r=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:s(t,n,i,o,e,a))}},1952:(e,t,n)=>{var s=n(6571),r=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),l=n(3226),u=n(7598),p="[object Arguments]",m="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,g){var v=c(e),b=c(t),E=v?m:a(e),x=b?m:a(t),j=(E=E==p?h:E)==h,O=(x=x==p?h:x)==h,S=E==x;if(S&&l(e)){if(!l(t))return!1;v=!0,j=!1}if(S&&!j)return g||(g=new s),v||u(e)?r(e,t,n,d,y,g):i(e,t,E,n,d,y,g);if(!(1&n)){var w=j&&f.call(e,"__wrapped__"),P=O&&f.call(t,"__wrapped__");if(w||P){var A=w?e.value():e,k=P?t.value():t;return g||(g=new s),y(A,k,n,d,g)}}return!!S&&(g||(g=new s),o(e,t,n,d,y,g))}},6840:(e,t,n)=>{var s=n(1049),r=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,m=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(s(e)?m:a).test(o(e))}},5522:(e,t,n)=>{var s=n(3366),r=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[s(e)]}},6411:(e,t,n)=>{var s=n(6001),r=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,s=Array(e);++n<e;)s[n]=t(n);return s}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var s=n(7772)["__core-js_shared__"];e.exports=s},4871:(e,t,n)=>{var s=n(5386),r=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var l=1&n,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var f=-1,d=!0,y=2&n?new s:void 0;for(c.set(e,t),c.set(t,e);++f<u;){var g=e[f],v=t[f];if(o)var b=l?o(v,g,f,t,e,c):o(g,v,f,e,t,c);if(void 0!==b){if(b)continue;d=!1;break}if(y){if(!r(t,(function(e,t){if(!i(y,t)&&(g===e||a(g,e,n,o,c)))return y.push(t)}))){d=!1;break}}else if(g!==v&&!a(g,v,n,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,n)=>{var s=n(857),r=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),l=s?s.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,n,s,l,p,m){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var f=1&s;if(h||(h=c),e.size!=t.size&&!f)return!1;var d=m.get(e);if(d)return d==t;s|=2,m.set(e,t);var y=o(h(e),h(t),s,l,p,m);return m.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},7416:(e,t,n)=>{var s=n(3483),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,l=s(e),u=l.length;if(u!=s(t).length&&!c)return!1;for(var p=u;p--;){var m=l[p];if(!(c?m in t:r.call(t,m)))return!1}var h=a.get(e),f=a.get(t);if(h&&f)return h==t&&f==e;var d=!0;a.set(e,t),a.set(t,e);for(var y=c;++p<u;){var g=e[m=l[p]],v=t[m];if(i)var b=c?i(v,g,m,t,e,a):i(g,v,m,e,t,a);if(!(void 0===b?g===v||o(g,v,n,i,a):b)){d=!1;break}y||(y="constructor"==m)}if(d&&!y){var E=e.constructor,x=t.constructor;E==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof x&&x instanceof x||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,n)=>{var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=s},3483:(e,t,n)=>{var s=n(1897),r=n(633),i=n(249);e.exports=function(e){return s(e,i,r)}},7937:(e,t,n)=>{var s=n(8304);e.exports=function(e,t){var n=e.__data__;return s(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var s=n(6840),r=n(8109);e.exports=function(e,t){var n=r(e,t);return s(n)?n:void 0}},2107:(e,t,n)=>{var s=n(857),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=s?s.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var s=!0}catch(e){}var r=o.call(e);return s&&(t?e[a]=n:delete e[a]),r}},633:(e,t,n)=>{var s=n(7552),r=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),s(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},940:(e,t,n)=>{var s=n(9515),r=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),l=n(7035),u="[object Map]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",f="[object DataView]",d=l(s),y=l(r),g=l(i),v=l(o),b=l(a),E=c;(s&&E(new s(new ArrayBuffer(1)))!=f||r&&E(new r)!=u||i&&E(i.resolve())!=p||o&&E(new o)!=m||a&&E(new a)!=h)&&(E=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,s=n?l(n):"";if(s)switch(s){case d:return f;case y:return u;case g:return p;case v:return m;case b:return h}return t}),e.exports=E},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var s=n(9191);e.exports=function(){this.__data__=s?s(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(s){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return s?void 0!==t[e]:r.call(t,e)}},7942:(e,t,n)=>{var s=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var s=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==s||"symbol"!=s&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var s,r=n(4019),i=(s=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var s=n(2218),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=s(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var s=n(2218);e.exports=function(e){var t=this.__data__,n=s(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var s=n(2218);e.exports=function(e){return s(this.__data__,e)>-1}},4769:(e,t,n)=>{var s=n(2218);e.exports=function(e,t){var n=this.__data__,r=s(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},2411:(e,t,n)=>{var s=n(9612),r=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new s,map:new(i||r),string:new s}}},6417:(e,t,n)=>{var s=n(7937);e.exports=function(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).get(e)}},9493:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).has(e)}},4150:(e,t,n)=>{var s=n(7937);e.exports=function(e,t){var n=s(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,s){n[++t]=[s,e]})),n}},9191:(e,t,n)=>{var s=n(8761)(Object,"create");e.exports=s},4248:(e,t,n)=>{var s=n(241)(Object.keys,Object);e.exports=s},4146:(e,t,n)=>{e=n.nmd(e);var s=n(1242),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&s.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var s=n(1242),r="object"==typeof self&&self&&self.Object===Object&&self,i=s||r||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var s=n(235);e.exports=function(){this.__data__=new s,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var s=n(235),r=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof s){var o=n.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var s=n(5183),r=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=s(function(){return arguments}())?s:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var s=n(1049),r=n(1158);e.exports=function(e){return null!=e&&r(e.length)&&!s(e)}},4335:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==s(e)}},3226:(e,t,n)=>{e=n.nmd(e);var s=n(7772),r=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?s.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c},8149:(e,t,n)=>{var s=n(8746);e.exports=function(e,t){return s(e,t)}},1049:(e,t,n)=>{var s=n(3366),r=n(9259);e.exports=function(e){if(!r(e))return!1;var t=s(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==s(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var s=n(3366),r=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==s(e)}},7598:(e,t,n)=>{var s=n(5522),r=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?r(o):s;e.exports=a},249:(e,t,n)=>{var s=n(1634),r=n(6411),i=n(7878);e.exports=function(e){return i(e)?s(e):r(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const s=n(1570);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(s(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const s=n(5877),r=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),l=n(3756);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=l.Element,this.KeyValuePair=l.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",l.NullElement).register("string",l.StringElement).register("number",l.NumberElement).register("boolean",l.BooleanElement).register("array",l.ArrayElement).register("object",l.ObjectElement).register("member",l.MemberElement).register("ref",l.RefElement).register("link",l.LinkElement),this.detect(s,l.NullElement,!1).detect(r,l.StringElement,!1).detect(i,l.NumberElement,!1).detect(o,l.BooleanElement,!1).detect(Array.isArray,l.ArrayElement,!1).detect(a,l.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const s=this.elementDetection[n][0],r=this.elementDetection[n][1];if(s(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=u,e.exports=u},3853:(e,t,n)=>{const s=n(1570),r=n(1178);class i extends r{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(s(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,s)=>{e.bind(t)(n.value,n.key,n,s)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const s=n(6420),r=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),l=n(8858),u=n(3860),p=n(5202),m=n(2320),h=n(1178),f=n(3853),d=n(3026);function y(e){if(e instanceof s)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new r;if(Array.isArray(e))return new c(e.map(y));if("object"==typeof e){return new u(e)}return e}s.prototype.ObjectElement=u,s.prototype.RefElement=m,s.prototype.MemberElement=l,s.prototype.refract=y,h.prototype.refract=y,e.exports={Element:s,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:l,ObjectElement:u,LinkElement:p,RefElement:m,refract:y,ArraySlice:h,ObjectSlice:f,KeyValuePair:d}},5202:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const s=n(5140),r=n(3756);t.lS=s,t.KeyValuePair=n(3026),t.O4=r.ArraySlice,t.rm=r.ObjectSlice,t.W_=r.Element,t.RP=r.StringElement,t.VL=r.NumberElement,t.hh=r.BooleanElement,t.zr=r.NullElement,t.ON=r.ArrayElement,t.Sb=r.ObjectElement,t.c6=r.MemberElement,t.tK=r.RefElement,t.EA=r.LinkElement,t.Qc=r.refract,n(2947),n(8910)},1641:(e,t,n)=>{const s=n(1570),r=n(6420),i=n(1178);class o extends r{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(s(e),t)}reduce(e,t){let n,s;void 0!==t?(n=0,s=this.refract(t)):(n=1,s="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];s="object"===this.primitive()?this.refract(e(s,n.value,n.key,n,this)):this.refract(e(s,n,t,this))}return s}forEach(e,t){this.content.forEach(((n,s)=>{e.bind(t)(n,this.refract(s))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},s=!!n.recursive,r=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{s&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:s}),e(t,n,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const s=n(8149),r=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const s=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(s,e),n.content instanceof r&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const s=e[t],r=n.indexOf(s);if(-1===r)return!1;n=n.splice(0,r)}return!0}))),n}set(e){return this.content=e,this}equals(e){return s(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const s=n(3026),r=n(6420);e.exports=class extends r{constructor(e,t,n,r){super(new s,n,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const s=n(1570),r=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,s=this.getMember(n);return s?s.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((s,r,i)=>{const o=e.bind(t)(s,r,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(s(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const s=n(2947);e.exports=class extends s{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const s="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(s){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:s}=e;s.get("metadata")&&(s=s.clone(),s.set("meta",s.get("metadata")),s.remove("metadata")),"member"===e.element&&t&&(s=s.clone(),s.remove("variable")),s.length>0&&(n.attributes=this.serialiseObject(s))}if(s)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let s;t&&e.content.key?(s=e.content.clone(),s.key.attributes.set("variable",t),s=this.serialiseContent(s)):s=this.serialiseContent(e.content),this.shouldSerialiseContent(e,s)&&(n.content=s)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),s=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(s&&s.content&&(s.content.attributes&&s.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([s.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const s=this.deserialiseContent(e.content);if(void 0===s&&null!==n.content||(n.content=s),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const s=e;e=new this.namespace.elements.Array,s.forEach((s=>{s.forEach((s=>{const r=new t(s);r.element=n.element,e.push(r)}))}));const r=e.shift();n.content=r?r.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let s=n.attributes.get("default");if(s&&s.length>0){s=s.get(0);const e=new t(s);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const s=n.toValue();t[s]=this.convertKeyToRefract(s,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,s,r,i,o="properties",a="deepProperties",c="propertyDescriptors",l="staticProperties",u="staticDeepProperties",p="staticPropertyDescriptors",m="configuration",h="deepConfiguration",f="deepProps",d="deepStatics",y="deepConf",g="initializers",v="methods",b="composers",E="compose";function x(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function j(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var O=j.bind(0,(function(e,t){if(t)for(var n=x(t),s=0;s<n.length;s+=1)Object.defineProperty(e,n[s],Object.getOwnPropertyDescriptor(t,n[s]));return e}));function S(e){return"function"==typeof e}function w(e){return e&&"object"==typeof e||S(e)}function P(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var A=j.bind(0,(function e(n,s){if(s===t)return n;if(Array.isArray(s))return(Array.isArray(n)?n:[]).concat(s);if(!P(s))return s;for(var r,i,o=x(s),a=0;a<o.length;)r=o[a++],(i=Object.getOwnPropertyDescriptor(s,r)).hasOwnProperty("value")?i.value!==t&&(n[r]=e(P(n[r])||Array.isArray(s[r])?n[r]:{},s[r])):Object.defineProperty(n,r,i);return n}));function k(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return S(e)&&n.indexOf(e)===t}))).length?n:t}function C(e,t){function s(n,s){w(t[n])&&(w(e[n])||(e[n]={}),(s||O)(e[n],t[n]))}function r(s){(n=k(e[s],t[s]))&&(e[s]=n)}return t&&w(t=t[E]||t)&&(s(v),s(o),s(a,A),s(c),s(l),s(u,A),s(p),s(m),s(h,A),r(g),r(b)),e}function _(){return function(e){return n=function e(n){var s,r,i=e[E]||{},l={__proto__:i[v]},u=i[g],p=Array.prototype.slice.apply(arguments),m=i[a];if(m&&A(l,m),(m=i[o])&&O(l,m),(m=i[c])&&Object.defineProperties(l,m),!u||!u.length)return l;for(n===t&&(n={}),i=0;i<u.length;)S(s=u[i++])&&(l=(r=s.call(l,n,{instance:l,stamp:e,args:p}))===t?l:r);return l},(s=e[u])&&A(n,s),(s=e[l])&&O(n,s),(s=e[p])&&Object.defineProperties(n,s),s=S(n[E])?n[E]:_,O(n[E]=function(){return s.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(C,{}))}function R(e){return S(e)&&S(e[E])}var T={};function M(e,i){return function(){return(r={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[E]||s).call(n,r)}}T[v]=M(v,O),T[o]=T.props=M(o,O),T[g]=T.init=M(g,k),T[b]=M(b,k),T[a]=T[f]=M(a,A),T[l]=T.statics=M(l,O),T[u]=T[d]=M(u,A),T[m]=T.conf=M(m,O),T[h]=T[y]=M(h,A),T[c]=M(c,O),T[p]=M(p,O),s=T[E]=O((function(){for(var e,x,j=0,S=[],P=arguments,C=this;j<P.length;)w(e=P[j++])&&S.push(R(e)?e:((r={})[v]=(x=e)[v]||t,s=x.props,r[o]=w((n=x[o])||s)?O({},s,n):t,r[g]=k(x.init,x[g]),r[b]=k(x[b]),s=x[f],r[a]=w((n=x[a])||s)?A({},s,n):t,r[c]=x[c],s=x.statics,r[l]=w((n=x[l])||s)?O({},s,n):t,s=x[d],r[u]=w((n=x[u])||s)?A({},s,n):t,n=x[p],r[p]=w((s=x.name&&{name:{value:x.name}})||n)?O({},n,s):t,s=x.conf,r[m]=w((n=x[m])||s)?O({},s,n):t,s=x[y],r[h]=w((n=x[h])||s)?A({},s,n):t,r));if(e=_.apply(C||i,S),C&&S.unshift(C),Array.isArray(P=e[E][b]))for(j=0;j<P.length;)e=R(C=P[j++]({stamp:e,composables:S}))?C:e;return e}),T),T.create=function(){return this.apply(t,arguments)},(r={})[l]=T,i=_(r),s[E]=s.bind(),s.version="4.3.2","object"!=typeof t?e.exports=s:self.stampit=s}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var s={};return(()=>{"use strict";n.r(s),n.d(s,{CallbackElement:()=>$p,ComponentsCallbacksElement:()=>Gl,ComponentsElement:()=>qp,ComponentsExamplesElement:()=>Rl,ComponentsHeadersElement:()=>Fl,ComponentsLinksElement:()=>zl,ComponentsParametersElement:()=>kl,ComponentsPathItemsElement:()=>bm,ComponentsRequestBodiesElement:()=>Il,ComponentsResponsesElement:()=>wl,ComponentsSchemasElement:()=>jl,ComponentsSecuritySchemesElement:()=>Dl,ContactElement:()=>Fp,DiscriminatorElement:()=>Np,DiscriminatorMappingElement:()=>ol,EncodingElement:()=>Bp,EncodingHeadersElement:()=>iu,ExampleElement:()=>Dp,ExternalDocumentationElement:()=>Lp,HeaderContentElement:()=>Cc,HeaderElement:()=>Vp,HeaderExamplesElement:()=>wc,InfoElement:()=>zp,JsonSchemaDialectElement:()=>Jp,LicenseElement:()=>Gp,LinkElement:()=>Hp,LinkParametersElement:()=>Jo,MediaTypeElement:()=>Kp,MediaTypeEncodingElement:()=>Ja,MediaTypeExamplesElement:()=>Va,OAuthFlowElement:()=>Wp,OAuthFlowScopesElement:()=>Sp,OAuthFlowsElement:()=>Xp,OpenAPIMediaTypes:()=>zn,OpenApi3_1Element:()=>Zp,OpenapiElement:()=>Yp,OperationCallbacksElement:()=>Ju,OperationElement:()=>em,OperationParametersElement:()=>Du,OperationSecurityElement:()=>Wu,OperationServersElement:()=>Qu,OperationTagsElement:()=>Iu,ParameterContentElement:()=>bl,ParameterElement:()=>tm,ParameterExamplesElement:()=>yl,PathItemElement:()=>nm,PathItemParametersElement:()=>cp,PathItemServersElement:()=>ip,PathsElement:()=>sm,ReferenceElement:()=>im,RequestBodyContentElement:()=>fu,RequestBodyElement:()=>om,ResponseContentElement:()=>Su,ResponseElement:()=>am,ResponseHeadersElement:()=>xu,ResponseLinksElement:()=>Au,ResponsesElement:()=>cm,SchemaElement:()=>um,SecurityElement:()=>Wa,SecurityRequirementElement:()=>pm,SecuritySchemeElement:()=>mm,ServerElement:()=>hm,ServerVariableElement:()=>fm,ServerVariablesElement:()=>oa,ServersElement:()=>Zo,TagElement:()=>dm,TagsElement:()=>Ap,WebhooksElement:()=>xm,XmlElement:()=>ym,createToolbox:()=>ph,default:()=>gm,getNodeType:()=>jm,isArrayElement:()=>mn,isBooleanElement:()=>un,isBooleanJsonSchemaElement:()=>oh,isCallbackElement:()=>qm,isComponentsElement:()=>Fm,isContactElement:()=>Nm,isElement:()=>on,isExampleElement:()=>Bm,isExternalDocumentationElement:()=>Dm,isInfoElement:()=>Vm,isJsonSchemaDialectElement:()=>zm,isLicenseElement:()=>Um,isLinkElement:()=>Jm,isLinkElementExternal:()=>Gm,isLinkPrimitiveElement:()=>fn,isMediaTypeElement:()=>uh,isMemberElement:()=>hn,isNullElement:()=>ln,isNumberElement:()=>cn,isObjectElement:()=>pn,isOpenApi3_1Element:()=>Km,isOpenApi3_1LikeElement:()=>mh,isOpenApiExtension:()=>xo,isOpenapiElement:()=>Hm,isOperationElement:()=>Wm,isParameterElement:()=>Xm,isParameterLikeElement:()=>fo,isPathItemElement:()=>Ym,isPathItemElementExternal:()=>Qm,isPathsElement:()=>Zm,isRefElement:()=>dn,isReferenceElement:()=>eh,isReferenceElementExternal:()=>th,isReferenceLikeElement:()=>yo,isRequestBodyElement:()=>nh,isResponseElement:()=>sh,isResponseLikeElement:()=>vo,isResponsesElement:()=>rh,isSchemaElement:()=>ih,isSecurityRequirementElement:()=>ah,isServerElement:()=>ch,isServerLikeElement:()=>bo,isServerVariableElement:()=>lh,isStringElement:()=>an,keyMap:()=>Om,mediaTypes:()=>Un,refractorPluginNormalizeHeaderExamples:()=>$m,refractorPluginNormalizeOperationIds:()=>Mm,refractorPluginNormalizeParameterExamples:()=>Im,refractorPluginNormalizeParameters:()=>Am,refractorPluginNormalizeSecurityRequirements:()=>km,refractorPluginNormalizeServers:()=>Cm,refractorPluginReplaceEmptyElement:()=>Pm});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>xn,includesClasses:()=>On,includesSymbols:()=>jn,isAnnotationElement:()=>yn,isArrayElement:()=>mn,isBooleanElement:()=>un,isCommentElement:()=>gn,isElement:()=>on,isLinkElement:()=>fn,isMemberElement:()=>hn,isNullElement:()=>ln,isNumberElement:()=>cn,isObjectElement:()=>pn,isParseResultElement:()=>vn,isPrimitiveElement:()=>En,isRefElement:()=>dn,isSourceMapElement:()=>bn,isStringElement:()=>an});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>zi,isJSONSchemaElement:()=>Vi,isLinkDescriptionElement:()=>Ji,isMediaElement:()=>Ui});var r={};n.r(r),n.d(r,{isOpenApi3_0LikeElement:()=>ho,isOpenApiExtension:()=>xo,isParameterLikeElement:()=>fo,isReferenceLikeElement:()=>yo,isRequestBodyLikeElement:()=>go,isResponseLikeElement:()=>vo,isServerLikeElement:()=>bo,isTagLikeElement:()=>Eo});var i={};n.r(i),n.d(i,{isBooleanJsonSchemaElement:()=>Ma,isCallbackElement:()=>ua,isComponentsElement:()=>pa,isContactElement:()=>ma,isExampleElement:()=>ha,isExternalDocumentationElement:()=>fa,isHeaderElement:()=>da,isInfoElement:()=>ya,isLicenseElement:()=>ga,isLinkElement:()=>va,isLinkElementExternal:()=>ba,isMediaTypeElement:()=>Fa,isOpenApi3_0Element:()=>xa,isOpenapiElement:()=>Ea,isOperationElement:()=>ja,isParameterElement:()=>Oa,isPathItemElement:()=>Sa,isPathItemElementExternal:()=>wa,isPathsElement:()=>Pa,isReferenceElement:()=>Aa,isReferenceElementExternal:()=>ka,isRequestBodyElement:()=>Ca,isResponseElement:()=>_a,isResponsesElement:()=>Ra,isSchemaElement:()=>Ta,isSecurityRequirementElement:()=>Ia,isServerElement:()=>$a,isServerVariableElement:()=>qa});var o={};n.r(o),n.d(o,{isBooleanJsonSchemaElement:()=>oh,isCallbackElement:()=>qm,isComponentsElement:()=>Fm,isContactElement:()=>Nm,isExampleElement:()=>Bm,isExternalDocumentationElement:()=>Dm,isHeaderElement:()=>Lm,isInfoElement:()=>Vm,isJsonSchemaDialectElement:()=>zm,isLicenseElement:()=>Um,isLinkElement:()=>Jm,isLinkElementExternal:()=>Gm,isMediaTypeElement:()=>uh,isOpenApi3_1Element:()=>Km,isOpenapiElement:()=>Hm,isOperationElement:()=>Wm,isParameterElement:()=>Xm,isPathItemElement:()=>Ym,isPathItemElementExternal:()=>Qm,isPathsElement:()=>Zm,isReferenceElement:()=>eh,isReferenceElementExternal:()=>th,isRequestBodyElement:()=>nh,isResponseElement:()=>sh,isResponsesElement:()=>rh,isSchemaElement:()=>ih,isSecurityRequirementElement:()=>ah,isServerElement:()=>ch,isServerVariableElement:()=>lh});var a=n(7952);const c=function(){return!1};const l=function(){return!0};function u(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function p(e){return function t(n){return 0===arguments.length||u(n)?t:e.apply(this,arguments)}}function m(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return u(n)?t:p((function(t){return e(n,t)}));default:return u(n)&&u(s)?t:u(n)?p((function(t){return e(t,s)})):u(s)?p((function(t){return e(n,t)})):e(n,s)}}}const h=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function f(e,t,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!h(s)){for(var r=0;r<e.length;){if("function"==typeof s[e[r]])return s[e[r]].apply(s,Array.prototype.slice.call(arguments,0,-1));r+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(s))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(s)}return n.apply(this,arguments)}}function d(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const y=function(){return this.xf["@@transducer/init"]()},g=function(e){return this.xf["@@transducer/result"](e)};var v=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=d(this.xf["@@transducer/step"](e,!1))),e},e}();function b(e){return function(t){return new v(e,t)}}const E=m(f(["all"],b,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function x(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,s){return t.apply(this,arguments)};case 4:return function(e,n,s,r){return t.apply(this,arguments)};case 5:return function(e,n,s,r,i){return t.apply(this,arguments)};case 6:return function(e,n,s,r,i,o){return t.apply(this,arguments)};case 7:return function(e,n,s,r,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,s,r,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,s,r,i,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,n,s,r,i,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 j(e,t,n){return function(){for(var s=[],r=0,i=e,o=0;o<t.length||r<arguments.length;){var a;o<t.length&&(!u(t[o])||r>=arguments.length)?a=t[o]:(a=arguments[r],r+=1),s[o]=a,u(a)||(i-=1),o+=1}return i<=0?n.apply(this,s):x(i,j(e,s,n))}}const O=m((function(e,t){return 1===e?p(t):x(e,j(e,[],t))}));function S(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function w(e,t,n){for(var s=0,r=n.length;s<r;){if(e(t,n[s]))return!0;s+=1}return!1}function P(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const A="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var k=Object.prototype.toString;const C=function(){return"[object Arguments]"===k.call(arguments)?function(e){return"[object Arguments]"===k.call(e)}:function(e){return P("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),R=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=function(){return arguments.propertyIsEnumerable("length")}(),M=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};const I="function"!=typeof Object.keys||T?p((function(e){if(Object(e)!==e)return[];var t,n,s=[],r=T&&C(e);for(t in e)!P(t,e)||r&&"length"===t||(s[s.length]=t);if(_)for(n=R.length-1;n>=0;)P(t=R[n],e)&&!M(s,t)&&(s[s.length]=t),n-=1;return s})):p((function(e){return Object(e)!==e?[]:Object.keys(e)}));const $=p((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function q(e,t,n,s){var r=S(e);function i(e,t){return F(e,t,n.slice(),s.slice())}return!w((function(e,t){return!w(i,t,e)}),S(t),r)}function F(e,t,n,s){if(A(e,t))return!0;var r,i,o=$(e);if(o!==$(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!A(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!A(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return s[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&q(e.entries(),t.entries(),n.concat([e]),s.concat([t]));case"Set":return e.size===t.size&&q(e.values(),t.values(),n.concat([e]),s.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=I(e);if(c.length!==I(t).length)return!1;var l=n.concat([e]),u=s.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!P(p,t)||!F(t[p],e[p],l,u))return!1;a-=1}return!0}const N=m((function(e,t){return F(e,t,[],[])}));function B(e,t){return function(e,t,n){var s,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(s=1/t;n<e.length;){if(0===(r=e[n])&&1/r===s)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(r=e[n])&&r!=r)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(N(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function D(e,t){for(var n=0,s=t.length,r=Array(s);n<s;)r[n]=e(t[n]),n+=1;return r}function L(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 V=function(e){return(e<10?"0":"")+e};const z="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+V(e.getUTCMonth()+1)+"-"+V(e.getUTCDate())+"T"+V(e.getUTCHours())+":"+V(e.getUTCMinutes())+":"+V(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function U(e,t,n){for(var s=0,r=n.length;s<r;)t=e(t,n[s]),s+=1;return t}function J(e){return"[object Object]"===Object.prototype.toString.call(e)}var G=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function H(e){return function(t){return new G(e,t)}}const K=m(f(["fantasy-land/filter","filter"],H,(function(e,t){return J(t)?U((function(n,s){return e(t[s])&&(n[s]=t[s]),n}),{},I(t)):function(e,t){for(var n=0,s=t.length,r=[];n<s;)e(t[n])&&(r[r.length]=t[n]),n+=1;return r}(e,t)})));const W=m((function(e,t){return K((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function X(e,t){var n=function(n){var s=t.concat([e]);return B(n,s)?"<Circular>":X(n,s)},s=function(e,t){return D((function(t){return L(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+D(n,e).join(", ")+"))";case"[object Array]":return"["+D(n,e).concat(s(e,W((function(e){return/^\d+$/.test(e)}),I(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):L(z(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":L(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+s(e,I(e)).join(", ")+"}"}}const Y=p((function(e){return X(e,[])}));const Q=m((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var s=n(e,t);if(void 0!==s)return s;var r=n(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=Y(e),o=n(i,Y(t));return void 0!==o&&o===i?e:t}));var Z=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const ee=m(f(["fantasy-land/map","map"],(function(e){return function(t){return new Z(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return O(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return U((function(n,s){return n[s]=e(t[s]),n}),{},I(t));default:return D(e,t)}}))),te=Number.isInteger||function(e){return e<<0===e};function ne(e){return"[object String]"===Object.prototype.toString.call(e)}const se=m((function(e,t){var n=e<0?t.length+e:e;return ne(t)?t.charAt(n):t[n]}));const re=m((function(e,t){if(null!=t)return te(e)?se(e,t):t[e]}));const ie=m((function(e,t){return ee(re(e),t)}));function oe(e){return function t(n,s,r){switch(arguments.length){case 0:return t;case 1:return u(n)?t:m((function(t,s){return e(n,t,s)}));case 2:return u(n)&&u(s)?t:u(n)?m((function(t,n){return e(t,s,n)})):u(s)?m((function(t,s){return e(n,t,s)})):p((function(t){return e(n,s,t)}));default:return u(n)&&u(s)&&u(r)?t:u(n)&&u(s)?m((function(t,n){return e(t,n,r)})):u(n)&&u(r)?m((function(t,n){return e(t,s,n)})):u(s)&&u(r)?m((function(t,s){return e(n,t,s)})):u(n)?p((function(t){return e(t,s,r)})):u(s)?p((function(t){return e(n,t,r)})):u(r)?p((function(t){return e(n,s,t)})):e(n,s,r)}}}const ae=p((function(e){return!!h(e)||!!e&&("object"==typeof e&&(!ne(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ce="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function le(e,t,n){return function(s,r,i){if(ae(i))return e(s,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(s,r,i,"fantasy-land/reduce");if(null!=i[ce])return n(s,r,i[ce]());if("function"==typeof i.next)return n(s,r,i);if("function"==typeof i.reduce)return t(s,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ue(e,t,n){for(var s=0,r=n.length;s<r;){if((t=e["@@transducer/step"](t,n[s]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return e["@@transducer/result"](t)}const pe=m((function(e,t){return x(e.length,(function(){return e.apply(t,arguments)}))}));function me(e,t,n){for(var s=n.next();!s.done;){if((t=e["@@transducer/step"](t,s.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=n.next()}return e["@@transducer/result"](t)}function he(e,t,n,s){return e["@@transducer/result"](n[s](pe(e["@@transducer/step"],e),t))}const fe=le(ue,he,me);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}();function ye(e){return new de(e)}const ge=oe((function(e,t,n){return fe("function"==typeof e?ye(e):e,t,n)}));const ve=p((function(e){return O(ge(Q,0,ie("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const be=p((function(e){return function(){return e}}));const Ee=p((function(e){return O(ge(Q,0,ie("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function xe(e,t,n){for(var s=n.next();!s.done;)t=e(t,s.value),s=n.next();return t}function je(e,t,n,s){return n[s](e,t)}const Oe=le(U,je,xe);const Se=m((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:Oe((function(e,n){return function(e,t){var n;t=t||[];var s=(e=e||[]).length,r=t.length,i=[];for(n=0;n<s;)i[i.length]=e[n],n+=1;for(n=0;n<r;)i[i.length]=t[n],n+=1;return i}(e,ee(n,t))}),[],e)}));const we=m((function(e,t){return e.apply(this,t)}));function Pe(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Ae=m((function(e,t){return e&&t}));const ke=m((function(e,t){var n=O(e,t);return O(e,(function(){return U(Se,ee(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ce=p((function(e){return ke(e.length,e)}));const _e=m((function(e,t){return Pe(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ce(Ae)(e,t)}));const Re=p((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));const Te=Ce(p((function(e){return!e})));function Me(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Ie(e,t){return function(){var n=arguments.length;if(0===n)return t();var s=arguments[n-1];return h(s)||"function"!=typeof s[e]?t.apply(this,arguments):s[e].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}const $e=oe(Ie("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const qe=p(Ie("tail",$e(1,1/0)));function Fe(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return x(arguments[0].length,ge(Me,arguments[0],qe(arguments)))}function Ne(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":""))}function Be(e,t,n){if(n||(n=new De),function(e){var t=typeof e;return null==e||"object"!=t&&"function"!=t}(e))return e;var s=function(s){var r=n.get(e);if(r)return r;for(var i in n.set(e,s),e)Object.prototype.hasOwnProperty.call(e,i)&&(s[i]=t?Be(e[i],!0,n):e[i]);return s};switch($(e)){case"Object":return s(Object.create(Object.getPrototypeOf(e)));case"Array":return s([]);case"Date":return new Date(e.valueOf());case"RegExp":return Ne(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}var De=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){const n=this.hash(e);let s=this.map[n];s||(this.map[n]=s=[]),s.push([e,t]),this.length+=1},e.prototype.hash=function(e){let t=[];for(var n in e)t.push(Object.prototype.toString.call(e[n]));return t.join()},e.prototype.get=function(e){if(this.length<=180){for(const t in this.map){const n=this.map[t];for(let t=0;t<n.length;t+=1){const s=n[t];if(s[0]===e)return s[1]}}return}const t=this.hash(e),n=this.map[t];if(n)for(let t=0;t<n.length;t+=1){const s=n[t];if(s[0]===e)return s[1]}},e}(),Le=function(){function e(e,t,n,s){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=s,this.inputs={}}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(P(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,Be(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}();function Ve(e,t,n){return function(s){return new Le(e,t,n,s)}}const ze=j(4,[],f([],Ve,(function(e,t,n,s){var r=ye((function(s,r){var i=n(r),o=e(P(i,s)?s[i]:Be(t,!1),r);return o&&o["@@transducer/reduced"]?d(s):(s[i]=o,s)}));return fe(r,{},s)})));const Ue=p((function(e){return O(e.length,e)}));const Je=m((function(e,t){return null==t||t!=t?e:t}));function Ge(e,t,n){var s,r=typeof e;switch(r){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(s=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===s):n._nativeSet.has(e):r in n._items?e in n._items[r]||(t&&(n._items[r][e]=!0),!1):(t&&(n._items[r]={},n._items[r][e]=!0),!1);case"boolean":if(r in n._items){var i=e?1:0;return!!n._items[r][i]||(t&&(n._items[r][i]=!0),!1)}return t&&(n._items[r]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(s=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===s):n._nativeSet.has(e):r in n._items?!!B(e,n._items[r])||(t&&n._items[r].push(e),!1):(t&&(n._items[r]=[e]),!1);case"undefined":return!!n._items[r]||(t&&(n._items[r]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(r=Object.prototype.toString.call(e))in n._items?!!B(e,n._items[r])||(t&&n._items[r].push(e),!1):(t&&(n._items[r]=[e]),!1)}}const He=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Ge(e,!0,this)},e.prototype.has=function(e){return Ge(e,!1,this)},e}();const Ke=m((function(e,t){for(var n=[],s=0,r=e.length,i=t.length,o=new He,a=0;a<i;a+=1)o.add(t[a]);for(;s<r;)o.add(e[s])&&(n[n.length]=e[s]),s+=1;return n}));var We=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?d(n):n},e}();function Xe(e){return function(t){return new We(e,t)}}const Ye=m(f(["take"],Xe,(function(e,t){return $e(0,e<0?1/0:e,t)})));var Qe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,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 Ze(e){return function(t){return new Qe(e,t)}}const et=m(f(["dropWhile"],Ze,(function(e,t){for(var n=0,s=t.length;n<s&&e(t[n]);)n+=1;return $e(n,1/0,t)})));const tt=m((function(e,t){return e||t}));const nt=m((function(e,t){return Pe(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ce(tt)(e,t)}));var st=p((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():h(e)?[]:ne(e)?"":J(e)?{}:C(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 rt=st;const it=p((function(e){return O(e.length,(function(t,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=t,e.apply(this,s)}))}));const ot=m(Ie("groupBy",ze((function(e,t){return e.push(t),e}),[])));const at=p((function(e){return null==e}));const ct=m((function(e,t){if(0===e.length||at(t))return!1;for(var n=t,s=0;s<e.length;){if(at(n)||!P(e[s],n))return!1;n=n[e[s]],s+=1}return!0}));const lt=m((function(e,t){return ct([e],t)}));const ut=m((function(e,t){return!at(t)&&e in t}));const pt=se(0);var mt=function(e,t){switch(arguments.length){case 0:return mt;case 1:return function t(n){return 0===arguments.length?t:A(e,n)};default:return A(e,t)}};const ht=mt;const ft=oe((function(e,t,n){return O(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const dt=m(B);const yt=$e(0,-1);"function"==typeof Object.assign&&Object.assign;const gt=m((function(e,t){return O(e+1,(function(){var n=arguments[e];if(null!=n&&Pe(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Y(n)+' does not have a method named "'+t+'"')}))}));const vt=p((function(e){return null!=e&&N(e,rt(e))}));const bt=gt(1,"join");const Et=se(-1);const xt=m((function(e,t){return e.map((function(e){for(var n,s=t,r=0;r<e.length;){if(null==s)return;n=e[r],s=te(n)?se(n,s):s[n],r+=1}return s}))}));const jt=m((function(e,t){return xt([e],t)[0]}));const Ot=m((function(e,t){return U((function(n,s){return n[s]=e(t[s],s,t),n}),{},I(t))}));const St=m((function(e,t){for(var n={},s={},r=0,i=e.length;r<i;)s[e[r]]=1,r+=1;for(var o in t)s.hasOwnProperty(o)||(n[o]=t[o]);return n}));const wt=oe((function(e,t,n){return Je(e,jt(t,n))}));const Pt=oe((function(e,t,n){return e(jt(t,n))}));const At=m((function(e,t){for(var n={},s=0;s<e.length;)e[s]in t&&(n[e[s]]=t[e[s]]),s+=1;return n}));const kt=oe((function(e,t,n){return Je(e,re(t,n))}));const Ct=oe((function(e,t,n){return e(re(t,n))}));function _t(e){return"[object Number]"===Object.prototype.toString.call(e)}const Rt=m((function(e,t){if(!_t(e)||!_t(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],s=e;s<t;)n.push(s),s+=1;return n}));const Tt=p(d);var Mt=m((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const It=Mt;const $t=gt(1,"split");const qt=m((function(e,t){return N(Ye(e.length,t),e)}));const Ft=m((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Y(e));var n;return Ne(e).test(t)}));var Nt="\t\n\v\f\r \u2028\u2029\ufeff";String.prototype.trim;var Bt=function(){function e(e,t){this.xf=t,this.pred=e,this.items=[]}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){return w(this.pred,t,this.items)?e:(this.items.push(t),this.xf["@@transducer/step"](e,t))},e}();function Dt(e){return function(t){return new Bt(e,t)}}const Lt=m(f([],Dt,(function(e,t){for(var n,s=0,r=t.length,i=[];s<r;)w(e,n=t[s],i)||(i[i.length]=n),s+=1;return i})));const Vt=it(dt);class zt extends a.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Ut=zt;class Jt extends a.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const Gt=Jt;const Ht=be(void 0);const Kt=N(Ht());class Wt extends a.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(Kt(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const Xt=Wt;class Yt extends a.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new a.ON([e.start.row,e.start.column,e.start.char]),n=new a.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Qt=Yt,Zt=(e,t)=>"function"==typeof(null==t?void 0:t[e]),en=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),tn=(e,t)=>{var n;return(null==t||null===(n=t.primitive)||void 0===n?void 0:n.call(t))===e},nn=(e,t)=>{var n,s;return(null==t||null===(n=t.classes)||void 0===n||null===(s=n.includes)||void 0===s?void 0:s.call(n,e))||!1},sn=(e,t)=>(null==t?void 0:t.element)===e,rn=e=>e({hasMethod:Zt,hasBasicElementProps:en,primitiveEq:tn,isElementType:sn,hasClass:nn}),on=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.W_||e(n)&&t(void 0,n))),an=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.RP||e(n)&&t("string",n))),cn=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.VL||e(n)&&t("number",n))),ln=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.zr||e(n)&&t("null",n))),un=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.hh||e(n)&&t("boolean",n))),pn=rn((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof a.Sb||e(s)&&t("object",s)&&n("keys",s)&&n("values",s)&&n("items",s))),mn=rn((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof a.ON&&!(s instanceof a.Sb)||e(s)&&t("array",s)&&n("push",s)&&n("unshift",s)&&n("map",s)&&n("reduce",s))),hn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof a.c6||e(s)&&t("member",s)&&n(void 0,s))),fn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof a.EA||e(s)&&t("link",s)&&n(void 0,s))),dn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof a.tK||e(s)&&t("ref",s)&&n(void 0,s))),yn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ut||e(s)&&t("annotation",s)&&n("array",s))),gn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Gt||e(s)&&t("comment",s)&&n("string",s))),vn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Xt||e(s)&&t("parseResult",s)&&n("array",s))),bn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Qt||e(s)&&t("sourceMap",s)&&n("array",s))),En=e=>sn("object",e)||sn("array",e)||sn("boolean",e)||sn("number",e)||sn("string",e)||sn("null",e)||sn("member",e),xn=e=>{var t,n;return bn(null==e||null===(t=e.meta)||void 0===t||null===(n=t.get)||void 0===n?void 0:n.call(t,"sourceMap"))},jn=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!mn(n)&&E(Vt(n.toValue()),e)},On=(e,t)=>0===e.length||E(Vt(t.classes.toValue()),e);const Sn=N(null);const wn=Te(Sn);function Pn(e){return Pn="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},Pn(e)}const An=function(e){return"object"===Pn(e)};const kn=O(1,_e(wn,An));const Cn=O(1,Fe($,ht("GeneratorFunction")));const _n=O(1,Fe($,ht("AsyncFunction")));const Rn=Ee([Fe($,ht("Function")),Cn,_n]);var Tn=Fe($,ht("Object")),Mn=Fe(Y,N(Y(Object))),In=Pt(_e(Rn,Mn),["constructor"]);const $n=O(1,(function(e){if(!kn(e)||!Tn(e))return!1;var t=Object.getPrototypeOf(e);return!!Sn(t)||In(t)}));var qn=n(1427);const Fn=class extends qn{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,$n(n)&&ut("cause",n)&&!ut("cause",this)){const{cause:e}=n;this.cause=e,e instanceof Error&&ut("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class Nn extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Fn,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,$n(t)&&ut("cause",t)&&!ut("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&ut("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const Bn=Nn;const Dn=class extends Bn{};const Ln=class extends Dn{};const Vn=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Ln('"filterByFormat" method is not implemented.')}findBy(){throw new Ln('"findBy" method is not implemented.')}latest(){throw new Ln('"latest" method is not implemented.')}};class zn extends Vn{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.1.0",t="generic"){const n="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return Et(this.filterByFormat(e))}}const Un=new zn("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0");const Jn=Te(Rn);const Gn=O(1,Rn(Array.isArray)?Array.isArray:Fe($,ht("Array")));const Hn=_e(Gn,vt);const Kn=O(3,(function(e,t,n){var s=jt(e,n),r=jt(yt(e),n);if(!Jn(s)&&!Hn(e)){var i=pe(s,r);return we(i,t)}}));class Wn extends a.lS{constructor(){super(),this.register("annotation",Ut),this.register("comment",Gt),this.register("parseResult",Xt),this.register("sourceMap",Qt)}}const Xn=new Wn,Yn=e=>{const t=new Wn;return $n(e)&&t.use(e),t},Qn=Xn,Zn=()=>({predicates:{...e},namespace:Qn});var es=n(6591);const ts=O(1,Fe($,ht("String"))),ns=(e,t,n)=>{const s=e[t];if(null!=s){if(!n&&"function"==typeof s)return s;const e=n?s.leave:s.enter;if("function"==typeof e)return e}else{const s=n?e.leave:e.enter;if(null!=s){if("function"==typeof s)return s;const e=s[t];if("function"==typeof e)return e}}return null},ss={},rs=e=>null==e?void 0:e.type,is=e=>"string"==typeof rs(e),os=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),as=(e,t,{keyMap:n=null,state:s={},breakSymbol:r=ss,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ns,nodeTypeGetter:c=rs,nodePredicate:l=is,nodeCloneFn:u=os,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],x=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===x.length?void 0:E.pop(),b=f,f=x.pop(),O)if(d){b=b.slice();let e=0;for(const[t,n]of v){const s=t-e;n===i?(b.splice(s,1),e+=1):b[s]=n}}else{b=u(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;E.push(n)}if(x.includes(b))continue;let S;if(!Array.isArray(b)){if(!l(b))throw new Bn(`Invalid AST Node: ${JSON.stringify(b)}`);if(p&&x.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;S=i.call(t,b,n,f,E,x)}if(S===r)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(v.push([n,S]),!e)){if(!l(S)){E.pop();continue}b=S}}var j;if(void 0===S&&O&&v.push([n,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(j=m[c(b)])&&void 0!==j?j:[],g=-1,v=[],f!==i&&void 0!==f&&x.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};as[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:s={},breakSymbol:r=ss,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ns,nodeTypeGetter:c=rs,nodePredicate:l=is,nodeCloneFn:u=os,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],x=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===x.length?void 0:E.pop(),b=f,f=x.pop(),O)if(d){b=b.slice();let e=0;for(const[t,n]of v){const s=t-e;n===i?(b.splice(s,1),e+=1):b[s]=n}}else{b=u(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;E.push(n)}let S;if(!Array.isArray(b)){if(!l(b))throw new Bn(`Invalid AST Node: ${JSON.stringify(b)}`);if(p&&x.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;S=await i.call(t,b,n,f,E,x)}if(S===r)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(v.push([n,S]),!e)){if(!l(S)){E.pop();continue}b=S}}var j;if(void 0===S&&O&&v.push([n,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(j=m[c(b)])&&void 0!==j?j:[],g=-1,v=[],f!==i&&void 0!==f&&x.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};const cs=class extends Bn{constructor(e,t){super(e,t),void 0!==t&&Object.assign(this,St(["cause"],t))}};const ls=class extends cs{};const us=class extends ls{};const ps=class extends ls{},ms=e=>"function"==typeof(null==e?void 0:e.clone)?e.clone():e,hs=e=>{if(e instanceof a.rm){const t=[...e].map(ms);return new a.rm(t)}if(e instanceof a.O4){const t=[...e].map(ms);return new a.O4(t)}if("function"==typeof(null==e?void 0:e.clone))return e.clone();throw new us("Value provided to cloneDeep function couldn't be cloned",{value:e})};hs.safe=e=>{try{return hs(e)}catch{return e}};const fs=e=>{const{key:t,value:n}=e;return new a.KeyValuePair(t,n)},ds=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=hs(e.meta)),e.attributes.length>0&&(t._attributes=hs(e.attributes)),on(e.content)){const n=e.content;t.content=ds(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof a.KeyValuePair?t.content=fs(e.content):t.content=e.content;return t},ys=e=>{if(e instanceof a.KeyValuePair)return fs(e);if(e instanceof a.rm)return(e=>{const t=[...e];return new a.rm(t)})(e);if(e instanceof a.O4)return(e=>{const t=[...e];return new a.O4(t)})(e);if(on(e))return ds(e);throw new ps("Value provided to cloneShallow function couldn't be cloned",{value:e})};ys.safe=e=>{try{return ys(e)}catch{return e}};const gs=e=>pn(e)?"ObjectElement":mn(e)?"ArrayElement":hn(e)?"MemberElement":an(e)?"StringElement":un(e)?"BooleanElement":cn(e)?"NumberElement":ln(e)?"NullElement":fn(e)?"LinkElement":dn(e)?"RefElement":void 0,vs=e=>on(e)?ys(e):os(e),bs=Fe(gs,ts),Es={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},xs=(es({props:{result:[],predicate:c,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=Es,...s}={})=>as(e,t,{keyMap:n,nodeTypeGetter:gs,nodePredicate:bs,nodeCloneFn:vs,...s}));xs[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=Es,...s}={})=>as[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:gs,nodePredicate:bs,nodeCloneFn:vs,...s});const js=(e,t,n={})=>{if(0===t.length)return e;const s=kt(Zn,"toolboxCreator",n),r=kt({},"visitorOptions",n),i=kt(gs,"nodeTypeGetter",r),o=s(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=ns,nodeTypeGetter:n=rs}={})=>{const s=new Array(e.length).fill(null);return{enter(r,...i){for(let o=0;o<e.length;o+=1)if(null===s[o]){const a=t(e[o],n(r),!1);if("function"==typeof a){const t=a.call(e[o],r,...i);if(!1===t)s[o]=r;else if(t===ss)s[o]=ss;else if(void 0!==t)return t}}},leave(r,...i){for(let o=0;o<e.length;o+=1)if(null===s[o]){const a=t(e[o],n(r),!0);if("function"==typeof a){const t=a.call(e[o],r,...i);if(t===ss)s[o]=ss;else if(void 0!==t&&!1!==t)return t}}else s[o]===r&&(s[o]=null)}}})(a.map(kt({},"visitor")),{nodeTypeGetter:i});a.forEach(Kn(["pre"],[]));const l=xs(e,c,r);return a.forEach(Kn(["post"],[])),l},Os=(e,{Type:t,plugins:n=[]})=>{const s=new t(e);return js(s,n,{toolboxCreator:Zn,visitorOptions:{nodeTypeGetter:gs}})},Ss=e=>(t,n={})=>Os(t,{...n,Type:e});a.Sb.refract=Ss(a.Sb),a.ON.refract=Ss(a.ON),a.RP.refract=Ss(a.RP),a.hh.refract=Ss(a.hh),a.zr.refract=Ss(a.zr),a.VL.refract=Ss(a.VL),a.EA.refract=Ss(a.EA),a.tK.refract=Ss(a.tK),Ut.refract=Ss(Ut),Gt.refract=Ss(Gt),Xt.refract=Ss(Xt),Qt.refract=Ss(Qt);class ws extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="callback"}}const Ps=ws;class As extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const ks=As;class Cs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const _s=Cs;class Rs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const Ts=Rs;class Ms extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const Is=Ms;class $s extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="example"}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 value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const qs=$s;class Fs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Ns=Fs;class Bs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Bs.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Ds=Bs;class Ls extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Vs=Ls;class zs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Us=zs;class Js extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t;return an(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):an(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const Gs=Js;class Hs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const Ks=Hs;class Ws extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const Xs=Ws;class Ys extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const Qs=Ys;class Zs extends a.RP{constructor(e,t,n){super(e,t,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const er=Zs;class tr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",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 paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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)}}const nr=tr;class sr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",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)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const rr=sr;class ir extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="parameter"}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 required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(ir.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const or=ir;class ar extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",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 GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const cr=ar;class lr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="paths"}}const ur=lr;class pr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const mr=pr;class hr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}}const fr=hr;class dr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const yr=dr;class gr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const vr=gr;class br extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Er=br;class xr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const jr=xr;class Or extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Sr=Or;class wr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Pr=wr;const Ar=Ue((function(e,t){return Fe($t(""),et(Vt(e)),bt(""))(t)})),kr=(e,t)=>{const n=Je(e,t);return Ot((e=>{if($n(e)&<("$ref",e)&&Ct(ts,"$ref",e)){const t=jt(["$ref"],e),s=Ar("#/",t);return jt(s.split("/"),n)}return $n(e)?kr(e,n):e}),e)},Cr=es({props:{element:null},methods:{copyMetaAndAttributes(e,t){xn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),_r=es(Cr,{methods:{enter(e){return this.element=hs(e),ss}}});const Rr=be(Ht()),Tr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:gs(e),Mr={EphemeralObject:["content"],EphemeralArray:["content"],...Es},Ir=(e,t,{keyMap:n=Mr,...s}={})=>xs(e,t,{keyMap:n,nodeTypeGetter:Tr,nodePredicate:l,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});Ir[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=Mr,...n}={})=>xs[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:Tr,nodePredicate:l,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const $r=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const qr=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},Fr=es.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new qr(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new $r(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),Nr=e=>on(e)?an(e)||cn(e)||un(e)||ln(e)?e.toValue():Ir(e,Fr()):e,Br=e=>{if(on(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Dr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Es},Lr=es(Cr,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return At(this.passingOptionsNames,this)},retrieveFixedFields(e){return Fe(jt(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return Pt(Rn,["visitors",...e],this.specObj)?jt(["visitors",...e],this.specObj):jt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return Kt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?hs(t):(xs(t,s,{keyMap:Dr,nodeTypeGetter:Br,...n}),s.element)}}}),Vr=es(Lr,{props:{specPath:Rr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(an(s)&&n.includes(Nr(s))&&!this.ignoredFields.includes(Nr(s))){const n=this.toRefractedElement([...t,"fixedFields",Nr(s)],e),i=new a.c6(hs(s),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(Nr(s))||this.element.content.push(hs(r))})),this.copyMetaAndAttributes(e,this.element),ss}}}),zr=es(Vr,_r,{props:{specPath:be(["document","objects","JSONSchema"])},init(){this.element=new Er}}),Ur=_r,Jr=_r,Gr=_r,Hr=_r,Kr=_r,Wr=_r,Xr=_r,Yr=_r,Qr=_r,Zr=_r,ei=es({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),ti=e=>pn(e)&&e.hasKey("$ref"),ni=es(Lr,ei,_r,{methods:{ObjectElement(e){const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ss},ArrayElement(e){return this.element=new a.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),si=_r,ri=_r,ii=_r,oi=_r,ai=_r,ci=es(_r,{methods:{ArrayElement(e){return this.element=hs(e),this.element.classes.push("json-schema-required"),ss}}});const li=Te(O(1,_e(wn,nt(An,Rn))));const ui=Te(vt);const pi=ve([ts,li,ui]),mi=es(Lr,{props:{fieldPatternPredicate:c,specPath:Rr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(Nr(t))&&this.fieldPatternPredicate(Nr(t))){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new a.c6(hs(t),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(Nr(t))||this.element.content.push(hs(n))})),this.copyMetaAndAttributes(e,this.element),ss}}}),hi=es(mi,{props:{fieldPatternPredicate:pi}}),fi=es(hi,ei,_r,{props:{specPath:e=>ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-properties")}}),di=es(hi,ei,_r,{props:{specPath:e=>ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-patternProperties")}}),yi=es(hi,ei,_r,{props:{specPath:e=>ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-dependencies")}}),gi=es(_r,{methods:{ArrayElement(e){return this.element=hs(e),this.element.classes.push("json-schema-enum"),ss}}}),vi=es(_r,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("json-schema-type"),ss},ArrayElement(e){return this.element=hs(e),this.element.classes.push("json-schema-type"),ss}}}),bi=es(Lr,ei,_r,{init(){this.element=new a.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),Ei=es(Lr,ei,_r,{init(){this.element=new a.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),xi=es(Lr,ei,_r,{init(){this.element=new a.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),ji=es(hi,ei,_r,{props:{specPath:e=>ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-definitions")}}),Oi=_r,Si=_r,wi=_r,Pi=_r,Ai=_r,ki=es(Lr,ei,_r,{init(){this.element=new a.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),ss}}}),Ci=_r,_i=es(Vr,_r,{props:{specPath:be(["document","objects","JSONReference"])},init(){this.element=new jr},methods:{ObjectElement(e){const t=Vr.compose.methods.ObjectElement.call(this,e);return an(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Ri=es(_r,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}});const Ti=Te(at);const Mi=_e(Gn,ui);function Ii(e){return function(e){if(Array.isArray(e))return $i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return $i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}var qi=Fe(It(Re((function(e,t){return e.length>t.length}))),pt,re("length")),Fi=Ue((function(e,t,n){var s=n.apply(void 0,Ii(e));return Ti(s)?Tt(s):t}));const Ni=ft(Mi,(function(e){var t=qi(e);return O(t,(function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return ge(Fi(n),void 0,e)}))}),Ht),Bi=es(Lr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>ft(e,be(t),Ht))),n=Ni(t)(e);return this.element=this.toRefractedElement(n,e),ss}}}),Di=es(Bi,{props:{alternator:[{predicate:ti,specPath:["document","objects","JSONReference"]},{predicate:l,specPath:["document","objects","JSONSchema"]}]}}),Li={visitors:{value:_r,JSONSchemaOrJSONReferenceVisitor:Di,document:{objects:{JSONSchema:{$visitor:zr,fixedFields:{id:Ur,$schema:Jr,multipleOf:Gr,maximum:Hr,exclusiveMaximum:Kr,minimum:Wr,exclusiveMinimum:Xr,maxLength:Yr,minLength:Qr,pattern:Zr,additionalItems:Di,items:ni,maxItems:si,minItems:ri,uniqueItems:ii,maxProperties:oi,minProperties:ai,required:ci,properties:fi,additionalProperties:Di,patternProperties:di,dependencies:yi,enum:gi,type:vi,allOf:bi,anyOf:Ei,oneOf:xi,not:Di,definitions:ji,title:Oi,description:Si,default:wi,format:Pi,base:Ai,links:ki,media:{$ref:"#/visitors/document/objects/Media"},readOnly:Ci}},JSONReference:{$visitor:_i,fixedFields:{$ref:Ri}},Media:{$visitor:es(Vr,_r,{props:{specPath:be(["document","objects","Media"])},init(){this.element=new Sr}}),fixedFields:{binaryEncoding:_r,type:_r}},LinkDescription:{$visitor:es(Vr,_r,{props:{specPath:be(["document","objects","LinkDescription"])},init(){this.element=new Pr}}),fixedFields:{href:_r,rel:_r,title:_r,targetSchema:Di,mediaType:_r,method:_r,encType:_r,schema:Di}}}}}},Vi=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Er||e(s)&&t("JSONSchemaDraft4",s)&&n("object",s))),zi=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof jr||e(s)&&t("JSONReference",s)&&n("object",s))),Ui=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Sr||e(s)&&t("media",s)&&n("object",s))),Ji=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Pr||e(s)&&t("linkDescription",s)&&n("object",s))),Gi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Er),t.register("jSONReference",jr),t.register("media",Sr),t.register("linkDescription",Pr),t}},Hi=()=>{const e=Yn(Gi);return{predicates:{...t,isStringElement:an},namespace:e}},Ki=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Li}={})=>{const r=(0,a.Qc)(e),i=kr(s),o=Kn(t,[],i);return xs(r,o,{state:{specObj:i}}),js(o.element,n,{toolboxCreator:Hi,visitorOptions:{keyMap:Dr,nodeTypeGetter:Br}})},Wi=e=>(t,n={})=>Ki(t,{specPath:e,...n});Er.refract=Wi(["visitors","document","objects","JSONSchema","$visitor"]),jr.refract=Wi(["visitors","document","objects","JSONReference","$visitor"]),Sr.refract=Wi(["visitors","document","objects","Media","$visitor"]),Pr.refract=Wi(["visitors","document","objects","LinkDescription","$visitor"]);const Xi=class extends Er{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-4")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class Yi extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const Qi=Yi;class Zi extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const eo=Zi;class to extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get 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)}}const no=to;class so extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const ro=so;class io extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const oo=io;class ao extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const co=ao,lo=es({props:{element:null},methods:{copyMetaAndAttributes(e,t){xn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),uo=e=>{if(on(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},po={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...Es},mo=es(lo,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:n=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=n},methods:{retrievePassingOptions(){return At(this.passingOptionsNames,this)},retrieveFixedFields(e){return Fe(jt(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return Pt(Rn,["visitors",...e],this.specObj)?jt(["visitors",...e],this.specObj):jt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return Kt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?hs(t):(xs(t,s,{keyMap:po,nodeTypeGetter:uo,...n}),s.element)}}}),ho=e=>pn(e)&&e.hasKey("openapi")&&e.hasKey("info"),fo=e=>pn(e)&&e.hasKey("name")&&e.hasKey("in"),yo=e=>pn(e)&&e.hasKey("$ref"),go=e=>pn(e)&&e.hasKey("content"),vo=e=>pn(e)&&e.hasKey("description"),bo=pn,Eo=pn,xo=e=>an(e.key)&&qt("x-",Nr(e.key)),jo=es(mo,{props:{specPath:Rr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:xo},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(an(s)&&n.includes(Nr(s))&&!this.ignoredFields.includes(Nr(s))){const n=this.toRefractedElement([...t,"fixedFields",Nr(s)],e),i=new a.c6(hs(s),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(Nr(s))||this.element.content.push(hs(r))})),this.copyMetaAndAttributes(e,this.element),ss}}}),Oo=es(lo,{methods:{enter(e){return this.element=hs(e),ss}}}),So=es(jo,Oo,{props:{specPath:be(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new nr},methods:{ObjectElement(e){return this.unrefractedElement=e,jo.compose.methods.ObjectElement.call(this,e)}}}),wo=es(mo,Oo,{methods:{StringElement(e){const t=new er(Nr(e));return this.copyMetaAndAttributes(e,t),this.element=t,ss}}}),Po=es(mo,{methods:{MemberElement(e){return this.element=hs(e),this.element.classes.push("specification-extension"),ss}}}),Ao=es(jo,Oo,{props:{specPath:be(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Vs}}),ko=Oo,Co=Oo,_o=Oo,Ro=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("api-version"),this.element.classes.push("version"),ss}}}),To=es(jo,Oo,{props:{specPath:be(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new _s}}),Mo=Oo,Io=Oo,$o=Oo,qo=es(jo,Oo,{props:{specPath:be(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new Us}}),Fo=Oo,No=Oo,Bo=es(jo,Oo,{props:{specPath:be(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gs},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return(an(this.element.operationId)||an(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),Do=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),Lo=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),Vo=es(mo,{props:{fieldPatternPredicate:c,specPath:Rr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:xo},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(Nr(t))&&this.fieldPatternPredicate(Nr(t))){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new a.c6(hs(t),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(Nr(t))||this.element.content.push(hs(n))})),this.copyMetaAndAttributes(e,this.element),ss}}}),zo=es(Vo,{props:{fieldPatternPredicate:pi}});class Uo extends a.Sb{static primaryClass="link-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Uo.primaryClass)}}const Jo=Uo,Go=es(zo,Oo,{props:{specPath:be(["value"])},init(){this.element=new Jo}}),Ho=Oo,Ko=Oo,Wo=es(jo,Oo,{props:{specPath:be(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new no}}),Xo=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("server-url"),ss}}}),Yo=Oo;class Qo extends a.ON{static primaryClass="servers";constructor(e,t,n){super(e,t,n),this.classes.push(Qo.primaryClass)}}const Zo=Qo,ea=es(mo,Oo,{init(){this.element=new Zo},methods:{ArrayElement(e){return e.forEach((e=>{const t=bo(e)?["document","objects","Server"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),ta=es(jo,Oo,{props:{specPath:be(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new ro}}),na=Oo,sa=Oo,ra=Oo;class ia extends a.Sb{static primaryClass="server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(ia.primaryClass)}}const oa=ia,aa=es(zo,Oo,{props:{specPath:be(["document","objects","ServerVariable"])},init(){this.element=new oa}}),ca=es(jo,Oo,{props:{specPath:be(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ks}}),la=es(mo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>ft(e,be(t),Ht))),n=Ni(t)(e);return this.element=this.toRefractedElement(n,e),ss}}}),ua=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ps||e(s)&&t("callback",s)&&n("object",s))),pa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ks||e(s)&&t("components",s)&&n("object",s))),ma=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof _s||e(s)&&t("contact",s)&&n("object",s))),ha=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof qs||e(s)&&t("example",s)&&n("object",s))),fa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ns||e(s)&&t("externalDocumentation",s)&&n("object",s))),da=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ds||e(s)&&t("header",s)&&n("object",s))),ya=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Vs||e(s)&&t("info",s)&&n("object",s))),ga=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Us||e(s)&&t("license",s)&&n("object",s))),va=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Gs||e(s)&&t("link",s)&&n("object",s))),ba=e=>{if(!va(e))return!1;if(!an(e.operationRef))return!1;const t=Nr(e.operationRef);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Ea=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof er||e(s)&&t("openapi",s)&&n("string",s))),xa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:s})=>r=>r instanceof nr||e(r)&&t("openApi3_0",r)&&n("object",r)&&s("api",r))),ja=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof rr||e(s)&&t("operation",s)&&n("object",s))),Oa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof or||e(s)&&t("parameter",s)&&n("object",s))),Sa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof cr||e(s)&&t("pathItem",s)&&n("object",s))),wa=e=>{if(!Sa(e))return!1;if(!an(e.$ref))return!1;const t=Nr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Pa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ur||e(s)&&t("paths",s)&&n("object",s))),Aa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof mr||e(s)&&t("reference",s)&&n("object",s))),ka=e=>{if(!Aa(e))return!1;if(!an(e.$ref))return!1;const t=Nr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Ca=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof fr||e(s)&&t("requestBody",s)&&n("object",s))),_a=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof yr||e(s)&&t("response",s)&&n("object",s))),Ra=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof vr||e(s)&&t("responses",s)&&n("object",s))),Ta=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Xi||e(s)&&t("schema",s)&&n("object",s))),Ma=e=>un(e)&&e.classes.includes("boolean-json-schema"),Ia=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Qi||e(s)&&t("securityRequirement",s)&&n("object",s))),$a=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof no||e(s)&&t("server",s)&&n("object",s))),qa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ro||e(s)&&t("serverVariable",s)&&n("object",s))),Fa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ks||e(s)&&t("mediaType",s)&&n("object",s))),Na=es(la,Oo,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ba=Oo,Da=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new a.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class La extends a.Sb{static primaryClass="media-type-examples";constructor(e,t,n){super(e,t,n),this.classes.push(La.primaryClass),this.classes.push("examples")}}const Va=La,za=es(Da,{init(){this.element=new Va}});class Ua extends a.Sb{static primaryClass="media-type-encoding";constructor(e,t,n){super(e,t,n),this.classes.push(Ua.primaryClass)}}const Ja=Ua,Ga=es(zo,Oo,{props:{specPath:be(["document","objects","Encoding"])},init(){this.element=new Ja}}),Ha=es(zo,Oo,{props:{specPath:be(["value"])},init(){this.element=new Qi}});class Ka extends a.ON{static primaryClass="security";constructor(e,t,n){super(e,t,n),this.classes.push(Ka.primaryClass)}}const Wa=Ka,Xa=es(mo,Oo,{init(){this.element=new Wa},methods:{ArrayElement(e){return e.forEach((e=>{if(pn(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(hs(e))})),this.copyMetaAndAttributes(e,this.element),ss}}}),Ya=es(jo,Oo,{props:{specPath:be(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new ks}}),Qa=es(jo,Oo,{props:{specPath:be(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new oo}}),Za=Oo,ec=Oo,tc=es(jo,Oo,{props:{specPath:be(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new mr},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return an(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),nc=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),sc=es(jo,Oo,{props:{specPath:be(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new or},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return pn(this.element.contentProp)&&this.element.contentProp.filter(Fa).forEach(((e,t)=>{e.setMetaProperty("media-type",Nr(t))})),t}}}),rc=Oo,ic=Oo,oc=Oo,ac=Oo,cc=Oo,lc=Oo,uc=Oo,pc=Oo,mc=Oo,hc=es(la,Oo,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),fc=es(jo,Oo,{props:{specPath:be(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ds}}),dc=Oo,yc=Oo,gc=Oo,vc=Oo,bc=Oo,Ec=Oo,xc=Oo,jc=es(la,Oo,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Oc=Oo;class Sc extends a.Sb{static primaryClass="header-examples";constructor(e,t,n){super(e,t,n),this.classes.push(Sc.primaryClass),this.classes.push("examples")}}const wc=Sc,Pc=es(Da,{init(){this.element=new wc}}),Ac=es(zo,Oo,{props:{specPath:be(["document","objects","MediaType"])},init(){this.element=new a.Sb,this.element.classes.push("content")}});class kc extends a.Sb{static primaryClass="header-content";constructor(e,t,n){super(e,t,n),this.classes.push(kc.primaryClass),this.classes.push("content")}}const Cc=kc,_c=es(Ac,{init(){this.element=new Cc}}),Rc=es(jo,Oo,{props:{specPath:be(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new Xi}}),{allOf:Tc}=Li.visitors.document.objects.JSONSchema.fixedFields,Mc=es(Tc,{methods:{ArrayElement(e){const t=Tc.compose.methods.ArrayElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Ic}=Li.visitors.document.objects.JSONSchema.fixedFields,$c=es(Ic,{methods:{ArrayElement(e){const t=Ic.compose.methods.ArrayElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:qc}=Li.visitors.document.objects.JSONSchema.fixedFields,Fc=es(qc,{methods:{ArrayElement(e){const t=qc.compose.methods.ArrayElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Nc}=Li.visitors.document.objects.JSONSchema.fixedFields,Bc=es(Nc,{methods:{ObjectElement(e){const t=Nc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Dc}=Li.visitors.document.objects.JSONSchema.fixedFields,Lc=es(Dc,{methods:{ObjectElement(e){const t=Dc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Vc}=Li.visitors.document.objects.JSONSchema.fixedFields,zc=es(Vc,{methods:{ObjectElement(e){const t=Vc.compose.methods.ObjectElement.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=hs(e),ss}}}),{properties:Uc}=Li.visitors.document.objects.JSONSchema.fixedFields,Jc=es(Uc,{methods:{ObjectElement(e){const t=Uc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:Gc}=Li.visitors.document.objects.JSONSchema.fixedFields,Hc=es(Gc,{methods:{ObjectElement(e){const t=Gc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:Kc}=Li.visitors.document.objects.JSONSchema.fixedFields,Wc=es(Kc,{methods:{ArrayElement(e){return this.element=hs(e),ss}}}),Xc=Oo,Yc=Oo,Qc=Oo,Zc=Oo,{JSONSchemaOrJSONReferenceVisitor:el}=Li.visitors,tl=es(el,{methods:{ObjectElement(e){const t=el.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),nl=Object.fromEntries(Object.entries(Li.visitors.document.objects.JSONSchema.fixedFields).map((([e,t])=>t===Li.visitors.JSONSchemaOrJSONReferenceVisitor?[e,tl]:[e,t]))),sl=es(jo,Oo,{props:{specPath:be(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ts}}),rl=Oo;class il extends a.Sb{static primaryClass="discriminator-mapping";constructor(e,t,n){super(e,t,n),this.classes.push(il.primaryClass)}}const ol=il,al=es(zo,Oo,{props:{specPath:be(["value"])},init(){this.element=new ol}}),cl=es(jo,Oo,{props:{specPath:be(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new co}}),ll=Oo,ul=Oo,pl=Oo,ml=Oo,hl=Oo,fl=Oo;class dl extends a.Sb{static primaryClass="parameter-examples";constructor(e,t,n){super(e,t,n),this.classes.push(dl.primaryClass),this.classes.push("examples")}}const yl=dl,gl=es(Da,{init(){this.element=new yl}});class vl extends a.Sb{static primaryClass="parameter-content";constructor(e,t,n){super(e,t,n),this.classes.push(vl.primaryClass),this.classes.push("content")}}const bl=vl,El=es(Ac,{init(){this.element=new bl}});class xl extends a.Sb{static primaryClass="components-schemas";constructor(e,t,n){super(e,t,n),this.classes.push(xl.primaryClass)}}const jl=xl,Ol=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new jl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Sl extends a.Sb{static primaryClass="components-responses";constructor(e,t,n){super(e,t,n),this.classes.push(Sl.primaryClass)}}const wl=Sl,Pl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new wl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(_a).forEach(((e,t)=>{e.setMetaProperty("http-status-code",Nr(t))})),t}}});class Al extends a.Sb{static primaryClass="components-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Al.primaryClass),this.classes.push("parameters")}}const kl=Al,Cl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new kl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class _l extends a.Sb{static primaryClass="components-examples";constructor(e,t,n){super(e,t,n),this.classes.push(_l.primaryClass),this.classes.push("examples")}}const Rl=_l,Tl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new Rl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class Ml extends a.Sb{static primaryClass="components-request-bodies";constructor(e,t,n){super(e,t,n),this.classes.push(Ml.primaryClass)}}const Il=Ml,$l=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new Il},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class ql extends a.Sb{static primaryClass="components-headers";constructor(e,t,n){super(e,t,n),this.classes.push(ql.primaryClass)}}const Fl=ql,Nl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Fl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(da).forEach(((e,t)=>{e.setMetaProperty("header-name",Nr(t))})),t}}});class Bl extends a.Sb{static primaryClass="components-security-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(Bl.primaryClass)}}const Dl=Bl,Ll=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new Dl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class Vl extends a.Sb{static primaryClass="components-links";constructor(e,t,n){super(e,t,n),this.classes.push(Vl.primaryClass)}}const zl=Vl,Ul=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new zl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class Jl extends a.Sb{static primaryClass="components-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(Jl.primaryClass)}}const Gl=Jl,Hl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Gl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Kl=es(jo,Oo,{props:{specPath:be(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new qs},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return an(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),Wl=Oo,Xl=Oo,Yl=Oo,Ql=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),Zl=es(jo,Oo,{props:{specPath:be(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ns}}),eu=Oo,tu=Oo,nu=es(jo,Oo,{props:{specPath:be(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new Is},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return pn(this.element.headers)&&this.element.headers.filter(da).forEach(((e,t)=>{e.setMetaProperty("header-name",Nr(t))})),t}}}),su=Oo;class ru extends a.Sb{static primaryClass="encoding-headers";constructor(e,t,n){super(e,t,n),this.classes.push(ru.primaryClass)}}const iu=ru,ou=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new iu},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!da(e))return;const n=Nr(t);e.setMetaProperty("headerName",n)})),t}}}),au=Oo,cu=Oo,lu=Oo,uu=es(Vo,Oo,{props:{fieldPatternPredicate:Ft(/^\/(?<path>.*)$/),specPath:be(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new ur},methods:{ObjectElement(e){const t=Vo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Sa).forEach(((e,t)=>{e.setMetaProperty("path",hs(t))})),t}}}),pu=es(jo,Oo,{props:{specPath:be(["document","objects","RequestBody"])},init(){this.element=new fr},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return pn(this.element.contentProp)&&this.element.contentProp.filter(Fa).forEach(((e,t)=>{e.setMetaProperty("media-type",Nr(t))})),t}}}),mu=Oo;class hu extends a.Sb{static primaryClass="request-body-content";constructor(e,t,n){super(e,t,n),this.classes.push(hu.primaryClass),this.classes.push("content")}}const fu=hu,du=es(Ac,{init(){this.element=new fu}}),yu=Oo,gu=es(Vo,Oo,{props:{fieldPatternPredicate:Ft(/{(?<expression>.*)}/),specPath:be(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ps},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Sa).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",Nr(t))})),t}}}),vu=es(jo,Oo,{props:{specPath:be(["document","objects","Response"])},init(){this.element=new yr},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return pn(this.element.contentProp)&&this.element.contentProp.filter(Fa).forEach(((e,t)=>{e.setMetaProperty("media-type",Nr(t))})),pn(this.element.headers)&&this.element.headers.filter(da).forEach(((e,t)=>{e.setMetaProperty("header-name",Nr(t))})),t}}}),bu=Oo;class Eu extends a.Sb{static primaryClass="response-headers";constructor(e,t,n){super(e,t,n),this.classes.push(Eu.primaryClass)}}const xu=Eu,ju=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new xu},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!da(e))return;const n=Nr(t);e.setMetaProperty("header-name",n)})),t}}});class Ou extends a.Sb{static primaryClass="response-content";constructor(e,t,n){super(e,t,n),this.classes.push(Ou.primaryClass),this.classes.push("content")}}const Su=Ou,wu=es(Ac,{init(){this.element=new Su}});class Pu extends a.Sb{static primaryClass="response-links";constructor(e,t,n){super(e,t,n),this.classes.push(Pu.primaryClass)}}const Au=Pu,ku=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new Au},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}}),Cu=es(jo,Vo,{props:{specPathFixedFields:Rr,specPathPatternedFields:Rr},methods:{ObjectElement(e){const{specPath:t,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...Ke(e.keys(),t)],jo.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,Vo.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return ss}}}),_u=es(Cu,Oo,{props:{specPathFixedFields:be(["document","objects","Responses"]),specPathPatternedFields:e=>yo(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:Ft(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${Rt(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new vr},methods:{ObjectElement(e){const t=Cu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(_a).forEach(((e,t)=>{const n=hs(t);this.fieldPatternPredicate(Nr(n))&&e.setMetaProperty("http-status-code",n)})),t}}}),Ru=es(la,Oo,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)?this.element.setMetaProperty("referenced-element","response"):_a(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),Tu=es(jo,Oo,{props:{specPath:be(["document","objects","Operation"])},init(){this.element=new rr}});class Mu extends a.ON{static primaryClass="operation-tags";constructor(e,t,n){super(e,t,n),this.classes.push(Mu.primaryClass)}}const Iu=Mu,$u=es(Oo,{init(){this.element=new Iu},methods:{ArrayElement(e){return this.element=this.element.concat(hs(e)),ss}}}),qu=Oo,Fu=Oo,Nu=Oo;class Bu extends a.ON{static primaryClass="operation-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Bu.primaryClass),this.classes.push("parameters")}}const Du=Bu,Lu=es(mo,Oo,{init(){this.element=new a.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=yo(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);Aa(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),Vu=es(Lu,{init(){this.element=new Du}}),zu=es(la,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class Uu extends a.Sb{static primaryClass="operation-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(Uu.primaryClass)}}const Ju=Uu,Gu=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Ju},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Hu=Oo;class Ku extends a.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(Ku.primaryClass),this.classes.push("security")}}const Wu=Ku,Xu=es(mo,Oo,{init(){this.element=new Wu},methods:{ArrayElement(e){return e.forEach((e=>{const t=pn(e)?["document","objects","SecurityRequirement"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}});class Yu extends a.ON{static primaryClass="operation-servers";constructor(e,t,n){super(e,t,n),this.classes.push(Yu.primaryClass),this.classes.push("servers")}}const Qu=Yu,Zu=es(ea,{init(){this.element=new Qu}}),ep=es(jo,Oo,{props:{specPath:be(["document","objects","PathItem"])},init(){this.element=new cr},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return this.element.filter(ja).forEach(((e,t)=>{const n=hs(t);n.content=Nr(n).toUpperCase(),e.setMetaProperty("http-method",n)})),an(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),tp=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),np=Oo,sp=Oo;class rp extends a.ON{static primaryClass="path-item-servers";constructor(e,t,n){super(e,t,n),this.classes.push(rp.primaryClass),this.classes.push("servers")}}const ip=rp,op=es(ea,{init(){this.element=new ip}});class ap extends a.ON{static primaryClass="path-item-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(ap.primaryClass),this.classes.push("parameters")}}const cp=ap,lp=es(Lu,{init(){this.element=new cp}}),up=es(jo,Oo,{props:{specPath:be(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new eo}}),pp=Oo,mp=Oo,hp=Oo,fp=Oo,dp=Oo,yp=Oo,gp=Oo,vp=es(jo,Oo,{props:{specPath:be(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qs}}),bp=es(jo,Oo,{props:{specPath:be(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new Xs}}),Ep=Oo,xp=Oo,jp=Oo;class Op extends a.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,n){super(e,t,n),this.classes.push(Op.primaryClass)}}const Sp=Op,wp=es(zo,Oo,{props:{specPath:be(["value"])},init(){this.element=new Sp}});class Pp extends a.ON{static primaryClass="tags";constructor(e,t,n){super(e,t,n),this.classes.push(Pp.primaryClass)}}const Ap=Pp,kp={$visitor:tc,fixedFields:{$ref:nc}},Cp={$visitor:Rc,fixedFields:{...nl,allOf:Mc,anyOf:$c,oneOf:Fc,definitions:Bc,items:zc,dependencies:Lc,properties:Jc,patternProperties:Hc,type:Wc,nullable:Xc,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:Yc,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:Qc,deprecated:Zc}},_p={visitors:{value:Oo,document:{objects:{OpenApi:{$visitor:So,fixedFields:{openapi:wo,info:{$ref:"#/visitors/document/objects/Info"},servers:ea,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Xa,tags:es(mo,Oo,{init(){this.element=new Ap},methods:{ArrayElement(e){return e.forEach((e=>{const t=Eo(e)?["document","objects","Tag"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Ao,fixedFields:{title:ko,description:Co,termsOfService:_o,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Ro}},Contact:{$visitor:To,fixedFields:{name:Mo,url:Io,email:$o}},License:{$visitor:qo,fixedFields:{name:Fo,url:No}},Server:{$visitor:Wo,fixedFields:{url:Xo,description:Yo,variables:aa}},ServerVariable:{$visitor:ta,fixedFields:{enum:na,default:sa,description:ra}},Components:{$visitor:Ya,fixedFields:{schemas:Ol,responses:Pl,parameters:Cl,examples:Tl,requestBodies:$l,headers:Nl,securitySchemes:Ll,links:Ul,callbacks:Hl}},Paths:{$visitor:uu},PathItem:{$visitor:ep,fixedFields:{$ref:tp,summary:np,description:sp,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:op,parameters:lp}},Operation:{$visitor:Tu,fixedFields:{tags:$u,summary:qu,description:Fu,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:Nu,parameters:Vu,requestBody:zu,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Gu,deprecated:Hu,security:Xu,servers:Zu}},ExternalDocumentation:{$visitor:Zl,fixedFields:{description:eu,url:tu}},Parameter:{$visitor:sc,fixedFields:{name:rc,in:ic,description:oc,required:ac,deprecated:cc,allowEmptyValue:lc,style:uc,explode:pc,allowReserved:mc,schema:hc,example:fl,examples:gl,content:El}},RequestBody:{$visitor:pu,fixedFields:{description:mu,content:du,required:yu}},MediaType:{$visitor:ca,fixedFields:{schema:Na,example:Ba,examples:za,encoding:Ga}},Encoding:{$visitor:nu,fixedFields:{contentType:su,headers:ou,style:au,explode:cu,allowReserved:lu}},Responses:{$visitor:_u,fixedFields:{default:Ru}},Response:{$visitor:vu,fixedFields:{description:bu,headers:ju,content:wu,links:ku}},Callback:{$visitor:gu},Example:{$visitor:Kl,fixedFields:{summary:Wl,description:Xl,value:Yl,externalValue:Ql}},Link:{$visitor:Bo,fixedFields:{operationRef:Do,operationId:Lo,parameters:Go,requestBody:Ho,description:Ko,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:fc,fixedFields:{description:dc,required:yc,deprecated:gc,allowEmptyValue:vc,style:bc,explode:Ec,allowReserved:xc,schema:jc,example:Oc,examples:Pc,content:_c}},Tag:{$visitor:Qa,fixedFields:{name:Za,description:ec,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},JSONReference:kp,Reference:kp,JSONSchema:Cp,Schema:Cp,LinkDescription:Li.visitors.document.objects.LinkDescription,Media:Li.visitors.document.objects.Media,Discriminator:{$visitor:sl,fixedFields:{propertyName:rl,mapping:al}},XML:{$visitor:cl,fixedFields:{name:ll,namespace:ul,prefix:pl,attribute:ml,wrapped:hl}},SecurityScheme:{$visitor:up,fixedFields:{type:pp,description:mp,name:hp,in:fp,scheme:dp,bearerFormat:yp,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:gp}},OAuthFlows:{$visitor:vp,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:bp,fixedFields:{authorizationUrl:Ep,tokenUrl:xp,refreshUrl:jp,scopes:wp}},SecurityRequirement:{$visitor:Ha}},extension:{$visitor:Po}}}},Rp={namespace:e=>{const{base:t}=e;return t.register("callback",Ps),t.register("components",ks),t.register("contact",_s),t.register("discriminator",Ts),t.register("encoding",Is),t.register("example",qs),t.register("externalDocumentation",Ns),t.register("header",Ds),t.register("info",Vs),t.register("license",Us),t.register("link",Gs),t.register("mediaType",Ks),t.register("oAuthFlow",Xs),t.register("oAuthFlows",Qs),t.register("openapi",er),t.register("openApi3_0",nr),t.register("operation",rr),t.register("parameter",or),t.register("pathItem",cr),t.register("paths",ur),t.register("reference",mr),t.register("requestBody",fr),t.register("response",yr),t.register("responses",vr),t.register("schema",Xi),t.register("securityRequirement",Qi),t.register("securityScheme",eo),t.register("server",no),t.register("serverVariable",ro),t.register("tag",oo),t.register("xml",co),t}},Tp=()=>{const e=Yn(Rp);return{predicates:{...r,...i,isStringElement:an},namespace:e}},Mp=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:n=[]}={})=>{const s=(0,a.Qc)(e),r=kr(_p),i=Kn(t,[],r);return xs(s,i,{state:{specObj:r}}),js(i.element,n,{toolboxCreator:Tp,visitorOptions:{keyMap:po,nodeTypeGetter:uo}})},Ip=e=>(t,n={})=>Mp(t,{specPath:e,...n});Ps.refract=Ip(["visitors","document","objects","Callback","$visitor"]),ks.refract=Ip(["visitors","document","objects","Components","$visitor"]),_s.refract=Ip(["visitors","document","objects","Contact","$visitor"]),qs.refract=Ip(["visitors","document","objects","Example","$visitor"]),Ts.refract=Ip(["visitors","document","objects","Discriminator","$visitor"]),Is.refract=Ip(["visitors","document","objects","Encoding","$visitor"]),Ns.refract=Ip(["visitors","document","objects","ExternalDocumentation","$visitor"]),Ds.refract=Ip(["visitors","document","objects","Header","$visitor"]),Vs.refract=Ip(["visitors","document","objects","Info","$visitor"]),Us.refract=Ip(["visitors","document","objects","License","$visitor"]),Gs.refract=Ip(["visitors","document","objects","Link","$visitor"]),Ks.refract=Ip(["visitors","document","objects","MediaType","$visitor"]),Xs.refract=Ip(["visitors","document","objects","OAuthFlow","$visitor"]),Qs.refract=Ip(["visitors","document","objects","OAuthFlows","$visitor"]),er.refract=Ip(["visitors","document","objects","OpenApi","fixedFields","openapi"]),nr.refract=Ip(["visitors","document","objects","OpenApi","$visitor"]),rr.refract=Ip(["visitors","document","objects","Operation","$visitor"]),or.refract=Ip(["visitors","document","objects","Parameter","$visitor"]),cr.refract=Ip(["visitors","document","objects","PathItem","$visitor"]),ur.refract=Ip(["visitors","document","objects","Paths","$visitor"]),mr.refract=Ip(["visitors","document","objects","Reference","$visitor"]),fr.refract=Ip(["visitors","document","objects","RequestBody","$visitor"]),yr.refract=Ip(["visitors","document","objects","Response","$visitor"]),vr.refract=Ip(["visitors","document","objects","Responses","$visitor"]),Xi.refract=Ip(["visitors","document","objects","Schema","$visitor"]),Qi.refract=Ip(["visitors","document","objects","SecurityRequirement","$visitor"]),eo.refract=Ip(["visitors","document","objects","SecurityScheme","$visitor"]),no.refract=Ip(["visitors","document","objects","Server","$visitor"]),ro.refract=Ip(["visitors","document","objects","ServerVariable","$visitor"]),oo.refract=Ip(["visitors","document","objects","Tag","$visitor"]),co.refract=Ip(["visitors","document","objects","XML","$visitor"]);const $p=class extends Ps{};const qp=class extends ks{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}};const Fp=class extends _s{};const Np=class extends Ts{};const Bp=class extends Is{};const Dp=class extends qs{};const Lp=class extends Ns{};const Vp=class extends Ds{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const zp=class extends Vs{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};class Up extends a.RP{static default=new Up("https://spec.openapis.org/oas/3.1/dialect/base");constructor(e,t,n){super(e,t,n),this.element="jsonSchemaDialect"}}const Jp=Up;const Gp=class extends Us{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}};const Hp=class extends Gs{};const Kp=class extends Ks{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Wp=class extends Xs{};const Xp=class extends Qs{};const Yp=class extends er{};class Qp extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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 webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const Zp=Qp;const em=class extends rr{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}};const tm=class extends or{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const nm=class extends cr{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}};const sm=class extends ur{};class rm extends mr{}Object.defineProperty(rm.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(rm.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const im=rm;const om=class extends fr{};const am=class extends yr{};const cm=class extends vr{};class lm extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",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 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 dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get const(){return this.get("const")}set const(e){this.set("const",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 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 maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",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 dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",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 deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get format(){return this.get("format")}set format(e){this.set("format",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 contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}}const um=lm;const pm=class extends Qi{};const mm=class extends eo{};const hm=class extends no{};const fm=class extends ro{};const dm=class extends oo{};const ym=class extends co{},gm={namespace:e=>{const{base:t}=e;return t.register("callback",$p),t.register("components",qp),t.register("contact",Fp),t.register("discriminator",Np),t.register("encoding",Bp),t.register("example",Dp),t.register("externalDocumentation",Lp),t.register("header",Vp),t.register("info",zp),t.register("jsonSchemaDialect",Jp),t.register("license",Gp),t.register("link",Hp),t.register("mediaType",Kp),t.register("oAuthFlow",Wp),t.register("oAuthFlows",Xp),t.register("openapi",Yp),t.register("openApi3_1",Zp),t.register("operation",em),t.register("parameter",tm),t.register("pathItem",nm),t.register("paths",sm),t.register("reference",im),t.register("requestBody",om),t.register("response",am),t.register("responses",cm),t.register("schema",um),t.register("securityRequirement",pm),t.register("securityScheme",mm),t.register("server",hm),t.register("serverVariable",fm),t.register("tag",dm),t.register("xml",ym),t}};class vm extends a.Sb{static primaryClass="components-path-items";constructor(e,t,n){super(e,t,n),this.classes.push(vm.primaryClass)}}const bm=vm;class Em extends a.Sb{static primaryClass="webhooks";constructor(e,t,n){super(e,t,n),this.classes.push(Em.primaryClass)}}const xm=Em,jm=e=>{if(on(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Om={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...Es},Sm={OpenApi3_1Element:{info:(...e)=>new zp(...e),servers:(...e)=>new Zo(...e),paths:(...e)=>new sm(...e),webhooks:(...e)=>new xm(...e),components:(...e)=>new qp(...e),security:(...e)=>new Wa(...e),tags:(...e)=>new Ap(...e),externalDocs:(...e)=>new Lp(...e)},InfoElement:{contact:(...e)=>new Fp(...e),license:(...e)=>new Gp(...e)},ServerElement:{variables:(...e)=>new oa(...e)},ServerVariableElement:{enum:(...e)=>new a.ON(...e)},PathsElement:{"[key: *]":function(...e){return new nm(...e)}},PathItemElement:{get:(...e)=>new em(...e),put:(...e)=>new em(...e),post:(...e)=>new em(...e),delete:(...e)=>new em(...e),options:(...e)=>new em(...e),head:(...e)=>new em(...e),patch:(...e)=>new em(...e),trace:(...e)=>new em(...e),servers:(...e)=>new ip(...e),parameters:(...e)=>new cp(...e)},OperationElement:{tags:(...e)=>new Iu(...e),externalDocs:(...e)=>new Lp(...e),parameters:(...e)=>new Du(...e),requestBody:(...e)=>new om(...e),responses:(...e)=>new cm(...e),callbacks:(...e)=>new Ju(...e),security:(...e)=>new Wu(...e),servers:(...e)=>new Qu(...e)},ParameterElement:{schema:(...e)=>new um(...e),examples:(...e)=>new yl(...e),content:(...e)=>new bl(...e)},RequestBodyElement:{content:(...e)=>new fu(...e)},MediaTypeElement:{schema:(...e)=>new um(...e),examples:(...e)=>new Va(...e),encoding:(...e)=>new Ja(...e)},EncodingElement:{headers:(...e)=>new iu(...e)},ResponsesElement:{"[key: *]":function(...e){return new am(...e)}},ResponseElement:{headers:(...e)=>new xu(...e),content:(...e)=>new Su(...e),links:(...e)=>new Au(...e)},CallbackElement:{"[key: *]":function(...e){return new nm(...e)}},LinkElement:{server:(...e)=>new hm(...e)},HeaderElement:{schema:(...e)=>new um(...e),examples:(...e)=>new wc(...e),content:(...e)=>new Cc(...e)},ComponentsElement:{schemas:(...e)=>new jl(...e),responses:(...e)=>new wl(...e),parameters:(...e)=>new kl(...e),examples:(...e)=>new Rl(...e),requestBodies:(...e)=>new Il(...e),headers:(...e)=>new Fl(...e),securitySchemes:(...e)=>new Dl(...e),links:(...e)=>new zl(...e),callbacks:(...e)=>new Gl(...e),pathItems:(...e)=>new bm(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new a.ON(...e)}},TagElement:{externalDocs:(...e)=>new Lp(...e)},SchemaElement:{$vocabulary(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-$vocabulary"),t},$defs(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-$defs"),t},allOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new um(...e),if:(...e)=>new um(...e),then:(...e)=>new um(...e),else:(...e)=>new um(...e),dependentSchemas(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-dependentSchemas"),t},prefixItems(...e){const t=new a.ON(...e);return t.classes.push("json-schema-prefixItems"),t},items:(...e)=>new um(...e),contains:(...e)=>new um(...e),properties(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new um(...e),propertyNames:(...e)=>new um(...e),unevaluatedItems:(...e)=>new um(...e),unevaluatedProperties:(...e)=>new um(...e),type(...e){const t=new a.ON(...e);return t.classes.push("json-schema-type"),t},enum(...e){const t=new a.ON(...e);return t.classes.push("json-schema-enum"),t},required(...e){const t=new a.ON(...e);return t.classes.push("json-schema-required"),t},dependentRequired(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-dependentRequired"),t},examples(...e){const t=new a.ON(...e);return t.classes.push("json-schema-examples"),t},contentSchema:(...e)=>new um(...e),discriminator:(...e)=>new Np(...e),xml:(...e)=>new ym(...e),externalDocs:(...e)=>new Lp(...e)},DiscriminatorElement:{mapping:(...e)=>new ol(...e)},SecuritySchemeElement:{flows:(...e)=>new Xp(...e)},OAuthFlowsElement:{implicit:(...e)=>new Wp(...e),password:(...e)=>new Wp(...e),clientCredentials:(...e)=>new Wp(...e),authorizationCode:(...e)=>new Wp(...e)},OAuthFlowElement:{scopes:(...e)=>new Sp(...e)},[xm.primaryClass]:{"[key: *]":function(...e){return new nm(...e)}},[oa.primaryClass]:{"[key: *]":function(...e){return new fm(...e)}},[jl.primaryClass]:{"[key: *]":function(...e){return new um(...e)}},[wl.primaryClass]:{"[key: *]":function(...e){return new am(...e)}},[kl.primaryClass]:{"[key: *]":function(...e){return new tm(...e)}},[Rl.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},[Il.primaryClass]:{"[key: *]":function(...e){return new om(...e)}},[Fl.primaryClass]:{"[key: *]":function(...e){return new Vp(...e)}},[Dl.primaryClass]:{"[key: *]":function(...e){return new mm(...e)}},[zl.primaryClass]:{"[key: *]":function(...e){return new Hp(...e)}},[Gl.primaryClass]:{"[key: *]":function(...e){return new $p(...e)}},[bm.primaryClass]:{"[key: *]":function(...e){return new nm(...e)}},[Ju.primaryClass]:{"[key: *]":function(...e){return new $p(...e)}},[yl.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},[bl.primaryClass]:{"[key: *]":function(...e){return new Kp(...e)}},[fu.primaryClass]:{"[key: *]":function(...e){return new Kp(...e)}},[Va.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},[Ja.primaryClass]:{"[key: *]":function(...e){return new Bp(...e)}},[iu.primaryClass]:{"[key: *]":function(...e){return new Vp(...e)}},[xu.primaryClass]:{"[key: *]":function(...e){return new Vp(...e)}},[Su.primaryClass]:{"[key: *]":function(...e){return new Kp(...e)}},[Au.primaryClass]:{"[key: *]":function(...e){return new Hp(...e)}},"json-schema-$defs":{"[key: *]":function(...e){return new um(...e)}},"json-schema-dependentSchemas":{"[key: *]":function(...e){return new um(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new um(...e)}},[Zo.primaryClass]:{"<*>":(...e)=>new hm(...e)},[Wa.primaryClass]:{"<*>":function(...e){return new pm(...e)}},[Ap.primaryClass]:{"<*>":function(...e){return new dm(...e)}},[ip.primaryClass]:{"<*>":function(...e){return new hm(...e)}},[cp.primaryClass]:{"<*>":function(...e){return new tm(...e)}},[Du.primaryClass]:{"<*>":function(...e){return new tm(...e)}},[Wu.primaryClass]:{"<*>":function(...e){return new pm(...e)}},[Qu.primaryClass]:{"<*>":function(...e){return new hm(...e)}},"json-schema-allOf":{"<*>":function(...e){return new um(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new um(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new um(...e)}},"json-schema-prefixItems":{"<*>":function(...e){return new um(...e)}}},wm=(e,t)=>{const n=jm(e),s=Sm[n]||Sm[Nr(e.classes.first)];return void 0===s?void 0:Object.prototype.hasOwnProperty.call(s,"[key: *]")?s["[key: *]"]:s[t]},Pm=()=>({predicates:e})=>{const t=t=>e.isStringElement(t)&&e.includesClasses(["yaml-e-node","yaml-e-scalar"],t);return{visitor:{MemberElement(e,...n){if(!t(e.value))return;const[,,,s]=n,r=s.at(-1),i=wm(r,Nr(e.key));if(void 0===i)return;const o=e.value;return new a.c6(e.key,i.call({context:r},void 0,hs(o.meta),hs(o.attributes)),hs(e.meta),hs(e.attributes))},StringElement(n,...s){if(!t(n))return;const[,,,r]=s,i=r.at(-1);if(!e.isArrayElement(i))return;const o=wm(i,"<*>");return void 0!==o?o.call({context:n},void 0,hs(n.meta),hs(n.attributes)):void 0}}}},Am=()=>({predicates:e})=>{const t=(t,n)=>!!e.isParameterElement(t)&&(!!e.isParameterElement(n)&&(!!e.isStringElement(t.name)&&(!!e.isStringElement(t.in)&&(!!e.isStringElement(n.name)&&(!!e.isStringElement(n.in)&&(Nr(t.name)===Nr(n.name)&&Nr(t.in)===Nr(n.in))))))),n=[];return{visitor:{PathItemElement:{enter(t,s,r,i,o){if(o.some(e.isComponentsElement))return;const{parameters:a}=t;e.isArrayElement(a)?n.push([...a.content]):n.push([])},leave(){n.pop()}},OperationElement:{leave(e){const s=Et(n);if(!Array.isArray(s)||0===s.length)return;const r=wt([],["parameters","content"],e),i=Lt(t,[...r,...s]);e.parameters=new Du(i)}}}}},km=()=>({predicates:e})=>{let t;return{visitor:{OpenApi3_1Element:{enter(n){e.isArrayElement(n.security)&&(t=n.security)},leave(){t=void 0}},OperationElement:{leave(n,s,r,i,o){if(o.some(e.isComponentsElement))return;void 0===n.security&&void 0!==t&&(n.security=new Wu(t?.content))}}}}},Cm=()=>({predicates:e})=>{let t;const n=[];return{visitor:{OpenApi3_1Element:{enter(n){e.isArrayElement(n.servers)&&(t=n.servers?.content)},leave(){t=void 0}},PathItemElement:{enter(s,r,i,o,a){if(a.some(e.isComponentsElement))return;void 0===s.servers&&void 0!==t&&(s.servers=new ip(t));const{servers:c}=s;void 0!==c&&e.isArrayElement(c)?n.push([...c.content]):n.push(void 0)},leave(){n.pop()}},OperationElement:{enter(t){const s=Et(n);void 0!==s&&(e.isArrayElement(t.servers)||(t.servers=new Qu(s)))}}}}},_m=e=>e.replace(/\s/g,""),Rm=e=>e.replace(/\W/gi,"_"),Tm=(e,t,n)=>{const s=_m(e);return s.length>0?Rm(s):((e,t)=>`${Rm(_m(t.toLowerCase()))}${Rm(_m(e))}`)(t,n)},Mm=({operationIdNormalizer:e=Tm}={})=>({predicates:t,namespace:n})=>{const s=[],r=[],i=[];return{visitor:{OpenApi3_1Element:{leave(){const e=ot((e=>Nr(e.operationId)),r);Object.entries(e).forEach((([e,t])=>{Array.isArray(t)&&(t.length<=1||t.forEach(((t,s)=>{const r=`${e}${s+1}`;t.operationId=new n.elements.String(r)})))})),i.forEach((e=>{if(void 0===e.operationId)return;const t=String(Nr(e.operationId)),n=r.find((e=>Nr(e.meta.get("originalOperationId"))===t));void 0!==n&&(e.operationId=hs.safe(n.operationId),e.meta.set("originalOperationId",t),e.set("__originalOperationId",t))})),r.length=0,i.length=0}},PathItemElement:{enter(e){const t=Je("path",Nr(e.meta.get("path")));s.push(t)},leave(){s.pop()}},OperationElement:{enter(t){if(void 0===t.operationId)return;const i=String(Nr(t.operationId)),o=Et(s),a=Je("method",Nr(t.meta.get("http-method"))),c=e(i,o,a);i!==c&&(t.operationId=new n.elements.String(c),t.set("__originalOperationId",i),t.meta.set("originalOperationId",i),r.push(t))}},LinkElement:{leave(e){t.isLinkElement(e)&&void 0!==e.operationId&&i.push(e)}}}}},Im=()=>({predicates:e})=>({visitor:{ParameterElement:{leave(t,n,s,r,i){if(!i.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==t.schema?.example||void 0!==t.schema?.examples)){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>hs.safe(e.value)));return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[hs(t.example)]),void 0!==t.schema.example&&t.schema.set("example",hs(t.example)))}}}}}),$m=()=>({predicates:e})=>({visitor:{HeaderElement:{leave(t,n,s,r,i){if(!i.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==t.schema?.example||void 0!==t.schema?.examples)){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>hs.safe(e.value)));return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[hs(t.example)]),void 0!==t.schema.example&&t.schema.set("example",hs(t.example)))}}}}}),qm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof $p||e(s)&&t("callback",s)&&n("object",s))),Fm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof qp||e(s)&&t("components",s)&&n("object",s))),Nm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Fp||e(s)&&t("contact",s)&&n("object",s))),Bm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Dp||e(s)&&t("example",s)&&n("object",s))),Dm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Lp||e(s)&&t("externalDocumentation",s)&&n("object",s))),Lm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Vp||e(s)&&t("header",s)&&n("object",s))),Vm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof zp||e(s)&&t("info",s)&&n("object",s))),zm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Jp||e(s)&&t("jsonSchemaDialect",s)&&n("string",s))),Um=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Gp||e(s)&&t("license",s)&&n("object",s))),Jm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Hp||e(s)&&t("link",s)&&n("object",s))),Gm=e=>{if(!Jm(e))return!1;if(!an(e.operationRef))return!1;const t=Nr(e.operationRef);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Hm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Yp||e(s)&&t("openapi",s)&&n("string",s))),Km=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:s})=>r=>r instanceof Zp||e(r)&&t("openApi3_1",r)&&n("object",r)&&s("api",r))),Wm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof em||e(s)&&t("operation",s)&&n("object",s))),Xm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof tm||e(s)&&t("parameter",s)&&n("object",s))),Ym=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof nm||e(s)&&t("pathItem",s)&&n("object",s))),Qm=e=>{if(!Ym(e))return!1;if(!an(e.$ref))return!1;const t=Nr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Zm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof sm||e(s)&&t("paths",s)&&n("object",s))),eh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof im||e(s)&&t("reference",s)&&n("object",s))),th=e=>{if(!eh(e))return!1;if(!an(e.$ref))return!1;const t=Nr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},nh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof om||e(s)&&t("requestBody",s)&&n("object",s))),sh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof am||e(s)&&t("response",s)&&n("object",s))),rh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof cm||e(s)&&t("responses",s)&&n("object",s))),ih=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof um||e(s)&&t("schema",s)&&n("object",s))),oh=e=>un(e)&&e.classes.includes("boolean-json-schema"),ah=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof pm||e(s)&&t("securityRequirement",s)&&n("object",s))),ch=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof hm||e(s)&&t("server",s)&&n("object",s))),lh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof fm||e(s)&&t("serverVariable",s)&&n("object",s))),uh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Kp||e(s)&&t("mediaType",s)&&n("object",s))),ph=()=>{const e=Yn(gm);return{predicates:{...o,isStringElement:an,isArrayElement:mn,isObjectElement:pn,includesClasses:On},namespace:e}},mh=e=>pn(e)&&e.hasKey("openapi")&&e.hasKey("info")})(),s})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsOpenApi3_1=t():e.apidomNsOpenApi3_1=t()}(self,(()=>(()=>{var e={42:(e,t,s)=>{"use strict";var n=s(5846);e.exports=n},6791:(e,t,s)=>{"use strict";s(4339),s(4242),s(4016),s(8939),s(5454);var n=s(7545);e.exports=n.AggregateError},6762:(e,t,s)=>{"use strict";e.exports=s(3028)},3028:(e,t,s)=>{"use strict";s(2752);var n=s(42);e.exports=n},6235:(e,t,s)=>{"use strict";var n=s(6447),r=s(9288),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not a function")}},7757:(e,t,s)=>{"use strict";var n=s(6447),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw new i("Can't set "+r(e)+" as a prototype")}},7423:e=>{"use strict";e.exports=function(){}},1138:(e,t,s)=>{"use strict";var n=s(5744),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not an object")}},8180:(e,t,s)=>{"use strict";var n=s(101),r=s(7739),i=s(4104),o=function(e){return function(t,s,o){var a,c=n(t),l=i(c),u=r(o,l);if(e&&s!=s){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===s)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,s)=>{"use strict";var n=s(4120),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},4696:(e,t,s)=>{"use strict";var n=s(3471),r=s(6447),i=s(9272),o=s(8182)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,s,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?s:c?i(t):"Object"===(n=i(t))&&r(t.callee)?"Arguments":n}},7987:(e,t,s)=>{"use strict";var n=s(4500),r=s(3011),i=s(5141),o=s(2454);e.exports=function(e,t,s){for(var a=r(t),c=o.f,l=i.f,u=0;u<a.length;u++){var p=a[u];n(e,p)||s&&n(s,p)||c(e,p,l(t,p))}}},4635:(e,t,s)=>{"use strict";var n=s(6192);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,s)=>{"use strict";var n=s(69),r=s(2454),i=s(774);e.exports=n?function(e,t,s){return r.f(e,t,i(1,s))}:function(e,t,s){return e[t]=s,e}},774:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,s)=>{"use strict";var n=s(8711);e.exports=function(e,t,s,r){return r&&r.enumerable?e[t]=s:n(e,t,s),e}},5098:(e,t,s)=>{"use strict";var n=s(8576),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(s){n[e]=t}return t}},69:(e,t,s)=>{"use strict";var n=s(6192);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{"use strict";var t="object"==typeof document&&document.all,s=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:s}},7449:(e,t,s)=>{"use strict";var n=s(8576),r=s(5744),i=n.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,s)=>{"use strict";var n,r,i=s(8576),o=s(8989),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(r=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},2952:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,s)=>{"use strict";var n=s(4120),r=Error,i=n("".replace),o=String(new r("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},8266:(e,t,s)=>{"use strict";var n=s(8711),r=s(4503),i=s(274),o=Error.captureStackTrace;e.exports=function(e,t,s,a){i&&(o?o(e,t):n(e,"stack",r(s,a)))}},274:(e,t,s)=>{"use strict";var n=s(6192),r=s(774);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},3085:(e,t,s)=>{"use strict";var n=s(8576),r=s(6298),i=s(4914),o=s(6447),a=s(5141).f,c=s(9245),l=s(7545),u=s(8043),p=s(8711),m=s(4500),h=function(e){var t=function(s,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(s);case 2:return new e(s,n)}return new e(s,n,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var s,r,f,d,y,g,v,b,E,x=e.target,j=e.global,O=e.stat,w=e.proto,S=j?n:O?n[x]:(n[x]||{}).prototype,P=j?l:l[x]||p(l,x,{})[x],A=P.prototype;for(d in t)r=!(s=c(j?d:x+(O?".":"#")+d,e.forced))&&S&&m(S,d),g=P[d],r&&(v=e.dontCallGetSet?(E=a(S,d))&&E.value:S[d]),y=r&&v?v:t[d],r&&typeof g==typeof y||(b=e.bind&&r?u(y,n):e.wrap&&r?h(y):w&&o(y)?i(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(P,d,b),w&&(m(l,f=x+"Prototype")||p(l,f,{}),p(l[f],d,y),e.real&&A&&(s||!A[d])&&p(A,d,y)))}},6192:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,s)=>{"use strict";var n=s(2784),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,s)=>{"use strict";var n=s(4914),r=s(6235),i=s(2784),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,s)=>{"use strict";var n=s(6192);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,s)=>{"use strict";var n=s(2784),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},2282:(e,t,s)=>{"use strict";var n=s(69),r=s(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},6419:(e,t,s)=>{"use strict";var n=s(4120),r=s(6235);e.exports=function(e,t,s){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[s]))}catch(e){}}},4914:(e,t,s)=>{"use strict";var n=s(9272),r=s(4120);e.exports=function(e){if("Function"===n(e))return r(e)}},4120:(e,t,s)=>{"use strict";var n=s(2784),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,s)=>{"use strict";var n=s(7545),r=s(8576),i=s(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}},8703:(e,t,s)=>{"use strict";var n=s(4696),r=s(5037),i=s(5646),o=s(7771),a=s(8182)("iterator");e.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[n(e)]}},1669:(e,t,s)=>{"use strict";var n=s(8922),r=s(6235),i=s(1138),o=s(9288),a=s(8703),c=TypeError;e.exports=function(e,t){var s=arguments.length<2?a(e):t;if(r(s))return i(n(s,e));throw new c(o(e)+" is not iterable")}},5037:(e,t,s)=>{"use strict";var n=s(6235),r=s(5646);e.exports=function(e,t){var s=e[t];return r(s)?void 0:n(s)}},8576:function(e,t,s){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof s.g&&s.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,s)=>{"use strict";var n=s(4120),r=s(1795),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},4535:e=>{"use strict";e.exports={}},7403:(e,t,s)=>{"use strict";var n=s(150);e.exports=n("document","documentElement")},188:(e,t,s)=>{"use strict";var n=s(69),r=s(6192),i=s(7449);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,s)=>{"use strict";var n=s(4120),r=s(6192),i=s(9272),o=Object,a=n("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):o(e)}:o},2643:(e,t,s)=>{"use strict";var n=s(6447),r=s(5744),i=s(4469);e.exports=function(e,t,s){var o,a;return i&&n(o=t.constructor)&&o!==s&&r(a=o.prototype)&&a!==s.prototype&&i(e,a),e}},273:(e,t,s)=>{"use strict";var n=s(5744),r=s(8711);e.exports=function(e,t){n(t)&&"cause"in t&&r(e,"cause",t.cause)}},3326:(e,t,s)=>{"use strict";var n,r,i,o=s(5278),a=s(8576),c=s(5744),l=s(8711),u=s(4500),p=s(6434),m=s(9766),h=s(4535),f="Object already initialized",d=a.TypeError,y=a.WeakMap;if(o||p.state){var g=p.state||(p.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,n=function(e,t){if(g.has(e))throw new d(f);return t.facade=e,g.set(e,t),t},r=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var v=m("state");h[v]=!0,n=function(e,t){if(u(e,v))throw new d(f);return t.facade=e,l(e,v,t),t},r=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var s;if(!c(t)||(s=r(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return s}}}},6109:(e,t,s)=>{"use strict";var n=s(8182),r=s(7771),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},6447:(e,t,s)=>{"use strict";var n=s(8382),r=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},9245:(e,t,s)=>{"use strict";var n=s(6192),r=s(6447),i=/#|\.prototype\./,o=function(e,t){var s=c[a(e)];return s===u||s!==l&&(r(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},5646:e=>{"use strict";e.exports=function(e){return null==e}},5744:(e,t,s)=>{"use strict";var n=s(6447),r=s(8382),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},5546:e=>{"use strict";e.exports=!0},3236:(e,t,s)=>{"use strict";var n=s(150),r=s(6447),i=s(8902),o=s(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,a(e))}},3442:(e,t,s)=>{"use strict";var n=s(8043),r=s(8922),i=s(1138),o=s(9288),a=s(6109),c=s(4104),l=s(8902),u=s(1669),p=s(8703),m=s(6639),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},d=f.prototype;e.exports=function(e,t,s){var y,g,v,b,E,x,j,O=s&&s.that,w=!(!s||!s.AS_ENTRIES),S=!(!s||!s.IS_RECORD),P=!(!s||!s.IS_ITERATOR),A=!(!s||!s.INTERRUPTED),k=n(t,O),C=function(e){return y&&m(y,"normal",e),new f(!0,e)},_=function(e){return w?(i(e),A?k(e[0],e[1],C):k(e[0],e[1])):A?k(e,C):k(e)};if(S)y=e.iterator;else if(P)y=e;else{if(!(g=p(e)))throw new h(o(e)+" is not iterable");if(a(g)){for(v=0,b=c(e);b>v;v++)if((E=_(e[v]))&&l(d,E))return E;return new f(!1)}y=u(e,g)}for(x=S?e.next:y.next;!(j=r(x,y)).done;){try{E=_(j.value)}catch(e){m(y,"throw",e)}if("object"==typeof E&&E&&l(d,E))return E}return new f(!1)}},6639:(e,t,s)=>{"use strict";var n=s(8922),r=s(1138),i=s(5037);e.exports=function(e,t,s){var o,a;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw s;if(a)throw o;return r(o),s}},5695:(e,t,s)=>{"use strict";var n=s(4413).IteratorPrototype,r=s(2853),i=s(774),o=s(1284),a=s(7771),c=function(){return this};e.exports=function(e,t,s,l){var u=t+" Iterator";return e.prototype=r(n,{next:i(+!l,s)}),o(e,u,!1,!0),a[u]=c,e}},5297:(e,t,s)=>{"use strict";var n=s(3085),r=s(8922),i=s(5546),o=s(2282),a=s(6447),c=s(5695),l=s(9341),u=s(4469),p=s(1284),m=s(8711),h=s(9362),f=s(8182),d=s(7771),y=s(4413),g=o.PROPER,v=o.CONFIGURABLE,b=y.IteratorPrototype,E=y.BUGGY_SAFARI_ITERATORS,x=f("iterator"),j="keys",O="values",w="entries",S=function(){return this};e.exports=function(e,t,s,o,f,y,P){c(s,t,o);var A,k,C,_=function(e){if(e===f&&$)return $;if(!E&&e&&e in M)return M[e];switch(e){case j:case O:case w:return function(){return new s(this,e)}}return function(){return new s(this)}},T=t+" Iterator",R=!1,M=e.prototype,I=M[x]||M["@@iterator"]||f&&M[f],$=!E&&I||_(f),q="Array"===t&&M.entries||I;if(q&&(A=l(q.call(new e)))!==Object.prototype&&A.next&&(i||l(A)===b||(u?u(A,b):a(A[x])||h(A,x,S)),p(A,T,!0,!0),i&&(d[T]=S)),g&&f===O&&I&&I.name!==O&&(!i&&v?m(M,"name",O):(R=!0,$=function(){return r(I,this)})),f)if(k={values:_(O),keys:y?$:_(j),entries:_(w)},P)for(C in k)(E||R||!(C in M))&&h(M,C,k[C]);else n({target:t,proto:!0,forced:E||R},k);return i&&!P||M[x]===$||h(M,x,$,{name:f}),d[t]=$,k}},4413:(e,t,s)=>{"use strict";var n,r,i,o=s(6192),a=s(6447),c=s(5744),l=s(2853),u=s(9341),p=s(9362),m=s(8182),h=s(5546),f=m("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(r=u(u(i)))!==Object.prototype&&(n=r):d=!0),!c(n)||o((function(){var e={};return n[f].call(e)!==e}))?n={}:h&&(n=l(n)),a(n[f])||p(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{"use strict";e.exports={}},4104:(e,t,s)=>{"use strict";var n=s(8445);e.exports=function(e){return n(e.length)}},7679:e=>{"use strict";var t=Math.ceil,s=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?s:t)(n)}},6016:(e,t,s)=>{"use strict";var n=s(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},2853:(e,t,s)=>{"use strict";var n,r=s(1138),i=s(1187),o=s(2952),a=s(4535),c=s(7403),l=s(7449),u=s(9766),p="prototype",m="script",h=u("IE_PROTO"),f=function(){},d=function(e){return"<"+m+">"+e+"</"+m+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,s;g="undefined"!=typeof document?document.domain&&n?y(n):(t=l("iframe"),s="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(s),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(n);for(var r=o.length;r--;)delete g[p][o[r]];return g()};a[h]=!0,e.exports=Object.create||function(e,t){var s;return null!==e?(f[p]=r(e),s=new f,f[p]=null,s[h]=e):s=g(),void 0===t?s:i.f(s,t)}},1187:(e,t,s)=>{"use strict";var n=s(69),r=s(9600),i=s(2454),o=s(1138),a=s(101),c=s(7653);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var s,n=a(t),r=c(t),l=r.length,u=0;l>u;)i.f(e,s=r[u++],n[s]);return e}},2454:(e,t,s)=>{"use strict";var n=s(69),r=s(188),i=s(9600),o=s(1138),a=s(77),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",h="writable";t.f=n?i?function(e,t,s){if(o(e),t=a(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&h in s&&!s[h]){var n=u(e,t);n&&n[h]&&(e[t]=s.value,s={configurable:m in s?s[m]:n[m],enumerable:p in s?s[p]:n[p],writable:!1})}return l(e,t,s)}:l:function(e,t,s){if(o(e),t=a(t),o(s),r)try{return l(e,t,s)}catch(e){}if("get"in s||"set"in s)throw new c("Accessors not supported");return"value"in s&&(e[t]=s.value),e}},5141:(e,t,s)=>{"use strict";var n=s(69),r=s(8922),i=s(6007),o=s(774),a=s(101),c=s(77),l=s(4500),u=s(188),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!r(i.f,e,t),e[t])}},2092:(e,t,s)=>{"use strict";var n=s(7934),r=s(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},4750:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9341:(e,t,s)=>{"use strict";var n=s(4500),r=s(6447),i=s(1795),o=s(9766),a=s(4635),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var s=t.constructor;return r(s)&&t instanceof s?s.prototype:t instanceof l?u:null}},8902:(e,t,s)=>{"use strict";var n=s(4120);e.exports=n({}.isPrototypeOf)},7934:(e,t,s)=>{"use strict";var n=s(4120),r=s(4500),i=s(101),o=s(8180).indexOf,a=s(4535),c=n([].push);e.exports=function(e,t){var s,n=i(e),l=0,u=[];for(s in n)!r(a,s)&&r(n,s)&&c(u,s);for(;t.length>l;)r(n,s=t[l++])&&(~o(u,s)||c(u,s));return u}},7653:(e,t,s)=>{"use strict";var n=s(7934),r=s(2952);e.exports=Object.keys||function(e){return n(e,r)}},6007:(e,t)=>{"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!s.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:s},4469:(e,t,s)=>{"use strict";var n=s(6419),r=s(1138),i=s(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,s={};try{(e=n(Object.prototype,"__proto__","set"))(s,[]),t=s instanceof Array}catch(e){}return function(s,n){return r(s),i(n),t?e(s,n):s.__proto__=n,s}}():void 0)},158:(e,t,s)=>{"use strict";var n=s(3471),r=s(4696);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},380:(e,t,s)=>{"use strict";var n=s(8922),r=s(6447),i=s(5744),o=TypeError;e.exports=function(e,t){var s,a;if("string"===t&&r(s=e.toString)&&!i(a=n(s,e)))return a;if(r(s=e.valueOf)&&!i(a=n(s,e)))return a;if("string"!==t&&r(s=e.toString)&&!i(a=n(s,e)))return a;throw new o("Can't convert object to primitive value")}},3011:(e,t,s)=>{"use strict";var n=s(150),r=s(4120),i=s(2092),o=s(4750),a=s(1138),c=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),s=o.f;return s?c(t,s(e)):t}},7545:e=>{"use strict";e.exports={}},7656:(e,t,s)=>{"use strict";var n=s(2454).f;e.exports=function(e,t,s){s in e||n(e,s,{configurable:!0,get:function(){return t[s]},set:function(e){t[s]=e}})}},3209:(e,t,s)=>{"use strict";var n=s(5646),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},1284:(e,t,s)=>{"use strict";var n=s(3471),r=s(2454).f,i=s(8711),o=s(4500),a=s(158),c=s(8182)("toStringTag");e.exports=function(e,t,s,l){if(e){var u=s?e:e.prototype;o(u,c)||r(u,c,{configurable:!0,value:t}),l&&!n&&i(u,"toString",a)}}},9766:(e,t,s)=>{"use strict";var n=s(8717),r=s(2759),i=n("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},6434:(e,t,s)=>{"use strict";var n=s(8576),r=s(5098),i="__core-js_shared__",o=n[i]||r(i,{});e.exports=o},8717:(e,t,s)=>{"use strict";var n=s(5546),r=s(6434);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,s)=>{"use strict";var n=s(4120),r=s(1941),i=s(4845),o=s(3209),a=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(e){return function(t,s){var n,u,p=i(o(t)),m=r(s),h=p.length;return m<0||m>=h?e?"":void 0:(n=c(p,m))<55296||n>56319||m+1===h||(u=c(p,m+1))<56320||u>57343?e?a(p,m):n:e?l(p,m,m+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},6770:(e,t,s)=>{"use strict";var n=s(4218),r=s(6192),i=s(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},7739:(e,t,s)=>{"use strict";var n=s(1941),r=Math.max,i=Math.min;e.exports=function(e,t){var s=n(e);return s<0?r(s+t,0):i(s,t)}},101:(e,t,s)=>{"use strict";var n=s(2202),r=s(3209);e.exports=function(e){return n(r(e))}},1941:(e,t,s)=>{"use strict";var n=s(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8445:(e,t,s)=>{"use strict";var n=s(1941),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},1795:(e,t,s)=>{"use strict";var n=s(3209),r=Object;e.exports=function(e){return r(n(e))}},7888:(e,t,s)=>{"use strict";var n=s(8922),r=s(5744),i=s(3236),o=s(5037),a=s(380),c=s(8182),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var s,c=o(e,u);if(c){if(void 0===t&&(t="default"),s=n(c,e,t),!r(s)||i(s))return s;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,s)=>{"use strict";var n=s(7888),r=s(3236);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},3471:(e,t,s)=>{"use strict";var n={};n[s(8182)("toStringTag")]="z",e.exports="[object z]"===String(n)},4845:(e,t,s)=>{"use strict";var n=s(4696),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},9288:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,s)=>{"use strict";var n=s(4120),r=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},615:(e,t,s)=>{"use strict";var n=s(6770);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,s)=>{"use strict";var n=s(69),r=s(6192);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,s)=>{"use strict";var n=s(8576),r=s(6447),i=n.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8182:(e,t,s)=>{"use strict";var n=s(8576),r=s(8717),i=s(4500),o=s(2759),a=s(6770),c=s(615),l=n.Symbol,u=r("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:p("Symbol."+e)),u[e]}},426:(e,t,s)=>{"use strict";var n=s(150),r=s(4500),i=s(8711),o=s(8902),a=s(4469),c=s(7987),l=s(7656),u=s(2643),p=s(6016),m=s(273),h=s(8266),f=s(69),d=s(5546);e.exports=function(e,t,s,y){var g="stackTraceLimit",v=y?2:1,b=e.split("."),E=b[b.length-1],x=n.apply(null,b);if(x){var j=x.prototype;if(!d&&r(j,"cause")&&delete j.cause,!s)return x;var O=n("Error"),w=t((function(e,t){var s=p(y?t:e,void 0),n=y?new x(e):new x;return void 0!==s&&i(n,"message",s),h(n,w,n.stack,2),this&&o(j,this)&&u(n,this,w),arguments.length>v&&m(n,arguments[v]),n}));if(w.prototype=j,"Error"!==E?a?a(w,O):c(w,O,{name:!0}):f&&g in x&&(l(w,x,g),l(w,x,"prepareStackTrace")),c(w,x),!d)try{j.name!==E&&i(j,"name",E),j.constructor=w}catch(e){}return w}}},4016:(e,t,s)=>{"use strict";var n=s(3085),r=s(150),i=s(6298),o=s(6192),a=s(426),c="AggregateError",l=r(c),u=!o((function(){return 1!==l([1]).errors[0]}))&&o((function(){return 7!==l([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:a(c,(function(e){return function(t,s){return i(e,this,arguments)}}),u,!0)})},3820:(e,t,s)=>{"use strict";var n=s(3085),r=s(8902),i=s(9341),o=s(4469),a=s(7987),c=s(2853),l=s(8711),u=s(774),p=s(273),m=s(8266),h=s(3442),f=s(6016),d=s(8182)("toStringTag"),y=Error,g=[].push,v=function(e,t){var s,n=r(b,this);o?s=o(new y,n?i(this):b):(s=n?this:c(b),l(s,d,"Error")),void 0!==t&&l(s,"message",f(t)),m(s,v,s.stack,1),arguments.length>2&&p(s,arguments[2]);var a=[];return h(e,g,{that:a}),l(s,"errors",a),s};o?o(v,y):a(v,y,{name:!0});var b=v.prototype=c(y.prototype,{constructor:u(1,v),message:u(1,""),name:u(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:v})},4242:(e,t,s)=>{"use strict";s(3820)},8939:(e,t,s)=>{"use strict";var n=s(101),r=s(7423),i=s(7771),o=s(3326),a=s(2454).f,c=s(5297),l=s(7271),u=s(5546),p=s(69),m="Array Iterator",h=o.set,f=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){h(this,{type:m,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,s=e.kind,n=e.index++;if(!t||n>=t.length)return e.target=void 0,l(void 0,!0);switch(s){case"keys":return l(n,!1);case"values":return l(t[n],!1)}return l([n,t[n]],!1)}),"values");var d=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!u&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},4339:(e,t,s)=>{"use strict";var n=s(3085),r=s(8576),i=s(6298),o=s(426),a="WebAssembly",c=r[a],l=7!==new Error("e",{cause:7}).cause,u=function(e,t){var s={};s[e]=o(e,t,l),n({global:!0,constructor:!0,arity:1,forced:l},s)},p=function(e,t){if(c&&c[e]){var s={};s[e]=o(a+"."+e,t,l),n({target:a,stat:!0,constructor:!0,arity:1,forced:l},s)}};u("Error",(function(e){return function(t){return i(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),u("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,s)=>{"use strict";var n=s(863).charAt,r=s(4845),i=s(3326),o=s(5297),a=s(7271),c="String Iterator",l=i.set,u=i.getterFor(c);o(String,"String",(function(e){l(this,{type:c,string:r(e),index:0})}),(function(){var e,t=u(this),s=t.string,r=t.index;return r>=s.length?a(void 0,!0):(e=n(s,r),t.index+=e.length,a(e,!1))}))},2752:(e,t,s)=>{"use strict";s(4242)},162:(e,t,s)=>{"use strict";s(8939);var n=s(7365),r=s(8576),i=s(4696),o=s(8711),a=s(7771),c=s(8182)("toStringTag");for(var l in n){var u=r[l],p=u&&u.prototype;p&&i(p)!==c&&o(p,c,l),a[l]=a.Array}},5846:(e,t,s)=>{"use strict";s(2752);var n=s(6791);s(162),e.exports=n},9515:(e,t,s)=>{var n=s(8761)(s(7772),"DataView");e.exports=n},9612:(e,t,s)=>{var n=s(2118),r=s(6909),i=s(8138),o=s(4174),a=s(7942);function c(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,s)=>{var n=s(3945),r=s(1846),i=s(8028),o=s(2344),a=s(4769);function c(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,s)=>{var n=s(8761)(s(7772),"Map");e.exports=n},6738:(e,t,s)=>{var n=s(2411),r=s(6417),i=s(6928),o=s(9493),a=s(4150);function c(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,s)=>{var n=s(8761)(s(7772),"Promise");e.exports=n},2143:(e,t,s)=>{var n=s(8761)(s(7772),"Set");e.exports=n},5386:(e,t,s)=>{var n=s(6738),r=s(2842),i=s(2482);function o(e){var t=-1,s=null==e?0:e.length;for(this.__data__=new n;++t<s;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},6571:(e,t,s)=>{var n=s(235),r=s(5243),i=s(2858),o=s(4417),a=s(8605),c=s(1418);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=c,e.exports=l},857:(e,t,s)=>{var n=s(7772).Symbol;e.exports=n},9162:(e,t,s)=>{var n=s(7772).Uint8Array;e.exports=n},3215:(e,t,s)=>{var n=s(8761)(s(7772),"WeakMap");e.exports=n},7552:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,r=0,i=[];++s<n;){var o=e[s];t(o,s,e)&&(i[r++]=o)}return i}},1634:(e,t,s)=>{var n=s(6473),r=s(9631),i=s(6152),o=s(3226),a=s(9045),c=s(7598),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var s=i(e),u=!s&&r(e),p=!s&&!u&&o(e),m=!s&&!u&&!p&&c(e),h=s||u||p||m,f=h?n(e.length,String):[],d=f.length;for(var y in e)!t&&!l.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||m&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,d))||f.push(y);return f}},5067:e=>{e.exports=function(e,t){for(var s=-1,n=t.length,r=e.length;++s<n;)e[r+s]=t[s];return e}},7064:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length;++s<n;)if(t(e[s],s,e))return!0;return!1}},2218:(e,t,s)=>{var n=s(1225);e.exports=function(e,t){for(var s=e.length;s--;)if(n(e[s][0],t))return s;return-1}},1897:(e,t,s)=>{var n=s(5067),r=s(6152);e.exports=function(e,t,s){var i=t(e);return r(e)?i:n(i,s(e))}},3366:(e,t,s)=>{var n=s(857),r=s(2107),i=s(7157),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},5183:(e,t,s)=>{var n=s(3366),r=s(5125);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},8746:(e,t,s)=>{var n=s(1952),r=s(5125);e.exports=function e(t,s,i,o,a){return t===s||(null==t||null==s||!r(t)&&!r(s)?t!=t&&s!=s:n(t,s,i,o,e,a))}},1952:(e,t,s)=>{var n=s(6571),r=s(4871),i=s(1491),o=s(7416),a=s(940),c=s(6152),l=s(3226),u=s(7598),p="[object Arguments]",m="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,d,y,g){var v=c(e),b=c(t),E=v?m:a(e),x=b?m:a(t),j=(E=E==p?h:E)==h,O=(x=x==p?h:x)==h,w=E==x;if(w&&l(e)){if(!l(t))return!1;v=!0,j=!1}if(w&&!j)return g||(g=new n),v||u(e)?r(e,t,s,d,y,g):i(e,t,E,s,d,y,g);if(!(1&s)){var S=j&&f.call(e,"__wrapped__"),P=O&&f.call(t,"__wrapped__");if(S||P){var A=S?e.value():e,k=P?t.value():t;return g||(g=new n),y(A,k,s,d,g)}}return!!w&&(g||(g=new n),o(e,t,s,d,y,g))}},6840:(e,t,s)=>{var n=s(1049),r=s(7394),i=s(9259),o=s(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,m=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(n(e)?m:a).test(o(e))}},5522:(e,t,s)=>{var n=s(3366),r=s(1158),i=s(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[n(e)]}},6411:(e,t,s)=>{var n=s(6001),r=s(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var s in Object(e))i.call(e,s)&&"constructor"!=s&&t.push(s);return t}},6473:e=>{e.exports=function(e,t){for(var s=-1,n=Array(e);++s<e;)n[s]=t(s);return n}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,s)=>{var n=s(7772)["__core-js_shared__"];e.exports=n},4871:(e,t,s)=>{var n=s(5386),r=s(7064),i=s(9950);e.exports=function(e,t,s,o,a,c){var l=1&s,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var f=-1,d=!0,y=2&s?new n:void 0;for(c.set(e,t),c.set(t,e);++f<u;){var g=e[f],v=t[f];if(o)var b=l?o(v,g,f,t,e,c):o(g,v,f,e,t,c);if(void 0!==b){if(b)continue;d=!1;break}if(y){if(!r(t,(function(e,t){if(!i(y,t)&&(g===e||a(g,e,s,o,c)))return y.push(t)}))){d=!1;break}}else if(g!==v&&!a(g,v,s,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,s)=>{var n=s(857),r=s(9162),i=s(1225),o=s(4871),a=s(5179),c=s(4207),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,s,n,l,p,m){switch(s){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var f=1&n;if(h||(h=c),e.size!=t.size&&!f)return!1;var d=m.get(e);if(d)return d==t;n|=2,m.set(e,t);var y=o(h(e),h(t),n,l,p,m);return m.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},7416:(e,t,s)=>{var n=s(3483),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,i,o,a){var c=1&s,l=n(e),u=l.length;if(u!=n(t).length&&!c)return!1;for(var p=u;p--;){var m=l[p];if(!(c?m in t:r.call(t,m)))return!1}var h=a.get(e),f=a.get(t);if(h&&f)return h==t&&f==e;var d=!0;a.set(e,t),a.set(t,e);for(var y=c;++p<u;){var g=e[m=l[p]],v=t[m];if(i)var b=c?i(v,g,m,t,e,a):i(g,v,m,e,t,a);if(!(void 0===b?g===v||o(g,v,s,i,a):b)){d=!1;break}y||(y="constructor"==m)}if(d&&!y){var E=e.constructor,x=t.constructor;E==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof x&&x instanceof x||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,s)=>{var n="object"==typeof s.g&&s.g&&s.g.Object===Object&&s.g;e.exports=n},3483:(e,t,s)=>{var n=s(1897),r=s(633),i=s(249);e.exports=function(e){return n(e,i,r)}},7937:(e,t,s)=>{var n=s(8304);e.exports=function(e,t){var s=e.__data__;return n(t)?s["string"==typeof t?"string":"hash"]:s.map}},8761:(e,t,s)=>{var n=s(6840),r=s(8109);e.exports=function(e,t){var s=r(e,t);return n(s)?s:void 0}},2107:(e,t,s)=>{var n=s(857),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),s=e[a];try{e[a]=void 0;var n=!0}catch(e){}var r=o.call(e);return n&&(t?e[a]=s:delete e[a]),r}},633:(e,t,s)=>{var n=s(7552),r=s(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},940:(e,t,s)=>{var n=s(9515),r=s(326),i=s(2760),o=s(2143),a=s(3215),c=s(3366),l=s(7035),u="[object Map]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",f="[object DataView]",d=l(n),y=l(r),g=l(i),v=l(o),b=l(a),E=c;(n&&E(new n(new ArrayBuffer(1)))!=f||r&&E(new r)!=u||i&&E(i.resolve())!=p||o&&E(new o)!=m||a&&E(new a)!=h)&&(E=function(e){var t=c(e),s="[object Object]"==t?e.constructor:void 0,n=s?l(s):"";if(n)switch(n){case d:return f;case y:return u;case g:return p;case v:return m;case b:return h}return t}),e.exports=E},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,s)=>{var n=s(9191);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,s)=>{var n=s(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var s=t[e];return"__lodash_hash_undefined__"===s?void 0:s}return r.call(t,e)?t[e]:void 0}},4174:(e,t,s)=>{var n=s(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},7942:(e,t,s)=>{var n=s(9191);e.exports=function(e,t){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,s){var n=typeof e;return!!(s=null==s?9007199254740991:s)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<s}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,s)=>{var n,r=s(4019),i=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var s=e&&e.constructor;return e===("function"==typeof s&&s.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,s)=>{var n=s(2218),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,s=n(t,e);return!(s<0)&&(s==t.length-1?t.pop():r.call(t,s,1),--this.size,!0)}},8028:(e,t,s)=>{var n=s(2218);e.exports=function(e){var t=this.__data__,s=n(t,e);return s<0?void 0:t[s][1]}},2344:(e,t,s)=>{var n=s(2218);e.exports=function(e){return n(this.__data__,e)>-1}},4769:(e,t,s)=>{var n=s(2218);e.exports=function(e,t){var s=this.__data__,r=n(s,e);return r<0?(++this.size,s.push([e,t])):s[r][1]=t,this}},2411:(e,t,s)=>{var n=s(9612),r=s(235),i=s(326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}},6417:(e,t,s)=>{var n=s(7937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,s)=>{var n=s(7937);e.exports=function(e){return n(this,e).get(e)}},9493:(e,t,s)=>{var n=s(7937);e.exports=function(e){return n(this,e).has(e)}},4150:(e,t,s)=>{var n=s(7937);e.exports=function(e,t){var s=n(this,e),r=s.size;return s.set(e,t),this.size+=s.size==r?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e,n){s[++t]=[n,e]})),s}},9191:(e,t,s)=>{var n=s(8761)(Object,"create");e.exports=n},4248:(e,t,s)=>{var n=s(241)(Object.keys,Object);e.exports=n},4146:(e,t,s)=>{e=s.nmd(e);var n=s(1242),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(s){return e(t(s))}}},7772:(e,t,s)=>{var n=s(1242),r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e){s[++t]=e})),s}},5243:(e,t,s)=>{var n=s(235);e.exports=function(){this.__data__=new n,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,s)=>{var n=s(235),r=s(326),i=s(6738);e.exports=function(e,t){var s=this.__data__;if(s instanceof n){var o=s.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new i(o)}return s.set(e,t),this.size=s.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,s)=>{var n=s(5183),r=s(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,s)=>{var n=s(1049),r=s(1158);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},4335:(e,t,s)=>{var n=s(3366),r=s(5125);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==n(e)}},3226:(e,t,s)=>{e=s.nmd(e);var n=s(7772),r=s(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c},8149:(e,t,s)=>{var n=s(8746);e.exports=function(e,t){return n(e,t)}},1049:(e,t,s)=>{var n=s(3366),r=s(9259);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,s)=>{var n=s(3366),r=s(5125);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==n(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,s)=>{var n=s(3366),r=s(6152),i=s(5125);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==n(e)}},7598:(e,t,s)=>{var n=s(5522),r=s(7826),i=s(4146),o=i&&i.isTypedArray,a=o?r(o):n;e.exports=a},249:(e,t,s)=>{var n=s(1634),r=s(6411),i=s(7878);e.exports=function(e){return i(e)?n(e):r(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,s)=>{const n=s(1570);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,s)=>{const n=s(5877),r=s(5505),i=s(537),o=s(4335),a=s(9259),c=s(2947),l=s(3756);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=l.Element,this.KeyValuePair=l.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",l.NullElement).register("string",l.StringElement).register("number",l.NumberElement).register("boolean",l.BooleanElement).register("array",l.ArrayElement).register("object",l.ObjectElement).register("member",l.MemberElement).register("ref",l.RefElement).register("link",l.LinkElement),this.detect(n,l.NullElement,!1).detect(r,l.StringElement,!1).detect(i,l.NumberElement,!1).detect(o,l.BooleanElement,!1).detect(Array.isArray,l.ArrayElement,!1).detect(a,l.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,s){return void 0===s||s?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let s=0;s<this.elementDetection.length;s+=1){const n=this.elementDetection[s][0],r=this.elementDetection[s][1];if(n(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=u,e.exports=u},3853:(e,t,s)=>{const n=s(1570),r=s(1178);class i extends r{map(e,t){return this.elements.map((s=>e.bind(t)(s.value,s.key,s)))}filter(e,t){return new i(this.elements.filter((s=>e.bind(t)(s.value,s.key,s))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((s,n)=>{e.bind(t)(s.value,s.key,s,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,s)=>{const n=s(6420),r=s(4152),i=s(9542),o=s(3710),a=s(3312),c=s(1641),l=s(8858),u=s(3860),p=s(5202),m=s(2320),h=s(1178),f=s(3853),d=s(3026);function y(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new r;if(Array.isArray(e))return new c(e.map(y));if("object"==typeof e){return new u(e)}return e}n.prototype.ObjectElement=u,n.prototype.RefElement=m,n.prototype.MemberElement=l,n.prototype.refract=y,h.prototype.refract=y,e.exports={Element:n,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:l,ObjectElement:u,LinkElement:p,RefElement:m,refract:y,ArraySlice:h,ObjectSlice:f,KeyValuePair:d}},5202:(e,t,s)=>{const n=s(6420);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,s)=>{const n=s(6420);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,s)=>{const n=s(5140),r=s(3756);t.lS=n,t.KeyValuePair=s(3026),t.O4=r.ArraySlice,t.rm=r.ObjectSlice,t.W_=r.Element,t.RP=r.StringElement,t.VL=r.NumberElement,t.hh=r.BooleanElement,t.zr=r.NullElement,t.ON=r.ArrayElement,t.Sb=r.ObjectElement,t.c6=r.MemberElement,t.tK=r.RefElement,t.EA=r.LinkElement,t.Qc=r.refract,s(2947),s(8910)},1641:(e,t,s)=>{const n=s(1570),r=s(6420),i=s(1178);class o extends r{constructor(e,t,s){super(e||[],t,s),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=s;t<this.length;t+=1){const s=this.content[t];n="object"===this.primitive()?this.refract(e(n,s.value,s.key,s,this)):this.refract(e(n,s,t,this))}return n}forEach(e,t){this.content.forEach(((s,n)=>{e.bind(t)(s,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const s=t||{},n=!!s.recursive,r=void 0===s.results?[]:s.results;return this.forEach(((t,s,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:n}),e(t,s,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,s)=>{const n=s(6420);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,s)=>{const n=s(8149),r=s(3026),i=s(1178);class o{constructor(e,t,s){t&&(this.meta=t),s&&(this.attributes=s),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let s=new i;const n=(e,t)=>(e.push(t),e),o=(e,s)=>{s.element===t&&e.push(s);const i=s.findRecursive(t);return i&&i.reduce(n,e),s.content instanceof r&&(s.content.key&&o(e,s.content.key),s.content.value&&o(e,s.content.value)),e};return this.content&&(this.content.element&&o(s,this.content),Array.isArray(this.content)&&this.content.reduce(o,s)),e.isEmpty||(s=s.filter((t=>{let s=t.parents.map((e=>e.element));for(const t in e){const n=e[t],r=s.indexOf(n);if(-1===r)return!1;s=s.splice(0,r)}return!0}))),s}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,s)=>{const n=s(3026),r=s(6420);e.exports=class extends r{constructor(e,t,s,r){super(new n,s,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,s)=>{const n=s(6420);e.exports=class extends n{constructor(e,t,s){super(e||null,t,s),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,s)=>{const n=s(6420);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}}},3860:(e,t,s)=>{const n=s(1570),r=s(9259),i=s(1641),o=s(8858),a=s(3853);e.exports=class extends i{constructor(e,t,s){super(e||[],t,s),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((s=>s.key.toValue()!==e||(t=s,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const s=e,n=this.getMember(s);return n?n.value=t:this.content.push(new o(s,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((s=>e.bind(t)(s.value,s.key,s)))}compactMap(e,t){const s=[];return this.forEach(((n,r,i)=>{const o=e.bind(t)(n,r,i);o&&s.push(o)})),s}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((s=>e.bind(t)(s.value,s.key,s)))}}},9542:(e,t,s)=>{const n=s(6420);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,s)=>{const n=s(2947);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const s={element:e.element};e._meta&&e._meta.length>0&&(s.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(s.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(s.attributes=this.serialiseObject(n))}if(n)s.content=this.enumSerialiseContent(e,s);else if(this[`${e.element}SerialiseContent`])s.content=this[`${e.element}SerialiseContent`](e,s);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(s.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(s.content=[]);return s}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),s=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==s.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),s=new t;s.element!==e.element&&(s.element=e.element),e.meta&&this.deserialiseObject(e.meta,s.meta),e.attributes&&this.deserialiseObject(e.attributes,s.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==s.content||(s.content=n),"enum"===s.element){s.content&&s.attributes.set("enumerations",s.content);let e=s.attributes.get("samples");if(s.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const r=new t(n);r.element=s.element,e.push(r)}))}));const r=e.shift();s.content=r?r.content:void 0,s.attributes.set("samples",e)}else s.content=void 0;let n=s.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=s.element,s.attributes.set("default",e)}}else if("dataStructure"===s.element&&Array.isArray(s.content))[s.content]=s.content;else if("category"===s.element){const e=s.attributes.get("meta");e&&(s.attributes.set("metadata",e),s.attributes.remove("meta"))}else"member"===s.element&&s.key&&s.key._attributes&&s.key._attributes.getValue("variable")&&(s.attributes.set("variable",s.key.attributes.get("variable")),s.key.attributes.remove("variable"));return s}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,s)=>{if(e){const n=s.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const s=this.serialiseContent(e.content);return void 0!==s&&(t.content=s),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const s=this.deserialiseContent(e.content);return void 0===s&&null!==t.content||(t.content=s),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,s)=>{e&&(t[s.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},6591:e=>{!function(){"use strict";var t,s,n,r,i,o="properties",a="deepProperties",c="propertyDescriptors",l="staticProperties",u="staticDeepProperties",p="staticPropertyDescriptors",m="configuration",h="deepConfiguration",f="deepProps",d="deepStatics",y="deepConf",g="initializers",v="methods",b="composers",E="compose";function x(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function j(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var O=j.bind(0,(function(e,t){if(t)for(var s=x(t),n=0;n<s.length;n+=1)Object.defineProperty(e,s[n],Object.getOwnPropertyDescriptor(t,s[n]));return e}));function w(e){return"function"==typeof e}function S(e){return e&&"object"==typeof e||w(e)}function P(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var A=j.bind(0,(function e(s,n){if(n===t)return s;if(Array.isArray(n))return(Array.isArray(s)?s:[]).concat(n);if(!P(n))return n;for(var r,i,o=x(n),a=0;a<o.length;)r=o[a++],(i=Object.getOwnPropertyDescriptor(n,r)).hasOwnProperty("value")?i.value!==t&&(s[r]=e(P(s[r])||Array.isArray(n[r])?s[r]:{},n[r])):Object.defineProperty(s,r,i);return s}));function k(){return(s=Array.prototype.concat.apply([],arguments).filter((function(e,t,s){return w(e)&&s.indexOf(e)===t}))).length?s:t}function C(e,t){function n(s,n){S(t[s])&&(S(e[s])||(e[s]={}),(n||O)(e[s],t[s]))}function r(n){(s=k(e[n],t[n]))&&(e[n]=s)}return t&&S(t=t[E]||t)&&(n(v),n(o),n(a,A),n(c),n(l),n(u,A),n(p),n(m),n(h,A),r(g),r(b)),e}function _(){return function(e){return s=function e(s){var n,r,i=e[E]||{},l={__proto__:i[v]},u=i[g],p=Array.prototype.slice.apply(arguments),m=i[a];if(m&&A(l,m),(m=i[o])&&O(l,m),(m=i[c])&&Object.defineProperties(l,m),!u||!u.length)return l;for(s===t&&(s={}),i=0;i<u.length;)w(n=u[i++])&&(l=(r=n.call(l,s,{instance:l,stamp:e,args:p}))===t?l:r);return l},(n=e[u])&&A(s,n),(n=e[l])&&O(s,n),(n=e[p])&&Object.defineProperties(s,n),n=w(s[E])?s[E]:_,O(s[E]=function(){return n.apply(this,arguments)},e),s}(Array.prototype.concat.apply([this],arguments).reduce(C,{}))}function T(e){return w(e)&&w(e[E])}var R={};function M(e,i){return function(){return(r={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((s=this)&&s[E]||n).call(s,r)}}R[v]=M(v,O),R[o]=R.props=M(o,O),R[g]=R.init=M(g,k),R[b]=M(b,k),R[a]=R[f]=M(a,A),R[l]=R.statics=M(l,O),R[u]=R[d]=M(u,A),R[m]=R.conf=M(m,O),R[h]=R[y]=M(h,A),R[c]=M(c,O),R[p]=M(p,O),n=R[E]=O((function(){for(var e,x,j=0,w=[],P=arguments,C=this;j<P.length;)S(e=P[j++])&&w.push(T(e)?e:((r={})[v]=(x=e)[v]||t,n=x.props,r[o]=S((s=x[o])||n)?O({},n,s):t,r[g]=k(x.init,x[g]),r[b]=k(x[b]),n=x[f],r[a]=S((s=x[a])||n)?A({},n,s):t,r[c]=x[c],n=x.statics,r[l]=S((s=x[l])||n)?O({},n,s):t,n=x[d],r[u]=S((s=x[u])||n)?A({},n,s):t,s=x[p],r[p]=S((n=x.name&&{name:{value:x.name}})||s)?O({},s,n):t,n=x.conf,r[m]=S((s=x[m])||n)?O({},n,s):t,n=x[y],r[h]=S((s=x[h])||n)?A({},n,s):t,r));if(e=_.apply(C||i,w),C&&w.unshift(C),Array.isArray(P=e[E][b]))for(j=0;j<P.length;)e=T(C=P[j++]({stamp:e,composables:w}))?C:e;return e}),R),R.create=function(){return this.apply(t,arguments)},(r={})[l]=R,i=_(r),n[E]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()},1427:(e,t,s)=>{e.exports=s(6762)}},t={};function s(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";s.r(n),s.d(n,{CallbackElement:()=>bp,ComponentsCallbacksElement:()=>Ol,ComponentsElement:()=>Ep,ComponentsExamplesElement:()=>cl,ComponentsHeadersElement:()=>fl,ComponentsLinksElement:()=>El,ComponentsParametersElement:()=>il,ComponentsPathItemsElement:()=>nm,ComponentsRequestBodiesElement:()=>pl,ComponentsResponsesElement:()=>sl,ComponentsSchemasElement:()=>Zc,ComponentsSecuritySchemesElement:()=>gl,ContactElement:()=>xp,DiscriminatorElement:()=>jp,DiscriminatorMappingElement:()=>Fc,EncodingElement:()=>Op,EncodingHeadersElement:()=>ql,ExampleElement:()=>wp,ExternalDocumentationElement:()=>Sp,HeaderContentElement:()=>hc,HeaderElement:()=>Pp,HeaderExamplesElement:()=>lc,InfoElement:()=>Ap,JsonSchemaDialectElement:()=>Cp,LicenseElement:()=>_p,LinkElement:()=>Tp,LinkParametersElement:()=>Co,MediaTypeElement:()=>Rp,MediaTypeEncodingElement:()=>Ca,MediaTypeExamplesElement:()=>Pa,OAuthFlowElement:()=>Mp,OAuthFlowScopesElement:()=>cp,OAuthFlowsElement:()=>Ip,OpenAPIMediaTypes:()=>Ut,OpenApi3_1Element:()=>Fp,OpenapiElement:()=>$p,OperationCallbacksElement:()=>Cu,OperationElement:()=>Np,OperationParametersElement:()=>wu,OperationSecurityElement:()=>Mu,OperationServersElement:()=>qu,OperationTagsElement:()=>vu,ParameterContentElement:()=>Xc,ParameterElement:()=>Bp,ParameterExamplesElement:()=>Hc,PathItemElement:()=>Dp,PathItemParametersElement:()=>Gu,PathItemServersElement:()=>zu,PathsElement:()=>Lp,ReferenceElement:()=>zp,RequestBodyContentElement:()=>Hl,RequestBodyElement:()=>Up,ResponseContentElement:()=>nu,ResponseElement:()=>Jp,ResponseHeadersElement:()=>eu,ResponseLinksElement:()=>ou,ResponsesElement:()=>Gp,SchemaElement:()=>Kp,SecurityElement:()=>Ma,SecurityRequirementElement:()=>Wp,SecuritySchemeElement:()=>Xp,ServerElement:()=>Yp,ServerVariableElement:()=>Qp,ServerVariablesElement:()=>Uo,ServersElement:()=>Fo,TagElement:()=>Zp,TagsElement:()=>pp,WebhooksElement:()=>im,XmlElement:()=>em,createToolbox:()=>rh,default:()=>tm,getNodeType:()=>om,isArrayElement:()=>ue,isBooleanElement:()=>ce,isBooleanJsonSchemaElement:()=>Zm,isCallbackElement:()=>Cm,isComponentsElement:()=>_m,isContactElement:()=>Tm,isElement:()=>re,isExampleElement:()=>Rm,isExternalDocumentationElement:()=>Mm,isInfoElement:()=>$m,isJsonSchemaDialectElement:()=>qm,isLicenseElement:()=>Fm,isLinkElement:()=>Nm,isLinkElementExternal:()=>Bm,isLinkPrimitiveElement:()=>me,isMediaTypeElement:()=>nh,isMemberElement:()=>pe,isNullElement:()=>ae,isNumberElement:()=>oe,isObjectElement:()=>le,isOpenApi3_1Element:()=>Lm,isOpenApi3_1LikeElement:()=>ih,isOpenApiExtension:()=>ro,isOpenapiElement:()=>Dm,isOperationElement:()=>Vm,isParameterElement:()=>zm,isParameterLikeElement:()=>Qi,isPathItemElement:()=>Um,isPathItemElementExternal:()=>Jm,isPathsElement:()=>Gm,isRefElement:()=>he,isReferenceElement:()=>Hm,isReferenceElementExternal:()=>Km,isReferenceLikeElement:()=>Zi,isRequestBodyElement:()=>Wm,isResponseElement:()=>Xm,isResponseLikeElement:()=>to,isResponsesElement:()=>Ym,isSchemaElement:()=>Qm,isSecurityRequirementElement:()=>eh,isServerElement:()=>th,isServerLikeElement:()=>so,isServerVariableElement:()=>sh,isStringElement:()=>ie,keyMap:()=>am,mediaTypes:()=>Jt,refractorPluginNormalizeHeaderExamples:()=>km,refractorPluginNormalizeOperationIds:()=>Pm,refractorPluginNormalizeParameterExamples:()=>Am,refractorPluginNormalizeParameters:()=>dm,refractorPluginNormalizeSecurityRequirements:()=>ym,refractorPluginNormalizeServers:()=>gm,refractorPluginReplaceEmptyElement:()=>um});var e={};s.r(e),s.d(e,{hasElementSourceMap:()=>be,includesClasses:()=>xe,includesSymbols:()=>Ee,isAnnotationElement:()=>fe,isArrayElement:()=>ue,isBooleanElement:()=>ce,isCommentElement:()=>de,isElement:()=>re,isLinkElement:()=>me,isMemberElement:()=>pe,isNullElement:()=>ae,isNumberElement:()=>oe,isObjectElement:()=>le,isParseResultElement:()=>ye,isPrimitiveElement:()=>ve,isRefElement:()=>he,isSourceMapElement:()=>ge,isStringElement:()=>ie});var t={};s.r(t),s.d(t,{isJSONReferenceElement:()=>Oi,isJSONSchemaElement:()=>ji,isLinkDescriptionElement:()=>Si,isMediaElement:()=>wi});var r={};s.r(r),s.d(r,{isOpenApi3_0LikeElement:()=>Yi,isOpenApiExtension:()=>ro,isParameterLikeElement:()=>Qi,isReferenceLikeElement:()=>Zi,isRequestBodyLikeElement:()=>eo,isResponseLikeElement:()=>to,isServerLikeElement:()=>so,isTagLikeElement:()=>no});var i={};s.r(i),s.d(i,{isBooleanJsonSchemaElement:()=>ga,isCallbackElement:()=>Ko,isComponentsElement:()=>Wo,isContactElement:()=>Xo,isExampleElement:()=>Yo,isExternalDocumentationElement:()=>Qo,isHeaderElement:()=>Zo,isInfoElement:()=>ea,isLicenseElement:()=>ta,isLinkElement:()=>sa,isLinkElementExternal:()=>na,isMediaTypeElement:()=>xa,isOpenApi3_0Element:()=>ia,isOpenapiElement:()=>ra,isOperationElement:()=>oa,isParameterElement:()=>aa,isPathItemElement:()=>ca,isPathItemElementExternal:()=>la,isPathsElement:()=>ua,isReferenceElement:()=>pa,isReferenceElementExternal:()=>ma,isRequestBodyElement:()=>ha,isResponseElement:()=>fa,isResponsesElement:()=>da,isSchemaElement:()=>ya,isSecurityRequirementElement:()=>va,isServerElement:()=>ba,isServerVariableElement:()=>Ea});var o={};s.r(o),s.d(o,{isBooleanJsonSchemaElement:()=>Zm,isCallbackElement:()=>Cm,isComponentsElement:()=>_m,isContactElement:()=>Tm,isExampleElement:()=>Rm,isExternalDocumentationElement:()=>Mm,isHeaderElement:()=>Im,isInfoElement:()=>$m,isJsonSchemaDialectElement:()=>qm,isLicenseElement:()=>Fm,isLinkElement:()=>Nm,isLinkElementExternal:()=>Bm,isMediaTypeElement:()=>nh,isOpenApi3_1Element:()=>Lm,isOpenapiElement:()=>Dm,isOperationElement:()=>Vm,isParameterElement:()=>zm,isPathItemElement:()=>Um,isPathItemElementExternal:()=>Jm,isPathsElement:()=>Gm,isReferenceElement:()=>Hm,isReferenceElementExternal:()=>Km,isRequestBodyElement:()=>Wm,isResponseElement:()=>Xm,isResponsesElement:()=>Ym,isSchemaElement:()=>Qm,isSecurityRequirementElement:()=>eh,isServerElement:()=>th,isServerVariableElement:()=>sh});var a=s(7952);function c(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function l(e){return function t(s){return 0===arguments.length||c(s)?t:e.apply(this,arguments)}}function u(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return c(s)?t:l((function(t){return e(s,t)}));default:return c(s)&&c(n)?t:c(s)?l((function(t){return e(t,n)})):c(n)?l((function(t){return e(s,t)})):e(s,n)}}}const p=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function m(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!p(n)){for(var r=0;r<e.length;){if("function"==typeof n[e[r]])return n[e[r]].apply(n,Array.prototype.slice.call(arguments,0,-1));r+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return s.apply(this,arguments)}}function h(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const f=function(){return this.xf["@@transducer/init"]()},d=function(e){return this.xf["@@transducer/result"](e)};var y=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=h(this.xf["@@transducer/step"](e,!1))),e},e}();function g(e){return function(t){return new y(e,t)}}const v=u(m(["all"],g,(function(e,t){for(var s=0;s<t.length;){if(!e(t[s]))return!1;s+=1}return!0})));function b(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,n){return t.apply(this,arguments)};case 4:return function(e,s,n,r){return t.apply(this,arguments)};case 5:return function(e,s,n,r,i){return t.apply(this,arguments)};case 6:return function(e,s,n,r,i,o){return t.apply(this,arguments)};case 7:return function(e,s,n,r,i,o,a){return t.apply(this,arguments)};case 8:return function(e,s,n,r,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,s,n,r,i,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,s,n,r,i,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 E(e,t,s){return function(){for(var n=[],r=0,i=e,o=0,a=!1;o<t.length||r<arguments.length;){var l;o<t.length&&(!c(t[o])||r>=arguments.length)?l=t[o]:(l=arguments[r],r+=1),n[o]=l,c(l)?a=!0:i-=1,o+=1}return!a&&i<=0?s.apply(this,n):b(Math.max(0,i),E(e,n,s))}}const x=u((function(e,t){return 1===e?l(t):b(e,E(e,[],t))}));const j=l((function(e){return x(e.length,(function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)}))}));function O(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function w(e,t,s){for(var n=0,r=s.length;n<r;){if(e(t,s[n]))return!0;n+=1}return!1}function S(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const P="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var A=Object.prototype.toString;const k=function(){return"[object Arguments]"===A.call(arguments)?function(e){return"[object Arguments]"===A.call(e)}:function(e){return S("callee",e)}}();var C=!{toString:null}.propertyIsEnumerable("toString"),_=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=function(){return arguments.propertyIsEnumerable("length")}(),R=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},M="function"!=typeof Object.keys||T?l((function(e){if(Object(e)!==e)return[];var t,s,n=[],r=T&&k(e);for(t in e)!S(t,e)||r&&"length"===t||(n[n.length]=t);if(C)for(s=_.length-1;s>=0;)S(t=_[s],e)&&!R(n,t)&&(n[n.length]=t),s-=1;return n})):l((function(e){return Object(e)!==e?[]:Object.keys(e)}));const I=M;const $=l((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function q(e,t,s,n){var r=O(e);function i(e,t){return F(e,t,s.slice(),n.slice())}return!w((function(e,t){return!w(i,t,e)}),O(t),r)}function F(e,t,s,n){if(P(e,t))return!0;var r,i,o=$(e);if(o!==$(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!P(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!P(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&&q(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&q(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=I(e);if(c.length!==I(t).length)return!1;var l=s.concat([e]),u=n.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!S(p,t)||!F(t[p],e[p],l,u))return!1;a-=1}return!0}const N=u((function(e,t){return F(e,t,[],[])}));function B(e,t){return function(e,t,s){var n,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(r=e[s])&&1/r===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(r=e[s])&&r!=r)return s;s+=1}return-1}return e.indexOf(t,s);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,s);case"object":if(null===t)return e.indexOf(t,s)}for(;s<e.length;){if(N(e[s],t))return s;s+=1}return-1}(t,e,0)>=0}const D=j(u(B));class L extends a.RP{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const V=L;class z extends a.RP{constructor(e,t,s){super(e,t,s),this.element="comment"}}const U=z;const J=l((function(e){return function(){return e}}));const G=J(void 0);const H=N(G());class K extends a.ON{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(H(t))return!1;const s=this.content.findIndex((e=>e===t));return-1!==s&&(this.content[s]=e,!0)}}const W=K;class X extends a.ON{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new a.ON([e.start.row,e.start.column,e.start.char]),s=new a.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),s.classes.push("position"),this.push(t).push(s)}}const Y=X,Q=(e,t)=>"function"==typeof(null==t?void 0:t[e]),Z=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),ee=(e,t)=>{var s;return(null==t||null===(s=t.primitive)||void 0===s?void 0:s.call(t))===e},te=(e,t)=>{var s,n;return(null==t||null===(s=t.classes)||void 0===s||null===(n=s.includes)||void 0===n?void 0:n.call(s,e))||!1},se=(e,t)=>(null==t?void 0:t.element)===e,ne=e=>e({hasMethod:Q,hasBasicElementProps:Z,primitiveEq:ee,isElementType:se,hasClass:te}),re=ne((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof a.W_||e(s)&&t(void 0,s))),ie=ne((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof a.RP||e(s)&&t("string",s))),oe=ne((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof a.VL||e(s)&&t("number",s))),ae=ne((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof a.zr||e(s)&&t("null",s))),ce=ne((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof a.hh||e(s)&&t("boolean",s))),le=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof a.Sb||e(n)&&t("object",n)&&s("keys",n)&&s("values",n)&&s("items",n))),ue=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof a.ON&&!(n instanceof a.Sb)||e(n)&&t("array",n)&&s("push",n)&&s("unshift",n)&&s("map",n)&&s("reduce",n))),pe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof a.c6||e(n)&&t("member",n)&&s(void 0,n))),me=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof a.EA||e(n)&&t("link",n)&&s(void 0,n))),he=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof a.tK||e(n)&&t("ref",n)&&s(void 0,n))),fe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof V||e(n)&&t("annotation",n)&&s("array",n))),de=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof U||e(n)&&t("comment",n)&&s("string",n))),ye=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof W||e(n)&&t("parseResult",n)&&s("array",n))),ge=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Y||e(n)&&t("sourceMap",n)&&s("array",n))),ve=e=>se("object",e)||se("array",e)||se("boolean",e)||se("number",e)||se("string",e)||se("null",e)||se("member",e),be=e=>{var t,s;return ge(null==e||null===(t=e.meta)||void 0===t||null===(s=t.get)||void 0===s?void 0:s.call(t,"sourceMap"))},Ee=(e,t)=>{if(0===e.length)return!0;const s=t.attributes.get("symbols");return!!ue(s)&&v(D(s.toValue()),e)},xe=(e,t)=>0===e.length||v(D(t.classes.toValue()),e);function je(e){return"[object String]"===Object.prototype.toString.call(e)}const Oe=u((function(e,t){var s=e<0?t.length+e:e;return je(t)?t.charAt(s):t[s]}));const we=Oe(-1);const Se=l((function(e){return null==e}));var Pe=u((function(e,t){return!Se(t)&&e in t}));const Ae=Pe;function ke(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Ce(e){return function t(s,n,r){switch(arguments.length){case 0:return t;case 1:return c(s)?t:u((function(t,n){return e(s,t,n)}));case 2:return c(s)&&c(n)?t:c(s)?u((function(t,s){return e(t,n,s)})):c(n)?u((function(t,n){return e(s,t,n)})):l((function(t){return e(s,n,t)}));default:return c(s)&&c(n)&&c(r)?t:c(s)&&c(n)?u((function(t,s){return e(t,s,r)})):c(s)&&c(r)?u((function(t,s){return e(t,n,s)})):c(n)&&c(r)?u((function(t,n){return e(s,t,n)})):c(s)?l((function(t){return e(t,n,r)})):c(n)?l((function(t){return e(s,t,r)})):c(r)?l((function(t){return e(s,n,t)})):e(s,n,r)}}}const _e=l((function(e){return!!p(e)||!!e&&("object"==typeof e&&(!je(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var Te="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Re(e,t,s){return function(n,r,i){if(_e(i))return e(n,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(n,r,i,"fantasy-land/reduce");if(null!=i[Te])return s(n,r,i[Te]());if("function"==typeof i.next)return s(n,r,i);if("function"==typeof i.reduce)return t(n,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Me(e,t,s){for(var n=0,r=s.length;n<r;){if((t=e["@@transducer/step"](t,s[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const Ie=u((function(e,t){return b(e.length,(function(){return e.apply(t,arguments)}))}));function $e(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 qe(e,t,s,n){return e["@@transducer/result"](s[n](Ie(e["@@transducer/step"],e),t))}const Fe=Re(Me,qe,$e);var Ne=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function Be(e){return new Ne(e)}const De=Ce((function(e,t,s){return Fe("function"==typeof e?Be(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 p(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const Ve=Ce(Le("slice",(function(e,t,s){return Array.prototype.slice.call(s,e,t)})));const ze=l(Le("tail",Ve(1,1/0)));function Ue(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return b(arguments[0].length,De(ke,arguments[0],ze(arguments)))}var Je=function(e,t){switch(arguments.length){case 0:return Je;case 1:return function t(s){return 0===arguments.length?t:P(e,s)};default:return P(e,t)}};const Ge=Je;function He(e,t){for(var s=0,n=t.length,r=Array(n);s<n;)r[s]=e(t[s]),s+=1;return r}function Ke(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 We=function(e){return(e<10?"0":"")+e};const Xe="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+We(e.getUTCMonth()+1)+"-"+We(e.getUTCDate())+"T"+We(e.getUTCHours())+":"+We(e.getUTCMinutes())+":"+We(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Ye(e,t,s){for(var n=0,r=s.length;n<r;)t=e(t,s[n]),n+=1;return t}function Qe(e){return"[object Object]"===Object.prototype.toString.call(e)}var Ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function et(e){return function(t){return new Ze(e,t)}}const tt=u(m(["fantasy-land/filter","filter"],et,(function(e,t){return Qe(t)?Ye((function(s,n){return e(t[n])&&(s[n]=t[n]),s}),{},I(t)):function(e,t){for(var s=0,n=t.length,r=[];s<n;)e(t[s])&&(r[r.length]=t[s]),s+=1;return r}(e,t)})));const st=u((function(e,t){return tt((s=e,function(){return!s.apply(this,arguments)}),t);var s}));function nt(e,t){var s=function(s){var n=t.concat([e]);return B(s,n)?"<Circular>":nt(s,n)},n=function(e,t){return He((function(t){return Ke(t)+": "+s(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+He(s,e).join(", ")+"))";case"[object Array]":return"["+He(s,e).concat(n(e,st((function(e){return/^\d+$/.test(e)}),I(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):Ke(Xe(e)))+")";case"[object Map]":return"new Map("+s(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+s(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+s(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+s(e.valueOf())+")":Ke(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+n(e,I(e)).join(", ")+"}"}}const rt=l((function(e){return nt(e,[])})),it=Number.isInteger||function(e){return e<<0===e};const ot=u((function(e,t){return e.map((function(e){for(var s,n=t,r=0;r<e.length;){if(null==n)return;s=e[r],n=it(s)?Oe(s,n):n[s],r+=1}return n}))}));const at=u((function(e,t){return ot([e],t)[0]}));const ct=Ce((function(e,t,s){return e(at(t,s))}));function lt(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const ut=u((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 mt(e,t,s,n){return s[n](e,t)}const ht=Re(Ye,mt,pt);var ft=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const dt=u(m(["fantasy-land/map","map"],(function(e){return function(t){return new ft(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return x(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return Ye((function(s,n){return s[n]=e(t[n]),s}),{},I(t));default:return He(e,t)}})));const yt=u((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(s){return e(s)(t(s))}:ht((function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,r=t.length,i=[];for(s=0;s<n;)i[i.length]=e[s],s+=1;for(s=0;s<r;)i[i.length]=t[s],s+=1;return i}(e,dt(s,t))}),[],e)}));const gt=u((function(e,t){var s=x(e,t);return x(e,(function(){return Ye(yt,dt(s,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const vt=l((function(e){return gt(e.length,e)}));const bt=u((function(e,t){return lt(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:vt(ut)(e,t)}));const Et=N(null);const xt=vt(l((function(e){return!e})));const jt=xt(Et);function Ot(e){return Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ot(e)}const wt=function(e){return"object"===Ot(e)};const St=x(1,bt(jt,wt));const Pt=u((function(e,t){if(e===t)return t;function s(e,t){if(e>t!=t>e)return t>e?t:e}var n=s(e,t);if(void 0!==n)return n;var r=s(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=rt(e),o=s(i,rt(t));return void 0!==o&&o===i?e:t}));const At=u((function(e,t){if(null!=t)return it(e)?Oe(e,t):t[e]}));const kt=u((function(e,t){return dt(At(e),t)}));const Ct=l((function(e){return x(De(Pt,0,kt("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 _t=x(1,Ue($,Ge("GeneratorFunction")));const Tt=x(1,Ue($,Ge("AsyncFunction")));const Rt=Ct([Ue($,Ge("Function")),_t,Tt]);var Mt=Ue($,Ge("Object")),It=Ue(rt,N(rt(Object))),$t=ct(bt(Rt,It),["constructor"]);const qt=x(1,(function(e){if(!St(e)||!Mt(e))return!1;var t=Object.getPrototypeOf(e);return!!Et(t)||$t(t)}));var Ft=s(1427);const Nt=class extends Ft{constructor(e,t,s){if(super(e,t,s),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,qt(s)&&Ae("cause",s)&&!Ae("cause",this)){const{cause:e}=s;this.cause=e,e instanceof Error&&Ae("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class Bt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Nt,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,qt(t)&&Ae("cause",t)&&!Ae("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&Ae("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const Dt=Bt;const Lt=class extends Dt{};const Vt=class extends Lt{};const zt=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Vt("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Vt("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Vt("latest method in MediaTypes class is not yet implemented.")}};class Ut extends zt{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.1.0",t="generic"){const s="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(s)))||this.unknownMediaType}latest(e="generic"){return we(this.filterByFormat(e))}}const Jt=new Ut("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0");const Gt=u((function(e,t){return null==t||t!=t?e:t}));const Ht=Ce((function(e,t,s){return Gt(e,At(t,s))}));const Kt=Ve(0,-1);const Wt=u((function(e,t){return e.apply(this,t)}));const Xt=xt(Rt);var Yt=l((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():p(e)?[]:je(e)?"":Qe(e)?{}:k(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 Qt=Yt;const Zt=l((function(e){return null!=e&&N(e,Qt(e))}));const es=x(1,Rt(Array.isArray)?Array.isArray:Ue($,Ge("Array")));const ts=bt(es,Zt);const ss=x(3,(function(e,t,s){var n=at(e,s),r=at(Kt(e),s);if(!Xt(n)&&!ts(e)){var i=Ie(n,r);return Wt(i,t)}}));class ns extends a.lS{constructor(){super(),this.register("annotation",V),this.register("comment",U),this.register("parseResult",W),this.register("sourceMap",Y)}}const rs=new ns,is=e=>{const t=new ns;return qt(e)&&t.use(e),t},os=rs,as=()=>({predicates:{...e},namespace:os});var cs=s(6591);const ls=function(){return!1};const us=x(1,Ue($,Ge("String"))),ps=(e,t,s)=>{const n=e[t];if(null!=n){if(!s&&"function"==typeof n)return n;const e=s?n.leave:n.enter;if("function"==typeof e)return e}else{const n=s?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},ms={},hs=e=>null==e?void 0:e.type,fs=e=>"string"==typeof hs(e),ds=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),ys=(e,t,{keyMap:s=null,state:n={},breakSymbol:r=ms,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ps,nodeTypeGetter:c=hs,nodePredicate:l=fs,nodeCloneFn:u=ds,detectCycles:p=!0}={})=>{const m=s||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],x=[];do{g+=1;const e=g===y.length;let s;const O=e&&0!==v.length;if(e){if(s=0===x.length?void 0:E.pop(),b=f,f=x.pop(),O)if(d){b=b.slice();let e=0;for(const[t,s]of v){const n=t-e;s===i?(b.splice(n,1),e+=1):b[n]=s}}else{b=u(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(s=d?g:y[g],b=f[s],b===i||void 0===b)continue;E.push(s)}if(x.includes(b))continue;let w;if(!Array.isArray(b)){if(!l(b))throw new Dt(`Invalid AST Node: ${JSON.stringify(b)}`);if(p&&x.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;w=i.call(t,b,s,f,E,x)}if(w===r)break;if(w===o){if(!e){E.pop();continue}}else if(void 0!==w&&(v.push([s,w]),!e)){if(!l(w)){E.pop();continue}b=w}}var j;if(void 0===w&&O&&v.push([s,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(j=m[c(b)])&&void 0!==j?j:[],g=-1,v=[],f!==i&&void 0!==f&&x.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};ys[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=null,state:n={},breakSymbol:r=ms,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ps,nodeTypeGetter:c=hs,nodePredicate:l=fs,nodeCloneFn:u=ds,detectCycles:p=!0}={})=>{const m=s||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],x=[];do{g+=1;const e=g===y.length;let s;const O=e&&0!==v.length;if(e){if(s=0===x.length?void 0:E.pop(),b=f,f=x.pop(),O)if(d){b=b.slice();let e=0;for(const[t,s]of v){const n=t-e;s===i?(b.splice(n,1),e+=1):b[n]=s}}else{b=u(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(s=d?g:y[g],b=f[s],b===i||void 0===b)continue;E.push(s)}let w;if(!Array.isArray(b)){if(!l(b))throw new Dt(`Invalid AST Node: ${JSON.stringify(b)}`);if(p&&x.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;w=await i.call(t,b,s,f,E,x)}if(w===r)break;if(w===o){if(!e){E.pop();continue}}else if(void 0!==w&&(v.push([s,w]),!e)){if(!l(w)){E.pop();continue}b=w}}var j;if(void 0===w&&O&&v.push([s,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(j=m[c(b)])&&void 0!==j?j:[],g=-1,v=[],f!==i&&void 0!==f&&x.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};var gs=u((function(e,t){for(var s={},n={},r=0,i=e.length;r<i;)n[e[r]]=1,r+=1;for(var o in t)n.hasOwnProperty(o)||(s[o]=t[o]);return s}));const vs=gs;const bs=class extends Dt{constructor(e,t){super(e,t),void 0!==t&&Object.assign(this,vs(["cause"],t))}};const Es=class extends bs{};const xs=class extends Es{};const js=class extends Es{},Os=e=>"function"==typeof(null==e?void 0:e.clone)?e.clone():e,ws=e=>{if(e instanceof a.rm){const t=[...e].map(Os);return new a.rm(t)}if(e instanceof a.O4){const t=[...e].map(Os);return new a.O4(t)}if("function"==typeof(null==e?void 0:e.clone))return e.clone();throw new xs("Value provided to cloneDeep function couldn't be cloned",{value:e})};ws.safe=e=>{try{return ws(e)}catch{return e}};const Ss=e=>{const{key:t,value:s}=e;return new a.KeyValuePair(t,s)},Ps=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=ws(e.meta)),e.attributes.length>0&&(t._attributes=ws(e.attributes)),re(e.content)){const s=e.content;t.content=Ps(s)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof a.KeyValuePair?t.content=Ss(e.content):t.content=e.content;return t},As=e=>{if(e instanceof a.KeyValuePair)return Ss(e);if(e instanceof a.rm)return(e=>{const t=[...e];return new a.rm(t)})(e);if(e instanceof a.O4)return(e=>{const t=[...e];return new a.O4(t)})(e);if(re(e))return Ps(e);throw new js("Value provided to cloneShallow function couldn't be cloned",{value:e})};As.safe=e=>{try{return As(e)}catch{return e}};const ks=e=>le(e)?"ObjectElement":ue(e)?"ArrayElement":pe(e)?"MemberElement":ie(e)?"StringElement":ce(e)?"BooleanElement":oe(e)?"NumberElement":ae(e)?"NullElement":me(e)?"LinkElement":he(e)?"RefElement":void 0,Cs=e=>re(e)?As(e):ds(e),_s=Ue(ks,us),Ts={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},Rs=(cs({props:{result:[],predicate:ls,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:s=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=s},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:s=Ts,...n}={})=>ys(e,t,{keyMap:s,nodeTypeGetter:ks,nodePredicate:_s,nodeCloneFn:Cs,...n}));Rs[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=Ts,...n}={})=>ys[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:s,nodeTypeGetter:ks,nodePredicate:_s,nodeCloneFn:Cs,...n});const Ms=(e,t,s={})=>{if(0===t.length)return e;const n=Ht(as,"toolboxCreator",s),r=Ht({},"visitorOptions",s),i=Ht(ks,"nodeTypeGetter",r),o=n(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=ps,nodeTypeGetter:s=hs}={})=>{const n=new Array(e.length).fill(null);return{enter(r,...i){for(let o=0;o<e.length;o+=1)if(null===n[o]){const a=t(e[o],s(r),!1);if("function"==typeof a){const t=a.call(e[o],r,...i);if(!1===t)n[o]=r;else if(t===ms)n[o]=ms;else if(void 0!==t)return t}}},leave(r,...i){for(let o=0;o<e.length;o+=1)if(null===n[o]){const a=t(e[o],s(r),!0);if("function"==typeof a){const t=a.call(e[o],r,...i);if(t===ms)n[o]=ms;else if(void 0!==t&&!1!==t)return t}}else n[o]===r&&(n[o]=null)}}})(a.map(Ht({},"visitor")),{nodeTypeGetter:i});a.forEach(ss(["pre"],[]));const l=Rs(e,c,r);return a.forEach(ss(["post"],[])),l},Is=(e,{Type:t,plugins:s=[]})=>{const n=new t(e);return Ms(n,s,{toolboxCreator:as,visitorOptions:{nodeTypeGetter:ks}})},$s=e=>(t,s={})=>Is(t,{...s,Type:e});a.Sb.refract=$s(a.Sb),a.ON.refract=$s(a.ON),a.RP.refract=$s(a.RP),a.hh.refract=$s(a.hh),a.zr.refract=$s(a.zr),a.VL.refract=$s(a.VL),a.EA.refract=$s(a.EA),a.tK.refract=$s(a.tK),V.refract=$s(V),U.refract=$s(U),W.refract=$s(W),Y.refract=$s(Y);class qs extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="callback"}}const Fs=qs;class Ns extends a.Sb{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 responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const Bs=Ns;class Ds extends a.Sb{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 Ls=Ds;class Vs extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const zs=Vs;class Us extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const Js=Us;class Gs extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="example"}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 value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const Hs=Gs;class Ks extends a.Sb{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 Ws=Ks;class Xs extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Xs.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Ys=Xs;class Qs extends a.Sb{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 contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Zs=Qs;class en extends a.Sb{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 tn=en;class sn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t;return ie(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):ie(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const nn=sn;class rn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const on=rn;class an extends a.Sb{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 cn=an;class ln extends a.Sb{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 un=ln;class pn extends a.RP{constructor(e,t,s){super(e,t,s),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const mn=pn;class hn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",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 paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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)}}const fn=hn;class dn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",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)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const yn=dn;class gn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="parameter"}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 required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(gn.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const vn=gn;class bn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",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 GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const En=bn;class xn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="paths"}}const jn=xn;class On extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const wn=On;class Sn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}}const Pn=Sn;class An extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const kn=An;class Cn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const _n=Cn;class Tn extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Rn=Tn;class Mn extends a.Sb{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 In=Mn;class $n extends a.Sb{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 qn=$n;class Fn extends a.Sb{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 Nn=Fn;const Bn=u((function(e,t){return Ye((function(s,n){return s[n]=e(t[n],n,t),s}),{},I(t))}));const Dn=u((function(e,t){if(0===e.length||Se(t))return!1;for(var s=t,n=0;n<e.length;){if(Se(s)||!S(e[n],s))return!1;s=s[e[n]],n+=1}return!0}));var Ln=u((function(e,t){return Dn([e],t)}));const Vn=Ln;const zn=Ce((function(e,t,s){return e(At(t,s))}));const Un=l((function(e){return x(e.length,e)}));const Jn=u((function(e,t){return x(e+1,(function(){var s=arguments[e];if(null!=s&<(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(rt(s)+' does not have a method named "'+t+'"')}))}));const Gn=Jn(1,"split");var Hn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=d,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 Kn(e){return function(t){return new Hn(e,t)}}const Wn=u(m(["dropWhile"],Kn,(function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return Ve(s,1/0,t)})));const Xn=Jn(1,"join");const Yn=Un((function(e,t){return Ue(Gn(""),Wn(D(e)),Xn(""))(t)})),Qn=(e,t)=>{const s=Gt(e,t);return Bn((e=>{if(qt(e)&&Vn("$ref",e)&&zn(us,"$ref",e)){const t=at(["$ref"],e),n=Yn("#/",t);return at(n.split("/"),s)}return qt(e)?Qn(e,s):e}),e)},Zn=cs({props:{element:null},methods:{copyMetaAndAttributes(e,t){be(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),er=cs(Zn,{methods:{enter(e){return this.element=ws(e),ms}}});const tr=J(G());const sr=function(){return!0},nr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:ks(e),rr={EphemeralObject:["content"],EphemeralArray:["content"],...Ts},ir=(e,t,{keyMap:s=rr,...n}={})=>Rs(e,t,{keyMap:s,nodeTypeGetter:nr,nodePredicate:sr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});ir[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=rr,...s}={})=>Rs[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:nr,nodePredicate:sr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});const or=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const ar=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},cr=cs.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const s=new ar(t.content);return e.set(t,s),s}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const s=new or(t.content);return e.set(t,s),s}},this.EphemeralArray={leave:e=>e.toArray()}})),lr=e=>re(e)?ie(e)||oe(e)||ce(e)||ae(e)?e.toValue():ir(e,cr()):e;const ur=u((function(e,t){for(var s={},n=0;n<e.length;)e[n]in t&&(s[e[n]]=t[e[n]]),n+=1;return s})),pr=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},mr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Ts},hr=cs(Zn,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return ur(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=at(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return ct(Rt,["visitors",...e],this.specObj)?at(["visitors",...e],this.specObj):at(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return this.retrieveVisitor(e)({...s,...t})},toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s),r=Object.getPrototypeOf(n);return H(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?ws(t):(Rs(t,n,{keyMap:mr,nodeTypeGetter:pr,...s}),n.element)}}}),fr=cs(hr,{props:{specPath:tr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,r)=>{if(ie(n)&&s.includes(lr(n))&&!this.ignoredFields.includes(lr(n))){const s=this.toRefractedElement([...t,"fixedFields",lr(n)],e),i=new a.c6(ws(n),s);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(n))||this.element.content.push(ws(r))})),this.copyMetaAndAttributes(e,this.element),ms}}}),dr=cs(fr,er,{props:{specPath:J(["document","objects","JSONSchema"])},init(){this.element=new Rn}}),yr=er,gr=er,vr=er,br=er,Er=er,xr=er,jr=er,Or=er,wr=er,Sr=er,Pr=cs({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Ar=e=>le(e)&&e.hasKey("$ref"),kr=cs(hr,Pr,er,{methods:{ObjectElement(e){const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ms},ArrayElement(e){return this.element=new a.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),ms}}}),Cr=er,_r=er,Tr=er,Rr=er,Mr=er,Ir=cs(er,{methods:{ArrayElement(e){return this.element=ws(e),this.element.classes.push("json-schema-required"),ms}}});const $r=l((function(e){return x(De(Pt,0,kt("length",e)),(function(){for(var t=0,s=e.length;t<s;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const qr=u((function(e,t){return e||t}));const Fr=xt(x(1,bt(jt,u((function(e,t){return lt(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:vt(qr)(e,t)}))(wt,Rt))));const Nr=xt(Zt);const Br=$r([us,Fr,Nr]),Dr=cs(hr,{props:{fieldPatternPredicate:ls,specPath:tr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,s)=>{if(!this.ignoredFields.includes(lr(t))&&this.fieldPatternPredicate(lr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new a.c6(ws(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(t))||this.element.content.push(ws(s))})),this.copyMetaAndAttributes(e,this.element),ms}}}),Lr=cs(Dr,{props:{fieldPatternPredicate:Br}}),Vr=cs(Lr,Pr,er,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-properties")}}),zr=cs(Lr,Pr,er,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-patternProperties")}}),Ur=cs(Lr,Pr,er,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-dependencies")}}),Jr=cs(er,{methods:{ArrayElement(e){return this.element=ws(e),this.element.classes.push("json-schema-enum"),ms}}}),Gr=cs(er,{methods:{StringElement(e){return this.element=ws(e),this.element.classes.push("json-schema-type"),ms},ArrayElement(e){return this.element=ws(e),this.element.classes.push("json-schema-type"),ms}}}),Hr=cs(hr,Pr,er,{init(){this.element=new a.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),ms}}}),Kr=cs(hr,Pr,er,{init(){this.element=new a.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),ms}}}),Wr=cs(hr,Pr,er,{init(){this.element=new a.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),ms}}}),Xr=cs(Lr,Pr,er,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-definitions")}}),Yr=er,Qr=er,Zr=er,ei=er,ti=er,si=cs(hr,Pr,er,{init(){this.element=new a.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),ms}}}),ni=er,ri=cs(fr,er,{props:{specPath:J(["document","objects","JSONReference"])},init(){this.element=new In},methods:{ObjectElement(e){const t=fr.compose.methods.ObjectElement.call(this,e);return ie(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ii=cs(er,{methods:{StringElement(e){return this.element=ws(e),this.element.classes.push("reference-value"),ms}}});const oi=Ce((function(e,t,s){return x(Math.max(e.length,t.length,s.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)}))}));const ai=l((function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}}));var ci=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const li=ci;const ui=Oe(0);const pi=l(h);const mi=xt(Se);const hi=bt(es,Nr);function fi(e){return function(e){if(Array.isArray(e))return di(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return di(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return di(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function di(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=new Array(t);s<t;s++)n[s]=e[s];return n}var yi=Ue(li(ai((function(e,t){return e.length>t.length}))),ui,At("length")),gi=Un((function(e,t,s){var n=s.apply(void 0,fi(e));return mi(n)?pi(n):t}));const vi=oi(hi,(function(e){var t=yi(e);return x(t,(function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return De(gi(s),void 0,e)}))}),G),bi=cs(hr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>oi(e,J(t),G))),s=vi(t)(e);return this.element=this.toRefractedElement(s,e),ms}}}),Ei=cs(bi,{props:{alternator:[{predicate:Ar,specPath:["document","objects","JSONReference"]},{predicate:sr,specPath:["document","objects","JSONSchema"]}]}}),xi={visitors:{value:er,JSONSchemaOrJSONReferenceVisitor:Ei,document:{objects:{JSONSchema:{$visitor:dr,fixedFields:{id:yr,$schema:gr,multipleOf:vr,maximum:br,exclusiveMaximum:Er,minimum:xr,exclusiveMinimum:jr,maxLength:Or,minLength:wr,pattern:Sr,additionalItems:Ei,items:kr,maxItems:Cr,minItems:_r,uniqueItems:Tr,maxProperties:Rr,minProperties:Mr,required:Ir,properties:Vr,additionalProperties:Ei,patternProperties:zr,dependencies:Ur,enum:Jr,type:Gr,allOf:Hr,anyOf:Kr,oneOf:Wr,not:Ei,definitions:Xr,title:Yr,description:Qr,default:Zr,format:ei,base:ti,links:si,media:{$ref:"#/visitors/document/objects/Media"},readOnly:ni}},JSONReference:{$visitor:ri,fixedFields:{$ref:ii}},Media:{$visitor:cs(fr,er,{props:{specPath:J(["document","objects","Media"])},init(){this.element=new qn}}),fixedFields:{binaryEncoding:er,type:er}},LinkDescription:{$visitor:cs(fr,er,{props:{specPath:J(["document","objects","LinkDescription"])},init(){this.element=new Nn}}),fixedFields:{href:er,rel:er,title:er,targetSchema:Ei,mediaType:er,method:er,encType:er,schema:Ei}}}}}},ji=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Rn||e(n)&&t("JSONSchemaDraft4",n)&&s("object",n))),Oi=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof In||e(n)&&t("JSONReference",n)&&s("object",n))),wi=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof qn||e(n)&&t("media",n)&&s("object",n))),Si=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Nn||e(n)&&t("linkDescription",n)&&s("object",n))),Pi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Rn),t.register("jSONReference",In),t.register("media",qn),t.register("linkDescription",Nn),t}},Ai=()=>{const e=is(Pi);return{predicates:{...t,isStringElement:ie},namespace:e}},ki=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=xi}={})=>{const r=(0,a.Qc)(e),i=Qn(n),o=ss(t,[],i);return Rs(r,o,{state:{specObj:i}}),Ms(o.element,s,{toolboxCreator:Ai,visitorOptions:{keyMap:mr,nodeTypeGetter:pr}})},Ci=e=>(t,s={})=>ki(t,{specPath:e,...s});Rn.refract=Ci(["visitors","document","objects","JSONSchema","$visitor"]),In.refract=Ci(["visitors","document","objects","JSONReference","$visitor"]),qn.refract=Ci(["visitors","document","objects","Media","$visitor"]),Nn.refract=Ci(["visitors","document","objects","LinkDescription","$visitor"]);const _i=class extends Rn{constructor(e,t,s){super(e,t,s),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new Lt("idProp getter in Schema class is not not supported.")}set idProp(e){throw new Lt("idProp setter in Schema class is not not supported.")}get $schema(){throw new Lt("$schema getter in Schema class is not not supported.")}set $schema(e){throw new Lt("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new Lt("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new Lt("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new Lt("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new Lt("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new Lt("definitions getter in Schema class is not not supported.")}set definitions(e){throw new Lt("definitions setter in Schema class is not not supported.")}get base(){throw new Lt("base getter in Schema class is not not supported.")}set base(e){throw new Lt("base setter in Schema class is not not supported.")}get links(){throw new Lt("links getter in Schema class is not not supported.")}set links(e){throw new Lt("links setter in Schema class is not not supported.")}get media(){throw new Lt("media getter in Schema class is not not supported.")}set media(e){throw new Lt("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class Ti extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}}const Ri=Ti;class Mi extends a.Sb{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 Ii=Mi;class $i extends a.Sb{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 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)}}const qi=$i;class Fi extends a.Sb{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)}}const Ni=Fi;class Bi extends a.Sb{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 Di=Bi;class Li extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const Vi=Li,zi=cs({props:{element:null},methods:{copyMetaAndAttributes(e,t){be(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Ui=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Ji={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...Ts},Gi=cs(zi,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:s=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=s},methods:{retrievePassingOptions(){return ur(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=at(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return ct(Rt,["visitors",...e],this.specObj)?at(["visitors",...e],this.specObj):at(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return this.retrieveVisitor(e)({...s,...t})},toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s),r=Object.getPrototypeOf(n);return H(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?ws(t):(Rs(t,n,{keyMap:Ji,nodeTypeGetter:Ui,...s}),n.element)}}});var Hi=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=d,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?h(s):s},e}();function Ki(e){return function(t){return new Hi(e,t)}}const Wi=u(m(["take"],Ki,(function(e,t){return Ve(0,e<0?1/0:e,t)})));const Xi=u((function(e,t){return N(Wi(e.length,t),e)})),Yi=e=>le(e)&&e.hasKey("openapi")&&e.hasKey("info"),Qi=e=>le(e)&&e.hasKey("name")&&e.hasKey("in"),Zi=e=>le(e)&&e.hasKey("$ref"),eo=e=>le(e)&&e.hasKey("content"),to=e=>le(e)&&e.hasKey("description"),so=le,no=le,ro=e=>ie(e.key)&&Xi("x-",lr(e.key)),io=cs(Gi,{props:{specPath:tr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:ro},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:s=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=s,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,r)=>{if(ie(n)&&s.includes(lr(n))&&!this.ignoredFields.includes(lr(n))){const s=this.toRefractedElement([...t,"fixedFields",lr(n)],e),i=new a.c6(ws(n),s);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(lr(n))||this.element.content.push(ws(r))})),this.copyMetaAndAttributes(e,this.element),ms}}}),oo=cs(zi,{methods:{enter(e){return this.element=ws(e),ms}}}),ao=cs(io,oo,{props:{specPath:J(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new fn},methods:{ObjectElement(e){return this.unrefractedElement=e,io.compose.methods.ObjectElement.call(this,e)}}}),co=cs(Gi,oo,{methods:{StringElement(e){const t=new mn(lr(e));return this.copyMetaAndAttributes(e,t),this.element=t,ms}}}),lo=cs(Gi,{methods:{MemberElement(e){return this.element=ws(e),this.element.classes.push("specification-extension"),ms}}}),uo=cs(io,oo,{props:{specPath:J(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Zs}}),po=oo,mo=oo,ho=oo,fo=cs(oo,{methods:{StringElement(e){return this.element=ws(e),this.element.classes.push("api-version"),this.element.classes.push("version"),ms}}}),yo=cs(io,oo,{props:{specPath:J(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ls}}),go=oo,vo=oo,bo=oo,Eo=cs(io,oo,{props:{specPath:J(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new tn}}),xo=oo,jo=oo,Oo=cs(io,oo,{props:{specPath:J(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new nn},methods:{ObjectElement(e){const t=io.compose.methods.ObjectElement.call(this,e);return(ie(this.element.operationId)||ie(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),wo=cs(oo,{methods:{StringElement(e){return this.element=ws(e),this.element.classes.push("reference-value"),ms}}}),So=cs(oo,{methods:{StringElement(e){return this.element=ws(e),this.element.classes.push("reference-value"),ms}}}),Po=cs(Gi,{props:{fieldPatternPredicate:ls,specPath:tr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:ro},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:s=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=s,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){return e.forEach(((e,t,s)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(lr(t))&&this.fieldPatternPredicate(lr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new a.c6(ws(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(t))||this.element.content.push(ws(s))})),this.copyMetaAndAttributes(e,this.element),ms}}}),Ao=cs(Po,{props:{fieldPatternPredicate:Br}});class ko extends a.Sb{static primaryClass="link-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(ko.primaryClass)}}const Co=ko,_o=cs(Ao,oo,{props:{specPath:J(["value"])},init(){this.element=new Co}}),To=oo,Ro=oo,Mo=cs(io,oo,{props:{specPath:J(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new qi}}),Io=cs(oo,{methods:{StringElement(e){return this.element=ws(e),this.element.classes.push("server-url"),ms}}}),$o=oo;class qo extends a.ON{static primaryClass="servers";constructor(e,t,s){super(e,t,s),this.classes.push(qo.primaryClass)}}const Fo=qo,No=cs(Gi,oo,{init(){this.element=new Fo},methods:{ArrayElement(e){return e.forEach((e=>{const t=so(e)?["document","objects","Server"]:["value"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),ms}}}),Bo=cs(io,oo,{props:{specPath:J(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ni}}),Do=oo,Lo=oo,Vo=oo;class zo extends a.Sb{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(zo.primaryClass)}}const Uo=zo,Jo=cs(Ao,oo,{props:{specPath:J(["document","objects","ServerVariable"])},init(){this.element=new Uo}}),Go=cs(io,oo,{props:{specPath:J(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new on}}),Ho=cs(Gi,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>oi(e,J(t),G))),s=vi(t)(e);return this.element=this.toRefractedElement(s,e),ms}}}),Ko=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Fs||e(n)&&t("callback",n)&&s("object",n))),Wo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Bs||e(n)&&t("components",n)&&s("object",n))),Xo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ls||e(n)&&t("contact",n)&&s("object",n))),Yo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Hs||e(n)&&t("example",n)&&s("object",n))),Qo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ws||e(n)&&t("externalDocumentation",n)&&s("object",n))),Zo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ys||e(n)&&t("header",n)&&s("object",n))),ea=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Zs||e(n)&&t("info",n)&&s("object",n))),ta=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof tn||e(n)&&t("license",n)&&s("object",n))),sa=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof nn||e(n)&&t("link",n)&&s("object",n))),na=e=>{if(!sa(e))return!1;if(!ie(e.operationRef))return!1;const t=lr(e.operationRef);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},ra=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof mn||e(n)&&t("openapi",n)&&s("string",n))),ia=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof fn||e(r)&&t("openApi3_0",r)&&s("object",r)&&n("api",r))),oa=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof yn||e(n)&&t("operation",n)&&s("object",n))),aa=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof vn||e(n)&&t("parameter",n)&&s("object",n))),ca=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof En||e(n)&&t("pathItem",n)&&s("object",n))),la=e=>{if(!ca(e))return!1;if(!ie(e.$ref))return!1;const t=lr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},ua=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof jn||e(n)&&t("paths",n)&&s("object",n))),pa=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof wn||e(n)&&t("reference",n)&&s("object",n))),ma=e=>{if(!pa(e))return!1;if(!ie(e.$ref))return!1;const t=lr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},ha=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Pn||e(n)&&t("requestBody",n)&&s("object",n))),fa=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof kn||e(n)&&t("response",n)&&s("object",n))),da=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof _n||e(n)&&t("responses",n)&&s("object",n))),ya=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof _i||e(n)&&t("schema",n)&&s("object",n))),ga=e=>ce(e)&&e.classes.includes("boolean-json-schema"),va=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ri||e(n)&&t("securityRequirement",n)&&s("object",n))),ba=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof qi||e(n)&&t("server",n)&&s("object",n))),Ea=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ni||e(n)&&t("serverVariable",n)&&s("object",n))),xa=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof on||e(n)&&t("mediaType",n)&&s("object",n))),ja=cs(Ho,oo,{props:{alternator:[{predicate:Zi,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ho.compose.methods.enter.call(this,e);return pa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Oa=oo,wa=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new a.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class Sa extends a.Sb{static primaryClass="media-type-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Sa.primaryClass),this.classes.push("examples")}}const Pa=Sa,Aa=cs(wa,{init(){this.element=new Pa}});class ka extends a.Sb{static primaryClass="media-type-encoding";constructor(e,t,s){super(e,t,s),this.classes.push(ka.primaryClass)}}const Ca=ka,_a=cs(Ao,oo,{props:{specPath:J(["document","objects","Encoding"])},init(){this.element=new Ca}}),Ta=cs(Ao,oo,{props:{specPath:J(["value"])},init(){this.element=new Ri}});class Ra extends a.ON{static primaryClass="security";constructor(e,t,s){super(e,t,s),this.classes.push(Ra.primaryClass)}}const Ma=Ra,Ia=cs(Gi,oo,{init(){this.element=new Ma},methods:{ArrayElement(e){return e.forEach((e=>{if(le(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(ws(e))})),this.copyMetaAndAttributes(e,this.element),ms}}}),$a=cs(io,oo,{props:{specPath:J(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new Bs}}),qa=cs(io,oo,{props:{specPath:J(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new Di}}),Fa=oo,Na=oo,Ba=cs(io,oo,{props:{specPath:J(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new wn},methods:{ObjectElement(e){const t=io.compose.methods.ObjectElement.call(this,e);return ie(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Da=cs(oo,{methods:{StringElement(e){return this.element=ws(e),this.element.classes.push("reference-value"),ms}}}),La=cs(io,oo,{props:{specPath:J(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new vn},methods:{ObjectElement(e){const t=io.compose.methods.ObjectElement.call(this,e);return le(this.element.contentProp)&&this.element.contentProp.filter(xa).forEach(((e,t)=>{e.setMetaProperty("media-type",lr(t))})),t}}}),Va=oo,za=oo,Ua=oo,Ja=oo,Ga=oo,Ha=oo,Ka=oo,Wa=oo,Xa=oo,Ya=cs(Ho,oo,{props:{alternator:[{predicate:Zi,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ho.compose.methods.enter.call(this,e);return pa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Qa=cs(io,oo,{props:{specPath:J(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ys}}),Za=oo,ec=oo,tc=oo,sc=oo,nc=oo,rc=oo,ic=oo,oc=cs(Ho,oo,{props:{alternator:[{predicate:Zi,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ho.compose.methods.enter.call(this,e);return pa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ac=oo;class cc extends a.Sb{static primaryClass="header-examples";constructor(e,t,s){super(e,t,s),this.classes.push(cc.primaryClass),this.classes.push("examples")}}const lc=cc,uc=cs(wa,{init(){this.element=new lc}}),pc=cs(Ao,oo,{props:{specPath:J(["document","objects","MediaType"])},init(){this.element=new a.Sb,this.element.classes.push("content")}});class mc extends a.Sb{static primaryClass="header-content";constructor(e,t,s){super(e,t,s),this.classes.push(mc.primaryClass),this.classes.push("content")}}const hc=mc,fc=cs(pc,{init(){this.element=new hc}}),dc=cs(io,oo,{props:{specPath:J(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new _i}}),{allOf:yc}=xi.visitors.document.objects.JSONSchema.fixedFields,gc=cs(yc,{methods:{ArrayElement(e){const t=yc.compose.methods.ArrayElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:vc}=xi.visitors.document.objects.JSONSchema.fixedFields,bc=cs(vc,{methods:{ArrayElement(e){const t=vc.compose.methods.ArrayElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:Ec}=xi.visitors.document.objects.JSONSchema.fixedFields,xc=cs(Ec,{methods:{ArrayElement(e){const t=Ec.compose.methods.ArrayElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:jc}=xi.visitors.document.objects.JSONSchema.fixedFields,Oc=cs(jc,{methods:{ObjectElement(e){const t=jc.compose.methods.ObjectElement.call(this,e);return pa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=ws(e),ms}}}),{properties:wc}=xi.visitors.document.objects.JSONSchema.fixedFields,Sc=cs(wc,{methods:{ObjectElement(e){const t=wc.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:Pc}=xi.visitors.document.objects.JSONSchema.fixedFields,Ac=cs(Pc,{methods:{ArrayElement(e){return this.element=ws(e),ms}}}),kc=oo,Cc=oo,_c=oo,Tc=oo,{JSONSchemaOrJSONReferenceVisitor:Rc}=xi.visitors,Mc=cs(Rc,{methods:{ObjectElement(e){const t=Rc.compose.methods.enter.call(this,e);return pa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ic=cs(io,oo,{props:{specPath:J(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new zs}}),$c=oo;class qc extends a.Sb{static primaryClass="discriminator-mapping";constructor(e,t,s){super(e,t,s),this.classes.push(qc.primaryClass)}}const Fc=qc,Nc=cs(Ao,oo,{props:{specPath:J(["value"])},init(){this.element=new Fc}}),Bc=cs(io,oo,{props:{specPath:J(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new Vi}}),Dc=oo,Lc=oo,Vc=oo,zc=oo,Uc=oo,Jc=oo;class Gc extends a.Sb{static primaryClass="parameter-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Gc.primaryClass),this.classes.push("examples")}}const Hc=Gc,Kc=cs(wa,{init(){this.element=new Hc}});class Wc extends a.Sb{static primaryClass="parameter-content";constructor(e,t,s){super(e,t,s),this.classes.push(Wc.primaryClass),this.classes.push("content")}}const Xc=Wc,Yc=cs(pc,{init(){this.element=new Xc}});class Qc extends a.Sb{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(Qc.primaryClass)}}const Zc=Qc,el=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Zc},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class tl extends a.Sb{static primaryClass="components-responses";constructor(e,t,s){super(e,t,s),this.classes.push(tl.primaryClass)}}const sl=tl,nl=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new sl},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(fa).forEach(((e,t)=>{e.setMetaProperty("http-status-code",lr(t))})),t}}});class rl extends a.Sb{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(rl.primaryClass),this.classes.push("parameters")}}const il=rl,ol=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new il},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class al extends a.Sb{static primaryClass="components-examples";constructor(e,t,s){super(e,t,s),this.classes.push(al.primaryClass),this.classes.push("examples")}}const cl=al,ll=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new cl},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class ul extends a.Sb{static primaryClass="components-request-bodies";constructor(e,t,s){super(e,t,s),this.classes.push(ul.primaryClass)}}const pl=ul,ml=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new pl},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class hl extends a.Sb{static primaryClass="components-headers";constructor(e,t,s){super(e,t,s),this.classes.push(hl.primaryClass)}}const fl=hl,dl=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new fl},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(Zo).forEach(((e,t)=>{e.setMetaProperty("header-name",lr(t))})),t}}});class yl extends a.Sb{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(yl.primaryClass)}}const gl=yl,vl=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new gl},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class bl extends a.Sb{static primaryClass="components-links";constructor(e,t,s){super(e,t,s),this.classes.push(bl.primaryClass)}}const El=bl,xl=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new El},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class jl extends a.Sb{static primaryClass="components-callbacks";constructor(e,t,s){super(e,t,s),this.classes.push(jl.primaryClass)}}const Ol=jl,wl=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Ol},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Sl=cs(io,oo,{props:{specPath:J(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new Hs},methods:{ObjectElement(e){const t=io.compose.methods.ObjectElement.call(this,e);return ie(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),Pl=oo,Al=oo,kl=oo,Cl=cs(oo,{methods:{StringElement(e){return this.element=ws(e),this.element.classes.push("reference-value"),ms}}}),_l=cs(io,oo,{props:{specPath:J(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ws}}),Tl=oo,Rl=oo,Ml=cs(io,oo,{props:{specPath:J(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new Js},methods:{ObjectElement(e){const t=io.compose.methods.ObjectElement.call(this,e);return le(this.element.headers)&&this.element.headers.filter(Zo).forEach(((e,t)=>{e.setMetaProperty("header-name",lr(t))})),t}}}),Il=oo;class $l extends a.Sb{static primaryClass="encoding-headers";constructor(e,t,s){super(e,t,s),this.classes.push($l.primaryClass)}}const ql=$l,Fl=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new ql},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Zo(e))return;const s=lr(t);e.setMetaProperty("headerName",s)})),t}}}),Nl=oo,Bl=oo,Dl=oo;function Ll(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":""))}const Vl=u((function(e,t){if(s=e,"[object RegExp]"!==Object.prototype.toString.call(s))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+rt(e));var s;return Ll(e).test(t)})),zl=cs(Po,oo,{props:{fieldPatternPredicate:Vl(/^\/(?<path>.*)$/),specPath:J(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new jn},methods:{ObjectElement(e){const t=Po.compose.methods.ObjectElement.call(this,e);return this.element.filter(ca).forEach(((e,t)=>{e.setMetaProperty("path",ws(t))})),t}}}),Ul=cs(io,oo,{props:{specPath:J(["document","objects","RequestBody"])},init(){this.element=new Pn},methods:{ObjectElement(e){const t=io.compose.methods.ObjectElement.call(this,e);return le(this.element.contentProp)&&this.element.contentProp.filter(xa).forEach(((e,t)=>{e.setMetaProperty("media-type",lr(t))})),t}}}),Jl=oo;class Gl extends a.Sb{static primaryClass="request-body-content";constructor(e,t,s){super(e,t,s),this.classes.push(Gl.primaryClass),this.classes.push("content")}}const Hl=Gl,Kl=cs(pc,{init(){this.element=new Hl}}),Wl=oo,Xl=cs(Po,oo,{props:{fieldPatternPredicate:Vl(/{(?<expression>.*)}/),specPath:J(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Fs},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(ca).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",lr(t))})),t}}}),Yl=cs(io,oo,{props:{specPath:J(["document","objects","Response"])},init(){this.element=new kn},methods:{ObjectElement(e){const t=io.compose.methods.ObjectElement.call(this,e);return le(this.element.contentProp)&&this.element.contentProp.filter(xa).forEach(((e,t)=>{e.setMetaProperty("media-type",lr(t))})),le(this.element.headers)&&this.element.headers.filter(Zo).forEach(((e,t)=>{e.setMetaProperty("header-name",lr(t))})),t}}}),Ql=oo;class Zl extends a.Sb{static primaryClass="response-headers";constructor(e,t,s){super(e,t,s),this.classes.push(Zl.primaryClass)}}const eu=Zl,tu=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new eu},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Zo(e))return;const s=lr(t);e.setMetaProperty("header-name",s)})),t}}});class su extends a.Sb{static primaryClass="response-content";constructor(e,t,s){super(e,t,s),this.classes.push(su.primaryClass),this.classes.push("content")}}const nu=su,ru=cs(pc,{init(){this.element=new nu}});class iu extends a.Sb{static primaryClass="response-links";constructor(e,t,s){super(e,t,s),this.classes.push(iu.primaryClass)}}const ou=iu,au=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new ou},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});function cu(e){return"[object Number]"===Object.prototype.toString.call(e)}const lu=u((function(e,t){if(!cu(e)||!cu(t))throw new TypeError("Both arguments to range must be numbers");for(var s=[],n=e;n<t;)s.push(n),n+=1;return s}));function uu(e,t,s){var n,r=typeof e;switch(r){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):r in s._items?e in s._items[r]||(t&&(s._items[r][e]=!0),!1):(t&&(s._items[r]={},s._items[r][e]=!0),!1);case"boolean":if(r in s._items){var i=e?1:0;return!!s._items[r][i]||(t&&(s._items[r][i]=!0),!1)}return t&&(s._items[r]=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):r in s._items?!!B(e,s._items[r])||(t&&s._items[r].push(e),!1):(t&&(s._items[r]=[e]),!1);case"undefined":return!!s._items[r]||(t&&(s._items[r]=!0),!1);case"object":if(null===e)return!!s._items.null||(t&&(s._items.null=!0),!1);default:return(r=Object.prototype.toString.call(e))in s._items?!!B(e,s._items[r])||(t&&s._items[r].push(e),!1):(t&&(s._items[r]=[e]),!1)}}const pu=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!uu(e,!0,this)},e.prototype.has=function(e){return uu(e,!1,this)},e}();const mu=u((function(e,t){for(var s=[],n=0,r=e.length,i=t.length,o=new pu,a=0;a<i;a+=1)o.add(t[a]);for(;n<r;)o.add(e[n])&&(s[s.length]=e[n]),n+=1;return s})),hu=cs(io,Po,{props:{specPathFixedFields:tr,specPathPatternedFields:tr},methods:{ObjectElement(e){const{specPath:t,ignoredFields:s}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...s,...mu(e.keys(),t)],io.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,Po.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return ms}}}),fu=cs(hu,oo,{props:{specPathFixedFields:J(["document","objects","Responses"]),specPathPatternedFields:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:Vl(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${lu(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new _n},methods:{ObjectElement(e){const t=hu.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(fa).forEach(((e,t)=>{const s=ws(t);this.fieldPatternPredicate(lr(s))&&e.setMetaProperty("http-status-code",s)})),t}}}),du=cs(Ho,oo,{props:{alternator:[{predicate:Zi,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Ho.compose.methods.enter.call(this,e);return pa(this.element)?this.element.setMetaProperty("referenced-element","response"):fa(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),yu=cs(io,oo,{props:{specPath:J(["document","objects","Operation"])},init(){this.element=new yn}});class gu extends a.ON{static primaryClass="operation-tags";constructor(e,t,s){super(e,t,s),this.classes.push(gu.primaryClass)}}const vu=gu,bu=cs(oo,{init(){this.element=new vu},methods:{ArrayElement(e){return this.element=this.element.concat(ws(e)),ms}}}),Eu=oo,xu=oo,ju=oo;class Ou extends a.ON{static primaryClass="operation-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(Ou.primaryClass),this.classes.push("parameters")}}const wu=Ou,Su=cs(Gi,oo,{init(){this.element=new a.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Zi(e)?["document","objects","Reference"]:["document","objects","Parameter"],s=this.toRefractedElement(t,e);pa(s)&&s.setMetaProperty("referenced-element","parameter"),this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),ms}}}),Pu=cs(Su,{init(){this.element=new wu}}),Au=cs(Ho,{props:{alternator:[{predicate:Zi,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=Ho.compose.methods.enter.call(this,e);return pa(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class ku extends a.Sb{static primaryClass="operation-callbacks";constructor(e,t,s){super(e,t,s),this.classes.push(ku.primaryClass)}}const Cu=ku,_u=cs(Ao,oo,{props:{specPath:e=>Zi(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Cu},methods:{ObjectElement(e){const t=Ao.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Tu=oo;class Ru extends a.ON{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ru.primaryClass),this.classes.push("security")}}const Mu=Ru,Iu=cs(Gi,oo,{init(){this.element=new Mu},methods:{ArrayElement(e){return e.forEach((e=>{const t=le(e)?["document","objects","SecurityRequirement"]:["value"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),ms}}});class $u extends a.ON{static primaryClass="operation-servers";constructor(e,t,s){super(e,t,s),this.classes.push($u.primaryClass),this.classes.push("servers")}}const qu=$u,Fu=cs(No,{init(){this.element=new qu}}),Nu=cs(io,oo,{props:{specPath:J(["document","objects","PathItem"])},init(){this.element=new En},methods:{ObjectElement(e){const t=io.compose.methods.ObjectElement.call(this,e);return this.element.filter(oa).forEach(((e,t)=>{const s=ws(t);s.content=lr(s).toUpperCase(),e.setMetaProperty("http-method",s)})),ie(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Bu=cs(oo,{methods:{StringElement(e){return this.element=ws(e),this.element.classes.push("reference-value"),ms}}}),Du=oo,Lu=oo;class Vu extends a.ON{static primaryClass="path-item-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Vu.primaryClass),this.classes.push("servers")}}const zu=Vu,Uu=cs(No,{init(){this.element=new zu}});class Ju extends a.ON{static primaryClass="path-item-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(Ju.primaryClass),this.classes.push("parameters")}}const Gu=Ju,Hu=cs(Su,{init(){this.element=new Gu}}),Ku=cs(io,oo,{props:{specPath:J(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ii}}),Wu=oo,Xu=oo,Yu=oo,Qu=oo,Zu=oo,ep=oo,tp=oo,sp=cs(io,oo,{props:{specPath:J(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new un}}),np=cs(io,oo,{props:{specPath:J(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new cn}}),rp=oo,ip=oo,op=oo;class ap extends a.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(ap.primaryClass)}}const cp=ap,lp=cs(Ao,oo,{props:{specPath:J(["value"])},init(){this.element=new cp}});class up extends a.ON{static primaryClass="tags";constructor(e,t,s){super(e,t,s),this.classes.push(up.primaryClass)}}const pp=up,mp=cs(Gi,oo,{init(){this.element=new pp},methods:{ArrayElement(e){return e.forEach((e=>{const t=no(e)?["document","objects","Tag"]:["value"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),ms}}}),{fixedFields:hp}=xi.visitors.document.objects.JSONSchema,fp={visitors:{value:oo,document:{objects:{OpenApi:{$visitor:ao,fixedFields:{openapi:co,info:{$ref:"#/visitors/document/objects/Info"},servers:No,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Ia,tags:mp,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:uo,fixedFields:{title:po,description:mo,termsOfService:ho,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:fo}},Contact:{$visitor:yo,fixedFields:{name:go,url:vo,email:bo}},License:{$visitor:Eo,fixedFields:{name:xo,url:jo}},Server:{$visitor:Mo,fixedFields:{url:Io,description:$o,variables:Jo}},ServerVariable:{$visitor:Bo,fixedFields:{enum:Do,default:Lo,description:Vo}},Components:{$visitor:$a,fixedFields:{schemas:el,responses:nl,parameters:ol,examples:ll,requestBodies:ml,headers:dl,securitySchemes:vl,links:xl,callbacks:wl}},Paths:{$visitor:zl},PathItem:{$visitor:Nu,fixedFields:{$ref:Bu,summary:Du,description:Lu,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:Uu,parameters:Hu}},Operation:{$visitor:yu,fixedFields:{tags:bu,summary:Eu,description:xu,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:ju,parameters:Pu,requestBody:Au,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:_u,deprecated:Tu,security:Iu,servers:Fu}},ExternalDocumentation:{$visitor:_l,fixedFields:{description:Tl,url:Rl}},Parameter:{$visitor:La,fixedFields:{name:Va,in:za,description:Ua,required:Ja,deprecated:Ga,allowEmptyValue:Ha,style:Ka,explode:Wa,allowReserved:Xa,schema:Ya,example:Jc,examples:Kc,content:Yc}},RequestBody:{$visitor:Ul,fixedFields:{description:Jl,content:Kl,required:Wl}},MediaType:{$visitor:Go,fixedFields:{schema:ja,example:Oa,examples:Aa,encoding:_a}},Encoding:{$visitor:Ml,fixedFields:{contentType:Il,headers:Fl,style:Nl,explode:Bl,allowReserved:Dl}},Responses:{$visitor:fu,fixedFields:{default:du}},Response:{$visitor:Yl,fixedFields:{description:Ql,headers:tu,content:ru,links:au}},Callback:{$visitor:Xl},Example:{$visitor:Sl,fixedFields:{summary:Pl,description:Al,value:kl,externalValue:Cl}},Link:{$visitor:Oo,fixedFields:{operationRef:wo,operationId:So,parameters:_o,requestBody:To,description:Ro,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Qa,fixedFields:{description:Za,required:ec,deprecated:tc,allowEmptyValue:sc,style:nc,explode:rc,allowReserved:ic,schema:oc,example:ac,examples:uc,content:fc}},Tag:{$visitor:qa,fixedFields:{name:Fa,description:Na,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Ba,fixedFields:{$ref:Da}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:dc,fixedFields:{title:hp.title,multipleOf:hp.multipleOf,maximum:hp.maximum,exclusiveMaximum:hp.exclusiveMaximum,minimum:hp.minimum,exclusiveMinimum:hp.exclusiveMinimum,maxLength:hp.maxLength,minLength:hp.minLength,pattern:hp.pattern,maxItems:hp.maxItems,minItems:hp.minItems,uniqueItems:hp.uniqueItems,maxProperties:hp.maxProperties,minProperties:hp.minProperties,required:hp.required,enum:hp.enum,type:Ac,allOf:gc,anyOf:bc,oneOf:xc,not:Mc,items:Oc,properties:Sc,additionalProperties:Mc,description:hp.description,format:hp.format,default:hp.default,nullable:kc,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:Cc,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:_c,deprecated:Tc}},Discriminator:{$visitor:Ic,fixedFields:{propertyName:$c,mapping:Nc}},XML:{$visitor:Bc,fixedFields:{name:Dc,namespace:Lc,prefix:Vc,attribute:zc,wrapped:Uc}},SecurityScheme:{$visitor:Ku,fixedFields:{type:Wu,description:Xu,name:Yu,in:Qu,scheme:Zu,bearerFormat:ep,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:tp}},OAuthFlows:{$visitor:sp,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:np,fixedFields:{authorizationUrl:rp,tokenUrl:ip,refreshUrl:op,scopes:lp}},SecurityRequirement:{$visitor:Ta}},extension:{$visitor:lo}}}},dp={namespace:e=>{const{base:t}=e;return t.register("callback",Fs),t.register("components",Bs),t.register("contact",Ls),t.register("discriminator",zs),t.register("encoding",Js),t.register("example",Hs),t.register("externalDocumentation",Ws),t.register("header",Ys),t.register("info",Zs),t.register("license",tn),t.register("link",nn),t.register("mediaType",on),t.register("oAuthFlow",cn),t.register("oAuthFlows",un),t.register("openapi",mn),t.register("openApi3_0",fn),t.register("operation",yn),t.register("parameter",vn),t.register("pathItem",En),t.register("paths",jn),t.register("reference",wn),t.register("requestBody",Pn),t.register("response",kn),t.register("responses",_n),t.register("schema",_i),t.register("securityRequirement",Ri),t.register("securityScheme",Ii),t.register("server",qi),t.register("serverVariable",Ni),t.register("tag",Di),t.register("xml",Vi),t}},yp=()=>{const e=is(dp);return{predicates:{...r,...i,isStringElement:ie},namespace:e}},gp=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:s=[]}={})=>{const n=(0,a.Qc)(e),r=Qn(fp),i=ss(t,[],r);return Rs(n,i,{state:{specObj:r}}),Ms(i.element,s,{toolboxCreator:yp,visitorOptions:{keyMap:Ji,nodeTypeGetter:Ui}})},vp=e=>(t,s={})=>gp(t,{specPath:e,...s});Fs.refract=vp(["visitors","document","objects","Callback","$visitor"]),Bs.refract=vp(["visitors","document","objects","Components","$visitor"]),Ls.refract=vp(["visitors","document","objects","Contact","$visitor"]),Hs.refract=vp(["visitors","document","objects","Example","$visitor"]),zs.refract=vp(["visitors","document","objects","Discriminator","$visitor"]),Js.refract=vp(["visitors","document","objects","Encoding","$visitor"]),Ws.refract=vp(["visitors","document","objects","ExternalDocumentation","$visitor"]),Ys.refract=vp(["visitors","document","objects","Header","$visitor"]),Zs.refract=vp(["visitors","document","objects","Info","$visitor"]),tn.refract=vp(["visitors","document","objects","License","$visitor"]),nn.refract=vp(["visitors","document","objects","Link","$visitor"]),on.refract=vp(["visitors","document","objects","MediaType","$visitor"]),cn.refract=vp(["visitors","document","objects","OAuthFlow","$visitor"]),un.refract=vp(["visitors","document","objects","OAuthFlows","$visitor"]),mn.refract=vp(["visitors","document","objects","OpenApi","fixedFields","openapi"]),fn.refract=vp(["visitors","document","objects","OpenApi","$visitor"]),yn.refract=vp(["visitors","document","objects","Operation","$visitor"]),vn.refract=vp(["visitors","document","objects","Parameter","$visitor"]),En.refract=vp(["visitors","document","objects","PathItem","$visitor"]),jn.refract=vp(["visitors","document","objects","Paths","$visitor"]),wn.refract=vp(["visitors","document","objects","Reference","$visitor"]),Pn.refract=vp(["visitors","document","objects","RequestBody","$visitor"]),kn.refract=vp(["visitors","document","objects","Response","$visitor"]),_n.refract=vp(["visitors","document","objects","Responses","$visitor"]),_i.refract=vp(["visitors","document","objects","Schema","$visitor"]),Ri.refract=vp(["visitors","document","objects","SecurityRequirement","$visitor"]),Ii.refract=vp(["visitors","document","objects","SecurityScheme","$visitor"]),qi.refract=vp(["visitors","document","objects","Server","$visitor"]),Ni.refract=vp(["visitors","document","objects","ServerVariable","$visitor"]),Di.refract=vp(["visitors","document","objects","Tag","$visitor"]),Vi.refract=vp(["visitors","document","objects","XML","$visitor"]);const bp=class extends Fs{};const Ep=class extends Bs{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}};const xp=class extends Ls{};const jp=class extends zs{};const Op=class extends Js{};const wp=class extends Hs{};const Sp=class extends Ws{};const Pp=class extends Ys{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Ap=class extends Zs{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};class kp extends a.RP{static default=new kp("https://spec.openapis.org/oas/3.1/dialect/base");constructor(e,t,s){super(e,t,s),this.element="jsonSchemaDialect"}}const Cp=kp;const _p=class extends tn{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}};const Tp=class extends nn{};const Rp=class extends on{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Mp=class extends cn{};const Ip=class extends un{};const $p=class extends mn{};class qp extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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 webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const Fp=qp;const Np=class extends yn{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}};const Bp=class extends vn{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Dp=class extends En{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}};const Lp=class extends jn{};class Vp extends wn{}Object.defineProperty(Vp.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(Vp.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const zp=Vp;const Up=class extends Pn{};const Jp=class extends kn{};const Gp=class extends _n{};class Hp extends a.Sb{constructor(e,t,s){super(e,t,s),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",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 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 dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get const(){return this.get("const")}set const(e){this.set("const",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 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 maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",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 dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",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 deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get format(){return this.get("format")}set format(e){this.set("format",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 contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}}const Kp=Hp;const Wp=class extends Ri{};const Xp=class extends Ii{};const Yp=class extends qi{};const Qp=class extends Ni{};const Zp=class extends Di{};const em=class extends Vi{},tm={namespace:e=>{const{base:t}=e;return t.register("callback",bp),t.register("components",Ep),t.register("contact",xp),t.register("discriminator",jp),t.register("encoding",Op),t.register("example",wp),t.register("externalDocumentation",Sp),t.register("header",Pp),t.register("info",Ap),t.register("jsonSchemaDialect",Cp),t.register("license",_p),t.register("link",Tp),t.register("mediaType",Rp),t.register("oAuthFlow",Mp),t.register("oAuthFlows",Ip),t.register("openapi",$p),t.register("openApi3_1",Fp),t.register("operation",Np),t.register("parameter",Bp),t.register("pathItem",Dp),t.register("paths",Lp),t.register("reference",zp),t.register("requestBody",Up),t.register("response",Jp),t.register("responses",Gp),t.register("schema",Kp),t.register("securityRequirement",Wp),t.register("securityScheme",Xp),t.register("server",Yp),t.register("serverVariable",Qp),t.register("tag",Zp),t.register("xml",em),t}};class sm extends a.Sb{static primaryClass="components-path-items";constructor(e,t,s){super(e,t,s),this.classes.push(sm.primaryClass)}}const nm=sm;class rm extends a.Sb{static primaryClass="webhooks";constructor(e,t,s){super(e,t,s),this.classes.push(rm.primaryClass)}}const im=rm,om=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},am={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...Ts},cm={OpenApi3_1Element:{info:(...e)=>new Ap(...e),servers:(...e)=>new Fo(...e),paths:(...e)=>new Lp(...e),webhooks:(...e)=>new im(...e),components:(...e)=>new Ep(...e),security:(...e)=>new Ma(...e),tags:(...e)=>new pp(...e),externalDocs:(...e)=>new Sp(...e)},InfoElement:{contact:(...e)=>new xp(...e),license:(...e)=>new _p(...e)},ServerElement:{variables:(...e)=>new Uo(...e)},ServerVariableElement:{enum:(...e)=>new a.ON(...e)},PathsElement:{"[key: *]":function(...e){return new Dp(...e)}},PathItemElement:{get:(...e)=>new Np(...e),put:(...e)=>new Np(...e),post:(...e)=>new Np(...e),delete:(...e)=>new Np(...e),options:(...e)=>new Np(...e),head:(...e)=>new Np(...e),patch:(...e)=>new Np(...e),trace:(...e)=>new Np(...e),servers:(...e)=>new zu(...e),parameters:(...e)=>new Gu(...e)},OperationElement:{tags:(...e)=>new vu(...e),externalDocs:(...e)=>new Sp(...e),parameters:(...e)=>new wu(...e),requestBody:(...e)=>new Up(...e),responses:(...e)=>new Gp(...e),callbacks:(...e)=>new Cu(...e),security:(...e)=>new Mu(...e),servers:(...e)=>new qu(...e)},ParameterElement:{schema:(...e)=>new Kp(...e),examples:(...e)=>new Hc(...e),content:(...e)=>new Xc(...e)},RequestBodyElement:{content:(...e)=>new Hl(...e)},MediaTypeElement:{schema:(...e)=>new Kp(...e),examples:(...e)=>new Pa(...e),encoding:(...e)=>new Ca(...e)},EncodingElement:{headers:(...e)=>new ql(...e)},ResponsesElement:{"[key: *]":function(...e){return new Jp(...e)}},ResponseElement:{headers:(...e)=>new eu(...e),content:(...e)=>new nu(...e),links:(...e)=>new ou(...e)},CallbackElement:{"[key: *]":function(...e){return new Dp(...e)}},LinkElement:{server:(...e)=>new Yp(...e)},HeaderElement:{schema:(...e)=>new Kp(...e),examples:(...e)=>new lc(...e),content:(...e)=>new hc(...e)},ComponentsElement:{schemas:(...e)=>new Zc(...e),responses:(...e)=>new sl(...e),parameters:(...e)=>new il(...e),examples:(...e)=>new cl(...e),requestBodies:(...e)=>new pl(...e),headers:(...e)=>new fl(...e),securitySchemes:(...e)=>new gl(...e),links:(...e)=>new El(...e),callbacks:(...e)=>new Ol(...e),pathItems:(...e)=>new nm(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new a.ON(...e)}},TagElement:{externalDocs:(...e)=>new Sp(...e)},SchemaElement:{$vocabulary(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-$vocabulary"),t},$defs(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-$defs"),t},allOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new Kp(...e),if:(...e)=>new Kp(...e),then:(...e)=>new Kp(...e),else:(...e)=>new Kp(...e),dependentSchemas(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-dependentSchemas"),t},prefixItems(...e){const t=new a.ON(...e);return t.classes.push("json-schema-prefixItems"),t},items:(...e)=>new Kp(...e),contains:(...e)=>new Kp(...e),properties(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new Kp(...e),propertyNames:(...e)=>new Kp(...e),unevaluatedItems:(...e)=>new Kp(...e),unevaluatedProperties:(...e)=>new Kp(...e),type(...e){const t=new a.ON(...e);return t.classes.push("json-schema-type"),t},enum(...e){const t=new a.ON(...e);return t.classes.push("json-schema-enum"),t},required(...e){const t=new a.ON(...e);return t.classes.push("json-schema-required"),t},dependentRequired(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-dependentRequired"),t},examples(...e){const t=new a.ON(...e);return t.classes.push("json-schema-examples"),t},contentSchema:(...e)=>new Kp(...e),discriminator:(...e)=>new jp(...e),xml:(...e)=>new em(...e),externalDocs:(...e)=>new Sp(...e)},DiscriminatorElement:{mapping:(...e)=>new Fc(...e)},SecuritySchemeElement:{flows:(...e)=>new Ip(...e)},OAuthFlowsElement:{implicit:(...e)=>new Mp(...e),password:(...e)=>new Mp(...e),clientCredentials:(...e)=>new Mp(...e),authorizationCode:(...e)=>new Mp(...e)},OAuthFlowElement:{scopes:(...e)=>new cp(...e)},[im.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},[Uo.primaryClass]:{"[key: *]":function(...e){return new Qp(...e)}},[Zc.primaryClass]:{"[key: *]":function(...e){return new Kp(...e)}},[sl.primaryClass]:{"[key: *]":function(...e){return new Jp(...e)}},[il.primaryClass]:{"[key: *]":function(...e){return new Bp(...e)}},[cl.primaryClass]:{"[key: *]":function(...e){return new wp(...e)}},[pl.primaryClass]:{"[key: *]":function(...e){return new Up(...e)}},[fl.primaryClass]:{"[key: *]":function(...e){return new Pp(...e)}},[gl.primaryClass]:{"[key: *]":function(...e){return new Xp(...e)}},[El.primaryClass]:{"[key: *]":function(...e){return new Tp(...e)}},[Ol.primaryClass]:{"[key: *]":function(...e){return new bp(...e)}},[nm.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},[Cu.primaryClass]:{"[key: *]":function(...e){return new bp(...e)}},[Hc.primaryClass]:{"[key: *]":function(...e){return new wp(...e)}},[Xc.primaryClass]:{"[key: *]":function(...e){return new Rp(...e)}},[Hl.primaryClass]:{"[key: *]":function(...e){return new Rp(...e)}},[Pa.primaryClass]:{"[key: *]":function(...e){return new wp(...e)}},[Ca.primaryClass]:{"[key: *]":function(...e){return new Op(...e)}},[ql.primaryClass]:{"[key: *]":function(...e){return new Pp(...e)}},[eu.primaryClass]:{"[key: *]":function(...e){return new Pp(...e)}},[nu.primaryClass]:{"[key: *]":function(...e){return new Rp(...e)}},[ou.primaryClass]:{"[key: *]":function(...e){return new Tp(...e)}},"json-schema-$defs":{"[key: *]":function(...e){return new Kp(...e)}},"json-schema-dependentSchemas":{"[key: *]":function(...e){return new Kp(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new Kp(...e)}},[Fo.primaryClass]:{"<*>":(...e)=>new Yp(...e)},[Ma.primaryClass]:{"<*>":function(...e){return new Wp(...e)}},[pp.primaryClass]:{"<*>":function(...e){return new Zp(...e)}},[zu.primaryClass]:{"<*>":function(...e){return new Yp(...e)}},[Gu.primaryClass]:{"<*>":function(...e){return new Bp(...e)}},[wu.primaryClass]:{"<*>":function(...e){return new Bp(...e)}},[Mu.primaryClass]:{"<*>":function(...e){return new Wp(...e)}},[qu.primaryClass]:{"<*>":function(...e){return new Yp(...e)}},"json-schema-allOf":{"<*>":function(...e){return new Kp(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new Kp(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new Kp(...e)}},"json-schema-prefixItems":{"<*>":function(...e){return new Kp(...e)}}},lm=(e,t)=>{const s=om(e),n=cm[s]||cm[lr(e.classes.first)];return void 0===n?void 0:Object.prototype.hasOwnProperty.call(n,"[key: *]")?n["[key: *]"]:n[t]},um=()=>({predicates:e})=>{const t=t=>e.isStringElement(t)&&e.includesClasses(["yaml-e-node","yaml-e-scalar"],t);return{visitor:{MemberElement(e,...s){if(!t(e.value))return;const[,,,n]=s,r=n.at(-1),i=lm(r,lr(e.key));if(void 0===i)return;const o=e.value;return new a.c6(e.key,i.call({context:r},void 0,ws(o.meta),ws(o.attributes)),ws(e.meta),ws(e.attributes))},StringElement(s,...n){if(!t(s))return;const[,,,r]=n,i=r.at(-1);if(!e.isArrayElement(i))return;const o=lm(i,"<*>");return void 0!==o?o.call({context:s},void 0,ws(s.meta),ws(s.attributes)):void 0}}}};const pm=Ce((function(e,t,s){return Gt(e,at(t,s))}));var mm=function(){function e(e,t){this.xf=t,this.pred=e,this.items=[]}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return w(this.pred,t,this.items)?e:(this.items.push(t),this.xf["@@transducer/step"](e,t))},e}();function hm(e){return function(t){return new mm(e,t)}}const fm=u(m([],hm,(function(e,t){for(var s,n=0,r=t.length,i=[];n<r;)w(e,s=t[n],i)||(i[i.length]=s),n+=1;return i}))),dm=()=>({predicates:e})=>{const t=(t,s)=>!!e.isParameterElement(t)&&(!!e.isParameterElement(s)&&(!!e.isStringElement(t.name)&&(!!e.isStringElement(t.in)&&(!!e.isStringElement(s.name)&&(!!e.isStringElement(s.in)&&(lr(t.name)===lr(s.name)&&lr(t.in)===lr(s.in))))))),s=[];return{visitor:{PathItemElement:{enter(t,n,r,i,o){if(o.some(e.isComponentsElement))return;const{parameters:a}=t;e.isArrayElement(a)?s.push([...a.content]):s.push([])},leave(){s.pop()}},OperationElement:{leave(e){const n=we(s);if(!Array.isArray(n)||0===n.length)return;const r=pm([],["parameters","content"],e),i=fm(t,[...r,...n]);e.parameters=new wu(i)}}}}},ym=()=>({predicates:e})=>{let t;return{visitor:{OpenApi3_1Element:{enter(s){e.isArrayElement(s.security)&&(t=s.security)},leave(){t=void 0}},OperationElement:{leave(s,n,r,i,o){if(o.some(e.isComponentsElement))return;void 0===s.security&&void 0!==t&&(s.security=new Mu(t?.content))}}}}},gm=()=>({predicates:e})=>{let t;const s=[];return{visitor:{OpenApi3_1Element:{enter(s){e.isArrayElement(s.servers)&&(t=s.servers?.content)},leave(){t=void 0}},PathItemElement:{enter(n,r,i,o,a){if(a.some(e.isComponentsElement))return;void 0===n.servers&&void 0!==t&&(n.servers=new zu(t));const{servers:c}=n;void 0!==c&&e.isArrayElement(c)?s.push([...c.content]):s.push(void 0)},leave(){s.pop()}},OperationElement:{enter(t){const n=we(s);void 0!==n&&(e.isArrayElement(t.servers)||(t.servers=new qu(n)))}}}}};function vm(e,t,s){if(s||(s=new bm),function(e){var t=typeof e;return null==e||"object"!=t&&"function"!=t}(e))return e;var n=function(n){var r=s.get(e);if(r)return r;for(var i in s.set(e,n),e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=t?vm(e[i],!0,s):e[i]);return n};switch($(e)){case"Object":return n(Object.create(Object.getPrototypeOf(e)));case"Array":return n([]);case"Date":return new Date(e.valueOf());case"RegExp":return Ll(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}var bm=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){const s=this.hash(e);let n=this.map[s];n||(this.map[s]=n=[]),n.push([e,t]),this.length+=1},e.prototype.hash=function(e){let t=[];for(var s in e)t.push(Object.prototype.toString.call(e[s]));return t.join()},e.prototype.get=function(e){if(this.length<=180){for(const t in this.map){const s=this.map[t];for(let t=0;t<s.length;t+=1){const n=s[t];if(n[0]===e)return n[1]}}return}const t=this.hash(e),s=this.map[t];if(s)for(let t=0;t<s.length;t+=1){const n=s[t];if(n[0]===e)return n[1]}},e}(),Em=function(){function e(e,t,s,n){this.valueFn=e,this.valueAcc=t,this.keyFn=s,this.xf=n,this.inputs={}}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(S(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var s=this.keyFn(t);return this.inputs[s]=this.inputs[s]||[s,vm(this.valueAcc,!1)],this.inputs[s][1]=this.valueFn(this.inputs[s][1],t),e},e}();function xm(e,t,s){return function(n){return new Em(e,t,s,n)}}const jm=u(Le("groupBy",E(4,[],m([],xm,(function(e,t,s,n){var r=Be((function(n,r){var i=s(r),o=e(S(i,n)?n[i]:vm(t,!1),r);return o&&o["@@transducer/reduced"]?h(n):(n[i]=o,n)}));return Fe(r,{},n)})))((function(e,t){return e.push(t),e}),[]))),Om=e=>e.replace(/\s/g,""),wm=e=>e.replace(/\W/gi,"_"),Sm=(e,t,s)=>{const n=Om(e);return n.length>0?wm(n):((e,t)=>`${wm(Om(t.toLowerCase()))}${wm(Om(e))}`)(t,s)},Pm=({operationIdNormalizer:e=Sm}={})=>({predicates:t,namespace:s})=>{const n=[],r=[],i=[];return{visitor:{OpenApi3_1Element:{leave(){const e=jm((e=>lr(e.operationId)),r);Object.entries(e).forEach((([e,t])=>{Array.isArray(t)&&(t.length<=1||t.forEach(((t,n)=>{const r=`${e}${n+1}`;t.operationId=new s.elements.String(r)})))})),i.forEach((e=>{if(void 0===e.operationId)return;const t=String(lr(e.operationId)),s=r.find((e=>lr(e.meta.get("originalOperationId"))===t));void 0!==s&&(e.operationId=ws.safe(s.operationId),e.meta.set("originalOperationId",t),e.set("__originalOperationId",t))})),r.length=0,i.length=0}},PathItemElement:{enter(e){const t=Gt("path",lr(e.meta.get("path")));n.push(t)},leave(){n.pop()}},OperationElement:{enter(t){if(void 0===t.operationId)return;const i=String(lr(t.operationId)),o=we(n),a=Gt("method",lr(t.meta.get("http-method"))),c=e(i,o,a);i!==c&&(t.operationId=new s.elements.String(c),t.set("__originalOperationId",i),t.meta.set("originalOperationId",i),r.push(t))}},LinkElement:{leave(e){t.isLinkElement(e)&&void 0!==e.operationId&&i.push(e)}}}}},Am=()=>({predicates:e})=>({visitor:{ParameterElement:{leave(t,s,n,r,i){if(!i.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==t.schema?.example||void 0!==t.schema?.examples)){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>ws.safe(e.value)));return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[ws(t.example)]),void 0!==t.schema.example&&t.schema.set("example",ws(t.example)))}}}}}),km=()=>({predicates:e})=>({visitor:{HeaderElement:{leave(t,s,n,r,i){if(!i.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==t.schema?.example||void 0!==t.schema?.examples)){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>ws.safe(e.value)));return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[ws(t.example)]),void 0!==t.schema.example&&t.schema.set("example",ws(t.example)))}}}}}),Cm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof bp||e(n)&&t("callback",n)&&s("object",n))),_m=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ep||e(n)&&t("components",n)&&s("object",n))),Tm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof xp||e(n)&&t("contact",n)&&s("object",n))),Rm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof wp||e(n)&&t("example",n)&&s("object",n))),Mm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Sp||e(n)&&t("externalDocumentation",n)&&s("object",n))),Im=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Pp||e(n)&&t("header",n)&&s("object",n))),$m=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ap||e(n)&&t("info",n)&&s("object",n))),qm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Cp||e(n)&&t("jsonSchemaDialect",n)&&s("string",n))),Fm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof _p||e(n)&&t("license",n)&&s("object",n))),Nm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Tp||e(n)&&t("link",n)&&s("object",n))),Bm=e=>{if(!Nm(e))return!1;if(!ie(e.operationRef))return!1;const t=lr(e.operationRef);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Dm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof $p||e(n)&&t("openapi",n)&&s("string",n))),Lm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof Fp||e(r)&&t("openApi3_1",r)&&s("object",r)&&n("api",r))),Vm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Np||e(n)&&t("operation",n)&&s("object",n))),zm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Bp||e(n)&&t("parameter",n)&&s("object",n))),Um=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Dp||e(n)&&t("pathItem",n)&&s("object",n))),Jm=e=>{if(!Um(e))return!1;if(!ie(e.$ref))return!1;const t=lr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Gm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Lp||e(n)&&t("paths",n)&&s("object",n))),Hm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof zp||e(n)&&t("reference",n)&&s("object",n))),Km=e=>{if(!Hm(e))return!1;if(!ie(e.$ref))return!1;const t=lr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Wm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Up||e(n)&&t("requestBody",n)&&s("object",n))),Xm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Jp||e(n)&&t("response",n)&&s("object",n))),Ym=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Gp||e(n)&&t("responses",n)&&s("object",n))),Qm=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Kp||e(n)&&t("schema",n)&&s("object",n))),Zm=e=>ce(e)&&e.classes.includes("boolean-json-schema"),eh=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Wp||e(n)&&t("securityRequirement",n)&&s("object",n))),th=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Yp||e(n)&&t("server",n)&&s("object",n))),sh=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Qp||e(n)&&t("serverVariable",n)&&s("object",n))),nh=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Rp||e(n)&&t("mediaType",n)&&s("object",n))),rh=()=>{const e=is(tm);return{predicates:{...o,isStringElement:ie,isArrayElement:ue,isObjectElement:le,includesClasses:xe},namespace:e}},ih=e=>le(e)&&e.hasKey("openapi")&&e.hasKey("info")})(),n})()));
|