@swagger-api/apidom-parser-adapter-openapi-json-3-0 0.92.0 → 0.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterOpenApiJson3_0=t():e.apidomParserAdapterOpenApiJson3_0=t()}(self,(()=>(()=>{var e={9515:(e,t,r)=>{var n=r(8761)(r(7772),"DataView");e.exports=n},9612:(e,t,r)=>{var n=r(2118),s=r(6909),i=r(8138),o=r(4174),a=r(7942);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=r(2344),a=r(4769);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,r)=>{var n=r(8761)(r(7772),"Map");e.exports=n},6738:(e,t,r)=>{var n=r(2411),s=r(6417),i=r(6928),o=r(9493),a=r(4150);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,r)=>{var n=r(8761)(r(7772),"Promise");e.exports=n},2143:(e,t,r)=>{var n=r(8761)(r(7772),"Set");e.exports=n},5386:(e,t,r)=>{var n=r(6738),s=r(2842),i=r(2482);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,r)=>{var n=r(235),s=r(5243),i=r(2858),o=r(4417),a=r(8605),c=r(1418);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,r)=>{var n=r(7772).Symbol;e.exports=n},9162:(e,t,r)=>{var n=r(7772).Uint8Array;e.exports=n},3215:(e,t,r)=>{var n=r(8761)(r(7772),"WeakMap");e.exports=n},7552:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[s++]=o)}return i}},1634:(e,t,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),a=r(9045),c=r(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&s(e),p=!r&&!l&&o(e),h=!r&&!l&&!p&&c(e),m=r||l||p||h,d=m?n(e.length,String):[],f=d.length;for(var _ in e)!t&&!u.call(e,_)||m&&("length"==_||p&&("offset"==_||"parent"==_)||h&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||a(_,f))||d.push(_);return d}},5067:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},7064:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},2218:(e,t,r)=>{var n=r(1225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1897:(e,t,r)=>{var n=r(5067),s=r(6152);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},3366:(e,t,r)=>{var n=r(857),s=r(2107),i=r(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)?s(e):i(e)}},5183:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},8746:(e,t,r)=>{var n=r(1952),s=r(5125);e.exports=function e(t,r,i,o,a){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,a))}},1952:(e,t,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),a=r(940),c=r(6152),u=r(3226),l=r(7598),p="[object Arguments]",h="[object Array]",m="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,f,_,y){var g=c(e),b=c(t),v=g?h:a(e),w=b?h:a(t),E=(v=v==p?m:v)==m,x=(w=w==p?m:w)==m,S=v==w;if(S&&u(e)){if(!u(t))return!1;g=!0,E=!1}if(S&&!E)return y||(y=new n),g||l(e)?s(e,t,r,f,_,y):i(e,t,v,r,f,_,y);if(!(1&r)){var j=E&&d.call(e,"__wrapped__"),O=x&&d.call(t,"__wrapped__");if(j||O){var P=j?e.value():e,A=O?t.value():t;return y||(y=new n),_(P,A,r,f,y)}}return!!S&&(y||(y=new n),o(e,t,r,f,_,y))}},6840:(e,t,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(n(e)?h:a).test(o(e))}},5522:(e,t,r)=>{var n=r(3366),s=r(1158),i=r(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)&&s(e.length)&&!!o[n(e)]}},6411:(e,t,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6473:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);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,r)=>{var n=r(7772)["__core-js_shared__"];e.exports=n},4871:(e,t,r)=>{var n=r(5386),s=r(7064),i=r(9950);e.exports=function(e,t,r,o,a,c){var u=1&r,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=-1,f=!0,_=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var y=e[d],g=t[d];if(o)var b=u?o(g,y,d,t,e,c):o(y,g,d,e,t,c);if(void 0!==b){if(b)continue;f=!1;break}if(_){if(!s(t,(function(e,t){if(!i(_,t)&&(y===e||a(y,e,r,o,c)))return _.push(t)}))){f=!1;break}}else if(y!==g&&!a(y,g,r,o,c)){f=!1;break}}return c.delete(e),c.delete(t),f}},1491:(e,t,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),a=r(5179),c=r(4207),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,p,h){switch(r){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 s(e),new s(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 m=a;case"[object Set]":var d=1&n;if(m||(m=c),e.size!=t.size&&!d)return!1;var f=h.get(e);if(f)return f==t;n|=2,h.set(e,t);var _=o(m(e),m(t),n,u,p,h);return h.delete(e),_;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,a){var c=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!c)return!1;for(var p=l;p--;){var h=u[p];if(!(c?h in t:s.call(t,h)))return!1}var m=a.get(e),d=a.get(t);if(m&&d)return m==t&&d==e;var f=!0;a.set(e,t),a.set(t,e);for(var _=c;++p<l;){var y=e[h=u[p]],g=t[h];if(i)var b=c?i(g,y,h,t,e,a):i(y,g,h,e,t,a);if(!(void 0===b?y===g||o(y,g,r,i,a):b)){f=!1;break}_||(_="constructor"==h)}if(f&&!_){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(f=!1)}return a.delete(e),a.delete(t),f}},1242:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},3483:(e,t,r)=>{var n=r(1897),s=r(633),i=r(249);e.exports=function(e){return n(e,i,s)}},7937:(e,t,r)=>{var n=r(8304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8761:(e,t,r)=>{var n=r(6840),s=r(8109);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},2107:(e,t,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[a]=r:delete e[a]),s}},633:(e,t,r)=>{var n=r(7552),s=r(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)})))}:s;e.exports=a},940:(e,t,r)=>{var n=r(9515),s=r(326),i=r(2760),o=r(2143),a=r(3215),c=r(3366),u=r(7035),l="[object Map]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",d="[object DataView]",f=u(n),_=u(s),y=u(i),g=u(o),b=u(a),v=c;(n&&v(new n(new ArrayBuffer(1)))!=d||s&&v(new s)!=l||i&&v(i.resolve())!=p||o&&v(new o)!=h||a&&v(new a)!=m)&&(v=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case f:return d;case _:return l;case y:return p;case g:return h;case b:return m}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,r)=>{var n=r(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,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(t,e)?t[e]:void 0}},4174:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},7942:(e,t,r)=>{var n=r(9191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},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,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.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 r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,r)=>{var n=r(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}},8028:(e,t,r)=>{var n=r(2218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},2344:(e,t,r)=>{var n=r(2218);e.exports=function(e){return n(this.__data__,e)>-1}},4769:(e,t,r)=>{var n=r(2218);e.exports=function(e,t){var r=this.__data__,s=n(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}},2411:(e,t,r)=>{var n=r(9612),s=r(235),i=r(326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(e,t,r)=>{var n=r(7937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).get(e)}},9493:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).has(e)}},4150:(e,t,r)=>{var n=r(7937);e.exports=function(e,t){var r=n(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},9191:(e,t,r)=>{var n=r(8761)(Object,"create");e.exports=n},4248:(e,t,r)=>{var n=r(241)(Object.keys,Object);e.exports=n},4146:(e,t,r)=>{e=r.nmd(e);var n=r(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&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(r){return e(t(r))}}},7772:(e,t,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||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,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},5243:(e,t,r)=>{var n=r(235);e.exports=function(){this.__data__=new n,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},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,r)=>{var n=r(235),s=r(326),i=r(6738);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(e,t),this.size=r.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,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,r)=>{var n=r(1049),s=r(1158);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},4335:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},3226:(e,t,r)=>{e=r.nmd(e);var n=r(7772),s=r(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)||s;e.exports=c},8149:(e,t,r)=>{var n=r(8746);e.exports=function(e,t){return n(e,t)}},1049:(e,t,r)=>{var n=r(3366),s=r(9259);e.exports=function(e){if(!s(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,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return"number"==typeof e||s(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,r)=>{var n=r(3366),s=r(6152),i=r(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},7598:(e,t,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,a=o?s(o):n;e.exports=a},249:(e,t,r)=>{var n=r(1634),s=r(6411),i=r(7878);e.exports=function(e){return i(e)?n(e):s(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,r)=>{const n=r(1570);function s(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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=s(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,r)=>{const n=r(5877),s=r(5505),i=r(537),o=r(4335),a=r(9259),c=r(2947),u=r(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,r)=>{const n=r(1570),s=r(1178);class i extends s{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new i(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,r)=>{const n=r(6420),s=r(4152),i=r(9542),o=r(3710),a=r(3312),c=r(1641),u=r(8858),l=r(3860),p=r(5202),h=r(2320),m=r(1178),d=r(3853),f=r(3026);function _(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 s;if(Array.isArray(e))return new c(e.map(_));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=h,n.prototype.MemberElement=u,n.prototype.refract=_,m.prototype.refract=_,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:_,ArraySlice:m,ObjectSlice:d,KeyValuePair:f}},5202:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),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,r)=>{const n=r(5140),s=r(3756);t.lS=n,t.KeyValuePair=r(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,r(2947),r(8910)},1641:(e,t,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{constructor(e,t,r){super(e||[],t,r),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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n;void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=r;t<this.length;t+=1){const r=this.content[t];n="object"===this.primitive()?this.refract(e(n,r.value,r.key,r,this)):this.refract(e(n,r,t,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,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 r=t||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((t,r,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:n}),e(t,r,i)&&s.push(t)})),s}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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,r)=>{const n=r(8149),s=r(3026),i=r(1178);class o{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),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 s?{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 r=new i;const n=(e,t)=>(e.push(t),e),o=(e,r)=>{r.element===t&&e.push(r);const i=r.findRecursive(t);return i&&i.reduce(n,e),r.content instanceof s&&(r.content.key&&o(e,r.content.key),r.content.value&&o(e,r.content.value)),e};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element));for(const t in e){const n=e[t],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}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 s)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 s){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,r)=>{const n=r(3026),s=r(6420);e.exports=class extends s{constructor(e,t,r,s){super(new n,r,s),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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},3860:(e,t,r)=>{const n=r(1570),s=r(9259),i=r(1641),o=r(8858),a=r(3853);e.exports=class extends i{constructor(e,t,r){super(e||[],t,r),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((r=>r.key.toValue()!==e||(t=r,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const r=e,n=this.getMember(r);return n?n.value=t:this.content.push(new o(r,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((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[];return this.forEach(((n,s,i)=>{const o=e.bind(t)(n,s,i);o&&r.push(o)})),r}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((r=>e.bind(t)(r.value,r.key,r)))}}},9542:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,r)=>{const n=r(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 r={element:e.element};e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(r.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&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r);else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r);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)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[]);return r}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(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=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]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),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),r=new t;r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let e=r.attributes.get("samples");if(r.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new t(n);s.element=r.element,e.push(s)}))}));const s=e.shift();r.content=s?s.content:void 0,r.attributes.set("samples",e)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const e=r.attributes.get("meta");e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}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,r)=>{if(e){const n=r.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},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 r=this.serialiseContent(e.content);return void 0!==r&&(t.content=r),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 r=this.deserialiseContent(e.content);return void 0===r&&null!==t.content||(t.content=r),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,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},6591:e=>{!function(){"use strict";var t,r,n,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",m="deepConfiguration",d="deepProps",f="deepStatics",_="deepConf",y="initializers",g="methods",b="composers",v="compose";function w(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var x=E.bind(0,(function(e,t){if(t)for(var r=w(t),n=0;n<r.length;n+=1)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]));return e}));function S(e){return"function"==typeof e}function j(e){return e&&"object"==typeof e||S(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var P=E.bind(0,(function e(r,n){if(n===t)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!O(n))return n;for(var s,i,o=w(n),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==t&&(r[s]=e(O(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function A(){return(r=Array.prototype.concat.apply([],arguments).filter((function(e,t,r){return S(e)&&r.indexOf(e)===t}))).length?r:t}function k(e,t){function n(r,n){j(t[r])&&(j(e[r])||(e[r]={}),(n||x)(e[r],t[r]))}function s(n){(r=A(e[n],t[n]))&&(e[n]=r)}return t&&j(t=t[v]||t)&&(n(g),n(o),n(a,P),n(c),n(u),n(l,P),n(p),n(h),n(m,P),s(y),s(b)),e}function M(){return function(e){return r=function e(r){var n,s,i=e[v]||{},u={__proto__:i[g]},l=i[y],p=Array.prototype.slice.apply(arguments),h=i[a];if(h&&P(u,h),(h=i[o])&&x(u,h),(h=i[c])&&Object.defineProperties(u,h),!l||!l.length)return u;for(r===t&&(r={}),i=0;i<l.length;)S(n=l[i++])&&(u=(s=n.call(u,r,{instance:u,stamp:e,args:p}))===t?u:s);return u},(n=e[l])&&P(r,n),(n=e[u])&&x(r,n),(n=e[p])&&Object.defineProperties(r,n),n=S(r[v])?r[v]:M,x(r[v]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function N(e){return S(e)&&S(e[v])}var R={};function I(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[v]||n).call(r,s)}}R[g]=I(g,x),R[o]=R.props=I(o,x),R[y]=R.init=I(y,A),R[b]=I(b,A),R[a]=R[d]=I(a,P),R[u]=R.statics=I(u,x),R[l]=R[f]=I(l,P),R[h]=R.conf=I(h,x),R[m]=R[_]=I(m,P),R[c]=I(c,x),R[p]=I(p,x),n=R[v]=x((function(){for(var e,w,E=0,S=[],O=arguments,k=this;E<O.length;)j(e=O[E++])&&S.push(N(e)?e:((s={})[g]=(w=e)[g]||t,n=w.props,s[o]=j((r=w[o])||n)?x({},n,r):t,s[y]=A(w.init,w[y]),s[b]=A(w[b]),n=w[d],s[a]=j((r=w[a])||n)?P({},n,r):t,s[c]=w[c],n=w.statics,s[u]=j((r=w[u])||n)?x({},n,r):t,n=w[f],s[l]=j((r=w[l])||n)?P({},n,r):t,r=w[p],s[p]=j((n=w.name&&{name:{value:w.name}})||r)?x({},r,n):t,n=w.conf,s[h]=j((r=w[h])||n)?x({},n,r):t,n=w[_],s[m]=j((r=w[m])||n)?P({},n,r):t,s));if(e=M.apply(k||i,S),k&&S.unshift(k),Array.isArray(O=e[v][b]))for(E=0;E<O.length;)e=N(k=O[E++]({stamp:e,composables:S}))?k:e;return e}),R),R.create=function(){return this.apply(t,arguments)},(s={})[u]=R,i=M(s),n[v]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()},9794:(e,t,r)=>{var n=void 0!==n?n:{},s=function(){var t,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(n=Object.assign({},n,o),t=new Promise((t=>{var o,a={};for(o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);var c,u,l,p,h=[],m="./this.program",d=function(e,t){throw t};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var f,_,y,g,b,v="";c?(v=p?r(6287).dirname(v)+"/":"//",f=function(e,t){return g||(g=r(5530)),b||(b=r(6287)),e=b.normalize(e),g.readFileSync(e,t?null:"utf8")},y=function(e){var t=f(e,!0);return t.buffer||(t=new Uint8Array(t)),I(t.buffer),t},process.argv.length>1&&(m=process.argv[1].replace(/\\/g,"/")),h=process.argv.slice(2),e.exports=n,d=function(e){process.exit(e)},n.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(f=function(e){return read(e)}),y=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(I("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?h=scriptArgs:void 0!==arguments&&(h=arguments),"function"==typeof quit&&(d=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?v=self.location.href:void 0!==s&&s.currentScript&&(v=s.currentScript.src),v=0!==v.indexOf("blob:")?v.substr(0,v.lastIndexOf("/")+1):"",f=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(y=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),_=function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)}),n.print||console.log.bind(console);var w=n.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(n[o]=a[o]);a=null,n.arguments&&(h=n.arguments),n.thisProgram&&(m=n.thisProgram),n.quit&&(d=n.quit);var E,x=16,S=[];function j(e,t){if(!E){E=new WeakMap;for(var r=0;r<Z.length;r++){var n=Z.get(r);n&&E.set(n,r)}}if(E.has(e))return E.get(e);var s=function(){if(S.length)return S.pop();try{Z.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Z.length-1}();try{Z.set(s,e)}catch(r){if(!(r instanceof TypeError))throw r;var i=function(e,t){if("function"==typeof WebAssembly.Function){for(var r={i:"i32",j:"i64",f:"f32",d:"f64"},n={parameters:[],results:"v"==t[0]?[]:[r[t[0]]]},s=1;s<t.length;++s)n.parameters.push(r[t[s]]);return new WebAssembly.Function(n,e)}var i=[1,0,1,96],o=t.slice(0,1),a=t.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),s=0;s<a.length;++s)i.push(c[a[s]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:e}}).exports.f}(e,t);Z.set(s,i)}return E.set(e,s),s}var O,P=n.dynamicLibraries||[];n.wasmBinary&&(O=n.wasmBinary);var A,k=n.noExitRuntime||!0;function M(e,t,r,n){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":T[e>>0]=t;break;case"i16":$[e>>1]=t;break;case"i32":q[e>>2]=t;break;case"i64":le=[t>>>0,(ue=t,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],q[e>>2]=le[0],q[e+4>>2]=le[1];break;case"float":L[e>>2]=t;break;case"double":B[e>>3]=t;break;default:ae("invalid type for setValue: "+r)}}function N(e,t,r){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return T[e>>0];case"i16":return $[e>>1];case"i32":case"i64":return q[e>>2];case"float":return L[e>>2];case"double":return B[e>>3];default:ae("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ae("no native wasm support detected");var R=!1;function I(e,t){e||ae("Assertion failed: "+t)}var C,T,F,$,q,L,B,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function V(e,t,r){for(var n=t+r,s=t;e[s]&&!(s>=n);)++s;if(s-t>16&&e.subarray&&D)return D.decode(e.subarray(t,s));for(var i="";t<s;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function z(e,t){return e?V(F,e,t):""}function U(e,t,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-1,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o)),a<=127){if(r>=i)break;t[r++]=a}else if(a<=2047){if(r+1>=i)break;t[r++]=192|a>>6,t[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;t[r++]=224|a>>12,t[r++]=128|a>>6&63,t[r++]=128|63&a}else{if(r+3>=i)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63,t[r++]=128|a>>6&63,t[r++]=128|63&a}}return t[r]=0,r-s}function G(e,t,r){return U(e,F,t,r)}function W(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function J(e){var t=W(e)+1,r=ze(t);return U(e,T,r,t),r}function K(e){C=e,n.HEAP8=T=new Int8Array(e),n.HEAP16=$=new Int16Array(e),n.HEAP32=q=new Int32Array(e),n.HEAPU8=F=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=L=new Float32Array(e),n.HEAPF64=B=new Float64Array(e)}var H=n.INITIAL_MEMORY||33554432;(A=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:H/65536,maximum:32768}))&&(C=A.buffer),H=C.byteLength,K(C);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),X=[],Y=[],Q=[],ee=[],te=!1,re=0,ne=null,se=null;function ie(e){re++,n.monitorRunDependencies&&n.monitorRunDependencies(re)}function oe(e){if(re--,n.monitorRunDependencies&&n.monitorRunDependencies(re),0==re&&(null!==ne&&(clearInterval(ne),ne=null),se)){var t=se;se=null,t()}}function ae(e){throw n.onAbort&&n.onAbort(e),w(e+=""),R=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ce,ue,le;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function he(e){return e.startsWith("file://")}function me(e){try{if(e==ce&&O)return new Uint8Array(O);if(y)return y(e);throw"both async and sync fetching of the wasm failed"}catch(e){ae(e)}}pe(ce="tree-sitter.wasm")||(ce=function(e){return n.locateFile?n.locateFile(e,v):v+e}(ce));var de={},fe={get:function(e,t){return de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),de[t]}};function _e(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?Z.get(r)():Z.get(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(n)}}function ye(e){var t=0;function r(){for(var r=0,n=1;;){var s=e[t++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(e instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(e,"dylink");I(0!=n.length,"need dylink section"),e=new Int8Array(n[0])}else I(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),I(0===e[8],"need the dylink section to be first"),t=9,r(),I(6===e[t]),I(e[++t]==="d".charCodeAt(0)),I(e[++t]==="y".charCodeAt(0)),I(e[++t]==="l".charCodeAt(0)),I(e[++t]==="i".charCodeAt(0)),I(e[++t]==="n".charCodeAt(0)),I(e[++t]==="k".charCodeAt(0)),t++;var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var i=r();s.neededDynlibs=[];for(var o=0;o<i;++o){var a=r(),c=e.subarray(t,t+a);t+=a;var u=V(c,0);s.neededDynlibs.push(u)}return s}var ge=0;function be(){return k||ge>0}function ve(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function we(e,t){for(var r in e)if(e.hasOwnProperty(r)){qe.hasOwnProperty(r)||(qe[r]=e[r]);var s=ve(r);n.hasOwnProperty(s)||(n[s]=e[r])}}var Ee={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var xe=5250880;function Se(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function je(e,t){var r={};for(var n in e){var s=e[n];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=t),r[n]=s}return function(e){for(var t in e)if(!Se(t)){var r=!1,n=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],r=!0),de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(r||0==de[t].value)&&("function"==typeof n?de[t].value=j(n):"number"==typeof n?de[t].value=n:w("unhandled export type for `"+t+"`: "+typeof n))}}(r),r}function Oe(e,t){var r,s;return t&&(r=qe["orig$"+e]),r||(r=qe[e]),r||(r=n[ve(e)]),!r&&e.startsWith("invoke_")&&(s=e.split("_")[1],r=function(){var e=De();try{return function(e,t,r){return e.includes("j")?function(e,t,r){var s=n["dynCall_"+e];return r&&r.length?s.apply(null,[t].concat(r)):s.call(null,t)}(e,t,r):Z.get(t).apply(null,r)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Ve(e),t!==t+0&&"longjmp"!==t)throw t;Ue(1,0)}}),r}function Pe(e,t){var r=ye(e);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,x);var s,i,o,a=(s=function(e){if(te)return Le(e);var t=xe,r=t+e+15&-16;return xe=r,de.__heap_base.value=r,t}(r.memorySize+n),(i=n)||(i=x),Math.ceil(s/i)*i),c=Z.length;Z.grow(r.tableSize);for(var u=a;u<a+r.memorySize;u++)T[u]=0;for(u=c;u<c+r.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return a;case"__table_base":return c}return t in qe?qe[t]:(t in e||(e[t]=function(){return r||(r=function(e){var t=Oe(e,!1);return t||(t=o[e]),t}(t)),r.apply(null,arguments)}),e[t]);var r}}),p={"GOT.mem":new Proxy({},fe),"GOT.func":new Proxy({},fe),env:l,wasi_snapshot_preview1:l};function h(e){for(var n=0;n<r.tableSize;n++){var s=Z.get(c+n);s&&E.set(s,c+n)}o=je(e.exports,a),t.allowUndefined||ke();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(te?i():Y.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var m=new WebAssembly.Instance(e,p);return Promise.resolve(h(m))}return WebAssembly.instantiate(e,p).then((function(e){return h(e.instance)}))}var d=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return h(m=new WebAssembly.Instance(d,p))}return t.loadAsync?r.neededDynlibs.reduce((function(e,r){return e.then((function(){return Ae(r,t)}))}),Promise.resolve()).then((function(){return n()})):(r.neededDynlibs.forEach((function(e){Ae(e,t)})),n())}function Ae(e,t){"__main__"!=e||Ee.loadedLibNames[e]||(Ee.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},Ee.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var r,s=Ee.loadedLibNames[e];if(s)return r=Ee.loadedLibs[s],t.global&&!r.global&&(r.global=!0,"loading"!==r.module&&we(r.module)),t.nodelete&&r.refcount!==1/0&&(r.refcount=1/0),r.refcount++,t.loadAsync?Promise.resolve(s):s;function i(e){if(t.fs){var r=t.fs.readFile(e,{encoding:"binary"});return r instanceof Uint8Array||(r=new Uint8Array(r)),t.loadAsync?Promise.resolve(r):r}return t.loadAsync?(n=e,fetch(n,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+n+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):y(e);var n}function o(){if(void 0!==n.preloadedWasm&&void 0!==n.preloadedWasm[e]){var r=n.preloadedWasm[e];return t.loadAsync?Promise.resolve(r):r}return t.loadAsync?i(e).then((function(e){return Pe(e,t)})):Pe(i(e),t)}function a(e){r.global&&we(e),r.module=e}return s=Ee.nextHandle++,r={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},Ee.loadedLibNames[e]=s,Ee.loadedLibs[s]=r,t.loadAsync?o().then((function(e){return a(e),s})):(a(o()),s)}function ke(){for(var e in de)if(0==de[e].value){var t=Oe(e,!0);"function"==typeof t?de[e].value=j(t,t.sig):"number"==typeof t?de[e].value=t:I(!1,"bad export type for `"+e+"`: "+typeof t)}}n.___heap_base=xe;var Me,Ne=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function Re(){ae()}n._abort=Re,Re.sig="v",Me=c?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function Ie(e,t){var r;if(0===e)r=Date.now();else{if(1!==e&&4!==e)return 28,q[Be()>>2]=28,-1;r=Me()}return q[t>>2]=r/1e3|0,q[t+4>>2]=r%1e3*1e3*1e3|0,0}function Ce(e){try{return A.grow(e-C.byteLength+65535>>>16),K(A.buffer),1}catch(e){}}function Te(e){Ke(e)}function Fe(e){}Ie.sig="iii",Te.sig="vi",Fe.sig="vi";var $e,qe={__heap_base:xe,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Ne,__table_base:1,abort:Re,clock_gettime:Ie,emscripten_memcpy_big:function(e,t,r){F.copyWithin(e,t,t+r)},emscripten_resize_heap:function(e){var t,r=F.length;if((e>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var s=r*(1+.2/n);if(s=Math.min(s,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,s))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Te,memory:A,setTempRet0:Fe,tree_sitter_log_callback:function(e,t){if(ut){const r=z(t);ut(r,0!==e)}},tree_sitter_parse_callback:function(e,t,r,n,s){var i=ct(t,{row:r,column:n});"string"==typeof i?(M(s,i.length,"i32"),function(e,t,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*e.length?r/2:e.length,s=0;s<n;++s){var i=e.charCodeAt(s);$[t>>1]=i,t+=2}$[t>>1]=0}(i,e,10240)):M(s,0,"i32")}},Le=(function(){var e={env:qe,wasi_snapshot_preview1:qe,"GOT.mem":new Proxy(qe,fe),"GOT.func":new Proxy(qe,fe)};function t(e,t){var r=e.exports;r=je(r,1024),n.asm=r;var s,i=ye(t);i.neededDynlibs&&(P=i.neededDynlibs.concat(P)),we(r),s=n.asm.__wasm_call_ctors,Y.unshift(s),oe()}function r(e){t(e.instance,e.module)}function s(t){return function(){if(!O&&(l||p)){if("function"==typeof fetch&&!he(ce))return fetch(ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ce+"'";return e.arrayBuffer()})).catch((function(){return me(ce)}));if(_)return new Promise((function(e,t){_(ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return me(ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){w("failed to asynchronously prepare wasm: "+e),ae(e)}))}if(ie(),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return w("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||pe(ce)||he(ce)||"function"!=typeof fetch?s(r):fetch(ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){return w("wasm streaming compile failed: "+e),w("falling back to ArrayBuffer instantiation"),s(r)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(Le=n._malloc=n.asm.malloc).apply(null,arguments)}),Be=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return(Be=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),De=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(De=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Ve=n.stackRestore=function(){return(Ve=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},ze=n.stackAlloc=function(){return(ze=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Ue=n._setThrew=function(){return(Ue=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Ge(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=n.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(e,t){var r;return r=1==t?ze(e.length):Le(e.length),e.subarray||e.slice?F.set(e,r):F.set(new Uint8Array(e),r),r},se=function e(){$e||Je(),$e||(se=e)};var We=!1;function Je(e){function t(){$e||($e=!0,n.calledRun=!0,R||(te=!0,_e(Y),_e(Q),n.onRuntimeInitialized&&n.onRuntimeInitialized(),He&&function(e){var t=n._main;if(t){var r=(e=e||[]).length+1,s=ze(4*(r+1));q[s>>2]=J(m);for(var i=1;i<r;i++)q[(s>>2)+i]=J(e[i-1]);q[(s>>2)+r]=0;try{Ke(t(r,s),!0)}catch(e){if(e instanceof Ge)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),w("exception thrown: "+o),d(1,e)}}}(e),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)e=n.postRun.shift(),ee.unshift(e);var e;_e(ee)}()))}e=e||h,re>0||!We&&(function(){if(P.length){if(!y)return ie(),void P.reduce((function(e,t){return e.then((function(){return Ae(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),ke()}));P.forEach((function(e){Ae(e,{global:!0,nodelete:!0,allowUndefined:!0})})),ke()}else ke()}(),We=!0,re>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),X.unshift(e);var e;_e(X)}(),re>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}function Ke(e,t){t&&be()&&0===e||(be()||(n.onExit&&n.onExit(e),R=!0),d(e,new Ge(e)))}if(n.run=Je,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var He=!0;n.noInitialRun&&(He=!1),Je();const Ze=n,Xe={},Ye=4,Qe=5*Ye,et=2*Ye,tt=2*Ye+2*et,rt={row:0,column:0},nt=/[\w-.]*/g,st=/^_?tree_sitter_\w+/;var it,ot,at,ct,ut;class lt{static init(){at=Ze._ts_init(),it=N(at,"i32"),ot=N(at+Ye,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=N(at,"i32"),this[1]=N(at+Ye,"i32")}delete(){Ze._ts_parser_delete(this[0]),Ze._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==dt)throw new Error("Argument must be a Language");{t=e[0];const r=Ze._ts_language_version(t);if(r<ot||it<r)throw new Error(`Incompatible language version ${r}. Compatibility range ${ot} through ${it}.`)}}else t=0,e=null;return this.language=e,Ze._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,r){if("string"==typeof e)ct=(t,r,n)=>e.slice(t,n);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");ct=e}this.logCallback?(ut=this.logCallback,Ze._ts_parser_enable_logger_wasm(this[0],1)):(ut=null,Ze._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let e=s=Ze._calloc(n,tt);for(let t=0;t<n;t++)Ot(e,r.includedRanges[t]),e+=tt}const i=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,s,n);if(!i)throw ct=null,ut=null,new Error("Parsing failed");const o=new pt(Xe,i,this.language,ct);return ct=null,ut=null,o}reset(){Ze._ts_parser_reset(this[0])}setTimeoutMicros(e){Ze._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return Ze._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class pt{constructor(e,t,r,n){gt(e),this[0]=t,this.language=r,this.textCallback=n}copy(){const e=Ze._ts_tree_copy(this[0]);return new pt(Xe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=at;St(t,e.startPosition),St(t+=et,e.oldEndPosition),St(t+=et,e.newEndPosition),M(t+=et,e.startIndex,"i32"),M(t+=Ye,e.oldEndIndex,"i32"),M(t+=Ye,e.newEndIndex,"i32"),t+=Ye}(e),Ze._ts_tree_edit_wasm(this[0])}get rootNode(){return Ze._ts_tree_root_node_wasm(this[0]),wt(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==pt)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=N(at,"i32"),r=N(at+Ye,"i32"),n=new Array(t);if(t>0){let e=r;for(let r=0;r<t;r++)n[r]=Pt(e),e+=tt;Ze._free(r)}return n}}class ht{constructor(e,t){gt(e),this.tree=t}get typeId(){return vt(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return vt(this),Ze._ts_node_end_point_wasm(this.tree[0]),jt(at)}get endIndex(){return vt(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return _t(this.tree,this.startIndex,this.endIndex)}isNamed(){return vt(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return vt(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return vt(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return vt(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return vt(this),Ze._ts_node_child_wasm(this.tree[0],e),wt(this.tree)}namedChild(e){return vt(this),Ze._ts_node_named_child_wasm(this.tree[0],e),wt(this.tree)}childForFieldId(e){return vt(this),Ze._ts_node_child_by_field_id_wasm(this.tree[0],e),wt(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return vt(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return vt(this),Ze._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){vt(this),Ze._ts_node_children_wasm(this.tree[0]);const e=N(at,"i32"),t=N(at+Ye,"i32");if(this._children=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._children[t]=wt(this.tree,r),r+=Qe;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){vt(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=N(at,"i32"),t=N(at+Ye,"i32");if(this._namedChildren=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._namedChildren[t]=wt(this.tree,r),r+=Qe;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,r){Array.isArray(e)||(e=[e]),t||(t=rt),r||(r=rt);const n=[],s=this.tree.language.types;for(let t=0,r=s.length;t<r;t++)e.includes(s[t])&&n.push(t);const i=Ze._malloc(Ye*n.length);for(let e=0,t=n.length;e<t;e++)M(i+e*Ye,n[e],"i32");vt(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,t.row,t.column,r.row,r.column);const o=N(at,"i32"),a=N(at+Ye,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=wt(this.tree,e),e+=Qe}return Ze._free(a),Ze._free(i),c}get nextSibling(){return vt(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),wt(this.tree)}get previousSibling(){return vt(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),wt(this.tree)}get nextNamedSibling(){return vt(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),wt(this.tree)}get previousNamedSibling(){return vt(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),wt(this.tree)}get parent(){return vt(this),Ze._ts_node_parent_wasm(this.tree[0]),wt(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let r=at+Qe;return M(r,e,"i32"),M(r+Ye,t,"i32"),Ze._ts_node_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let r=at+Qe;return M(r,e,"i32"),M(r+Ye,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}descendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let r=at+Qe;return St(r,e),St(r+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}namedDescendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let r=at+Qe;return St(r,e),St(r+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}walk(){return vt(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new mt(Xe,this.tree)}toString(){vt(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var r=F[e++>>0];if(!r)return t;t+=String.fromCharCode(r)}}(e);return Ze._free(e),t}}class mt{constructor(e,t){gt(e),this.tree=t,xt(this)}delete(){Et(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){vt(e),Et(this,at+Qe),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),xt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Et(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Et(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Et(this);const e=Ze._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Ze._ts_tree_cursor_end_index_wasm(this.tree[0]);return _t(this.tree,e,t)}get startPosition(){return Et(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),jt(at)}get endPosition(){return Et(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),jt(at)}get startIndex(){return Et(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Et(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Et(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),wt(this.tree)}currentFieldId(){return Et(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Et(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return xt(this),1===e}gotoNextSibling(){Et(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return xt(this),1===e}gotoParent(){Et(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return xt(this),1===e}}class dt{constructor(e,t){gt(e),this[0]=t,this.types=new Array(Ze._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)Ze._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=z(Ze._ts_language_symbol_name(this[0],e)));this.fields=new Array(Ze._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=Ze._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?z(t):null}}get version(){return Ze._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const r=W(e),n=Ze._malloc(r+1);G(e,n,r+1);const s=Ze._ts_language_symbol_for_name(this[0],n,r,t);return Ze._free(n),s||null}get nodeTypeCount(){return Ze._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=Ze._ts_language_symbol_name(this[0],e);return t?z(t):null}nodeTypeIsNamed(e){return!!Ze._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!Ze._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=W(e),r=Ze._malloc(t+1);G(e,r,t+1);const n=Ze._ts_query_new(this[0],r,t,at,at+Ye);if(!n){const t=N(at+Ye,"i32"),n=z(r,N(at,"i32")).length,s=e.substr(n,100).split("\n")[0];let i,o=s.match(nt)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${n}: '${s}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${n}: '${s}'...`),o=""}throw i.index=n,i.length=o.length,Ze._free(r),i}const s=Ze._ts_query_string_count(n),i=Ze._ts_query_capture_count(n),o=Ze._ts_query_pattern_count(n),a=new Array(i),c=new Array(s);for(let e=0;e<i;e++){const t=Ze._ts_query_capture_name_for_id(n,e,at),r=N(at,"i32");a[e]=z(t,r)}for(let e=0;e<s;e++){const t=Ze._ts_query_string_value_for_id(n,e,at),r=N(at,"i32");c[e]=z(t,r)}const u=new Array(o),l=new Array(o),p=new Array(o),h=new Array(o),m=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(n,e,at),r=N(at,"i32");h[e]=[],m[e]=[];const s=[];let i=t;for(let t=0;t<r;t++){const t=N(i,"i32"),r=N(i+=Ye,"i32");if(i+=Ye,1===t)s.push({type:"capture",name:a[r]});else if(2===t)s.push({type:"string",value:c[r]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const t=s[0].value;let r=!0;switch(t){case"not-eq?":r=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const t=s[1].name,n=s[2].name;m[e].push((function(e){let s,i;for(const r of e)r.name===t&&(s=r.node),r.name===n&&(i=r.node);return void 0===s||void 0===i||s.text===i.text===r}))}else{const t=s[1].name,n=s[2].value;m[e].push((function(e){for(const s of e)if(s.name===t)return s.node.text===n===r;return!0}))}break;case"not-match?":r=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,i=new RegExp(s[2].value);m[e].push((function(e){for(const t of e)if(t.name===n)return i.test(t.node.text)===r;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][s[1].value]=s[2]?s[2].value:null;break;default:h[e].push({operator:t,operands:s.slice(1)})}s.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return Ze._free(r),new ft(Xe,n,a,m,h,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const n=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=r(5530);t=Promise.resolve(e.readFileSync(n))}else t=fetch(n).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const r=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${r}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:Pe;return t.then((e=>n(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),r=t.find((e=>st.test(e)&&!e.includes("external_scanner_")));r||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const n=e[r]();return new dt(Xe,n)}))}}class ft{constructor(e,t,r,n,s,i,o,a){gt(e),this[0]=t,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,r,n){t||(t=rt),r||(r=rt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const i=N(at,"i32"),o=N(at+Ye,"i32"),a=N(at+2*Ye,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<i;t++){const r=N(l,"i32"),n=N(l+=Ye,"i32");l+=Ye;const s=new Array(n);if(l=yt(this,e.tree,l,s),this.textPredicates[r].every((e=>e(s)))){c[u++]={pattern:r,captures:s};const e=this.setProperties[r];e&&(c[t].setProperties=e);const n=this.assertedProperties[r];n&&(c[t].assertedProperties=n);const i=this.refutedProperties[r];i&&(c[t].refutedProperties=i)}}return c.length=u,Ze._free(o),c}captures(e,t,r,n){t||(t=rt),r||(r=rt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const i=N(at,"i32"),o=N(at+Ye,"i32"),a=N(at+2*Ye,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<i;t++){const t=N(l,"i32"),r=N(l+=Ye,"i32"),n=N(l+=Ye,"i32");if(l+=Ye,u.length=r,l=yt(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[n],r=this.setProperties[t];r&&(e.setProperties=r);const s=this.assertedProperties[t];s&&(e.assertedProperties=s);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),c.push(e)}}return Ze._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function _t(e,t,r){const n=r-t;let s=e.textCallback(t,null,r);for(t+=s.length;t<r;){const n=e.textCallback(t,null,r);if(!(n&&n.length>0))break;t+=n.length,s+=n}return t>r&&(s=s.slice(0,n)),s}function yt(e,t,r,n){for(let s=0,i=n.length;s<i;s++){const i=N(r,"i32"),o=wt(t,r+=Ye);r+=Qe,n[s]={name:e.captureNames[i],node:o}}return r}function gt(e){if(e!==Xe)throw new Error("Illegal constructor")}function bt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function vt(e){let t=at;M(t,e.id,"i32"),M(t+=Ye,e.startIndex,"i32"),M(t+=Ye,e.startPosition.row,"i32"),M(t+=Ye,e.startPosition.column,"i32"),M(t+=Ye,e[0],"i32")}function wt(e,t=at){const r=N(t,"i32");if(0===r)return null;const n=N(t+=Ye,"i32"),s=N(t+=Ye,"i32"),i=N(t+=Ye,"i32"),o=N(t+=Ye,"i32"),a=new ht(Xe,e);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:i},a[0]=o,a}function Et(e,t=at){M(t+0*Ye,e[0],"i32"),M(t+1*Ye,e[1],"i32"),M(t+2*Ye,e[2],"i32")}function xt(e){e[0]=N(at+0*Ye,"i32"),e[1]=N(at+1*Ye,"i32"),e[2]=N(at+2*Ye,"i32")}function St(e,t){M(e,t.row,"i32"),M(e+Ye,t.column,"i32")}function jt(e){return{row:N(e,"i32"),column:N(e+Ye,"i32")}}function Ot(e,t){St(e,t.startPosition),St(e+=et,t.endPosition),M(e+=et,t.startIndex,"i32"),M(e+=Ye,t.endIndex,"i32"),e+=Ye}function Pt(e){const t={};return t.startPosition=jt(e),e+=et,t.endPosition=jt(e),e+=et,t.startIndex=N(e,"i32"),e+=Ye,t.endIndex=N(e,"i32"),t}for(const e of Object.getOwnPropertyNames(lt.prototype))Object.defineProperty(i.prototype,e,{value:lt.prototype[e],enumerable:!1,writable:!1});i.Language=dt,n.onRuntimeInitialized=()=>{lt.init(),t()}})))}}return i}();e.exports=s},5530:()=>{},6287:()=>{},1427:(e,t,r)=>{e.exports=r(1125)},1681:(e,t,r)=>{"use strict";var n=r(7497);e.exports=n},3258:(e,t,r)=>{"use strict";r(2777),r(733),r(1835),r(6449),r(9383);var n=r(8422);e.exports=n.AggregateError},1125:(e,t,r)=>{"use strict";e.exports=r(3985)},3985:(e,t,r)=>{"use strict";r(3584);var n=r(1681);e.exports=n},5375:(e,t,r)=>{"use strict";var n=r(8563),s=r(5787),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not a function")}},692:(e,t,r)=>{"use strict";var n=r(8563),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},7171:e=>{"use strict";e.exports=function(){}},457:(e,t,r)=>{"use strict";var n=r(8257),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not an object")}},3346:(e,t,r)=>{"use strict";var n=r(4312),s=r(1940),i=r(8960),o=function(e){return function(t,r,o){var a,c=n(t),u=i(c),l=s(o,u);if(e&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},88:(e,t,r)=>{"use strict";var n=r(8814),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},2327:(e,t,r)=>{"use strict";var n=r(6694),s=r(8563),i=r(88),o=r(379)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?i(t):"Object"===(n=i(t))&&s(t.callee)?"Arguments":n}},1318:(e,t,r)=>{"use strict";var n=r(3941),s=r(5956),i=r(3335),o=r(4376);e.exports=function(e,t,r){for(var a=s(t),c=o.f,u=i.f,l=0;l<a.length;l++){var p=a[l];n(e,p)||r&&n(r,p)||c(e,p,u(t,p))}}},8536:(e,t,r)=>{"use strict";var n=r(2998);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9497:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},1370:(e,t,r)=>{"use strict";var n=r(1815),s=r(4376),i=r(7971);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},7971:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4500:(e,t,r)=>{"use strict";var n=r(1370);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},8194:(e,t,r)=>{"use strict";var n=r(8426),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},1815:(e,t,r)=>{"use strict";var n=r(2998);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5361:e=>{"use strict";var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},6327:(e,t,r)=>{"use strict";var n=r(8426),s=r(8257),i=n.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},8987:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9954:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5057:(e,t,r)=>{"use strict";var n,s,i=r(8426),o=r(9954),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},8573:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4456:(e,t,r)=>{"use strict";var n=r(8814),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},4151:(e,t,r)=>{"use strict";var n=r(1370),s=r(4456),i=r(5111),o=Error.captureStackTrace;e.exports=function(e,t,r,a){i&&(o?o(e,t):n(e,"stack",s(r,a)))}},5111:(e,t,r)=>{"use strict";var n=r(2998),s=r(7971);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},9011:(e,t,r)=>{"use strict";var n=r(8426),s=r(4877),i=r(9730),o=r(8563),a=r(3335).f,c=r(8722),u=r(8422),l=r(1207),p=r(1370),h=r(3941),m=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,s,d,f,_,y,g,b,v,w=e.target,E=e.global,x=e.stat,S=e.proto,j=E?n:x?n[w]:(n[w]||{}).prototype,O=E?u:u[w]||p(u,w,{})[w],P=O.prototype;for(f in t)s=!(r=c(E?f:w+(x?".":"#")+f,e.forced))&&j&&h(j,f),y=O[f],s&&(g=e.dontCallGetSet?(v=a(j,f))&&v.value:j[f]),_=s&&g?g:t[f],s&&typeof y==typeof _||(b=e.bind&&s?l(_,n):e.wrap&&s?m(_):S&&o(_)?i(_):_,(e.sham||_&&_.sham||y&&y.sham)&&p(b,"sham",!0),p(O,f,b),S&&(h(u,d=w+"Prototype")||p(u,d,{}),p(u[d],f,_),e.real&&P&&(r||!P[f])&&p(P,f,_)))}},2998:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},4877:(e,t,r)=>{"use strict";var n=r(5083),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},1207:(e,t,r)=>{"use strict";var n=r(9730),s=r(5375),i=r(5083),o=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},5083:(e,t,r)=>{"use strict";var n=r(2998);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},200:(e,t,r)=>{"use strict";var n=r(5083),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},5339:(e,t,r)=>{"use strict";var n=r(1815),s=r(3941),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},2799:(e,t,r)=>{"use strict";var n=r(8814),s=r(5375);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},9730:(e,t,r)=>{"use strict";var n=r(88),s=r(8814);e.exports=function(e){if("Function"===n(e))return s(e)}},8814:(e,t,r)=>{"use strict";var n=r(5083),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},6589:(e,t,r)=>{"use strict";var n=r(8422),s=r(8426),i=r(8563),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},2630:(e,t,r)=>{"use strict";var n=r(2327),s=r(2833),i=r(5157),o=r(2444),a=r(379)("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[n(e)]}},1291:(e,t,r)=>{"use strict";var n=r(200),s=r(5375),i=r(457),o=r(5787),a=r(2630),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(s(r))return i(n(r,e));throw new c(o(e)+" is not iterable")}},2833:(e,t,r)=>{"use strict";var n=r(5375),s=r(5157);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},8426:function(e,t,r){"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 r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},3941:(e,t,r)=>{"use strict";var n=r(8814),s=r(8389),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},3006:e=>{"use strict";e.exports={}},4812:(e,t,r)=>{"use strict";var n=r(6589);e.exports=n("document","documentElement")},4632:(e,t,r)=>{"use strict";var n=r(1815),s=r(2998),i=r(6327);e.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6541:(e,t,r)=>{"use strict";var n=r(8814),s=r(2998),i=r(88),o=Object,a=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):o(e)}:o},9330:(e,t,r)=>{"use strict";var n=r(8563),s=r(8257),i=r(8597);e.exports=function(e,t,r){var o,a;return i&&n(o=t.constructor)&&o!==r&&s(a=o.prototype)&&a!==r.prototype&&i(e,a),e}},1609:(e,t,r)=>{"use strict";var n=r(8257),s=r(1370);e.exports=function(e,t){n(t)&&"cause"in t&&s(e,"cause",t.cause)}},8551:(e,t,r)=>{"use strict";var n,s,i,o=r(8268),a=r(8426),c=r(8257),u=r(1370),l=r(3941),p=r(6028),h=r(5430),m=r(3006),d="Object already initialized",f=a.TypeError,_=a.WeakMap;if(o||p.state){var y=p.state||(p.state=new _);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new f(d);return t.facade=e,y.set(e,t),t},s=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var g=h("state");m[g]=!0,n=function(e,t){if(l(e,g))throw new f(d);return t.facade=e,u(e,g,t),t},s=function(e){return l(e,g)?e[g]:{}},i=function(e){return l(e,g)}}e.exports={set:n,get:s,has:i,enforce:function(e){return i(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=s(t)).type!==e)throw new f("Incompatible receiver, "+e+" required");return r}}}},2576:(e,t,r)=>{"use strict";var n=r(379),s=r(2444),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},8563:(e,t,r)=>{"use strict";var n=r(5361),s=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},8722:(e,t,r)=>{"use strict";var n=r(2998),s=r(8563),i=/#|\.prototype\./,o=function(e,t){var r=c[a(e)];return r===l||r!==u&&(s(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5157:e=>{"use strict";e.exports=function(e){return null==e}},8257:(e,t,r)=>{"use strict";var n=r(8563),s=r(5361),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},7736:e=>{"use strict";e.exports=!0},6753:(e,t,r)=>{"use strict";var n=r(6589),s=r(8563),i=r(7367),o=r(9378),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,a(e))}},3490:(e,t,r)=>{"use strict";var n=r(1207),s=r(200),i=r(457),o=r(5787),a=r(2576),c=r(8960),u=r(7367),l=r(1291),p=r(2630),h=r(6889),m=TypeError,d=function(e,t){this.stopped=e,this.result=t},f=d.prototype;e.exports=function(e,t,r){var _,y,g,b,v,w,E,x=r&&r.that,S=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_RECORD),O=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),A=n(t,x),k=function(e){return _&&h(_,"normal",e),new d(!0,e)},M=function(e){return S?(i(e),P?A(e[0],e[1],k):A(e[0],e[1])):P?A(e,k):A(e)};if(j)_=e.iterator;else if(O)_=e;else{if(!(y=p(e)))throw new m(o(e)+" is not iterable");if(a(y)){for(g=0,b=c(e);b>g;g++)if((v=M(e[g]))&&u(f,v))return v;return new d(!1)}_=l(e,y)}for(w=j?e.next:_.next;!(E=s(w,_)).done;){try{v=M(E.value)}catch(e){h(_,"throw",e)}if("object"==typeof v&&v&&u(f,v))return v}return new d(!1)}},6889:(e,t,r)=>{"use strict";var n=r(200),s=r(457),i=r(2833);e.exports=function(e,t,r){var o,a;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return s(o),r}},7323:(e,t,r)=>{"use strict";var n=r(374).IteratorPrototype,s=r(1504),i=r(7971),o=r(9468),a=r(2444),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=s(n,{next:i(+!u,r)}),o(e,l,!1,!0),a[l]=c,e}},5994:(e,t,r)=>{"use strict";var n=r(9011),s=r(200),i=r(7736),o=r(5339),a=r(8563),c=r(7323),u=r(9814),l=r(8597),p=r(9468),h=r(1370),m=r(4500),d=r(379),f=r(2444),_=r(374),y=o.PROPER,g=o.CONFIGURABLE,b=_.IteratorPrototype,v=_.BUGGY_SAFARI_ITERATORS,w=d("iterator"),E="keys",x="values",S="entries",j=function(){return this};e.exports=function(e,t,r,o,d,_,O){c(r,t,o);var P,A,k,M=function(e){if(e===d&&T)return T;if(!v&&e&&e in I)return I[e];switch(e){case E:case x:case S:return function(){return new r(this,e)}}return function(){return new r(this)}},N=t+" Iterator",R=!1,I=e.prototype,C=I[w]||I["@@iterator"]||d&&I[d],T=!v&&C||M(d),F="Array"===t&&I.entries||C;if(F&&(P=u(F.call(new e)))!==Object.prototype&&P.next&&(i||u(P)===b||(l?l(P,b):a(P[w])||m(P,w,j)),p(P,N,!0,!0),i&&(f[N]=j)),y&&d===x&&C&&C.name!==x&&(!i&&g?h(I,"name",x):(R=!0,T=function(){return s(C,this)})),d)if(A={values:M(x),keys:_?T:M(E),entries:M(S)},O)for(k in A)(v||R||!(k in I))&&m(I,k,A[k]);else n({target:t,proto:!0,forced:v||R},A);return i&&!O||I[w]===T||m(I,w,T,{name:d}),f[t]=T,A}},374:(e,t,r)=>{"use strict";var n,s,i,o=r(2998),a=r(8563),c=r(8257),u=r(1504),l=r(9814),p=r(4500),h=r(379),m=r(7736),d=h("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):f=!0),!c(n)||o((function(){var e={};return n[d].call(e)!==e}))?n={}:m&&(n=u(n)),a(n[d])||p(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},2444:e=>{"use strict";e.exports={}},8960:(e,t,r)=>{"use strict";var n=r(9261);e.exports=function(e){return n(e.length)}},5703:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},5517:(e,t,r)=>{"use strict";var n=r(4809);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},1504:(e,t,r)=>{"use strict";var n,s=r(457),i=r(8253),o=r(8573),a=r(3006),c=r(4812),u=r(6327),l=r(5430),p="prototype",h="script",m=l("IE_PROTO"),d=function(){},f=function(e){return"<"+h+">"+e+"</"+h+">"},_=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;y="undefined"!=typeof document?document.domain&&n?_(n):(t=u("iframe"),r="java"+h+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):_(n);for(var s=o.length;s--;)delete y[p][o[s]];return y()};a[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d[p]=s(e),r=new d,d[p]=null,r[m]=e):r=y(),void 0===t?r:i.f(r,t)}},8253:(e,t,r)=>{"use strict";var n=r(1815),s=r(4210),i=r(4376),o=r(457),a=r(4312),c=r(4230);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),s=c(t),u=s.length,l=0;u>l;)i.f(e,r=s[l++],n[r]);return e}},4376:(e,t,r)=>{"use strict";var n=r(1815),s=r(4632),i=r(4210),o=r(457),a=r(9722),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",m="writable";t.f=n?i?function(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&m in r&&!r[m]){var n=l(e,t);n&&n[m]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:p in r?r[p]:n[p],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=a(t),o(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},3335:(e,t,r)=>{"use strict";var n=r(1815),s=r(200),i=r(2886),o=r(7971),a=r(4312),c=r(9722),u=r(3941),l=r(4632),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},4243:(e,t,r)=>{"use strict";var n=r(4062),s=r(8573).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},2306:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9814:(e,t,r)=>{"use strict";var n=r(3941),s=r(8563),i=r(8389),o=r(5430),a=r(8536),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},7367:(e,t,r)=>{"use strict";var n=r(8814);e.exports=n({}.isPrototypeOf)},4062:(e,t,r)=>{"use strict";var n=r(8814),s=r(3941),i=r(4312),o=r(3346).indexOf,a=r(3006),c=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&c(l,r);for(;t.length>u;)s(n,r=t[u++])&&(~o(l,r)||c(l,r));return l}},4230:(e,t,r)=>{"use strict";var n=r(4062),s=r(8573);e.exports=Object.keys||function(e){return n(e,s)}},2886:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},8597:(e,t,r)=>{"use strict";var n=r(2799),s=r(457),i=r(692);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},3024:(e,t,r)=>{"use strict";var n=r(6694),s=r(2327);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},2483:(e,t,r)=>{"use strict";var n=r(200),s=r(8563),i=r(8257),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&s(r=e.toString)&&!i(a=n(r,e)))return a;if(s(r=e.valueOf)&&!i(a=n(r,e)))return a;if("string"!==t&&s(r=e.toString)&&!i(a=n(r,e)))return a;throw new o("Can't convert object to primitive value")}},5956:(e,t,r)=>{"use strict";var n=r(6589),s=r(8814),i=r(4243),o=r(2306),a=r(457),c=s([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?c(t,r(e)):t}},8422:e=>{"use strict";e.exports={}},3142:(e,t,r)=>{"use strict";var n=r(4376).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},8280:(e,t,r)=>{"use strict";var n=r(5157),s=TypeError;e.exports=function(e){if(n(e))throw new s("Can't call method on "+e);return e}},9468:(e,t,r)=>{"use strict";var n=r(6694),s=r(4376).f,i=r(1370),o=r(3941),a=r(3024),c=r(379)("toStringTag");e.exports=function(e,t,r,u){if(e){var l=r?e:e.prototype;o(l,c)||s(l,c,{configurable:!0,value:t}),u&&!n&&i(l,"toString",a)}}},5430:(e,t,r)=>{"use strict";var n=r(3771),s=r(9216),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6028:(e,t,r)=>{"use strict";var n=r(8426),s=r(8194),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},3771:(e,t,r)=>{"use strict";var n=r(7736),s=r(6028);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.3",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},7415:(e,t,r)=>{"use strict";var n=r(8814),s=r(1061),i=r(4809),o=r(8280),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,p=i(o(t)),h=s(r),m=p.length;return h<0||h>=m?e?"":void 0:(n=c(p,h))<55296||n>56319||h+1===m||(l=c(p,h+1))<56320||l>57343?e?a(p,h):n:e?u(p,h,h+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},3772:(e,t,r)=>{"use strict";var n=r(5057),s=r(2998),i=r(8426).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1940:(e,t,r)=>{"use strict";var n=r(1061),s=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):i(r,t)}},4312:(e,t,r)=>{"use strict";var n=r(6541),s=r(8280);e.exports=function(e){return n(s(e))}},1061:(e,t,r)=>{"use strict";var n=r(5703);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},9261:(e,t,r)=>{"use strict";var n=r(1061),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},8389:(e,t,r)=>{"use strict";var n=r(8280),s=Object;e.exports=function(e){return s(n(e))}},6561:(e,t,r)=>{"use strict";var n=r(200),s=r(8257),i=r(6753),o=r(2833),a=r(2483),c=r(379),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,c=o(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!s(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},9722:(e,t,r)=>{"use strict";var n=r(6561),s=r(6753);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},6694:(e,t,r)=>{"use strict";var n={};n[r(379)("toStringTag")]="z",e.exports="[object z]"===String(n)},4809:(e,t,r)=>{"use strict";var n=r(2327),s=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},5787:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9216:(e,t,r)=>{"use strict";var n=r(8814),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},9378:(e,t,r)=>{"use strict";var n=r(3772);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4210:(e,t,r)=>{"use strict";var n=r(1815),s=r(2998);e.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8268:(e,t,r)=>{"use strict";var n=r(8426),s=r(8563),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},379:(e,t,r)=>{"use strict";var n=r(8426),s=r(3771),i=r(3941),o=r(9216),a=r(3772),c=r(9378),u=n.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},9791:(e,t,r)=>{"use strict";var n=r(6589),s=r(3941),i=r(1370),o=r(7367),a=r(8597),c=r(1318),u=r(3142),l=r(9330),p=r(5517),h=r(1609),m=r(4151),d=r(1815),f=r(7736);e.exports=function(e,t,r,_){var y="stackTraceLimit",g=_?2:1,b=e.split("."),v=b[b.length-1],w=n.apply(null,b);if(w){var E=w.prototype;if(!f&&s(E,"cause")&&delete E.cause,!r)return w;var x=n("Error"),S=t((function(e,t){var r=p(_?t:e,void 0),n=_?new w(e):new w;return void 0!==r&&i(n,"message",r),m(n,S,n.stack,2),this&&o(E,this)&&l(n,this,S),arguments.length>g&&h(n,arguments[g]),n}));if(S.prototype=E,"Error"!==v?a?a(S,x):c(S,x,{name:!0}):d&&y in w&&(u(S,w,y),u(S,w,"prepareStackTrace")),c(S,w),!f)try{E.name!==v&&i(E,"name",v),E.constructor=S}catch(e){}return S}}},1835:(e,t,r)=>{"use strict";var n=r(9011),s=r(6589),i=r(4877),o=r(2998),a=r(9791),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,r){return i(e,this,arguments)}}),l,!0)})},1320:(e,t,r)=>{"use strict";var n=r(9011),s=r(7367),i=r(9814),o=r(8597),a=r(1318),c=r(1504),u=r(1370),l=r(7971),p=r(1609),h=r(4151),m=r(3490),d=r(5517),f=r(379)("toStringTag"),_=Error,y=[].push,g=function(e,t){var r,n=s(b,this);o?r=o(new _,n?i(this):b):(r=n?this:c(b),u(r,f,"Error")),void 0!==t&&u(r,"message",d(t)),h(r,g,r.stack,1),arguments.length>2&&p(r,arguments[2]);var a=[];return m(e,y,{that:a}),u(r,"errors",a),r};o?o(g,_):a(g,_,{name:!0});var b=g.prototype=c(_.prototype,{constructor:l(1,g),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},733:(e,t,r)=>{"use strict";r(1320)},6449:(e,t,r)=>{"use strict";var n=r(4312),s=r(7171),i=r(2444),o=r(8551),a=r(4376).f,c=r(5994),u=r(9497),l=r(7736),p=r(1815),h="Array Iterator",m=o.set,d=o.getterFor(h);e.exports=c(Array,"Array",(function(e,t){m(this,{type:h,target:n(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var f=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==f.name)try{a(f,"name",{value:"values"})}catch(e){}},2777:(e,t,r)=>{"use strict";var n=r(9011),s=r(8426),i=r(4877),o=r(9791),a="WebAssembly",c=s[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},p=function(e,t){if(c&&c[e]){var r={};r[e]=o(a+"."+e,t,u),n({target:a,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),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)}}))},9383:(e,t,r)=>{"use strict";var n=r(7415).charAt,s=r(4809),i=r(8551),o=r(5994),a=r(9497),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:s(e),index:0})}),(function(){var e,t=l(this),r=t.string,s=t.index;return s>=r.length?a(void 0,!0):(e=n(r,s),t.index+=e.length,a(e,!1))}))},3584:(e,t,r)=>{"use strict";r(733)},6128:(e,t,r)=>{"use strict";r(6449);var n=r(8987),s=r(8426),i=r(2327),o=r(1370),a=r(2444),c=r(379)("toStringTag");for(var u in n){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},7497:(e,t,r)=>{"use strict";r(3584);var n=r(3258);r(6128),e.exports=n}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var s=n.length-1;s>-1&&!e;)e=n[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})();var n={};return(()=>{"use strict";r.r(n),r.d(n,{detect:()=>vh,detectionRegExp:()=>bh,mediaTypes:()=>gh,namespace:()=>Eh,parse:()=>wh});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>sr,includesClasses:()=>or,includesSymbols:()=>ir,isAnnotationElement:()=>Qt,isArrayElement:()=>Ht,isBooleanElement:()=>Jt,isCommentElement:()=>er,isElement:()=>zt,isLinkElement:()=>Xt,isMemberElement:()=>Zt,isNullElement:()=>Wt,isNumberElement:()=>Gt,isObjectElement:()=>Kt,isParseResultElement:()=>tr,isPrimitiveElement:()=>nr,isRefElement:()=>Yt,isSourceMapElement:()=>rr,isStringElement:()=>Ut});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>wo,isJSONSchemaElement:()=>vo,isLinkDescriptionElement:()=>xo,isMediaElement:()=>Eo});var s={};r.r(s),r.d(s,{isOpenApi3_0LikeElement:()=>Ho,isOpenApiExtension:()=>ra,isParameterLikeElement:()=>Zo,isReferenceLikeElement:()=>Xo,isRequestBodyLikeElement:()=>Yo,isResponseLikeElement:()=>Qo,isServerLikeElement:()=>ea,isTagLikeElement:()=>ta});var i={};function o(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(r){return 0===arguments.length||o(r)?t:e.apply(this,arguments)}}function c(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return o(r)?t:a((function(t){return e(r,t)}));default:return o(r)&&o(n)?t:o(r)?a((function(t){return e(t,n)})):o(n)?a((function(t){return e(r,t)})):e(r,n)}}}function u(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return o(r)?t:c((function(t,n){return e(r,t,n)}));case 2:return o(r)&&o(n)?t:o(r)?c((function(t,r){return e(t,n,r)})):o(n)?c((function(t,n){return e(r,t,n)})):a((function(t){return e(r,n,t)}));default:return o(r)&&o(n)&&o(s)?t:o(r)&&o(n)?c((function(t,r){return e(t,r,s)})):o(r)&&o(s)?c((function(t,r){return e(t,n,r)})):o(n)&&o(s)?c((function(t,n){return e(r,t,n)})):o(r)?a((function(t){return e(t,n,s)})):o(n)?a((function(t){return e(r,t,s)})):o(s)?a((function(t){return e(r,n,t)})):e(r,n,s)}}}r.r(i),r.d(i,{isBooleanJsonSchemaElement:()=>pc,isCallbackElement:()=>Ga,isComponentsElement:()=>Wa,isContactElement:()=>Ja,isExampleElement:()=>Ka,isExternalDocumentationElement:()=>Ha,isHeaderElement:()=>Za,isInfoElement:()=>Xa,isLicenseElement:()=>Ya,isLinkElement:()=>Qa,isMediaTypeElement:()=>fc,isOpenApi3_0Element:()=>tc,isOpenapiElement:()=>ec,isOperationElement:()=>rc,isParameterElement:()=>nc,isPathItemElement:()=>sc,isPathsElement:()=>ic,isReferenceElement:()=>oc,isRequestBodyElement:()=>ac,isResponseElement:()=>cc,isResponsesElement:()=>uc,isSchemaElement:()=>lc,isSecurityRequirementElement:()=>hc,isServerElement:()=>mc,isServerVariableElement:()=>dc,isServersElement:()=>_c});const l=c((function(e,t){return null==t||t!=t?e:t})),p=Number.isInteger||function(e){return e<<0===e};function h(e){return"[object String]"===Object.prototype.toString.call(e)}const m=c((function(e,t){var r=e<0?t.length+e:e;return h(t)?t.charAt(r):t[r]}));const d=c((function(e,t){if(null!=t)return p(e)?m(e,t):t[e]}));const f=u((function(e,t,r){return l(e,d(t,r))}));var _=c((function(e,t){for(var r={},n={},s=0,i=e.length;s<i;)n[e[s]]=1,s+=1;for(var o in t)n.hasOwnProperty(o)||(r[o]=t[o]);return r}));const y=_;function g(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}const b=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const v=a((function(e){return!!b(e)||!!e&&("object"==typeof e&&(!h(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var w="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,r){return function(n,s,i){if(v(i))return e(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(n,s,i,"fantasy-land/reduce");if(null!=i[w])return r(n,s,i[w]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return t(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function x(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function S(e,t,r,n){return r[n](e,t)}const j=E(g,S,x);function O(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!b(n)){for(var s=0;s<e.length;){if("function"==typeof n[e[s]])return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=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 r.apply(this,arguments)}}function P(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}const A=function(){return this.xf["@@transducer/init"]()},k=function(e){return this.xf["@@transducer/result"](e)};var M=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const N=function(e){return function(t){return new M(e,t)}};function R(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,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,s){return t.apply(this,arguments)};case 5:return function(e,r,n,s,i){return t.apply(this,arguments)};case 6:return function(e,r,n,s,i,o){return t.apply(this,arguments)};case 7:return function(e,r,n,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function I(e,t,r){return function(){for(var n=[],s=0,i=e,a=0,c=!1;a<t.length||s<arguments.length;){var u;a<t.length&&(!o(t[a])||s>=arguments.length)?u=t[a]:(u=arguments[s],s+=1),n[a]=u,o(u)?c=!0:i-=1,a+=1}return!c&&i<=0?r.apply(this,n):R(Math.max(0,i),I(e,n,r))}}const C=c((function(e,t){return 1===e?a(t):R(e,I(e,[],t))}));function T(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var F=Object.prototype.toString;const $=function(){return"[object Arguments]"===F.call(arguments)?function(e){return"[object Arguments]"===F.call(e)}:function(e){return T("callee",e)}}();var q=!{toString:null}.propertyIsEnumerable("toString"),L=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B=function(){return arguments.propertyIsEnumerable("length")}(),D=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1},V="function"!=typeof Object.keys||B?a((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=B&&$(e);for(t in e)!T(t,e)||s&&"length"===t||(n[n.length]=t);if(q)for(r=L.length-1;r>=0;)T(t=L[r],e)&&!D(n,t)&&(n[n.length]=t),r-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const z=V;const U=c(O(["fantasy-land/map","map"],N,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return C(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return g((function(r,n){return r[n]=e(t[n]),r}),{},z(t));default:return P(e,t)}})));const G=c((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(r){return e(r)(t(r))}:j((function(e,r){return function(e,t){var r;t=t||[];var n=(e=e||[]).length,s=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=t[r],r+=1;return i}(e,U(r,t))}),[],e)}));const W=c((function(e,t){var r=C(e,t);return C(e,(function(){return g(G,U(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const J=a((function(e){return W(e.length,e)}));const K=J(a((function(e){return!e})));function H(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function Z(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}const X="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Y=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function Q(e,t,r,n){var s=H(e);function i(e,t){return ee(e,t,r.slice(),n.slice())}return!Z((function(e,t){return!Z(i,t,e)}),H(t),s)}function ee(e,t,r,n){if(X(e,t))return!0;var s,i,o=Y(e);if(o!==Y(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!X(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!X(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===e)return n[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&Q(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&Q(e.values(),t.values(),r.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=z(e);if(c.length!==z(t).length)return!1;var u=r.concat([e]),l=n.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!T(p,t)||!ee(t[p],e[p],u,l))return!1;a-=1}return!0}const te=c((function(e,t){return ee(e,t,[],[])}));const re=a((function(e){return function(){return e}}));const ne=re(void 0);const se=te(ne());const ie=K(se);var oe=r(7952);function ae(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ce(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const ue=c((function(e,t){return R(e.length,(function(){return e.apply(t,arguments)}))}));function le(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function pe(e,t,r,n){return e["@@transducer/result"](r[n](ue(e["@@transducer/step"],e),t))}const he=E(ce,pe,le);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const de=u((function(e,t,r){return he("function"==typeof e?new me(e):e,t,r)}));function fe(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return b(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const _e=u(fe("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const ye=a(fe("tail",_e(1,1/0)));function ge(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return R(arguments[0].length,de(ae,arguments[0],ye(arguments)))}var be=function(e,t){switch(arguments.length){case 0:return be;case 1:return function t(r){return 0===arguments.length?t:X(e,r)};default:return X(e,t)}};const ve=be;function we(e,t){return function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s===n)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(te(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}function Ee(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var xe=function(e){return(e<10?"0":"")+e};const Se="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+xe(e.getUTCMonth()+1)+"-"+xe(e.getUTCDate())+"T"+xe(e.getUTCHours())+":"+xe(e.getUTCMinutes())+":"+xe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function je(e){return"[object Object]"===Object.prototype.toString.call(e)}var Oe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Pe(e){return function(t){return new Oe(e,t)}}const Ae=c(O(["fantasy-land/filter","filter"],Pe,(function(e,t){return je(t)?g((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},z(t)):function(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}(e,t)})));const ke=c((function(e,t){return Ae((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function Me(e,t){var r=function(r){var n=t.concat([e]);return we(r,n)?"<Circular>":Me(r,n)},n=function(e,t){return P((function(t){return Ee(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+P(r,e).join(", ")+"))";case"[object Array]":return"["+P(r,e).concat(n(e,ke((function(e){return/^\d+$/.test(e)}),z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):Ee(Se(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":Ee(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+n(e,z(e)).join(", ")+"}"}}const Ne=a((function(e){return Me(e,[])}));const Re=c((function(e,t){return e.map((function(e){for(var r,n=t,s=0;s<e.length;){if(null==n)return;r=e[s],n=p(r)?m(r,n):n[r],s+=1}return n}))}));const Ie=c((function(e,t){return Re([e],t)[0]}));const Ce=u((function(e,t,r){return e(Ie(t,r))}));function Te(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Fe=c((function(e,t){return e&&t}));const $e=c((function(e,t){return Te(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:J(Fe)(e,t)}));const qe=te(null);const Le=K(qe);function Be(e){return Be="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},Be(e)}const De=function(e){return"object"===Be(e)};const Ve=C(1,$e(Le,De));const ze=c((function(e,t){if(e===t)return t;function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t);if(void 0!==n)return n;var s=r(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=Ne(e),o=r(i,Ne(t));return void 0!==o&&o===i?e:t}));const Ue=c((function(e,t){return U(d(e),t)}));const Ge=a((function(e){return C(de(ze,0,Ue("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const We=C(1,ge(Y,ve("GeneratorFunction")));const Je=C(1,ge(Y,ve("AsyncFunction")));const Ke=Ge([ge(Y,ve("Function")),We,Je]);var He=ge(Y,ve("Object")),Ze=ge(Ne,te(Ne(Object))),Xe=Ce($e(Ke,Ze),["constructor"]);const Ye=C(1,(function(e){if(!Ve(e)||!He(e))return!1;var t=Object.getPrototypeOf(e);return!!qe(t)||Xe(t)}));class Qe extends oe.RP{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const et=Qe;class tt extends oe.RP{constructor(e,t,r){super(e,t,r),this.element="comment"}}const rt=tt;class nt extends oe.ON{constructor(e,t,r){super(e,t,r),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(se(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const st=nt;class it extends oe.ON{constructor(e,t,r){super(e,t,r),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 oe.ON([e.start.row,e.start.column,e.start.char]),r=new oe.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const ot=it;class at extends oe.lS{constructor(){super(),this.register("annotation",et),this.register("comment",rt),this.register("parseResult",st),this.register("sourceMap",ot)}}const ct=new at,ut=e=>{const t=new at;return Ye(e)&&t.use(e),t},lt=ct;const pt=C(1,ge(Y,ve("String"))),ht=r.p+"23aac571c96605dc25219087ad291441.wasm",mt=globalThis.fetch;Ke(mt)&&(globalThis.fetch=(...e)=>pt(e[0])&&e[0].endsWith("tree-sitter.wasm")?mt.apply(globalThis,[ht,ye(e)]):mt.apply(globalThis,e));var dt=r(9794),ft=r(1427);const _t=class extends ft{constructor(e,t,r){if(super(e,t,r),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:e}=r;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class yt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(_t,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const gt=yt,bt=r.p+"13ee407b2f9bd26c94370902ddeb5bcf.wasm";let vt=null,wt=null;const Et=async e=>{if(null===vt&&null===wt)wt=dt.init().then((()=>dt.Language.load(bt))).then((e=>{const t=new dt;return t.setLanguage(e),t})).finally((()=>{wt=null})),vt=await wt;else if(null===vt&&null!==wt)vt=await wt;else if(null===vt)throw new gt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return vt.parse(e)};const xt=class extends gt{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...r}=t;Object.assign(this,r)}}},St=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},jt={},Ot=e=>null==e?void 0:e.type,Pt=e=>"string"==typeof Ot(e),At=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),kt=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=jt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=St,nodeTypeGetter:c=Ot,nodePredicate:u=Pt,nodeCloneFn:l=At,detectCycles:p=!0}={})=>{const h=r||{};let m,d,f=Array.isArray(e),_=[e],y=-1,g=[],b=e;const v=[],w=[];do{y+=1;const e=y===_.length;let r;const x=e&&0!==g.length;if(e){if(r=0===w.length?void 0:v.pop(),b=d,d=w.pop(),x)if(f){b=b.slice();let e=0;for(const[t,r]of g){const n=t-e;r===i?(b.splice(n,1),e+=1):b[n]=r}}else{b=l(b);for(const[e,t]of g)b[e]=t}y=m.index,_=m.keys,g=m.edits,f=m.inArray,m=m.prev}else if(d!==i&&void 0!==d){if(r=f?y:_[y],b=d[r],b===i||void 0===b)continue;v.push(r)}let S;if(!Array.isArray(b)){if(!u(b))throw new xt(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){v.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;S=i.call(t,b,r,d,v,w)}if(S===s)break;if(S===o){if(!e){v.pop();continue}}else if(void 0!==S&&(g.push([r,S]),!e)){if(!u(S)){v.pop();continue}b=S}}var E;if(void 0===S&&x&&g.push([r,b]),!e)m={inArray:f,index:y,keys:_,edits:g,prev:m},f=Array.isArray(b),_=f?b:null!==(E=h[c(b)])&&void 0!==E?E:[],y=-1,g=[],d!==i&&void 0!==d&&w.push(d),d=b}while(void 0!==m);return 0!==g.length?g[g.length-1][1]:e};kt[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=jt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=St,nodeTypeGetter:c=Ot,nodePredicate:u=Pt,nodeCloneFn:l=At,detectCycles:p=!0}={})=>{const h=r||{};let m,d,f=Array.isArray(e),_=[e],y=-1,g=[],b=e;const v=[],w=[];do{y+=1;const e=y===_.length;let r;const x=e&&0!==g.length;if(e){if(r=0===w.length?void 0:v.pop(),b=d,d=w.pop(),x)if(f){b=b.slice();let e=0;for(const[t,r]of g){const n=t-e;r===i?(b.splice(n,1),e+=1):b[n]=r}}else{b=l(b);for(const[e,t]of g)b[e]=t}y=m.index,_=m.keys,g=m.edits,f=m.inArray,m=m.prev}else if(d!==i&&void 0!==d){if(r=f?y:_[y],b=d[r],b===i||void 0===b)continue;v.push(r)}let S;if(!Array.isArray(b)){if(!u(b))throw new xt(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){v.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;S=await i.call(t,b,r,d,v,w)}if(S===s)break;if(S===o){if(!e){v.pop();continue}}else if(void 0!==S&&(g.push([r,S]),!e)){if(!u(S)){v.pop();continue}b=S}}var E;if(void 0===S&&x&&g.push([r,b]),!e)m={inArray:f,index:y,keys:_,edits:g,prev:m},f=Array.isArray(b),_=f?b:null!==(E=h[c(b)])&&void 0!==E?E:[],y=-1,g=[],d!==i&&void 0!==d&&w.push(d),d=b}while(void 0!==m);return 0!==g.length?g[g.length-1][1]:e};var Mt=r(6591);const Nt=function(){return!1};function Rt(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var It=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=A,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=Rt(this.xf["@@transducer/step"](e,!1))),e},e}();function Ct(e){return function(t){return new It(e,t)}}const Tt=c(O(["all"],Ct,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));const Ft=a((function(e){return C(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}))(c(we)),$t=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],qt=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Lt=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Bt=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof oe.ON)&&t.classes.includes(e),Dt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Vt=e=>e({hasMethod:$t,hasBasicElementProps:qt,primitiveEq:Lt,isElementType:Dt,hasClass:Bt}),zt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.W_||e(r)&&t(void 0,r))),Ut=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.RP||e(r)&&t("string",r))),Gt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.VL||e(r)&&t("number",r))),Wt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.zr||e(r)&&t("null",r))),Jt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.hh||e(r)&&t("boolean",r))),Kt=Vt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof oe.Sb||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),Ht=Vt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof oe.ON&&!(n instanceof oe.Sb)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Zt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof oe.c6||e(n)&&t("member",n)&&r(void 0,n))),Xt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof oe.EA||e(n)&&t("link",n)&&r(void 0,n))),Yt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof oe.tK||e(n)&&t("ref",n)&&r(void 0,n))),Qt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof et||e(n)&&t("annotation",n)&&r("array",n))),er=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof rt||e(n)&&t("comment",n)&&r("string",n))),tr=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof st||e(n)&&t("parseResult",n)&&r("array",n))),rr=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ot||e(n)&&t("sourceMap",n)&&r("array",n))),nr=e=>Dt("object",e)||Dt("array",e)||Dt("boolean",e)||Dt("number",e)||Dt("string",e)||Dt("null",e)||Dt("member",e),sr=e=>rr(e.meta.get("sourceMap")),ir=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!Ht(r)&&Tt(Ft(r.toValue()),e)},or=(e,t)=>0===e.length||Tt(Ft(t.classes.toValue()),e);const ar=class extends xt{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const cr=class extends ar{};const ur=class extends ar{},lr=(e,t={})=>{const{visited:r=new WeakMap}=t,n={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof oe.KeyValuePair){const{key:t,value:s}=e,i=zt(t)?lr(t,n):t,o=zt(s)?lr(s,n):s,a=new oe.KeyValuePair(i,o);return r.set(e,a),a}if(e instanceof oe.rm){const t=e=>lr(e,n),s=[...e].map(t),i=new oe.rm(s);return r.set(e,i),i}if(e instanceof oe.O4){const t=e=>lr(e,n),s=[...e].map(t),i=new oe.O4(s);return r.set(e,i),i}if(zt(e)){const t=mr(e);if(r.set(e,t),e.content)if(zt(e.content))t.content=lr(e.content,n);else if(e.content instanceof oe.KeyValuePair)t.content=lr(e.content,n);else if(Array.isArray(e.content)){const r=e=>lr(e,n);t.content=e.content.map(r)}else t.content=e.content;else t.content=e.content;return t}throw new cr("Value provided to cloneDeep function couldn't be cloned",{value:e})};lr.safe=e=>{try{return lr(e)}catch{return e}};const pr=e=>{const{key:t,value:r}=e;return new oe.KeyValuePair(t,r)},hr=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=lr(e.meta)),e.attributes.length>0&&(t._attributes=lr(e.attributes)),zt(e.content)){const r=e.content;t.content=hr(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof oe.KeyValuePair?t.content=pr(e.content):t.content=e.content;return t},mr=e=>{if(e instanceof oe.KeyValuePair)return pr(e);if(e instanceof oe.rm)return(e=>{const t=[...e];return new oe.rm(t)})(e);if(e instanceof oe.O4)return(e=>{const t=[...e];return new oe.O4(t)})(e);if(zt(e))return hr(e);throw new ur("Value provided to cloneShallow function couldn't be cloned",{value:e})};mr.safe=e=>{try{return mr(e)}catch{return e}};const dr=e=>Kt(e)?"ObjectElement":Ht(e)?"ArrayElement":Zt(e)?"MemberElement":Ut(e)?"StringElement":Jt(e)?"BooleanElement":Gt(e)?"NumberElement":Wt(e)?"NullElement":Xt(e)?"LinkElement":Yt(e)?"RefElement":void 0,fr=e=>zt(e)?mr(e):At(e),_r=ge(dr,pt),yr={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},gr=(Mt({props:{result:[],predicate:Nt,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=r},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:r=yr,...n}={})=>kt(e,t,{keyMap:r,nodeTypeGetter:dr,nodePredicate:_r,nodeCloneFn:fr,...n}));gr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=yr,...n}={})=>kt[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:dr,nodePredicate:_r,nodeCloneFn:fr,...n});const br=u((function(e,t,r){var n,s={};for(n in r=r||{},t=t||{})T(n,t)&&(s[n]=T(n,r)?e(n,t[n],r[n]):t[n]);for(n in r)T(n,r)&&!T(n,s)&&(s[n]=r[n]);return s}));const vr=u((function e(t,r,n){return br((function(r,n,s){return je(n)&&je(s)?e(t,n,s):t(r,n,s)}),r,n)}));const wr=c((function(e,t){return vr((function(e,t,r){return r}),e,t)}));const Er=_e(0,-1);const xr=c((function(e,t){return e.apply(this,t)}));const Sr=K(Ke);var jr=a((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():b(e)?[]:h(e)?"":je(e)?{}:$(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Or=jr;const Pr=a((function(e){return null!=e&&te(e,Or(e))}));const Ar=C(1,Ke(Array.isArray)?Array.isArray:ge(Y,ve("Array")));const kr=$e(Ar,Pr);const Mr=C(3,(function(e,t,r){var n=Ie(e,r),s=Ie(Er(e),r);if(!Sr(n)&&!kr(e)){var i=ue(n,s);return xr(i,t)}})),Nr=()=>({predicates:{...e},namespace:lt}),Rr={toolboxCreator:Nr,visitorOptions:{nodeTypeGetter:dr,exposeEdits:!0}},Ir=(e,t,r={})=>{if(0===t.length)return e;const n=wr(Rr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=St,nodeTypeGetter:r=Ot,breakSymbol:n=jt,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(u,...l){let p=u,h=!1;for(let m=0;m<e.length;m+=1)if(c[m]===a){const a=t(e[m],r(p),!1);if("function"==typeof a){const t=a.call(e[m],p,...l);if(t===i)c[m]=u;else if(t===n)c[m]=n;else{if(t===s)return t;if(void 0!==t){if(!o)return t;p=t,h=!0}}}}return h?p:void 0},leave(s,...o){for(let u=0;u<e.length;u+=1)if(c[u]===a){const a=t(e[u],r(s),!0);if("function"==typeof a){const t=a.call(e[u],s,...o);if(t===n)c[u]=n;else if(void 0!==t&&t!==i)return t}}else c[u]===s&&(c[u]=a)}}})(a.map(f({},"visitor")),{...i});a.forEach(Mr(["pre"],[]));const u=gr(e,c,i);return a.forEach(Mr(["post"],[])),u},Cr=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return Ir(n,r,{toolboxCreator:Nr,visitorOptions:{nodeTypeGetter:dr}})},Tr=e=>(t,r={})=>Cr(t,{...r,Type:e});oe.Sb.refract=Tr(oe.Sb),oe.ON.refract=Tr(oe.ON),oe.RP.refract=Tr(oe.RP),oe.hh.refract=Tr(oe.hh),oe.zr.refract=Tr(oe.zr),oe.VL.refract=Tr(oe.VL),oe.EA.refract=Tr(oe.EA),oe.tK.refract=Tr(oe.tK),et.refract=Tr(et),rt.refract=Tr(rt),st.refract=Tr(st),ot.refract=Tr(ot);const Fr=class{hasError=!1;children=[];constructor(e){this.type=e.nodeType,this.startPosition=e.startPosition,this.endPosition=e.endPosition,this.startIndex=e.startIndex,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}setFieldName(e){return"function"==typeof e.currentFieldName?this.fieldName=e.currentFieldName():this.fieldName=e.currentFieldName,this}setHasError(e){return"function"==typeof e.currentNode?this.hasError=e.currentNode().hasError():this.hasError=e.currentNode.hasError(),this}pushChildren(...e){this.children.push(...e)}};class $r{static toPosition(e){const t=new oe.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),r=new oe.ON([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),r.classes.push("position"),[t,r]}sourceMap=!1;ParseResultElement={leave:e=>{const t=e.findElements(nr);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}enter(e){if(e instanceof Fr&&!e.isNamed&&e.isMissing){const t=e.type||e.text,r=new et(`(Missing ${t})`);r.classes.push("warning"),this.maybeAddSourceMap(e,r),this.annotations.push(r)}return null}document(e){const t=new st;return t._content=e.children,this.maybeAddSourceMap(e,t),t}object(e){const t=new oe.Sb;return t._content=e.children,this.maybeAddSourceMap(e,t),t}array(e){const t=new oe.ON;return t._content=e.children,this.maybeAddSourceMap(e,t),t}pair(e){const t=new oe.c6;return t.content.key=e.keyNode,t.content.value=e.valueNode,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"ERROR"===e.type)).forEach((t=>{this.ERROR(t,e,[],[e])})),t}string(e){const t=new oe.RP(JSON.parse(e.text));return this.maybeAddSourceMap(e,t),t}number(e){const t=new oe.VL(Number(e.text));return this.maybeAddSourceMap(e,t),t}null(e){const t=new oe.zr;return this.maybeAddSourceMap(e,t),t}true(e){const t=new oe.hh(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new oe.hh(!1);return this.maybeAddSourceMap(e,t),t}ERROR(e,t,r,n){const s=!e.hasError,i=e.text,o=new et(s?`(Unexpected ${i})`:`(Error ${i})`);if(o.classes.push("error"),this.maybeAddSourceMap(e,o),0===n.length){const e=new st;return e.push(o),e}return this.annotations.push(o),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const r=new ot,n=$r.toPosition(e);if(null!==n){const[e,t]=n;r.push(e),r.push(t)}r.astNode=e,t.meta.set("sourceMap",r)}}const qr=$r;class Lr{constructor(e){this.cursor=e}document(){return new Fr(this.cursor)}object(){return new Fr(this.cursor).setFieldName(this.cursor)}array(){return new Fr(this.cursor).setFieldName(this.cursor)}pair(){return new Fr(this.cursor)}string(){return new Fr(this.cursor).setFieldName(this.cursor)}number(){return new Fr(this.cursor).setFieldName(this.cursor)}null(){return new Fr(this.cursor).setFieldName(this.cursor)}true(){return new Fr(this.cursor).setFieldName(this.cursor)}false(){return new Fr(this.cursor).setFieldName(this.cursor)}ERROR(){return new Fr(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Fr(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Lr(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new Lr(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const Br=Lr,Dr={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...yr},Vr=e=>tr(e)?"ParseResultElement":zt(e)?dr(e):Ot(e),zr=e=>zt(e)||Pt(e),Ur=(e,{sourceMap:t=!1}={})=>{const r=new qr,n=e.walk(),s=new Br(n),[i]=Array.from(s);return kt(i,r,{keyMap:Dr,nodeTypeGetter:Vr,nodePredicate:zr,state:{sourceMap:t}})},Gr=Mt({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init({row:e=null,column:t=null,char:r=null}={}){this.row=e,this.column=t,this.char=r}}),Wr=Mt({statics:{type:"position"},props:{type:"position",start:null,end:null},init({start:e=null,end:t=null}={}){this.start=e,this.end=t}});const Jr=m(0),Kr=Mt({props:{type:null,position:null,children:[]},init({children:e=[],position:t=null,isMissing:r=!1}={},{stamp:n={}}){this.type=n.type,this.isMissing=r,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const r=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,r)})),e}}}),Hr=Mt(Kr),Zr=Mt(Hr,{statics:{type:"document"},methods:{get child(){return Jr(this.children)}}}),Xr=Mt(Kr,{statics:{type:"parseResult"},methods:{get rootNode(){return Jr(this.children)}}}),Yr=Mt(Kr,{statics:{type:"literal"},props:{value:null},init({value:e=null}={}){this.value=e}}),Qr=(e,t)=>(null==t?void 0:t.type)===e,en=(Qr.bind(void 0,"literal"),Qr.bind(void 0,"position"),Qr.bind(void 0,"point"),Qr.bind(void 0,"parseResult"),Qr.bind(void 0,"document"),Qr.bind(void 0,"string")),tn=Qr.bind(void 0,"false"),rn=Qr.bind(void 0,"true"),nn=Qr.bind(void 0,"null"),sn=Qr.bind(void 0,"number"),on=Qr.bind(void 0,"array"),an=Qr.bind(void 0,"object"),cn=Qr.bind(void 0,"stringContent"),un=Qr.bind(void 0,"escapeSequence"),ln=Qr.bind(void 0,"property"),pn=Qr.bind(void 0,"key"),hn=Mt(Hr,{statics:{type:"object"},methods:{get properties(){return this.children.filter(ln)}}}),mn=Mt(Hr,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((e=>cn(e)||un(e))).reduce(((e,t)=>e+t.value),"")}}}),dn=Mt(mn,{statics:{type:"key"}}),fn=Mt(Hr,{statics:{type:"property"},methods:{get key(){return this.children.find(pn)},get value(){return this.children.find((e=>tn(e)||rn(e)||nn(e)||sn(e)||en(e)||on(e)||an(e)))}}}),_n=Mt(Hr,{statics:{type:"array"},methods:{get items(){return this.children.filter((e=>tn(e)||rn(e)||nn(e)||sn(e)||en(e)||on(e)||an))}}}),yn=Mt(Hr,{statics:{type:"value"},props:{value:null},init({value:e=null}={}){this.value=e}}),gn=Mt(yn,{statics:{type:"stringContent"}}),bn=Mt(yn,{statics:{type:"number"}}),vn=Mt(yn,{statics:{type:"null"}}),wn=Mt(yn,{statics:{type:"true"}}),En=Mt(yn,{statics:{type:"false"}}),xn=Mt(Kr,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init({value:e=null,isUnexpected:t=!1}={}){this.value=e,this.isUnexpected=t}}),Sn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]};class jn{static toPosition(e){const t=Gr({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),r=Gr({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return Wr({start:t,end:r})}document={enter:e=>{const t=jn.toPosition(e);return Zr({children:e.children,position:t,isMissing:e.isMissing})},leave:e=>Xr({children:[e]})};enter(e){if(e instanceof Fr&&!e.isNamed){const t=jn.toPosition(e),r=e.type||e.text,{isMissing:n}=e;return Yr({value:r,position:t,isMissing:n})}}object(e){const t=jn.toPosition(e);return hn({children:e.children,position:t,isMissing:e.isMissing})}pair(e){const t=jn.toPosition(e),r=e.children.slice(1),{keyNode:n}=e,s=dn({children:(null==n?void 0:n.children)||[],position:null!=n?jn.toPosition(n):null,isMissing:null!=n&&n.isMissing});return fn({children:[s,...r],position:t,isMissing:e.isMissing})}array(e){const t=jn.toPosition(e);return _n({children:e.children,position:t,isMissing:e.isMissing})}string(e){const t=jn.toPosition(e),r=gn({value:JSON.parse(e.text)});return mn({children:[r],position:t,isMissing:e.isMissing})}number(e){const t=jn.toPosition(e),r=e.text;return bn({value:r,position:t,isMissing:e.isMissing})}null(e){const t=jn.toPosition(e),r=e.text;return vn({value:r,position:t,isMissing:e.isMissing})}true(e){const t=jn.toPosition(e),r=e.text;return wn({value:r,position:t,isMissing:e.isMissing})}false(e){const t=jn.toPosition(e),r=e.text;return En({value:r,position:t,isMissing:e.isMissing})}ERROR(e,t,r,n){const s=jn.toPosition(e),i=xn({children:e.children,position:s,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text});return 0===n.length?Xr({children:[i]}):i}}const On=jn,Pn={[Xr.type]:["children"],[Zr.type]:["children"],[hn.type]:["children"],[fn.type]:["children"],[_n.type]:["children"],[xn.type]:["children"],...yr},An=e=>tr(e)?"ParseResultElement":zt(e)?dr(e):Ot(e),kn=e=>zt(e)||Pt(e);const Mn=class{sourceMap=!1;ParseResultElement={leave:e=>{const t=e.findElements(nr);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}document(e){const t=new st;return t._content=e.children,t}object(e){const t=new oe.Sb;return t._content=e.children,this.maybeAddSourceMap(e,t),t}property(e){const t=new oe.c6;return t.content.key=e.key,t.content.value=e.value,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"error"===e.type)).forEach((t=>{this.error(t,e,[],[e])})),t}key(e){const t=new oe.RP(e.value);return this.maybeAddSourceMap(e,t),t}array(e){const t=new oe.ON;return t._content=e.children,this.maybeAddSourceMap(e,t),t}string(e){const t=new oe.RP(e.value);return this.maybeAddSourceMap(e,t),t}number(e){const t=new oe.VL(Number(e.value));return this.maybeAddSourceMap(e,t),t}null(e){const t=new oe.zr;return this.maybeAddSourceMap(e,t),t}true(e){const t=new oe.hh(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new oe.hh(!1);return this.maybeAddSourceMap(e,t),t}literal(e){if(e.isMissing){const t=`(Missing ${e.value})`,r=new et(t);r.classes.push("warning"),this.maybeAddSourceMap(e,r),this.annotations.push(r)}return null}error(e,t,r,n){const s=e.isUnexpected?`(Unexpected ${e.value})`:`(Error ${e.value})`,i=new et(s);if(i.classes.push("error"),this.maybeAddSourceMap(e,i),0===n.length){const e=new st;return e.push(i),e}return this.annotations.push(i),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const r=new ot;r.position=e.position,r.astNode=e,t.meta.set("sourceMap",r)}},Nn=(e,{sourceMap:t=!1}={})=>{const r=e.walk(),n=new Br(r),[s]=Array.from(n),i=new On,o=new Mn,a=kt(s,i,{keyMap:Sn,state:{sourceMap:t}});return kt(a.rootNode,o,{keyMap:Pn,nodeTypeGetter:An,nodePredicate:kn,state:{sourceMap:t}})},Rn=(ut(),/(?<true>^\s*true\s*$)|(?<false>^\s*false\s*$)|(?<null>^\s*null\s*$)|(?<number>^\s*\d+\s*$)|(?<object>^\s*{\s*)|(?<array>^\s*\[\s*)|(?<string>^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/);class In extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="callback"}}const Cn=In;class Tn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Fn=Tn;class $n extends oe.Sb{constructor(e,t,r){super(e,t,r),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 qn=$n;class Ln extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Bn=Ln;class Dn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Vn=Dn;class zn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Un=zn;class Gn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Wn=Gn;class Jn extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new oe.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.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(Jn.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Kn=Jn;class Hn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Zn=Hn;class Xn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Yn=Xn;class Qn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Ut(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):Ut(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 es=Qn;class ts extends oe.Sb{constructor(e,t,r){super(e,t,r),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 rs=ts;class ns extends oe.Sb{constructor(e,t,r){super(e,t,r),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 ss=ns;class is extends oe.Sb{constructor(e,t,r){super(e,t,r),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 os=is;class as extends oe.RP{constructor(e,t,r){super(e,t,r),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const cs=as;class us extends oe.Sb{constructor(e,t,r){super(e,t,r),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 ls=us;class ps extends oe.Sb{constructor(e,t,r){super(e,t,r),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 oe.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 hs=ps;class ms extends oe.Sb{constructor(e,t,r){super(e,t,r),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 oe.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.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(ms.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const ds=ms;class fs extends oe.Sb{constructor(e,t,r){super(e,t,r),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 _s=fs;class ys extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="paths"}}const gs=ys;class bs extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const vs=bs;class ws extends oe.Sb{constructor(e,t,r){super(e,t,r),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 oe.hh(!1)}set required(e){this.set("required",e)}}const Es=ws;class xs extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Ss=xs;class js extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const Os=js;const Ps=class extends gt{};class As extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const ks=As;class Ms extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Ns=Ms;class Rs extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Is=Rs;class Cs extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Ts=Cs;const Fs=c((function(e,t){return g((function(r,n){return r[n]=e(t[n],n,t),r}),{},z(t))}));const $s=a((function(e){return null==e}));const qs=c((function(e,t){if(0===e.length||$s(t))return!1;for(var r=t,n=0;n<e.length;){if($s(r)||!T(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));var Ls=c((function(e,t){return qs([e],t)}));const Bs=Ls;const Ds=u((function(e,t,r){return e(d(t,r))}));const Vs=a((function(e){return C(e.length,e)}));const zs=c((function(e,t){return C(e+1,(function(){var r=arguments[e];if(null!=r&&Te(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Ne(r)+' does not have a method named "'+t+'"')}))}));const Us=zs(1,"split");var Gs=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,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 Ws(e){return function(t){return new Gs(e,t)}}const Js=c(O(["dropWhile"],Ws,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return _e(r,1/0,t)})));const Ks=zs(1,"join");const Hs=Vs((function(e,t){return ge(Us(""),Js(Ft(e)),Ks(""))(t)})),Zs=(e,t)=>{const r=l(e,t);return Fs((e=>{if(Ye(e)&&Bs("$ref",e)&&Ds(pt,"$ref",e)){const t=Ie(["$ref"],e),n=Hs("#/",t);return Ie(n.split("/"),r)}return Ye(e)?Zs(e,r):e}),e)},Xs=Mt({props:{element:null},methods:{copyMetaAndAttributes(e,t){sr(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Ys=Mt(Xs,{methods:{enter(e){return this.element=lr(e),jt}}});const Qs=re(ne());const ei=function(){return!0},ti=e=>"string"==typeof(null==e?void 0:e.type)?e.type:dr(e),ri={EphemeralObject:["content"],EphemeralArray:["content"],...yr},ni=(e,t,{keyMap:r=ri,...n}={})=>gr(e,t,{keyMap:r,nodeTypeGetter:ti,nodePredicate:ei,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});ni[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ri,...r}={})=>gr[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:ti,nodePredicate:ei,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const si=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 ii=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))}},oi=Mt.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const r=new ii(t.content);return e.set(t,r),r}},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 r=new si(t.content);return e.set(t,r),r}},this.EphemeralArray={leave:e=>e.toArray()}})),ai=e=>zt(e)?Ut(e)||Gt(e)||Jt(e)||Wt(e)?e.toValue():ni(e,oi()):e;const ci=c((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r})),ui=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},li={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...yr},pi=Mt(Xs,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return ci(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ie(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ce(Ke,["visitors",...e],this.specObj)?Ie(["visitors",...e],this.specObj):Ie(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return this.retrieveVisitor(e)({...r,...t})},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return se(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?lr(t):(gr(t,n,{keyMap:li,nodeTypeGetter:ui,...r}),n.element)}}}),hi=Mt(pi,{props:{specPath:Qs,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(Ut(n)&&r.includes(ai(n))&&!this.ignoredFields.includes(ai(n))){const r=this.toRefractedElement([...t,"fixedFields",ai(n)],e),i=new oe.c6(lr(n),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(ai(n))||this.element.content.push(lr(s))})),this.copyMetaAndAttributes(e,this.element),jt}}}),mi=Mt(hi,Ys,{props:{specPath:re(["document","objects","JSONSchema"])},init(){this.element=new ks}}),di=Ys,fi=Ys,_i=Ys,yi=Ys,gi=Ys,bi=Ys,vi=Ys,wi=Ys,Ei=Ys,xi=Ys,Si=Mt({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),ji=e=>Kt(e)&&e.hasKey("$ref"),Oi=Mt(pi,Si,Ys,{methods:{ObjectElement(e){const t=ji(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),jt},ArrayElement(e){return this.element=new oe.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=ji(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),Pi=Ys,Ai=Ys,ki=Ys,Mi=Ys,Ni=Ys,Ri=Mt(Ys,{methods:{ArrayElement(e){return this.element=lr(e),this.element.classes.push("json-schema-required"),jt}}});const Ii=a((function(e){return C(de(ze,0,Ue("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Ci=c((function(e,t){return e||t}));const Ti=K(C(1,$e(Le,c((function(e,t){return Te(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:J(Ci)(e,t)}))(De,Ke))));const Fi=K(Pr);const $i=Ii([pt,Ti,Fi]),qi=Mt(pi,{props:{fieldPatternPredicate:Nt,specPath:Qs,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes(ai(t))&&this.fieldPatternPredicate(ai(t))){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new oe.c6(lr(t),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ai(t))||this.element.content.push(lr(r))})),this.copyMetaAndAttributes(e,this.element),jt}}}),Li=Mt(qi,{props:{fieldPatternPredicate:$i}}),Bi=Mt(Li,Si,Ys,{props:{specPath:e=>ji(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-properties")}}),Di=Mt(Li,Si,Ys,{props:{specPath:e=>ji(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-patternProperties")}}),Vi=Mt(Li,Si,Ys,{props:{specPath:e=>ji(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-dependencies")}}),zi=Mt(Ys,{methods:{ArrayElement(e){return this.element=lr(e),this.element.classes.push("json-schema-enum"),jt}}}),Ui=Mt(Ys,{methods:{StringElement(e){return this.element=lr(e),this.element.classes.push("json-schema-type"),jt},ArrayElement(e){return this.element=lr(e),this.element.classes.push("json-schema-type"),jt}}}),Gi=Mt(pi,Si,Ys,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ji(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),Wi=Mt(pi,Si,Ys,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ji(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),Ji=Mt(pi,Si,Ys,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ji(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),Ki=Mt(Li,Si,Ys,{props:{specPath:e=>ji(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-definitions")}}),Hi=Ys,Zi=Ys,Xi=Ys,Yi=Ys,Qi=Ys,eo=Mt(pi,Si,Ys,{init(){this.element=new oe.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),jt}}}),to=Ys,ro=Mt(hi,Ys,{props:{specPath:re(["document","objects","JSONReference"])},init(){this.element=new Ns},methods:{ObjectElement(e){const t=hi.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),no=Mt(Ys,{methods:{StringElement(e){return this.element=lr(e),this.element.classes.push("reference-value"),jt}}});const so=u((function(e,t,r){return C(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const io=a((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));var oo=c((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const ao=oo;const co=a(Rt);const uo=K($s);const lo=$e(Ar,Fi);function po(e){return function(e){if(Array.isArray(e))return ho(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 ho(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ho(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 ho(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var mo=ge(ao(io((function(e,t){return e.length>t.length}))),Jr,d("length")),fo=Vs((function(e,t,r){var n=r.apply(void 0,po(e));return uo(n)?co(n):t}));const _o=so(lo,(function(e){var t=mo(e);return C(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return de(fo(r),void 0,e)}))}),ne),yo=Mt(pi,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>so(e,re(t),ne))),r=_o(t)(e);return this.element=this.toRefractedElement(r,e),jt}}}),go=Mt(yo,{props:{alternator:[{predicate:ji,specPath:["document","objects","JSONReference"]},{predicate:ei,specPath:["document","objects","JSONSchema"]}]}}),bo={visitors:{value:Ys,JSONSchemaOrJSONReferenceVisitor:go,document:{objects:{JSONSchema:{$visitor:mi,fixedFields:{id:di,$schema:fi,multipleOf:_i,maximum:yi,exclusiveMaximum:gi,minimum:bi,exclusiveMinimum:vi,maxLength:wi,minLength:Ei,pattern:xi,additionalItems:go,items:Oi,maxItems:Pi,minItems:Ai,uniqueItems:ki,maxProperties:Mi,minProperties:Ni,required:Ri,properties:Bi,additionalProperties:go,patternProperties:Di,dependencies:Vi,enum:zi,type:Ui,allOf:Gi,anyOf:Wi,oneOf:Ji,not:go,definitions:Ki,title:Hi,description:Zi,default:Xi,format:Yi,base:Qi,links:eo,media:{$ref:"#/visitors/document/objects/Media"},readOnly:to}},JSONReference:{$visitor:ro,fixedFields:{$ref:no}},Media:{$visitor:Mt(hi,Ys,{props:{specPath:re(["document","objects","Media"])},init(){this.element=new Is}}),fixedFields:{binaryEncoding:Ys,type:Ys}},LinkDescription:{$visitor:Mt(hi,Ys,{props:{specPath:re(["document","objects","LinkDescription"])},init(){this.element=new Ts}}),fixedFields:{href:Ys,rel:Ys,title:Ys,targetSchema:go,mediaType:Ys,method:Ys,encType:Ys,schema:go}}}}}},vo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ks||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),wo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ns||e(n)&&t("JSONReference",n)&&r("object",n))),Eo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Is||e(n)&&t("media",n)&&r("object",n))),xo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ts||e(n)&&t("linkDescription",n)&&r("object",n))),So={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",ks),t.register("jSONReference",Ns),t.register("media",Is),t.register("linkDescription",Ts),t}},jo=()=>{const e=ut(So);return{predicates:{...t,isStringElement:Ut},namespace:e}},Oo=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=bo}={})=>{const s=(0,oe.Qc)(e),i=Zs(n),o=Mr(t,[],i);return gr(s,o,{state:{specObj:i}}),Ir(o.element,r,{toolboxCreator:jo,visitorOptions:{keyMap:li,nodeTypeGetter:ui}})},Po=e=>(t,r={})=>Oo(t,{specPath:e,...r});ks.refract=Po(["visitors","document","objects","JSONSchema","$visitor"]),Ns.refract=Po(["visitors","document","objects","JSONReference","$visitor"]),Is.refract=Po(["visitors","document","objects","Media","$visitor"]),Ts.refract=Po(["visitors","document","objects","LinkDescription","$visitor"]);const Ao=class extends ks{constructor(e,t,r){super(e,t,r),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new Ps("idProp getter in Schema class is not not supported.")}set idProp(e){throw new Ps("idProp setter in Schema class is not not supported.")}get $schema(){throw new Ps("$schema getter in Schema class is not not supported.")}set $schema(e){throw new Ps("$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 Ps("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new Ps("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new Ps("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new Ps("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 Ps("definitions getter in Schema class is not not supported.")}set definitions(e){throw new Ps("definitions setter in Schema class is not not supported.")}get base(){throw new Ps("base getter in Schema class is not not supported.")}set base(e){throw new Ps("base setter in Schema class is not not supported.")}get links(){throw new Ps("links getter in Schema class is not not supported.")}set links(e){throw new Ps("links setter in Schema class is not not supported.")}get media(){throw new Ps("media getter in Schema class is not not supported.")}set media(e){throw new Ps("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 ko extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="securityRequirement"}}const Mo=ko;class No extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Ro=No;class Io extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Co=Io;class To extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Fo=To;class $o extends oe.Sb{constructor(e,t,r){super(e,t,r),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 qo=$o;class Lo extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Bo=Lo,Do=Mt({props:{element:null},methods:{copyMetaAndAttributes(e,t){sr(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Vo=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},zo={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"],...yr},Uo=Mt(Do,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:r=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=r},methods:{retrievePassingOptions(){return ci(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ie(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ce(Ke,["visitors",...e],this.specObj)?Ie(["visitors",...e],this.specObj):Ie(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return this.retrieveVisitor(e)({...r,...t})},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return se(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?lr(t):(gr(t,n,{keyMap:zo,nodeTypeGetter:Vo,...r}),n.element)}}});var Go=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var r=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?Rt(r):r},e}();function Wo(e){return function(t){return new Go(e,t)}}const Jo=c(O(["take"],Wo,(function(e,t){return _e(0,e<0?1/0:e,t)})));const Ko=c((function(e,t){return te(Jo(e.length,t),e)})),Ho=e=>Kt(e)&&e.hasKey("openapi")&&e.hasKey("info"),Zo=e=>Kt(e)&&e.hasKey("name")&&e.hasKey("in"),Xo=e=>Kt(e)&&e.hasKey("$ref"),Yo=e=>Kt(e)&&e.hasKey("content"),Qo=e=>Kt(e)&&e.hasKey("description"),ea=Kt,ta=Kt,ra=e=>Ut(e.key)&&Ko("x-",ai(e.key)),na=Mt(Uo,{props:{specPath:Qs,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:ra},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:r=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=r,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(Ut(n)&&r.includes(ai(n))&&!this.ignoredFields.includes(ai(n))){const r=this.toRefractedElement([...t,"fixedFields",ai(n)],e),i=new oe.c6(lr(n),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else this.ignoredFields.includes(ai(n))||this.element.content.push(lr(s))})),this.copyMetaAndAttributes(e,this.element),jt}}}),sa=Mt(Do,{methods:{enter(e){return this.element=lr(e),jt}}}),ia=Mt(na,sa,{props:{specPath:re(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new ls},methods:{ObjectElement(e){return this.unrefractedElement=e,na.compose.methods.ObjectElement.call(this,e)}}}),oa=Mt(Uo,sa,{methods:{StringElement(e){const t=new cs(ai(e));return this.copyMetaAndAttributes(e,t),this.element=t,jt}}}),aa=Mt(Uo,{methods:{MemberElement(e){return this.element=lr(e),this.element.classes.push("specification-extension"),jt}}}),ca=Mt(na,sa,{props:{specPath:re(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Zn}}),ua=sa,la=sa,pa=sa,ha=Mt(sa,{methods:{StringElement(e){return this.element=lr(e),this.element.classes.push("api-version"),this.element.classes.push("version"),jt}}}),ma=Mt(na,sa,{props:{specPath:re(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new qn}}),da=sa,fa=sa,_a=sa,ya=Mt(na,sa,{props:{specPath:re(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new Yn}}),ga=sa,ba=sa,va=Mt(na,sa,{props:{specPath:re(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new es},methods:{ObjectElement(e){const t=na.compose.methods.ObjectElement.call(this,e);return(Ut(this.element.operationId)||Ut(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),wa=Mt(sa,{methods:{StringElement(e){return this.element=lr(e),this.element.classes.push("reference-value"),jt}}}),Ea=Mt(sa,{methods:{StringElement(e){return this.element=lr(e),this.element.classes.push("reference-value"),jt}}}),xa=Mt(Uo,{props:{fieldPatternPredicate:Nt,specPath:Qs,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:ra},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:r=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=r,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else if(!this.ignoredFields.includes(ai(t))&&this.fieldPatternPredicate(ai(t))){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new oe.c6(lr(t),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ai(t))||this.element.content.push(lr(r))})),this.copyMetaAndAttributes(e,this.element),jt}}}),Sa=Mt(xa,{props:{fieldPatternPredicate:$i}});class ja extends oe.Sb{static primaryClass="link-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(ja.primaryClass)}}const Oa=ja,Pa=Mt(Sa,sa,{props:{specPath:re(["value"])},init(){this.element=new Oa}}),Aa=sa,ka=sa,Ma=Mt(na,sa,{props:{specPath:re(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new Co}}),Na=Mt(sa,{methods:{StringElement(e){return this.element=lr(e),this.element.classes.push("server-url"),jt}}}),Ra=sa;class Ia extends oe.ON{static primaryClass="servers";constructor(e,t,r){super(e,t,r),this.classes.push(Ia.primaryClass)}}const Ca=Ia,Ta=Mt(Uo,sa,{init(){this.element=new Ca},methods:{ArrayElement(e){return e.forEach((e=>{const t=ea(e)?["document","objects","Server"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),Fa=Mt(na,sa,{props:{specPath:re(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new Fo}}),$a=sa,qa=sa,La=sa;class Ba extends oe.Sb{static primaryClass="server-variables";constructor(e,t,r){super(e,t,r),this.classes.push(Ba.primaryClass)}}const Da=Ba,Va=Mt(Sa,sa,{props:{specPath:re(["document","objects","ServerVariable"])},init(){this.element=new Da}}),za=Mt(na,sa,{props:{specPath:re(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new rs}}),Ua=Mt(Uo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>so(e,re(t),ne))),r=_o(t)(e);return this.element=this.toRefractedElement(r,e),jt}}}),Ga=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Cn||e(n)&&t("callback",n)&&r("object",n))),Wa=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Fn||e(n)&&t("components",n)&&r("object",n))),Ja=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof qn||e(n)&&t("contact",n)&&r("object",n))),Ka=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Un||e(n)&&t("example",n)&&r("object",n))),Ha=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Wn||e(n)&&t("externalDocumentation",n)&&r("object",n))),Za=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Kn||e(n)&&t("header",n)&&r("object",n))),Xa=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Zn||e(n)&&t("info",n)&&r("object",n))),Ya=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Yn||e(n)&&t("license",n)&&r("object",n))),Qa=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof es||e(n)&&t("link",n)&&r("object",n))),ec=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof cs||e(n)&&t("openapi",n)&&r("string",n))),tc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>s=>s instanceof ls||e(s)&&t("openApi3_0",s)&&r("object",s)&&n("api",s))),rc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof hs||e(n)&&t("operation",n)&&r("object",n))),nc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ds||e(n)&&t("parameter",n)&&r("object",n))),sc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof _s||e(n)&&t("pathItem",n)&&r("object",n))),ic=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof gs||e(n)&&t("paths",n)&&r("object",n))),oc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof vs||e(n)&&t("reference",n)&&r("object",n))),ac=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Es||e(n)&&t("requestBody",n)&&r("object",n))),cc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ss||e(n)&&t("response",n)&&r("object",n))),uc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Os||e(n)&&t("responses",n)&&r("object",n))),lc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ao||e(n)&&t("schema",n)&&r("object",n))),pc=e=>Jt(e)&&e.classes.includes("boolean-json-schema"),hc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Mo||e(n)&&t("securityRequirement",n)&&r("object",n))),mc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Co||e(n)&&t("server",n)&&r("object",n))),dc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Fo||e(n)&&t("serverVariable",n)&&r("object",n))),fc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof rs||e(n)&&t("mediaType",n)&&r("object",n))),_c=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>s=>s instanceof Ca||e(s)&&t("array",s)&&r("array",s)&&n("servers",s))),yc=Mt(Ua,sa,{props:{alternator:[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ua.compose.methods.enter.call(this,e);return oc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),gc=sa,bc=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new oe.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class vc extends oe.Sb{static primaryClass="media-type-examples";constructor(e,t,r){super(e,t,r),this.classes.push(vc.primaryClass),this.classes.push("examples")}}const wc=vc,Ec=Mt(bc,{init(){this.element=new wc}});class xc extends oe.Sb{static primaryClass="media-type-encoding";constructor(e,t,r){super(e,t,r),this.classes.push(xc.primaryClass)}}const Sc=xc,jc=Mt(Sa,sa,{props:{specPath:re(["document","objects","Encoding"])},init(){this.element=new Sc}}),Oc=Mt(Sa,sa,{props:{specPath:re(["value"])},init(){this.element=new Mo}});class Pc extends oe.ON{static primaryClass="security";constructor(e,t,r){super(e,t,r),this.classes.push(Pc.primaryClass)}}const Ac=Pc,kc=Mt(Uo,sa,{init(){this.element=new Ac},methods:{ArrayElement(e){return e.forEach((e=>{if(Kt(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(lr(e))})),this.copyMetaAndAttributes(e,this.element),jt}}}),Mc=Mt(na,sa,{props:{specPath:re(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new Fn}}),Nc=Mt(na,sa,{props:{specPath:re(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new qo}}),Rc=sa,Ic=sa,Cc=Mt(na,sa,{props:{specPath:re(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new vs},methods:{ObjectElement(e){const t=na.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Tc=Mt(sa,{methods:{StringElement(e){return this.element=lr(e),this.element.classes.push("reference-value"),jt}}}),Fc=Mt(na,sa,{props:{specPath:re(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new ds},methods:{ObjectElement(e){const t=na.compose.methods.ObjectElement.call(this,e);return Kt(this.element.contentProp)&&this.element.contentProp.filter(fc).forEach(((e,t)=>{e.setMetaProperty("media-type",ai(t))})),t}}}),$c=sa,qc=sa,Lc=sa,Bc=sa,Dc=sa,Vc=sa,zc=sa,Uc=sa,Gc=sa,Wc=Mt(Ua,sa,{props:{alternator:[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ua.compose.methods.enter.call(this,e);return oc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Jc=Mt(na,sa,{props:{specPath:re(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new Kn}}),Kc=sa,Hc=sa,Zc=sa,Xc=sa,Yc=sa,Qc=sa,eu=sa,tu=Mt(Ua,sa,{props:{alternator:[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ua.compose.methods.enter.call(this,e);return oc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ru=sa;class nu extends oe.Sb{static primaryClass="header-examples";constructor(e,t,r){super(e,t,r),this.classes.push(nu.primaryClass),this.classes.push("examples")}}const su=nu,iu=Mt(bc,{init(){this.element=new su}}),ou=Mt(Sa,sa,{props:{specPath:re(["document","objects","MediaType"])},init(){this.element=new oe.Sb,this.element.classes.push("content")}});class au extends oe.Sb{static primaryClass="header-content";constructor(e,t,r){super(e,t,r),this.classes.push(au.primaryClass),this.classes.push("content")}}const cu=au,uu=Mt(ou,{init(){this.element=new cu}}),lu=Mt(na,sa,{props:{specPath:re(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ao}}),{allOf:pu}=bo.visitors.document.objects.JSONSchema.fixedFields,hu=Mt(pu,{methods:{ArrayElement(e){const t=pu.compose.methods.ArrayElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:mu}=bo.visitors.document.objects.JSONSchema.fixedFields,du=Mt(mu,{methods:{ArrayElement(e){const t=mu.compose.methods.ArrayElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:fu}=bo.visitors.document.objects.JSONSchema.fixedFields,_u=Mt(fu,{methods:{ArrayElement(e){const t=fu.compose.methods.ArrayElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:yu}=bo.visitors.document.objects.JSONSchema.fixedFields,gu=Mt(yu,{methods:{ObjectElement(e){const t=yu.compose.methods.ObjectElement.call(this,e);return oc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=lr(e),jt}}}),{properties:bu}=bo.visitors.document.objects.JSONSchema.fixedFields,vu=Mt(bu,{methods:{ObjectElement(e){const t=bu.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:wu}=bo.visitors.document.objects.JSONSchema.fixedFields,Eu=Mt(wu,{methods:{ArrayElement(e){return this.element=lr(e),jt}}}),xu=sa,Su=sa,ju=sa,Ou=sa,{JSONSchemaOrJSONReferenceVisitor:Pu}=bo.visitors,Au=Mt(Pu,{methods:{ObjectElement(e){const t=Pu.compose.methods.enter.call(this,e);return oc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ku=Mt(na,sa,{props:{specPath:re(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new Bn}}),Mu=sa;class Nu extends oe.Sb{static primaryClass="discriminator-mapping";constructor(e,t,r){super(e,t,r),this.classes.push(Nu.primaryClass)}}const Ru=Nu,Iu=Mt(Sa,sa,{props:{specPath:re(["value"])},init(){this.element=new Ru}}),Cu=Mt(na,sa,{props:{specPath:re(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new Bo}}),Tu=sa,Fu=sa,$u=sa,qu=sa,Lu=sa,Bu=sa;class Du extends oe.Sb{static primaryClass="parameter-examples";constructor(e,t,r){super(e,t,r),this.classes.push(Du.primaryClass),this.classes.push("examples")}}const Vu=Du,zu=Mt(bc,{init(){this.element=new Vu}});class Uu extends oe.Sb{static primaryClass="parameter-content";constructor(e,t,r){super(e,t,r),this.classes.push(Uu.primaryClass),this.classes.push("content")}}const Gu=Uu,Wu=Mt(ou,{init(){this.element=new Gu}});class Ju extends oe.Sb{static primaryClass="components-schemas";constructor(e,t,r){super(e,t,r),this.classes.push(Ju.primaryClass)}}const Ku=Ju,Hu=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Ku},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Zu extends oe.Sb{static primaryClass="components-responses";constructor(e,t,r){super(e,t,r),this.classes.push(Zu.primaryClass)}}const Xu=Zu,Yu=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new Xu},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(cc).forEach(((e,t)=>{e.setMetaProperty("http-status-code",ai(t))})),t}}});class Qu extends oe.Sb{static primaryClass="components-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(Qu.primaryClass),this.classes.push("parameters")}}const el=Qu,tl=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new el},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class rl extends oe.Sb{static primaryClass="components-examples";constructor(e,t,r){super(e,t,r),this.classes.push(rl.primaryClass),this.classes.push("examples")}}const nl=rl,sl=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new nl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class il extends oe.Sb{static primaryClass="components-request-bodies";constructor(e,t,r){super(e,t,r),this.classes.push(il.primaryClass)}}const ol=il,al=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new ol},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class cl extends oe.Sb{static primaryClass="components-headers";constructor(e,t,r){super(e,t,r),this.classes.push(cl.primaryClass)}}const ul=cl,ll=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new ul},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(Za).forEach(((e,t)=>{e.setMetaProperty("header-name",ai(t))})),t}}});class pl extends oe.Sb{static primaryClass="components-security-schemes";constructor(e,t,r){super(e,t,r),this.classes.push(pl.primaryClass)}}const hl=pl,ml=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new hl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class dl extends oe.Sb{static primaryClass="components-links";constructor(e,t,r){super(e,t,r),this.classes.push(dl.primaryClass)}}const fl=dl,_l=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new fl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class yl extends oe.Sb{static primaryClass="components-callbacks";constructor(e,t,r){super(e,t,r),this.classes.push(yl.primaryClass)}}const gl=yl,bl=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new gl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),vl=Mt(na,sa,{props:{specPath:re(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new Un},methods:{ObjectElement(e){const t=na.compose.methods.ObjectElement.call(this,e);return Ut(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),wl=sa,El=sa,xl=sa,Sl=Mt(sa,{methods:{StringElement(e){return this.element=lr(e),this.element.classes.push("reference-value"),jt}}}),jl=Mt(na,sa,{props:{specPath:re(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Wn}}),Ol=sa,Pl=sa,Al=Mt(na,sa,{props:{specPath:re(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new Vn},methods:{ObjectElement(e){const t=na.compose.methods.ObjectElement.call(this,e);return Kt(this.element.headers)&&this.element.headers.filter(Za).forEach(((e,t)=>{e.setMetaProperty("header-name",ai(t))})),t}}}),kl=sa;class Ml extends oe.Sb{static primaryClass="encoding-headers";constructor(e,t,r){super(e,t,r),this.classes.push(Ml.primaryClass)}}const Nl=Ml,Rl=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Nl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Za(e))return;const r=ai(t);e.setMetaProperty("headerName",r)})),t}}}),Il=sa,Cl=sa,Tl=sa,Fl=Mt(xa,sa,{props:{fieldPatternPredicate:ei,specPath:re(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new gs},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(sc).forEach(((e,t)=>{t.classes.push("openapi-path-template"),t.classes.push("path-template"),e.setMetaProperty("path",lr(t))})),t}}}),$l=Mt(na,sa,{props:{specPath:re(["document","objects","RequestBody"])},init(){this.element=new Es},methods:{ObjectElement(e){const t=na.compose.methods.ObjectElement.call(this,e);return Kt(this.element.contentProp)&&this.element.contentProp.filter(fc).forEach(((e,t)=>{e.setMetaProperty("media-type",ai(t))})),t}}}),ql=sa;class Ll extends oe.Sb{static primaryClass="request-body-content";constructor(e,t,r){super(e,t,r),this.classes.push(Ll.primaryClass),this.classes.push("content")}}const Bl=Ll,Dl=Mt(ou,{init(){this.element=new Bl}}),Vl=sa;const zl=c((function(e,t){if(r=e,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Ne(e));var r;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)})),Ul=Mt(xa,sa,{props:{fieldPatternPredicate:zl(/{(?<expression>.*)}/),specPath:re(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Cn},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(sc).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",ai(t))})),t}}}),Gl=Mt(na,sa,{props:{specPath:re(["document","objects","Response"])},init(){this.element=new Ss},methods:{ObjectElement(e){const t=na.compose.methods.ObjectElement.call(this,e);return Kt(this.element.contentProp)&&this.element.contentProp.filter(fc).forEach(((e,t)=>{e.setMetaProperty("media-type",ai(t))})),Kt(this.element.headers)&&this.element.headers.filter(Za).forEach(((e,t)=>{e.setMetaProperty("header-name",ai(t))})),t}}}),Wl=sa;class Jl extends oe.Sb{static primaryClass="response-headers";constructor(e,t,r){super(e,t,r),this.classes.push(Jl.primaryClass)}}const Kl=Jl,Hl=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Kl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Za(e))return;const r=ai(t);e.setMetaProperty("header-name",r)})),t}}});class Zl extends oe.Sb{static primaryClass="response-content";constructor(e,t,r){super(e,t,r),this.classes.push(Zl.primaryClass),this.classes.push("content")}}const Xl=Zl,Yl=Mt(ou,{init(){this.element=new Xl}});class Ql extends oe.Sb{static primaryClass="response-links";constructor(e,t,r){super(e,t,r),this.classes.push(Ql.primaryClass)}}const ep=Ql,tp=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new ep},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});function rp(e){return"[object Number]"===Object.prototype.toString.call(e)}const np=c((function(e,t){if(!rp(e)||!rp(t))throw new TypeError("Both arguments to range must be numbers");for(var r=[],n=e;n<t;)r.push(n),n+=1;return r}));function sp(e,t,r){var n,s=typeof e;switch(s){case"string":case"number":return 0===e&&1/e==-1/0?!!r._items["-0"]||(t&&(r._items["-0"]=!0),!1):null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):s in r._items?e in r._items[s]||(t&&(r._items[s][e]=!0),!1):(t&&(r._items[s]={},r._items[s][e]=!0),!1);case"boolean":if(s in r._items){var i=e?1:0;return!!r._items[s][i]||(t&&(r._items[s][i]=!0),!1)}return t&&(r._items[s]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):s in r._items?!!we(e,r._items[s])||(t&&r._items[s].push(e),!1):(t&&(r._items[s]=[e]),!1);case"undefined":return!!r._items[s]||(t&&(r._items[s]=!0),!1);case"object":if(null===e)return!!r._items.null||(t&&(r._items.null=!0),!1);default:return(s=Object.prototype.toString.call(e))in r._items?!!we(e,r._items[s])||(t&&r._items[s].push(e),!1):(t&&(r._items[s]=[e]),!1)}}const ip=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!sp(e,!0,this)},e.prototype.has=function(e){return sp(e,!1,this)},e}();const op=c((function(e,t){for(var r=[],n=0,s=e.length,i=t.length,o=new ip,a=0;a<i;a+=1)o.add(t[a]);for(;n<s;)o.add(e[n])&&(r[r.length]=e[n]),n+=1;return r})),ap=Mt(na,xa,{props:{specPathFixedFields:Qs,specPathPatternedFields:Qs},methods:{ObjectElement(e){const{specPath:t,ignoredFields:r}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...r,...op(e.keys(),t)],na.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,xa.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return jt}}}),cp=Mt(ap,sa,{props:{specPathFixedFields:re(["document","objects","Responses"]),specPathPatternedFields:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:zl(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${np(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new Os},methods:{ObjectElement(e){const t=ap.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(cc).forEach(((e,t)=>{const r=lr(t);this.fieldPatternPredicate(ai(r))&&e.setMetaProperty("http-status-code",r)})),t}}}),up=Mt(Ua,sa,{props:{alternator:[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Ua.compose.methods.enter.call(this,e);return oc(this.element)?this.element.setMetaProperty("referenced-element","response"):cc(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),lp=Mt(na,sa,{props:{specPath:re(["document","objects","Operation"])},init(){this.element=new hs}});class pp extends oe.ON{static primaryClass="operation-tags";constructor(e,t,r){super(e,t,r),this.classes.push(pp.primaryClass)}}const hp=pp,mp=Mt(sa,{init(){this.element=new hp},methods:{ArrayElement(e){return this.element=this.element.concat(lr(e)),jt}}}),dp=sa,fp=sa,_p=sa;class yp extends oe.ON{static primaryClass="operation-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(yp.primaryClass),this.classes.push("parameters")}}const gp=yp,bp=Mt(Uo,sa,{init(){this.element=new oe.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Xo(e)?["document","objects","Reference"]:["document","objects","Parameter"],r=this.toRefractedElement(t,e);oc(r)&&r.setMetaProperty("referenced-element","parameter"),this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),vp=Mt(bp,{init(){this.element=new gp}}),wp=Mt(Ua,{props:{alternator:[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=Ua.compose.methods.enter.call(this,e);return oc(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class Ep extends oe.Sb{static primaryClass="operation-callbacks";constructor(e,t,r){super(e,t,r),this.classes.push(Ep.primaryClass)}}const xp=Ep,Sp=Mt(Sa,sa,{props:{specPath:e=>Xo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new xp},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(oc).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),jp=sa;class Op extends oe.ON{static primaryClass="operation-security";constructor(e,t,r){super(e,t,r),this.classes.push(Op.primaryClass),this.classes.push("security")}}const Pp=Op,Ap=Mt(Uo,sa,{init(){this.element=new Pp},methods:{ArrayElement(e){return e.forEach((e=>{const t=Kt(e)?["document","objects","SecurityRequirement"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}});class kp extends oe.ON{static primaryClass="operation-servers";constructor(e,t,r){super(e,t,r),this.classes.push(kp.primaryClass),this.classes.push("servers")}}const Mp=kp,Np=Mt(Ta,{init(){this.element=new Mp}}),Rp=Mt(na,sa,{props:{specPath:re(["document","objects","PathItem"])},init(){this.element=new _s},methods:{ObjectElement(e){const t=na.compose.methods.ObjectElement.call(this,e);return this.element.filter(rc).forEach(((e,t)=>{const r=lr(t);r.content=ai(r).toUpperCase(),e.setMetaProperty("http-method",r)})),Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Ip=Mt(sa,{methods:{StringElement(e){return this.element=lr(e),this.element.classes.push("reference-value"),jt}}}),Cp=sa,Tp=sa;class Fp extends oe.ON{static primaryClass="path-item-servers";constructor(e,t,r){super(e,t,r),this.classes.push(Fp.primaryClass),this.classes.push("servers")}}const $p=Fp,qp=Mt(Ta,{init(){this.element=new $p}});class Lp extends oe.ON{static primaryClass="path-item-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(Lp.primaryClass),this.classes.push("parameters")}}const Bp=Lp,Dp=Mt(bp,{init(){this.element=new Bp}}),Vp=Mt(na,sa,{props:{specPath:re(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ro}}),zp=sa,Up=sa,Gp=sa,Wp=sa,Jp=sa,Kp=sa,Hp=sa,Zp=Mt(na,sa,{props:{specPath:re(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new os}}),Xp=Mt(na,sa,{props:{specPath:re(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new ss}}),Yp=sa,Qp=sa,eh=sa;class th extends oe.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,r){super(e,t,r),this.classes.push(th.primaryClass)}}const rh=th,nh=Mt(Sa,sa,{props:{specPath:re(["value"])},init(){this.element=new rh}});class sh extends oe.ON{static primaryClass="tags";constructor(e,t,r){super(e,t,r),this.classes.push(sh.primaryClass)}}const ih=sh,oh=Mt(Uo,sa,{init(){this.element=new ih},methods:{ArrayElement(e){return e.forEach((e=>{const t=ta(e)?["document","objects","Tag"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),{fixedFields:ah}=bo.visitors.document.objects.JSONSchema,ch={visitors:{value:sa,document:{objects:{OpenApi:{$visitor:ia,fixedFields:{openapi:oa,info:{$ref:"#/visitors/document/objects/Info"},servers:Ta,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:kc,tags:oh,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:ca,fixedFields:{title:ua,description:la,termsOfService:pa,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:ha}},Contact:{$visitor:ma,fixedFields:{name:da,url:fa,email:_a}},License:{$visitor:ya,fixedFields:{name:ga,url:ba}},Server:{$visitor:Ma,fixedFields:{url:Na,description:Ra,variables:Va}},ServerVariable:{$visitor:Fa,fixedFields:{enum:$a,default:qa,description:La}},Components:{$visitor:Mc,fixedFields:{schemas:Hu,responses:Yu,parameters:tl,examples:sl,requestBodies:al,headers:ll,securitySchemes:ml,links:_l,callbacks:bl}},Paths:{$visitor:Fl},PathItem:{$visitor:Rp,fixedFields:{$ref:Ip,summary:Cp,description:Tp,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:qp,parameters:Dp}},Operation:{$visitor:lp,fixedFields:{tags:mp,summary:dp,description:fp,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:_p,parameters:vp,requestBody:wp,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Sp,deprecated:jp,security:Ap,servers:Np}},ExternalDocumentation:{$visitor:jl,fixedFields:{description:Ol,url:Pl}},Parameter:{$visitor:Fc,fixedFields:{name:$c,in:qc,description:Lc,required:Bc,deprecated:Dc,allowEmptyValue:Vc,style:zc,explode:Uc,allowReserved:Gc,schema:Wc,example:Bu,examples:zu,content:Wu}},RequestBody:{$visitor:$l,fixedFields:{description:ql,content:Dl,required:Vl}},MediaType:{$visitor:za,fixedFields:{schema:yc,example:gc,examples:Ec,encoding:jc}},Encoding:{$visitor:Al,fixedFields:{contentType:kl,headers:Rl,style:Il,explode:Cl,allowReserved:Tl}},Responses:{$visitor:cp,fixedFields:{default:up}},Response:{$visitor:Gl,fixedFields:{description:Wl,headers:Hl,content:Yl,links:tp}},Callback:{$visitor:Ul},Example:{$visitor:vl,fixedFields:{summary:wl,description:El,value:xl,externalValue:Sl}},Link:{$visitor:va,fixedFields:{operationRef:wa,operationId:Ea,parameters:Pa,requestBody:Aa,description:ka,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Jc,fixedFields:{description:Kc,required:Hc,deprecated:Zc,allowEmptyValue:Xc,style:Yc,explode:Qc,allowReserved:eu,schema:tu,example:ru,examples:iu,content:uu}},Tag:{$visitor:Nc,fixedFields:{name:Rc,description:Ic,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Cc,fixedFields:{$ref:Tc}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:lu,fixedFields:{title:ah.title,multipleOf:ah.multipleOf,maximum:ah.maximum,exclusiveMaximum:ah.exclusiveMaximum,minimum:ah.minimum,exclusiveMinimum:ah.exclusiveMinimum,maxLength:ah.maxLength,minLength:ah.minLength,pattern:ah.pattern,maxItems:ah.maxItems,minItems:ah.minItems,uniqueItems:ah.uniqueItems,maxProperties:ah.maxProperties,minProperties:ah.minProperties,required:ah.required,enum:ah.enum,type:Eu,allOf:hu,anyOf:du,oneOf:_u,not:Au,items:gu,properties:vu,additionalProperties:Au,description:ah.description,format:ah.format,default:ah.default,nullable:xu,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:Su,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:ju,deprecated:Ou}},Discriminator:{$visitor:ku,fixedFields:{propertyName:Mu,mapping:Iu}},XML:{$visitor:Cu,fixedFields:{name:Tu,namespace:Fu,prefix:$u,attribute:qu,wrapped:Lu}},SecurityScheme:{$visitor:Vp,fixedFields:{type:zp,description:Up,name:Gp,in:Wp,scheme:Jp,bearerFormat:Kp,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Hp}},OAuthFlows:{$visitor:Zp,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:Xp,fixedFields:{authorizationUrl:Yp,tokenUrl:Qp,refreshUrl:eh,scopes:nh}},SecurityRequirement:{$visitor:Oc}},extension:{$visitor:aa}}}},uh={namespace:e=>{const{base:t}=e;return t.register("callback",Cn),t.register("components",Fn),t.register("contact",qn),t.register("discriminator",Bn),t.register("encoding",Vn),t.register("example",Un),t.register("externalDocumentation",Wn),t.register("header",Kn),t.register("info",Zn),t.register("license",Yn),t.register("link",es),t.register("mediaType",rs),t.register("oAuthFlow",ss),t.register("oAuthFlows",os),t.register("openapi",cs),t.register("openApi3_0",ls),t.register("operation",hs),t.register("parameter",ds),t.register("pathItem",_s),t.register("paths",gs),t.register("reference",vs),t.register("requestBody",Es),t.register("response",Ss),t.register("responses",Os),t.register("schema",Ao),t.register("securityRequirement",Mo),t.register("securityScheme",Ro),t.register("server",Co),t.register("serverVariable",Fo),t.register("tag",qo),t.register("xml",Bo),t}},lh=()=>{const e=ut(uh);return{predicates:{...s,...i,isStringElement:Ut},namespace:e}},ph=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,oe.Qc)(e),s=Zs(ch),i=Mr(t,[],s);return gr(n,i,{state:{specObj:s}}),Ir(i.element,r,{toolboxCreator:lh,visitorOptions:{keyMap:zo,nodeTypeGetter:Vo}})},hh=e=>(t,r={})=>ph(t,{specPath:e,...r});Cn.refract=hh(["visitors","document","objects","Callback","$visitor"]),Fn.refract=hh(["visitors","document","objects","Components","$visitor"]),qn.refract=hh(["visitors","document","objects","Contact","$visitor"]),Un.refract=hh(["visitors","document","objects","Example","$visitor"]),Bn.refract=hh(["visitors","document","objects","Discriminator","$visitor"]),Vn.refract=hh(["visitors","document","objects","Encoding","$visitor"]),Wn.refract=hh(["visitors","document","objects","ExternalDocumentation","$visitor"]),Kn.refract=hh(["visitors","document","objects","Header","$visitor"]),Zn.refract=hh(["visitors","document","objects","Info","$visitor"]),Yn.refract=hh(["visitors","document","objects","License","$visitor"]),es.refract=hh(["visitors","document","objects","Link","$visitor"]),rs.refract=hh(["visitors","document","objects","MediaType","$visitor"]),ss.refract=hh(["visitors","document","objects","OAuthFlow","$visitor"]),os.refract=hh(["visitors","document","objects","OAuthFlows","$visitor"]),cs.refract=hh(["visitors","document","objects","OpenApi","fixedFields","openapi"]),ls.refract=hh(["visitors","document","objects","OpenApi","$visitor"]),hs.refract=hh(["visitors","document","objects","Operation","$visitor"]),ds.refract=hh(["visitors","document","objects","Parameter","$visitor"]),_s.refract=hh(["visitors","document","objects","PathItem","$visitor"]),gs.refract=hh(["visitors","document","objects","Paths","$visitor"]),vs.refract=hh(["visitors","document","objects","Reference","$visitor"]),Es.refract=hh(["visitors","document","objects","RequestBody","$visitor"]),Ss.refract=hh(["visitors","document","objects","Response","$visitor"]),Os.refract=hh(["visitors","document","objects","Responses","$visitor"]),Ao.refract=hh(["visitors","document","objects","Schema","$visitor"]),Mo.refract=hh(["visitors","document","objects","SecurityRequirement","$visitor"]),Ro.refract=hh(["visitors","document","objects","SecurityScheme","$visitor"]),Co.refract=hh(["visitors","document","objects","Server","$visitor"]),Fo.refract=hh(["visitors","document","objects","ServerVariable","$visitor"]),qo.refract=hh(["visitors","document","objects","Tag","$visitor"]),Bo.refract=hh(["visitors","document","objects","XML","$visitor"]);const mh=m(-1);const dh=class extends Ps{};const fh=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new dh("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new dh("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new dh("latest method in MediaTypes class is not yet implemented.")}};class _h extends fh{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.0.3",t="generic"){const r="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return mh(this.filterByFormat(e))}}const yh=new _h("application/vnd.oai.openapi;version=3.0.0","application/vnd.oai.openapi+json;version=3.0.0","application/vnd.oai.openapi+yaml;version=3.0.0","application/vnd.oai.openapi;version=3.0.1","application/vnd.oai.openapi+json;version=3.0.1","application/vnd.oai.openapi+yaml;version=3.0.1","application/vnd.oai.openapi;version=3.0.2","application/vnd.oai.openapi+json;version=3.0.2","application/vnd.oai.openapi+yaml;version=3.0.2","application/vnd.oai.openapi;version=3.0.3","application/vnd.oai.openapi+json;version=3.0.3","application/vnd.oai.openapi+yaml;version=3.0.3"),gh=new _h(...yh.filterByFormat("generic"),...yh.filterByFormat("json")),bh=/"openapi"\s*:\s*"(?<version_json>3\.0\.([0123])(?:-rc[012])?)"/,vh=async e=>bh.test(e)&&await(async e=>{if(!Rn.test(e))return!1;try{return"ERROR"!==(await Et(e)).rootNode.type}catch{return!1}})(e),wh=async(e,t={})=>{const r=f({},"refractorOpts",t),n=y(["refractorOpts"],t),s=await(async(e,{sourceMap:t=!1,syntacticAnalysis:r="direct"}={})=>{const n=await Et(e);let s;return s="indirect"===r?Nn(n,{sourceMap:t}):Ur(n,{sourceMap:t}),s})(e,n),{result:i}=s;if(ie(i)){const e=ls.refract(i,r);e.classes.push("result"),s.replaceResult(e)}return s},Eh=ut(uh)})(),n})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterOpenApiJson3_0=t():e.apidomParserAdapterOpenApiJson3_0=t()}(self,(()=>(()=>{var e={9515:(e,t,r)=>{var n=r(8761)(r(7772),"DataView");e.exports=n},9612:(e,t,r)=>{var n=r(2118),s=r(6909),i=r(8138),o=r(4174),a=r(7942);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=r(2344),a=r(4769);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,r)=>{var n=r(8761)(r(7772),"Map");e.exports=n},6738:(e,t,r)=>{var n=r(2411),s=r(6417),i=r(6928),o=r(9493),a=r(4150);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,r)=>{var n=r(8761)(r(7772),"Promise");e.exports=n},2143:(e,t,r)=>{var n=r(8761)(r(7772),"Set");e.exports=n},5386:(e,t,r)=>{var n=r(6738),s=r(2842),i=r(2482);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,r)=>{var n=r(235),s=r(5243),i=r(2858),o=r(4417),a=r(8605),c=r(1418);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,r)=>{var n=r(7772).Symbol;e.exports=n},9162:(e,t,r)=>{var n=r(7772).Uint8Array;e.exports=n},3215:(e,t,r)=>{var n=r(8761)(r(7772),"WeakMap");e.exports=n},7552:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[s++]=o)}return i}},1634:(e,t,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),a=r(9045),c=r(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&s(e),p=!r&&!l&&o(e),h=!r&&!l&&!p&&c(e),m=r||l||p||h,d=m?n(e.length,String):[],f=d.length;for(var _ in e)!t&&!u.call(e,_)||m&&("length"==_||p&&("offset"==_||"parent"==_)||h&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||a(_,f))||d.push(_);return d}},5067:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},7064:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},2218:(e,t,r)=>{var n=r(1225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1897:(e,t,r)=>{var n=r(5067),s=r(6152);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},3366:(e,t,r)=>{var n=r(857),s=r(2107),i=r(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)?s(e):i(e)}},5183:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},8746:(e,t,r)=>{var n=r(1952),s=r(5125);e.exports=function e(t,r,i,o,a){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,a))}},1952:(e,t,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),a=r(940),c=r(6152),u=r(3226),l=r(7598),p="[object Arguments]",h="[object Array]",m="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,f,_,y){var g=c(e),b=c(t),v=g?h:a(e),w=b?h:a(t),E=(v=v==p?m:v)==m,x=(w=w==p?m:w)==m,S=v==w;if(S&&u(e)){if(!u(t))return!1;g=!0,E=!1}if(S&&!E)return y||(y=new n),g||l(e)?s(e,t,r,f,_,y):i(e,t,v,r,f,_,y);if(!(1&r)){var j=E&&d.call(e,"__wrapped__"),O=x&&d.call(t,"__wrapped__");if(j||O){var P=j?e.value():e,A=O?t.value():t;return y||(y=new n),_(P,A,r,f,y)}}return!!S&&(y||(y=new n),o(e,t,r,f,_,y))}},6840:(e,t,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(n(e)?h:a).test(o(e))}},5522:(e,t,r)=>{var n=r(3366),s=r(1158),i=r(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)&&s(e.length)&&!!o[n(e)]}},6411:(e,t,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6473:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);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,r)=>{var n=r(7772)["__core-js_shared__"];e.exports=n},4871:(e,t,r)=>{var n=r(5386),s=r(7064),i=r(9950);e.exports=function(e,t,r,o,a,c){var u=1&r,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=-1,f=!0,_=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var y=e[d],g=t[d];if(o)var b=u?o(g,y,d,t,e,c):o(y,g,d,e,t,c);if(void 0!==b){if(b)continue;f=!1;break}if(_){if(!s(t,(function(e,t){if(!i(_,t)&&(y===e||a(y,e,r,o,c)))return _.push(t)}))){f=!1;break}}else if(y!==g&&!a(y,g,r,o,c)){f=!1;break}}return c.delete(e),c.delete(t),f}},1491:(e,t,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),a=r(5179),c=r(4207),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,p,h){switch(r){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 s(e),new s(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 m=a;case"[object Set]":var d=1&n;if(m||(m=c),e.size!=t.size&&!d)return!1;var f=h.get(e);if(f)return f==t;n|=2,h.set(e,t);var _=o(m(e),m(t),n,u,p,h);return h.delete(e),_;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,a){var c=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!c)return!1;for(var p=l;p--;){var h=u[p];if(!(c?h in t:s.call(t,h)))return!1}var m=a.get(e),d=a.get(t);if(m&&d)return m==t&&d==e;var f=!0;a.set(e,t),a.set(t,e);for(var _=c;++p<l;){var y=e[h=u[p]],g=t[h];if(i)var b=c?i(g,y,h,t,e,a):i(y,g,h,e,t,a);if(!(void 0===b?y===g||o(y,g,r,i,a):b)){f=!1;break}_||(_="constructor"==h)}if(f&&!_){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(f=!1)}return a.delete(e),a.delete(t),f}},1242:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},3483:(e,t,r)=>{var n=r(1897),s=r(633),i=r(249);e.exports=function(e){return n(e,i,s)}},7937:(e,t,r)=>{var n=r(8304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8761:(e,t,r)=>{var n=r(6840),s=r(8109);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},2107:(e,t,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[a]=r:delete e[a]),s}},633:(e,t,r)=>{var n=r(7552),s=r(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)})))}:s;e.exports=a},940:(e,t,r)=>{var n=r(9515),s=r(326),i=r(2760),o=r(2143),a=r(3215),c=r(3366),u=r(7035),l="[object Map]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",d="[object DataView]",f=u(n),_=u(s),y=u(i),g=u(o),b=u(a),v=c;(n&&v(new n(new ArrayBuffer(1)))!=d||s&&v(new s)!=l||i&&v(i.resolve())!=p||o&&v(new o)!=h||a&&v(new a)!=m)&&(v=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case f:return d;case _:return l;case y:return p;case g:return h;case b:return m}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,r)=>{var n=r(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,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(t,e)?t[e]:void 0}},4174:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},7942:(e,t,r)=>{var n=r(9191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},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,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.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 r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,r)=>{var n=r(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}},8028:(e,t,r)=>{var n=r(2218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},2344:(e,t,r)=>{var n=r(2218);e.exports=function(e){return n(this.__data__,e)>-1}},4769:(e,t,r)=>{var n=r(2218);e.exports=function(e,t){var r=this.__data__,s=n(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}},2411:(e,t,r)=>{var n=r(9612),s=r(235),i=r(326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(e,t,r)=>{var n=r(7937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).get(e)}},9493:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).has(e)}},4150:(e,t,r)=>{var n=r(7937);e.exports=function(e,t){var r=n(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},9191:(e,t,r)=>{var n=r(8761)(Object,"create");e.exports=n},4248:(e,t,r)=>{var n=r(241)(Object.keys,Object);e.exports=n},4146:(e,t,r)=>{e=r.nmd(e);var n=r(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&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(r){return e(t(r))}}},7772:(e,t,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||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,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},5243:(e,t,r)=>{var n=r(235);e.exports=function(){this.__data__=new n,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},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,r)=>{var n=r(235),s=r(326),i=r(6738);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(e,t),this.size=r.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,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,r)=>{var n=r(1049),s=r(1158);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},4335:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},3226:(e,t,r)=>{e=r.nmd(e);var n=r(7772),s=r(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)||s;e.exports=c},8149:(e,t,r)=>{var n=r(8746);e.exports=function(e,t){return n(e,t)}},1049:(e,t,r)=>{var n=r(3366),s=r(9259);e.exports=function(e){if(!s(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,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return"number"==typeof e||s(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,r)=>{var n=r(3366),s=r(6152),i=r(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},7598:(e,t,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,a=o?s(o):n;e.exports=a},249:(e,t,r)=>{var n=r(1634),s=r(6411),i=r(7878);e.exports=function(e){return i(e)?n(e):s(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,r)=>{const n=r(1570);function s(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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=s(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,r)=>{const n=r(5877),s=r(5505),i=r(537),o=r(4335),a=r(9259),c=r(2947),u=r(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,r)=>{const n=r(1570),s=r(1178);class i extends s{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new i(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,r)=>{const n=r(6420),s=r(4152),i=r(9542),o=r(3710),a=r(3312),c=r(1641),u=r(8858),l=r(3860),p=r(5202),h=r(2320),m=r(1178),d=r(3853),f=r(3026);function _(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 s;if(Array.isArray(e))return new c(e.map(_));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=h,n.prototype.MemberElement=u,n.prototype.refract=_,m.prototype.refract=_,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:_,ArraySlice:m,ObjectSlice:d,KeyValuePair:f}},5202:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),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,r)=>{const n=r(5140),s=r(3756);t.lS=n,t.KeyValuePair=r(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,r(2947),r(8910)},1641:(e,t,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{constructor(e,t,r){super(e||[],t,r),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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n;void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=r;t<this.length;t+=1){const r=this.content[t];n="object"===this.primitive()?this.refract(e(n,r.value,r.key,r,this)):this.refract(e(n,r,t,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,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 r=t||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((t,r,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:n}),e(t,r,i)&&s.push(t)})),s}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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,r)=>{const n=r(8149),s=r(3026),i=r(1178);class o{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),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 s?{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 r=new i;const n=(e,t)=>(e.push(t),e),o=(e,r)=>{r.element===t&&e.push(r);const i=r.findRecursive(t);return i&&i.reduce(n,e),r.content instanceof s&&(r.content.key&&o(e,r.content.key),r.content.value&&o(e,r.content.value)),e};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element));for(const t in e){const n=e[t],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}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 s)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 s){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,r)=>{const n=r(3026),s=r(6420);e.exports=class extends s{constructor(e,t,r,s){super(new n,r,s),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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},3860:(e,t,r)=>{const n=r(1570),s=r(9259),i=r(1641),o=r(8858),a=r(3853);e.exports=class extends i{constructor(e,t,r){super(e||[],t,r),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((r=>r.key.toValue()!==e||(t=r,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const r=e,n=this.getMember(r);return n?n.value=t:this.content.push(new o(r,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((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[];return this.forEach(((n,s,i)=>{const o=e.bind(t)(n,s,i);o&&r.push(o)})),r}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((r=>e.bind(t)(r.value,r.key,r)))}}},9542:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,r)=>{const n=r(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 r={element:e.element};e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(r.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&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r);else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r);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)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[]);return r}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(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=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]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),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),r=new t;r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let e=r.attributes.get("samples");if(r.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new t(n);s.element=r.element,e.push(s)}))}));const s=e.shift();r.content=s?s.content:void 0,r.attributes.set("samples",e)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const e=r.attributes.get("meta");e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}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,r)=>{if(e){const n=r.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},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 r=this.serialiseContent(e.content);return void 0!==r&&(t.content=r),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 r=this.deserialiseContent(e.content);return void 0===r&&null!==t.content||(t.content=r),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,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},6591:e=>{!function(){"use strict";var t,r,n,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",m="deepConfiguration",d="deepProps",f="deepStatics",_="deepConf",y="initializers",g="methods",b="composers",v="compose";function w(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var x=E.bind(0,(function(e,t){if(t)for(var r=w(t),n=0;n<r.length;n+=1)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]));return e}));function S(e){return"function"==typeof e}function j(e){return e&&"object"==typeof e||S(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var P=E.bind(0,(function e(r,n){if(n===t)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!O(n))return n;for(var s,i,o=w(n),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==t&&(r[s]=e(O(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function A(){return(r=Array.prototype.concat.apply([],arguments).filter((function(e,t,r){return S(e)&&r.indexOf(e)===t}))).length?r:t}function k(e,t){function n(r,n){j(t[r])&&(j(e[r])||(e[r]={}),(n||x)(e[r],t[r]))}function s(n){(r=A(e[n],t[n]))&&(e[n]=r)}return t&&j(t=t[v]||t)&&(n(g),n(o),n(a,P),n(c),n(u),n(l,P),n(p),n(h),n(m,P),s(y),s(b)),e}function M(){return function(e){return r=function e(r){var n,s,i=e[v]||{},u={__proto__:i[g]},l=i[y],p=Array.prototype.slice.apply(arguments),h=i[a];if(h&&P(u,h),(h=i[o])&&x(u,h),(h=i[c])&&Object.defineProperties(u,h),!l||!l.length)return u;for(r===t&&(r={}),i=0;i<l.length;)S(n=l[i++])&&(u=(s=n.call(u,r,{instance:u,stamp:e,args:p}))===t?u:s);return u},(n=e[l])&&P(r,n),(n=e[u])&&x(r,n),(n=e[p])&&Object.defineProperties(r,n),n=S(r[v])?r[v]:M,x(r[v]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function N(e){return S(e)&&S(e[v])}var R={};function I(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[v]||n).call(r,s)}}R[g]=I(g,x),R[o]=R.props=I(o,x),R[y]=R.init=I(y,A),R[b]=I(b,A),R[a]=R[d]=I(a,P),R[u]=R.statics=I(u,x),R[l]=R[f]=I(l,P),R[h]=R.conf=I(h,x),R[m]=R[_]=I(m,P),R[c]=I(c,x),R[p]=I(p,x),n=R[v]=x((function(){for(var e,w,E=0,S=[],O=arguments,k=this;E<O.length;)j(e=O[E++])&&S.push(N(e)?e:((s={})[g]=(w=e)[g]||t,n=w.props,s[o]=j((r=w[o])||n)?x({},n,r):t,s[y]=A(w.init,w[y]),s[b]=A(w[b]),n=w[d],s[a]=j((r=w[a])||n)?P({},n,r):t,s[c]=w[c],n=w.statics,s[u]=j((r=w[u])||n)?x({},n,r):t,n=w[f],s[l]=j((r=w[l])||n)?P({},n,r):t,r=w[p],s[p]=j((n=w.name&&{name:{value:w.name}})||r)?x({},r,n):t,n=w.conf,s[h]=j((r=w[h])||n)?x({},n,r):t,n=w[_],s[m]=j((r=w[m])||n)?P({},n,r):t,s));if(e=M.apply(k||i,S),k&&S.unshift(k),Array.isArray(O=e[v][b]))for(E=0;E<O.length;)e=N(k=O[E++]({stamp:e,composables:S}))?k:e;return e}),R),R.create=function(){return this.apply(t,arguments)},(s={})[u]=R,i=M(s),n[v]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()},9794:(e,t,r)=>{var n=void 0!==n?n:{},s=function(){var t,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(n=Object.assign({},n,o),t=new Promise((t=>{var o,a={};for(o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);var c,u,l,p,h=[],m="./this.program",d=function(e,t){throw t};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var f,_,y,g,b,v="";c?(v=p?r(6287).dirname(v)+"/":"//",f=function(e,t){return g||(g=r(5530)),b||(b=r(6287)),e=b.normalize(e),g.readFileSync(e,t?null:"utf8")},y=function(e){var t=f(e,!0);return t.buffer||(t=new Uint8Array(t)),I(t.buffer),t},process.argv.length>1&&(m=process.argv[1].replace(/\\/g,"/")),h=process.argv.slice(2),e.exports=n,d=function(e){process.exit(e)},n.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(f=function(e){return read(e)}),y=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(I("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?h=scriptArgs:void 0!==arguments&&(h=arguments),"function"==typeof quit&&(d=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?v=self.location.href:void 0!==s&&s.currentScript&&(v=s.currentScript.src),v=0!==v.indexOf("blob:")?v.substr(0,v.lastIndexOf("/")+1):"",f=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(y=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),_=function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)}),n.print||console.log.bind(console);var w=n.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(n[o]=a[o]);a=null,n.arguments&&(h=n.arguments),n.thisProgram&&(m=n.thisProgram),n.quit&&(d=n.quit);var E,x=16,S=[];function j(e,t){if(!E){E=new WeakMap;for(var r=0;r<Z.length;r++){var n=Z.get(r);n&&E.set(n,r)}}if(E.has(e))return E.get(e);var s=function(){if(S.length)return S.pop();try{Z.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Z.length-1}();try{Z.set(s,e)}catch(r){if(!(r instanceof TypeError))throw r;var i=function(e,t){if("function"==typeof WebAssembly.Function){for(var r={i:"i32",j:"i64",f:"f32",d:"f64"},n={parameters:[],results:"v"==t[0]?[]:[r[t[0]]]},s=1;s<t.length;++s)n.parameters.push(r[t[s]]);return new WebAssembly.Function(n,e)}var i=[1,0,1,96],o=t.slice(0,1),a=t.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),s=0;s<a.length;++s)i.push(c[a[s]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:e}}).exports.f}(e,t);Z.set(s,i)}return E.set(e,s),s}var O,P=n.dynamicLibraries||[];n.wasmBinary&&(O=n.wasmBinary);var A,k=n.noExitRuntime||!0;function M(e,t,r,n){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":T[e>>0]=t;break;case"i16":$[e>>1]=t;break;case"i32":q[e>>2]=t;break;case"i64":le=[t>>>0,(ue=t,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],q[e>>2]=le[0],q[e+4>>2]=le[1];break;case"float":L[e>>2]=t;break;case"double":B[e>>3]=t;break;default:ae("invalid type for setValue: "+r)}}function N(e,t,r){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return T[e>>0];case"i16":return $[e>>1];case"i32":case"i64":return q[e>>2];case"float":return L[e>>2];case"double":return B[e>>3];default:ae("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ae("no native wasm support detected");var R=!1;function I(e,t){e||ae("Assertion failed: "+t)}var C,T,F,$,q,L,B,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function V(e,t,r){for(var n=t+r,s=t;e[s]&&!(s>=n);)++s;if(s-t>16&&e.subarray&&D)return D.decode(e.subarray(t,s));for(var i="";t<s;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function z(e,t){return e?V(F,e,t):""}function U(e,t,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-1,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o)),a<=127){if(r>=i)break;t[r++]=a}else if(a<=2047){if(r+1>=i)break;t[r++]=192|a>>6,t[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;t[r++]=224|a>>12,t[r++]=128|a>>6&63,t[r++]=128|63&a}else{if(r+3>=i)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63,t[r++]=128|a>>6&63,t[r++]=128|63&a}}return t[r]=0,r-s}function G(e,t,r){return U(e,F,t,r)}function W(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function J(e){var t=W(e)+1,r=ze(t);return U(e,T,r,t),r}function K(e){C=e,n.HEAP8=T=new Int8Array(e),n.HEAP16=$=new Int16Array(e),n.HEAP32=q=new Int32Array(e),n.HEAPU8=F=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=L=new Float32Array(e),n.HEAPF64=B=new Float64Array(e)}var H=n.INITIAL_MEMORY||33554432;(A=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:H/65536,maximum:32768}))&&(C=A.buffer),H=C.byteLength,K(C);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),X=[],Y=[],Q=[],ee=[],te=!1,re=0,ne=null,se=null;function ie(e){re++,n.monitorRunDependencies&&n.monitorRunDependencies(re)}function oe(e){if(re--,n.monitorRunDependencies&&n.monitorRunDependencies(re),0==re&&(null!==ne&&(clearInterval(ne),ne=null),se)){var t=se;se=null,t()}}function ae(e){throw n.onAbort&&n.onAbort(e),w(e+=""),R=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ce,ue,le;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function he(e){return e.startsWith("file://")}function me(e){try{if(e==ce&&O)return new Uint8Array(O);if(y)return y(e);throw"both async and sync fetching of the wasm failed"}catch(e){ae(e)}}pe(ce="tree-sitter.wasm")||(ce=function(e){return n.locateFile?n.locateFile(e,v):v+e}(ce));var de={},fe={get:function(e,t){return de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),de[t]}};function _e(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?Z.get(r)():Z.get(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(n)}}function ye(e){var t=0;function r(){for(var r=0,n=1;;){var s=e[t++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(e instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(e,"dylink");I(0!=n.length,"need dylink section"),e=new Int8Array(n[0])}else I(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),I(0===e[8],"need the dylink section to be first"),t=9,r(),I(6===e[t]),I(e[++t]==="d".charCodeAt(0)),I(e[++t]==="y".charCodeAt(0)),I(e[++t]==="l".charCodeAt(0)),I(e[++t]==="i".charCodeAt(0)),I(e[++t]==="n".charCodeAt(0)),I(e[++t]==="k".charCodeAt(0)),t++;var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var i=r();s.neededDynlibs=[];for(var o=0;o<i;++o){var a=r(),c=e.subarray(t,t+a);t+=a;var u=V(c,0);s.neededDynlibs.push(u)}return s}var ge=0;function be(){return k||ge>0}function ve(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function we(e,t){for(var r in e)if(e.hasOwnProperty(r)){qe.hasOwnProperty(r)||(qe[r]=e[r]);var s=ve(r);n.hasOwnProperty(s)||(n[s]=e[r])}}var Ee={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var xe=5250880;function Se(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function je(e,t){var r={};for(var n in e){var s=e[n];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=t),r[n]=s}return function(e){for(var t in e)if(!Se(t)){var r=!1,n=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],r=!0),de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(r||0==de[t].value)&&("function"==typeof n?de[t].value=j(n):"number"==typeof n?de[t].value=n:w("unhandled export type for `"+t+"`: "+typeof n))}}(r),r}function Oe(e,t){var r,s;return t&&(r=qe["orig$"+e]),r||(r=qe[e]),r||(r=n[ve(e)]),!r&&e.startsWith("invoke_")&&(s=e.split("_")[1],r=function(){var e=De();try{return function(e,t,r){return e.includes("j")?function(e,t,r){var s=n["dynCall_"+e];return r&&r.length?s.apply(null,[t].concat(r)):s.call(null,t)}(e,t,r):Z.get(t).apply(null,r)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Ve(e),t!==t+0&&"longjmp"!==t)throw t;Ue(1,0)}}),r}function Pe(e,t){var r=ye(e);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,x);var s,i,o,a=(s=function(e){if(te)return Le(e);var t=xe,r=t+e+15&-16;return xe=r,de.__heap_base.value=r,t}(r.memorySize+n),(i=n)||(i=x),Math.ceil(s/i)*i),c=Z.length;Z.grow(r.tableSize);for(var u=a;u<a+r.memorySize;u++)T[u]=0;for(u=c;u<c+r.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return a;case"__table_base":return c}return t in qe?qe[t]:(t in e||(e[t]=function(){return r||(r=function(e){var t=Oe(e,!1);return t||(t=o[e]),t}(t)),r.apply(null,arguments)}),e[t]);var r}}),p={"GOT.mem":new Proxy({},fe),"GOT.func":new Proxy({},fe),env:l,wasi_snapshot_preview1:l};function h(e){for(var n=0;n<r.tableSize;n++){var s=Z.get(c+n);s&&E.set(s,c+n)}o=je(e.exports,a),t.allowUndefined||ke();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(te?i():Y.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var m=new WebAssembly.Instance(e,p);return Promise.resolve(h(m))}return WebAssembly.instantiate(e,p).then((function(e){return h(e.instance)}))}var d=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return h(m=new WebAssembly.Instance(d,p))}return t.loadAsync?r.neededDynlibs.reduce((function(e,r){return e.then((function(){return Ae(r,t)}))}),Promise.resolve()).then((function(){return n()})):(r.neededDynlibs.forEach((function(e){Ae(e,t)})),n())}function Ae(e,t){"__main__"!=e||Ee.loadedLibNames[e]||(Ee.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},Ee.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var r,s=Ee.loadedLibNames[e];if(s)return r=Ee.loadedLibs[s],t.global&&!r.global&&(r.global=!0,"loading"!==r.module&&we(r.module)),t.nodelete&&r.refcount!==1/0&&(r.refcount=1/0),r.refcount++,t.loadAsync?Promise.resolve(s):s;function i(e){if(t.fs){var r=t.fs.readFile(e,{encoding:"binary"});return r instanceof Uint8Array||(r=new Uint8Array(r)),t.loadAsync?Promise.resolve(r):r}return t.loadAsync?(n=e,fetch(n,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+n+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):y(e);var n}function o(){if(void 0!==n.preloadedWasm&&void 0!==n.preloadedWasm[e]){var r=n.preloadedWasm[e];return t.loadAsync?Promise.resolve(r):r}return t.loadAsync?i(e).then((function(e){return Pe(e,t)})):Pe(i(e),t)}function a(e){r.global&&we(e),r.module=e}return s=Ee.nextHandle++,r={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},Ee.loadedLibNames[e]=s,Ee.loadedLibs[s]=r,t.loadAsync?o().then((function(e){return a(e),s})):(a(o()),s)}function ke(){for(var e in de)if(0==de[e].value){var t=Oe(e,!0);"function"==typeof t?de[e].value=j(t,t.sig):"number"==typeof t?de[e].value=t:I(!1,"bad export type for `"+e+"`: "+typeof t)}}n.___heap_base=xe;var Me,Ne=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function Re(){ae()}n._abort=Re,Re.sig="v",Me=c?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function Ie(e,t){var r;if(0===e)r=Date.now();else{if(1!==e&&4!==e)return 28,q[Be()>>2]=28,-1;r=Me()}return q[t>>2]=r/1e3|0,q[t+4>>2]=r%1e3*1e3*1e3|0,0}function Ce(e){try{return A.grow(e-C.byteLength+65535>>>16),K(A.buffer),1}catch(e){}}function Te(e){Ke(e)}function Fe(e){}Ie.sig="iii",Te.sig="vi",Fe.sig="vi";var $e,qe={__heap_base:xe,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Ne,__table_base:1,abort:Re,clock_gettime:Ie,emscripten_memcpy_big:function(e,t,r){F.copyWithin(e,t,t+r)},emscripten_resize_heap:function(e){var t,r=F.length;if((e>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var s=r*(1+.2/n);if(s=Math.min(s,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,s))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Te,memory:A,setTempRet0:Fe,tree_sitter_log_callback:function(e,t){if(ut){const r=z(t);ut(r,0!==e)}},tree_sitter_parse_callback:function(e,t,r,n,s){var i=ct(t,{row:r,column:n});"string"==typeof i?(M(s,i.length,"i32"),function(e,t,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*e.length?r/2:e.length,s=0;s<n;++s){var i=e.charCodeAt(s);$[t>>1]=i,t+=2}$[t>>1]=0}(i,e,10240)):M(s,0,"i32")}},Le=(function(){var e={env:qe,wasi_snapshot_preview1:qe,"GOT.mem":new Proxy(qe,fe),"GOT.func":new Proxy(qe,fe)};function t(e,t){var r=e.exports;r=je(r,1024),n.asm=r;var s,i=ye(t);i.neededDynlibs&&(P=i.neededDynlibs.concat(P)),we(r),s=n.asm.__wasm_call_ctors,Y.unshift(s),oe()}function r(e){t(e.instance,e.module)}function s(t){return function(){if(!O&&(l||p)){if("function"==typeof fetch&&!he(ce))return fetch(ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ce+"'";return e.arrayBuffer()})).catch((function(){return me(ce)}));if(_)return new Promise((function(e,t){_(ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return me(ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){w("failed to asynchronously prepare wasm: "+e),ae(e)}))}if(ie(),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return w("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||pe(ce)||he(ce)||"function"!=typeof fetch?s(r):fetch(ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){return w("wasm streaming compile failed: "+e),w("falling back to ArrayBuffer instantiation"),s(r)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(Le=n._malloc=n.asm.malloc).apply(null,arguments)}),Be=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return(Be=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),De=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(De=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Ve=n.stackRestore=function(){return(Ve=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},ze=n.stackAlloc=function(){return(ze=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Ue=n._setThrew=function(){return(Ue=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Ge(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=n.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(e,t){var r;return r=1==t?ze(e.length):Le(e.length),e.subarray||e.slice?F.set(e,r):F.set(new Uint8Array(e),r),r},se=function e(){$e||Je(),$e||(se=e)};var We=!1;function Je(e){function t(){$e||($e=!0,n.calledRun=!0,R||(te=!0,_e(Y),_e(Q),n.onRuntimeInitialized&&n.onRuntimeInitialized(),He&&function(e){var t=n._main;if(t){var r=(e=e||[]).length+1,s=ze(4*(r+1));q[s>>2]=J(m);for(var i=1;i<r;i++)q[(s>>2)+i]=J(e[i-1]);q[(s>>2)+r]=0;try{Ke(t(r,s),!0)}catch(e){if(e instanceof Ge)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),w("exception thrown: "+o),d(1,e)}}}(e),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)e=n.postRun.shift(),ee.unshift(e);var e;_e(ee)}()))}e=e||h,re>0||!We&&(function(){if(P.length){if(!y)return ie(),void P.reduce((function(e,t){return e.then((function(){return Ae(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),ke()}));P.forEach((function(e){Ae(e,{global:!0,nodelete:!0,allowUndefined:!0})})),ke()}else ke()}(),We=!0,re>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),X.unshift(e);var e;_e(X)}(),re>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}function Ke(e,t){t&&be()&&0===e||(be()||(n.onExit&&n.onExit(e),R=!0),d(e,new Ge(e)))}if(n.run=Je,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var He=!0;n.noInitialRun&&(He=!1),Je();const Ze=n,Xe={},Ye=4,Qe=5*Ye,et=2*Ye,tt=2*Ye+2*et,rt={row:0,column:0},nt=/[\w-.]*/g,st=/^_?tree_sitter_\w+/;var it,ot,at,ct,ut;class lt{static init(){at=Ze._ts_init(),it=N(at,"i32"),ot=N(at+Ye,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=N(at,"i32"),this[1]=N(at+Ye,"i32")}delete(){Ze._ts_parser_delete(this[0]),Ze._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==dt)throw new Error("Argument must be a Language");{t=e[0];const r=Ze._ts_language_version(t);if(r<ot||it<r)throw new Error(`Incompatible language version ${r}. Compatibility range ${ot} through ${it}.`)}}else t=0,e=null;return this.language=e,Ze._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,r){if("string"==typeof e)ct=(t,r,n)=>e.slice(t,n);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");ct=e}this.logCallback?(ut=this.logCallback,Ze._ts_parser_enable_logger_wasm(this[0],1)):(ut=null,Ze._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let e=s=Ze._calloc(n,tt);for(let t=0;t<n;t++)Ot(e,r.includedRanges[t]),e+=tt}const i=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,s,n);if(!i)throw ct=null,ut=null,new Error("Parsing failed");const o=new pt(Xe,i,this.language,ct);return ct=null,ut=null,o}reset(){Ze._ts_parser_reset(this[0])}setTimeoutMicros(e){Ze._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return Ze._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class pt{constructor(e,t,r,n){gt(e),this[0]=t,this.language=r,this.textCallback=n}copy(){const e=Ze._ts_tree_copy(this[0]);return new pt(Xe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=at;St(t,e.startPosition),St(t+=et,e.oldEndPosition),St(t+=et,e.newEndPosition),M(t+=et,e.startIndex,"i32"),M(t+=Ye,e.oldEndIndex,"i32"),M(t+=Ye,e.newEndIndex,"i32"),t+=Ye}(e),Ze._ts_tree_edit_wasm(this[0])}get rootNode(){return Ze._ts_tree_root_node_wasm(this[0]),wt(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==pt)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=N(at,"i32"),r=N(at+Ye,"i32"),n=new Array(t);if(t>0){let e=r;for(let r=0;r<t;r++)n[r]=Pt(e),e+=tt;Ze._free(r)}return n}}class ht{constructor(e,t){gt(e),this.tree=t}get typeId(){return vt(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return vt(this),Ze._ts_node_end_point_wasm(this.tree[0]),jt(at)}get endIndex(){return vt(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return _t(this.tree,this.startIndex,this.endIndex)}isNamed(){return vt(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return vt(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return vt(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return vt(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return vt(this),Ze._ts_node_child_wasm(this.tree[0],e),wt(this.tree)}namedChild(e){return vt(this),Ze._ts_node_named_child_wasm(this.tree[0],e),wt(this.tree)}childForFieldId(e){return vt(this),Ze._ts_node_child_by_field_id_wasm(this.tree[0],e),wt(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return vt(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return vt(this),Ze._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){vt(this),Ze._ts_node_children_wasm(this.tree[0]);const e=N(at,"i32"),t=N(at+Ye,"i32");if(this._children=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._children[t]=wt(this.tree,r),r+=Qe;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){vt(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=N(at,"i32"),t=N(at+Ye,"i32");if(this._namedChildren=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._namedChildren[t]=wt(this.tree,r),r+=Qe;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,r){Array.isArray(e)||(e=[e]),t||(t=rt),r||(r=rt);const n=[],s=this.tree.language.types;for(let t=0,r=s.length;t<r;t++)e.includes(s[t])&&n.push(t);const i=Ze._malloc(Ye*n.length);for(let e=0,t=n.length;e<t;e++)M(i+e*Ye,n[e],"i32");vt(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,t.row,t.column,r.row,r.column);const o=N(at,"i32"),a=N(at+Ye,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=wt(this.tree,e),e+=Qe}return Ze._free(a),Ze._free(i),c}get nextSibling(){return vt(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),wt(this.tree)}get previousSibling(){return vt(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),wt(this.tree)}get nextNamedSibling(){return vt(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),wt(this.tree)}get previousNamedSibling(){return vt(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),wt(this.tree)}get parent(){return vt(this),Ze._ts_node_parent_wasm(this.tree[0]),wt(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let r=at+Qe;return M(r,e,"i32"),M(r+Ye,t,"i32"),Ze._ts_node_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let r=at+Qe;return M(r,e,"i32"),M(r+Ye,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}descendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let r=at+Qe;return St(r,e),St(r+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}namedDescendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let r=at+Qe;return St(r,e),St(r+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}walk(){return vt(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new mt(Xe,this.tree)}toString(){vt(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var r=F[e++>>0];if(!r)return t;t+=String.fromCharCode(r)}}(e);return Ze._free(e),t}}class mt{constructor(e,t){gt(e),this.tree=t,xt(this)}delete(){Et(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){vt(e),Et(this,at+Qe),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),xt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Et(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Et(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Et(this);const e=Ze._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Ze._ts_tree_cursor_end_index_wasm(this.tree[0]);return _t(this.tree,e,t)}get startPosition(){return Et(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),jt(at)}get endPosition(){return Et(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),jt(at)}get startIndex(){return Et(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Et(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Et(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),wt(this.tree)}currentFieldId(){return Et(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Et(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return xt(this),1===e}gotoNextSibling(){Et(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return xt(this),1===e}gotoParent(){Et(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return xt(this),1===e}}class dt{constructor(e,t){gt(e),this[0]=t,this.types=new Array(Ze._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)Ze._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=z(Ze._ts_language_symbol_name(this[0],e)));this.fields=new Array(Ze._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=Ze._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?z(t):null}}get version(){return Ze._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const r=W(e),n=Ze._malloc(r+1);G(e,n,r+1);const s=Ze._ts_language_symbol_for_name(this[0],n,r,t);return Ze._free(n),s||null}get nodeTypeCount(){return Ze._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=Ze._ts_language_symbol_name(this[0],e);return t?z(t):null}nodeTypeIsNamed(e){return!!Ze._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!Ze._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=W(e),r=Ze._malloc(t+1);G(e,r,t+1);const n=Ze._ts_query_new(this[0],r,t,at,at+Ye);if(!n){const t=N(at+Ye,"i32"),n=z(r,N(at,"i32")).length,s=e.substr(n,100).split("\n")[0];let i,o=s.match(nt)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${n}: '${s}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${n}: '${s}'...`),o=""}throw i.index=n,i.length=o.length,Ze._free(r),i}const s=Ze._ts_query_string_count(n),i=Ze._ts_query_capture_count(n),o=Ze._ts_query_pattern_count(n),a=new Array(i),c=new Array(s);for(let e=0;e<i;e++){const t=Ze._ts_query_capture_name_for_id(n,e,at),r=N(at,"i32");a[e]=z(t,r)}for(let e=0;e<s;e++){const t=Ze._ts_query_string_value_for_id(n,e,at),r=N(at,"i32");c[e]=z(t,r)}const u=new Array(o),l=new Array(o),p=new Array(o),h=new Array(o),m=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(n,e,at),r=N(at,"i32");h[e]=[],m[e]=[];const s=[];let i=t;for(let t=0;t<r;t++){const t=N(i,"i32"),r=N(i+=Ye,"i32");if(i+=Ye,1===t)s.push({type:"capture",name:a[r]});else if(2===t)s.push({type:"string",value:c[r]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const t=s[0].value;let r=!0;switch(t){case"not-eq?":r=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const t=s[1].name,n=s[2].name;m[e].push((function(e){let s,i;for(const r of e)r.name===t&&(s=r.node),r.name===n&&(i=r.node);return void 0===s||void 0===i||s.text===i.text===r}))}else{const t=s[1].name,n=s[2].value;m[e].push((function(e){for(const s of e)if(s.name===t)return s.node.text===n===r;return!0}))}break;case"not-match?":r=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,i=new RegExp(s[2].value);m[e].push((function(e){for(const t of e)if(t.name===n)return i.test(t.node.text)===r;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][s[1].value]=s[2]?s[2].value:null;break;default:h[e].push({operator:t,operands:s.slice(1)})}s.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return Ze._free(r),new ft(Xe,n,a,m,h,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const n=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=r(5530);t=Promise.resolve(e.readFileSync(n))}else t=fetch(n).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const r=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${r}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:Pe;return t.then((e=>n(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),r=t.find((e=>st.test(e)&&!e.includes("external_scanner_")));r||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const n=e[r]();return new dt(Xe,n)}))}}class ft{constructor(e,t,r,n,s,i,o,a){gt(e),this[0]=t,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,r,n){t||(t=rt),r||(r=rt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const i=N(at,"i32"),o=N(at+Ye,"i32"),a=N(at+2*Ye,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<i;t++){const r=N(l,"i32"),n=N(l+=Ye,"i32");l+=Ye;const s=new Array(n);if(l=yt(this,e.tree,l,s),this.textPredicates[r].every((e=>e(s)))){c[u++]={pattern:r,captures:s};const e=this.setProperties[r];e&&(c[t].setProperties=e);const n=this.assertedProperties[r];n&&(c[t].assertedProperties=n);const i=this.refutedProperties[r];i&&(c[t].refutedProperties=i)}}return c.length=u,Ze._free(o),c}captures(e,t,r,n){t||(t=rt),r||(r=rt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const i=N(at,"i32"),o=N(at+Ye,"i32"),a=N(at+2*Ye,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<i;t++){const t=N(l,"i32"),r=N(l+=Ye,"i32"),n=N(l+=Ye,"i32");if(l+=Ye,u.length=r,l=yt(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[n],r=this.setProperties[t];r&&(e.setProperties=r);const s=this.assertedProperties[t];s&&(e.assertedProperties=s);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),c.push(e)}}return Ze._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function _t(e,t,r){const n=r-t;let s=e.textCallback(t,null,r);for(t+=s.length;t<r;){const n=e.textCallback(t,null,r);if(!(n&&n.length>0))break;t+=n.length,s+=n}return t>r&&(s=s.slice(0,n)),s}function yt(e,t,r,n){for(let s=0,i=n.length;s<i;s++){const i=N(r,"i32"),o=wt(t,r+=Ye);r+=Qe,n[s]={name:e.captureNames[i],node:o}}return r}function gt(e){if(e!==Xe)throw new Error("Illegal constructor")}function bt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function vt(e){let t=at;M(t,e.id,"i32"),M(t+=Ye,e.startIndex,"i32"),M(t+=Ye,e.startPosition.row,"i32"),M(t+=Ye,e.startPosition.column,"i32"),M(t+=Ye,e[0],"i32")}function wt(e,t=at){const r=N(t,"i32");if(0===r)return null;const n=N(t+=Ye,"i32"),s=N(t+=Ye,"i32"),i=N(t+=Ye,"i32"),o=N(t+=Ye,"i32"),a=new ht(Xe,e);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:i},a[0]=o,a}function Et(e,t=at){M(t+0*Ye,e[0],"i32"),M(t+1*Ye,e[1],"i32"),M(t+2*Ye,e[2],"i32")}function xt(e){e[0]=N(at+0*Ye,"i32"),e[1]=N(at+1*Ye,"i32"),e[2]=N(at+2*Ye,"i32")}function St(e,t){M(e,t.row,"i32"),M(e+Ye,t.column,"i32")}function jt(e){return{row:N(e,"i32"),column:N(e+Ye,"i32")}}function Ot(e,t){St(e,t.startPosition),St(e+=et,t.endPosition),M(e+=et,t.startIndex,"i32"),M(e+=Ye,t.endIndex,"i32"),e+=Ye}function Pt(e){const t={};return t.startPosition=jt(e),e+=et,t.endPosition=jt(e),e+=et,t.startIndex=N(e,"i32"),e+=Ye,t.endIndex=N(e,"i32"),t}for(const e of Object.getOwnPropertyNames(lt.prototype))Object.defineProperty(i.prototype,e,{value:lt.prototype[e],enumerable:!1,writable:!1});i.Language=dt,n.onRuntimeInitialized=()=>{lt.init(),t()}})))}}return i}();e.exports=s},5530:()=>{},6287:()=>{},1427:(e,t,r)=>{e.exports=r(1125)},1681:(e,t,r)=>{"use strict";var n=r(7497);e.exports=n},3258:(e,t,r)=>{"use strict";r(2777),r(733),r(1835),r(6449),r(9383);var n=r(8422);e.exports=n.AggregateError},1125:(e,t,r)=>{"use strict";e.exports=r(3985)},3985:(e,t,r)=>{"use strict";r(3584);var n=r(1681);e.exports=n},5375:(e,t,r)=>{"use strict";var n=r(8563),s=r(5787),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not a function")}},692:(e,t,r)=>{"use strict";var n=r(8563),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},7171:e=>{"use strict";e.exports=function(){}},457:(e,t,r)=>{"use strict";var n=r(8257),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not an object")}},3346:(e,t,r)=>{"use strict";var n=r(4312),s=r(1940),i=r(8960),o=function(e){return function(t,r,o){var a,c=n(t),u=i(c),l=s(o,u);if(e&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},88:(e,t,r)=>{"use strict";var n=r(8814),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},2327:(e,t,r)=>{"use strict";var n=r(6694),s=r(8563),i=r(88),o=r(379)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?i(t):"Object"===(n=i(t))&&s(t.callee)?"Arguments":n}},1318:(e,t,r)=>{"use strict";var n=r(3941),s=r(5956),i=r(3335),o=r(4376);e.exports=function(e,t,r){for(var a=s(t),c=o.f,u=i.f,l=0;l<a.length;l++){var p=a[l];n(e,p)||r&&n(r,p)||c(e,p,u(t,p))}}},8536:(e,t,r)=>{"use strict";var n=r(2998);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9497:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},1370:(e,t,r)=>{"use strict";var n=r(1815),s=r(4376),i=r(7971);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},7971:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4500:(e,t,r)=>{"use strict";var n=r(1370);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},8194:(e,t,r)=>{"use strict";var n=r(8426),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},1815:(e,t,r)=>{"use strict";var n=r(2998);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5361:e=>{"use strict";var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},6327:(e,t,r)=>{"use strict";var n=r(8426),s=r(8257),i=n.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},8987:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9954:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5057:(e,t,r)=>{"use strict";var n,s,i=r(8426),o=r(9954),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},8573:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4456:(e,t,r)=>{"use strict";var n=r(8814),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},4151:(e,t,r)=>{"use strict";var n=r(1370),s=r(4456),i=r(5111),o=Error.captureStackTrace;e.exports=function(e,t,r,a){i&&(o?o(e,t):n(e,"stack",s(r,a)))}},5111:(e,t,r)=>{"use strict";var n=r(2998),s=r(7971);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},9011:(e,t,r)=>{"use strict";var n=r(8426),s=r(4877),i=r(9730),o=r(8563),a=r(3335).f,c=r(8722),u=r(8422),l=r(1207),p=r(1370),h=r(3941),m=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,s,d,f,_,y,g,b,v,w=e.target,E=e.global,x=e.stat,S=e.proto,j=E?n:x?n[w]:(n[w]||{}).prototype,O=E?u:u[w]||p(u,w,{})[w],P=O.prototype;for(f in t)s=!(r=c(E?f:w+(x?".":"#")+f,e.forced))&&j&&h(j,f),y=O[f],s&&(g=e.dontCallGetSet?(v=a(j,f))&&v.value:j[f]),_=s&&g?g:t[f],s&&typeof y==typeof _||(b=e.bind&&s?l(_,n):e.wrap&&s?m(_):S&&o(_)?i(_):_,(e.sham||_&&_.sham||y&&y.sham)&&p(b,"sham",!0),p(O,f,b),S&&(h(u,d=w+"Prototype")||p(u,d,{}),p(u[d],f,_),e.real&&P&&(r||!P[f])&&p(P,f,_)))}},2998:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},4877:(e,t,r)=>{"use strict";var n=r(5083),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},1207:(e,t,r)=>{"use strict";var n=r(9730),s=r(5375),i=r(5083),o=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},5083:(e,t,r)=>{"use strict";var n=r(2998);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},200:(e,t,r)=>{"use strict";var n=r(5083),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},5339:(e,t,r)=>{"use strict";var n=r(1815),s=r(3941),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},2799:(e,t,r)=>{"use strict";var n=r(8814),s=r(5375);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},9730:(e,t,r)=>{"use strict";var n=r(88),s=r(8814);e.exports=function(e){if("Function"===n(e))return s(e)}},8814:(e,t,r)=>{"use strict";var n=r(5083),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},6589:(e,t,r)=>{"use strict";var n=r(8422),s=r(8426),i=r(8563),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},2630:(e,t,r)=>{"use strict";var n=r(2327),s=r(2833),i=r(5157),o=r(2444),a=r(379)("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[n(e)]}},1291:(e,t,r)=>{"use strict";var n=r(200),s=r(5375),i=r(457),o=r(5787),a=r(2630),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(s(r))return i(n(r,e));throw new c(o(e)+" is not iterable")}},2833:(e,t,r)=>{"use strict";var n=r(5375),s=r(5157);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},8426:function(e,t,r){"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 r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},3941:(e,t,r)=>{"use strict";var n=r(8814),s=r(8389),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},3006:e=>{"use strict";e.exports={}},4812:(e,t,r)=>{"use strict";var n=r(6589);e.exports=n("document","documentElement")},4632:(e,t,r)=>{"use strict";var n=r(1815),s=r(2998),i=r(6327);e.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6541:(e,t,r)=>{"use strict";var n=r(8814),s=r(2998),i=r(88),o=Object,a=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):o(e)}:o},9330:(e,t,r)=>{"use strict";var n=r(8563),s=r(8257),i=r(8597);e.exports=function(e,t,r){var o,a;return i&&n(o=t.constructor)&&o!==r&&s(a=o.prototype)&&a!==r.prototype&&i(e,a),e}},1609:(e,t,r)=>{"use strict";var n=r(8257),s=r(1370);e.exports=function(e,t){n(t)&&"cause"in t&&s(e,"cause",t.cause)}},8551:(e,t,r)=>{"use strict";var n,s,i,o=r(8268),a=r(8426),c=r(8257),u=r(1370),l=r(3941),p=r(6028),h=r(5430),m=r(3006),d="Object already initialized",f=a.TypeError,_=a.WeakMap;if(o||p.state){var y=p.state||(p.state=new _);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new f(d);return t.facade=e,y.set(e,t),t},s=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var g=h("state");m[g]=!0,n=function(e,t){if(l(e,g))throw new f(d);return t.facade=e,u(e,g,t),t},s=function(e){return l(e,g)?e[g]:{}},i=function(e){return l(e,g)}}e.exports={set:n,get:s,has:i,enforce:function(e){return i(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=s(t)).type!==e)throw new f("Incompatible receiver, "+e+" required");return r}}}},2576:(e,t,r)=>{"use strict";var n=r(379),s=r(2444),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},8563:(e,t,r)=>{"use strict";var n=r(5361),s=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},8722:(e,t,r)=>{"use strict";var n=r(2998),s=r(8563),i=/#|\.prototype\./,o=function(e,t){var r=c[a(e)];return r===l||r!==u&&(s(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5157:e=>{"use strict";e.exports=function(e){return null==e}},8257:(e,t,r)=>{"use strict";var n=r(8563),s=r(5361),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},7736:e=>{"use strict";e.exports=!0},6753:(e,t,r)=>{"use strict";var n=r(6589),s=r(8563),i=r(7367),o=r(9378),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,a(e))}},3490:(e,t,r)=>{"use strict";var n=r(1207),s=r(200),i=r(457),o=r(5787),a=r(2576),c=r(8960),u=r(7367),l=r(1291),p=r(2630),h=r(6889),m=TypeError,d=function(e,t){this.stopped=e,this.result=t},f=d.prototype;e.exports=function(e,t,r){var _,y,g,b,v,w,E,x=r&&r.that,S=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_RECORD),O=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),A=n(t,x),k=function(e){return _&&h(_,"normal",e),new d(!0,e)},M=function(e){return S?(i(e),P?A(e[0],e[1],k):A(e[0],e[1])):P?A(e,k):A(e)};if(j)_=e.iterator;else if(O)_=e;else{if(!(y=p(e)))throw new m(o(e)+" is not iterable");if(a(y)){for(g=0,b=c(e);b>g;g++)if((v=M(e[g]))&&u(f,v))return v;return new d(!1)}_=l(e,y)}for(w=j?e.next:_.next;!(E=s(w,_)).done;){try{v=M(E.value)}catch(e){h(_,"throw",e)}if("object"==typeof v&&v&&u(f,v))return v}return new d(!1)}},6889:(e,t,r)=>{"use strict";var n=r(200),s=r(457),i=r(2833);e.exports=function(e,t,r){var o,a;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return s(o),r}},7323:(e,t,r)=>{"use strict";var n=r(374).IteratorPrototype,s=r(1504),i=r(7971),o=r(9468),a=r(2444),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=s(n,{next:i(+!u,r)}),o(e,l,!1,!0),a[l]=c,e}},5994:(e,t,r)=>{"use strict";var n=r(9011),s=r(200),i=r(7736),o=r(5339),a=r(8563),c=r(7323),u=r(9814),l=r(8597),p=r(9468),h=r(1370),m=r(4500),d=r(379),f=r(2444),_=r(374),y=o.PROPER,g=o.CONFIGURABLE,b=_.IteratorPrototype,v=_.BUGGY_SAFARI_ITERATORS,w=d("iterator"),E="keys",x="values",S="entries",j=function(){return this};e.exports=function(e,t,r,o,d,_,O){c(r,t,o);var P,A,k,M=function(e){if(e===d&&T)return T;if(!v&&e&&e in I)return I[e];switch(e){case E:case x:case S:return function(){return new r(this,e)}}return function(){return new r(this)}},N=t+" Iterator",R=!1,I=e.prototype,C=I[w]||I["@@iterator"]||d&&I[d],T=!v&&C||M(d),F="Array"===t&&I.entries||C;if(F&&(P=u(F.call(new e)))!==Object.prototype&&P.next&&(i||u(P)===b||(l?l(P,b):a(P[w])||m(P,w,j)),p(P,N,!0,!0),i&&(f[N]=j)),y&&d===x&&C&&C.name!==x&&(!i&&g?h(I,"name",x):(R=!0,T=function(){return s(C,this)})),d)if(A={values:M(x),keys:_?T:M(E),entries:M(S)},O)for(k in A)(v||R||!(k in I))&&m(I,k,A[k]);else n({target:t,proto:!0,forced:v||R},A);return i&&!O||I[w]===T||m(I,w,T,{name:d}),f[t]=T,A}},374:(e,t,r)=>{"use strict";var n,s,i,o=r(2998),a=r(8563),c=r(8257),u=r(1504),l=r(9814),p=r(4500),h=r(379),m=r(7736),d=h("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):f=!0),!c(n)||o((function(){var e={};return n[d].call(e)!==e}))?n={}:m&&(n=u(n)),a(n[d])||p(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},2444:e=>{"use strict";e.exports={}},8960:(e,t,r)=>{"use strict";var n=r(9261);e.exports=function(e){return n(e.length)}},5703:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},5517:(e,t,r)=>{"use strict";var n=r(4809);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},1504:(e,t,r)=>{"use strict";var n,s=r(457),i=r(8253),o=r(8573),a=r(3006),c=r(4812),u=r(6327),l=r(5430),p="prototype",h="script",m=l("IE_PROTO"),d=function(){},f=function(e){return"<"+h+">"+e+"</"+h+">"},_=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;y="undefined"!=typeof document?document.domain&&n?_(n):(t=u("iframe"),r="java"+h+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):_(n);for(var s=o.length;s--;)delete y[p][o[s]];return y()};a[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d[p]=s(e),r=new d,d[p]=null,r[m]=e):r=y(),void 0===t?r:i.f(r,t)}},8253:(e,t,r)=>{"use strict";var n=r(1815),s=r(4210),i=r(4376),o=r(457),a=r(4312),c=r(4230);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),s=c(t),u=s.length,l=0;u>l;)i.f(e,r=s[l++],n[r]);return e}},4376:(e,t,r)=>{"use strict";var n=r(1815),s=r(4632),i=r(4210),o=r(457),a=r(9722),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",m="writable";t.f=n?i?function(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&m in r&&!r[m]){var n=l(e,t);n&&n[m]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:p in r?r[p]:n[p],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=a(t),o(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},3335:(e,t,r)=>{"use strict";var n=r(1815),s=r(200),i=r(2886),o=r(7971),a=r(4312),c=r(9722),u=r(3941),l=r(4632),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},4243:(e,t,r)=>{"use strict";var n=r(4062),s=r(8573).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},2306:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9814:(e,t,r)=>{"use strict";var n=r(3941),s=r(8563),i=r(8389),o=r(5430),a=r(8536),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},7367:(e,t,r)=>{"use strict";var n=r(8814);e.exports=n({}.isPrototypeOf)},4062:(e,t,r)=>{"use strict";var n=r(8814),s=r(3941),i=r(4312),o=r(3346).indexOf,a=r(3006),c=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&c(l,r);for(;t.length>u;)s(n,r=t[u++])&&(~o(l,r)||c(l,r));return l}},4230:(e,t,r)=>{"use strict";var n=r(4062),s=r(8573);e.exports=Object.keys||function(e){return n(e,s)}},2886:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},8597:(e,t,r)=>{"use strict";var n=r(2799),s=r(457),i=r(692);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},3024:(e,t,r)=>{"use strict";var n=r(6694),s=r(2327);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},2483:(e,t,r)=>{"use strict";var n=r(200),s=r(8563),i=r(8257),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&s(r=e.toString)&&!i(a=n(r,e)))return a;if(s(r=e.valueOf)&&!i(a=n(r,e)))return a;if("string"!==t&&s(r=e.toString)&&!i(a=n(r,e)))return a;throw new o("Can't convert object to primitive value")}},5956:(e,t,r)=>{"use strict";var n=r(6589),s=r(8814),i=r(4243),o=r(2306),a=r(457),c=s([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?c(t,r(e)):t}},8422:e=>{"use strict";e.exports={}},3142:(e,t,r)=>{"use strict";var n=r(4376).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},8280:(e,t,r)=>{"use strict";var n=r(5157),s=TypeError;e.exports=function(e){if(n(e))throw new s("Can't call method on "+e);return e}},9468:(e,t,r)=>{"use strict";var n=r(6694),s=r(4376).f,i=r(1370),o=r(3941),a=r(3024),c=r(379)("toStringTag");e.exports=function(e,t,r,u){if(e){var l=r?e:e.prototype;o(l,c)||s(l,c,{configurable:!0,value:t}),u&&!n&&i(l,"toString",a)}}},5430:(e,t,r)=>{"use strict";var n=r(3771),s=r(9216),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6028:(e,t,r)=>{"use strict";var n=r(8426),s=r(8194),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},3771:(e,t,r)=>{"use strict";var n=r(7736),s=r(6028);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.3",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},7415:(e,t,r)=>{"use strict";var n=r(8814),s=r(1061),i=r(4809),o=r(8280),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,p=i(o(t)),h=s(r),m=p.length;return h<0||h>=m?e?"":void 0:(n=c(p,h))<55296||n>56319||h+1===m||(l=c(p,h+1))<56320||l>57343?e?a(p,h):n:e?u(p,h,h+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},3772:(e,t,r)=>{"use strict";var n=r(5057),s=r(2998),i=r(8426).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1940:(e,t,r)=>{"use strict";var n=r(1061),s=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):i(r,t)}},4312:(e,t,r)=>{"use strict";var n=r(6541),s=r(8280);e.exports=function(e){return n(s(e))}},1061:(e,t,r)=>{"use strict";var n=r(5703);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},9261:(e,t,r)=>{"use strict";var n=r(1061),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},8389:(e,t,r)=>{"use strict";var n=r(8280),s=Object;e.exports=function(e){return s(n(e))}},6561:(e,t,r)=>{"use strict";var n=r(200),s=r(8257),i=r(6753),o=r(2833),a=r(2483),c=r(379),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,c=o(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!s(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},9722:(e,t,r)=>{"use strict";var n=r(6561),s=r(6753);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},6694:(e,t,r)=>{"use strict";var n={};n[r(379)("toStringTag")]="z",e.exports="[object z]"===String(n)},4809:(e,t,r)=>{"use strict";var n=r(2327),s=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},5787:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9216:(e,t,r)=>{"use strict";var n=r(8814),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},9378:(e,t,r)=>{"use strict";var n=r(3772);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4210:(e,t,r)=>{"use strict";var n=r(1815),s=r(2998);e.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8268:(e,t,r)=>{"use strict";var n=r(8426),s=r(8563),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},379:(e,t,r)=>{"use strict";var n=r(8426),s=r(3771),i=r(3941),o=r(9216),a=r(3772),c=r(9378),u=n.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},9791:(e,t,r)=>{"use strict";var n=r(6589),s=r(3941),i=r(1370),o=r(7367),a=r(8597),c=r(1318),u=r(3142),l=r(9330),p=r(5517),h=r(1609),m=r(4151),d=r(1815),f=r(7736);e.exports=function(e,t,r,_){var y="stackTraceLimit",g=_?2:1,b=e.split("."),v=b[b.length-1],w=n.apply(null,b);if(w){var E=w.prototype;if(!f&&s(E,"cause")&&delete E.cause,!r)return w;var x=n("Error"),S=t((function(e,t){var r=p(_?t:e,void 0),n=_?new w(e):new w;return void 0!==r&&i(n,"message",r),m(n,S,n.stack,2),this&&o(E,this)&&l(n,this,S),arguments.length>g&&h(n,arguments[g]),n}));if(S.prototype=E,"Error"!==v?a?a(S,x):c(S,x,{name:!0}):d&&y in w&&(u(S,w,y),u(S,w,"prepareStackTrace")),c(S,w),!f)try{E.name!==v&&i(E,"name",v),E.constructor=S}catch(e){}return S}}},1835:(e,t,r)=>{"use strict";var n=r(9011),s=r(6589),i=r(4877),o=r(2998),a=r(9791),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,r){return i(e,this,arguments)}}),l,!0)})},1320:(e,t,r)=>{"use strict";var n=r(9011),s=r(7367),i=r(9814),o=r(8597),a=r(1318),c=r(1504),u=r(1370),l=r(7971),p=r(1609),h=r(4151),m=r(3490),d=r(5517),f=r(379)("toStringTag"),_=Error,y=[].push,g=function(e,t){var r,n=s(b,this);o?r=o(new _,n?i(this):b):(r=n?this:c(b),u(r,f,"Error")),void 0!==t&&u(r,"message",d(t)),h(r,g,r.stack,1),arguments.length>2&&p(r,arguments[2]);var a=[];return m(e,y,{that:a}),u(r,"errors",a),r};o?o(g,_):a(g,_,{name:!0});var b=g.prototype=c(_.prototype,{constructor:l(1,g),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},733:(e,t,r)=>{"use strict";r(1320)},6449:(e,t,r)=>{"use strict";var n=r(4312),s=r(7171),i=r(2444),o=r(8551),a=r(4376).f,c=r(5994),u=r(9497),l=r(7736),p=r(1815),h="Array Iterator",m=o.set,d=o.getterFor(h);e.exports=c(Array,"Array",(function(e,t){m(this,{type:h,target:n(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var f=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==f.name)try{a(f,"name",{value:"values"})}catch(e){}},2777:(e,t,r)=>{"use strict";var n=r(9011),s=r(8426),i=r(4877),o=r(9791),a="WebAssembly",c=s[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},p=function(e,t){if(c&&c[e]){var r={};r[e]=o(a+"."+e,t,u),n({target:a,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),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)}}))},9383:(e,t,r)=>{"use strict";var n=r(7415).charAt,s=r(4809),i=r(8551),o=r(5994),a=r(9497),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:s(e),index:0})}),(function(){var e,t=l(this),r=t.string,s=t.index;return s>=r.length?a(void 0,!0):(e=n(r,s),t.index+=e.length,a(e,!1))}))},3584:(e,t,r)=>{"use strict";r(733)},6128:(e,t,r)=>{"use strict";r(6449);var n=r(8987),s=r(8426),i=r(2327),o=r(1370),a=r(2444),c=r(379)("toStringTag");for(var u in n){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},7497:(e,t,r)=>{"use strict";r(3584);var n=r(3258);r(6128),e.exports=n}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var s=n.length-1;s>-1&&!e;)e=n[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})();var n={};return(()=>{"use strict";r.r(n),r.d(n,{detect:()=>bh,detectionRegExp:()=>gh,mediaTypes:()=>yh,namespace:()=>wh,parse:()=>vh});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>rr,includesClasses:()=>sr,includesSymbols:()=>nr,isAnnotationElement:()=>Xt,isArrayElement:()=>Jt,isBooleanElement:()=>Gt,isCommentElement:()=>Yt,isElement:()=>Dt,isLinkElement:()=>Ht,isMemberElement:()=>Kt,isNullElement:()=>Ut,isNumberElement:()=>zt,isObjectElement:()=>Wt,isParseResultElement:()=>Qt,isPrimitiveElement:()=>tr,isRefElement:()=>Zt,isSourceMapElement:()=>er,isStringElement:()=>Vt});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>vo,isJSONSchemaElement:()=>bo,isLinkDescriptionElement:()=>Eo,isMediaElement:()=>wo});var s={};r.r(s),r.d(s,{isOpenApi3_0LikeElement:()=>Ko,isOpenApiExtension:()=>ta,isParameterLikeElement:()=>Ho,isReferenceLikeElement:()=>Zo,isRequestBodyLikeElement:()=>Xo,isResponseLikeElement:()=>Yo,isServerLikeElement:()=>Qo,isTagLikeElement:()=>ea});var i={};function o(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(r){return 0===arguments.length||o(r)?t:e.apply(this,arguments)}}function c(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return o(r)?t:a((function(t){return e(r,t)}));default:return o(r)&&o(n)?t:o(r)?a((function(t){return e(t,n)})):o(n)?a((function(t){return e(r,t)})):e(r,n)}}}function u(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return o(r)?t:c((function(t,n){return e(r,t,n)}));case 2:return o(r)&&o(n)?t:o(r)?c((function(t,r){return e(t,n,r)})):o(n)?c((function(t,n){return e(r,t,n)})):a((function(t){return e(r,n,t)}));default:return o(r)&&o(n)&&o(s)?t:o(r)&&o(n)?c((function(t,r){return e(t,r,s)})):o(r)&&o(s)?c((function(t,r){return e(t,n,r)})):o(n)&&o(s)?c((function(t,n){return e(r,t,n)})):o(r)?a((function(t){return e(t,n,s)})):o(n)?a((function(t){return e(r,t,s)})):o(s)?a((function(t){return e(r,n,t)})):e(r,n,s)}}}r.r(i),r.d(i,{isBooleanJsonSchemaElement:()=>lc,isCallbackElement:()=>Ua,isComponentsElement:()=>Ga,isContactElement:()=>Wa,isExampleElement:()=>Ja,isExternalDocumentationElement:()=>Ka,isHeaderElement:()=>Ha,isInfoElement:()=>Za,isLicenseElement:()=>Xa,isLinkElement:()=>Ya,isMediaTypeElement:()=>dc,isOpenApi3_0Element:()=>ec,isOpenapiElement:()=>Qa,isOperationElement:()=>tc,isParameterElement:()=>rc,isPathItemElement:()=>nc,isPathsElement:()=>sc,isReferenceElement:()=>ic,isRequestBodyElement:()=>oc,isResponseElement:()=>ac,isResponsesElement:()=>cc,isSchemaElement:()=>uc,isSecurityRequirementElement:()=>pc,isServerElement:()=>hc,isServerVariableElement:()=>mc,isServersElement:()=>fc});const l=c((function(e,t){return null==t||t!=t?e:t})),p=Number.isInteger||function(e){return e<<0===e};function h(e){return"[object String]"===Object.prototype.toString.call(e)}const m=c((function(e,t){var r=e<0?t.length+e:e;return h(t)?t.charAt(r):t[r]}));const d=c((function(e,t){if(null!=t)return p(e)?m(e,t):t[e]}));const f=u((function(e,t,r){return l(e,d(t,r))}));var _=c((function(e,t){for(var r={},n={},s=0,i=e.length;s<i;)n[e[s]]=1,s+=1;for(var o in t)n.hasOwnProperty(o)||(r[o]=t[o]);return r}));const y=_;function g(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}const b=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const v=a((function(e){return!!b(e)||!!e&&("object"==typeof e&&(!h(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var w="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,r){return function(n,s,i){if(v(i))return e(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(n,s,i,"fantasy-land/reduce");if(null!=i[w])return r(n,s,i[w]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return t(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function x(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function S(e,t,r,n){return r[n](e,t)}const j=E(g,S,x);function O(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!b(n)){for(var s=0;s<e.length;){if("function"==typeof n[e[s]])return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=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 r.apply(this,arguments)}}function P(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}const A=function(){return this.xf["@@transducer/init"]()},k=function(e){return this.xf["@@transducer/result"](e)};var M=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const N=function(e){return function(t){return new M(e,t)}};function R(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,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,s){return t.apply(this,arguments)};case 5:return function(e,r,n,s,i){return t.apply(this,arguments)};case 6:return function(e,r,n,s,i,o){return t.apply(this,arguments)};case 7:return function(e,r,n,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function I(e,t,r){return function(){for(var n=[],s=0,i=e,a=0,c=!1;a<t.length||s<arguments.length;){var u;a<t.length&&(!o(t[a])||s>=arguments.length)?u=t[a]:(u=arguments[s],s+=1),n[a]=u,o(u)?c=!0:i-=1,a+=1}return!c&&i<=0?r.apply(this,n):R(Math.max(0,i),I(e,n,r))}}const C=c((function(e,t){return 1===e?a(t):R(e,I(e,[],t))}));function T(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var F=Object.prototype.toString;const $=function(){return"[object Arguments]"===F.call(arguments)?function(e){return"[object Arguments]"===F.call(e)}:function(e){return T("callee",e)}}();var q=!{toString:null}.propertyIsEnumerable("toString"),L=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B=function(){return arguments.propertyIsEnumerable("length")}(),D=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1},V="function"!=typeof Object.keys||B?a((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=B&&$(e);for(t in e)!T(t,e)||s&&"length"===t||(n[n.length]=t);if(q)for(r=L.length-1;r>=0;)T(t=L[r],e)&&!D(n,t)&&(n[n.length]=t),r-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const z=V;const U=c(O(["fantasy-land/map","map"],N,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return C(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return g((function(r,n){return r[n]=e(t[n]),r}),{},z(t));default:return P(e,t)}})));const G=c((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(r){return e(r)(t(r))}:j((function(e,r){return function(e,t){var r;t=t||[];var n=(e=e||[]).length,s=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=t[r],r+=1;return i}(e,U(r,t))}),[],e)}));const W=c((function(e,t){var r=C(e,t);return C(e,(function(){return g(G,U(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const J=a((function(e){return W(e.length,e)}));const K=J(a((function(e){return!e})));function H(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function Z(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}const X="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Y=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function Q(e,t,r,n){var s=H(e);function i(e,t){return ee(e,t,r.slice(),n.slice())}return!Z((function(e,t){return!Z(i,t,e)}),H(t),s)}function ee(e,t,r,n){if(X(e,t))return!0;var s,i,o=Y(e);if(o!==Y(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!X(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!X(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===e)return n[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&Q(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&Q(e.values(),t.values(),r.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=z(e);if(c.length!==z(t).length)return!1;var u=r.concat([e]),l=n.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!T(p,t)||!ee(t[p],e[p],u,l))return!1;a-=1}return!0}const te=c((function(e,t){return ee(e,t,[],[])}));const re=a((function(e){return function(){return e}}));const ne=re(void 0);const se=te(ne());const ie=K(se);var oe=r(7952);function ae(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ce(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const ue=c((function(e,t){return R(e.length,(function(){return e.apply(t,arguments)}))}));function le(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function pe(e,t,r,n){return e["@@transducer/result"](r[n](ue(e["@@transducer/step"],e),t))}const he=E(ce,pe,le);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const de=u((function(e,t,r){return he("function"==typeof e?new me(e):e,t,r)}));function fe(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return b(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const _e=u(fe("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const ye=a(fe("tail",_e(1,1/0)));function ge(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return R(arguments[0].length,de(ae,arguments[0],ye(arguments)))}var be=function(e,t){switch(arguments.length){case 0:return be;case 1:return function t(r){return 0===arguments.length?t:X(e,r)};default:return X(e,t)}};const ve=be;function we(e,t){return function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s===n)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(te(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}function Ee(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var xe=function(e){return(e<10?"0":"")+e};const Se="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+xe(e.getUTCMonth()+1)+"-"+xe(e.getUTCDate())+"T"+xe(e.getUTCHours())+":"+xe(e.getUTCMinutes())+":"+xe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function je(e){return"[object Object]"===Object.prototype.toString.call(e)}var Oe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Pe(e){return function(t){return new Oe(e,t)}}const Ae=c(O(["fantasy-land/filter","filter"],Pe,(function(e,t){return je(t)?g((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},z(t)):function(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}(e,t)})));const ke=c((function(e,t){return Ae((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function Me(e,t){var r=function(r){var n=t.concat([e]);return we(r,n)?"<Circular>":Me(r,n)},n=function(e,t){return P((function(t){return Ee(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+P(r,e).join(", ")+"))";case"[object Array]":return"["+P(r,e).concat(n(e,ke((function(e){return/^\d+$/.test(e)}),z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):Ee(Se(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":Ee(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+n(e,z(e)).join(", ")+"}"}}const Ne=a((function(e){return Me(e,[])}));const Re=c((function(e,t){return e.map((function(e){for(var r,n=t,s=0;s<e.length;){if(null==n)return;r=e[s],n=p(r)?m(r,n):n[r],s+=1}return n}))}));const Ie=c((function(e,t){return Re([e],t)[0]}));const Ce=u((function(e,t,r){return e(Ie(t,r))}));function Te(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Fe=c((function(e,t){return e&&t}));const $e=c((function(e,t){return Te(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:J(Fe)(e,t)}));const qe=te(null);const Le=K(qe);function Be(e){return Be="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},Be(e)}const De=function(e){return"object"===Be(e)};const Ve=C(1,$e(Le,De));const ze=c((function(e,t){if(e===t)return t;function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t);if(void 0!==n)return n;var s=r(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=Ne(e),o=r(i,Ne(t));return void 0!==o&&o===i?e:t}));const Ue=c((function(e,t){return U(d(e),t)}));const Ge=a((function(e){return C(de(ze,0,Ue("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const We=C(1,ge(Y,ve("GeneratorFunction")));const Je=C(1,ge(Y,ve("AsyncFunction")));const Ke=Ge([ge(Y,ve("Function")),We,Je]);var He=ge(Y,ve("Object")),Ze=ge(Ne,te(Ne(Object))),Xe=Ce($e(Ke,Ze),["constructor"]);const Ye=C(1,(function(e){if(!Ve(e)||!He(e))return!1;var t=Object.getPrototypeOf(e);return!!qe(t)||Xe(t)}));class Qe extends oe.RP{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const et=Qe;class tt extends oe.RP{constructor(e,t,r){super(e,t,r),this.element="comment"}}const rt=tt;class nt extends oe.ON{constructor(e,t,r){super(e,t,r),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(se(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const st=nt;class it extends oe.ON{constructor(e,t,r){super(e,t,r),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(void 0===e)return;const t=new oe.ON([e.start.row,e.start.column,e.start.char]),r=new oe.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const ot=it;class at extends oe.lS{constructor(){super(),this.register("annotation",et),this.register("comment",rt),this.register("parseResult",st),this.register("sourceMap",ot)}}const ct=new at,ut=e=>{const t=new at;return Ye(e)&&t.use(e),t},lt=ct;const pt=C(1,ge(Y,ve("String"))),ht=r.p+"23aac571c96605dc25219087ad291441.wasm",mt=globalThis.fetch;Ke(mt)&&(globalThis.fetch=(...e)=>pt(e[0])&&e[0].endsWith("tree-sitter.wasm")?mt.apply(globalThis,[ht,ye(e)]):mt.apply(globalThis,e));var dt=r(9794),ft=r(1427);const _t=class extends ft{constructor(e,t,r){if(super(e,t,r),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:e}=r;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class yt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(_t,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const gt=yt,bt=r.p+"13ee407b2f9bd26c94370902ddeb5bcf.wasm";let vt=null,wt=null;const Et=async e=>{if(null===vt&&null===wt)wt=dt.init().then((()=>dt.Language.load(bt))).then((e=>{const t=new dt;return t.setLanguage(e),t})).finally((()=>{wt=null})),vt=await wt;else if(null===vt&&null!==wt)vt=await wt;else if(null===vt)throw new gt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return vt.parse(e)};const xt=class extends gt{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...r}=t;Object.assign(this,r)}}},St=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},jt={},Ot=e=>null==e?void 0:e.type,Pt=e=>"string"==typeof Ot(e),At=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),kt=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=jt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=St,nodeTypeGetter:c=Ot,nodePredicate:u=Pt,nodeCloneFn:l=At,detectCycles:p=!0}={})=>{const h=r||{};let m,d,f=Array.isArray(e),_=[e],y=-1,g=[],b=e;const v=[],w=[];do{y+=1;const e=y===_.length;let r;const x=e&&0!==g.length;if(e){if(r=0===w.length?void 0:v.pop(),b=d,d=w.pop(),x)if(f){b=b.slice();let e=0;for(const[t,r]of g){const n=t-e;r===i?(b.splice(n,1),e+=1):b[n]=r}}else{b=l(b);for(const[e,t]of g)b[e]=t}y=m.index,_=m.keys,g=m.edits,f=m.inArray,m=m.prev}else if(d!==i&&void 0!==d){if(r=f?y:_[y],b=d[r],b===i||void 0===b)continue;v.push(r)}let S;if(!Array.isArray(b)){if(!u(b))throw new xt(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){v.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;S=i.call(t,b,r,d,v,w)}if(S===s)break;if(S===o){if(!e){v.pop();continue}}else if(void 0!==S&&(g.push([r,S]),!e)){if(!u(S)){v.pop();continue}b=S}}var E;if(void 0===S&&x&&g.push([r,b]),!e)m={inArray:f,index:y,keys:_,edits:g,prev:m},f=Array.isArray(b),_=f?b:null!==(E=h[c(b)])&&void 0!==E?E:[],y=-1,g=[],d!==i&&void 0!==d&&w.push(d),d=b}while(void 0!==m);return 0!==g.length?g[g.length-1][1]:e};function Mt(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}kt[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=jt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=St,nodeTypeGetter:c=Ot,nodePredicate:u=Pt,nodeCloneFn:l=At,detectCycles:p=!0}={})=>{const h=r||{};let m,d,f=Array.isArray(e),_=[e],y=-1,g=[],b=e;const v=[],w=[];do{y+=1;const e=y===_.length;let r;const x=e&&0!==g.length;if(e){if(r=0===w.length?void 0:v.pop(),b=d,d=w.pop(),x)if(f){b=b.slice();let e=0;for(const[t,r]of g){const n=t-e;r===i?(b.splice(n,1),e+=1):b[n]=r}}else{b=l(b);for(const[e,t]of g)b[e]=t}y=m.index,_=m.keys,g=m.edits,f=m.inArray,m=m.prev}else if(d!==i&&void 0!==d){if(r=f?y:_[y],b=d[r],b===i||void 0===b)continue;v.push(r)}let S;if(!Array.isArray(b)){if(!u(b))throw new xt(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){v.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;S=await i.call(t,b,r,d,v,w)}if(S===s)break;if(S===o){if(!e){v.pop();continue}}else if(void 0!==S&&(g.push([r,S]),!e)){if(!u(S)){v.pop();continue}b=S}}var E;if(void 0===S&&x&&g.push([r,b]),!e)m={inArray:f,index:y,keys:_,edits:g,prev:m},f=Array.isArray(b),_=f?b:null!==(E=h[c(b)])&&void 0!==E?E:[],y=-1,g=[],d!==i&&void 0!==d&&w.push(d),d=b}while(void 0!==m);return 0!==g.length?g[g.length-1][1]:e};var Nt=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=A,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=Mt(this.xf["@@transducer/step"](e,!1))),e},e}();function Rt(e){return function(t){return new Nt(e,t)}}const It=c(O(["all"],Rt,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));const Ct=a((function(e){return C(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}))(c(we)),Tt=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Ft=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,$t=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),qt=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof oe.ON)&&t.classes.includes(e),Lt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Bt=e=>e({hasMethod:Tt,hasBasicElementProps:Ft,primitiveEq:$t,isElementType:Lt,hasClass:qt}),Dt=Bt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.W_||e(r)&&t(void 0,r))),Vt=Bt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.RP||e(r)&&t("string",r))),zt=Bt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.VL||e(r)&&t("number",r))),Ut=Bt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.zr||e(r)&&t("null",r))),Gt=Bt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof oe.hh||e(r)&&t("boolean",r))),Wt=Bt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof oe.Sb||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),Jt=Bt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof oe.ON&&!(n instanceof oe.Sb)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Kt=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof oe.c6||e(n)&&t("member",n)&&r(void 0,n))),Ht=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof oe.EA||e(n)&&t("link",n)&&r(void 0,n))),Zt=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof oe.tK||e(n)&&t("ref",n)&&r(void 0,n))),Xt=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof et||e(n)&&t("annotation",n)&&r("array",n))),Yt=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof rt||e(n)&&t("comment",n)&&r("string",n))),Qt=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof st||e(n)&&t("parseResult",n)&&r("array",n))),er=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ot||e(n)&&t("sourceMap",n)&&r("array",n))),tr=e=>Lt("object",e)||Lt("array",e)||Lt("boolean",e)||Lt("number",e)||Lt("string",e)||Lt("null",e)||Lt("member",e),rr=e=>er(e.meta.get("sourceMap")),nr=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!Jt(r)&&It(Ct(r.toValue()),e)},sr=(e,t)=>0===e.length||It(Ct(t.classes.toValue()),e);const ir=class extends xt{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const or=class extends ir{};const ar=class extends ir{},cr=(e,t={})=>{const{visited:r=new WeakMap}=t,n={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof oe.KeyValuePair){const{key:t,value:s}=e,i=Dt(t)?cr(t,n):t,o=Dt(s)?cr(s,n):s,a=new oe.KeyValuePair(i,o);return r.set(e,a),a}if(e instanceof oe.rm){const t=e=>cr(e,n),s=[...e].map(t),i=new oe.rm(s);return r.set(e,i),i}if(e instanceof oe.O4){const t=e=>cr(e,n),s=[...e].map(t),i=new oe.O4(s);return r.set(e,i),i}if(Dt(e)){const t=pr(e);if(r.set(e,t),e.content)if(Dt(e.content))t.content=cr(e.content,n);else if(e.content instanceof oe.KeyValuePair)t.content=cr(e.content,n);else if(Array.isArray(e.content)){const r=e=>cr(e,n);t.content=e.content.map(r)}else t.content=e.content;else t.content=e.content;return t}throw new or("Value provided to cloneDeep function couldn't be cloned",{value:e})};cr.safe=e=>{try{return cr(e)}catch{return e}};const ur=e=>{const{key:t,value:r}=e;return new oe.KeyValuePair(t,r)},lr=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=cr(e.meta)),e.attributes.length>0&&(t._attributes=cr(e.attributes)),Dt(e.content)){const r=e.content;t.content=lr(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof oe.KeyValuePair?t.content=ur(e.content):t.content=e.content;return t},pr=e=>{if(e instanceof oe.KeyValuePair)return ur(e);if(e instanceof oe.rm)return(e=>{const t=[...e];return new oe.rm(t)})(e);if(e instanceof oe.O4)return(e=>{const t=[...e];return new oe.O4(t)})(e);if(Dt(e))return lr(e);throw new ar("Value provided to cloneShallow function couldn't be cloned",{value:e})};pr.safe=e=>{try{return pr(e)}catch{return e}};const hr=e=>Wt(e)?"ObjectElement":Jt(e)?"ArrayElement":Kt(e)?"MemberElement":Vt(e)?"StringElement":Gt(e)?"BooleanElement":zt(e)?"NumberElement":Ut(e)?"NullElement":Ht(e)?"LinkElement":Zt(e)?"RefElement":void 0,mr=e=>Dt(e)?pr(e):At(e),dr=ge(hr,pt),fr={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const _r=(e,t,{keyMap:r=fr,...n}={})=>kt(e,t,{keyMap:r,nodeTypeGetter:hr,nodePredicate:dr,nodeCloneFn:mr,...n});_r[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=fr,...n}={})=>kt[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:hr,nodePredicate:dr,nodeCloneFn:mr,...n});const yr=u((function(e,t,r){var n,s={};for(n in r=r||{},t=t||{})T(n,t)&&(s[n]=T(n,r)?e(n,t[n],r[n]):t[n]);for(n in r)T(n,r)&&!T(n,s)&&(s[n]=r[n]);return s}));const gr=u((function e(t,r,n){return yr((function(r,n,s){return je(n)&&je(s)?e(t,n,s):t(r,n,s)}),r,n)}));const br=c((function(e,t){return gr((function(e,t,r){return r}),e,t)}));const vr=_e(0,-1);const wr=c((function(e,t){return e.apply(this,t)}));const Er=K(Ke);var xr=a((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():b(e)?[]:h(e)?"":je(e)?{}:$(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Sr=xr;const jr=a((function(e){return null!=e&&te(e,Sr(e))}));const Or=C(1,Ke(Array.isArray)?Array.isArray:ge(Y,ve("Array")));const Pr=$e(Or,jr);const Ar=C(3,(function(e,t,r){var n=Ie(e,r),s=Ie(vr(e),r);if(!Er(n)&&!Pr(e)){var i=ue(n,s);return wr(i,t)}})),kr=()=>({predicates:{...e},namespace:lt}),Mr={toolboxCreator:kr,visitorOptions:{nodeTypeGetter:hr,exposeEdits:!0}},Nr=(e,t,r={})=>{if(0===t.length)return e;const n=br(Mr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=St,nodeTypeGetter:r=Ot,breakSymbol:n=jt,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(u,...l){let p=u,h=!1;for(let m=0;m<e.length;m+=1)if(c[m]===a){const a=t(e[m],r(p),!1);if("function"==typeof a){const t=a.call(e[m],p,...l);if(t===i)c[m]=u;else if(t===n)c[m]=n;else{if(t===s)return t;if(void 0!==t){if(!o)return t;p=t,h=!0}}}}return h?p:void 0},leave(s,...o){for(let u=0;u<e.length;u+=1)if(c[u]===a){const a=t(e[u],r(s),!0);if("function"==typeof a){const t=a.call(e[u],s,...o);if(t===n)c[u]=n;else if(void 0!==t&&t!==i)return t}}else c[u]===s&&(c[u]=a)}}})(a.map(f({},"visitor")),{...i});a.forEach(Ar(["pre"],[]));const u=_r(e,c,i);return a.forEach(Ar(["post"],[])),u},Rr=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return Nr(n,r,{toolboxCreator:kr,visitorOptions:{nodeTypeGetter:hr}})},Ir=e=>(t,r={})=>Rr(t,{...r,Type:e});oe.Sb.refract=Ir(oe.Sb),oe.ON.refract=Ir(oe.ON),oe.RP.refract=Ir(oe.RP),oe.hh.refract=Ir(oe.hh),oe.zr.refract=Ir(oe.zr),oe.VL.refract=Ir(oe.VL),oe.EA.refract=Ir(oe.EA),oe.tK.refract=Ir(oe.tK),et.refract=Ir(et),rt.refract=Ir(rt),st.refract=Ir(st),ot.refract=Ir(ot);const Cr=class{hasError=!1;children=[];constructor(e){this.type=e.nodeType,this.startPosition=e.startPosition,this.endPosition=e.endPosition,this.startIndex=e.startIndex,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}setFieldName(e){return"function"==typeof e.currentFieldName?this.fieldName=e.currentFieldName():this.fieldName=e.currentFieldName,this}setHasError(e){return"function"==typeof e.currentNode?this.hasError=e.currentNode().hasError():this.hasError=e.currentNode.hasError(),this}pushChildren(...e){this.children.push(...e)}};class Tr{static toPosition(e){const t=new oe.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),r=new oe.ON([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),r.classes.push("position"),[t,r]}sourceMap=!1;ParseResultElement={leave:e=>{const t=e.findElements(tr);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}enter(e){if(e instanceof Cr&&!e.isNamed&&e.isMissing){const t=e.type||e.text,r=new et(`(Missing ${t})`);r.classes.push("warning"),this.maybeAddSourceMap(e,r),this.annotations.push(r)}return null}document(e){const t=new st;return t._content=e.children,this.maybeAddSourceMap(e,t),t}object(e){const t=new oe.Sb;return t._content=e.children,this.maybeAddSourceMap(e,t),t}array(e){const t=new oe.ON;return t._content=e.children,this.maybeAddSourceMap(e,t),t}pair(e){const t=new oe.c6;return t.content.key=e.keyNode,t.content.value=e.valueNode,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"ERROR"===e.type)).forEach((t=>{this.ERROR(t,e,[],[e])})),t}string(e){const t=new oe.RP(JSON.parse(e.text));return this.maybeAddSourceMap(e,t),t}number(e){const t=new oe.VL(Number(e.text));return this.maybeAddSourceMap(e,t),t}null(e){const t=new oe.zr;return this.maybeAddSourceMap(e,t),t}true(e){const t=new oe.hh(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new oe.hh(!1);return this.maybeAddSourceMap(e,t),t}ERROR(e,t,r,n){const s=!e.hasError,i=e.text,o=new et(s?`(Unexpected ${i})`:`(Error ${i})`);if(o.classes.push("error"),this.maybeAddSourceMap(e,o),0===n.length){const e=new st;return e.push(o),e}return this.annotations.push(o),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const r=new ot,n=Tr.toPosition(e);if(null!==n){const[e,t]=n;r.push(e),r.push(t)}r.astNode=e,t.meta.set("sourceMap",r)}}const Fr=Tr;class $r{constructor(e){this.cursor=e}document(){return new Cr(this.cursor)}object(){return new Cr(this.cursor).setFieldName(this.cursor)}array(){return new Cr(this.cursor).setFieldName(this.cursor)}pair(){return new Cr(this.cursor)}string(){return new Cr(this.cursor).setFieldName(this.cursor)}number(){return new Cr(this.cursor).setFieldName(this.cursor)}null(){return new Cr(this.cursor).setFieldName(this.cursor)}true(){return new Cr(this.cursor).setFieldName(this.cursor)}false(){return new Cr(this.cursor).setFieldName(this.cursor)}ERROR(){return new Cr(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Cr(this.cursor),this.cursor.gotoFirstChild()){const[t]=new $r(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new $r(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const qr=$r,Lr={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...fr},Br=e=>Qt(e)?"ParseResultElement":Dt(e)?hr(e):Ot(e),Dr=e=>Dt(e)||Pt(e),Vr=(e,{sourceMap:t=!1}={})=>{const r=new Fr,n=e.walk(),s=new qr(n),[i]=Array.from(s);return kt(i,r,{keyMap:Lr,nodeTypeGetter:Br,nodePredicate:Dr,state:{sourceMap:t}})};class zr{static type="point";type=zr.type;constructor({row:e,column:t,char:r}){this.row=e,this.column=t,this.char=r}}class Ur{static type="position";type=Ur.type;constructor({start:e,end:t}){this.start=e,this.end=t}}const Gr=Ur;const Wr=m(0);const Jr=class{static type="node";type="node";constructor({children:e=[],position:t,isMissing:r=!1}={}){this.type=this.constructor.type,this.isMissing=r,this.children=e,this.position=t}clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const r=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,r)})),e}};const Kr=class extends Jr{};const Hr=class extends Kr{static type="document";get child(){return Wr(this.children)}};const Zr=class extends Jr{static type="parseResult";get rootNode(){return Wr(this.children)}};const Xr=class extends Jr{static type="literal";constructor({value:e,...t}={}){super({...t}),this.value=e}},Yr=(e,t)=>null!=t&&"object"==typeof t&&"type"in t&&t.type===e,Qr=e=>Yr("string",e),en=e=>Yr("false",e),tn=e=>Yr("true",e),rn=e=>Yr("null",e),nn=e=>Yr("number",e),sn=e=>Yr("array",e),on=e=>Yr("object",e),an=e=>Yr("property",e),cn=e=>Yr("key",e);const un=class extends Kr{static type="object";get properties(){return this.children.filter(an)}};const ln=class extends Kr{static type="string";get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((e=>(e=>Yr("stringContent",e))(e)||(e=>Yr("escapeSequence",e))(e))).reduce(((e,t)=>e+t.value),"")}};const pn=class extends ln{static type="key"};const hn=class extends Kr{static type="property";get key(){return this.children.find(cn)}get value(){return this.children.find((e=>en(e)||tn(e)||rn(e)||nn(e)||Qr(e)||sn(e)||on(e)))}};const mn=class extends Kr{static type="array";get items(){return this.children.filter((e=>en(e)||tn(e)||rn(e)||nn(e)||Qr(e)||sn(e)||on))}};const dn=class extends Kr{static type="value";constructor({value:e,...t}){super({...t}),this.value=e}};const fn=class extends dn{static type="stringContent"};const _n=class extends dn{static type="number"};const yn=class extends dn{static type="null"};const gn=class extends dn{static type="true"};const bn=class extends dn{static type="false"};const vn=class extends Jr{static type="error";constructor({value:e,isUnexpected:t=!1,...r}={}){super({...r}),this.value=e,this.isUnexpected=t}},wn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]};class En{static toPosition(e){const t=new zr({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),r=new zr({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return new Gr({start:t,end:r})}document={enter:e=>{const t=En.toPosition(e);return new Hr({children:e.children,position:t,isMissing:e.isMissing})},leave:e=>new Zr({children:[e]})};enter(e){if(e instanceof Cr&&!e.isNamed){const t=En.toPosition(e),r=e.type||e.text,{isMissing:n}=e;return new Xr({value:r,position:t,isMissing:n})}}object(e){const t=En.toPosition(e);return new un({children:e.children,position:t,isMissing:e.isMissing})}pair(e){const t=En.toPosition(e),r=e.children.slice(1),{keyNode:n}=e,s=new pn({children:(null==n?void 0:n.children)||[],position:null!=n?En.toPosition(n):void 0,isMissing:null!=n&&n.isMissing});return new hn({children:[s,...r],position:t,isMissing:e.isMissing})}array(e){const t=En.toPosition(e);return new mn({children:e.children,position:t,isMissing:e.isMissing})}string(e){const t=En.toPosition(e),r=new fn({value:JSON.parse(e.text)});return new ln({children:[r],position:t,isMissing:e.isMissing})}number(e){const t=En.toPosition(e),r=e.text;return new _n({value:r,position:t,isMissing:e.isMissing})}null(e){const t=En.toPosition(e),r=e.text;return new yn({value:r,position:t,isMissing:e.isMissing})}true(e){const t=En.toPosition(e),r=e.text;return new gn({value:r,position:t,isMissing:e.isMissing})}false(e){const t=En.toPosition(e),r=e.text;return new bn({value:r,position:t,isMissing:e.isMissing})}ERROR(e,t,r,n){const s=En.toPosition(e),i=new vn({children:e.children,position:s,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text});return 0===n.length?new Zr({children:[i]}):i}}const xn=En,Sn={[Zr.type]:["children"],[Hr.type]:["children"],[un.type]:["children"],[hn.type]:["children"],[mn.type]:["children"],[vn.type]:["children"],...fr},jn=e=>Qt(e)?"ParseResultElement":Dt(e)?hr(e):Ot(e),On=e=>Dt(e)||Pt(e);const Pn=class{sourceMap=!1;ParseResultElement={leave:e=>{const t=e.findElements(tr);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}document(e){const t=new st;return t._content=e.children,t}object(e){const t=new oe.Sb;return t._content=e.children,this.maybeAddSourceMap(e,t),t}property(e){const t=new oe.c6;return t.content.key=e.key,t.content.value=e.value,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"error"===e.type)).forEach((t=>{this.error(t,e,[],[e])})),t}key(e){const t=new oe.RP(e.value);return this.maybeAddSourceMap(e,t),t}array(e){const t=new oe.ON;return t._content=e.children,this.maybeAddSourceMap(e,t),t}string(e){const t=new oe.RP(e.value);return this.maybeAddSourceMap(e,t),t}number(e){const t=new oe.VL(Number(e.value));return this.maybeAddSourceMap(e,t),t}null(e){const t=new oe.zr;return this.maybeAddSourceMap(e,t),t}true(e){const t=new oe.hh(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new oe.hh(!1);return this.maybeAddSourceMap(e,t),t}literal(e){if(e.isMissing){const t=`(Missing ${e.value})`,r=new et(t);r.classes.push("warning"),this.maybeAddSourceMap(e,r),this.annotations.push(r)}return null}error(e,t,r,n){const s=e.isUnexpected?`(Unexpected ${e.value})`:`(Error ${e.value})`,i=new et(s);if(i.classes.push("error"),this.maybeAddSourceMap(e,i),0===n.length){const e=new st;return e.push(i),e}return this.annotations.push(i),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const r=new ot;r.position=e.position,r.astNode=e,t.meta.set("sourceMap",r)}},An=(e,{sourceMap:t=!1}={})=>{const r=e.walk(),n=new qr(r),[s]=Array.from(n),i=new xn,o=new Pn,a=kt(s,i,{keyMap:wn,state:{sourceMap:t}});return kt(a.rootNode,o,{keyMap:Sn,nodeTypeGetter:jn,nodePredicate:On,state:{sourceMap:t}})},kn=(ut(),/(?<true>^\s*true\s*$)|(?<false>^\s*false\s*$)|(?<null>^\s*null\s*$)|(?<number>^\s*\d+\s*$)|(?<object>^\s*{\s*)|(?<array>^\s*\[\s*)|(?<string>^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/);class Mn extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="callback"}}const Nn=Mn;class Rn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 In=Rn;class Cn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Tn=Cn;class Fn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 $n=Fn;class qn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Ln=qn;class Bn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Dn=Bn;class Vn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 zn=Vn;class Un extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new oe.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.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(Un.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Gn=Un;class Wn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Jn=Wn;class Kn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Hn=Kn;class Zn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Vt(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):Vt(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 Xn=Zn;class Yn extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Qn=Yn;class es extends oe.Sb{constructor(e,t,r){super(e,t,r),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 ts=es;class rs extends oe.Sb{constructor(e,t,r){super(e,t,r),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 ns=rs;class ss extends oe.RP{constructor(e,t,r){super(e,t,r),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const is=ss;class os extends oe.Sb{constructor(e,t,r){super(e,t,r),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 as=os;class cs extends oe.Sb{constructor(e,t,r){super(e,t,r),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 oe.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 us=cs;class ls extends oe.Sb{constructor(e,t,r){super(e,t,r),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 oe.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.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(ls.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const ps=ls;class hs extends oe.Sb{constructor(e,t,r){super(e,t,r),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 ms=hs;class ds extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="paths"}}const fs=ds;class _s extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const ys=_s;class gs extends oe.Sb{constructor(e,t,r){super(e,t,r),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 oe.hh(!1)}set required(e){this.set("required",e)}}const bs=gs;class vs extends oe.Sb{constructor(e,t,r){super(e,t,r),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 ws=vs;class Es extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const xs=Es;const Ss=class extends gt{};class js extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Os=js;class Ps extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const As=Ps;class ks extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Ms=ks;class Ns extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Rs=Ns;const Is=c((function(e,t){return g((function(r,n){return r[n]=e(t[n],n,t),r}),{},z(t))}));const Cs=a((function(e){return null==e}));const Ts=c((function(e,t){if(0===e.length||Cs(t))return!1;for(var r=t,n=0;n<e.length;){if(Cs(r)||!T(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));var Fs=c((function(e,t){return Ts([e],t)}));const $s=Fs;const qs=u((function(e,t,r){return e(d(t,r))}));const Ls=a((function(e){return C(e.length,e)}));const Bs=c((function(e,t){return C(e+1,(function(){var r=arguments[e];if(null!=r&&Te(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Ne(r)+' does not have a method named "'+t+'"')}))}));const Ds=Bs(1,"split");var Vs=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,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 zs(e){return function(t){return new Vs(e,t)}}const Us=c(O(["dropWhile"],zs,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return _e(r,1/0,t)})));const Gs=Bs(1,"join");const Ws=Ls((function(e,t){return ge(Ds(""),Us(Ct(e)),Gs(""))(t)})),Js=(e,t)=>{const r=l(e,t);return Is((e=>{if(Ye(e)&&$s("$ref",e)&&qs(pt,"$ref",e)){const t=Ie(["$ref"],e),n=Ws("#/",t);return Ie(n.split("/"),r)}return Ye(e)?Js(e,r):e}),e)};var Ks=r(6591);const Hs=Ks({props:{element:null},methods:{copyMetaAndAttributes(e,t){rr(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Zs=Ks(Hs,{methods:{enter(e){return this.element=cr(e),jt}}});const Xs=re(ne());const Ys=function(){return!0},Qs=e=>"string"==typeof(null==e?void 0:e.type)?e.type:hr(e),ei={EphemeralObject:["content"],EphemeralArray:["content"],...fr},ti=(e,t,{keyMap:r=ei,...n}={})=>_r(e,t,{keyMap:r,nodeTypeGetter:Qs,nodePredicate:Ys,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});ti[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ei,...r}={})=>_r[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:Qs,nodePredicate:Ys,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const ri=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 ni=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class si{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ni(e.content);return this.references.set(e,t),t}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ri(e.content);return this.references.set(e,t),t}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}}const ii=e=>Dt(e)?Vt(e)||zt(e)||Gt(e)||Ut(e)?e.toValue():ti(e,new si):e;const oi=c((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r})),ai=e=>{if(Dt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ci={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...fr},ui=Ks(Hs,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return oi(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ie(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ce(Ke,["visitors",...e],this.specObj)?Ie(["visitors",...e],this.specObj):Ie(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return this.retrieveVisitor(e)({...r,...t})},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return se(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?cr(t):(_r(t,n,{keyMap:ci,nodeTypeGetter:ai,...r}),n.element)}}}),li=Ks(ui,{props:{specPath:Xs,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(Vt(n)&&r.includes(ii(n))&&!this.ignoredFields.includes(ii(n))){const r=this.toRefractedElement([...t,"fixedFields",ii(n)],e),i=new oe.c6(cr(n),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(ii(n))||this.element.content.push(cr(s))})),this.copyMetaAndAttributes(e,this.element),jt}}}),pi=Ks(li,Zs,{props:{specPath:re(["document","objects","JSONSchema"])},init(){this.element=new Os}}),hi=Zs,mi=Zs,di=Zs,fi=Zs,_i=Zs,yi=Zs,gi=Zs,bi=Zs,vi=Zs,wi=Zs,Ei=Ks({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),xi=e=>Wt(e)&&e.hasKey("$ref"),Si=Ks(ui,Ei,Zs,{methods:{ObjectElement(e){const t=xi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),jt},ArrayElement(e){return this.element=new oe.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=xi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),ji=Zs,Oi=Zs,Pi=Zs,Ai=Zs,ki=Zs,Mi=Ks(Zs,{methods:{ArrayElement(e){return this.element=cr(e),this.element.classes.push("json-schema-required"),jt}}});const Ni=a((function(e){return C(de(ze,0,Ue("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Ri=c((function(e,t){return e||t}));const Ii=K(C(1,$e(Le,c((function(e,t){return Te(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:J(Ri)(e,t)}))(De,Ke))));const Ci=K(jr);const Ti=Ni([pt,Ii,Ci]);const Fi=function(){return!1},$i=Ks(ui,{props:{fieldPatternPredicate:Fi,specPath:Xs,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes(ii(t))&&this.fieldPatternPredicate(ii(t))){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new oe.c6(cr(t),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ii(t))||this.element.content.push(cr(r))})),this.copyMetaAndAttributes(e,this.element),jt}}}),qi=Ks($i,{props:{fieldPatternPredicate:Ti}}),Li=Ks(qi,Ei,Zs,{props:{specPath:e=>xi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-properties")}}),Bi=Ks(qi,Ei,Zs,{props:{specPath:e=>xi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-patternProperties")}}),Di=Ks(qi,Ei,Zs,{props:{specPath:e=>xi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-dependencies")}}),Vi=Ks(Zs,{methods:{ArrayElement(e){return this.element=cr(e),this.element.classes.push("json-schema-enum"),jt}}}),zi=Ks(Zs,{methods:{StringElement(e){return this.element=cr(e),this.element.classes.push("json-schema-type"),jt},ArrayElement(e){return this.element=cr(e),this.element.classes.push("json-schema-type"),jt}}}),Ui=Ks(ui,Ei,Zs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=xi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),Gi=Ks(ui,Ei,Zs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=xi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),Wi=Ks(ui,Ei,Zs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=xi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),Ji=Ks(qi,Ei,Zs,{props:{specPath:e=>xi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-definitions")}}),Ki=Zs,Hi=Zs,Zi=Zs,Xi=Zs,Yi=Zs,Qi=Ks(ui,Ei,Zs,{init(){this.element=new oe.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),jt}}}),eo=Zs,to=Ks(li,Zs,{props:{specPath:re(["document","objects","JSONReference"])},init(){this.element=new As},methods:{ObjectElement(e){const t=li.compose.methods.ObjectElement.call(this,e);return Vt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ro=Ks(Zs,{methods:{StringElement(e){return this.element=cr(e),this.element.classes.push("reference-value"),jt}}});const no=u((function(e,t,r){return C(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const so=a((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));var io=c((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const oo=io;const ao=a(Mt);const co=K(Cs);const uo=$e(Or,Ci);function lo(e){return function(e){if(Array.isArray(e))return po(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 po(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return po(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 po(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ho=ge(oo(so((function(e,t){return e.length>t.length}))),Wr,d("length")),mo=Ls((function(e,t,r){var n=r.apply(void 0,lo(e));return co(n)?ao(n):t}));const fo=no(uo,(function(e){var t=ho(e);return C(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return de(mo(r),void 0,e)}))}),ne),_o=Ks(ui,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>no(e,re(t),ne))),r=fo(t)(e);return this.element=this.toRefractedElement(r,e),jt}}}),yo=Ks(_o,{props:{alternator:[{predicate:xi,specPath:["document","objects","JSONReference"]},{predicate:Ys,specPath:["document","objects","JSONSchema"]}]}}),go={visitors:{value:Zs,JSONSchemaOrJSONReferenceVisitor:yo,document:{objects:{JSONSchema:{$visitor:pi,fixedFields:{id:hi,$schema:mi,multipleOf:di,maximum:fi,exclusiveMaximum:_i,minimum:yi,exclusiveMinimum:gi,maxLength:bi,minLength:vi,pattern:wi,additionalItems:yo,items:Si,maxItems:ji,minItems:Oi,uniqueItems:Pi,maxProperties:Ai,minProperties:ki,required:Mi,properties:Li,additionalProperties:yo,patternProperties:Bi,dependencies:Di,enum:Vi,type:zi,allOf:Ui,anyOf:Gi,oneOf:Wi,not:yo,definitions:Ji,title:Ki,description:Hi,default:Zi,format:Xi,base:Yi,links:Qi,media:{$ref:"#/visitors/document/objects/Media"},readOnly:eo}},JSONReference:{$visitor:to,fixedFields:{$ref:ro}},Media:{$visitor:Ks(li,Zs,{props:{specPath:re(["document","objects","Media"])},init(){this.element=new Ms}}),fixedFields:{binaryEncoding:Zs,type:Zs}},LinkDescription:{$visitor:Ks(li,Zs,{props:{specPath:re(["document","objects","LinkDescription"])},init(){this.element=new Rs}}),fixedFields:{href:Zs,rel:Zs,title:Zs,targetSchema:yo,mediaType:Zs,method:Zs,encType:Zs,schema:yo}}}}}},bo=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Os||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),vo=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof As||e(n)&&t("JSONReference",n)&&r("object",n))),wo=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ms||e(n)&&t("media",n)&&r("object",n))),Eo=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Rs||e(n)&&t("linkDescription",n)&&r("object",n))),xo={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Os),t.register("jSONReference",As),t.register("media",Ms),t.register("linkDescription",Rs),t}},So=()=>{const e=ut(xo);return{predicates:{...t,isStringElement:Vt},namespace:e}},jo=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=go}={})=>{const s=(0,oe.Qc)(e),i=Js(n),o=Ar(t,[],i);return _r(s,o,{state:{specObj:i}}),Nr(o.element,r,{toolboxCreator:So,visitorOptions:{keyMap:ci,nodeTypeGetter:ai}})},Oo=e=>(t,r={})=>jo(t,{specPath:e,...r});Os.refract=Oo(["visitors","document","objects","JSONSchema","$visitor"]),As.refract=Oo(["visitors","document","objects","JSONReference","$visitor"]),Ms.refract=Oo(["visitors","document","objects","Media","$visitor"]),Rs.refract=Oo(["visitors","document","objects","LinkDescription","$visitor"]);const Po=class extends Os{constructor(e,t,r){super(e,t,r),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new Ss("idProp getter in Schema class is not not supported.")}set idProp(e){throw new Ss("idProp setter in Schema class is not not supported.")}get $schema(){throw new Ss("$schema getter in Schema class is not not supported.")}set $schema(e){throw new Ss("$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 Ss("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new Ss("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new Ss("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new Ss("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 Ss("definitions getter in Schema class is not not supported.")}set definitions(e){throw new Ss("definitions setter in Schema class is not not supported.")}get base(){throw new Ss("base getter in Schema class is not not supported.")}set base(e){throw new Ss("base setter in Schema class is not not supported.")}get links(){throw new Ss("links getter in Schema class is not not supported.")}set links(e){throw new Ss("links setter in Schema class is not not supported.")}get media(){throw new Ss("media getter in Schema class is not not supported.")}set media(e){throw new Ss("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 Ao extends oe.Sb{constructor(e,t,r){super(e,t,r),this.element="securityRequirement"}}const ko=Ao;class Mo extends oe.Sb{constructor(e,t,r){super(e,t,r),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 No=Mo;class Ro extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Io=Ro;class Co extends oe.Sb{constructor(e,t,r){super(e,t,r),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 To=Co;class Fo extends oe.Sb{constructor(e,t,r){super(e,t,r),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 $o=Fo;class qo extends oe.Sb{constructor(e,t,r){super(e,t,r),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 Lo=qo,Bo=Ks({props:{element:null},methods:{copyMetaAndAttributes(e,t){rr(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Do=e=>{if(Dt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Vo={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"],...fr},zo=Ks(Bo,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:r=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=r},methods:{retrievePassingOptions(){return oi(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ie(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ce(Ke,["visitors",...e],this.specObj)?Ie(["visitors",...e],this.specObj):Ie(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return this.retrieveVisitor(e)({...r,...t})},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return se(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?cr(t):(_r(t,n,{keyMap:Vo,nodeTypeGetter:Do,...r}),n.element)}}});var Uo=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var r=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?Mt(r):r},e}();function Go(e){return function(t){return new Uo(e,t)}}const Wo=c(O(["take"],Go,(function(e,t){return _e(0,e<0?1/0:e,t)})));const Jo=c((function(e,t){return te(Wo(e.length,t),e)})),Ko=e=>Wt(e)&&e.hasKey("openapi")&&e.hasKey("info"),Ho=e=>Wt(e)&&e.hasKey("name")&&e.hasKey("in"),Zo=e=>Wt(e)&&e.hasKey("$ref"),Xo=e=>Wt(e)&&e.hasKey("content"),Yo=e=>Wt(e)&&e.hasKey("description"),Qo=Wt,ea=Wt,ta=e=>Vt(e.key)&&Jo("x-",ii(e.key)),ra=Ks(zo,{props:{specPath:Xs,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:ta},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:r=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=r,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(Vt(n)&&r.includes(ii(n))&&!this.ignoredFields.includes(ii(n))){const r=this.toRefractedElement([...t,"fixedFields",ii(n)],e),i=new oe.c6(cr(n),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else this.ignoredFields.includes(ii(n))||this.element.content.push(cr(s))})),this.copyMetaAndAttributes(e,this.element),jt}}}),na=Ks(Bo,{methods:{enter(e){return this.element=cr(e),jt}}}),sa=Ks(ra,na,{props:{specPath:re(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new as},methods:{ObjectElement(e){return this.unrefractedElement=e,ra.compose.methods.ObjectElement.call(this,e)}}}),ia=Ks(zo,na,{methods:{StringElement(e){const t=new is(ii(e));return this.copyMetaAndAttributes(e,t),this.element=t,jt}}}),oa=Ks(zo,{methods:{MemberElement(e){return this.element=cr(e),this.element.classes.push("specification-extension"),jt}}}),aa=Ks(ra,na,{props:{specPath:re(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Jn}}),ca=na,ua=na,la=na,pa=Ks(na,{methods:{StringElement(e){return this.element=cr(e),this.element.classes.push("api-version"),this.element.classes.push("version"),jt}}}),ha=Ks(ra,na,{props:{specPath:re(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Tn}}),ma=na,da=na,fa=na,_a=Ks(ra,na,{props:{specPath:re(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new Hn}}),ya=na,ga=na,ba=Ks(ra,na,{props:{specPath:re(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new Xn},methods:{ObjectElement(e){const t=ra.compose.methods.ObjectElement.call(this,e);return(Vt(this.element.operationId)||Vt(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),va=Ks(na,{methods:{StringElement(e){return this.element=cr(e),this.element.classes.push("reference-value"),jt}}}),wa=Ks(na,{methods:{StringElement(e){return this.element=cr(e),this.element.classes.push("reference-value"),jt}}}),Ea=Ks(zo,{props:{fieldPatternPredicate:Fi,specPath:Xs,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:ta},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:r=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=r,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else if(!this.ignoredFields.includes(ii(t))&&this.fieldPatternPredicate(ii(t))){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new oe.c6(cr(t),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ii(t))||this.element.content.push(cr(r))})),this.copyMetaAndAttributes(e,this.element),jt}}}),xa=Ks(Ea,{props:{fieldPatternPredicate:Ti}});class Sa extends oe.Sb{static primaryClass="link-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(Sa.primaryClass)}}const ja=Sa,Oa=Ks(xa,na,{props:{specPath:re(["value"])},init(){this.element=new ja}}),Pa=na,Aa=na,ka=Ks(ra,na,{props:{specPath:re(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new Io}}),Ma=Ks(na,{methods:{StringElement(e){return this.element=cr(e),this.element.classes.push("server-url"),jt}}}),Na=na;class Ra extends oe.ON{static primaryClass="servers";constructor(e,t,r){super(e,t,r),this.classes.push(Ra.primaryClass)}}const Ia=Ra,Ca=Ks(zo,na,{init(){this.element=new Ia},methods:{ArrayElement(e){return e.forEach((e=>{const t=Qo(e)?["document","objects","Server"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),Ta=Ks(ra,na,{props:{specPath:re(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new To}}),Fa=na,$a=na,qa=na;class La extends oe.Sb{static primaryClass="server-variables";constructor(e,t,r){super(e,t,r),this.classes.push(La.primaryClass)}}const Ba=La,Da=Ks(xa,na,{props:{specPath:re(["document","objects","ServerVariable"])},init(){this.element=new Ba}}),Va=Ks(ra,na,{props:{specPath:re(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qn}}),za=Ks(zo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>no(e,re(t),ne))),r=fo(t)(e);return this.element=this.toRefractedElement(r,e),jt}}}),Ua=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Nn||e(n)&&t("callback",n)&&r("object",n))),Ga=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof In||e(n)&&t("components",n)&&r("object",n))),Wa=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Tn||e(n)&&t("contact",n)&&r("object",n))),Ja=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Dn||e(n)&&t("example",n)&&r("object",n))),Ka=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof zn||e(n)&&t("externalDocumentation",n)&&r("object",n))),Ha=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Gn||e(n)&&t("header",n)&&r("object",n))),Za=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Jn||e(n)&&t("info",n)&&r("object",n))),Xa=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Hn||e(n)&&t("license",n)&&r("object",n))),Ya=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Xn||e(n)&&t("link",n)&&r("object",n))),Qa=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof is||e(n)&&t("openapi",n)&&r("string",n))),ec=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>s=>s instanceof as||e(s)&&t("openApi3_0",s)&&r("object",s)&&n("api",s))),tc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof us||e(n)&&t("operation",n)&&r("object",n))),rc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ps||e(n)&&t("parameter",n)&&r("object",n))),nc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ms||e(n)&&t("pathItem",n)&&r("object",n))),sc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof fs||e(n)&&t("paths",n)&&r("object",n))),ic=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ys||e(n)&&t("reference",n)&&r("object",n))),oc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof bs||e(n)&&t("requestBody",n)&&r("object",n))),ac=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ws||e(n)&&t("response",n)&&r("object",n))),cc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof xs||e(n)&&t("responses",n)&&r("object",n))),uc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Po||e(n)&&t("schema",n)&&r("object",n))),lc=e=>Gt(e)&&e.classes.includes("boolean-json-schema"),pc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ko||e(n)&&t("securityRequirement",n)&&r("object",n))),hc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Io||e(n)&&t("server",n)&&r("object",n))),mc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof To||e(n)&&t("serverVariable",n)&&r("object",n))),dc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Qn||e(n)&&t("mediaType",n)&&r("object",n))),fc=Bt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>s=>s instanceof Ia||e(s)&&t("array",s)&&r("array",s)&&n("servers",s))),_c=Ks(za,na,{props:{alternator:[{predicate:Zo,specPath:["document","objects","Reference"]},{predicate:Ys,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=za.compose.methods.enter.call(this,e);return ic(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),yc=na,gc=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new oe.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class bc extends oe.Sb{static primaryClass="media-type-examples";constructor(e,t,r){super(e,t,r),this.classes.push(bc.primaryClass),this.classes.push("examples")}}const vc=bc,wc=Ks(gc,{init(){this.element=new vc}});class Ec extends oe.Sb{static primaryClass="media-type-encoding";constructor(e,t,r){super(e,t,r),this.classes.push(Ec.primaryClass)}}const xc=Ec,Sc=Ks(xa,na,{props:{specPath:re(["document","objects","Encoding"])},init(){this.element=new xc}}),jc=Ks(xa,na,{props:{specPath:re(["value"])},init(){this.element=new ko}});class Oc extends oe.ON{static primaryClass="security";constructor(e,t,r){super(e,t,r),this.classes.push(Oc.primaryClass)}}const Pc=Oc,Ac=Ks(zo,na,{init(){this.element=new Pc},methods:{ArrayElement(e){return e.forEach((e=>{if(Wt(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(cr(e))})),this.copyMetaAndAttributes(e,this.element),jt}}}),kc=Ks(ra,na,{props:{specPath:re(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new In}}),Mc=Ks(ra,na,{props:{specPath:re(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new $o}}),Nc=na,Rc=na,Ic=Ks(ra,na,{props:{specPath:re(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new ys},methods:{ObjectElement(e){const t=ra.compose.methods.ObjectElement.call(this,e);return Vt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Cc=Ks(na,{methods:{StringElement(e){return this.element=cr(e),this.element.classes.push("reference-value"),jt}}}),Tc=Ks(ra,na,{props:{specPath:re(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new ps},methods:{ObjectElement(e){const t=ra.compose.methods.ObjectElement.call(this,e);return Wt(this.element.contentProp)&&this.element.contentProp.filter(dc).forEach(((e,t)=>{e.setMetaProperty("media-type",ii(t))})),t}}}),Fc=na,$c=na,qc=na,Lc=na,Bc=na,Dc=na,Vc=na,zc=na,Uc=na,Gc=Ks(za,na,{props:{alternator:[{predicate:Zo,specPath:["document","objects","Reference"]},{predicate:Ys,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=za.compose.methods.enter.call(this,e);return ic(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Wc=Ks(ra,na,{props:{specPath:re(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gn}}),Jc=na,Kc=na,Hc=na,Zc=na,Xc=na,Yc=na,Qc=na,eu=Ks(za,na,{props:{alternator:[{predicate:Zo,specPath:["document","objects","Reference"]},{predicate:Ys,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=za.compose.methods.enter.call(this,e);return ic(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),tu=na;class ru extends oe.Sb{static primaryClass="header-examples";constructor(e,t,r){super(e,t,r),this.classes.push(ru.primaryClass),this.classes.push("examples")}}const nu=ru,su=Ks(gc,{init(){this.element=new nu}}),iu=Ks(xa,na,{props:{specPath:re(["document","objects","MediaType"])},init(){this.element=new oe.Sb,this.element.classes.push("content")}});class ou extends oe.Sb{static primaryClass="header-content";constructor(e,t,r){super(e,t,r),this.classes.push(ou.primaryClass),this.classes.push("content")}}const au=ou,cu=Ks(iu,{init(){this.element=new au}}),uu=Ks(ra,na,{props:{specPath:re(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new Po}}),{allOf:lu}=go.visitors.document.objects.JSONSchema.fixedFields,pu=Ks(lu,{methods:{ArrayElement(e){const t=lu.compose.methods.ArrayElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:hu}=go.visitors.document.objects.JSONSchema.fixedFields,mu=Ks(hu,{methods:{ArrayElement(e){const t=hu.compose.methods.ArrayElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:du}=go.visitors.document.objects.JSONSchema.fixedFields,fu=Ks(du,{methods:{ArrayElement(e){const t=du.compose.methods.ArrayElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:_u}=go.visitors.document.objects.JSONSchema.fixedFields,yu=Ks(_u,{methods:{ObjectElement(e){const t=_u.compose.methods.ObjectElement.call(this,e);return ic(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=cr(e),jt}}}),{properties:gu}=go.visitors.document.objects.JSONSchema.fixedFields,bu=Ks(gu,{methods:{ObjectElement(e){const t=gu.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:vu}=go.visitors.document.objects.JSONSchema.fixedFields,wu=Ks(vu,{methods:{ArrayElement(e){return this.element=cr(e),jt}}}),Eu=na,xu=na,Su=na,ju=na,{JSONSchemaOrJSONReferenceVisitor:Ou}=go.visitors,Pu=Ks(Ou,{methods:{ObjectElement(e){const t=Ou.compose.methods.enter.call(this,e);return ic(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Au=Ks(ra,na,{props:{specPath:re(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new $n}}),ku=na;class Mu extends oe.Sb{static primaryClass="discriminator-mapping";constructor(e,t,r){super(e,t,r),this.classes.push(Mu.primaryClass)}}const Nu=Mu,Ru=Ks(xa,na,{props:{specPath:re(["value"])},init(){this.element=new Nu}}),Iu=Ks(ra,na,{props:{specPath:re(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new Lo}}),Cu=na,Tu=na,Fu=na,$u=na,qu=na,Lu=na;class Bu extends oe.Sb{static primaryClass="parameter-examples";constructor(e,t,r){super(e,t,r),this.classes.push(Bu.primaryClass),this.classes.push("examples")}}const Du=Bu,Vu=Ks(gc,{init(){this.element=new Du}});class zu extends oe.Sb{static primaryClass="parameter-content";constructor(e,t,r){super(e,t,r),this.classes.push(zu.primaryClass),this.classes.push("content")}}const Uu=zu,Gu=Ks(iu,{init(){this.element=new Uu}});class Wu extends oe.Sb{static primaryClass="components-schemas";constructor(e,t,r){super(e,t,r),this.classes.push(Wu.primaryClass)}}const Ju=Wu,Ku=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Ju},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Hu extends oe.Sb{static primaryClass="components-responses";constructor(e,t,r){super(e,t,r),this.classes.push(Hu.primaryClass)}}const Zu=Hu,Xu=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new Zu},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(ac).forEach(((e,t)=>{e.setMetaProperty("http-status-code",ii(t))})),t}}});class Yu extends oe.Sb{static primaryClass="components-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(Yu.primaryClass),this.classes.push("parameters")}}const Qu=Yu,el=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new Qu},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class tl extends oe.Sb{static primaryClass="components-examples";constructor(e,t,r){super(e,t,r),this.classes.push(tl.primaryClass),this.classes.push("examples")}}const rl=tl,nl=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new rl},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class sl extends oe.Sb{static primaryClass="components-request-bodies";constructor(e,t,r){super(e,t,r),this.classes.push(sl.primaryClass)}}const il=sl,ol=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new il},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class al extends oe.Sb{static primaryClass="components-headers";constructor(e,t,r){super(e,t,r),this.classes.push(al.primaryClass)}}const cl=al,ul=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new cl},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(Ha).forEach(((e,t)=>{e.setMetaProperty("header-name",ii(t))})),t}}});class ll extends oe.Sb{static primaryClass="components-security-schemes";constructor(e,t,r){super(e,t,r),this.classes.push(ll.primaryClass)}}const pl=ll,hl=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new pl},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class ml extends oe.Sb{static primaryClass="components-links";constructor(e,t,r){super(e,t,r),this.classes.push(ml.primaryClass)}}const dl=ml,fl=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new dl},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class _l extends oe.Sb{static primaryClass="components-callbacks";constructor(e,t,r){super(e,t,r),this.classes.push(_l.primaryClass)}}const yl=_l,gl=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new yl},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),bl=Ks(ra,na,{props:{specPath:re(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new Dn},methods:{ObjectElement(e){const t=ra.compose.methods.ObjectElement.call(this,e);return Vt(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),vl=na,wl=na,El=na,xl=Ks(na,{methods:{StringElement(e){return this.element=cr(e),this.element.classes.push("reference-value"),jt}}}),Sl=Ks(ra,na,{props:{specPath:re(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new zn}}),jl=na,Ol=na,Pl=Ks(ra,na,{props:{specPath:re(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ln},methods:{ObjectElement(e){const t=ra.compose.methods.ObjectElement.call(this,e);return Wt(this.element.headers)&&this.element.headers.filter(Ha).forEach(((e,t)=>{e.setMetaProperty("header-name",ii(t))})),t}}}),Al=na;class kl extends oe.Sb{static primaryClass="encoding-headers";constructor(e,t,r){super(e,t,r),this.classes.push(kl.primaryClass)}}const Ml=kl,Nl=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Ml},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Ha(e))return;const r=ii(t);e.setMetaProperty("headerName",r)})),t}}}),Rl=na,Il=na,Cl=na,Tl=Ks(Ea,na,{props:{fieldPatternPredicate:Ys,specPath:re(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new fs},methods:{ObjectElement(e){const t=Ea.compose.methods.ObjectElement.call(this,e);return this.element.filter(nc).forEach(((e,t)=>{t.classes.push("openapi-path-template"),t.classes.push("path-template"),e.setMetaProperty("path",cr(t))})),t}}}),Fl=Ks(ra,na,{props:{specPath:re(["document","objects","RequestBody"])},init(){this.element=new bs},methods:{ObjectElement(e){const t=ra.compose.methods.ObjectElement.call(this,e);return Wt(this.element.contentProp)&&this.element.contentProp.filter(dc).forEach(((e,t)=>{e.setMetaProperty("media-type",ii(t))})),t}}}),$l=na;class ql extends oe.Sb{static primaryClass="request-body-content";constructor(e,t,r){super(e,t,r),this.classes.push(ql.primaryClass),this.classes.push("content")}}const Ll=ql,Bl=Ks(iu,{init(){this.element=new Ll}}),Dl=na;const Vl=c((function(e,t){if(r=e,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Ne(e));var r;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)})),zl=Ks(Ea,na,{props:{fieldPatternPredicate:Vl(/{(?<expression>.*)}/),specPath:re(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Nn},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(nc).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",ii(t))})),t}}}),Ul=Ks(ra,na,{props:{specPath:re(["document","objects","Response"])},init(){this.element=new ws},methods:{ObjectElement(e){const t=ra.compose.methods.ObjectElement.call(this,e);return Wt(this.element.contentProp)&&this.element.contentProp.filter(dc).forEach(((e,t)=>{e.setMetaProperty("media-type",ii(t))})),Wt(this.element.headers)&&this.element.headers.filter(Ha).forEach(((e,t)=>{e.setMetaProperty("header-name",ii(t))})),t}}}),Gl=na;class Wl extends oe.Sb{static primaryClass="response-headers";constructor(e,t,r){super(e,t,r),this.classes.push(Wl.primaryClass)}}const Jl=Wl,Kl=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Jl},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Ha(e))return;const r=ii(t);e.setMetaProperty("header-name",r)})),t}}});class Hl extends oe.Sb{static primaryClass="response-content";constructor(e,t,r){super(e,t,r),this.classes.push(Hl.primaryClass),this.classes.push("content")}}const Zl=Hl,Xl=Ks(iu,{init(){this.element=new Zl}});class Yl extends oe.Sb{static primaryClass="response-links";constructor(e,t,r){super(e,t,r),this.classes.push(Yl.primaryClass)}}const Ql=Yl,ep=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new Ql},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});function tp(e){return"[object Number]"===Object.prototype.toString.call(e)}const rp=c((function(e,t){if(!tp(e)||!tp(t))throw new TypeError("Both arguments to range must be numbers");for(var r=[],n=e;n<t;)r.push(n),n+=1;return r}));function np(e,t,r){var n,s=typeof e;switch(s){case"string":case"number":return 0===e&&1/e==-1/0?!!r._items["-0"]||(t&&(r._items["-0"]=!0),!1):null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):s in r._items?e in r._items[s]||(t&&(r._items[s][e]=!0),!1):(t&&(r._items[s]={},r._items[s][e]=!0),!1);case"boolean":if(s in r._items){var i=e?1:0;return!!r._items[s][i]||(t&&(r._items[s][i]=!0),!1)}return t&&(r._items[s]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):s in r._items?!!we(e,r._items[s])||(t&&r._items[s].push(e),!1):(t&&(r._items[s]=[e]),!1);case"undefined":return!!r._items[s]||(t&&(r._items[s]=!0),!1);case"object":if(null===e)return!!r._items.null||(t&&(r._items.null=!0),!1);default:return(s=Object.prototype.toString.call(e))in r._items?!!we(e,r._items[s])||(t&&r._items[s].push(e),!1):(t&&(r._items[s]=[e]),!1)}}const sp=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!np(e,!0,this)},e.prototype.has=function(e){return np(e,!1,this)},e}();const ip=c((function(e,t){for(var r=[],n=0,s=e.length,i=t.length,o=new sp,a=0;a<i;a+=1)o.add(t[a]);for(;n<s;)o.add(e[n])&&(r[r.length]=e[n]),n+=1;return r})),op=Ks(ra,Ea,{props:{specPathFixedFields:Xs,specPathPatternedFields:Xs},methods:{ObjectElement(e){const{specPath:t,ignoredFields:r}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...r,...ip(e.keys(),t)],ra.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,Ea.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return jt}}}),ap=Ks(op,na,{props:{specPathFixedFields:re(["document","objects","Responses"]),specPathPatternedFields:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:Vl(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${rp(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new xs},methods:{ObjectElement(e){const t=op.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(ac).forEach(((e,t)=>{const r=cr(t);this.fieldPatternPredicate(ii(r))&&e.setMetaProperty("http-status-code",r)})),t}}}),cp=Ks(za,na,{props:{alternator:[{predicate:Zo,specPath:["document","objects","Reference"]},{predicate:Ys,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=za.compose.methods.enter.call(this,e);return ic(this.element)?this.element.setMetaProperty("referenced-element","response"):ac(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),up=Ks(ra,na,{props:{specPath:re(["document","objects","Operation"])},init(){this.element=new us}});class lp extends oe.ON{static primaryClass="operation-tags";constructor(e,t,r){super(e,t,r),this.classes.push(lp.primaryClass)}}const pp=lp,hp=Ks(na,{init(){this.element=new pp},methods:{ArrayElement(e){return this.element=this.element.concat(cr(e)),jt}}}),mp=na,dp=na,fp=na;class _p extends oe.ON{static primaryClass="operation-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(_p.primaryClass),this.classes.push("parameters")}}const yp=_p,gp=Ks(zo,na,{init(){this.element=new oe.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Zo(e)?["document","objects","Reference"]:["document","objects","Parameter"],r=this.toRefractedElement(t,e);ic(r)&&r.setMetaProperty("referenced-element","parameter"),this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),bp=Ks(gp,{init(){this.element=new yp}}),vp=Ks(za,{props:{alternator:[{predicate:Zo,specPath:["document","objects","Reference"]},{predicate:Ys,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=za.compose.methods.enter.call(this,e);return ic(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class wp extends oe.Sb{static primaryClass="operation-callbacks";constructor(e,t,r){super(e,t,r),this.classes.push(wp.primaryClass)}}const Ep=wp,xp=Ks(xa,na,{props:{specPath:e=>Zo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Ep},methods:{ObjectElement(e){const t=xa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Sp=na;class jp extends oe.ON{static primaryClass="operation-security";constructor(e,t,r){super(e,t,r),this.classes.push(jp.primaryClass),this.classes.push("security")}}const Op=jp,Pp=Ks(zo,na,{init(){this.element=new Op},methods:{ArrayElement(e){return e.forEach((e=>{const t=Wt(e)?["document","objects","SecurityRequirement"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}});class Ap extends oe.ON{static primaryClass="operation-servers";constructor(e,t,r){super(e,t,r),this.classes.push(Ap.primaryClass),this.classes.push("servers")}}const kp=Ap,Mp=Ks(Ca,{init(){this.element=new kp}}),Np=Ks(ra,na,{props:{specPath:re(["document","objects","PathItem"])},init(){this.element=new ms},methods:{ObjectElement(e){const t=ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(tc).forEach(((e,t)=>{const r=cr(t);r.content=ii(r).toUpperCase(),e.setMetaProperty("http-method",r)})),Vt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Rp=Ks(na,{methods:{StringElement(e){return this.element=cr(e),this.element.classes.push("reference-value"),jt}}}),Ip=na,Cp=na;class Tp extends oe.ON{static primaryClass="path-item-servers";constructor(e,t,r){super(e,t,r),this.classes.push(Tp.primaryClass),this.classes.push("servers")}}const Fp=Tp,$p=Ks(Ca,{init(){this.element=new Fp}});class qp extends oe.ON{static primaryClass="path-item-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(qp.primaryClass),this.classes.push("parameters")}}const Lp=qp,Bp=Ks(gp,{init(){this.element=new Lp}}),Dp=Ks(ra,na,{props:{specPath:re(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new No}}),Vp=na,zp=na,Up=na,Gp=na,Wp=na,Jp=na,Kp=na,Hp=Ks(ra,na,{props:{specPath:re(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new ns}}),Zp=Ks(ra,na,{props:{specPath:re(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new ts}}),Xp=na,Yp=na,Qp=na;class eh extends oe.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,r){super(e,t,r),this.classes.push(eh.primaryClass)}}const th=eh,rh=Ks(xa,na,{props:{specPath:re(["value"])},init(){this.element=new th}});class nh extends oe.ON{static primaryClass="tags";constructor(e,t,r){super(e,t,r),this.classes.push(nh.primaryClass)}}const sh=nh,ih=Ks(zo,na,{init(){this.element=new sh},methods:{ArrayElement(e){return e.forEach((e=>{const t=ea(e)?["document","objects","Tag"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),jt}}}),{fixedFields:oh}=go.visitors.document.objects.JSONSchema,ah={visitors:{value:na,document:{objects:{OpenApi:{$visitor:sa,fixedFields:{openapi:ia,info:{$ref:"#/visitors/document/objects/Info"},servers:Ca,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Ac,tags:ih,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:aa,fixedFields:{title:ca,description:ua,termsOfService:la,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:pa}},Contact:{$visitor:ha,fixedFields:{name:ma,url:da,email:fa}},License:{$visitor:_a,fixedFields:{name:ya,url:ga}},Server:{$visitor:ka,fixedFields:{url:Ma,description:Na,variables:Da}},ServerVariable:{$visitor:Ta,fixedFields:{enum:Fa,default:$a,description:qa}},Components:{$visitor:kc,fixedFields:{schemas:Ku,responses:Xu,parameters:el,examples:nl,requestBodies:ol,headers:ul,securitySchemes:hl,links:fl,callbacks:gl}},Paths:{$visitor:Tl},PathItem:{$visitor:Np,fixedFields:{$ref:Rp,summary:Ip,description:Cp,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:$p,parameters:Bp}},Operation:{$visitor:up,fixedFields:{tags:hp,summary:mp,description:dp,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:fp,parameters:bp,requestBody:vp,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:xp,deprecated:Sp,security:Pp,servers:Mp}},ExternalDocumentation:{$visitor:Sl,fixedFields:{description:jl,url:Ol}},Parameter:{$visitor:Tc,fixedFields:{name:Fc,in:$c,description:qc,required:Lc,deprecated:Bc,allowEmptyValue:Dc,style:Vc,explode:zc,allowReserved:Uc,schema:Gc,example:Lu,examples:Vu,content:Gu}},RequestBody:{$visitor:Fl,fixedFields:{description:$l,content:Bl,required:Dl}},MediaType:{$visitor:Va,fixedFields:{schema:_c,example:yc,examples:wc,encoding:Sc}},Encoding:{$visitor:Pl,fixedFields:{contentType:Al,headers:Nl,style:Rl,explode:Il,allowReserved:Cl}},Responses:{$visitor:ap,fixedFields:{default:cp}},Response:{$visitor:Ul,fixedFields:{description:Gl,headers:Kl,content:Xl,links:ep}},Callback:{$visitor:zl},Example:{$visitor:bl,fixedFields:{summary:vl,description:wl,value:El,externalValue:xl}},Link:{$visitor:ba,fixedFields:{operationRef:va,operationId:wa,parameters:Oa,requestBody:Pa,description:Aa,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Wc,fixedFields:{description:Jc,required:Kc,deprecated:Hc,allowEmptyValue:Zc,style:Xc,explode:Yc,allowReserved:Qc,schema:eu,example:tu,examples:su,content:cu}},Tag:{$visitor:Mc,fixedFields:{name:Nc,description:Rc,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Ic,fixedFields:{$ref:Cc}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:uu,fixedFields:{title:oh.title,multipleOf:oh.multipleOf,maximum:oh.maximum,exclusiveMaximum:oh.exclusiveMaximum,minimum:oh.minimum,exclusiveMinimum:oh.exclusiveMinimum,maxLength:oh.maxLength,minLength:oh.minLength,pattern:oh.pattern,maxItems:oh.maxItems,minItems:oh.minItems,uniqueItems:oh.uniqueItems,maxProperties:oh.maxProperties,minProperties:oh.minProperties,required:oh.required,enum:oh.enum,type:wu,allOf:pu,anyOf:mu,oneOf:fu,not:Pu,items:yu,properties:bu,additionalProperties:Pu,description:oh.description,format:oh.format,default:oh.default,nullable:Eu,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:xu,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:Su,deprecated:ju}},Discriminator:{$visitor:Au,fixedFields:{propertyName:ku,mapping:Ru}},XML:{$visitor:Iu,fixedFields:{name:Cu,namespace:Tu,prefix:Fu,attribute:$u,wrapped:qu}},SecurityScheme:{$visitor:Dp,fixedFields:{type:Vp,description:zp,name:Up,in:Gp,scheme:Wp,bearerFormat:Jp,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Kp}},OAuthFlows:{$visitor:Hp,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:Zp,fixedFields:{authorizationUrl:Xp,tokenUrl:Yp,refreshUrl:Qp,scopes:rh}},SecurityRequirement:{$visitor:jc}},extension:{$visitor:oa}}}},ch={namespace:e=>{const{base:t}=e;return t.register("callback",Nn),t.register("components",In),t.register("contact",Tn),t.register("discriminator",$n),t.register("encoding",Ln),t.register("example",Dn),t.register("externalDocumentation",zn),t.register("header",Gn),t.register("info",Jn),t.register("license",Hn),t.register("link",Xn),t.register("mediaType",Qn),t.register("oAuthFlow",ts),t.register("oAuthFlows",ns),t.register("openapi",is),t.register("openApi3_0",as),t.register("operation",us),t.register("parameter",ps),t.register("pathItem",ms),t.register("paths",fs),t.register("reference",ys),t.register("requestBody",bs),t.register("response",ws),t.register("responses",xs),t.register("schema",Po),t.register("securityRequirement",ko),t.register("securityScheme",No),t.register("server",Io),t.register("serverVariable",To),t.register("tag",$o),t.register("xml",Lo),t}},uh=()=>{const e=ut(ch);return{predicates:{...s,...i,isStringElement:Vt},namespace:e}},lh=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,oe.Qc)(e),s=Js(ah),i=Ar(t,[],s);return _r(n,i,{state:{specObj:s}}),Nr(i.element,r,{toolboxCreator:uh,visitorOptions:{keyMap:Vo,nodeTypeGetter:Do}})},ph=e=>(t,r={})=>lh(t,{specPath:e,...r});Nn.refract=ph(["visitors","document","objects","Callback","$visitor"]),In.refract=ph(["visitors","document","objects","Components","$visitor"]),Tn.refract=ph(["visitors","document","objects","Contact","$visitor"]),Dn.refract=ph(["visitors","document","objects","Example","$visitor"]),$n.refract=ph(["visitors","document","objects","Discriminator","$visitor"]),Ln.refract=ph(["visitors","document","objects","Encoding","$visitor"]),zn.refract=ph(["visitors","document","objects","ExternalDocumentation","$visitor"]),Gn.refract=ph(["visitors","document","objects","Header","$visitor"]),Jn.refract=ph(["visitors","document","objects","Info","$visitor"]),Hn.refract=ph(["visitors","document","objects","License","$visitor"]),Xn.refract=ph(["visitors","document","objects","Link","$visitor"]),Qn.refract=ph(["visitors","document","objects","MediaType","$visitor"]),ts.refract=ph(["visitors","document","objects","OAuthFlow","$visitor"]),ns.refract=ph(["visitors","document","objects","OAuthFlows","$visitor"]),is.refract=ph(["visitors","document","objects","OpenApi","fixedFields","openapi"]),as.refract=ph(["visitors","document","objects","OpenApi","$visitor"]),us.refract=ph(["visitors","document","objects","Operation","$visitor"]),ps.refract=ph(["visitors","document","objects","Parameter","$visitor"]),ms.refract=ph(["visitors","document","objects","PathItem","$visitor"]),fs.refract=ph(["visitors","document","objects","Paths","$visitor"]),ys.refract=ph(["visitors","document","objects","Reference","$visitor"]),bs.refract=ph(["visitors","document","objects","RequestBody","$visitor"]),ws.refract=ph(["visitors","document","objects","Response","$visitor"]),xs.refract=ph(["visitors","document","objects","Responses","$visitor"]),Po.refract=ph(["visitors","document","objects","Schema","$visitor"]),ko.refract=ph(["visitors","document","objects","SecurityRequirement","$visitor"]),No.refract=ph(["visitors","document","objects","SecurityScheme","$visitor"]),Io.refract=ph(["visitors","document","objects","Server","$visitor"]),To.refract=ph(["visitors","document","objects","ServerVariable","$visitor"]),$o.refract=ph(["visitors","document","objects","Tag","$visitor"]),Lo.refract=ph(["visitors","document","objects","XML","$visitor"]);const hh=m(-1);const mh=class extends Ss{};const dh=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new mh("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new mh("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new mh("latest method in MediaTypes class is not yet implemented.")}};class fh extends dh{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.0.3",t="generic"){const r="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return hh(this.filterByFormat(e))}}const _h=new fh("application/vnd.oai.openapi;version=3.0.0","application/vnd.oai.openapi+json;version=3.0.0","application/vnd.oai.openapi+yaml;version=3.0.0","application/vnd.oai.openapi;version=3.0.1","application/vnd.oai.openapi+json;version=3.0.1","application/vnd.oai.openapi+yaml;version=3.0.1","application/vnd.oai.openapi;version=3.0.2","application/vnd.oai.openapi+json;version=3.0.2","application/vnd.oai.openapi+yaml;version=3.0.2","application/vnd.oai.openapi;version=3.0.3","application/vnd.oai.openapi+json;version=3.0.3","application/vnd.oai.openapi+yaml;version=3.0.3"),yh=new fh(..._h.filterByFormat("generic"),..._h.filterByFormat("json")),gh=/"openapi"\s*:\s*"(?<version_json>3\.0\.([0123])(?:-rc[012])?)"/,bh=async e=>gh.test(e)&&await(async e=>{if(!kn.test(e))return!1;try{return"ERROR"!==(await Et(e)).rootNode.type}catch{return!1}})(e),vh=async(e,t={})=>{const r=f({},"refractorOpts",t),n=y(["refractorOpts"],t),s=await(async(e,{sourceMap:t=!1,syntacticAnalysis:r="direct"}={})=>{const n=await Et(e);let s;return s="indirect"===r?An(n,{sourceMap:t}):Vr(n,{sourceMap:t}),s})(e,n),{result:i}=s;if(ie(i)){const e=as.refract(i,r);e.classes.push("result"),s.replaceResult(e)}return s},wh=ut(ch)})(),n})()));
|