@swagger-api/apidom-ns-json-schema-draft-6 1.0.0-alpha.1 → 1.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-alpha.3](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2024-05-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-ns-json-schema-draft-6
|
|
9
|
+
|
|
10
|
+
# [1.0.0-alpha.2](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2024-05-20)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **ast:** add support for mutable node replacements ([#4121](https://github.com/swagger-api/apidom/issues/4121)) ([b37ecd2](https://github.com/swagger-api/apidom/commit/b37ecd2dba83aaa3813bb539ae64e98b290f0292)), closes [#4120](https://github.com/swagger-api/apidom/issues/4120)
|
|
15
|
+
|
|
6
16
|
# [1.0.0-alpha.1](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.0...v1.0.0-alpha.1) (2024-05-15)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @swagger-api/apidom-ns-json-schema-draft-6
|
|
@@ -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.apidomNsJSONSchemaDraft6=t():e.apidomNsJSONSchemaDraft6=t()}(self,(()=>(()=>{var e={3103:(e,t,r)=>{var n=r(4715)(r(8942),"DataView");e.exports=n},5098:(e,t,r)=>{var n=r(3305),s=r(9361),i=r(1112),o=r(5276),c=r(5071);function a(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])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},1386:(e,t,r)=>{var n=r(2393),s=r(2049),i=r(7144),o=r(7452),c=r(3964);function a(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])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},9770:(e,t,r)=>{var n=r(4715)(r(8942),"Map");e.exports=n},8250:(e,t,r)=>{var n=r(9753),s=r(5681),i=r(88),o=r(4732),c=r(9068);function a(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])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},9413:(e,t,r)=>{var n=r(4715)(r(8942),"Promise");e.exports=n},4512:(e,t,r)=>{var n=r(4715)(r(8942),"Set");e.exports=n},3212:(e,t,r)=>{var n=r(8250),s=r(1877),i=r(8006);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},1340:(e,t,r)=>{var n=r(1386),s=r(4103),i=r(1779),o=r(4162),c=r(7462),a=r(6638);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=c,u.prototype.set=a,e.exports=u},5650:(e,t,r)=>{var n=r(8942).Symbol;e.exports=n},1623:(e,t,r)=>{var n=r(8942).Uint8Array;e.exports=n},9270:(e,t,r)=>{var n=r(4715)(r(8942),"WeakMap");e.exports=n},9847: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}},358:(e,t,r)=>{var n=r(6137),s=r(3283),i=r(3142),o=r(5853),c=r(9632),a=r(8666),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&s(e),f=!r&&!l&&o(e),p=!r&&!l&&!f&&a(e),h=r||l||f||p,m=h?n(e.length,String):[],d=m.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,d))||m.push(y);return m}},1129: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}},6465: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}},7034:(e,t,r)=>{var n=r(6285);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},8244:(e,t,r)=>{var n=r(1129),s=r(3142);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},7379:(e,t,r)=>{var n=r(5650),s=r(8870),i=r(9005),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)}},6027:(e,t,r)=>{var n=r(7379),s=r(547);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},4687:(e,t,r)=>{var n=r(353),s=r(547);e.exports=function e(t,r,i,o,c){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,c))}},353:(e,t,r)=>{var n=r(1340),s=r(3934),i=r(8861),o=r(1182),c=r(8486),a=r(3142),u=r(5853),l=r(8666),f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,d,y,v){var b=a(e),g=a(t),E=b?p:c(e),j=g?p:c(t),x=(E=E==f?h:E)==h,w=(j=j==f?h:j)==h,O=E==j;if(O&&u(e)){if(!u(t))return!1;b=!0,x=!1}if(O&&!x)return v||(v=new n),b||l(e)?s(e,t,r,d,y,v):i(e,t,E,r,d,y,v);if(!(1&r)){var S=x&&m.call(e,"__wrapped__"),A=w&&m.call(t,"__wrapped__");if(S||A){var k=S?e.value():e,P=A?t.value():t;return v||(v=new n),y(k,P,r,d,v)}}return!!O&&(v||(v=new n),o(e,t,r,d,y,v))}},9624:(e,t,r)=>{var n=r(3655),s=r(4759),i=r(1580),o=r(4066),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(n(e)?p:c).test(o(e))}},674:(e,t,r)=>{var n=r(7379),s=r(5387),i=r(547),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)]}},195:(e,t,r)=>{var n=r(4882),s=r(8121),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}},6137:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},5568:e=>{e.exports=function(e,t){return e.has(t)}},1950:(e,t,r)=>{var n=r(8942)["__core-js_shared__"];e.exports=n},3934:(e,t,r)=>{var n=r(3212),s=r(6465),i=r(5568);e.exports=function(e,t,r,o,c,a){var u=1&r,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var m=-1,d=!0,y=2&r?new n:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var v=e[m],b=t[m];if(o)var g=u?o(b,v,m,t,e,a):o(v,b,m,e,t,a);if(void 0!==g){if(g)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(v===e||c(v,e,r,o,a)))return y.push(t)}))){d=!1;break}}else if(v!==b&&!c(v,b,r,o,a)){d=!1;break}}return a.delete(e),a.delete(t),d}},8861:(e,t,r)=>{var n=r(5650),s=r(1623),i=r(6285),o=r(3934),c=r(5894),a=r(9828),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){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||!f(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 h=c;case"[object Set]":var m=1&n;if(h||(h=a),e.size!=t.size&&!m)return!1;var d=p.get(e);if(d)return d==t;n|=2,p.set(e,t);var y=o(h(e),h(t),n,u,f,p);return p.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1182:(e,t,r)=>{var n=r(393),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,c){var a=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var f=l;f--;){var p=u[f];if(!(a?p in t:s.call(t,p)))return!1}var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=!0;c.set(e,t),c.set(t,e);for(var y=a;++f<l;){var v=e[p=u[f]],b=t[p];if(i)var g=a?i(b,v,p,t,e,c):i(v,b,p,e,t,c);if(!(void 0===g?v===b||o(v,b,r,i,c):g)){d=!1;break}y||(y="constructor"==p)}if(d&&!y){var E=e.constructor,j=t.constructor;E==j||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof j&&j instanceof j||(d=!1)}return c.delete(e),c.delete(t),d}},4967:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},393:(e,t,r)=>{var n=r(8244),s=r(7979),i=r(1211);e.exports=function(e){return n(e,i,s)}},4700:(e,t,r)=>{var n=r(9067);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},4715:(e,t,r)=>{var n=r(9624),s=r(155);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},8870:(e,t,r)=>{var n=r(5650),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[c]=r:delete e[c]),s}},7979:(e,t,r)=>{var n=r(9847),s=r(9306),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},8486:(e,t,r)=>{var n=r(3103),s=r(9770),i=r(9413),o=r(4512),c=r(9270),a=r(7379),u=r(4066),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",d=u(n),y=u(s),v=u(i),b=u(o),g=u(c),E=a;(n&&E(new n(new ArrayBuffer(1)))!=m||s&&E(new s)!=l||i&&E(i.resolve())!=f||o&&E(new o)!=p||c&&E(new c)!=h)&&(E=function(e){var t=a(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case d:return m;case y:return l;case v:return f;case b:return p;case g:return h}return t}),e.exports=E},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3305:(e,t,r)=>{var n=r(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:(e,t,r)=>{var n=r(4497),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}},5276:(e,t,r)=>{var n=r(4497),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},5071:(e,t,r)=>{var n=r(4497);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}},9632: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}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:(e,t,r)=>{var n,s=r(1950),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},4882:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2049:(e,t,r)=>{var n=r(7034),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)}},7144:(e,t,r)=>{var n=r(7034);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},7452:(e,t,r)=>{var n=r(7034);e.exports=function(e){return n(this.__data__,e)>-1}},3964:(e,t,r)=>{var n=r(7034);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}},9753:(e,t,r)=>{var n=r(5098),s=r(1386),i=r(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},5681:(e,t,r)=>{var n=r(4700);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},88:(e,t,r)=>{var n=r(4700);e.exports=function(e){return n(this,e).get(e)}},4732:(e,t,r)=>{var n=r(4700);e.exports=function(e){return n(this,e).has(e)}},9068:(e,t,r)=>{var n=r(4700);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}},5894:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},4497:(e,t,r)=>{var n=r(4715)(Object,"create");e.exports=n},8121:(e,t,r)=>{var n=r(3766)(Object.keys,Object);e.exports=n},2306:(e,t,r)=>{e=r.nmd(e);var n=r(4967),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},8942:(e,t,r)=>{var n=r(4967),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();e.exports=i},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},9828:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},4103:(e,t,r)=>{var n=r(1386);e.exports=function(){this.__data__=new n,this.size=0}},1779:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},6638:(e,t,r)=>{var n=r(1386),s=r(9770),i=r(8250);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}},4066: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""}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3283:(e,t,r)=>{var n=r(6027),s=r(547),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},3142:e=>{var t=Array.isArray;e.exports=t},6529:(e,t,r)=>{var n=r(3655),s=r(5387);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},2563:(e,t,r)=>{var n=r(7379),s=r(547);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},5853:(e,t,r)=>{e=r.nmd(e);var n=r(8942),s=r(4772),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},6343:(e,t,r)=>{var n=r(4687);e.exports=function(e,t){return n(e,t)}},3655:(e,t,r)=>{var n=r(7379),s=r(1580);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}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9310:e=>{e.exports=function(e){return null===e}},986:(e,t,r)=>{var n=r(7379),s=r(547);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(e)}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8138:(e,t,r)=>{var n=r(7379),s=r(3142),i=r(547);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},8666:(e,t,r)=>{var n=r(674),s=r(9460),i=r(2306),o=i&&i.isTypedArray,c=o?s(o):n;e.exports=c},1211:(e,t,r)=>{var n=r(358),s=r(195),i=r(6529);e.exports=function(e){return i(e)?n(e):s(e)}},1517: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)}}},9306:e=>{e.exports=function(){return[]}},4772:e=>{e.exports=function(){return!1}},4123:(e,t,r)=>{const n=r(1517);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},2322: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},5735:(e,t,r)=>{const n=r(9310),s=r(8138),i=r(986),o=r(2563),c=r(1580),a=r(394),u=r(7547);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(c,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 a(this)}}a.prototype.Namespace=l,e.exports=l},3311:(e,t,r)=>{const n=r(1517),s=r(4123);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},7547:(e,t,r)=>{const n=r(8631),s=r(3004),i=r(8712),o=r(2536),c=r(2555),a=r(9796),u=r(7309),l=r(5642),f=r(9620),p=r(593),h=r(4123),m=r(3311),d=r(2322);function y(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(y));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=y,h.prototype.refract=y,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:f,RefElement:p,refract:y,ArraySlice:h,ObjectSlice:m,KeyValuePair:d}},9620:(e,t,r)=>{const n=r(8631);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)}}},593:(e,t,r)=>{const n=r(8631);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)}}},8326:(e,t,r)=>{const n=r(5735),s=r(7547);t.g$=n,t.KeyValuePair=r(2322),t.G6=s.ArraySlice,t.ot=s.ObjectSlice,t.Hg=s.Element,t.Om=s.StringElement,t.kT=s.NumberElement,t.bd=s.BooleanElement,t.Os=s.NullElement,t.wE=s.ArrayElement,t.Sh=s.ObjectElement,t.Pr=s.MemberElement,t.sI=s.RefElement,t.Ft=s.LinkElement,t.e=s.refract,r(394),r(3148)},9796:(e,t,r)=>{const n=r(1517),s=r(8631),i=r(4123);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},2555:(e,t,r)=>{const n=r(8631);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},8631:(e,t,r)=>{const n=r(6343),s=r(2322),i=r(4123);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},7309:(e,t,r)=>{const n=r(2322),s=r(8631);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)}}},3004:(e,t,r)=>{const n=r(8631);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")}}},2536:(e,t,r)=>{const n=r(8631);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},5642:(e,t,r)=>{const n=r(1517),s=r(1580),i=r(9796),o=r(7309),c=r(3311);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 c(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)))}}},8712:(e,t,r)=>{const n=r(8631);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}}},3148:(e,t,r)=>{const n=r(394);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]))}))}}},394: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]))}))}}},1212:(e,t,r)=>{e.exports=r(8411)},7202:(e,t,r)=>{"use strict";var n=r(239);e.exports=n},6656:(e,t,r)=>{"use strict";r(484),r(5695),r(6138),r(7447),r(3832);var n=r(8099);e.exports=n.AggregateError},8411:(e,t,r)=>{"use strict";e.exports=r(8337)},8337:(e,t,r)=>{"use strict";r(5442);var n=r(7202);e.exports=n},814:(e,t,r)=>{"use strict";var n=r(2769),s=r(459),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not a function")}},1966:(e,t,r)=>{"use strict";var n=r(2937),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},8137:e=>{"use strict";e.exports=function(){}},7235:(e,t,r)=>{"use strict";var n=r(262),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not an object")}},1005:(e,t,r)=>{"use strict";var n=r(3273),s=r(4574),i=r(8130),o=function(e){return function(t,r,o){var c,a=n(t),u=i(a),l=s(o,u);if(e&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9932:(e,t,r)=>{"use strict";var n=r(6100),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},8407:(e,t,r)=>{"use strict";var n=r(4904),s=r(2769),i=r(9932),o=r(8655)("toStringTag"),c=Object,a="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=c(e),o))?r:a?i(t):"Object"===(n=i(t))&&s(t.callee)?"Arguments":n}},7464:(e,t,r)=>{"use strict";var n=r(701),s=r(5691),i=r(4543),o=r(9989);e.exports=function(e,t,r){for(var c=s(t),a=o.f,u=i.f,l=0;l<c.length;l++){var f=c[l];n(e,f)||r&&n(r,f)||a(e,f,u(t,f))}}},2871:(e,t,r)=>{"use strict";var n=r(1203);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},877:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},3999:(e,t,r)=>{"use strict";var n=r(5024),s=r(9989),i=r(480);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},480:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3508:(e,t,r)=>{"use strict";var n=r(3999);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},7525:(e,t,r)=>{"use strict";var n=r(1063),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}},5024:(e,t,r)=>{"use strict";var n=r(1203);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(e,t,r)=>{"use strict";var n=r(1063),s=r(262),i=n.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},1100: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}},7868:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4432:(e,t,r)=>{"use strict";var n,s,i=r(1063),o=r(7868),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.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},9683:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3885:(e,t,r)=>{"use strict";var n=r(6100),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},4279:(e,t,r)=>{"use strict";var n=r(3999),s=r(3885),i=r(5791),o=Error.captureStackTrace;e.exports=function(e,t,r,c){i&&(o?o(e,t):n(e,"stack",s(r,c)))}},5791:(e,t,r)=>{"use strict";var n=r(1203),s=r(480);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},9098:(e,t,r)=>{"use strict";var n=r(1063),s=r(7013),i=r(9344),o=r(2769),c=r(4543).f,a=r(8696),u=r(8099),l=r(4572),f=r(3999),p=r(701),h=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,m,d,y,v,b,g,E,j=e.target,x=e.global,w=e.stat,O=e.proto,S=x?n:w?n[j]:n[j]&&n[j].prototype,A=x?u:u[j]||f(u,j,{})[j],k=A.prototype;for(d in t)s=!(r=a(x?d:j+(w?".":"#")+d,e.forced))&&S&&p(S,d),v=A[d],s&&(b=e.dontCallGetSet?(E=c(S,d))&&E.value:S[d]),y=s&&b?b:t[d],(r||O||typeof v!=typeof y)&&(g=e.bind&&s?l(y,n):e.wrap&&s?h(y):O&&o(y)?i(y):y,(e.sham||y&&y.sham||v&&v.sham)&&f(g,"sham",!0),f(A,d,g),O&&(p(u,m=j+"Prototype")||f(u,m,{}),f(u[m],d,y),e.real&&k&&(r||!k[d])&&f(k,d,y)))}},1203:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7013:(e,t,r)=>{"use strict";var n=r(1780),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)})},4572:(e,t,r)=>{"use strict";var n=r(9344),s=r(814),i=r(1780),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)}}},1780:(e,t,r)=>{"use strict";var n=r(1203);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4713:(e,t,r)=>{"use strict";var n=r(1780),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},3410:(e,t,r)=>{"use strict";var n=r(5024),s=r(701),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},3574:(e,t,r)=>{"use strict";var n=r(6100),s=r(814);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},9344:(e,t,r)=>{"use strict";var n=r(9932),s=r(6100);e.exports=function(e){if("Function"===n(e))return s(e)}},6100:(e,t,r)=>{"use strict";var n=r(1780),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)}}},1003:(e,t,r)=>{"use strict";var n=r(8099),s=r(1063),i=r(2769),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]}},967:(e,t,r)=>{"use strict";var n=r(8407),s=r(4674),i=r(3057),o=r(6625),c=r(8655)("iterator");e.exports=function(e){if(!i(e))return s(e,c)||s(e,"@@iterator")||o[n(e)]}},1613:(e,t,r)=>{"use strict";var n=r(4713),s=r(814),i=r(7235),o=r(459),c=r(967),a=TypeError;e.exports=function(e,t){var r=arguments.length<2?c(e):t;if(s(r))return i(n(r,e));throw new a(o(e)+" is not iterable")}},4674:(e,t,r)=>{"use strict";var n=r(814),s=r(3057);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},1063: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")()},701:(e,t,r)=>{"use strict";var n=r(6100),s=r(2137),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},5241:e=>{"use strict";e.exports={}},3489:(e,t,r)=>{"use strict";var n=r(1003);e.exports=n("document","documentElement")},9665:(e,t,r)=>{"use strict";var n=r(5024),s=r(1203),i=r(9619);e.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(e,t,r)=>{"use strict";var n=r(6100),s=r(1203),i=r(9932),o=Object,c=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},3507:(e,t,r)=>{"use strict";var n=r(2769),s=r(262),i=r(3491);e.exports=function(e,t,r){var o,c;return i&&n(o=t.constructor)&&o!==r&&s(c=o.prototype)&&c!==r.prototype&&i(e,c),e}},8148:(e,t,r)=>{"use strict";var n=r(262),s=r(3999);e.exports=function(e,t){n(t)&&"cause"in t&&s(e,"cause",t.cause)}},8417:(e,t,r)=>{"use strict";var n,s,i,o=r(1314),c=r(1063),a=r(262),u=r(3999),l=r(701),f=r(3753),p=r(4275),h=r(5241),m="Object already initialized",d=c.TypeError,y=c.WeakMap;if(o||f.state){var v=f.state||(f.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new d(m);return t.facade=e,v.set(e,t),t},s=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var b=p("state");h[b]=!0,n=function(e,t){if(l(e,b))throw new d(m);return t.facade=e,u(e,b,t),t},s=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}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(!a(t)||(r=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return r}}}},2877:(e,t,r)=>{"use strict";var n=r(8655),s=r(6625),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},2769:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8696:(e,t,r)=>{"use strict";var n=r(1203),s=r(2769),i=/#|\.prototype\./,o=function(e,t){var r=a[c(e)];return r===l||r!==u&&(s(t)?n(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},3057:e=>{"use strict";e.exports=function(e){return null==e}},262:(e,t,r)=>{"use strict";var n=r(2769);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},2937:(e,t,r)=>{"use strict";var n=r(262);e.exports=function(e){return n(e)||null===e}},4871:e=>{"use strict";e.exports=!0},6281:(e,t,r)=>{"use strict";var n=r(1003),s=r(2769),i=r(4317),o=r(7460),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,c(e))}},208:(e,t,r)=>{"use strict";var n=r(4572),s=r(4713),i=r(7235),o=r(459),c=r(2877),a=r(8130),u=r(4317),l=r(1613),f=r(967),p=r(1743),h=TypeError,m=function(e,t){this.stopped=e,this.result=t},d=m.prototype;e.exports=function(e,t,r){var y,v,b,g,E,j,x,w=r&&r.that,O=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),P=n(t,w),_=function(e){return y&&p(y,"normal",e),new m(!0,e)},M=function(e){return O?(i(e),k?P(e[0],e[1],_):P(e[0],e[1])):k?P(e,_):P(e)};if(S)y=e.iterator;else if(A)y=e;else{if(!(v=f(e)))throw new h(o(e)+" is not iterable");if(c(v)){for(b=0,g=a(e);g>b;b++)if((E=M(e[b]))&&u(d,E))return E;return new m(!1)}y=l(e,v)}for(j=S?e.next:y.next;!(x=s(j,y)).done;){try{E=M(x.value)}catch(e){p(y,"throw",e)}if("object"==typeof E&&E&&u(d,E))return E}return new m(!1)}},1743:(e,t,r)=>{"use strict";var n=r(4713),s=r(7235),i=r(4674);e.exports=function(e,t,r){var o,c;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw r;if(c)throw o;return s(o),r}},1926:(e,t,r)=>{"use strict";var n=r(2621).IteratorPrototype,s=r(5780),i=r(480),o=r(1811),c=r(6625),a=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),c[l]=a,e}},164:(e,t,r)=>{"use strict";var n=r(9098),s=r(4713),i=r(4871),o=r(3410),c=r(2769),a=r(1926),u=r(3671),l=r(3491),f=r(1811),p=r(3999),h=r(3508),m=r(8655),d=r(6625),y=r(2621),v=o.PROPER,b=o.CONFIGURABLE,g=y.IteratorPrototype,E=y.BUGGY_SAFARI_ITERATORS,j=m("iterator"),x="keys",w="values",O="entries",S=function(){return this};e.exports=function(e,t,r,o,m,y,A){a(r,t,o);var k,P,_,M=function(e){if(e===m&&C)return C;if(!E&&e&&e in R)return R[e];switch(e){case x:case w:case O:return function(){return new r(this,e)}}return function(){return new r(this)}},N=t+" Iterator",T=!1,R=e.prototype,F=R[j]||R["@@iterator"]||m&&R[m],C=!E&&F||M(m),V="Array"===t&&R.entries||F;if(V&&(k=u(V.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===g||(l?l(k,g):c(k[j])||h(k,j,S)),f(k,N,!0,!0),i&&(d[N]=S)),v&&m===w&&F&&F.name!==w&&(!i&&b?p(R,"name",w):(T=!0,C=function(){return s(F,this)})),m)if(P={values:M(w),keys:y?C:M(x),entries:M(O)},A)for(_ in P)(E||T||!(_ in R))&&h(R,_,P[_]);else n({target:t,proto:!0,forced:E||T},P);return i&&!A||R[j]===C||h(R,j,C,{name:m}),d[t]=C,P}},2621:(e,t,r)=>{"use strict";var n,s,i,o=r(1203),c=r(2769),a=r(262),u=r(5780),l=r(3671),f=r(3508),p=r(8655),h=r(4871),m=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):d=!0),!a(n)||o((function(){var e={};return n[m].call(e)!==e}))?n={}:h&&(n=u(n)),c(n[m])||f(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},6625:e=>{"use strict";e.exports={}},8130:(e,t,r)=>{"use strict";var n=r(8146);e.exports=function(e){return n(e.length)}},5777: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)}},4879:(e,t,r)=>{"use strict";var n=r(1139);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},5780:(e,t,r)=>{"use strict";var n,s=r(7235),i=r(7389),o=r(9683),c=r(5241),a=r(3489),u=r(9619),l=r(4275),f="prototype",p="script",h=l("IE_PROTO"),m=function(){},d=function(e){return"<"+p+">"+e+"</"+p+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;v="undefined"!=typeof document?document.domain&&n?y(n):(t=u("iframe"),r="java"+p+":",t.style.display="none",a.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(n);for(var s=o.length;s--;)delete v[f][o[s]];return v()};c[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[f]=s(e),r=new m,m[f]=null,r[h]=e):r=v(),void 0===t?r:i.f(r,t)}},7389:(e,t,r)=>{"use strict";var n=r(5024),s=r(1330),i=r(9989),o=r(7235),c=r(3273),a=r(8364);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,r=s[l++],n[r]);return e}},9989:(e,t,r)=>{"use strict";var n=r(5024),s=r(9665),i=r(1330),o=r(7235),c=r(5341),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=n?i?function(e,t,r){if(o(e),t=c(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=c(t),o(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},4543:(e,t,r)=>{"use strict";var n=r(5024),s=r(4713),i=r(7161),o=r(480),c=r(3273),a=r(5341),u=r(701),l=r(9665),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=c(e),t=a(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},5116:(e,t,r)=>{"use strict";var n=r(8600),s=r(9683).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},7313:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},3671:(e,t,r)=>{"use strict";var n=r(701),s=r(2769),i=r(2137),o=r(4275),c=r(2871),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(n(t,a))return t[a];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},4317:(e,t,r)=>{"use strict";var n=r(6100);e.exports=n({}.isPrototypeOf)},8600:(e,t,r)=>{"use strict";var n=r(6100),s=r(701),i=r(3273),o=r(1005).indexOf,c=r(5241),a=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!s(c,r)&&s(n,r)&&a(l,r);for(;t.length>u;)s(n,r=t[u++])&&(~o(l,r)||a(l,r));return l}},8364:(e,t,r)=>{"use strict";var n=r(8600),s=r(9683);e.exports=Object.keys||function(e){return n(e,s)}},7161:(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},3491:(e,t,r)=>{"use strict";var n=r(3574),s=r(7235),i=r(1966);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)},9559:(e,t,r)=>{"use strict";var n=r(4904),s=r(8407);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},9258:(e,t,r)=>{"use strict";var n=r(4713),s=r(2769),i=r(262),o=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&s(r=e.toString)&&!i(c=n(r,e)))return c;if(s(r=e.valueOf)&&!i(c=n(r,e)))return c;if("string"!==t&&s(r=e.toString)&&!i(c=n(r,e)))return c;throw new o("Can't convert object to primitive value")}},5691:(e,t,r)=>{"use strict";var n=r(1003),s=r(6100),i=r(5116),o=r(7313),c=r(7235),a=s([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),r=o.f;return r?a(t,r(e)):t}},8099:e=>{"use strict";e.exports={}},5516:(e,t,r)=>{"use strict";var n=r(9989).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}})}},5426:(e,t,r)=>{"use strict";var n=r(3057),s=TypeError;e.exports=function(e){if(n(e))throw new s("Can't call method on "+e);return e}},1811:(e,t,r)=>{"use strict";var n=r(4904),s=r(9989).f,i=r(3999),o=r(701),c=r(9559),a=r(8655)("toStringTag");e.exports=function(e,t,r,u){var l=r?e:e&&e.prototype;l&&(o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!n&&i(l,"toString",c))}},4275:(e,t,r)=>{"use strict";var n=r(8141),s=r(1268),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},3753:(e,t,r)=>{"use strict";var n=r(1063),s=r(7525),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},8141:(e,t,r)=>{"use strict";var n=r(4871),s=r(3753);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5571:(e,t,r)=>{"use strict";var n=r(6100),s=r(9903),i=r(1139),o=r(5426),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,f=i(o(t)),p=s(r),h=f.length;return p<0||p>=h?e?"":void 0:(n=a(f,p))<55296||n>56319||p+1===h||(l=a(f,p+1))<56320||l>57343?e?c(f,p):n:e?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},4603:(e,t,r)=>{"use strict";var n=r(4432),s=r(1203),i=r(1063).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(e,t,r)=>{"use strict";var n=r(9903),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)}},3273:(e,t,r)=>{"use strict";var n=r(1395),s=r(5426);e.exports=function(e){return n(s(e))}},9903:(e,t,r)=>{"use strict";var n=r(5777);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8146:(e,t,r)=>{"use strict";var n=r(9903),s=Math.min;e.exports=function(e){var t=n(e);return t>0?s(t,9007199254740991):0}},2137:(e,t,r)=>{"use strict";var n=r(5426),s=Object;e.exports=function(e){return s(n(e))}},493:(e,t,r)=>{"use strict";var n=r(4713),s=r(262),i=r(6281),o=r(4674),c=r(9258),a=r(8655),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,a=o(e,l);if(a){if(void 0===t&&(t="default"),r=n(a,e,t),!s(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},5341:(e,t,r)=>{"use strict";var n=r(493),s=r(6281);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},4904:(e,t,r)=>{"use strict";var n={};n[r(8655)("toStringTag")]="z",e.exports="[object z]"===String(n)},1139:(e,t,r)=>{"use strict";var n=r(8407),s=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},459:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1268:(e,t,r)=>{"use strict";var n=r(6100),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},7460:(e,t,r)=>{"use strict";var n=r(4603);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(e,t,r)=>{"use strict";var n=r(5024),s=r(1203);e.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(e,t,r)=>{"use strict";var n=r(1063),s=r(2769),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8655:(e,t,r)=>{"use strict";var n=r(1063),s=r(8141),i=r(701),o=r(1268),c=r(4603),a=r(7460),u=n.Symbol,l=s("wks"),f=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:f("Symbol."+e)),l[e]}},6453:(e,t,r)=>{"use strict";var n=r(1003),s=r(701),i=r(3999),o=r(4317),c=r(3491),a=r(7464),u=r(5516),l=r(3507),f=r(4879),p=r(8148),h=r(4279),m=r(5024),d=r(4871);e.exports=function(e,t,r,y){var v="stackTraceLimit",b=y?2:1,g=e.split("."),E=g[g.length-1],j=n.apply(null,g);if(j){var x=j.prototype;if(!d&&s(x,"cause")&&delete x.cause,!r)return j;var w=n("Error"),O=t((function(e,t){var r=f(y?t:e,void 0),n=y?new j(e):new j;return void 0!==r&&i(n,"message",r),h(n,O,n.stack,2),this&&o(x,this)&&l(n,this,O),arguments.length>b&&p(n,arguments[b]),n}));if(O.prototype=x,"Error"!==E?c?c(O,w):a(O,w,{name:!0}):m&&v in j&&(u(O,j,v),u(O,j,"prepareStackTrace")),a(O,j),!d)try{x.name!==E&&i(x,"name",E),x.constructor=O}catch(e){}return O}}},6138:(e,t,r)=>{"use strict";var n=r(9098),s=r(1003),i=r(7013),o=r(1203),c=r(6453),a="AggregateError",u=s(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,r){return i(e,this,arguments)}}),l,!0)})},3085:(e,t,r)=>{"use strict";var n=r(9098),s=r(4317),i=r(3671),o=r(3491),c=r(7464),a=r(5780),u=r(3999),l=r(480),f=r(8148),p=r(4279),h=r(208),m=r(4879),d=r(8655)("toStringTag"),y=Error,v=[].push,b=function(e,t){var r,n=s(g,this);o?r=o(new y,n?i(this):g):(r=n?this:a(g),u(r,d,"Error")),void 0!==t&&u(r,"message",m(t)),p(r,b,r.stack,1),arguments.length>2&&f(r,arguments[2]);var c=[];return h(e,v,{that:c}),u(r,"errors",c),r};o?o(b,y):c(b,y,{name:!0});var g=b.prototype=a(y.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},5695:(e,t,r)=>{"use strict";r(3085)},7447:(e,t,r)=>{"use strict";var n=r(3273),s=r(8137),i=r(6625),o=r(8417),c=r(9989).f,a=r(164),u=r(877),l=r(4871),f=r(5024),p="Array Iterator",h=o.set,m=o.getterFor(p);e.exports=a(Array,"Array",(function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=m(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 d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==d.name)try{c(d,"name",{value:"values"})}catch(e){}},484:(e,t,r)=>{"use strict";var n=r(9098),s=r(1063),i=r(7013),o=r(6453),c="WebAssembly",a=s[c],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)},f=function(e,t){if(a&&a[e]){var r={};r[e]=o(c+"."+e,t,u),n({target:c,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)}})),f("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),f("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),f("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},3832:(e,t,r)=>{"use strict";var n=r(5571).charAt,s=r(1139),i=r(8417),o=r(164),c=r(877),a="String Iterator",u=i.set,l=i.getterFor(a);o(String,"String",(function(e){u(this,{type:a,string:s(e),index:0})}),(function(){var e,t=l(this),r=t.string,s=t.index;return s>=r.length?c(void 0,!0):(e=n(r,s),t.index+=e.length,c(e,!1))}))},5442:(e,t,r)=>{"use strict";r(5695)},85:(e,t,r)=>{"use strict";r(7447);var n=r(1100),s=r(1063),i=r(1811),o=r(6625);for(var c in n)i(s[c],c),o[c]=o.Array},239:(e,t,r)=>{"use strict";r(5442);var n=r(6656);r(85),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 n={};return(()=>{"use strict";r.r(n),r.d(n,{AlternatingVisitor:()=>Vs,FallbackVisitor:()=>vn,FixedFieldsVisitor:()=>Dn,JSONReferenceElement:()=>Fr,JSONSchemaDraft6MediaTypes:()=>Ne,JSONSchemaElement:()=>Zs,LinkDescriptionElement:()=>Qs,MapVisitor:()=>ts,MediaElement:()=>Vr,ParentSchemaAwareVisitor:()=>qn,PatternedFieldsVisitor:()=>es,SpecificationVisitor:()=>Ln,Visitor:()=>yn,createRefractor:()=>Si,default:()=>ei,getNodeType:()=>ti,isArrayElement:()=>ue,isBooleanElement:()=>ce,isElement:()=>ne,isJSONReferenceElement:()=>Gs,isJSONReferenceLikeElement:()=>zn,isJSONSchemaElement:()=>ji,isLinkDescriptionElement:()=>xi,isLinkElement:()=>fe,isMediaElement:()=>Us,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isRefElement:()=>pe,isStringElement:()=>se,keyMap:()=>ri,mediaTypes:()=>Te,refract:()=>Ai,refractorPluginReplaceEmptyElement:()=>ii,specificationObj:()=>Ei});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>be,includesClasses:()=>Ee,includesSymbols:()=>ge,isAnnotationElement:()=>he,isArrayElement:()=>ue,isBooleanElement:()=>ce,isCommentElement:()=>me,isElement:()=>ne,isLinkElement:()=>fe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isParseResultElement:()=>de,isPrimitiveElement:()=>ve,isRefElement:()=>pe,isSourceMapElement:()=>ye,isStringElement:()=>se});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>Gs,isJSONSchemaElement:()=>zs,isLinkDescriptionElement:()=>Ks,isMediaElement:()=>Us});var s={};r.r(s),r.d(s,{isJSONReferenceElement:()=>Gs,isJSONSchemaElement:()=>ji,isLinkDescriptionElement:()=>xi,isMediaElement:()=>Us});var i=r(8326);const o={"@@functional/placeholder":!0};function c(e){return e===o}function a(e){return function t(r){return 0===arguments.length||c(r)?t:e.apply(this,arguments)}}function u(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return c(r)?t:a((function(t){return e(r,t)}));default:return c(r)&&c(n)?t:c(r)?a((function(t){return e(t,n)})):c(n)?a((function(t){return e(r,t)})):e(r,n)}}}const l=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function f(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!l(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){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const h=function(){return this.xf["@@transducer/init"]()},m=function(e){return this.xf["@@transducer/result"](e)};var d=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=h,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=p(this.xf["@@transducer/step"](e,!1))),e},e}();function y(e){return function(t){return new d(e,t)}}const v=u(f(["all"],y,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function b(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,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,c){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,c,a,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 g(e,t,r){return function(){for(var n=[],s=0,i=e,o=0,a=!1;o<t.length||s<arguments.length;){var u;o<t.length&&(!c(t[o])||s>=arguments.length)?u=t[o]:(u=arguments[s],s+=1),n[o]=u,c(u)?a=!0:i-=1,o+=1}return!a&&i<=0?r.apply(this,n):b(Math.max(0,i),g(e,n,r))}}const E=u((function(e,t){return 1===e?a(t):b(e,g(e,[],t))}));const j=a((function(e){return E(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}));function x(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function w(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function O(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const S="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var A=Object.prototype.toString;const k=function(){return"[object Arguments]"===A.call(arguments)?function(e){return"[object Arguments]"===A.call(e)}:function(e){return O("callee",e)}}();var P=!{toString:null}.propertyIsEnumerable("toString"),_=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],M=function(){return arguments.propertyIsEnumerable("length")}(),N=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1},T="function"!=typeof Object.keys||M?a((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=M&&k(e);for(t in e)!O(t,e)||s&&"length"===t||(n[n.length]=t);if(P)for(r=_.length-1;r>=0;)O(t=_[r],e)&&!N(n,t)&&(n[n.length]=t),r-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=T;const F=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function C(e,t,r,n){var s=x(e);function i(e,t){return V(e,t,r.slice(),n.slice())}return!w((function(e,t){return!w(i,t,e)}),x(t),s)}function V(e,t,r,n){if(S(e,t))return!0;var s,i,o=F(e);if(o!==F(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||!S(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!S(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=r.length-1;c>=0;){if(r[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&C(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&C(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 a=R(e);if(a.length!==R(t).length)return!1;var u=r.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var f=a[c];if(!O(f,t)||!V(t[f],e[f],u,l))return!1;c-=1}return!0}const I=u((function(e,t){return V(e,t,[],[])}));function $(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(I(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}const L=j(u($));class D extends i.Om{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 J=D;class B extends i.Om{constructor(e,t,r){super(e,t,r),this.element="comment"}}const q=B;const z=a((function(e){return function(){return e}}));const G=z(void 0);const U=I(G());class K extends i.wE{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(U(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const H=K;class W extends i.wE{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 i.wE([e.start.row,e.start.column,e.start.char]),r=new i.wE([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const Y=W,X=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Z=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Q=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),ee=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof i.wE)&&t.classes.includes(e),te=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,re=e=>e({hasMethod:X,hasBasicElementProps:Z,primitiveEq:Q,isElementType:te,hasClass:ee}),ne=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.Hg||e(r)&&t(void 0,r))),se=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.Om||e(r)&&t("string",r))),ie=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.kT||e(r)&&t("number",r))),oe=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.Os||e(r)&&t("null",r))),ce=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.bd||e(r)&&t("boolean",r))),ae=re((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof i.Sh||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),ue=re((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof i.wE&&!(n instanceof i.Sh)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),le=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof i.Pr||e(n)&&t("member",n)&&r(void 0,n))),fe=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof i.Ft||e(n)&&t("link",n)&&r(void 0,n))),pe=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof i.sI||e(n)&&t("ref",n)&&r(void 0,n))),he=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof J||e(n)&&t("annotation",n)&&r("array",n))),me=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof q||e(n)&&t("comment",n)&&r("string",n))),de=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof H||e(n)&&t("parseResult",n)&&r("array",n))),ye=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Y||e(n)&&t("sourceMap",n)&&r("array",n))),ve=e=>te("object",e)||te("array",e)||te("boolean",e)||te("number",e)||te("string",e)||te("null",e)||te("member",e),be=e=>ye(e.meta.get("sourceMap")),ge=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!ue(r)&&v(L(r.toValue()),e)},Ee=(e,t)=>0===e.length||v(L(t.classes.toValue()),e);function je(e){return"[object String]"===Object.prototype.toString.call(e)}function xe(e,t){var r=e<0?t.length+e:e;return je(t)?t.charAt(r):t[r]}const we=a((function(e){return xe(-1,e)}));var Oe=r(1212);const Se=class extends Oe{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 Ae extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Se,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 ke=Ae;const Pe=class extends ke{};const _e=class extends Pe{};const Me=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new _e("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new _e("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new _e("latest method in MediaTypes class is not yet implemented.")}};class Ne extends Me{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-06",t="generic"){const r="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return we(this.filterByFormat(e))}}const Te=new Ne("application/schema;version=draft-06","application/schema+json;version=draft-06","application/schema+yaml;version=draft-06");function Re(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return c(r)?t:u((function(t,n){return e(r,t,n)}));case 2:return c(r)&&c(n)?t:c(r)?u((function(t,r){return e(t,n,r)})):c(n)?u((function(t,n){return e(r,t,n)})):a((function(t){return e(r,n,t)}));default:return c(r)&&c(n)&&c(s)?t:c(r)&&c(n)?u((function(t,r){return e(t,r,s)})):c(r)&&c(s)?u((function(t,r){return e(t,n,r)})):c(n)&&c(s)?u((function(t,n){return e(r,t,n)})):c(r)?a((function(t){return e(t,n,s)})):c(n)?a((function(t){return e(r,t,s)})):c(s)?a((function(t){return e(r,n,t)})):e(r,n,s)}}}function Fe(e){return"[object Object]"===Object.prototype.toString.call(e)}const Ce=Re((function(e,t,r){var n,s={};for(n in r=r||{},t=t||{})O(n,t)&&(s[n]=O(n,r)?e(n,t[n],r[n]):t[n]);for(n in r)O(n,r)&&!O(n,s)&&(s[n]=r[n]);return s}));const Ve=Re((function e(t,r,n){return Ce((function(r,n,s){return Fe(n)&&Fe(s)?e(t,n,s):t(r,n,s)}),r,n)}));const Ie=u((function(e,t){return Ve((function(e,t,r){return r}),e,t)}));const $e=u((function(e,t){return null==t||t!=t?e:t})),Le=Number.isInteger||function(e){return e<<0===e};const De=u((function(e,t){if(null!=t)return Le(e)?xe(e,t):t[e]}));const Je=Re((function(e,t,r){return $e(e,De(t,r))}));function Be(e,t){for(var r=t,n=0;n<e.length;n+=1){if(null==r)return;var s=e[n];r=Le(s)?xe(s,r):r[s]}return r}const qe=u(Be);function ze(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return l(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Ge=Re(ze("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const Ue=Ge(0,-1);const Ke=u((function(e,t){return b(e.length,(function(){return e.apply(t,arguments)}))}));const He=u((function(e,t){return e.apply(this,t)}));function We(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}const Ye=a((function(e){return!!l(e)||!!e&&("object"==typeof e&&(!je(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var Xe="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ze(e,t,r){return function(n,s,i){if(Ye(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[Xe])return r(n,s,i[Xe]());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 Qe(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function et(e,t,r,n){return r[n](e,t)}const tt=Ze(We,et,Qe);function rt(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}var nt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const st=u(f(["fantasy-land/map","map"],(function(e){return function(t){return new nt(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return E(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return We((function(r,n){return r[n]=e(t[n]),r}),{},R(t));default:return rt(e,t)}})));const it=u((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(r){return e(r)(t(r))}:tt((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,st(r,t))}),[],e)}));const ot=u((function(e,t){var r=E(e,t);return E(e,(function(){return We(it,st(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const ct=a((function(e){return ot(e.length,e)}));const at=ct(a((function(e){return!e})));function ut(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 lt=function(e){return(e<10?"0":"")+e};const ft="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+lt(e.getUTCMonth()+1)+"-"+lt(e.getUTCDate())+"T"+lt(e.getUTCHours())+":"+lt(e.getUTCMinutes())+":"+lt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var pt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function ht(e){return function(t){return new pt(e,t)}}const mt=u(f(["fantasy-land/filter","filter"],ht,(function(e,t){return Fe(t)?We((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},R(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 dt=u((function(e,t){return mt((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function yt(e,t){var r=function(r){var n=t.concat([e]);return $(r,n)?"<Circular>":yt(r,n)},n=function(e,t){return rt((function(t){return ut(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+rt(r,e).join(", ")+"))";case"[object Array]":return"["+rt(r,e).concat(n(e,dt((function(e){return/^\d+$/.test(e)}),R(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):ut(ft(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())+")":ut(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,R(e)).join(", ")+"}"}}const vt=a((function(e){return yt(e,[])}));const bt=u((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=vt(e),o=r(i,vt(t));return void 0!==o&&o===i?e:t}));const gt=u((function(e,t){return st(De(e),t)}));function Et(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)}function jt(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 xt(e,t,r,n){return e["@@transducer/result"](r[n](Ke(e["@@transducer/step"],e),t))}const wt=Ze(Et,xt,jt);var Ot=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 St=Re((function(e,t,r){return wt("function"==typeof e?new Ot(e):e,t,r)}));const At=a((function(e){return E(St(bt,0,gt("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function kt(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const Pt=a(ze("tail",Ge(1,1/0)));function _t(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return b(arguments[0].length,St(kt,arguments[0],Pt(arguments)))}var Mt=function(e,t){switch(arguments.length){case 0:return Mt;case 1:return function t(r){return 0===arguments.length?t:S(e,r)};default:return S(e,t)}};const Nt=Mt;const Tt=E(1,_t(F,Nt("GeneratorFunction")));const Rt=E(1,_t(F,Nt("AsyncFunction")));const Ft=At([_t(F,Nt("Function")),Tt,Rt]);const Ct=at(Ft);function Vt(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const It=u((function(e,t){return e&&t}));const $t=u((function(e,t){return Vt(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:ct(It)(e,t)}));var Lt=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():l(e)?[]:je(e)?"":Fe(e)?{}:k(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Dt=Lt;const Jt=a((function(e){return null!=e&&I(e,Dt(e))}));const Bt=E(1,Ft(Array.isArray)?Array.isArray:_t(F,Nt("Array")));const qt=$t(Bt,Jt);const zt=E(3,(function(e,t,r){var n=qe(e,r),s=qe(Ue(e),r);if(!Ct(n)&&!qt(e)){var i=Ke(n,s);return He(i,t)}}));const Gt=Re((function(e,t,r){return e(Be(t,r))}));const Ut=I(null);const Kt=at(Ut);function Ht(e){return Ht="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},Ht(e)}const Wt=function(e){return"object"===Ht(e)};const Yt=E(1,$t(Kt,Wt));var Xt=_t(F,Nt("Object")),Zt=_t(vt,I(vt(Object))),Qt=Gt($t(Ft,Zt),["constructor"]);const er=E(1,(function(e){if(!Yt(e)||!Xt(e))return!1;var t=Object.getPrototypeOf(e);return!!Ut(t)||Qt(t)}));class tr extends i.g${constructor(){super(),this.register("annotation",J),this.register("comment",q),this.register("parseResult",H),this.register("sourceMap",Y)}}const rr=new tr,nr=e=>{const t=new tr;return er(e)&&t.use(e),t},sr=rr,ir=()=>({predicates:{...e},namespace:sr});const or=E(1,_t(F,Nt("String")));const cr=class extends ke{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...r}=t;Object.assign(this,r)}}},ar=(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},ur={},lr=e=>null==e?void 0:e.type,fr=e=>"string"==typeof lr(e),pr=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),hr=(e,{visitFnGetter:t=ar,nodeTypeGetter:r=lr,breakSymbol:n=ur,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{enter(u,...l){let f=u,p=!1;for(let h=0;h<e.length;h+=1)if(a[h]===c){const c=t(e[h],r(f),!1);if("function"==typeof c){const t=c.call(e[h],f,...l);if("function"==typeof(null==t?void 0:t.then))throw new cr("Async visitor not supported in sync mode",{visitor:e[h],visitFn:c});if(t===i)a[h]=u;else if(t===n)a[h]=n;else{if(t===s)return t;if(void 0!==t){if(!o)return t;f=t,p=!0}}}}return p?f:void 0},leave(s,...o){for(let u=0;u<e.length;u+=1)if(a[u]===c){const c=t(e[u],r(s),!0);if("function"==typeof c){const t=c.call(e[u],s,...o);if("function"==typeof(null==t?void 0:t.then))throw new cr("Async visitor not supported in sync mode",{visitor:e[u],visitFn:c});if(t===n)a[u]=n;else if(void 0!==t&&t!==i)return t}}else a[u]===s&&(a[u]=c)}}};hr[Symbol.for("nodejs.util.promisify.custom")]=(e,{visitFnGetter:t=ar,nodeTypeGetter:r=lr,breakSymbol:n=ur,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{async enter(u,...l){let f=u,p=!1;for(let h=0;h<e.length;h+=1)if(a[h]===c){const c=t(e[h],r(f),!1);if("function"==typeof c){const t=await c.call(e[h],f,...l);if(t===i)a[h]=u;else if(t===n)a[h]=n;else{if(t===s)return t;if(void 0!==t){if(!o)return t;f=t,p=!0}}}}return p?f:void 0},async leave(s,...o){for(let u=0;u<e.length;u+=1)if(a[u]===c){const c=t(e[u],r(s),!0);if("function"==typeof c){const t=await c.call(e[u],s,...o);if(t===n)a[u]=n;else if(void 0!==t&&t!==i)return t}}else a[u]===s&&(a[u]=c)}}};const mr=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=ar,nodeTypeGetter:a=lr,nodePredicate:u=fr,nodeCloneFn:l=pr,detectCycles:f=!0}={})=>{const p=r||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const E=[],j=[];do{v+=1;const e=v===y.length;let r;const O=e&&0!==b.length;if(e){if(r=0===j.length?void 0:E.pop(),g=m,m=j.pop(),O)if(d){g=g.slice();let e=0;for(const[t,r]of b){const n=t-e;r===i?(g.splice(n,1),e+=1):g[n]=r}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=d?v:y[v],g=m[r],g===i||void 0===g)continue;E.push(r)}let S;if(!Array.isArray(g)){var x;if(!u(g))throw new cr(`Invalid AST Node: ${String(g)}`,{node:g});if(f&&j.includes(g)){E.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;S=i.call(t,g,r,m,E,j)}if("function"==typeof(null===(x=S)||void 0===x?void 0:x.then))throw new cr("Async visitor not supported in sync mode",{visitor:t,visitFn:i});if(S===s)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(b.push([r,S]),!e)){if(!u(S)){E.pop();continue}g=S}}var w;if(void 0===S&&O&&b.push([r,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(w=p[a(g)])&&void 0!==w?w:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};mr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=ar,nodeTypeGetter:a=lr,nodePredicate:u=fr,nodeCloneFn:l=pr,detectCycles:f=!0}={})=>{const p=r||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const E=[],j=[];do{v+=1;const e=v===y.length;let r;const w=e&&0!==b.length;if(e){if(r=0===j.length?void 0:E.pop(),g=m,m=j.pop(),w)if(d){g=g.slice();let e=0;for(const[t,r]of b){const n=t-e;r===i?(g.splice(n,1),e+=1):g[n]=r}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=d?v:y[v],g=m[r],g===i||void 0===g)continue;E.push(r)}let O;if(!Array.isArray(g)){if(!u(g))throw new cr(`Invalid AST Node: ${String(g)}`,{node:g});if(f&&j.includes(g)){E.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;O=await i.call(t,g,r,m,E,j)}if(O===s)break;if(O===o){if(!e){E.pop();continue}}else if(void 0!==O&&(b.push([r,O]),!e)){if(!u(O)){E.pop();continue}g=O}}var x;if(void 0===O&&w&&b.push([r,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(x=p[a(g)])&&void 0!==x?x:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};const dr=class extends cr{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const yr=class extends dr{};const vr=class extends dr{},br=(e,t={})=>{const{visited:r=new WeakMap}=t,n={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof i.KeyValuePair){const{key:t,value:s}=e,o=ne(t)?br(t,n):t,c=ne(s)?br(s,n):s,a=new i.KeyValuePair(o,c);return r.set(e,a),a}if(e instanceof i.ot){const t=e=>br(e,n),s=[...e].map(t),o=new i.ot(s);return r.set(e,o),o}if(e instanceof i.G6){const t=e=>br(e,n),s=[...e].map(t),o=new i.G6(s);return r.set(e,o),o}if(ne(e)){const t=jr(e);if(r.set(e,t),e.content)if(ne(e.content))t.content=br(e.content,n);else if(e.content instanceof i.KeyValuePair)t.content=br(e.content,n);else if(Array.isArray(e.content)){const r=e=>br(e,n);t.content=e.content.map(r)}else t.content=e.content;else t.content=e.content;return t}throw new yr("Value provided to cloneDeep function couldn't be cloned",{value:e})};br.safe=e=>{try{return br(e)}catch{return e}};const gr=e=>{const{key:t,value:r}=e;return new i.KeyValuePair(t,r)},Er=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=br(e.meta)),e.attributes.length>0&&(t._attributes=br(e.attributes)),ne(e.content)){const r=e.content;t.content=Er(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof i.KeyValuePair?t.content=gr(e.content):t.content=e.content;return t},jr=e=>{if(e instanceof i.KeyValuePair)return gr(e);if(e instanceof i.ot)return(e=>{const t=[...e];return new i.ot(t)})(e);if(e instanceof i.G6)return(e=>{const t=[...e];return new i.G6(t)})(e);if(ne(e))return Er(e);throw new vr("Value provided to cloneShallow function couldn't be cloned",{value:e})};jr.safe=e=>{try{return jr(e)}catch{return e}};const xr=e=>ae(e)?"ObjectElement":ue(e)?"ArrayElement":le(e)?"MemberElement":se(e)?"StringElement":ce(e)?"BooleanElement":ie(e)?"NumberElement":oe(e)?"NullElement":fe(e)?"LinkElement":pe(e)?"RefElement":void 0,wr=e=>ne(e)?jr(e):pr(e),Or=_t(xr,or),Sr={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const Ar=(e,t,{keyMap:r=Sr,...n}={})=>mr(e,t,{keyMap:r,nodeTypeGetter:xr,nodePredicate:Or,nodeCloneFn:wr,...n});Ar[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=Sr,...n}={})=>mr[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:xr,nodePredicate:Or,nodeCloneFn:wr,...n});const kr={toolboxCreator:ir,visitorOptions:{nodeTypeGetter:xr,exposeEdits:!0}},Pr=(e,t,r={})=>{if(0===t.length)return e;const n=Ie(kr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),c=t.map((e=>e(o))),a=hr(c.map(Je({},"visitor")),{...i});c.forEach(zt(["pre"],[]));const u=Ar(e,a,i);return c.forEach(zt(["post"],[])),u};Pr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,r={})=>{if(0===t.length)return e;const n=Ie(kr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),c=t.map((e=>e(o))),a=hr[Symbol.for("nodejs.util.promisify.custom")],u=Ar[Symbol.for("nodejs.util.promisify.custom")],l=a(c.map(Je({},"visitor")),{...i});await Promise.allSettled(c.map(zt(["pre"],[])));const f=await u(e,l,i);return await Promise.allSettled(c.map(zt(["post"],[]))),f};const _r=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return ne(e)&&(e.meta.length>0&&(n.meta=br(e.meta)),e.attributes.length>0&&(n.attributes=br(e.attributes))),Pr(n,r,{toolboxCreator:ir,visitorOptions:{nodeTypeGetter:xr}})},Mr=e=>(t,r={})=>_r(t,{...r,Type:e});i.Sh.refract=Mr(i.Sh),i.wE.refract=Mr(i.wE),i.Om.refract=Mr(i.Om),i.bd.refract=Mr(i.bd),i.Os.refract=Mr(i.Os),i.kT.refract=Mr(i.kT),i.Ft.refract=Mr(i.Ft),i.sI.refract=Mr(i.sI),J.refract=Mr(J),q.refract=Mr(q),H.refract=Mr(H),Y.refract=Mr(Y);class Nr extends i.Sh{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 Tr=Nr;class Rr extends i.Sh{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 Fr=Rr;class Cr extends i.Sh{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 Vr=Cr;class Ir extends i.Sh{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 $r=Ir;const Lr=u((function(e,t){return We((function(r,n){return r[n]=e(t[n],n,t),r}),{},R(t))}));const Dr=a((function(e){return null==e}));var Jr=u((function(e,t){if(0===e.length||Dr(t))return!1;for(var r=t,n=0;n<e.length;){if(Dr(r)||!O(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));const Br=Jr;var qr=u((function(e,t){return Br([e],t)}));const zr=qr;const Gr=Re((function(e,t,r){return e(De(t,r))}));const Ur=a((function(e){return E(e.length,e)}));const Kr=u((function(e,t){return E(e+1,(function(){var r=arguments[e];if(null!=r&&Vt(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(vt(r)+' does not have a method named "'+t+'"')}))}));const Hr=Kr(1,"split");var Wr=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,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 Yr(e){return function(t){return new Wr(e,t)}}const Xr=u(f(["dropWhile"],Yr,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return Ge(r,1/0,t)})));const Zr=Kr(1,"join");const Qr=Ur((function(e,t){return _t(Hr(""),Xr(L(e)),Zr(""))(t)})),en=(e,t)=>{const r=$e(e,t);return Lr((e=>{if(er(e)&&zr("$ref",e)&&Gr(or,"$ref",e)){const t=qe(["$ref"],e),n=Qr("#/",t);return qe(n.split("/"),r)}return er(e)?en(e,r):e}),e)};const tn=function(){return!0},rn=e=>"string"==typeof(null==e?void 0:e.type)?e.type:xr(e),nn={EphemeralObject:["content"],EphemeralArray:["content"],...Sr},sn=(e,t,{keyMap:r=nn,...n}={})=>Ar(e,t,{keyMap:r,nodeTypeGetter:rn,nodePredicate:tn,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});sn[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=nn,...r}={})=>Ar[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:rn,nodePredicate:tn,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const on=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 cn=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 an{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new cn(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 on(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}RefElement(e,...t){var r;const n=t[3];return"EphemeralObject"===(null===(r=n[n.length-1])||void 0===r?void 0:r.type)?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return se(e.href)?e.href.toValue():""}}const un=e=>ne(e)?se(e)||ie(e)||ce(e)||oe(e)?e.toValue():sn(e,new an):e,ln=e=>{const t=e.meta.length>0?br(e.meta):void 0,r=e.attributes.length>0?br(e.attributes):void 0;return new e.constructor(void 0,t,r)},fn=(e,t)=>t.clone&&t.isMergeableElement(e)?dn(ln(e),e,t):e,pn=e=>"function"!=typeof e.customMetaMerge?e=>br(e):e.customMetaMerge,hn=e=>"function"!=typeof e.customAttributesMerge?e=>br(e):e.customAttributesMerge,mn={clone:!0,isMergeableElement:e=>ae(e)||ue(e),arrayElementMerge:(e,t,r)=>e.concat(t)["fantasy-land/map"]((e=>fn(e,r))),objectElementMerge:(e,t,r)=>{const n=ae(e)?ln(e):ln(t);return ae(e)&&e.forEach(((e,t,s)=>{const i=jr(s);i.value=fn(e,r),n.content.push(i)})),t.forEach(((t,s,i)=>{const o=un(s);let c;if(ae(e)&&e.hasKey(o)&&r.isMergeableElement(t)){const n=e.get(o);c=jr(i),c.value=((e,t)=>{if("function"!=typeof t.customMerge)return dn;const r=t.customMerge(e,t);return"function"==typeof r?r:dn})(s,r)(n,t)}else c=jr(i),c.value=fn(t,r);n.remove(o),n.content.push(c)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function dn(e,t,r){var n,s,i;const o={...mn,...r};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:mn.isMergeableElement,o.arrayElementMerge=null!==(s=o.arrayElementMerge)&&void 0!==s?s:mn.arrayElementMerge,o.objectElementMerge=null!==(i=o.objectElementMerge)&&void 0!==i?i:mn.objectElementMerge;const c=ue(t);if(!(c===ue(e)))return fn(t,o);const a=c&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return a.meta=pn(o)(e.meta,t.meta),a.attributes=hn(o)(e.attributes,t.attributes),a}dn.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new i.Sh:e.reduce(((e,r)=>dn(e,r,t)),ln(e[0]))};const yn=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=dn(t.meta,e.meta),be(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=dn(t.attributes,e.attributes))}};const vn=class extends yn{enter(e){return this.element=br(e),ur}},bn=(e,t,r=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of r)delete n[e];Object.defineProperties(e,n)},gn=(e,t=[e])=>{const r=Object.getPrototypeOf(e);return null===r?t:gn(r,[...t,r])},En=(e,t,r=[])=>{var n;const s=null!==(n=((...e)=>{if(0===e.length)return;let t;const r=e.map((e=>gn(e)));for(;r.every((e=>e.length>0));){const e=r.map((e=>e.pop())),n=e[0];if(!e.every((e=>e===n)))break;t=n}return t})(...e))&&void 0!==n?n:Object.prototype,i=Object.create(s),o=gn(s);for(let t of e){let e=gn(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(bn(i,n,["constructor",...r]),o.push(n))}}return i.constructor=t,i},jn=e=>e.filter(((t,r)=>e.indexOf(t)==r)),xn=(e,t)=>{const r=t.map((e=>gn(e)));let n=0,s=!0;for(;s;){s=!1;for(let i=t.length-1;i>=0;i--){const t=r[i][n];if(null!=t&&(s=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return r[i][0]}n++}},wn=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,r)=>Object.getOwnPropertyDescriptor(xn(r,e)||{},r),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(r,n)=>void 0!==xn(n,e)||void 0!==t[n],get:(r,n)=>(xn(n,e)||t)[n],set(t,r,n){const s=xn(r,e);if(void 0===s)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return s[r]=n,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce(((e,t)=>t.concat(e.filter((e=>t.indexOf(e)<0)))))}),On=null,Sn="copy",An="copy",kn="deep",Pn=new WeakMap,_n=e=>Pn.get(e),Mn=(e,t)=>{var r,n;const s=jn([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of s)i[o]=jn([...null!==(r=null==e?void 0:e[o])&&void 0!==r?r:[],...null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[]]);return i},Nn=(e,t)=>{var r,n,s,i;return{property:Mn(null!==(r=null==e?void 0:e.property)&&void 0!==r?r:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:Mn(null!==(s=null==e?void 0:e.method)&&void 0!==s?s:{},null!==(i=null==t?void 0:t.method)&&void 0!==i?i:{})}},Tn=(e,t)=>{var r,n,s,i,o,c;return{class:jn([...null!==(r=null==e?void 0:e.class)&&void 0!==r?r:[],...null!==(n=null==t?void 0:t.class)&&void 0!==n?n:[]]),static:Nn(null!==(s=null==e?void 0:e.static)&&void 0!==s?s:{},null!==(i=null==t?void 0:t.static)&&void 0!==i?i:{}),instance:Nn(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},Rn=new Map,Fn=(...e)=>{const t=((...e)=>{var t;const r=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const s=[...gn(e.prototype).map((e=>e.constructor)),...null!==(t=_n(e))&&void 0!==t?t:[]].filter((e=>!r.has(e)));for(let e of s)n.add(e);r.add(e),n.delete(e)}return[...r]})(...e).map((e=>Rn.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>Tn(e,t)))},Cn=e=>{let t=Rn.get(e);return t||(t={},Rn.set(e,t)),t};function Vn(...e){var t,r,n;const s=e.map((e=>e.prototype)),i=On;if(null!==i){const e=s.map((e=>e[i])).filter((e=>"function"==typeof e)),t={[i]:function(...t){for(let r of e)r.apply(this,t)}};s.push(t)}function o(...t){for(const r of e)bn(this,new r(...t));null!==i&&"function"==typeof this[i]&&this[i].apply(this,t)}var c,a;o.prototype="copy"===An?En(s,o):(c=s,a=o,wn([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===Sn?En(e,null,["prototype"]):wn(e,Function.prototype));let u=o;if("none"!==kn){const s="deep"===kn?Fn(...e):((...e)=>{const t=e.map((e=>Cn(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>Tn(e,t)))})(...e);for(let e of null!==(t=null==s?void 0:s.class)&&void 0!==t?t:[]){const t=e(u);t&&(u=t)}In(null!==(r=null==s?void 0:s.static)&&void 0!==r?r:{},u),In(null!==(n=null==s?void 0:s.instance)&&void 0!==n?n:{},u.prototype)}var l,f;return l=u,f=e,Pn.set(l,f),u}const In=(e,t)=>{const r=e.property,n=e.method;if(r)for(let e in r)for(let n of r[e])n(t,e);if(n)for(let e in n)for(let r of n[e])r(t,e,Object.getOwnPropertyDescriptor(t,e))};const $n=u((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}));const Ln=class extends yn{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return $n(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=qe(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Gt(Ft,["visitors",...e],this.specObj)?qe(["visitors",...e],this.specObj):qe(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...r,...t})}toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r);return n instanceof vn&&(null==n?void 0:n.constructor)===vn?br(t):(Ar(t,n,r),n.element)}};const Dn=class extends Ln{specPath;ignoredFields;constructor({specPath:e,ignoredFields:t,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(se(n)&&r.includes(un(n))&&!this.ignoredFields.includes(un(n))){const r=this.toRefractedElement([...t,"fixedFields",un(n)],e),o=new i.Pr(br(n),r);this.copyMetaAndAttributes(s,o),o.classes.push("fixed-field"),this.element.content.push(o)}else this.ignoredFields.includes(un(n))||this.element.content.push(br(s))})),this.copyMetaAndAttributes(e,this.element),ur}};class Jn extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new Tr,this.specPath=z(["document","objects","JSONSchema"])}}const Bn=Jn;const qn=class{parent;constructor({parent:e}){this.parent=e}},zn=e=>ae(e)&&e.hasKey("$ref");class Gn extends(Vn(Ln,qn,vn)){ObjectElement(e){const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ur}ArrayElement(e){return this.element=new i.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}}const Un=Gn;const Kn=class extends vn{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-required"),t}};const Hn=a((function(e){return E(St(bt,0,gt("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 Wn=a((function(e){return!Jt(e)}));const Yn=u((function(e,t){return e||t}));var Xn=at(E(1,$t(Kt,u((function(e,t){return Vt(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:ct(Yn)(e,t)}))(Wt,Ft))));const Zn=Hn([or,Xn,Wn]);const Qn=function(){return!1};const es=class extends Ln{specPath;ignoredFields;fieldPatternPredicate=Qn;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:r,...n}){super({...n}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof r&&(this.fieldPatternPredicate=r)}ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes(un(t))&&this.fieldPatternPredicate(un(t))){const n=this.specPath(e),s=this.toRefractedElement(n,e),o=new i.Pr(br(t),s);this.copyMetaAndAttributes(r,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes(un(t))||this.element.content.push(br(r))})),this.copyMetaAndAttributes(e,this.element),ur}};const ts=class extends es{constructor(e){super(e),this.fieldPatternPredicate=Zn}};class rs extends(Vn(ts,qn,vn)){constructor(e){super(e),this.element=new i.Sh,this.element.classes.push("json-schema-properties"),this.specPath=e=>zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const ns=rs;class ss extends(Vn(ts,qn,vn)){constructor(e){super(e),this.element=new i.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const is=ss;class os extends(Vn(ts,qn,vn)){constructor(e){super(e),this.element=new i.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const cs=os;const as=class extends vn{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-enum"),t}};const us=class extends vn{StringElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}};class ls extends(Vn(Ln,qn,vn)){constructor(e){super(e),this.element=new i.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}}const fs=ls;class ps extends(Vn(Ln,qn,vn)){constructor(e){super(e),this.element=new i.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}}const hs=ps;class ms extends(Vn(Ln,qn,vn)){constructor(e){super(e),this.element=new i.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}}const ds=ms;class ys extends(Vn(ts,qn,vn)){constructor(e){super(e),this.element=new i.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=e=>zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const vs=ys;class bs extends(Vn(Ln,qn,vn)){constructor(e){super(e),this.element=new i.wE,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),ur}}const gs=bs;class Es extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new Fr,this.specPath=z(["document","objects","JSONReference"])}ObjectElement(e){const t=Dn.prototype.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const js=Es;const xs=class extends vn{StringElement(e){const t=this.enter(e);return this.element.classes.push("reference-value"),t}};const ws=Re((function(e,t,r){return E(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const Os=a((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));var Ss=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const As=Ss;const ks=a((function(e){return xe(0,e)}));const Ps=a(p);const _s=at(Dr);const Ms=$t(Bt,Wn);function Ns(e){return function(e){if(Array.isArray(e))return Ts(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 Ts(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 Ts(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 Ts(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 Rs=_t(As(Os((function(e,t){return e.length>t.length}))),ks,De("length")),Fs=Ur((function(e,t,r){var n=r.apply(void 0,Ns(e));return _s(n)?Ps(n):t}));const Cs=ws(Ms,(function(e){var t=Rs(e);return E(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return St(Fs(r),void 0,e)}))}),G);const Vs=class extends Ln{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>ws(e,z(t),G))),r=Cs(t)(e);return this.element=this.toRefractedElement(r,e),ur}};const Is=class extends Vs{constructor(e){super(e),this.alternator=[{predicate:zn,specPath:["document","objects","JSONReference"]},{predicate:tn,specPath:["document","objects","JSONSchema"]}]}};class $s extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new Vr,this.specPath=z(["document","objects","Media"])}}const Ls=$s;class Ds extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new $r,this.specPath=z(["document","objects","LinkDescription"])}}const Js={visitors:{value:vn,JSONSchemaOrJSONReferenceVisitor:Is,document:{objects:{JSONSchema:{$visitor:Bn,fixedFields:{id:{$ref:"#/visitors/value"},$schema:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},additionalItems:Is,items:Un,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:Kn,properties:ns,additionalProperties:Is,patternProperties:is,dependencies:cs,enum:as,type:us,allOf:fs,anyOf:hs,oneOf:ds,not:Is,definitions:vs,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:gs,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:js,fixedFields:{$ref:xs}},Media:{$visitor:Ls,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:Ds,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Is,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Is}}}}}},Bs=e=>{if(ne(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},qs={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Sr},zs=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Tr||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),Gs=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Fr||e(n)&&t("JSONReference",n)&&r("object",n))),Us=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Vr||e(n)&&t("media",n)&&r("object",n))),Ks=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof $r||e(n)&&t("linkDescription",n)&&r("object",n))),Hs={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Tr),t.register("jSONReference",Fr),t.register("media",Vr),t.register("linkDescription",$r),t}},Ws=()=>{const e=nr(Hs);return{predicates:{...t,isStringElement:se},namespace:e}},Ys=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Js}={})=>{const s=(0,i.e)(e),o=en(n),c=new(qe(t,o))({specObj:o});return Ar(s,c),Pr(c.element,r,{toolboxCreator:Ws,visitorOptions:{keyMap:qs,nodeTypeGetter:Bs}})},Xs=e=>(t,r={})=>Ys(t,{specPath:e,...r});Tr.refract=Xs(["visitors","document","objects","JSONSchema","$visitor"]),Fr.refract=Xs(["visitors","document","objects","JSONReference","$visitor"]),Vr.refract=Xs(["visitors","document","objects","Media","$visitor"]),$r.refract=Xs(["visitors","document","objects","LinkDescription","$visitor"]);const Zs=class extends Tr{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft6"}get idProp(){throw new Pe("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Pe("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const Qs=class extends $r{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new Pe("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Pe("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new Pe("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Pe("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Pe("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Pe("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},ei={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Zs),t.register("jSONReference",Fr),t.register("media",Vr),t.register("linkDescription",Qs),t}},ti=e=>{if(ne(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ri={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Sr},ni={JSONSchemaDraft6Element:{additionalItems:(...e)=>new Zs(...e),items:(...e)=>new Zs(...e),contains:(...e)=>new Zs(...e),required(...e){const t=new i.wE(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new i.Sh(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new Zs(...e),patternProperties(...e){const t=new i.Sh(...e);return t.classes.push("json-schema-patternProperties"),t},dependencies(...e){const t=new i.Sh(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new Zs(...e),enum(...e){const t=new i.wE(...e);return t.classes.push("json-schema-enum"),t},allOf(...e){const t=new i.wE(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new i.wE(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new i.wE(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new Zs(...e),definitions(...e){const t=new i.Sh(...e);return t.classes.push("json-schema-definitions"),t},examples(...e){const t=new i.wE(...e);return t.classes.push("json-schema-examples"),t},links(...e){const t=new i.wE(...e);return t.classes.push("json-schema-links"),t},media:(...e)=>new Vr(...e)},LinkDescriptionElement:{hrefSchema:(...e)=>new Zs(...e),targetSchema:(...e)=>new Zs(...e),submissionSchema:(...e)=>new Zs(...e)},"json-schema-properties":{"[key: *]":function(...e){return new Zs(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new Zs(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new Zs(...e)}},"json-schema-allOf":{"<*>":function(...e){return new Zs(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new Zs(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new Zs(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new Zs(...e)}},"json-schema-links":{"<*>":function(...e){return new Qs(...e)}}},si=(e,t)=>{const r=ti(e),n=ni[r]||ni[un(e.classes.first)];return void 0===n?void 0:Object.prototype.hasOwnProperty.call(n,"[key: *]")?n["[key: *]"]:n[t]},ii=()=>()=>({visitor:{StringElement(e,t,r,n,s){if(!(e=>se(e)&&Ee(["yaml-e-node","yaml-e-scalar"],e))(e))return;const i=[...s,r].filter(ne),o=i[i.length-1];let c,a;return ue(o)?(a=e,c=si(o,"<*>")):le(o)&&(a=i[i.length-2],c=si(a,un(o.key))),"function"==typeof c?c.call({context:a},void 0,br(e.meta),br(e.attributes)):void 0}}});var oi=Re((function e(t,r,n){if(0===t.length)return r;var s=t[0];if(t.length>1){var i=!Dr(n)&&O(s,n)&&"object"==typeof n[s]?n[s]:Le(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,i)}return function(e,t,r){if(Le(e)&&l(r)){var n=[].concat(r);return n[e]=t,n}var s={};for(var i in r)s[i]=r[i];return s[e]=t,s}(s,r,n)}));const ci=oi;const ai=Re((function(e,t,r){var n=Array.prototype.slice.call(r,0);return n.splice(e,t),n}));var ui=Re((function(e,t,r){return ci([e],t,r)}));const li=ui;var fi=u((function e(t,r){if(null==r)return r;switch(t.length){case 0:return r;case 1:return function(e,t){if(null==t)return t;if(Le(e)&&l(t))return ai(e,1,t);var r={};for(var n in t)r[n]=t[n];return delete r[e],r}(t[0],r);default:var n=t[0],s=Array.prototype.slice.call(t,1);return null==r[n]?function(e,t){if(Le(e)&&l(t))return[].concat(t);var r={};for(var n in t)r[n]=t[n];return r}(n,r):li(n,e(s,r[n]),r)}}));const pi=fi;class hi extends(Vn(Dn,vn)){constructor(e){super(e),this.specPath=z(["document","objects","JSONSchema"])}ObjectElement(e){return this.element=new Zs,Dn.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=this.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const mi=hi;class di extends(Vn(Ln,qn,vn)){ObjectElement(e){const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ur}ArrayElement(e){return this.element=new i.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),ur}}const yi=di;const vi=class extends vn{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-examples"),t}};class bi extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new Qs,this.specPath=z(["document","objects","LinkDescription"])}}const gi=bi,Ei=_t(ci(["visitors","document","objects","JSONSchema","$visitor"],mi),pi(["visitors","document","objects","JSONSchema","fixedFields","id"]),ci(["visitors","document","objects","JSONSchema","fixedFields","$id"],Js.visitors.value),ci(["visitors","document","objects","JSONSchema","fixedFields","contains"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),ci(["visitors","document","objects","JSONSchema","fixedFields","items"],yi),ci(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),ci(["visitors","document","objects","JSONSchema","fixedFields","const"],Js.visitors.value),ci(["visitors","document","objects","JSONSchema","fixedFields","examples"],vi),ci(["visitors","document","objects","LinkDescription","$visitor"],gi),ci(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),pi(["visitors","document","objects","LinkDescription","fixedFields","schema"]),ci(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),pi(["visitors","document","objects","LinkDescription","fixedFields","method"]),pi(["visitors","document","objects","LinkDescription","fixedFields","encType"]),ci(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Js.visitors.value))(Js),ji=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Zs||e(n)&&t("JSONSchemaDraft6",n)&&r("object",n))),xi=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Qs||e(n)&&t("linkDescription",n)&&r("object",n))),wi=()=>{const e=nr(ei);return{predicates:{...s,isStringElement:se},namespace:e}},Oi=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Ei}={})=>{const s=(0,i.e)(e),o=en(n),c=new(qe(t,o))({specObj:o});return Ar(s,c),Pr(c.element,r,{toolboxCreator:wi,visitorOptions:{keyMap:ri,nodeTypeGetter:ti}})},Si=e=>(t,r={})=>Oi(t,{specPath:e,...r}),Ai=Oi})(),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.apidomNsJSONSchemaDraft6=t():e.apidomNsJSONSchemaDraft6=t()}(self,(()=>(()=>{var e={3103:(e,t,r)=>{var n=r(4715)(r(8942),"DataView");e.exports=n},5098:(e,t,r)=>{var n=r(3305),s=r(9361),i=r(1112),o=r(5276),c=r(5071);function a(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])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},1386:(e,t,r)=>{var n=r(2393),s=r(2049),i=r(7144),o=r(7452),c=r(3964);function a(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])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},9770:(e,t,r)=>{var n=r(4715)(r(8942),"Map");e.exports=n},8250:(e,t,r)=>{var n=r(9753),s=r(5681),i=r(88),o=r(4732),c=r(9068);function a(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])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},9413:(e,t,r)=>{var n=r(4715)(r(8942),"Promise");e.exports=n},4512:(e,t,r)=>{var n=r(4715)(r(8942),"Set");e.exports=n},3212:(e,t,r)=>{var n=r(8250),s=r(1877),i=r(8006);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},1340:(e,t,r)=>{var n=r(1386),s=r(4103),i=r(1779),o=r(4162),c=r(7462),a=r(6638);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=c,u.prototype.set=a,e.exports=u},5650:(e,t,r)=>{var n=r(8942).Symbol;e.exports=n},1623:(e,t,r)=>{var n=r(8942).Uint8Array;e.exports=n},9270:(e,t,r)=>{var n=r(4715)(r(8942),"WeakMap");e.exports=n},9847: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}},358:(e,t,r)=>{var n=r(6137),s=r(3283),i=r(3142),o=r(5853),c=r(9632),a=r(8666),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&s(e),f=!r&&!l&&o(e),p=!r&&!l&&!f&&a(e),h=r||l||f||p,m=h?n(e.length,String):[],d=m.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,d))||m.push(y);return m}},1129: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}},6465: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}},7034:(e,t,r)=>{var n=r(6285);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},8244:(e,t,r)=>{var n=r(1129),s=r(3142);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},7379:(e,t,r)=>{var n=r(5650),s=r(8870),i=r(9005),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)}},6027:(e,t,r)=>{var n=r(7379),s=r(547);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},4687:(e,t,r)=>{var n=r(353),s=r(547);e.exports=function e(t,r,i,o,c){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,c))}},353:(e,t,r)=>{var n=r(1340),s=r(3934),i=r(8861),o=r(1182),c=r(8486),a=r(3142),u=r(5853),l=r(8666),f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,d,y,v){var b=a(e),g=a(t),E=b?p:c(e),j=g?p:c(t),x=(E=E==f?h:E)==h,w=(j=j==f?h:j)==h,O=E==j;if(O&&u(e)){if(!u(t))return!1;b=!0,x=!1}if(O&&!x)return v||(v=new n),b||l(e)?s(e,t,r,d,y,v):i(e,t,E,r,d,y,v);if(!(1&r)){var S=x&&m.call(e,"__wrapped__"),A=w&&m.call(t,"__wrapped__");if(S||A){var k=S?e.value():e,P=A?t.value():t;return v||(v=new n),y(k,P,r,d,v)}}return!!O&&(v||(v=new n),o(e,t,r,d,y,v))}},9624:(e,t,r)=>{var n=r(3655),s=r(4759),i=r(1580),o=r(4066),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(n(e)?p:c).test(o(e))}},674:(e,t,r)=>{var n=r(7379),s=r(5387),i=r(547),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)]}},195:(e,t,r)=>{var n=r(4882),s=r(8121),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}},6137:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},5568:e=>{e.exports=function(e,t){return e.has(t)}},1950:(e,t,r)=>{var n=r(8942)["__core-js_shared__"];e.exports=n},3934:(e,t,r)=>{var n=r(3212),s=r(6465),i=r(5568);e.exports=function(e,t,r,o,c,a){var u=1&r,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var m=-1,d=!0,y=2&r?new n:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var v=e[m],b=t[m];if(o)var g=u?o(b,v,m,t,e,a):o(v,b,m,e,t,a);if(void 0!==g){if(g)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(v===e||c(v,e,r,o,a)))return y.push(t)}))){d=!1;break}}else if(v!==b&&!c(v,b,r,o,a)){d=!1;break}}return a.delete(e),a.delete(t),d}},8861:(e,t,r)=>{var n=r(5650),s=r(1623),i=r(6285),o=r(3934),c=r(5894),a=r(9828),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){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||!f(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 h=c;case"[object Set]":var m=1&n;if(h||(h=a),e.size!=t.size&&!m)return!1;var d=p.get(e);if(d)return d==t;n|=2,p.set(e,t);var y=o(h(e),h(t),n,u,f,p);return p.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1182:(e,t,r)=>{var n=r(393),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,c){var a=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var f=l;f--;){var p=u[f];if(!(a?p in t:s.call(t,p)))return!1}var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=!0;c.set(e,t),c.set(t,e);for(var y=a;++f<l;){var v=e[p=u[f]],b=t[p];if(i)var g=a?i(b,v,p,t,e,c):i(v,b,p,e,t,c);if(!(void 0===g?v===b||o(v,b,r,i,c):g)){d=!1;break}y||(y="constructor"==p)}if(d&&!y){var E=e.constructor,j=t.constructor;E==j||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof j&&j instanceof j||(d=!1)}return c.delete(e),c.delete(t),d}},4967:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},393:(e,t,r)=>{var n=r(8244),s=r(7979),i=r(1211);e.exports=function(e){return n(e,i,s)}},4700:(e,t,r)=>{var n=r(9067);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},4715:(e,t,r)=>{var n=r(9624),s=r(155);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},8870:(e,t,r)=>{var n=r(5650),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[c]=r:delete e[c]),s}},7979:(e,t,r)=>{var n=r(9847),s=r(9306),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},8486:(e,t,r)=>{var n=r(3103),s=r(9770),i=r(9413),o=r(4512),c=r(9270),a=r(7379),u=r(4066),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",d=u(n),y=u(s),v=u(i),b=u(o),g=u(c),E=a;(n&&E(new n(new ArrayBuffer(1)))!=m||s&&E(new s)!=l||i&&E(i.resolve())!=f||o&&E(new o)!=p||c&&E(new c)!=h)&&(E=function(e){var t=a(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case d:return m;case y:return l;case v:return f;case b:return p;case g:return h}return t}),e.exports=E},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3305:(e,t,r)=>{var n=r(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:(e,t,r)=>{var n=r(4497),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}},5276:(e,t,r)=>{var n=r(4497),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},5071:(e,t,r)=>{var n=r(4497);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}},9632: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}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:(e,t,r)=>{var n,s=r(1950),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},4882:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2049:(e,t,r)=>{var n=r(7034),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)}},7144:(e,t,r)=>{var n=r(7034);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},7452:(e,t,r)=>{var n=r(7034);e.exports=function(e){return n(this.__data__,e)>-1}},3964:(e,t,r)=>{var n=r(7034);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}},9753:(e,t,r)=>{var n=r(5098),s=r(1386),i=r(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},5681:(e,t,r)=>{var n=r(4700);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},88:(e,t,r)=>{var n=r(4700);e.exports=function(e){return n(this,e).get(e)}},4732:(e,t,r)=>{var n=r(4700);e.exports=function(e){return n(this,e).has(e)}},9068:(e,t,r)=>{var n=r(4700);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}},5894:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},4497:(e,t,r)=>{var n=r(4715)(Object,"create");e.exports=n},8121:(e,t,r)=>{var n=r(3766)(Object.keys,Object);e.exports=n},2306:(e,t,r)=>{e=r.nmd(e);var n=r(4967),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},8942:(e,t,r)=>{var n=r(4967),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();e.exports=i},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},9828:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},4103:(e,t,r)=>{var n=r(1386);e.exports=function(){this.__data__=new n,this.size=0}},1779:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},6638:(e,t,r)=>{var n=r(1386),s=r(9770),i=r(8250);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}},4066: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""}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3283:(e,t,r)=>{var n=r(6027),s=r(547),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},3142:e=>{var t=Array.isArray;e.exports=t},6529:(e,t,r)=>{var n=r(3655),s=r(5387);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},2563:(e,t,r)=>{var n=r(7379),s=r(547);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},5853:(e,t,r)=>{e=r.nmd(e);var n=r(8942),s=r(4772),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},6343:(e,t,r)=>{var n=r(4687);e.exports=function(e,t){return n(e,t)}},3655:(e,t,r)=>{var n=r(7379),s=r(1580);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}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9310:e=>{e.exports=function(e){return null===e}},986:(e,t,r)=>{var n=r(7379),s=r(547);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(e)}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8138:(e,t,r)=>{var n=r(7379),s=r(3142),i=r(547);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},8666:(e,t,r)=>{var n=r(674),s=r(9460),i=r(2306),o=i&&i.isTypedArray,c=o?s(o):n;e.exports=c},1211:(e,t,r)=>{var n=r(358),s=r(195),i=r(6529);e.exports=function(e){return i(e)?n(e):s(e)}},1517: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)}}},9306:e=>{e.exports=function(){return[]}},4772:e=>{e.exports=function(){return!1}},4123:(e,t,r)=>{const n=r(1517);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},2322: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},5735:(e,t,r)=>{const n=r(9310),s=r(8138),i=r(986),o=r(2563),c=r(1580),a=r(394),u=r(7547);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(c,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 a(this)}}a.prototype.Namespace=l,e.exports=l},3311:(e,t,r)=>{const n=r(1517),s=r(4123);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},7547:(e,t,r)=>{const n=r(8631),s=r(3004),i=r(8712),o=r(2536),c=r(2555),a=r(9796),u=r(7309),l=r(5642),f=r(9620),p=r(593),h=r(4123),m=r(3311),d=r(2322);function y(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(y));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=y,h.prototype.refract=y,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:f,RefElement:p,refract:y,ArraySlice:h,ObjectSlice:m,KeyValuePair:d}},9620:(e,t,r)=>{const n=r(8631);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)}}},593:(e,t,r)=>{const n=r(8631);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)}}},8326:(e,t,r)=>{const n=r(5735),s=r(7547);t.g$=n,t.KeyValuePair=r(2322),t.G6=s.ArraySlice,t.ot=s.ObjectSlice,t.Hg=s.Element,t.Om=s.StringElement,t.kT=s.NumberElement,t.bd=s.BooleanElement,t.Os=s.NullElement,t.wE=s.ArrayElement,t.Sh=s.ObjectElement,t.Pr=s.MemberElement,t.sI=s.RefElement,t.Ft=s.LinkElement,t.e=s.refract,r(394),r(3148)},9796:(e,t,r)=>{const n=r(1517),s=r(8631),i=r(4123);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},2555:(e,t,r)=>{const n=r(8631);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},8631:(e,t,r)=>{const n=r(6343),s=r(2322),i=r(4123);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},7309:(e,t,r)=>{const n=r(2322),s=r(8631);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)}}},3004:(e,t,r)=>{const n=r(8631);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")}}},2536:(e,t,r)=>{const n=r(8631);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},5642:(e,t,r)=>{const n=r(1517),s=r(1580),i=r(9796),o=r(7309),c=r(3311);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 c(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)))}}},8712:(e,t,r)=>{const n=r(8631);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}}},3148:(e,t,r)=>{const n=r(394);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]))}))}}},394: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]))}))}}},1212:(e,t,r)=>{e.exports=r(8411)},7202:(e,t,r)=>{"use strict";var n=r(239);e.exports=n},6656:(e,t,r)=>{"use strict";r(484),r(5695),r(6138),r(7447),r(3832);var n=r(8099);e.exports=n.AggregateError},8411:(e,t,r)=>{"use strict";e.exports=r(8337)},8337:(e,t,r)=>{"use strict";r(5442);var n=r(7202);e.exports=n},814:(e,t,r)=>{"use strict";var n=r(2769),s=r(459),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not a function")}},1966:(e,t,r)=>{"use strict";var n=r(2937),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},8137:e=>{"use strict";e.exports=function(){}},7235:(e,t,r)=>{"use strict";var n=r(262),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not an object")}},1005:(e,t,r)=>{"use strict";var n=r(3273),s=r(4574),i=r(8130),o=function(e){return function(t,r,o){var c,a=n(t),u=i(a),l=s(o,u);if(e&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9932:(e,t,r)=>{"use strict";var n=r(6100),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},8407:(e,t,r)=>{"use strict";var n=r(4904),s=r(2769),i=r(9932),o=r(8655)("toStringTag"),c=Object,a="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=c(e),o))?r:a?i(t):"Object"===(n=i(t))&&s(t.callee)?"Arguments":n}},7464:(e,t,r)=>{"use strict";var n=r(701),s=r(5691),i=r(4543),o=r(9989);e.exports=function(e,t,r){for(var c=s(t),a=o.f,u=i.f,l=0;l<c.length;l++){var f=c[l];n(e,f)||r&&n(r,f)||a(e,f,u(t,f))}}},2871:(e,t,r)=>{"use strict";var n=r(1203);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},877:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},3999:(e,t,r)=>{"use strict";var n=r(5024),s=r(9989),i=r(480);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},480:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3508:(e,t,r)=>{"use strict";var n=r(3999);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},7525:(e,t,r)=>{"use strict";var n=r(1063),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}},5024:(e,t,r)=>{"use strict";var n=r(1203);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(e,t,r)=>{"use strict";var n=r(1063),s=r(262),i=n.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},1100: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}},7868:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4432:(e,t,r)=>{"use strict";var n,s,i=r(1063),o=r(7868),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.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},9683:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3885:(e,t,r)=>{"use strict";var n=r(6100),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},4279:(e,t,r)=>{"use strict";var n=r(3999),s=r(3885),i=r(5791),o=Error.captureStackTrace;e.exports=function(e,t,r,c){i&&(o?o(e,t):n(e,"stack",s(r,c)))}},5791:(e,t,r)=>{"use strict";var n=r(1203),s=r(480);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},9098:(e,t,r)=>{"use strict";var n=r(1063),s=r(7013),i=r(9344),o=r(2769),c=r(4543).f,a=r(8696),u=r(8099),l=r(4572),f=r(3999),p=r(701),h=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,m,d,y,v,b,g,E,j=e.target,x=e.global,w=e.stat,O=e.proto,S=x?n:w?n[j]:n[j]&&n[j].prototype,A=x?u:u[j]||f(u,j,{})[j],k=A.prototype;for(d in t)s=!(r=a(x?d:j+(w?".":"#")+d,e.forced))&&S&&p(S,d),v=A[d],s&&(b=e.dontCallGetSet?(E=c(S,d))&&E.value:S[d]),y=s&&b?b:t[d],(r||O||typeof v!=typeof y)&&(g=e.bind&&s?l(y,n):e.wrap&&s?h(y):O&&o(y)?i(y):y,(e.sham||y&&y.sham||v&&v.sham)&&f(g,"sham",!0),f(A,d,g),O&&(p(u,m=j+"Prototype")||f(u,m,{}),f(u[m],d,y),e.real&&k&&(r||!k[d])&&f(k,d,y)))}},1203:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7013:(e,t,r)=>{"use strict";var n=r(1780),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)})},4572:(e,t,r)=>{"use strict";var n=r(9344),s=r(814),i=r(1780),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)}}},1780:(e,t,r)=>{"use strict";var n=r(1203);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4713:(e,t,r)=>{"use strict";var n=r(1780),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},3410:(e,t,r)=>{"use strict";var n=r(5024),s=r(701),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},3574:(e,t,r)=>{"use strict";var n=r(6100),s=r(814);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},9344:(e,t,r)=>{"use strict";var n=r(9932),s=r(6100);e.exports=function(e){if("Function"===n(e))return s(e)}},6100:(e,t,r)=>{"use strict";var n=r(1780),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)}}},1003:(e,t,r)=>{"use strict";var n=r(8099),s=r(1063),i=r(2769),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]}},967:(e,t,r)=>{"use strict";var n=r(8407),s=r(4674),i=r(3057),o=r(6625),c=r(8655)("iterator");e.exports=function(e){if(!i(e))return s(e,c)||s(e,"@@iterator")||o[n(e)]}},1613:(e,t,r)=>{"use strict";var n=r(4713),s=r(814),i=r(7235),o=r(459),c=r(967),a=TypeError;e.exports=function(e,t){var r=arguments.length<2?c(e):t;if(s(r))return i(n(r,e));throw new a(o(e)+" is not iterable")}},4674:(e,t,r)=>{"use strict";var n=r(814),s=r(3057);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},1063: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")()},701:(e,t,r)=>{"use strict";var n=r(6100),s=r(2137),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},5241:e=>{"use strict";e.exports={}},3489:(e,t,r)=>{"use strict";var n=r(1003);e.exports=n("document","documentElement")},9665:(e,t,r)=>{"use strict";var n=r(5024),s=r(1203),i=r(9619);e.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(e,t,r)=>{"use strict";var n=r(6100),s=r(1203),i=r(9932),o=Object,c=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},3507:(e,t,r)=>{"use strict";var n=r(2769),s=r(262),i=r(3491);e.exports=function(e,t,r){var o,c;return i&&n(o=t.constructor)&&o!==r&&s(c=o.prototype)&&c!==r.prototype&&i(e,c),e}},8148:(e,t,r)=>{"use strict";var n=r(262),s=r(3999);e.exports=function(e,t){n(t)&&"cause"in t&&s(e,"cause",t.cause)}},8417:(e,t,r)=>{"use strict";var n,s,i,o=r(1314),c=r(1063),a=r(262),u=r(3999),l=r(701),f=r(3753),p=r(4275),h=r(5241),m="Object already initialized",d=c.TypeError,y=c.WeakMap;if(o||f.state){var v=f.state||(f.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new d(m);return t.facade=e,v.set(e,t),t},s=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var b=p("state");h[b]=!0,n=function(e,t){if(l(e,b))throw new d(m);return t.facade=e,u(e,b,t),t},s=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}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(!a(t)||(r=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return r}}}},2877:(e,t,r)=>{"use strict";var n=r(8655),s=r(6625),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},2769:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8696:(e,t,r)=>{"use strict";var n=r(1203),s=r(2769),i=/#|\.prototype\./,o=function(e,t){var r=a[c(e)];return r===l||r!==u&&(s(t)?n(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},3057:e=>{"use strict";e.exports=function(e){return null==e}},262:(e,t,r)=>{"use strict";var n=r(2769);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},2937:(e,t,r)=>{"use strict";var n=r(262);e.exports=function(e){return n(e)||null===e}},4871:e=>{"use strict";e.exports=!0},6281:(e,t,r)=>{"use strict";var n=r(1003),s=r(2769),i=r(4317),o=r(7460),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,c(e))}},208:(e,t,r)=>{"use strict";var n=r(4572),s=r(4713),i=r(7235),o=r(459),c=r(2877),a=r(8130),u=r(4317),l=r(1613),f=r(967),p=r(1743),h=TypeError,m=function(e,t){this.stopped=e,this.result=t},d=m.prototype;e.exports=function(e,t,r){var y,v,b,g,E,j,x,w=r&&r.that,O=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),P=n(t,w),_=function(e){return y&&p(y,"normal",e),new m(!0,e)},M=function(e){return O?(i(e),k?P(e[0],e[1],_):P(e[0],e[1])):k?P(e,_):P(e)};if(S)y=e.iterator;else if(A)y=e;else{if(!(v=f(e)))throw new h(o(e)+" is not iterable");if(c(v)){for(b=0,g=a(e);g>b;b++)if((E=M(e[b]))&&u(d,E))return E;return new m(!1)}y=l(e,v)}for(j=S?e.next:y.next;!(x=s(j,y)).done;){try{E=M(x.value)}catch(e){p(y,"throw",e)}if("object"==typeof E&&E&&u(d,E))return E}return new m(!1)}},1743:(e,t,r)=>{"use strict";var n=r(4713),s=r(7235),i=r(4674);e.exports=function(e,t,r){var o,c;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw r;if(c)throw o;return s(o),r}},1926:(e,t,r)=>{"use strict";var n=r(2621).IteratorPrototype,s=r(5780),i=r(480),o=r(1811),c=r(6625),a=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),c[l]=a,e}},164:(e,t,r)=>{"use strict";var n=r(9098),s=r(4713),i=r(4871),o=r(3410),c=r(2769),a=r(1926),u=r(3671),l=r(3491),f=r(1811),p=r(3999),h=r(3508),m=r(8655),d=r(6625),y=r(2621),v=o.PROPER,b=o.CONFIGURABLE,g=y.IteratorPrototype,E=y.BUGGY_SAFARI_ITERATORS,j=m("iterator"),x="keys",w="values",O="entries",S=function(){return this};e.exports=function(e,t,r,o,m,y,A){a(r,t,o);var k,P,_,M=function(e){if(e===m&&C)return C;if(!E&&e&&e in R)return R[e];switch(e){case x:case w:case O:return function(){return new r(this,e)}}return function(){return new r(this)}},N=t+" Iterator",T=!1,R=e.prototype,F=R[j]||R["@@iterator"]||m&&R[m],C=!E&&F||M(m),V="Array"===t&&R.entries||F;if(V&&(k=u(V.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===g||(l?l(k,g):c(k[j])||h(k,j,S)),f(k,N,!0,!0),i&&(d[N]=S)),v&&m===w&&F&&F.name!==w&&(!i&&b?p(R,"name",w):(T=!0,C=function(){return s(F,this)})),m)if(P={values:M(w),keys:y?C:M(x),entries:M(O)},A)for(_ in P)(E||T||!(_ in R))&&h(R,_,P[_]);else n({target:t,proto:!0,forced:E||T},P);return i&&!A||R[j]===C||h(R,j,C,{name:m}),d[t]=C,P}},2621:(e,t,r)=>{"use strict";var n,s,i,o=r(1203),c=r(2769),a=r(262),u=r(5780),l=r(3671),f=r(3508),p=r(8655),h=r(4871),m=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):d=!0),!a(n)||o((function(){var e={};return n[m].call(e)!==e}))?n={}:h&&(n=u(n)),c(n[m])||f(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},6625:e=>{"use strict";e.exports={}},8130:(e,t,r)=>{"use strict";var n=r(8146);e.exports=function(e){return n(e.length)}},5777: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)}},4879:(e,t,r)=>{"use strict";var n=r(1139);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},5780:(e,t,r)=>{"use strict";var n,s=r(7235),i=r(7389),o=r(9683),c=r(5241),a=r(3489),u=r(9619),l=r(4275),f="prototype",p="script",h=l("IE_PROTO"),m=function(){},d=function(e){return"<"+p+">"+e+"</"+p+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;v="undefined"!=typeof document?document.domain&&n?y(n):(t=u("iframe"),r="java"+p+":",t.style.display="none",a.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(n);for(var s=o.length;s--;)delete v[f][o[s]];return v()};c[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[f]=s(e),r=new m,m[f]=null,r[h]=e):r=v(),void 0===t?r:i.f(r,t)}},7389:(e,t,r)=>{"use strict";var n=r(5024),s=r(1330),i=r(9989),o=r(7235),c=r(3273),a=r(8364);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,r=s[l++],n[r]);return e}},9989:(e,t,r)=>{"use strict";var n=r(5024),s=r(9665),i=r(1330),o=r(7235),c=r(5341),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=n?i?function(e,t,r){if(o(e),t=c(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=c(t),o(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},4543:(e,t,r)=>{"use strict";var n=r(5024),s=r(4713),i=r(7161),o=r(480),c=r(3273),a=r(5341),u=r(701),l=r(9665),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=c(e),t=a(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},5116:(e,t,r)=>{"use strict";var n=r(8600),s=r(9683).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},7313:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},3671:(e,t,r)=>{"use strict";var n=r(701),s=r(2769),i=r(2137),o=r(4275),c=r(2871),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(n(t,a))return t[a];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},4317:(e,t,r)=>{"use strict";var n=r(6100);e.exports=n({}.isPrototypeOf)},8600:(e,t,r)=>{"use strict";var n=r(6100),s=r(701),i=r(3273),o=r(1005).indexOf,c=r(5241),a=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!s(c,r)&&s(n,r)&&a(l,r);for(;t.length>u;)s(n,r=t[u++])&&(~o(l,r)||a(l,r));return l}},8364:(e,t,r)=>{"use strict";var n=r(8600),s=r(9683);e.exports=Object.keys||function(e){return n(e,s)}},7161:(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},3491:(e,t,r)=>{"use strict";var n=r(3574),s=r(7235),i=r(1966);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)},9559:(e,t,r)=>{"use strict";var n=r(4904),s=r(8407);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},9258:(e,t,r)=>{"use strict";var n=r(4713),s=r(2769),i=r(262),o=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&s(r=e.toString)&&!i(c=n(r,e)))return c;if(s(r=e.valueOf)&&!i(c=n(r,e)))return c;if("string"!==t&&s(r=e.toString)&&!i(c=n(r,e)))return c;throw new o("Can't convert object to primitive value")}},5691:(e,t,r)=>{"use strict";var n=r(1003),s=r(6100),i=r(5116),o=r(7313),c=r(7235),a=s([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),r=o.f;return r?a(t,r(e)):t}},8099:e=>{"use strict";e.exports={}},5516:(e,t,r)=>{"use strict";var n=r(9989).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}})}},5426:(e,t,r)=>{"use strict";var n=r(3057),s=TypeError;e.exports=function(e){if(n(e))throw new s("Can't call method on "+e);return e}},1811:(e,t,r)=>{"use strict";var n=r(4904),s=r(9989).f,i=r(3999),o=r(701),c=r(9559),a=r(8655)("toStringTag");e.exports=function(e,t,r,u){var l=r?e:e&&e.prototype;l&&(o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!n&&i(l,"toString",c))}},4275:(e,t,r)=>{"use strict";var n=r(8141),s=r(1268),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},3753:(e,t,r)=>{"use strict";var n=r(1063),s=r(7525),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},8141:(e,t,r)=>{"use strict";var n=r(4871),s=r(3753);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5571:(e,t,r)=>{"use strict";var n=r(6100),s=r(9903),i=r(1139),o=r(5426),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,f=i(o(t)),p=s(r),h=f.length;return p<0||p>=h?e?"":void 0:(n=a(f,p))<55296||n>56319||p+1===h||(l=a(f,p+1))<56320||l>57343?e?c(f,p):n:e?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},4603:(e,t,r)=>{"use strict";var n=r(4432),s=r(1203),i=r(1063).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(e,t,r)=>{"use strict";var n=r(9903),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)}},3273:(e,t,r)=>{"use strict";var n=r(1395),s=r(5426);e.exports=function(e){return n(s(e))}},9903:(e,t,r)=>{"use strict";var n=r(5777);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8146:(e,t,r)=>{"use strict";var n=r(9903),s=Math.min;e.exports=function(e){var t=n(e);return t>0?s(t,9007199254740991):0}},2137:(e,t,r)=>{"use strict";var n=r(5426),s=Object;e.exports=function(e){return s(n(e))}},493:(e,t,r)=>{"use strict";var n=r(4713),s=r(262),i=r(6281),o=r(4674),c=r(9258),a=r(8655),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,a=o(e,l);if(a){if(void 0===t&&(t="default"),r=n(a,e,t),!s(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},5341:(e,t,r)=>{"use strict";var n=r(493),s=r(6281);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},4904:(e,t,r)=>{"use strict";var n={};n[r(8655)("toStringTag")]="z",e.exports="[object z]"===String(n)},1139:(e,t,r)=>{"use strict";var n=r(8407),s=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},459:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1268:(e,t,r)=>{"use strict";var n=r(6100),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},7460:(e,t,r)=>{"use strict";var n=r(4603);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(e,t,r)=>{"use strict";var n=r(5024),s=r(1203);e.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(e,t,r)=>{"use strict";var n=r(1063),s=r(2769),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8655:(e,t,r)=>{"use strict";var n=r(1063),s=r(8141),i=r(701),o=r(1268),c=r(4603),a=r(7460),u=n.Symbol,l=s("wks"),f=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:f("Symbol."+e)),l[e]}},6453:(e,t,r)=>{"use strict";var n=r(1003),s=r(701),i=r(3999),o=r(4317),c=r(3491),a=r(7464),u=r(5516),l=r(3507),f=r(4879),p=r(8148),h=r(4279),m=r(5024),d=r(4871);e.exports=function(e,t,r,y){var v="stackTraceLimit",b=y?2:1,g=e.split("."),E=g[g.length-1],j=n.apply(null,g);if(j){var x=j.prototype;if(!d&&s(x,"cause")&&delete x.cause,!r)return j;var w=n("Error"),O=t((function(e,t){var r=f(y?t:e,void 0),n=y?new j(e):new j;return void 0!==r&&i(n,"message",r),h(n,O,n.stack,2),this&&o(x,this)&&l(n,this,O),arguments.length>b&&p(n,arguments[b]),n}));if(O.prototype=x,"Error"!==E?c?c(O,w):a(O,w,{name:!0}):m&&v in j&&(u(O,j,v),u(O,j,"prepareStackTrace")),a(O,j),!d)try{x.name!==E&&i(x,"name",E),x.constructor=O}catch(e){}return O}}},6138:(e,t,r)=>{"use strict";var n=r(9098),s=r(1003),i=r(7013),o=r(1203),c=r(6453),a="AggregateError",u=s(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,r){return i(e,this,arguments)}}),l,!0)})},3085:(e,t,r)=>{"use strict";var n=r(9098),s=r(4317),i=r(3671),o=r(3491),c=r(7464),a=r(5780),u=r(3999),l=r(480),f=r(8148),p=r(4279),h=r(208),m=r(4879),d=r(8655)("toStringTag"),y=Error,v=[].push,b=function(e,t){var r,n=s(g,this);o?r=o(new y,n?i(this):g):(r=n?this:a(g),u(r,d,"Error")),void 0!==t&&u(r,"message",m(t)),p(r,b,r.stack,1),arguments.length>2&&f(r,arguments[2]);var c=[];return h(e,v,{that:c}),u(r,"errors",c),r};o?o(b,y):c(b,y,{name:!0});var g=b.prototype=a(y.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},5695:(e,t,r)=>{"use strict";r(3085)},7447:(e,t,r)=>{"use strict";var n=r(3273),s=r(8137),i=r(6625),o=r(8417),c=r(9989).f,a=r(164),u=r(877),l=r(4871),f=r(5024),p="Array Iterator",h=o.set,m=o.getterFor(p);e.exports=a(Array,"Array",(function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=m(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 d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==d.name)try{c(d,"name",{value:"values"})}catch(e){}},484:(e,t,r)=>{"use strict";var n=r(9098),s=r(1063),i=r(7013),o=r(6453),c="WebAssembly",a=s[c],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)},f=function(e,t){if(a&&a[e]){var r={};r[e]=o(c+"."+e,t,u),n({target:c,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)}})),f("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),f("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),f("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},3832:(e,t,r)=>{"use strict";var n=r(5571).charAt,s=r(1139),i=r(8417),o=r(164),c=r(877),a="String Iterator",u=i.set,l=i.getterFor(a);o(String,"String",(function(e){u(this,{type:a,string:s(e),index:0})}),(function(){var e,t=l(this),r=t.string,s=t.index;return s>=r.length?c(void 0,!0):(e=n(r,s),t.index+=e.length,c(e,!1))}))},5442:(e,t,r)=>{"use strict";r(5695)},85:(e,t,r)=>{"use strict";r(7447);var n=r(1100),s=r(1063),i=r(1811),o=r(6625);for(var c in n)i(s[c],c),o[c]=o.Array},239:(e,t,r)=>{"use strict";r(5442);var n=r(6656);r(85),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 n={};return(()=>{"use strict";r.r(n),r.d(n,{AlternatingVisitor:()=>Vs,FallbackVisitor:()=>vn,FixedFieldsVisitor:()=>Dn,JSONReferenceElement:()=>Fr,JSONSchemaDraft6MediaTypes:()=>Ne,JSONSchemaElement:()=>Zs,LinkDescriptionElement:()=>Qs,MapVisitor:()=>ts,MediaElement:()=>Vr,ParentSchemaAwareVisitor:()=>qn,PatternedFieldsVisitor:()=>es,SpecificationVisitor:()=>Ln,Visitor:()=>yn,createRefractor:()=>Si,default:()=>ei,getNodeType:()=>ti,isArrayElement:()=>ue,isBooleanElement:()=>ce,isElement:()=>ne,isJSONReferenceElement:()=>Gs,isJSONReferenceLikeElement:()=>zn,isJSONSchemaElement:()=>ji,isLinkDescriptionElement:()=>xi,isLinkElement:()=>fe,isMediaElement:()=>Us,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isRefElement:()=>pe,isStringElement:()=>se,keyMap:()=>ri,mediaTypes:()=>Te,refract:()=>Ai,refractorPluginReplaceEmptyElement:()=>ii,specificationObj:()=>Ei});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>be,includesClasses:()=>Ee,includesSymbols:()=>ge,isAnnotationElement:()=>he,isArrayElement:()=>ue,isBooleanElement:()=>ce,isCommentElement:()=>me,isElement:()=>ne,isLinkElement:()=>fe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isParseResultElement:()=>de,isPrimitiveElement:()=>ve,isRefElement:()=>pe,isSourceMapElement:()=>ye,isStringElement:()=>se});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>Gs,isJSONSchemaElement:()=>zs,isLinkDescriptionElement:()=>Ks,isMediaElement:()=>Us});var s={};r.r(s),r.d(s,{isJSONReferenceElement:()=>Gs,isJSONSchemaElement:()=>ji,isLinkDescriptionElement:()=>xi,isMediaElement:()=>Us});var i=r(8326);const o={"@@functional/placeholder":!0};function c(e){return e===o}function a(e){return function t(r){return 0===arguments.length||c(r)?t:e.apply(this,arguments)}}function u(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return c(r)?t:a((function(t){return e(r,t)}));default:return c(r)&&c(n)?t:c(r)?a((function(t){return e(t,n)})):c(n)?a((function(t){return e(r,t)})):e(r,n)}}}const l=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function f(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!l(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){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const h=function(){return this.xf["@@transducer/init"]()},m=function(e){return this.xf["@@transducer/result"](e)};var d=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=h,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=p(this.xf["@@transducer/step"](e,!1))),e},e}();function y(e){return function(t){return new d(e,t)}}const v=u(f(["all"],y,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function b(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,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,c){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,c,a,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 g(e,t,r){return function(){for(var n=[],s=0,i=e,o=0,a=!1;o<t.length||s<arguments.length;){var u;o<t.length&&(!c(t[o])||s>=arguments.length)?u=t[o]:(u=arguments[s],s+=1),n[o]=u,c(u)?a=!0:i-=1,o+=1}return!a&&i<=0?r.apply(this,n):b(Math.max(0,i),g(e,n,r))}}const E=u((function(e,t){return 1===e?a(t):b(e,g(e,[],t))}));const j=a((function(e){return E(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}));function x(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function w(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function O(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const S="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var A=Object.prototype.toString;const k=function(){return"[object Arguments]"===A.call(arguments)?function(e){return"[object Arguments]"===A.call(e)}:function(e){return O("callee",e)}}();var P=!{toString:null}.propertyIsEnumerable("toString"),_=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],M=function(){return arguments.propertyIsEnumerable("length")}(),N=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1},T="function"!=typeof Object.keys||M?a((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=M&&k(e);for(t in e)!O(t,e)||s&&"length"===t||(n[n.length]=t);if(P)for(r=_.length-1;r>=0;)O(t=_[r],e)&&!N(n,t)&&(n[n.length]=t),r-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=T;const F=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function C(e,t,r,n){var s=x(e);function i(e,t){return V(e,t,r.slice(),n.slice())}return!w((function(e,t){return!w(i,t,e)}),x(t),s)}function V(e,t,r,n){if(S(e,t))return!0;var s,i,o=F(e);if(o!==F(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||!S(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!S(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=r.length-1;c>=0;){if(r[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&C(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&C(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 a=R(e);if(a.length!==R(t).length)return!1;var u=r.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var f=a[c];if(!O(f,t)||!V(t[f],e[f],u,l))return!1;c-=1}return!0}const I=u((function(e,t){return V(e,t,[],[])}));function $(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(I(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}const L=j(u($));class D extends i.Om{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 J=D;class B extends i.Om{constructor(e,t,r){super(e,t,r),this.element="comment"}}const q=B;const z=a((function(e){return function(){return e}}));const G=z(void 0);const U=I(G());class K extends i.wE{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(U(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const W=K;class H extends i.wE{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 i.wE([e.start.row,e.start.column,e.start.char]),r=new i.wE([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const Y=H,X=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Z=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Q=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),ee=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof i.wE)&&t.classes.includes(e),te=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,re=e=>e({hasMethod:X,hasBasicElementProps:Z,primitiveEq:Q,isElementType:te,hasClass:ee}),ne=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.Hg||e(r)&&t(void 0,r))),se=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.Om||e(r)&&t("string",r))),ie=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.kT||e(r)&&t("number",r))),oe=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.Os||e(r)&&t("null",r))),ce=re((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.bd||e(r)&&t("boolean",r))),ae=re((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof i.Sh||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),ue=re((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof i.wE&&!(n instanceof i.Sh)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),le=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof i.Pr||e(n)&&t("member",n)&&r(void 0,n))),fe=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof i.Ft||e(n)&&t("link",n)&&r(void 0,n))),pe=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof i.sI||e(n)&&t("ref",n)&&r(void 0,n))),he=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof J||e(n)&&t("annotation",n)&&r("array",n))),me=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof q||e(n)&&t("comment",n)&&r("string",n))),de=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof W||e(n)&&t("parseResult",n)&&r("array",n))),ye=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Y||e(n)&&t("sourceMap",n)&&r("array",n))),ve=e=>te("object",e)||te("array",e)||te("boolean",e)||te("number",e)||te("string",e)||te("null",e)||te("member",e),be=e=>ye(e.meta.get("sourceMap")),ge=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!ue(r)&&v(L(r.toValue()),e)},Ee=(e,t)=>0===e.length||v(L(t.classes.toValue()),e);function je(e){return"[object String]"===Object.prototype.toString.call(e)}function xe(e,t){var r=e<0?t.length+e:e;return je(t)?t.charAt(r):t[r]}const we=a((function(e){return xe(-1,e)}));var Oe=r(1212);const Se=class extends Oe{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 Ae extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Se,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 ke=Ae;const Pe=class extends ke{};const _e=class extends Pe{};const Me=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new _e("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new _e("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new _e("latest method in MediaTypes class is not yet implemented.")}};class Ne extends Me{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-06",t="generic"){const r="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return we(this.filterByFormat(e))}}const Te=new Ne("application/schema;version=draft-06","application/schema+json;version=draft-06","application/schema+yaml;version=draft-06");function Re(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return c(r)?t:u((function(t,n){return e(r,t,n)}));case 2:return c(r)&&c(n)?t:c(r)?u((function(t,r){return e(t,n,r)})):c(n)?u((function(t,n){return e(r,t,n)})):a((function(t){return e(r,n,t)}));default:return c(r)&&c(n)&&c(s)?t:c(r)&&c(n)?u((function(t,r){return e(t,r,s)})):c(r)&&c(s)?u((function(t,r){return e(t,n,r)})):c(n)&&c(s)?u((function(t,n){return e(r,t,n)})):c(r)?a((function(t){return e(t,n,s)})):c(n)?a((function(t){return e(r,t,s)})):c(s)?a((function(t){return e(r,n,t)})):e(r,n,s)}}}function Fe(e){return"[object Object]"===Object.prototype.toString.call(e)}const Ce=Re((function(e,t,r){var n,s={};for(n in r=r||{},t=t||{})O(n,t)&&(s[n]=O(n,r)?e(n,t[n],r[n]):t[n]);for(n in r)O(n,r)&&!O(n,s)&&(s[n]=r[n]);return s}));const Ve=Re((function e(t,r,n){return Ce((function(r,n,s){return Fe(n)&&Fe(s)?e(t,n,s):t(r,n,s)}),r,n)}));const Ie=u((function(e,t){return Ve((function(e,t,r){return r}),e,t)}));const $e=u((function(e,t){return null==t||t!=t?e:t})),Le=Number.isInteger||function(e){return e<<0===e};const De=u((function(e,t){if(null!=t)return Le(e)?xe(e,t):t[e]}));const Je=Re((function(e,t,r){return $e(e,De(t,r))}));function Be(e,t){for(var r=t,n=0;n<e.length;n+=1){if(null==r)return;var s=e[n];r=Le(s)?xe(s,r):r[s]}return r}const qe=u(Be);function ze(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return l(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Ge=Re(ze("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const Ue=Ge(0,-1);const Ke=u((function(e,t){return b(e.length,(function(){return e.apply(t,arguments)}))}));const We=u((function(e,t){return e.apply(this,t)}));function He(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}const Ye=a((function(e){return!!l(e)||!!e&&("object"==typeof e&&(!je(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var Xe="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ze(e,t,r){return function(n,s,i){if(Ye(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[Xe])return r(n,s,i[Xe]());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 Qe(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function et(e,t,r,n){return r[n](e,t)}const tt=Ze(He,et,Qe);function rt(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}var nt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const st=u(f(["fantasy-land/map","map"],(function(e){return function(t){return new nt(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return E(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return He((function(r,n){return r[n]=e(t[n]),r}),{},R(t));default:return rt(e,t)}})));const it=u((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(r){return e(r)(t(r))}:tt((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,st(r,t))}),[],e)}));const ot=u((function(e,t){var r=E(e,t);return E(e,(function(){return He(it,st(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const ct=a((function(e){return ot(e.length,e)}));const at=ct(a((function(e){return!e})));function ut(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 lt=function(e){return(e<10?"0":"")+e};const ft="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+lt(e.getUTCMonth()+1)+"-"+lt(e.getUTCDate())+"T"+lt(e.getUTCHours())+":"+lt(e.getUTCMinutes())+":"+lt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var pt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function ht(e){return function(t){return new pt(e,t)}}const mt=u(f(["fantasy-land/filter","filter"],ht,(function(e,t){return Fe(t)?He((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},R(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 dt=u((function(e,t){return mt((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function yt(e,t){var r=function(r){var n=t.concat([e]);return $(r,n)?"<Circular>":yt(r,n)},n=function(e,t){return rt((function(t){return ut(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+rt(r,e).join(", ")+"))";case"[object Array]":return"["+rt(r,e).concat(n(e,dt((function(e){return/^\d+$/.test(e)}),R(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):ut(ft(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())+")":ut(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,R(e)).join(", ")+"}"}}const vt=a((function(e){return yt(e,[])}));const bt=u((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=vt(e),o=r(i,vt(t));return void 0!==o&&o===i?e:t}));const gt=u((function(e,t){return st(De(e),t)}));function Et(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)}function jt(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 xt(e,t,r,n){return e["@@transducer/result"](r[n](Ke(e["@@transducer/step"],e),t))}const wt=Ze(Et,xt,jt);var Ot=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 St=Re((function(e,t,r){return wt("function"==typeof e?new Ot(e):e,t,r)}));const At=a((function(e){return E(St(bt,0,gt("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function kt(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const Pt=a(ze("tail",Ge(1,1/0)));function _t(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return b(arguments[0].length,St(kt,arguments[0],Pt(arguments)))}var Mt=function(e,t){switch(arguments.length){case 0:return Mt;case 1:return function t(r){return 0===arguments.length?t:S(e,r)};default:return S(e,t)}};const Nt=Mt;const Tt=E(1,_t(F,Nt("GeneratorFunction")));const Rt=E(1,_t(F,Nt("AsyncFunction")));const Ft=At([_t(F,Nt("Function")),Tt,Rt]);const Ct=at(Ft);function Vt(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const It=u((function(e,t){return e&&t}));const $t=u((function(e,t){return Vt(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:ct(It)(e,t)}));var Lt=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():l(e)?[]:je(e)?"":Fe(e)?{}:k(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Dt=Lt;const Jt=a((function(e){return null!=e&&I(e,Dt(e))}));const Bt=E(1,Ft(Array.isArray)?Array.isArray:_t(F,Nt("Array")));const qt=$t(Bt,Jt);const zt=E(3,(function(e,t,r){var n=qe(e,r),s=qe(Ue(e),r);if(!Ct(n)&&!qt(e)){var i=Ke(n,s);return We(i,t)}}));const Gt=Re((function(e,t,r){return e(Be(t,r))}));const Ut=I(null);const Kt=at(Ut);function Wt(e){return Wt="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},Wt(e)}const Ht=function(e){return"object"===Wt(e)};const Yt=E(1,$t(Kt,Ht));var Xt=_t(F,Nt("Object")),Zt=_t(vt,I(vt(Object))),Qt=Gt($t(Ft,Zt),["constructor"]);const er=E(1,(function(e){if(!Yt(e)||!Xt(e))return!1;var t=Object.getPrototypeOf(e);return!!Ut(t)||Qt(t)}));class tr extends i.g${constructor(){super(),this.register("annotation",J),this.register("comment",q),this.register("parseResult",W),this.register("sourceMap",Y)}}const rr=new tr,nr=e=>{const t=new tr;return er(e)&&t.use(e),t},sr=rr,ir=()=>({predicates:{...e},namespace:sr});const or=E(1,_t(F,Nt("String")));const cr=class extends ke{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...r}=t;Object.assign(this,r)}}},ar=(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},ur={},lr=e=>null==e?void 0:e.type,fr=e=>"string"==typeof lr(e),pr=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),hr=(e,{visitFnGetter:t=ar,nodeTypeGetter:r=lr,breakSymbol:n=ur,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{enter(u,l,f,p,h,m){let d=u,y=!1;const v={...m,replaceWith(e,t){m.replaceWith(e,t),d=e}};for(let u=0;u<e.length;u+=1)if(a[u]===c){const c=t(e[u],r(d),!1);if("function"==typeof c){const t=c.call(e[u],d,l,f,p,h,v);if("function"==typeof(null==t?void 0:t.then))throw new cr("Async visitor not supported in sync mode",{visitor:e[u],visitFn:c});if(t===i)a[u]=d;else if(t===n)a[u]=n;else{if(t===s)return t;if(void 0!==t){if(!o)return t;d=t,y=!0}}}}return y?d:void 0},leave(s,o,u,l,f,p){let h=s;const m={...p,replaceWith(e,t){p.replaceWith(e,t),h=e}};for(let s=0;s<e.length;s+=1)if(a[s]===c){const c=t(e[s],r(h),!0);if("function"==typeof c){const t=c.call(e[s],h,o,u,l,f,m);if("function"==typeof(null==t?void 0:t.then))throw new cr("Async visitor not supported in sync mode",{visitor:e[s],visitFn:c});if(t===n)a[s]=n;else if(void 0!==t&&t!==i)return t}}else a[s]===h&&(a[s]=c)}}};hr[Symbol.for("nodejs.util.promisify.custom")]=(e,{visitFnGetter:t=ar,nodeTypeGetter:r=lr,breakSymbol:n=ur,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{async enter(u,l,f,p,h,m){let d=u,y=!1;const v={...m,replaceWith(e,t){m.replaceWith(e,t),d=e}};for(let u=0;u<e.length;u+=1)if(a[u]===c){const c=t(e[u],r(d),!1);if("function"==typeof c){const t=await c.call(e[u],d,l,f,p,h,v);if(t===i)a[u]=d;else if(t===n)a[u]=n;else{if(t===s)return t;if(void 0!==t){if(!o)return t;d=t,y=!0}}}}return y?d:void 0},async leave(s,o,u,l,f,p){let h=s;const m={...p,replaceWith(e,t){p.replaceWith(e,t),h=e}};for(let s=0;s<e.length;s+=1)if(a[s]===c){const c=t(e[s],r(h),!0);if("function"==typeof c){const t=await c.call(e[s],h,o,u,l,f,m);if(t===n)a[s]=n;else if(void 0!==t&&t!==i)return t}}else a[s]===h&&(a[s]=c)}}};const mr=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=ar,nodeTypeGetter:a=lr,nodePredicate:u=fr,nodeCloneFn:l=pr,detectCycles:f=!0}={})=>{const p=r||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const E=[],j=[];do{v+=1;const e=v===y.length;let r;const O=e&&0!==b.length;if(e){if(r=0===j.length?void 0:E.pop(),g=m,m=j.pop(),O)if(d){g=g.slice();let e=0;for(const[t,r]of b){const n=t-e;r===i?(g.splice(n,1),e+=1):g[n]=r}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=d?v:y[v],g=m[r],g===i||void 0===g)continue;E.push(r)}let S;if(!Array.isArray(g)){var x;if(!u(g))throw new cr(`Invalid AST Node: ${String(g)}`,{node:g});if(f&&j.includes(g)){E.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;const s={replaceWith(t,n){"function"==typeof n?n(t,g,r,m,E,j):m&&(m[r]=t),e||(g=t)}};S=i.call(t,g,r,m,E,j,s)}if("function"==typeof(null===(x=S)||void 0===x?void 0:x.then))throw new cr("Async visitor not supported in sync mode",{visitor:t,visitFn:i});if(S===s)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(b.push([r,S]),!e)){if(!u(S)){E.pop();continue}g=S}}var w;if(void 0===S&&O&&b.push([r,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(w=p[a(g)])&&void 0!==w?w:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};mr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=ar,nodeTypeGetter:a=lr,nodePredicate:u=fr,nodeCloneFn:l=pr,detectCycles:f=!0}={})=>{const p=r||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const E=[],j=[];do{v+=1;const e=v===y.length;let r;const w=e&&0!==b.length;if(e){if(r=0===j.length?void 0:E.pop(),g=m,m=j.pop(),w)if(d){g=g.slice();let e=0;for(const[t,r]of b){const n=t-e;r===i?(g.splice(n,1),e+=1):g[n]=r}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=d?v:y[v],g=m[r],g===i||void 0===g)continue;E.push(r)}let O;if(!Array.isArray(g)){if(!u(g))throw new cr(`Invalid AST Node: ${String(g)}`,{node:g});if(f&&j.includes(g)){E.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;const s={replaceWith(t,n){"function"==typeof n?n(t,g,r,m,E,j):m&&(m[r]=t),e||(g=t)}};O=await i.call(t,g,r,m,E,j,s)}if(O===s)break;if(O===o){if(!e){E.pop();continue}}else if(void 0!==O&&(b.push([r,O]),!e)){if(!u(O)){E.pop();continue}g=O}}var x;if(void 0===O&&w&&b.push([r,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(x=p[a(g)])&&void 0!==x?x:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};const dr=class extends cr{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const yr=class extends dr{};const vr=class extends dr{},br=(e,t={})=>{const{visited:r=new WeakMap}=t,n={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof i.KeyValuePair){const{key:t,value:s}=e,o=ne(t)?br(t,n):t,c=ne(s)?br(s,n):s,a=new i.KeyValuePair(o,c);return r.set(e,a),a}if(e instanceof i.ot){const t=e=>br(e,n),s=[...e].map(t),o=new i.ot(s);return r.set(e,o),o}if(e instanceof i.G6){const t=e=>br(e,n),s=[...e].map(t),o=new i.G6(s);return r.set(e,o),o}if(ne(e)){const t=jr(e);if(r.set(e,t),e.content)if(ne(e.content))t.content=br(e.content,n);else if(e.content instanceof i.KeyValuePair)t.content=br(e.content,n);else if(Array.isArray(e.content)){const r=e=>br(e,n);t.content=e.content.map(r)}else t.content=e.content;else t.content=e.content;return t}throw new yr("Value provided to cloneDeep function couldn't be cloned",{value:e})};br.safe=e=>{try{return br(e)}catch{return e}};const gr=e=>{const{key:t,value:r}=e;return new i.KeyValuePair(t,r)},Er=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=br(e.meta)),e.attributes.length>0&&(t._attributes=br(e.attributes)),ne(e.content)){const r=e.content;t.content=Er(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof i.KeyValuePair?t.content=gr(e.content):t.content=e.content;return t},jr=e=>{if(e instanceof i.KeyValuePair)return gr(e);if(e instanceof i.ot)return(e=>{const t=[...e];return new i.ot(t)})(e);if(e instanceof i.G6)return(e=>{const t=[...e];return new i.G6(t)})(e);if(ne(e))return Er(e);throw new vr("Value provided to cloneShallow function couldn't be cloned",{value:e})};jr.safe=e=>{try{return jr(e)}catch{return e}};const xr=e=>ae(e)?"ObjectElement":ue(e)?"ArrayElement":le(e)?"MemberElement":se(e)?"StringElement":ce(e)?"BooleanElement":ie(e)?"NumberElement":oe(e)?"NullElement":fe(e)?"LinkElement":pe(e)?"RefElement":void 0,wr=e=>ne(e)?jr(e):pr(e),Or=_t(xr,or),Sr={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const Ar=(e,t,{keyMap:r=Sr,...n}={})=>mr(e,t,{keyMap:r,nodeTypeGetter:xr,nodePredicate:Or,nodeCloneFn:wr,...n});Ar[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=Sr,...n}={})=>mr[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:xr,nodePredicate:Or,nodeCloneFn:wr,...n});const kr={toolboxCreator:ir,visitorOptions:{nodeTypeGetter:xr,exposeEdits:!0}},Pr=(e,t,r={})=>{if(0===t.length)return e;const n=Ie(kr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),c=t.map((e=>e(o))),a=hr(c.map(Je({},"visitor")),{...i});c.forEach(zt(["pre"],[]));const u=Ar(e,a,i);return c.forEach(zt(["post"],[])),u};Pr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,r={})=>{if(0===t.length)return e;const n=Ie(kr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),c=t.map((e=>e(o))),a=hr[Symbol.for("nodejs.util.promisify.custom")],u=Ar[Symbol.for("nodejs.util.promisify.custom")],l=a(c.map(Je({},"visitor")),{...i});await Promise.allSettled(c.map(zt(["pre"],[])));const f=await u(e,l,i);return await Promise.allSettled(c.map(zt(["post"],[]))),f};const _r=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return ne(e)&&(e.meta.length>0&&(n.meta=br(e.meta)),e.attributes.length>0&&(n.attributes=br(e.attributes))),Pr(n,r,{toolboxCreator:ir,visitorOptions:{nodeTypeGetter:xr}})},Mr=e=>(t,r={})=>_r(t,{...r,Type:e});i.Sh.refract=Mr(i.Sh),i.wE.refract=Mr(i.wE),i.Om.refract=Mr(i.Om),i.bd.refract=Mr(i.bd),i.Os.refract=Mr(i.Os),i.kT.refract=Mr(i.kT),i.Ft.refract=Mr(i.Ft),i.sI.refract=Mr(i.sI),J.refract=Mr(J),q.refract=Mr(q),W.refract=Mr(W),Y.refract=Mr(Y);class Nr extends i.Sh{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 Tr=Nr;class Rr extends i.Sh{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 Fr=Rr;class Cr extends i.Sh{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 Vr=Cr;class Ir extends i.Sh{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 $r=Ir;const Lr=u((function(e,t){return He((function(r,n){return r[n]=e(t[n],n,t),r}),{},R(t))}));const Dr=a((function(e){return null==e}));var Jr=u((function(e,t){if(0===e.length||Dr(t))return!1;for(var r=t,n=0;n<e.length;){if(Dr(r)||!O(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));const Br=Jr;var qr=u((function(e,t){return Br([e],t)}));const zr=qr;const Gr=Re((function(e,t,r){return e(De(t,r))}));const Ur=a((function(e){return E(e.length,e)}));const Kr=u((function(e,t){return E(e+1,(function(){var r=arguments[e];if(null!=r&&Vt(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(vt(r)+' does not have a method named "'+t+'"')}))}));const Wr=Kr(1,"split");var Hr=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,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 Yr(e){return function(t){return new Hr(e,t)}}const Xr=u(f(["dropWhile"],Yr,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return Ge(r,1/0,t)})));const Zr=Kr(1,"join");const Qr=Ur((function(e,t){return _t(Wr(""),Xr(L(e)),Zr(""))(t)})),en=(e,t)=>{const r=$e(e,t);return Lr((e=>{if(er(e)&&zr("$ref",e)&&Gr(or,"$ref",e)){const t=qe(["$ref"],e),n=Qr("#/",t);return qe(n.split("/"),r)}return er(e)?en(e,r):e}),e)};const tn=function(){return!0},rn=e=>"string"==typeof(null==e?void 0:e.type)?e.type:xr(e),nn={EphemeralObject:["content"],EphemeralArray:["content"],...Sr},sn=(e,t,{keyMap:r=nn,...n}={})=>Ar(e,t,{keyMap:r,nodeTypeGetter:rn,nodePredicate:tn,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});sn[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=nn,...r}={})=>Ar[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:rn,nodePredicate:tn,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const on=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 cn=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 an{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new cn(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 on(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}RefElement(e,...t){var r;const n=t[3];return"EphemeralObject"===(null===(r=n[n.length-1])||void 0===r?void 0:r.type)?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return se(e.href)?e.href.toValue():""}}const un=e=>ne(e)?se(e)||ie(e)||ce(e)||oe(e)?e.toValue():sn(e,new an):e,ln=e=>{const t=e.meta.length>0?br(e.meta):void 0,r=e.attributes.length>0?br(e.attributes):void 0;return new e.constructor(void 0,t,r)},fn=(e,t)=>t.clone&&t.isMergeableElement(e)?dn(ln(e),e,t):e,pn=e=>"function"!=typeof e.customMetaMerge?e=>br(e):e.customMetaMerge,hn=e=>"function"!=typeof e.customAttributesMerge?e=>br(e):e.customAttributesMerge,mn={clone:!0,isMergeableElement:e=>ae(e)||ue(e),arrayElementMerge:(e,t,r)=>e.concat(t)["fantasy-land/map"]((e=>fn(e,r))),objectElementMerge:(e,t,r)=>{const n=ae(e)?ln(e):ln(t);return ae(e)&&e.forEach(((e,t,s)=>{const i=jr(s);i.value=fn(e,r),n.content.push(i)})),t.forEach(((t,s,i)=>{const o=un(s);let c;if(ae(e)&&e.hasKey(o)&&r.isMergeableElement(t)){const n=e.get(o);c=jr(i),c.value=((e,t)=>{if("function"!=typeof t.customMerge)return dn;const r=t.customMerge(e,t);return"function"==typeof r?r:dn})(s,r)(n,t)}else c=jr(i),c.value=fn(t,r);n.remove(o),n.content.push(c)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function dn(e,t,r){var n,s,i;const o={...mn,...r};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:mn.isMergeableElement,o.arrayElementMerge=null!==(s=o.arrayElementMerge)&&void 0!==s?s:mn.arrayElementMerge,o.objectElementMerge=null!==(i=o.objectElementMerge)&&void 0!==i?i:mn.objectElementMerge;const c=ue(t);if(!(c===ue(e)))return fn(t,o);const a=c&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return a.meta=pn(o)(e.meta,t.meta),a.attributes=hn(o)(e.attributes,t.attributes),a}dn.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new i.Sh:e.reduce(((e,r)=>dn(e,r,t)),ln(e[0]))};const yn=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=dn(t.meta,e.meta),be(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=dn(t.attributes,e.attributes))}};const vn=class extends yn{enter(e){return this.element=br(e),ur}},bn=(e,t,r=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of r)delete n[e];Object.defineProperties(e,n)},gn=(e,t=[e])=>{const r=Object.getPrototypeOf(e);return null===r?t:gn(r,[...t,r])},En=(e,t,r=[])=>{var n;const s=null!==(n=((...e)=>{if(0===e.length)return;let t;const r=e.map((e=>gn(e)));for(;r.every((e=>e.length>0));){const e=r.map((e=>e.pop())),n=e[0];if(!e.every((e=>e===n)))break;t=n}return t})(...e))&&void 0!==n?n:Object.prototype,i=Object.create(s),o=gn(s);for(let t of e){let e=gn(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(bn(i,n,["constructor",...r]),o.push(n))}}return i.constructor=t,i},jn=e=>e.filter(((t,r)=>e.indexOf(t)==r)),xn=(e,t)=>{const r=t.map((e=>gn(e)));let n=0,s=!0;for(;s;){s=!1;for(let i=t.length-1;i>=0;i--){const t=r[i][n];if(null!=t&&(s=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return r[i][0]}n++}},wn=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,r)=>Object.getOwnPropertyDescriptor(xn(r,e)||{},r),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(r,n)=>void 0!==xn(n,e)||void 0!==t[n],get:(r,n)=>(xn(n,e)||t)[n],set(t,r,n){const s=xn(r,e);if(void 0===s)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return s[r]=n,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce(((e,t)=>t.concat(e.filter((e=>t.indexOf(e)<0)))))}),On=null,Sn="copy",An="copy",kn="deep",Pn=new WeakMap,_n=e=>Pn.get(e),Mn=(e,t)=>{var r,n;const s=jn([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of s)i[o]=jn([...null!==(r=null==e?void 0:e[o])&&void 0!==r?r:[],...null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[]]);return i},Nn=(e,t)=>{var r,n,s,i;return{property:Mn(null!==(r=null==e?void 0:e.property)&&void 0!==r?r:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:Mn(null!==(s=null==e?void 0:e.method)&&void 0!==s?s:{},null!==(i=null==t?void 0:t.method)&&void 0!==i?i:{})}},Tn=(e,t)=>{var r,n,s,i,o,c;return{class:jn([...null!==(r=null==e?void 0:e.class)&&void 0!==r?r:[],...null!==(n=null==t?void 0:t.class)&&void 0!==n?n:[]]),static:Nn(null!==(s=null==e?void 0:e.static)&&void 0!==s?s:{},null!==(i=null==t?void 0:t.static)&&void 0!==i?i:{}),instance:Nn(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},Rn=new Map,Fn=(...e)=>{const t=((...e)=>{var t;const r=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const s=[...gn(e.prototype).map((e=>e.constructor)),...null!==(t=_n(e))&&void 0!==t?t:[]].filter((e=>!r.has(e)));for(let e of s)n.add(e);r.add(e),n.delete(e)}return[...r]})(...e).map((e=>Rn.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>Tn(e,t)))},Cn=e=>{let t=Rn.get(e);return t||(t={},Rn.set(e,t)),t};function Vn(...e){var t,r,n;const s=e.map((e=>e.prototype)),i=On;if(null!==i){const e=s.map((e=>e[i])).filter((e=>"function"==typeof e)),t={[i]:function(...t){for(let r of e)r.apply(this,t)}};s.push(t)}function o(...t){for(const r of e)bn(this,new r(...t));null!==i&&"function"==typeof this[i]&&this[i].apply(this,t)}var c,a;o.prototype="copy"===An?En(s,o):(c=s,a=o,wn([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===Sn?En(e,null,["prototype"]):wn(e,Function.prototype));let u=o;if("none"!==kn){const s="deep"===kn?Fn(...e):((...e)=>{const t=e.map((e=>Cn(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>Tn(e,t)))})(...e);for(let e of null!==(t=null==s?void 0:s.class)&&void 0!==t?t:[]){const t=e(u);t&&(u=t)}In(null!==(r=null==s?void 0:s.static)&&void 0!==r?r:{},u),In(null!==(n=null==s?void 0:s.instance)&&void 0!==n?n:{},u.prototype)}var l,f;return l=u,f=e,Pn.set(l,f),u}const In=(e,t)=>{const r=e.property,n=e.method;if(r)for(let e in r)for(let n of r[e])n(t,e);if(n)for(let e in n)for(let r of n[e])r(t,e,Object.getOwnPropertyDescriptor(t,e))};const $n=u((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}));const Ln=class extends yn{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return $n(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=qe(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Gt(Ft,["visitors",...e],this.specObj)?qe(["visitors",...e],this.specObj):qe(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...r,...t})}toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r);return n instanceof vn&&(null==n?void 0:n.constructor)===vn?br(t):(Ar(t,n,r),n.element)}};const Dn=class extends Ln{specPath;ignoredFields;constructor({specPath:e,ignoredFields:t,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(se(n)&&r.includes(un(n))&&!this.ignoredFields.includes(un(n))){const r=this.toRefractedElement([...t,"fixedFields",un(n)],e),o=new i.Pr(br(n),r);this.copyMetaAndAttributes(s,o),o.classes.push("fixed-field"),this.element.content.push(o)}else this.ignoredFields.includes(un(n))||this.element.content.push(br(s))})),this.copyMetaAndAttributes(e,this.element),ur}};class Jn extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new Tr,this.specPath=z(["document","objects","JSONSchema"])}}const Bn=Jn;const qn=class{parent;constructor({parent:e}){this.parent=e}},zn=e=>ae(e)&&e.hasKey("$ref");class Gn extends(Vn(Ln,qn,vn)){ObjectElement(e){const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ur}ArrayElement(e){return this.element=new i.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}}const Un=Gn;const Kn=class extends vn{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-required"),t}};const Wn=a((function(e){return E(St(bt,0,gt("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 Hn=a((function(e){return!Jt(e)}));const Yn=u((function(e,t){return e||t}));var Xn=at(E(1,$t(Kt,u((function(e,t){return Vt(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:ct(Yn)(e,t)}))(Ht,Ft))));const Zn=Wn([or,Xn,Hn]);const Qn=function(){return!1};const es=class extends Ln{specPath;ignoredFields;fieldPatternPredicate=Qn;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:r,...n}){super({...n}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof r&&(this.fieldPatternPredicate=r)}ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes(un(t))&&this.fieldPatternPredicate(un(t))){const n=this.specPath(e),s=this.toRefractedElement(n,e),o=new i.Pr(br(t),s);this.copyMetaAndAttributes(r,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes(un(t))||this.element.content.push(br(r))})),this.copyMetaAndAttributes(e,this.element),ur}};const ts=class extends es{constructor(e){super(e),this.fieldPatternPredicate=Zn}};class rs extends(Vn(ts,qn,vn)){constructor(e){super(e),this.element=new i.Sh,this.element.classes.push("json-schema-properties"),this.specPath=e=>zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const ns=rs;class ss extends(Vn(ts,qn,vn)){constructor(e){super(e),this.element=new i.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const is=ss;class os extends(Vn(ts,qn,vn)){constructor(e){super(e),this.element=new i.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const cs=os;const as=class extends vn{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-enum"),t}};const us=class extends vn{StringElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}};class ls extends(Vn(Ln,qn,vn)){constructor(e){super(e),this.element=new i.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}}const fs=ls;class ps extends(Vn(Ln,qn,vn)){constructor(e){super(e),this.element=new i.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}}const hs=ps;class ms extends(Vn(Ln,qn,vn)){constructor(e){super(e),this.element=new i.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}}const ds=ms;class ys extends(Vn(ts,qn,vn)){constructor(e){super(e),this.element=new i.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=e=>zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const vs=ys;class bs extends(Vn(Ln,qn,vn)){constructor(e){super(e),this.element=new i.wE,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),ur}}const gs=bs;class Es extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new Fr,this.specPath=z(["document","objects","JSONReference"])}ObjectElement(e){const t=Dn.prototype.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const js=Es;const xs=class extends vn{StringElement(e){const t=this.enter(e);return this.element.classes.push("reference-value"),t}};const ws=Re((function(e,t,r){return E(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const Os=a((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));var Ss=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const As=Ss;const ks=a((function(e){return xe(0,e)}));const Ps=a(p);const _s=at(Dr);const Ms=$t(Bt,Hn);function Ns(e){return function(e){if(Array.isArray(e))return Ts(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 Ts(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 Ts(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 Ts(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 Rs=_t(As(Os((function(e,t){return e.length>t.length}))),ks,De("length")),Fs=Ur((function(e,t,r){var n=r.apply(void 0,Ns(e));return _s(n)?Ps(n):t}));const Cs=ws(Ms,(function(e){var t=Rs(e);return E(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return St(Fs(r),void 0,e)}))}),G);const Vs=class extends Ln{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>ws(e,z(t),G))),r=Cs(t)(e);return this.element=this.toRefractedElement(r,e),ur}};const Is=class extends Vs{constructor(e){super(e),this.alternator=[{predicate:zn,specPath:["document","objects","JSONReference"]},{predicate:tn,specPath:["document","objects","JSONSchema"]}]}};class $s extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new Vr,this.specPath=z(["document","objects","Media"])}}const Ls=$s;class Ds extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new $r,this.specPath=z(["document","objects","LinkDescription"])}}const Js={visitors:{value:vn,JSONSchemaOrJSONReferenceVisitor:Is,document:{objects:{JSONSchema:{$visitor:Bn,fixedFields:{id:{$ref:"#/visitors/value"},$schema:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},additionalItems:Is,items:Un,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:Kn,properties:ns,additionalProperties:Is,patternProperties:is,dependencies:cs,enum:as,type:us,allOf:fs,anyOf:hs,oneOf:ds,not:Is,definitions:vs,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:gs,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:js,fixedFields:{$ref:xs}},Media:{$visitor:Ls,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:Ds,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Is,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Is}}}}}},Bs=e=>{if(ne(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},qs={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Sr},zs=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Tr||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),Gs=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Fr||e(n)&&t("JSONReference",n)&&r("object",n))),Us=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Vr||e(n)&&t("media",n)&&r("object",n))),Ks=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof $r||e(n)&&t("linkDescription",n)&&r("object",n))),Ws={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Tr),t.register("jSONReference",Fr),t.register("media",Vr),t.register("linkDescription",$r),t}},Hs=()=>{const e=nr(Ws);return{predicates:{...t,isStringElement:se},namespace:e}},Ys=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Js}={})=>{const s=(0,i.e)(e),o=en(n),c=new(qe(t,o))({specObj:o});return Ar(s,c),Pr(c.element,r,{toolboxCreator:Hs,visitorOptions:{keyMap:qs,nodeTypeGetter:Bs}})},Xs=e=>(t,r={})=>Ys(t,{specPath:e,...r});Tr.refract=Xs(["visitors","document","objects","JSONSchema","$visitor"]),Fr.refract=Xs(["visitors","document","objects","JSONReference","$visitor"]),Vr.refract=Xs(["visitors","document","objects","Media","$visitor"]),$r.refract=Xs(["visitors","document","objects","LinkDescription","$visitor"]);const Zs=class extends Tr{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft6"}get idProp(){throw new Pe("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Pe("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const Qs=class extends $r{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new Pe("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Pe("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new Pe("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Pe("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Pe("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Pe("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},ei={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Zs),t.register("jSONReference",Fr),t.register("media",Vr),t.register("linkDescription",Qs),t}},ti=e=>{if(ne(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ri={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Sr},ni={JSONSchemaDraft6Element:{additionalItems:(...e)=>new Zs(...e),items:(...e)=>new Zs(...e),contains:(...e)=>new Zs(...e),required(...e){const t=new i.wE(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new i.Sh(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new Zs(...e),patternProperties(...e){const t=new i.Sh(...e);return t.classes.push("json-schema-patternProperties"),t},dependencies(...e){const t=new i.Sh(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new Zs(...e),enum(...e){const t=new i.wE(...e);return t.classes.push("json-schema-enum"),t},allOf(...e){const t=new i.wE(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new i.wE(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new i.wE(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new Zs(...e),definitions(...e){const t=new i.Sh(...e);return t.classes.push("json-schema-definitions"),t},examples(...e){const t=new i.wE(...e);return t.classes.push("json-schema-examples"),t},links(...e){const t=new i.wE(...e);return t.classes.push("json-schema-links"),t},media:(...e)=>new Vr(...e)},LinkDescriptionElement:{hrefSchema:(...e)=>new Zs(...e),targetSchema:(...e)=>new Zs(...e),submissionSchema:(...e)=>new Zs(...e)},"json-schema-properties":{"[key: *]":function(...e){return new Zs(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new Zs(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new Zs(...e)}},"json-schema-allOf":{"<*>":function(...e){return new Zs(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new Zs(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new Zs(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new Zs(...e)}},"json-schema-links":{"<*>":function(...e){return new Qs(...e)}}},si=(e,t)=>{const r=ti(e),n=ni[r]||ni[un(e.classes.first)];return void 0===n?void 0:Object.prototype.hasOwnProperty.call(n,"[key: *]")?n["[key: *]"]:n[t]},ii=()=>()=>({visitor:{StringElement(e,t,r,n,s){if(!(e=>se(e)&&Ee(["yaml-e-node","yaml-e-scalar"],e))(e))return;const i=[...s,r].filter(ne),o=i[i.length-1];let c,a;return ue(o)?(a=e,c=si(o,"<*>")):le(o)&&(a=i[i.length-2],c=si(a,un(o.key))),"function"==typeof c?c.call({context:a},void 0,br(e.meta),br(e.attributes)):void 0}}});var oi=Re((function e(t,r,n){if(0===t.length)return r;var s=t[0];if(t.length>1){var i=!Dr(n)&&O(s,n)&&"object"==typeof n[s]?n[s]:Le(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,i)}return function(e,t,r){if(Le(e)&&l(r)){var n=[].concat(r);return n[e]=t,n}var s={};for(var i in r)s[i]=r[i];return s[e]=t,s}(s,r,n)}));const ci=oi;const ai=Re((function(e,t,r){var n=Array.prototype.slice.call(r,0);return n.splice(e,t),n}));var ui=Re((function(e,t,r){return ci([e],t,r)}));const li=ui;var fi=u((function e(t,r){if(null==r)return r;switch(t.length){case 0:return r;case 1:return function(e,t){if(null==t)return t;if(Le(e)&&l(t))return ai(e,1,t);var r={};for(var n in t)r[n]=t[n];return delete r[e],r}(t[0],r);default:var n=t[0],s=Array.prototype.slice.call(t,1);return null==r[n]?function(e,t){if(Le(e)&&l(t))return[].concat(t);var r={};for(var n in t)r[n]=t[n];return r}(n,r):li(n,e(s,r[n]),r)}}));const pi=fi;class hi extends(Vn(Dn,vn)){constructor(e){super(e),this.specPath=z(["document","objects","JSONSchema"])}ObjectElement(e){return this.element=new Zs,Dn.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=this.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const mi=hi;class di extends(Vn(Ln,qn,vn)){ObjectElement(e){const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ur}ArrayElement(e){return this.element=new i.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=zn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),ur}BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),ur}}const yi=di;const vi=class extends vn{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-examples"),t}};class bi extends(Vn(Dn,vn)){constructor(e){super(e),this.element=new Qs,this.specPath=z(["document","objects","LinkDescription"])}}const gi=bi,Ei=_t(ci(["visitors","document","objects","JSONSchema","$visitor"],mi),pi(["visitors","document","objects","JSONSchema","fixedFields","id"]),ci(["visitors","document","objects","JSONSchema","fixedFields","$id"],Js.visitors.value),ci(["visitors","document","objects","JSONSchema","fixedFields","contains"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),ci(["visitors","document","objects","JSONSchema","fixedFields","items"],yi),ci(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),ci(["visitors","document","objects","JSONSchema","fixedFields","const"],Js.visitors.value),ci(["visitors","document","objects","JSONSchema","fixedFields","examples"],vi),ci(["visitors","document","objects","LinkDescription","$visitor"],gi),ci(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),pi(["visitors","document","objects","LinkDescription","fixedFields","schema"]),ci(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),pi(["visitors","document","objects","LinkDescription","fixedFields","method"]),pi(["visitors","document","objects","LinkDescription","fixedFields","encType"]),ci(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Js.visitors.value))(Js),ji=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Zs||e(n)&&t("JSONSchemaDraft6",n)&&r("object",n))),xi=re((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Qs||e(n)&&t("linkDescription",n)&&r("object",n))),wi=()=>{const e=nr(ei);return{predicates:{...s,isStringElement:se},namespace:e}},Oi=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Ei}={})=>{const s=(0,i.e)(e),o=en(n),c=new(qe(t,o))({specObj:o});return Ar(s,c),Pr(c.element,r,{toolboxCreator:wi,visitorOptions:{keyMap:ri,nodeTypeGetter:ti}})},Si=e=>(t,r={})=>Oi(t,{specPath:e,...r}),Ai=Oi})(),n})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-ns-json-schema-draft-6",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.3",
|
|
4
4
|
"description": "JSON Schema Draft 6 namespace for ApiDOM.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime-corejs3": "^7.20.7",
|
|
45
|
-
"@swagger-api/apidom-core": "^1.0.0-alpha.
|
|
45
|
+
"@swagger-api/apidom-core": "^1.0.0-alpha.3",
|
|
46
46
|
"@swagger-api/apidom-error": "^1.0.0-alpha.1",
|
|
47
|
-
"@swagger-api/apidom-ns-json-schema-draft-4": "^1.0.0-alpha.
|
|
47
|
+
"@swagger-api/apidom-ns-json-schema-draft-4": "^1.0.0-alpha.3",
|
|
48
48
|
"@types/ramda": "~0.30.0",
|
|
49
49
|
"ramda": "~0.30.0",
|
|
50
50
|
"ramda-adjunct": "^5.0.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"README.md",
|
|
61
61
|
"CHANGELOG.md"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "6e63209f9bc1b2a51172ced05ba6dc53417c611a"
|
|
64
64
|
}
|