@swagger-api/apidom-ns-api-design-systems 0.99.1 → 0.99.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomNsApiDesignSystems=e():t.apidomNsApiDesignSystems=e()}(self,(()=>(()=>{var t={3103:(t,e,r)=>{var n=r(4715)(r(8942),"DataView");t.exports=n},5098:(t,e,r)=>{var n=r(3305),s=r(9361),i=r(1112),o=r(5276),a=r(5071);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},1386:(t,e,r)=>{var n=r(2393),s=r(2049),i=r(7144),o=r(7452),a=r(3964);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},9770:(t,e,r)=>{var n=r(4715)(r(8942),"Map");t.exports=n},8250:(t,e,r)=>{var n=r(9753),s=r(5681),i=r(88),o=r(4732),a=r(9068);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},9413:(t,e,r)=>{var n=r(4715)(r(8942),"Promise");t.exports=n},4512:(t,e,r)=>{var n=r(4715)(r(8942),"Set");t.exports=n},3212:(t,e,r)=>{var n=r(8250),s=r(1877),i=r(8006);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,t.exports=o},1340:(t,e,r)=>{var n=r(1386),s=r(4103),i=r(1779),o=r(4162),a=r(7462),c=r(6638);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,t.exports=u},5650:(t,e,r)=>{var n=r(8942).Symbol;t.exports=n},1623:(t,e,r)=>{var n=r(8942).Uint8Array;t.exports=n},9270:(t,e,r)=>{var n=r(4715)(r(8942),"WeakMap");t.exports=n},9847:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,s=0,i=[];++r<n;){var o=t[r];e(o,r,t)&&(i[s++]=o)}return i}},358:(t,e,r)=>{var n=r(6137),s=r(3283),i=r(3142),o=r(5853),a=r(9632),c=r(8666),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&s(t),f=!r&&!l&&o(t),p=!r&&!l&&!f&&c(t),h=r||l||f||p,m=h?n(t.length,String):[],y=m.length;for(var d in t)!e&&!u.call(t,d)||h&&("length"==d||f&&("offset"==d||"parent"==d)||p&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||a(d,y))||m.push(d);return m}},1129:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,s=t.length;++r<n;)t[s+r]=e[r];return t}},6465:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},7034:(t,e,r)=>{var n=r(6285);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},8244:(t,e,r)=>{var n=r(1129),s=r(3142);t.exports=function(t,e,r){var i=e(t);return s(t)?i:n(i,r(t))}},7379:(t,e,r)=>{var n=r(5650),s=r(8870),i=r(9005),o=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?s(t):i(t)}},6027:(t,e,r)=>{var n=r(7379),s=r(547);t.exports=function(t){return s(t)&&"[object Arguments]"==n(t)}},4687:(t,e,r)=>{var n=r(353),s=r(547);t.exports=function t(e,r,i,o,a){return e===r||(null==e||null==r||!s(e)&&!s(r)?e!=e&&r!=r:n(e,r,i,o,t,a))}},353:(t,e,r)=>{var n=r(1340),s=r(3934),i=r(8861),o=r(1182),a=r(8486),c=r(3142),u=r(5853),l=r(8666),f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,y,d,v){var g=c(t),b=c(e),E=g?p:a(t),j=b?p:a(e),x=(E=E==f?h:E)==h,w=(j=j==f?h:j)==h,O=E==j;if(O&&u(t)){if(!u(e))return!1;g=!0,x=!1}if(O&&!x)return v||(v=new n),g||l(t)?s(t,e,r,y,d,v):i(t,e,E,r,y,d,v);if(!(1&r)){var S=x&&m.call(t,"__wrapped__"),A=w&&m.call(e,"__wrapped__");if(S||A){var _=S?t.value():t,k=A?e.value():e;return v||(v=new n),d(_,k,r,y,v)}}return!!O&&(v||(v=new n),o(t,e,r,y,d,v))}},9624:(t,e,r)=>{var n=r(3655),s=r(4759),i=r(1580),o=r(4066),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||s(t))&&(n(t)?p:a).test(o(t))}},674:(t,e,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,t.exports=function(t){return i(t)&&s(t.length)&&!!o[n(t)]}},195:(t,e,r)=>{var n=r(4882),s=r(8121),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return s(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},6137:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},9460:t=>{t.exports=function(t){return function(e){return t(e)}}},5568:t=>{t.exports=function(t,e){return t.has(e)}},1950:(t,e,r)=>{var n=r(8942)["__core-js_shared__"];t.exports=n},3934:(t,e,r)=>{var n=r(3212),s=r(6465),i=r(5568);t.exports=function(t,e,r,o,a,c){var u=1&r,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(t),h=c.get(e);if(p&&h)return p==e&&h==t;var m=-1,y=!0,d=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++m<l;){var v=t[m],g=e[m];if(o)var b=u?o(g,v,m,e,t,c):o(v,g,m,t,e,c);if(void 0!==b){if(b)continue;y=!1;break}if(d){if(!s(e,(function(t,e){if(!i(d,e)&&(v===t||a(v,t,r,o,c)))return d.push(e)}))){y=!1;break}}else if(v!==g&&!a(v,g,r,o,c)){y=!1;break}}return c.delete(t),c.delete(e),y}},8861:(t,e,r)=>{var n=r(5650),s=r(1623),i=r(6285),o=r(3934),a=r(5894),c=r(9828),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new s(t),new s(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=a;case"[object Set]":var m=1&n;if(h||(h=c),t.size!=e.size&&!m)return!1;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var d=o(h(t),h(e),n,u,f,p);return p.delete(t),d;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},1182:(t,e,r)=>{var n=r(393),s=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,o,a){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in e:s.call(e,p)))return!1}var h=a.get(t),m=a.get(e);if(h&&m)return h==e&&m==t;var y=!0;a.set(t,e),a.set(e,t);for(var d=c;++f<l;){var v=t[p=u[f]],g=e[p];if(i)var b=c?i(g,v,p,e,t,a):i(v,g,p,t,e,a);if(!(void 0===b?v===g||o(v,g,r,i,a):b)){y=!1;break}d||(d="constructor"==p)}if(y&&!d){var E=t.constructor,j=e.constructor;E==j||!("constructor"in t)||!("constructor"in e)||"function"==typeof E&&E instanceof E&&"function"==typeof j&&j instanceof j||(y=!1)}return a.delete(t),a.delete(e),y}},4967:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},393:(t,e,r)=>{var n=r(8244),s=r(7979),i=r(1211);t.exports=function(t){return n(t,i,s)}},4700:(t,e,r)=>{var n=r(9067);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},4715:(t,e,r)=>{var n=r(9624),s=r(155);t.exports=function(t,e){var r=s(t,e);return n(r)?r:void 0}},8870:(t,e,r)=>{var n=r(5650),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var s=o.call(t);return n&&(e?t[a]=r:delete t[a]),s}},7979:(t,e,r)=>{var n=r(9847),s=r(9306),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(t){return null==t?[]:(t=Object(t),n(o(t),(function(e){return i.call(t,e)})))}:s;t.exports=a},8486:(t,e,r)=>{var n=r(3103),s=r(9770),i=r(9413),o=r(4512),a=r(9270),c=r(7379),u=r(4066),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",y=u(n),d=u(s),v=u(i),g=u(o),b=u(a),E=c;(n&&E(new n(new ArrayBuffer(1)))!=m||s&&E(new s)!=l||i&&E(i.resolve())!=f||o&&E(new o)!=p||a&&E(new a)!=h)&&(E=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return m;case d:return l;case v:return f;case g:return p;case b:return h}return e}),t.exports=E},155:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},3305:(t,e,r)=>{var n=r(4497);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},1112:(t,e,r)=>{var n=r(4497),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(e,t)?e[t]:void 0}},5276:(t,e,r)=>{var n=r(4497),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:s.call(e,t)}},5071:(t,e,r)=>{var n=r(4497);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},9632:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},9067:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},4759:(t,e,r)=>{var n,s=r(1950),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},4882:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},2393:t=>{t.exports=function(){this.__data__=[],this.size=0}},2049:(t,e,r)=>{var n=r(7034),s=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():s.call(e,r,1),--this.size,!0)}},7144:(t,e,r)=>{var n=r(7034);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7452:(t,e,r)=>{var n=r(7034);t.exports=function(t){return n(this.__data__,t)>-1}},3964:(t,e,r)=>{var n=r(7034);t.exports=function(t,e){var r=this.__data__,s=n(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this}},9753:(t,e,r)=>{var n=r(5098),s=r(1386),i=r(9770);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},5681:(t,e,r)=>{var n=r(4700);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},88:(t,e,r)=>{var n=r(4700);t.exports=function(t){return n(this,t).get(t)}},4732:(t,e,r)=>{var n=r(4700);t.exports=function(t){return n(this,t).has(t)}},9068:(t,e,r)=>{var n=r(4700);t.exports=function(t,e){var r=n(this,t),s=r.size;return r.set(t,e),this.size+=r.size==s?0:1,this}},5894:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},4497:(t,e,r)=>{var n=r(4715)(Object,"create");t.exports=n},8121:(t,e,r)=>{var n=r(3766)(Object.keys,Object);t.exports=n},2306:(t,e,r)=>{t=r.nmd(t);var n=r(4967),s=e&&!e.nodeType&&e,i=s&&t&&!t.nodeType&&t,o=i&&i.exports===s&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a},9005:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3766:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},8942:(t,e,r)=>{var n=r(4967),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();t.exports=i},1877:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},8006:t=>{t.exports=function(t){return this.__data__.has(t)}},9828:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},4103:(t,e,r)=>{var n=r(1386);t.exports=function(){this.__data__=new n,this.size=0}},1779:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},4162:t=>{t.exports=function(t){return this.__data__.get(t)}},7462:t=>{t.exports=function(t){return this.__data__.has(t)}},6638:(t,e,r)=>{var n=r(1386),s=r(9770),i=r(8250);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(t,e),this.size=r.size,this}},4066:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},6285:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},3283:(t,e,r)=>{var n=r(6027),s=r(547),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return s(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},3142:t=>{var e=Array.isArray;t.exports=e},6529:(t,e,r)=>{var n=r(3655),s=r(5387);t.exports=function(t){return null!=t&&s(t.length)&&!n(t)}},2563:(t,e,r)=>{var n=r(7379),s=r(547);t.exports=function(t){return!0===t||!1===t||s(t)&&"[object Boolean]"==n(t)}},5853:(t,e,r)=>{t=r.nmd(t);var n=r(8942),s=r(4772),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;t.exports=c},6343:(t,e,r)=>{var n=r(4687);t.exports=function(t,e){return n(t,e)}},3655:(t,e,r)=>{var n=r(7379),s=r(1580);t.exports=function(t){if(!s(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},5387:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},9310:t=>{t.exports=function(t){return null===t}},986:(t,e,r)=>{var n=r(7379),s=r(547);t.exports=function(t){return"number"==typeof t||s(t)&&"[object Number]"==n(t)}},1580:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},547:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},8138:(t,e,r)=>{var n=r(7379),s=r(3142),i=r(547);t.exports=function(t){return"string"==typeof t||!s(t)&&i(t)&&"[object String]"==n(t)}},8666:(t,e,r)=>{var n=r(674),s=r(9460),i=r(2306),o=i&&i.isTypedArray,a=o?s(o):n;t.exports=a},1211:(t,e,r)=>{var n=r(358),s=r(195),i=r(6529);t.exports=function(t){return i(t)?n(t):s(t)}},1517:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},9306:t=>{t.exports=function(){return[]}},4772:t=>{t.exports=function(){return!1}},4123:(t,e,r)=>{const n=r(1517);function s(t){return"string"==typeof t?e=>e.element===t:t.constructor&&t.extend?e=>e instanceof t:t}class i{constructor(t){this.elements=t||[]}toValue(){return this.elements.map((t=>t.toValue()))}map(t,e){return this.elements.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return t=s(t),new i(this.elements.filter(t,e))}reject(t,e){return t=s(t),new i(this.elements.filter(n(t),e))}find(t,e){return t=s(t),this.elements.find(t,e)}forEach(t,e){this.elements.forEach(t,e)}reduce(t,e){return this.elements.reduce(t,e)}includes(t){return this.elements.some((e=>e.equals(t)))}shift(){return this.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){return this.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){return this.elements[t]}getValue(t){const e=this.elements[t];if(e)return e.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]()}),t.exports=i},2322:t=>{class e{constructor(t,e){this.key=t,this.value=e}clone(){const t=new e;return this.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}}t.exports=e},5735:(t,e,r)=>{const n=r(9310),s=r(8138),i=r(986),o=r(2563),a=r(1580),c=r(394),u=r(7547);class l{constructor(t){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,t&&t.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(t){return t.namespace&&t.namespace({base:this}),t.load&&t.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(t,e){return this._elements=void 0,this.elementMap[t]=e,this}unregister(t){return this._elements=void 0,delete this.elementMap[t],this}detect(t,e,r){return void 0===r||r?this.elementDetection.unshift([t,e]):this.elementDetection.push([t,e]),this}toElement(t){if(t instanceof this.Element)return t;let e;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(t)){e=new s(t);break}}return e}getElementClass(t){const e=this.elementMap[t];return void 0===e?this.Element:e}fromRefract(t){return this.serialiser.deserialise(t)}toRefract(t){return this.serialiser.serialise(t)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((t=>{const e=t[0].toUpperCase()+t.substr(1);this._elements[e]=this.elementMap[t]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,t.exports=l},3311:(t,e,r)=>{const n=r(1517),s=r(4123);class i extends s{map(t,e){return this.elements.map((r=>t.bind(e)(r.value,r.key,r)))}filter(t,e){return new i(this.elements.filter((r=>t.bind(e)(r.value,r.key,r))))}reject(t,e){return this.filter(n(t.bind(e)))}forEach(t,e){return this.elements.forEach(((r,n)=>{t.bind(e)(r.value,r.key,r,n)}))}keys(){return this.map(((t,e)=>e.toValue()))}values(){return this.map((t=>t.toValue()))}}t.exports=i},7547:(t,e,r)=>{const n=r(8631),s=r(3004),i=r(8712),o=r(2536),a=r(2555),c=r(9796),u=r(7309),l=r(5642),f=r(9620),p=r(593),h=r(4123),m=r(3311),y=r(2322);function d(t){if(t instanceof n)return t;if("string"==typeof t)return new i(t);if("number"==typeof t)return new o(t);if("boolean"==typeof t)return new a(t);if(null===t)return new s;if(Array.isArray(t))return new c(t.map(d));if("object"==typeof t){return new l(t)}return t}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=d,h.prototype.refract=d,t.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:f,RefElement:p,refract:d,ArraySlice:h,ObjectSlice:m,KeyValuePair:y}},9620:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(t){this.attributes.set("relation",t)}get href(){return this.attributes.get("href")}set href(t){this.attributes.set("href",t)}}},593:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}}},8326:(t,e,r)=>{const n=r(5735),s=r(7547);e.g$=n,e.KeyValuePair=r(2322),e.G6=s.ArraySlice,e.ot=s.ObjectSlice,e.Hg=s.Element,e.Om=s.StringElement,e.kT=s.NumberElement,e.bd=s.BooleanElement,e.Os=s.NullElement,e.wE=s.ArrayElement,e.Sh=s.ObjectElement,e.Pr=s.MemberElement,e.sI=s.RefElement,e.Ft=s.LinkElement,s.refract,r(394),r(3148)},9796:(t,e,r)=>{const n=r(1517),s=r(8631),i=r(4123);class o extends s{constructor(t,e,r){super(t||[],e,r),this.element="array"}primitive(){return"array"}get(t){return this.content[t]}getValue(t){const e=this.get(t);if(e)return e.toValue()}getIndex(t){return this.content[t]}set(t,e){return this.content[t]=this.refract(e),this}remove(t){const e=this.content.splice(t,1);return e.length?e[0]:null}map(t,e){return this.content.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return new i(this.content.filter(t,e))}reject(t,e){return this.filter(n(t),e)}reduce(t,e){let r,n;void 0!==e?(r=0,n=this.refract(e)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let e=r;e<this.length;e+=1){const r=this.content[e];n="object"===this.primitive()?this.refract(t(n,r.value,r.key,r,this)):this.refract(t(n,r,e,this))}return n}forEach(t,e){this.content.forEach(((r,n)=>{t.bind(e)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(t){this.content.unshift(this.refract(t))}push(t){return this.content.push(this.refract(t)),this}add(t){this.push(t)}findElements(t,e){const r=e||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((e,r,i)=>{n&&void 0!==e.findElements&&e.findElements(t,{results:s,recursive:n}),t(e,r,i)&&s.push(e)})),s}find(t){return new i(this.findElements(t,{recursive:!0}))}findByElement(t){return this.find((e=>e.element===t))}findByClass(t){return this.find((e=>e.classes.includes(t)))}getById(t){return this.find((e=>e.id.toValue()===t)).first}includes(t){return this.content.some((e=>e.equals(t)))}contains(t){return this.includes(t)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(t){return new this.constructor(this.content.concat(t.content))}"fantasy-land/concat"(t){return this.concat(t)}"fantasy-land/map"(t){return new this.constructor(this.map(t))}"fantasy-land/chain"(t){return this.map((e=>t(e)),this).reduce(((t,e)=>t.concat(e)),this.empty())}"fantasy-land/filter"(t){return new this.constructor(this.content.filter(t))}"fantasy-land/reduce"(t,e){return this.content.reduce(t,e)}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]()}),t.exports=o},2555:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="boolean"}primitive(){return"boolean"}}},8631:(t,e,r)=>{const n=r(6343),s=r(2322),i=r(4123);class o{constructor(t,e,r){e&&(this.meta=e),r&&(this.attributes=r),this.content=t}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((t=>{t.parent=this,t.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const t=new this.constructor;return t.element=this.element,this.meta.length&&(t._meta=this.meta.clone()),this.attributes.length&&(t._attributes=this.attributes.clone()),this.content?this.content.clone?t.content=this.content.clone():Array.isArray(this.content)?t.content=this.content.map((t=>t.clone())):t.content=this.content:t.content=this.content,t}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((t=>t.toValue()),this):this.content}toRef(t){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const e=new this.RefElement(this.id.toValue());return t&&(e.path=t),e}findRecursive(...t){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 e=t.pop();let r=new i;const n=(t,e)=>(t.push(e),t),o=(t,r)=>{r.element===e&&t.push(r);const i=r.findRecursive(e);return i&&i.reduce(n,t),r.content instanceof s&&(r.content.key&&o(t,r.content.key),r.content.value&&o(t,r.content.value)),t};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),t.isEmpty||(r=r.filter((e=>{let r=e.parents.map((t=>t.element));for(const e in t){const n=t[e],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(t){return this.content=t,this}equals(t){return n(this.toValue(),t)}getMetaProperty(t,e){if(!this.meta.hasKey(t)){if(this.isFrozen){const t=this.refract(e);return t.freeze(),t}this.meta.set(t,e)}return this.meta.get(t)}setMetaProperty(t,e){this.meta.set(t,e)}get element(){return this._storedElement||"element"}set element(t){this._storedElement=t}get content(){return this._content}set content(t){if(t instanceof o)this._content=t;else if(t instanceof i)this.content=t.elements;else if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"null"===t||null==t)this._content=t;else if(t instanceof s)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else{if("object"!=typeof t)throw new Error("Cannot set content to given value");this._content=Object.keys(t).map((e=>new this.MemberElement(e,t[e])))}}get meta(){if(!this._meta){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._meta=new this.ObjectElement}return this._meta}set meta(t){t instanceof this.ObjectElement?this._meta=t:this.meta.set(t||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._attributes=new this.ObjectElement}return this._attributes}set attributes(t){t instanceof this.ObjectElement?this._attributes=t:this.attributes.set(t||{})}get id(){return this.getMetaProperty("id","")}set id(t){this.setMetaProperty("id",t)}get classes(){return this.getMetaProperty("classes",[])}set classes(t){this.setMetaProperty("classes",t)}get title(){return this.getMetaProperty("title","")}set title(t){this.setMetaProperty("title",t)}get description(){return this.getMetaProperty("description","")}set description(t){this.setMetaProperty("description",t)}get links(){return this.getMetaProperty("links",[])}set links(t){this.setMetaProperty("links",t)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:t}=this;const e=new i;for(;t;)e.push(t),t=t.parent;return e}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const t=new i([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const t=new i;return this.children.forEach((e=>{t.push(e),e.recursiveChildren.forEach((e=>{t.push(e)}))})),t}}t.exports=o},7309:(t,e,r)=>{const n=r(2322),s=r(8631);t.exports=class extends s{constructor(t,e,r,s){super(new n,r,s),this.element="member",this.key=t,this.value=e}get key(){return this.content.key}set key(t){this.content.key=this.refract(t)}get value(){return this.content.value}set value(t){this.content.value=this.refract(t)}}},3004:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t||null,e,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},2536:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="number"}primitive(){return"number"}}},5642:(t,e,r)=>{const n=r(1517),s=r(1580),i=r(9796),o=r(7309),a=r(3311);t.exports=class extends i{constructor(t,e,r){super(t||[],e,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((t,e)=>(t[e.key.toValue()]=e.value?e.value.toValue():void 0,t)),{})}get(t){const e=this.getMember(t);if(e)return e.value}getMember(t){if(void 0!==t)return this.content.find((e=>e.key.toValue()===t))}remove(t){let e=null;return this.content=this.content.filter((r=>r.key.toValue()!==t||(e=r,!1))),e}getKey(t){const e=this.getMember(t);if(e)return e.key}set(t,e){if(s(t))return Object.keys(t).forEach((e=>{this.set(e,t[e])})),this;const r=t,n=this.getMember(r);return n?n.value=e:this.content.push(new o(r,e)),this}keys(){return this.content.map((t=>t.key.toValue()))}values(){return this.content.map((t=>t.value.toValue()))}hasKey(t){return this.content.some((e=>e.key.equals(t)))}items(){return this.content.map((t=>[t.key.toValue(),t.value.toValue()]))}map(t,e){return this.content.map((r=>t.bind(e)(r.value,r.key,r)))}compactMap(t,e){const r=[];return this.forEach(((n,s,i)=>{const o=t.bind(e)(n,s,i);o&&r.push(o)})),r}filter(t,e){return new a(this.content).filter(t,e)}reject(t,e){return this.filter(n(t),e)}forEach(t,e){return this.content.forEach((r=>t.bind(e)(r.value,r.key,r)))}}},8712:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},3148:(t,e,r)=>{const n=r(394);t.exports=class extends n{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);let e;t._attributes&&t.attributes.get("variable")&&(e=t.attributes.get("variable"));const r={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta));const n="enum"===t.element||-1!==t.attributes.keys().indexOf("enumerations");if(n){const e=this.enumSerialiseAttributes(t);e&&(r.attributes=e)}else if(t._attributes&&t._attributes.length>0){let{attributes:n}=t;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===t.element&&e&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(t,r);else if(this[`${t.element}SerialiseContent`])r.content=this[`${t.element}SerialiseContent`](t,r);else if(void 0!==t.content){let n;e&&t.content.key?(n=t.content.clone(),n.key.attributes.set("variable",e),n=this.serialiseContent(n)):n=this.serialiseContent(t.content),this.shouldSerialiseContent(t,n)&&(r.content=n)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(t,e){return"parseResult"===t.element||"httpRequest"===t.element||"httpResponse"===t.element||"category"===t.element||"link"===t.element||void 0!==e&&(!Array.isArray(e)||0!==e.length)}refSerialiseContent(t,e){return delete e.attributes,{href:t.toValue(),path:t.path.toValue()}}sourceMapSerialiseContent(t){return t.toValue()}dataStructureSerialiseContent(t){return[this.serialiseContent(t.content)]}enumSerialiseAttributes(t){const e=t.attributes.clone(),r=e.remove("enumerations")||new this.namespace.elements.Array([]),n=e.get("default");let s=e.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),e.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((t=>{t.content&&t.content.element&&t.content.attributes.remove("typeAttributes")})),t.content&&0!==r.length&&s.unshift(t.content),s=s.map((t=>t instanceof this.namespace.elements.Array?[t]:new this.namespace.elements.Array([t.content]))),s.length&&e.set("samples",s),e.length>0)return this.serialiseObject(e)}enumSerialiseContent(t){if(t._attributes){const e=t.attributes.get("enumerations");if(e&&e.length>0)return e.content.map((t=>{const e=t.clone();return e.attributes.remove("typeAttributes"),this.serialise(e)}))}if(t.content){const e=t.content.clone();return e.attributes.remove("typeAttributes"),[this.serialise(e)]}return[]}deserialise(t){if("string"==typeof t)return new this.namespace.elements.String(t);if("number"==typeof t)return new this.namespace.elements.Number(t);if("boolean"==typeof t)return new this.namespace.elements.Boolean(t);if(null===t)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const e=this.namespace.getElementClass(t.element),r=new e;r.element!==t.element&&(r.element=t.element),t.meta&&this.deserialiseObject(t.meta,r.meta),t.attributes&&this.deserialiseObject(t.attributes,r.attributes);const n=this.deserialiseContent(t.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let t=r.attributes.get("samples");if(r.attributes.remove("samples"),t){const n=t;t=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new e(n);s.element=r.element,t.push(s)}))}));const s=t.shift();r.content=s?s.content:void 0,r.attributes.set("samples",t)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const t=new e(n);t.element=r.element,r.attributes.set("default",t)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const t=r.attributes.get("meta");t&&(r.attributes.set("metadata",t),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(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}return t&&t.map?t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}shouldRefract(t){return!!(t._attributes&&t.attributes.keys().length||t._meta&&t.meta.keys().length)||"enum"!==t.element&&(t.element!==t.primitive()||"member"===t.element)}convertKeyToRefract(t,e){return this.shouldRefract(e)?this.serialise(e):"enum"===e.element?this.serialiseEnum(e):"array"===e.element?e.map((e=>this.shouldRefract(e)||"default"===t?this.serialise(e):"array"===e.element||"object"===e.element||"enum"===e.element?e.children.map((t=>this.serialise(t))):e.toValue())):"object"===e.element?(e.content||[]).map(this.serialise,this):e.toValue()}serialiseEnum(t){return t.children.map((t=>this.serialise(t)))}serialiseObject(t){const e={};return t.forEach(((t,r)=>{if(t){const n=r.toValue();e[n]=this.convertKeyToRefract(n,t)}})),e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},394:t=>{t.exports=class{constructor(t){this.namespace=t||new this.Namespace}serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);const e={element:t.element};t._meta&&t._meta.length>0&&(e.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(e.attributes=this.serialiseObject(t.attributes));const r=this.serialiseContent(t.content);return void 0!==r&&(e.content=r),e}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const e=new(this.namespace.getElementClass(t.element));e.element!==t.element&&(e.element=t.element),t.meta&&this.deserialiseObject(t.meta,e.meta),t.attributes&&this.deserialiseObject(t.attributes,e.attributes);const r=this.deserialiseContent(t.content);return void 0===r&&null!==e.content||(e.content=r),e}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}if(t&&t.map){if(0===t.length)return;return t.map(this.serialise,this)}return t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const e={};if(t.forEach(((t,r)=>{t&&(e[r.toValue()]=this.serialise(t))})),0!==Object.keys(e).length)return e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},1212:(t,e,r)=>{t.exports=r(8411)},7202:(t,e,r)=>{"use strict";var n=r(239);t.exports=n},6656:(t,e,r)=>{"use strict";r(484),r(5695),r(6138),r(7447),r(3832);var n=r(8099);t.exports=n.AggregateError},8411:(t,e,r)=>{"use strict";t.exports=r(8337)},8337:(t,e,r)=>{"use strict";r(5442);var n=r(7202);t.exports=n},814:(t,e,r)=>{"use strict";var n=r(2769),s=r(459),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not a function")}},1966:(t,e,r)=>{"use strict";var n=r(2937),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+s(t)+" as a prototype")}},8137:t=>{"use strict";t.exports=function(){}},7235:(t,e,r)=>{"use strict";var n=r(262),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not an object")}},1005:(t,e,r)=>{"use strict";var n=r(3273),s=r(4574),i=r(8130),o=function(t){return function(e,r,o){var a,c=n(e),u=i(c),l=s(o,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},9932:(t,e,r)=>{"use strict";var n=r(6100),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},8407:(t,e,r)=>{"use strict";var n=r(4904),s=r(2769),i=r(9932),o=r(8655)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),o))?r:c?i(e):"Object"===(n=i(e))&&s(e.callee)?"Arguments":n}},7464:(t,e,r)=>{"use strict";var n=r(701),s=r(5691),i=r(4543),o=r(9989);t.exports=function(t,e,r){for(var a=s(e),c=o.f,u=i.f,l=0;l<a.length;l++){var f=a[l];n(t,f)||r&&n(r,f)||c(t,f,u(e,f))}}},2871:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},877:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},3999:(t,e,r)=>{"use strict";var n=r(5024),s=r(9989),i=r(480);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},480:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3508:(t,e,r)=>{"use strict";var n=r(3999);t.exports=function(t,e,r,s){return s&&s.enumerable?t[e]=r:n(t,e,r),t}},7525:(t,e,r)=>{"use strict";var n=r(1063),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},5024:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(t,e,r)=>{"use strict";var n=r(1063),s=r(262),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},1100:t=>{"use strict";t.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:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4432:(t,e,r)=>{"use strict";var n,s,i=r(1063),o=r(7868),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},9683:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3885:(t,e,r)=>{"use strict";var n=r(6100),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);t.exports=function(t,e){if(c&&"string"==typeof t&&!s.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},4279:(t,e,r)=>{"use strict";var n=r(3999),s=r(3885),i=r(5791),o=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(o?o(t,e):n(t,"stack",s(r,a)))}},5791:(t,e,r)=>{"use strict";var n=r(1203),s=r(480);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",s(1,7)),7!==t.stack)}))},9098:(t,e,r)=>{"use strict";var n=r(1063),s=r(7013),i=r(9344),o=r(2769),a=r(4543).f,c=r(8696),u=r(8099),l=r(4572),f=r(3999),p=r(701),h=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,m,y,d,v,g,b,E,j=t.target,x=t.global,w=t.stat,O=t.proto,S=x?n:w?n[j]:n[j]&&n[j].prototype,A=x?u:u[j]||f(u,j,{})[j],_=A.prototype;for(y in e)s=!(r=c(x?y:j+(w?".":"#")+y,t.forced))&&S&&p(S,y),v=A[y],s&&(g=t.dontCallGetSet?(E=a(S,y))&&E.value:S[y]),d=s&&g?g:e[y],(r||O||typeof v!=typeof d)&&(b=t.bind&&s?l(d,n):t.wrap&&s?h(d):O&&o(d)?i(d):d,(t.sham||d&&d.sham||v&&v.sham)&&f(b,"sham",!0),f(A,y,b),O&&(p(u,m=j+"Prototype")||f(u,m,{}),f(u[m],y,d),t.real&&_&&(r||!_[y])&&f(_,y,d)))}},1203:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},7013:(t,e,r)=>{"use strict";var n=r(1780),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},4572:(t,e,r)=>{"use strict";var n=r(9344),s=r(814),i=r(1780),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},1780:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4713:(t,e,r)=>{"use strict";var n=r(1780),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},3410:(t,e,r)=>{"use strict";var n=r(5024),s=r(701),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},3574:(t,e,r)=>{"use strict";var n=r(6100),s=r(814);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},9344:(t,e,r)=>{"use strict";var n=r(9932),s=r(6100);t.exports=function(t){if("Function"===n(t))return s(t)}},6100:(t,e,r)=>{"use strict";var n=r(1780),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},1003:(t,e,r)=>{"use strict";var n=r(8099),s=r(1063),i=r(2769),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},967:(t,e,r)=>{"use strict";var n=r(8407),s=r(4674),i=r(3057),o=r(6625),a=r(8655)("iterator");t.exports=function(t){if(!i(t))return s(t,a)||s(t,"@@iterator")||o[n(t)]}},1613:(t,e,r)=>{"use strict";var n=r(4713),s=r(814),i=r(7235),o=r(459),a=r(967),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(s(r))return i(n(r,t));throw new c(o(t)+" is not iterable")}},4674:(t,e,r)=>{"use strict";var n=r(814),s=r(3057);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},1063:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.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:(t,e,r)=>{"use strict";var n=r(6100),s=r(2137),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},5241:t=>{"use strict";t.exports={}},3489:(t,e,r)=>{"use strict";var n=r(1003);t.exports=n("document","documentElement")},9665:(t,e,r)=>{"use strict";var n=r(5024),s=r(1203),i=r(9619);t.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(t,e,r)=>{"use strict";var n=r(6100),s=r(1203),i=r(9932),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):o(t)}:o},3507:(t,e,r)=>{"use strict";var n=r(2769),s=r(262),i=r(3491);t.exports=function(t,e,r){var o,a;return i&&n(o=e.constructor)&&o!==r&&s(a=o.prototype)&&a!==r.prototype&&i(t,a),t}},8148:(t,e,r)=>{"use strict";var n=r(262),s=r(3999);t.exports=function(t,e){n(e)&&"cause"in e&&s(t,"cause",e.cause)}},8417:(t,e,r)=>{"use strict";var n,s,i,o=r(1314),a=r(1063),c=r(262),u=r(3999),l=r(701),f=r(3753),p=r(4275),h=r(5241),m="Object already initialized",y=a.TypeError,d=a.WeakMap;if(o||f.state){var v=f.state||(f.state=new d);v.get=v.get,v.has=v.has,v.set=v.set,n=function(t,e){if(v.has(t))throw new y(m);return e.facade=t,v.set(t,e),e},s=function(t){return v.get(t)||{}},i=function(t){return v.has(t)}}else{var g=p("state");h[g]=!0,n=function(t,e){if(l(t,g))throw new y(m);return e.facade=t,u(t,g,e),e},s=function(t){return l(t,g)?t[g]:{}},i=function(t){return l(t,g)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=s(e)).type!==t)throw new y("Incompatible receiver, "+t+" required");return r}}}},2877:(t,e,r)=>{"use strict";var n=r(8655),s=r(6625),i=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||o[i]===t)}},2769:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},8696:(t,e,r)=>{"use strict";var n=r(1203),s=r(2769),i=/#|\.prototype\./,o=function(t,e){var r=c[a(t)];return r===l||r!==u&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},3057:t=>{"use strict";t.exports=function(t){return null==t}},262:(t,e,r)=>{"use strict";var n=r(2769);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},2937:(t,e,r)=>{"use strict";var n=r(262);t.exports=function(t){return n(t)||null===t}},4871:t=>{"use strict";t.exports=!0},6281:(t,e,r)=>{"use strict";var n=r(1003),s=r(2769),i=r(4317),o=r(7460),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},208:(t,e,r)=>{"use strict";var n=r(4572),s=r(4713),i=r(7235),o=r(459),a=r(2877),c=r(8130),u=r(4317),l=r(1613),f=r(967),p=r(1743),h=TypeError,m=function(t,e){this.stopped=t,this.result=e},y=m.prototype;t.exports=function(t,e,r){var d,v,g,b,E,j,x,w=r&&r.that,O=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),k=n(e,w),P=function(t){return d&&p(d,"normal",t),new m(!0,t)},M=function(t){return O?(i(t),_?k(t[0],t[1],P):k(t[0],t[1])):_?k(t,P):k(t)};if(S)d=t.iterator;else if(A)d=t;else{if(!(v=f(t)))throw new h(o(t)+" is not iterable");if(a(v)){for(g=0,b=c(t);b>g;g++)if((E=M(t[g]))&&u(y,E))return E;return new m(!1)}d=l(t,v)}for(j=S?t.next:d.next;!(x=s(j,d)).done;){try{E=M(x.value)}catch(t){p(d,"throw",t)}if("object"==typeof E&&E&&u(y,E))return E}return new m(!1)}},1743:(t,e,r)=>{"use strict";var n=r(4713),s=r(7235),i=r(4674);t.exports=function(t,e,r){var o,a;s(t);try{if(!(o=i(t,"return"))){if("throw"===e)throw r;return r}o=n(o,t)}catch(t){a=!0,o=t}if("throw"===e)throw r;if(a)throw o;return s(o),r}},1926:(t,e,r)=>{"use strict";var n=r(2621).IteratorPrototype,s=r(5780),i=r(480),o=r(1811),a=r(6625),c=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=s(n,{next:i(+!u,r)}),o(t,l,!1,!0),a[l]=c,t}},164:(t,e,r)=>{"use strict";var n=r(9098),s=r(4713),i=r(4871),o=r(3410),a=r(2769),c=r(1926),u=r(3671),l=r(3491),f=r(1811),p=r(3999),h=r(3508),m=r(8655),y=r(6625),d=r(2621),v=o.PROPER,g=o.CONFIGURABLE,b=d.IteratorPrototype,E=d.BUGGY_SAFARI_ITERATORS,j=m("iterator"),x="keys",w="values",O="entries",S=function(){return this};t.exports=function(t,e,r,o,m,d,A){c(r,e,o);var _,k,P,M=function(t){if(t===m&&V)return V;if(!E&&t&&t in R)return R[t];switch(t){case x:case w:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},T=e+" Iterator",C=!1,R=t.prototype,F=R[j]||R["@@iterator"]||m&&R[m],V=!E&&F||M(m),I="Array"===e&&R.entries||F;if(I&&(_=u(I.call(new t)))!==Object.prototype&&_.next&&(i||u(_)===b||(l?l(_,b):a(_[j])||h(_,j,S)),f(_,T,!0,!0),i&&(y[T]=S)),v&&m===w&&F&&F.name!==w&&(!i&&g?p(R,"name",w):(C=!0,V=function(){return s(F,this)})),m)if(k={values:M(w),keys:d?V:M(x),entries:M(O)},A)for(P in k)(E||C||!(P in R))&&h(R,P,k[P]);else n({target:e,proto:!0,forced:E||C},k);return i&&!A||R[j]===V||h(R,j,V,{name:m}),y[e]=V,k}},2621:(t,e,r)=>{"use strict";var n,s,i,o=r(1203),a=r(2769),c=r(262),u=r(5780),l=r(3671),f=r(3508),p=r(8655),h=r(4871),m=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):y=!0),!c(n)||o((function(){var t={};return n[m].call(t)!==t}))?n={}:h&&(n=u(n)),a(n[m])||f(n,m,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},6625:t=>{"use strict";t.exports={}},8130:(t,e,r)=>{"use strict";var n=r(8146);t.exports=function(t){return n(t.length)}},5777:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},4879:(t,e,r)=>{"use strict";var n=r(1139);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},5780:(t,e,r)=>{"use strict";var n,s=r(7235),i=r(7389),o=r(9683),a=r(5241),c=r(3489),u=r(9619),l=r(4275),f="prototype",p="script",h=l("IE_PROTO"),m=function(){},y=function(t){return"<"+p+">"+t+"</"+p+">"},d=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;v="undefined"!=typeof document?document.domain&&n?d(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F):d(n);for(var s=o.length;s--;)delete v[f][o[s]];return v()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(m[f]=s(t),r=new m,m[f]=null,r[h]=t):r=v(),void 0===e?r:i.f(r,e)}},7389:(t,e,r)=>{"use strict";var n=r(5024),s=r(1330),i=r(9989),o=r(7235),a=r(3273),c=r(8364);e.f=n&&!s?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=c(e),u=s.length,l=0;u>l;)i.f(t,r=s[l++],n[r]);return t}},9989:(t,e,r)=>{"use strict";var n=r(5024),s=r(9665),i=r(1330),o=r(7235),a=r(5341),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=l(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},4543:(t,e,r)=>{"use strict";var n=r(5024),s=r(4713),i=r(7161),o=r(480),a=r(3273),c=r(5341),u=r(701),l=r(9665),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=c(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return o(!s(i.f,t,e),t[e])}},5116:(t,e,r)=>{"use strict";var n=r(8600),s=r(9683).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},7313:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},3671:(t,e,r)=>{"use strict";var n=r(701),s=r(2769),i=r(2137),o=r(4275),a=r(2871),c=o("IE_PROTO"),u=Object,l=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},4317:(t,e,r)=>{"use strict";var n=r(6100);t.exports=n({}.isPrototypeOf)},8600:(t,e,r)=>{"use strict";var n=r(6100),s=r(701),i=r(3273),o=r(1005).indexOf,a=r(5241),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&c(l,r);for(;e.length>u;)s(n,r=e[u++])&&(~o(l,r)||c(l,r));return l}},8364:(t,e,r)=>{"use strict";var n=r(8600),s=r(9683);t.exports=Object.keys||function(t){return n(t,s)}},7161:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},3491:(t,e,r)=>{"use strict";var n=r(3574),s=r(7235),i=r(1966);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return s(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},9559:(t,e,r)=>{"use strict";var n=r(4904),s=r(8407);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},9258:(t,e,r)=>{"use strict";var n=r(4713),s=r(2769),i=r(262),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw new o("Can't convert object to primitive value")}},5691:(t,e,r)=>{"use strict";var n=r(1003),s=r(6100),i=r(5116),o=r(7313),a=r(7235),c=s([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=o.f;return r?c(e,r(t)):e}},8099:t=>{"use strict";t.exports={}},5516:(t,e,r)=>{"use strict";var n=r(9989).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},5426:(t,e,r)=>{"use strict";var n=r(3057),s=TypeError;t.exports=function(t){if(n(t))throw new s("Can't call method on "+t);return t}},1811:(t,e,r)=>{"use strict";var n=r(4904),s=r(9989).f,i=r(3999),o=r(701),a=r(9559),c=r(8655)("toStringTag");t.exports=function(t,e,r,u){var l=r?t:t&&t.prototype;l&&(o(l,c)||s(l,c,{configurable:!0,value:e}),u&&!n&&i(l,"toString",a))}},4275:(t,e,r)=>{"use strict";var n=r(8141),s=r(1268),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},3753:(t,e,r)=>{"use strict";var n=r(1063),s=r(7525),i="__core-js_shared__",o=n[i]||s(i,{});t.exports=o},8141:(t,e,r)=>{"use strict";var n=r(4871),s=r(3753);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("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:(t,e,r)=>{"use strict";var n=r(6100),s=r(9903),i=r(1139),o=r(5426),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(o(e)),p=s(r),h=f.length;return p<0||p>=h?t?"":void 0:(n=c(f,p))<55296||n>56319||p+1===h||(l=c(f,p+1))<56320||l>57343?t?a(f,p):n:t?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4603:(t,e,r)=>{"use strict";var n=r(4432),s=r(1203),i=r(1063).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(t,e,r)=>{"use strict";var n=r(9903),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},3273:(t,e,r)=>{"use strict";var n=r(1395),s=r(5426);t.exports=function(t){return n(s(t))}},9903:(t,e,r)=>{"use strict";var n=r(5777);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8146:(t,e,r)=>{"use strict";var n=r(9903),s=Math.min;t.exports=function(t){var e=n(t);return e>0?s(e,9007199254740991):0}},2137:(t,e,r)=>{"use strict";var n=r(5426),s=Object;t.exports=function(t){return s(n(t))}},493:(t,e,r)=>{"use strict";var n=r(4713),s=r(262),i=r(6281),o=r(4674),a=r(9258),c=r(8655),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,c=o(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!s(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},5341:(t,e,r)=>{"use strict";var n=r(493),s=r(6281);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},4904:(t,e,r)=>{"use strict";var n={};n[r(8655)("toStringTag")]="z",t.exports="[object z]"===String(n)},1139:(t,e,r)=>{"use strict";var n=r(8407),s=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return s(t)}},459:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},1268:(t,e,r)=>{"use strict";var n=r(6100),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},7460:(t,e,r)=>{"use strict";var n=r(4603);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(t,e,r)=>{"use strict";var n=r(5024),s=r(1203);t.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(t,e,r)=>{"use strict";var n=r(1063),s=r(2769),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},8655:(t,e,r)=>{"use strict";var n=r(1063),s=r(8141),i=r(701),o=r(1268),a=r(4603),c=r(7460),u=n.Symbol,l=s("wks"),f=c?u.for||u:u&&u.withoutSetter||o;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},6453:(t,e,r)=>{"use strict";var n=r(1003),s=r(701),i=r(3999),o=r(4317),a=r(3491),c=r(7464),u=r(5516),l=r(3507),f=r(4879),p=r(8148),h=r(4279),m=r(5024),y=r(4871);t.exports=function(t,e,r,d){var v="stackTraceLimit",g=d?2:1,b=t.split("."),E=b[b.length-1],j=n.apply(null,b);if(j){var x=j.prototype;if(!y&&s(x,"cause")&&delete x.cause,!r)return j;var w=n("Error"),O=e((function(t,e){var r=f(d?e:t,void 0),n=d?new j(t):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>g&&p(n,arguments[g]),n}));if(O.prototype=x,"Error"!==E?a?a(O,w):c(O,w,{name:!0}):m&&v in j&&(u(O,j,v),u(O,j,"prepareStackTrace")),c(O,j),!y)try{x.name!==E&&i(x,"name",E),x.constructor=O}catch(t){}return O}}},6138:(t,e,r)=>{"use strict";var n=r(9098),s=r(1003),i=r(7013),o=r(1203),a=r(6453),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},3085:(t,e,r)=>{"use strict";var n=r(9098),s=r(4317),i=r(3671),o=r(3491),a=r(7464),c=r(5780),u=r(3999),l=r(480),f=r(8148),p=r(4279),h=r(208),m=r(4879),y=r(8655)("toStringTag"),d=Error,v=[].push,g=function(t,e){var r,n=s(b,this);o?r=o(new d,n?i(this):b):(r=n?this:c(b),u(r,y,"Error")),void 0!==e&&u(r,"message",m(e)),p(r,g,r.stack,1),arguments.length>2&&f(r,arguments[2]);var a=[];return h(t,v,{that:a}),u(r,"errors",a),r};o?o(g,d):a(g,d,{name:!0});var b=g.prototype=c(d.prototype,{constructor:l(1,g),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},5695:(t,e,r)=>{"use strict";r(3085)},7447:(t,e,r)=>{"use strict";var n=r(3273),s=r(8137),i=r(6625),o=r(8417),a=r(9989).f,c=r(164),u=r(877),l=r(4871),f=r(5024),p="Array Iterator",h=o.set,m=o.getterFor(p);t.exports=c(Array,"Array",(function(t,e){h(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=m(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)}),"values");var y=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==y.name)try{a(y,"name",{value:"values"})}catch(t){}},484:(t,e,r)=>{"use strict";var n=r(9098),s=r(1063),i=r(7013),o=r(6453),a="WebAssembly",c=s[a],u=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=o(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(t,e){if(c&&c[t]){var r={};r[t]=o(a+"."+t,e,u),n({target:a,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},3832:(t,e,r)=>{"use strict";var n=r(5571).charAt,s=r(1139),i=r(8417),o=r(164),a=r(877),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(t){u(this,{type:c,string:s(t),index:0})}),(function(){var t,e=l(this),r=e.string,s=e.index;return s>=r.length?a(void 0,!0):(t=n(r,s),e.index+=t.length,a(t,!1))}))},5442:(t,e,r)=>{"use strict";r(5695)},85:(t,e,r)=>{"use strict";r(7447);var n=r(1100),s=r(1063),i=r(1811),o=r(6625);for(var a in n)i(s[a],a),o[a]=o.Array},239:(t,e,r)=>{"use strict";r(5442);var n=r(6656);r(85),t.exports=n}},e={};function r(n){var s=e[n];if(void 0!==s)return s.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n={};return(()=>{"use strict";r.r(n),r.d(n,{ApiDesignSystemsMediaTypes:()=>_t,FallbackVisitor:()=>mn,FixedFieldsVisitor:()=>dn,InfoElement:()=>yr,MainElement:()=>vr,PrincipleElement:()=>br,RequirementElement:()=>jr,RequirementLevelElement:()=>wr,ScenarioElement:()=>Sr,SpecificationVisitor:()=>yn,StandardElement:()=>_r,StandardIdentifierElement:()=>Pr,Visitor:()=>hn,default:()=>Mr,getNodeType:()=>vn,isArrayElement:()=>it,isBooleanElement:()=>nt,isElement:()=>Q,isInfoElement:()=>Jr,isLinkElement:()=>at,isMainElement:()=>Xr,isMemberElement:()=>ot,isNullElement:()=>rt,isNumberElement:()=>et,isObjectElement:()=>st,isPrincipleElement:()=>Zr,isRefElement:()=>ct,isRequirementElement:()=>Qr,isRequirementLevelElement:()=>tn,isScenarioElement:()=>en,isStandardElement:()=>rn,isStandardIdentifierElement:()=>nn,isStringElement:()=>tt,keyMap:()=>gn,mediaTypes:()=>kt,refractPluginOpenApi3_1StandardIdentifierAccessors:()=>Lr,refractPluginOpenApi3_1StandardIdentifierSelectors:()=>Br,validateOpenAPI3_1:()=>Yr});var t={};r.r(t),r.d(t,{hasElementSourceMap:()=>mt,includesClasses:()=>dt,includesSymbols:()=>yt,isAnnotationElement:()=>ut,isArrayElement:()=>it,isBooleanElement:()=>nt,isCommentElement:()=>lt,isElement:()=>Q,isLinkElement:()=>at,isMemberElement:()=>ot,isNullElement:()=>rt,isNumberElement:()=>et,isObjectElement:()=>st,isParseResultElement:()=>ft,isPrimitiveElement:()=>ht,isRefElement:()=>ct,isSourceMapElement:()=>pt,isStringElement:()=>tt});var e=r(8326);function s(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function i(t){return function e(r){return 0===arguments.length||s(r)?e:t.apply(this,arguments)}}function o(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return s(r)?e:i((function(e){return t(r,e)}));default:return s(r)&&s(n)?e:s(r)?i((function(e){return t(e,n)})):s(n)?i((function(e){return t(r,e)})):t(r,n)}}}const a=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function c(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!a(n)){for(var s=0;s<t.length;){if("function"==typeof n[t[s]])return n[t[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}const u=function(){return this.xf["@@transducer/init"]()},l=function(t){return this.xf["@@transducer/result"](t)};var f=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=u,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){var r;return this.f(e)||(this.all=!1,t=(r=this.xf["@@transducer/step"](t,!1))&&r["@@transducer/reduced"]?r:{"@@transducer/value":r,"@@transducer/reduced":!0}),t},t}();function p(t){return function(e){return new f(t,e)}}const h=o(c(["all"],p,(function(t,e){for(var r=0;r<e.length;){if(!t(e[r]))return!1;r+=1}return!0})));function m(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,s){return e.apply(this,arguments)};case 5:return function(t,r,n,s,i){return e.apply(this,arguments)};case 6:return function(t,r,n,s,i,o){return e.apply(this,arguments)};case 7:return function(t,r,n,s,i,o,a){return e.apply(this,arguments)};case 8:return function(t,r,n,s,i,o,a,c){return e.apply(this,arguments)};case 9:return function(t,r,n,s,i,o,a,c,u){return e.apply(this,arguments)};case 10:return function(t,r,n,s,i,o,a,c,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function y(t,e,r){return function(){for(var n=[],i=0,o=t,a=0,c=!1;a<e.length||i<arguments.length;){var u;a<e.length&&(!s(e[a])||i>=arguments.length)?u=e[a]:(u=arguments[i],i+=1),n[a]=u,s(u)?c=!0:o-=1,a+=1}return!c&&o<=0?r.apply(this,n):m(Math.max(0,o),y(t,n,r))}}const d=o((function(t,e){return 1===t?i(e):m(t,y(t,[],e))}));const v=i((function(t){return d(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}));function g(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function b(t,e,r){for(var n=0,s=r.length;n<s;){if(t(e,r[n]))return!0;n+=1}return!1}function E(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const j="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var x=Object.prototype.toString;const w=function(){return"[object Arguments]"===x.call(arguments)?function(t){return"[object Arguments]"===x.call(t)}:function(t){return E("callee",t)}}();var O=!{toString:null}.propertyIsEnumerable("toString"),S=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],A=function(){return arguments.propertyIsEnumerable("length")}(),_=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},k="function"!=typeof Object.keys||A?i((function(t){if(Object(t)!==t)return[];var e,r,n=[],s=A&&w(t);for(e in t)!E(e,t)||s&&"length"===e||(n[n.length]=e);if(O)for(r=S.length-1;r>=0;)E(e=S[r],t)&&!_(n,e)&&(n[n.length]=e),r-=1;return n})):i((function(t){return Object(t)!==t?[]:Object.keys(t)}));const P=k;const M=i((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function T(t,e,r,n){var s=g(t);function i(t,e){return C(t,e,r.slice(),n.slice())}return!b((function(t,e){return!b(i,e,t)}),g(e),s)}function C(t,e,r,n){if(j(t,e))return!0;var s,i,o=M(t);if(o!==M(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(s=t.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!j(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!j(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(o){case"Map":return t.size===e.size&&T(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&T(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=P(t);if(c.length!==P(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(a=c.length-1;a>=0;){var f=c[a];if(!E(f,e)||!C(e[f],t[f],u,l))return!1;a-=1}return!0}const R=o((function(t,e){return C(t,e,[],[])}));function F(t,e){return function(t,e,r){var n,s;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(s=t[r])&&1/s===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(s=t[r])&&s!=s)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(R(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}const V=o(F);const I=v(V);class q extends e.Om{constructor(t,e,r){super(t,e,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(t){this.attributes.set("code",t)}}const N=q;class B extends e.Om{constructor(t,e,r){super(t,e,r),this.element="comment"}}const L=B;var z=i((function(t){return function(){return t}}))(void 0);const D=R(z());class G extends e.wE{constructor(t,e,r){super(t,e,r),this.element="parseResult"}get api(){return this.children.filter((t=>t.classes.contains("api"))).first}get results(){return this.children.filter((t=>t.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((t=>"annotation"===t.element))}get warnings(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("warning")))}get errors(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("error")))}get isEmpty(){return this.children.reject((t=>"annotation"===t.element)).isEmpty}replaceResult(t){const{result:e}=this;if(D(e))return!1;const r=this.content.findIndex((t=>t===e));return-1!==r&&(this.content[r]=t,!0)}}const U=G;class K extends e.wE{constructor(t,e,r){super(t,e,r),this.element="sourceMap"}get positionStart(){return this.children.filter((t=>t.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((t=>t.classes.contains("position"))).get(1)}set position(t){if(void 0===t)return;const r=new e.wE([t.start.row,t.start.column,t.start.char]),n=new e.wE([t.end.row,t.end.column,t.end.char]);r.classes.push("position"),n.classes.push("position"),this.push(r).push(n)}}const $=K,W=(t,e)=>"object"==typeof e&&null!==e&&t in e&&"function"==typeof e[t],H=t=>"object"==typeof t&&null!=t&&"_storedElement"in t&&"string"==typeof t._storedElement&&"_content"in t,Y=(t,e)=>"object"==typeof e&&null!==e&&"primitive"in e&&("function"==typeof e.primitive&&e.primitive()===t),X=(t,r)=>"object"==typeof r&&null!==r&&"classes"in r&&(Array.isArray(r.classes)||r.classes instanceof e.wE)&&r.classes.includes(t),J=(t,e)=>"object"==typeof e&&null!==e&&"element"in e&&e.element===t,Z=t=>t({hasMethod:W,hasBasicElementProps:H,primitiveEq:Y,isElementType:J,hasClass:X}),Q=Z((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.Hg||t(n)&&r(void 0,n))),tt=Z((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.Om||t(n)&&r("string",n))),et=Z((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.kT||t(n)&&r("number",n))),rt=Z((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.Os||t(n)&&r("null",n))),nt=Z((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.bd||t(n)&&r("boolean",n))),st=Z((({hasBasicElementProps:t,primitiveEq:r,hasMethod:n})=>s=>s instanceof e.Sh||t(s)&&r("object",s)&&n("keys",s)&&n("values",s)&&n("items",s))),it=Z((({hasBasicElementProps:t,primitiveEq:r,hasMethod:n})=>s=>s instanceof e.wE&&!(s instanceof e.Sh)||t(s)&&r("array",s)&&n("push",s)&&n("unshift",s)&&n("map",s)&&n("reduce",s))),ot=Z((({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>s=>s instanceof e.Pr||t(s)&&r("member",s)&&n(void 0,s))),at=Z((({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>s=>s instanceof e.Ft||t(s)&&r("link",s)&&n(void 0,s))),ct=Z((({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>s=>s instanceof e.sI||t(s)&&r("ref",s)&&n(void 0,s))),ut=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof N||t(n)&&e("annotation",n)&&r("array",n))),lt=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof L||t(n)&&e("comment",n)&&r("string",n))),ft=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof U||t(n)&&e("parseResult",n)&&r("array",n))),pt=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof $||t(n)&&e("sourceMap",n)&&r("array",n))),ht=t=>J("object",t)||J("array",t)||J("boolean",t)||J("number",t)||J("string",t)||J("null",t)||J("member",t),mt=t=>pt(t.meta.get("sourceMap")),yt=(t,e)=>{if(0===t.length)return!0;const r=e.attributes.get("symbols");return!!it(r)&&h(I(r.toValue()),t)},dt=(t,e)=>0===t.length||h(I(e.classes.toValue()),t);function vt(t){return"[object String]"===Object.prototype.toString.call(t)}const gt=o((function(t,e){var r=t<0?e.length+t:t;return vt(e)?e.charAt(r):e[r]}));const bt=gt(-1);var Et=r(1212);const jt=class extends Et{constructor(t,e,r){if(super(t,e,r),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!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:t}=r;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}};class xt extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call(jt,t)}constructor(t,e){if(super(t,e),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!=e&&"object"==typeof e&&Object.hasOwn(e,"cause")&&!("cause"in this)){const{cause:t}=e;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}}const wt=xt;const Ot=class extends wt{};const St=class extends Ot{};const At=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new St("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new St("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new St("latest method in MediaTypes class is not yet implemented.")}};class _t extends At{filterByFormat(t="generic"){const e="generic"===t?"apidesignsystems;version":t;return this.filter((t=>t.includes(e)))}findBy(t="2021-05-07",e="generic"){const r="generic"===e?`apidesignsystems;version=${t}`:`apidesignsystems+${e};version=${t}`;return this.find((t=>t.includes(r)))||this.unknownMediaType}latest(t="generic"){return bt(this.filterByFormat(t))}}const kt=new _t("application/vnd.aai.apidesignsystems;version=2021-05-07","application/vnd.aai.apidesignsystems+json;version=2021-05-07","application/vnd.aai.apidesignsystems+yaml;version=2021-05-07");function Pt(t){return function e(r,n,a){switch(arguments.length){case 0:return e;case 1:return s(r)?e:o((function(e,n){return t(r,e,n)}));case 2:return s(r)&&s(n)?e:s(r)?o((function(e,r){return t(e,n,r)})):s(n)?o((function(e,n){return t(r,e,n)})):i((function(e){return t(r,n,e)}));default:return s(r)&&s(n)&&s(a)?e:s(r)&&s(n)?o((function(e,r){return t(e,r,a)})):s(r)&&s(a)?o((function(e,r){return t(e,n,r)})):s(n)&&s(a)?o((function(e,n){return t(r,e,n)})):s(r)?i((function(e){return t(e,n,a)})):s(n)?i((function(e){return t(r,e,a)})):s(a)?i((function(e){return t(r,n,e)})):t(r,n,a)}}}function Mt(t){return"[object Object]"===Object.prototype.toString.call(t)}const Tt=Pt((function(t,e,r){var n,s={};for(n in r=r||{},e=e||{})E(n,e)&&(s[n]=E(n,r)?t(n,e[n],r[n]):e[n]);for(n in r)E(n,r)&&!E(n,s)&&(s[n]=r[n]);return s}));const Ct=Pt((function t(e,r,n){return Tt((function(r,n,s){return Mt(n)&&Mt(s)?t(e,n,s):e(r,n,s)}),r,n)}));const Rt=o((function(t,e){return Ct((function(t,e,r){return r}),t,e)}));const Ft=o((function(t,e){return null==e||e!=e?t:e})),Vt=Number.isInteger||function(t){return t<<0===t};const It=o((function(t,e){if(null!=e)return Vt(t)?gt(t,e):e[t]}));const qt=Pt((function(t,e,r){return Ft(t,It(e,r))}));const Nt=o((function(t,e){return t.map((function(t){for(var r,n=e,s=0;s<t.length;){if(null==n)return;r=t[s],n=Vt(r)?gt(r,n):n[r],s+=1}return n}))}));const Bt=o((function(t,e){return Nt([t],e)[0]}));function Lt(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return a(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const zt=Pt(Lt("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const Dt=zt(0,-1);const Gt=o((function(t,e){return m(t.length,(function(){return t.apply(e,arguments)}))}));const Ut=o((function(t,e){return t.apply(this,e)}));function Kt(t,e,r){for(var n=0,s=r.length;n<s;)e=t(e,r[n]),n+=1;return e}const $t=i((function(t){return!!a(t)||!!t&&("object"==typeof t&&(!vt(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var Wt="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ht(t,e,r){return function(n,s,i){if($t(i))return t(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return e(n,s,i,"fantasy-land/reduce");if(null!=i[Wt])return r(n,s,i[Wt]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return e(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Yt(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function Xt(t,e,r,n){return r[n](t,e)}const Jt=Ht(Kt,Xt,Yt);function Zt(t,e){for(var r=0,n=e.length,s=Array(n);r<n;)s[r]=t(e[r]),r+=1;return s}var Qt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=u,t.prototype["@@transducer/result"]=l,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const te=o(c(["fantasy-land/map","map"],(function(t){return function(e){return new Qt(t,e)}}),(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return d(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return Kt((function(r,n){return r[n]=t(e[n]),r}),{},P(e));default:return Zt(t,e)}})));const ee=o((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:Jt((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,s=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<s;)i[i.length]=e[r],r+=1;return i}(t,te(r,e))}),[],t)}));const re=o((function(t,e){var r=d(t,e);return d(t,(function(){return Kt(ee,te(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const ne=i((function(t){return re(t.length,t)}));const se=ne(i((function(t){return!t})));function ie(t){return'"'+t.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 oe=function(t){return(t<10?"0":"")+t};const ae="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+oe(t.getUTCMonth()+1)+"-"+oe(t.getUTCDate())+"T"+oe(t.getUTCHours())+":"+oe(t.getUTCMinutes())+":"+oe(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var ce=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=u,t.prototype["@@transducer/result"]=l,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function ue(t){return function(e){return new ce(t,e)}}const le=o(c(["fantasy-land/filter","filter"],ue,(function(t,e){return Mt(e)?Kt((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},P(e)):function(t,e){for(var r=0,n=e.length,s=[];r<n;)t(e[r])&&(s[s.length]=e[r]),r+=1;return s}(t,e)})));const fe=o((function(t,e){return le((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function pe(t,e){var r=function(r){var n=e.concat([t]);return F(r,n)?"<Circular>":pe(r,n)},n=function(t,e){return Zt((function(e){return ie(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Zt(r,t).join(", ")+"))";case"[object Array]":return"["+Zt(r,t).concat(n(t,fe((function(t){return/^\d+$/.test(t)}),P(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):ie(ae(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":ie(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var s=t.toString();if("[object Object]"!==s)return s}return"{"+n(t,P(t)).join(", ")+"}"}}const he=i((function(t){return pe(t,[])}));const me=o((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var s=r(typeof t,typeof e);if(void 0!==s)return s===typeof t?t:e;var i=he(t),o=r(i,he(e));return void 0!==o&&o===i?t:e}));const ye=o((function(t,e){return te(It(t),e)}));function de(t,e,r){for(var n=0,s=r.length;n<s;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}function ve(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function ge(t,e,r,n){return t["@@transducer/result"](r[n](Gt(t["@@transducer/step"],t),e))}const be=Ht(de,ge,ve);var Ee=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();const je=Pt((function(t,e,r){return be("function"==typeof t?new Ee(t):t,e,r)}));const xe=i((function(t){return d(je(me,0,ye("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function we(t,e){return function(){return e.call(this,t.apply(this,arguments))}}const Oe=i(Lt("tail",zt(1,1/0)));function Se(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return m(arguments[0].length,je(we,arguments[0],Oe(arguments)))}var Ae=function(t,e){switch(arguments.length){case 0:return Ae;case 1:return function e(r){return 0===arguments.length?e:j(t,r)};default:return j(t,e)}};const _e=Ae;const ke=d(1,Se(M,_e("GeneratorFunction")));const Pe=d(1,Se(M,_e("AsyncFunction")));const Me=xe([Se(M,_e("Function")),ke,Pe]);const Te=se(Me);const Ce=o((function(t,e){return t&&e}));var Re=o((function(t,e){return function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:ne(Ce)(t,e)}));const Fe=Re;var Ve=i((function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():a(t)?[]:vt(t)?"":Mt(t)?{}:w(t)?function(){return arguments}():function(t){var e=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===e||"[object Int8Array]"===e||"[object Uint8Array]"===e||"[object Int16Array]"===e||"[object Uint16Array]"===e||"[object Int32Array]"===e||"[object Uint32Array]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object BigInt64Array]"===e||"[object BigUint64Array]"===e}(t)?t.constructor.from(""):void 0}));const Ie=Ve;const qe=i((function(t){return null!=t&&R(t,Ie(t))}));const Ne=Fe(d(1,Me(Array.isArray)?Array.isArray:Se(M,_e("Array"))),qe);const Be=d(3,(function(t,e,r){var n=Bt(t,r),s=Bt(Dt(t),r);if(!Te(n)&&!Ne(t)){var i=Gt(n,s);return Ut(i,e)}}));class Le extends e.g${constructor(){super(),this.register("annotation",N),this.register("comment",L),this.register("parseResult",U),this.register("sourceMap",$)}}const ze=new Le,De=()=>({predicates:{...t},namespace:ze});const Ge=d(1,Se(M,_e("String")));const Ue=class extends wt{constructor(t,e){if(super(t,e),null!=e&&"object"==typeof e){const{cause:t,...r}=e;Object.assign(this,r)}}},Ke=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},$e={},We=t=>null==t?void 0:t.type,He=t=>"string"==typeof We(t),Ye=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),Xe=(t,{visitFnGetter:e=Ke,nodeTypeGetter:r=We,breakSymbol:n=$e,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(t.length).fill(a);return{enter(u,...l){let f=u,p=!1;for(let h=0;h<t.length;h+=1)if(c[h]===a){const a=e(t[h],r(f),!1);if("function"==typeof a){const e=a.call(t[h],f,...l);if("function"==typeof(null==e?void 0:e.then))throw new Ue("Async visitor not supported in sync mode",{visitor:t[h],visitFn:a});if(e===i)c[h]=u;else if(e===n)c[h]=n;else{if(e===s)return e;if(void 0!==e){if(!o)return e;f=e,p=!0}}}}return p?f:void 0},leave(s,...o){for(let u=0;u<t.length;u+=1)if(c[u]===a){const a=e(t[u],r(s),!0);if("function"==typeof a){const e=a.call(t[u],s,...o);if("function"==typeof(null==e?void 0:e.then))throw new Ue("Async visitor not supported in sync mode",{visitor:t[u],visitFn:a});if(e===n)c[u]=n;else if(void 0!==e&&e!==i)return e}}else c[u]===s&&(c[u]=a)}}};Xe[Symbol.for("nodejs.util.promisify.custom")]=(t,{visitFnGetter:e=Ke,nodeTypeGetter:r=We,breakSymbol:n=$e,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(t.length).fill(a);return{async enter(u,...l){let f=u,p=!1;for(let h=0;h<t.length;h+=1)if(c[h]===a){const a=e(t[h],r(f),!1);if("function"==typeof a){const e=await a.call(t[h],f,...l);if(e===i)c[h]=u;else if(e===n)c[h]=n;else{if(e===s)return e;if(void 0!==e){if(!o)return e;f=e,p=!0}}}}return p?f:void 0},async leave(s,...o){for(let u=0;u<t.length;u+=1)if(c[u]===a){const a=e(t[u],r(s),!0);if("function"==typeof a){const e=await a.call(t[u],s,...o);if(e===n)c[u]=n;else if(void 0!==e&&e!==i)return e}}else c[u]===s&&(c[u]=a)}}};const Je=(t,e,{keyMap:r=null,state:n={},breakSymbol:s=$e,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Ke,nodeTypeGetter:c=We,nodePredicate:u=He,nodeCloneFn:l=Ye,detectCycles:f=!0}={})=>{const p=r||{};let h,m,y=Array.isArray(t),d=[t],v=-1,g=[],b=t;const E=[],j=[];do{v+=1;const t=v===d.length;let r;const O=t&&0!==g.length;if(t){if(r=0===j.length?void 0:E.pop(),b=m,m=j.pop(),O)if(y){b=b.slice();let t=0;for(const[e,r]of g){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of g)b[t]=e}v=h.index,d=h.keys,g=h.edits,y=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=y?v:d[v],b=m[r],b===i||void 0===b)continue;E.push(r)}let S;if(!Array.isArray(b)){var x;if(!u(b))throw new Ue(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&j.includes(b)){E.pop();continue}const i=a(e,c(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;S=i.call(e,b,r,m,E,j)}if("function"==typeof(null===(x=S)||void 0===x?void 0:x.then))throw new Ue("Async visitor not supported in sync mode",{visitor:e,visitFn:i});if(S===s)break;if(S===o){if(!t){E.pop();continue}}else if(void 0!==S&&(g.push([r,S]),!t)){if(!u(S)){E.pop();continue}b=S}}var w;if(void 0===S&&O&&g.push([r,b]),!t)h={inArray:y,index:v,keys:d,edits:g,prev:h},y=Array.isArray(b),d=y?b:null!==(w=p[c(b)])&&void 0!==w?w:[],v=-1,g=[],m!==i&&void 0!==m&&j.push(m),m=b}while(void 0!==h);return 0!==g.length?g[g.length-1][1]:t};Je[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:s=$e,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Ke,nodeTypeGetter:c=We,nodePredicate:u=He,nodeCloneFn:l=Ye,detectCycles:f=!0}={})=>{const p=r||{};let h,m,y=Array.isArray(t),d=[t],v=-1,g=[],b=t;const E=[],j=[];do{v+=1;const t=v===d.length;let r;const w=t&&0!==g.length;if(t){if(r=0===j.length?void 0:E.pop(),b=m,m=j.pop(),w)if(y){b=b.slice();let t=0;for(const[e,r]of g){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of g)b[t]=e}v=h.index,d=h.keys,g=h.edits,y=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=y?v:d[v],b=m[r],b===i||void 0===b)continue;E.push(r)}let O;if(!Array.isArray(b)){if(!u(b))throw new Ue(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&j.includes(b)){E.pop();continue}const i=a(e,c(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=await i.call(e,b,r,m,E,j)}if(O===s)break;if(O===o){if(!t){E.pop();continue}}else if(void 0!==O&&(g.push([r,O]),!t)){if(!u(O)){E.pop();continue}b=O}}var x;if(void 0===O&&w&&g.push([r,b]),!t)h={inArray:y,index:v,keys:d,edits:g,prev:h},y=Array.isArray(b),d=y?b:null!==(x=p[c(b)])&&void 0!==x?x:[],v=-1,g=[],m!==i&&void 0!==m&&j.push(m),m=b}while(void 0!==h);return 0!==g.length?g[g.length-1][1]:t};const Ze=class extends Ue{value;constructor(t,e){super(t,e),void 0!==e&&(this.value=e.value)}};const Qe=class extends Ze{};const tr=class extends Ze{},er=(t,r={})=>{const{visited:n=new WeakMap}=r,s={...r,visited:n};if(n.has(t))return n.get(t);if(t instanceof e.KeyValuePair){const{key:r,value:i}=t,o=Q(r)?er(r,s):r,a=Q(i)?er(i,s):i,c=new e.KeyValuePair(o,a);return n.set(t,c),c}if(t instanceof e.ot){const r=t=>er(t,s),i=[...t].map(r),o=new e.ot(i);return n.set(t,o),o}if(t instanceof e.G6){const r=t=>er(t,s),i=[...t].map(r),o=new e.G6(i);return n.set(t,o),o}if(Q(t)){const r=sr(t);if(n.set(t,r),t.content)if(Q(t.content))r.content=er(t.content,s);else if(t.content instanceof e.KeyValuePair)r.content=er(t.content,s);else if(Array.isArray(t.content)){const e=t=>er(t,s);r.content=t.content.map(e)}else r.content=t.content;else r.content=t.content;return r}throw new Qe("Value provided to cloneDeep function couldn't be cloned",{value:t})};er.safe=t=>{try{return er(t)}catch{return t}};const rr=t=>{const{key:r,value:n}=t;return new e.KeyValuePair(r,n)},nr=t=>{const r=new t.constructor;if(r.element=t.element,t.meta.length>0&&(r._meta=er(t.meta)),t.attributes.length>0&&(r._attributes=er(t.attributes)),Q(t.content)){const e=t.content;r.content=nr(e)}else Array.isArray(t.content)?r.content=[...t.content]:t.content instanceof e.KeyValuePair?r.content=rr(t.content):r.content=t.content;return r},sr=t=>{if(t instanceof e.KeyValuePair)return rr(t);if(t instanceof e.ot)return(t=>{const r=[...t];return new e.ot(r)})(t);if(t instanceof e.G6)return(t=>{const r=[...t];return new e.G6(r)})(t);if(Q(t))return nr(t);throw new tr("Value provided to cloneShallow function couldn't be cloned",{value:t})};sr.safe=t=>{try{return sr(t)}catch{return t}};const ir=t=>st(t)?"ObjectElement":it(t)?"ArrayElement":ot(t)?"MemberElement":tt(t)?"StringElement":nt(t)?"BooleanElement":et(t)?"NumberElement":rt(t)?"NullElement":at(t)?"LinkElement":ct(t)?"RefElement":void 0,or=t=>Q(t)?sr(t):Ye(t),ar=Se(ir,Ge),cr={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const ur=(t,e,{keyMap:r=cr,...n}={})=>Je(t,e,{keyMap:r,nodeTypeGetter:ir,nodePredicate:ar,nodeCloneFn:or,...n});ur[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=cr,...n}={})=>Je[Symbol.for("nodejs.util.promisify.custom")](t,e,{keyMap:r,nodeTypeGetter:ir,nodePredicate:ar,nodeCloneFn:or,...n});const lr={toolboxCreator:De,visitorOptions:{nodeTypeGetter:ir,exposeEdits:!0}},fr=(t,e,r={})=>{if(0===e.length)return t;const n=Rt(lr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),a=e.map((t=>t(o))),c=Xe(a.map(qt({},"visitor")),{...i});a.forEach(Be(["pre"],[]));const u=ur(t,c,i);return a.forEach(Be(["post"],[])),u};fr[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,r={})=>{if(0===e.length)return t;const n=Rt(lr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),a=e.map((t=>t(o))),c=Xe[Symbol.for("nodejs.util.promisify.custom")],u=ur[Symbol.for("nodejs.util.promisify.custom")],l=c(a.map(qt({},"visitor")),{...i});await Promise.allSettled(a.map(Be(["pre"],[])));const f=await u(t,l,i);return await Promise.allSettled(a.map(Be(["post"],[]))),f};const pr=(t,{Type:e,plugins:r=[]})=>{const n=new e(t);return Q(t)&&(t.meta.length>0&&(n.meta=er(t.meta)),t.attributes.length>0&&(n.attributes=er(t.attributes))),fr(n,r,{toolboxCreator:De,visitorOptions:{nodeTypeGetter:ir}})},hr=t=>(e,r={})=>pr(e,{...r,Type:t});e.Sh.refract=hr(e.Sh),e.wE.refract=hr(e.wE),e.Om.refract=hr(e.Om),e.bd.refract=hr(e.bd),e.Os.refract=hr(e.Os),e.kT.refract=hr(e.kT),e.Ft.refract=hr(e.Ft),e.sI.refract=hr(e.sI),N.refract=hr(N),L.refract=hr(L),U.refract=hr(U),$.refract=hr($);class mr extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="info"}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}}const yr=mr;class dr extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="main",this.classes.push("api")}get version(){return this.get("version")}set version(t){this.set("version",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get principles(){return this.get("principles")}set principles(t){this.set("principles",t)}get standards(){return this.get("standards")}set standards(t){this.set("standards",t)}get scenarios(){return this.get("scenarios")}set scenarios(t){this.set("scenarios",t)}}const vr=dr;class gr extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="principle"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const br=gr;class Er extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="requirement"}get subject(){return this.get("subject")}set subject(t){this.set("subject",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}get values(){return this.get("values")}set values(t){this.set("values",t)}get follows(){return this.get("follows")}set follows(t){this.set("follows",t)}}const jr=Er;class xr extends e.Om{constructor(t,e,r){super(t,e,r),this.element="requirementLevel"}}const wr=xr;class Or extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="scenario"}get description(){return this.get("description")}set description(t){this.set("description",t)}get when(){return this.get("when")}set when(t){this.set("when",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}}const Sr=Or;class Ar extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="standard"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const _r=Ar;class kr extends e.wE{constructor(t,e,r){super(t,e,r),this.element="standardIdentifier"}}const Pr=kr,Mr={namespace:t=>{const{base:e}=t;return e.register("info",yr),e.register("main",vr),e.register("principle",br),e.register("requirement",jr),e.register("requirementLevel",wr),e.register("scenario",Sr),e.register("standard",_r),e.register("standardIdentifier",Pr),e}};const Tr=function(){return!0},Cr=t=>"string"==typeof(null==t?void 0:t.type)?t.type:ir(t),Rr={EphemeralObject:["content"],EphemeralArray:["content"],...cr},Fr=(t,e,{keyMap:r=Rr,...n}={})=>ur(t,e,{keyMap:r,nodeTypeGetter:Cr,nodePredicate:Tr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});Fr[Symbol.for("nodejs.util.promisify.custom")]=async(t,{keyMap:e=Rr,...r}={})=>ur[Symbol.for("nodejs.util.promisify.custom")](t,visitor,{keyMap:e,nodeTypeGetter:Cr,nodePredicate:Tr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const Vr=class{type="EphemeralArray";content=[];reference=void 0;constructor(t){this.content=t,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const Ir=class{type="EphemeralObject";content=[];reference=void 0;constructor(t){this.content=t,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class qr{ObjectElement={enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const e=new Ir(t.content);return this.references.set(t,e),e}};EphemeralObject={leave:t=>t.toObject()};MemberElement={enter:t=>[t.key,t.value]};ArrayElement={enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const e=new Vr(t.content);return this.references.set(t,e),e}};EphemeralArray={leave:t=>t.toArray()};references=new WeakMap;BooleanElement(t){return t.toValue()}NumberElement(t){return t.toValue()}StringElement(t){return t.toValue()}NullElement(){return null}RefElement(t,...e){var r;const n=e[3];return"EphemeralObject"===(null===(r=n[n.length-1])||void 0===r?void 0:r.type)?Symbol.for("delete-node"):String(t.toValue())}LinkElement(t){return tt(t.href)?t.href.toValue():""}}const Nr=t=>Q(t)?tt(t)||et(t)||nt(t)||rt(t)?t.toValue():Fr(t,new qr):t,Br=()=>()=>{let t=[],e=[];return{visitor:{OperationElement:{enter(e,...r){const[,,,n]=r,s=n[n.length-2];t.push(["http","transaction"],["http","request"],["http","request","url"],["http","request","url",Nr(s.meta.get("path"))],["http","request","method"],["http","request","method",Nr(e.meta.get("http-method")).toLowerCase()]),s?.parameters?.forEach((e=>{tt(e.in)&&tt(e.name)&&"header"===Nr(e.in)&&t.push(["http","request","header"],["http","request","header",Nr(e.name)],["http","message","header"],["http","message","header",Nr(e.name)])}))},leave(e){e.setMetaProperty("ads-s-standard-identifier",t),t=[]}},ParameterElement(e){tt(e.in)&&tt(e.name)&&"header"===Nr(e.in)&&t.push(["http","request","header"],["http","request","header",Nr(e.name)],["http","message","header"],["http","message","header",Nr(e.name)])},RequestBodyElement(e){st(e.contentProp)&&(t.push(["http","request","body"],["http","message","body"]),void 0!==e.contentProp&&st(e.contentProp)&&e.contentProp.forEach((()=>{t.push(["http","request","header"],["http","request","header","Content-Type"],["http","message","header"],["http","message","header","Content-Type"])})))},ResponseElement:{enter(t){if(e.push(["http","response"]),t.meta.hasKey("http-status-code")){const r=String(Nr(t.meta.get("http-status-code"))),n=r.startsWith("2")?"success":r.startsWith("3")?"redirect":r.startsWith("4")?"client_error":r.startsWith("5")?"sever_error":"unknown";e.push(["http","response","status_code"],["http","response","status_code",r],["http","response","status_code",n])}void 0!==t.headers&&st(t.headers)&&t.headers.forEach(((t,r)=>{const n=Nr(r);e.push(["http","response","header"],["http","response","header",n],["http","message","header",n])})),void 0!==t.contentProp&&st(t.contentProp)&&(e.push(["http","response","body"],["http","message","body"]),t.contentProp.forEach(((t,r)=>{const n=Nr(r);e.push(["http","response","header"],["http","response","header",n],["http","message","header",n])})))},leave(t){t.setMetaProperty("ads-s-standard-identifier",e),e=[]}}}}},Lr=()=>()=>({visitor:{OperationElement(t,...e){const[,,,r]=e,n=r[r.length-2],s=er(t.meta.get("http-method"));s.content=Nr(s).toLowerCase();const i=[{subject:["http","request","url"],value:n.meta.get("path")},{subject:["http","request","method"],value:s}];void 0!==n.parameters&&it(n.parameters)&&n.parameters.forEach((t=>{tt(t.in)&&tt(t.name)&&"header"===Nr(t.in)&&(i.push({subject:["http","request","header"],value:er.safe(t.name)}),i.push({subject:["http","message","header"],value:er.safe(t.name)}))})),t.setMetaProperty("ads-a-standard-identifier",i)},ParameterElement(t){tt(t.in)&&tt(t.name)&&"header"===Nr(t.in)&&t.setMetaProperty("ads-a-standard-identifier",[{subject:["http","request","header"],value:er.safe(t.name)},{subject:["http","message","header"],value:er.safe(t.name)}])},RequestBodyElement(t){if(void 0===t.contentProp||!st(t.contentProp))return;const r=[];t.contentProp.forEach(((t,n)=>{r.push({subject:["http","request","header"],value:new e.Om("Content-Type",er(n.meta))},{subject:["http","message","header"],value:new e.Om("Content-Type",er(n.meta))},{subject:["http","request","header","Content-Type"],value:er(n)},{subject:["http","message","header","Content-Type"],value:er(n)})})),t.setMetaProperty("ads-a-standard-identifier",r)},ResponseElement(t){if(!t.meta.hasKey("http-status-code"))return;const e=[{subject:["http","response","status_code"],value:er(t.meta.get("http-status-code"))}];t.setMetaProperty("ads-a-standard-identifier",e)}}}),zr=t=>{if(Q(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Dr={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...cr},Gr={keyMap:Dr,nodeTypeGetter:zr},Ur=(t,e)=>{const r=[];return ur(t,{OperationElement(t){if(!t.meta.hasKey("ads-s-standard-identifier"))return;const n=Nr(t.meta.get("ads-s-standard-identifier"));V(Nr(e),n)&&r.push(t)},ResponseElement(t){if(!t.meta.hasKey("ads-s-standard-identifier"))return;const n=Nr(t.meta.get("ads-s-standard-identifier"));V(Nr(e),n)&&r.push(t)}},Gr),r},Kr={keyMap:Dr,nodeTypeGetter:zr},$r=(t,r)=>{const n=String(Nr(r)),s=new e.wE;return ur(t,{enter(t){t.meta.hasKey("ads-a-standard-identifier")&&t.meta.get("ads-a-standard-identifier").content.filter((t=>String(Nr(t.get("subject")))===n)).forEach((t=>{s.push(t.get("value"))}))}},Kr),s},Wr=(t,e)=>{const r=[],{subject:n}=e;if(void 0===e.values)return r;if("may"===Nr(e.level)){const s=((t,e)=>null===t||e.includes(t))(Nr(t),Nr(e.values));if(!s){const s=((t,e,r)=>{const n=Nr(t),s=JSON.stringify(Nr(r));if("may"===Nr(e))return`"${n}" not allowed for subject ${s}`;throw new St('[Requirement levels] other than "may" are not yet implemented.')})(t,e.level,n),i=((t,e,r,n)=>{const s=new N(t);return s.classes.push(r),s.attributes.set("value",er(e)),s.attributes.set("standardIdentifier",er(n)),s})(s,t,"error",n);r.push(i)}}return r},Hr=(t,e)=>{const r=[],{when:n}=t,s=Ur(e,n),{then:i}=t;return void 0===i||s.forEach((t=>{i.forEach((e=>{r.push(...((t,e)=>{const{subject:r}=t,n=$r(e,r),s=[];return n.forEach((e=>{s.push(...Wr(e,t))})),s})(e,t))}))})),r},Yr=(t,e)=>{const{scenarios:r}=t,n=[];return void 0!==r&&it(r)?(r.forEach((t=>{n.push(...Hr(t,e))})),n):[]},Xr=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof vr||t(n)&&e("main",n)&&r("object",n))),Jr=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof yr||t(n)&&e("info",n)&&r("object",n))),Zr=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof br||t(n)&&e("principle",n)&&r("object",n))),Qr=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof jr||t(n)&&e("requirement",n)&&r("object",n))),tn=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof wr||t(n)&&e("requirementLevel",n)&&r("string",n))),en=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Sr||t(n)&&e("scenario",n)&&r("object",n))),rn=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof _r||t(n)&&e("standard",n)&&r("object",n))),nn=Z((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Pr||t(n)&&e("standardIdentifier",n)&&r("array",n)));const sn=o((function(t,e){for(var r={},n=0;n<t.length;)t[n]in e&&(r[t[n]]=e[t[n]]),n+=1;return r}));const on=Pt((function(t,e,r){return t(Bt(e,r))})),an=t=>{const e=t.meta.length>0?er(t.meta):void 0,r=t.attributes.length>0?er(t.attributes):void 0;return new t.constructor(void 0,e,r)},cn=(t,e)=>e.clone&&e.isMergeableElement(t)?pn(an(t),t,e):t,un=t=>"function"!=typeof t.customMetaMerge?t=>er(t):t.customMetaMerge,ln=t=>"function"!=typeof t.customAttributesMerge?t=>er(t):t.customAttributesMerge,fn={clone:!0,isMergeableElement:t=>st(t)||it(t),arrayElementMerge:(t,e,r)=>t.concat(e)["fantasy-land/map"]((t=>cn(t,r))),objectElementMerge:(t,e,r)=>{const n=st(t)?an(t):an(e);return st(t)&&t.forEach(((t,e,s)=>{const i=sr(s);i.value=cn(t,r),n.content.push(i)})),e.forEach(((e,s,i)=>{const o=Nr(s);let a;if(st(t)&&t.hasKey(o)&&r.isMergeableElement(e)){const n=t.get(o);a=sr(i),a.value=((t,e)=>{if("function"!=typeof e.customMerge)return pn;const r=e.customMerge(t,e);return"function"==typeof r?r:pn})(s,r)(n,e)}else a=sr(i),a.value=cn(e,r);n.remove(o),n.content.push(a)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function pn(t,e,r){var n,s,i;const o={...fn,...r};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:fn.isMergeableElement,o.arrayElementMerge=null!==(s=o.arrayElementMerge)&&void 0!==s?s:fn.arrayElementMerge,o.objectElementMerge=null!==(i=o.objectElementMerge)&&void 0!==i?i:fn.objectElementMerge;const a=it(e);if(!(a===it(t)))return cn(e,o);const c=a&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(t,e,o):o.objectElementMerge(t,e,o);return c.meta=un(o)(t.meta,e.meta),c.attributes=ln(o)(t.attributes,e.attributes),c}pn.all=(t,r)=>{if(!Array.isArray(t))throw new TypeError("First argument of deepmerge should be an array.");return 0===t.length?new e.Sh:t.reduce(((t,e)=>pn(t,e,r)),an(t[0]))};const hn=class{element;constructor(t={}){Object.assign(this,t)}copyMetaAndAttributes(t,e){(t.meta.length>0||e.meta.length>0)&&(e.meta=pn(e.meta,t.meta),mt(t)&&e.meta.set("sourceMap",t.meta.get("sourceMap"))),(t.attributes.length>0||t.meta.length>0)&&(e.attributes=pn(e.attributes,t.attributes))}};const mn=class extends hn{enter(t){return this.element=er(t),$e}};const yn=class extends hn{specObj;passingOptionsNames=["specObj"];constructor({specObj:t,...e}){super({...e}),this.specObj=t}retrievePassingOptions(){return sn(this.passingOptionsNames,this)}retrieveFixedFields(t){const e=Bt(["visitors",...t,"fixedFields"],this.specObj);return"object"==typeof e&&null!==e?Object.keys(e):[]}retrieveVisitor(t){return on(Me,["visitors",...t],this.specObj)?Bt(["visitors",...t],this.specObj):Bt(["visitors",...t,"$visitor"],this.specObj)}retrieveVisitorInstance(t,e={}){const r=this.retrievePassingOptions();return new(this.retrieveVisitor(t))({...r,...e})}toRefractedElement(t,e,r={}){const n=this.retrieveVisitorInstance(t,r);return n instanceof mn&&n?.constructor===mn?er(e):(ur(e,n,r),n.element)}};const dn=class extends yn{specPath;ignoredFields;constructor({specPath:t,ignoredFields:e,...r}){super({...r}),this.specPath=t,this.ignoredFields=e||[]}ObjectElement(t){const r=this.specPath(t),n=this.retrieveFixedFields(r);return t.forEach(((t,s,i)=>{if(tt(s)&&n.includes(Nr(s))&&!this.ignoredFields.includes(Nr(s))){const n=this.toRefractedElement([...r,"fixedFields",Nr(s)],t),o=new e.Pr(er(s),n);o.classes.push("fixed-field"),this.copyMetaAndAttributes(i,o),this.element.content.push(o)}else this.ignoredFields.includes(Nr(s))||this.element.content.push(er(i))})),this.copyMetaAndAttributes(t,this.element),$e}},vn=t=>{if(Q(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},gn={MainElement:["content"],InfoElement:["content"],PrincipleElement:["content"],StandardElement:["content"],ScenarioElement:["content"],RequirementElement:["content"],StandardIdentifierElement:["content"],RequirementLevelElement:[],...cr}})(),n})()));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomNsApiDesignSystems=e():t.apidomNsApiDesignSystems=e()}(self,(()=>(()=>{var t={3103:(t,e,r)=>{var n=r(4715)(r(8942),"DataView");t.exports=n},5098:(t,e,r)=>{var n=r(3305),s=r(9361),i=r(1112),o=r(5276),a=r(5071);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},1386:(t,e,r)=>{var n=r(2393),s=r(2049),i=r(7144),o=r(7452),a=r(3964);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},9770:(t,e,r)=>{var n=r(4715)(r(8942),"Map");t.exports=n},8250:(t,e,r)=>{var n=r(9753),s=r(5681),i=r(88),o=r(4732),a=r(9068);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},9413:(t,e,r)=>{var n=r(4715)(r(8942),"Promise");t.exports=n},4512:(t,e,r)=>{var n=r(4715)(r(8942),"Set");t.exports=n},3212:(t,e,r)=>{var n=r(8250),s=r(1877),i=r(8006);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,t.exports=o},1340:(t,e,r)=>{var n=r(1386),s=r(4103),i=r(1779),o=r(4162),a=r(7462),c=r(6638);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,t.exports=u},5650:(t,e,r)=>{var n=r(8942).Symbol;t.exports=n},1623:(t,e,r)=>{var n=r(8942).Uint8Array;t.exports=n},9270:(t,e,r)=>{var n=r(4715)(r(8942),"WeakMap");t.exports=n},9847:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,s=0,i=[];++r<n;){var o=t[r];e(o,r,t)&&(i[s++]=o)}return i}},358:(t,e,r)=>{var n=r(6137),s=r(3283),i=r(3142),o=r(5853),a=r(9632),c=r(8666),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&s(t),f=!r&&!l&&o(t),p=!r&&!l&&!f&&c(t),h=r||l||f||p,m=h?n(t.length,String):[],y=m.length;for(var d in t)!e&&!u.call(t,d)||h&&("length"==d||f&&("offset"==d||"parent"==d)||p&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||a(d,y))||m.push(d);return m}},1129:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,s=t.length;++r<n;)t[s+r]=e[r];return t}},6465:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},7034:(t,e,r)=>{var n=r(6285);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},8244:(t,e,r)=>{var n=r(1129),s=r(3142);t.exports=function(t,e,r){var i=e(t);return s(t)?i:n(i,r(t))}},7379:(t,e,r)=>{var n=r(5650),s=r(8870),i=r(9005),o=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?s(t):i(t)}},6027:(t,e,r)=>{var n=r(7379),s=r(547);t.exports=function(t){return s(t)&&"[object Arguments]"==n(t)}},4687:(t,e,r)=>{var n=r(353),s=r(547);t.exports=function t(e,r,i,o,a){return e===r||(null==e||null==r||!s(e)&&!s(r)?e!=e&&r!=r:n(e,r,i,o,t,a))}},353:(t,e,r)=>{var n=r(1340),s=r(3934),i=r(8861),o=r(1182),a=r(8486),c=r(3142),u=r(5853),l=r(8666),f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,y,d,v){var g=c(t),b=c(e),E=g?p:a(t),j=b?p:a(e),x=(E=E==f?h:E)==h,w=(j=j==f?h:j)==h,O=E==j;if(O&&u(t)){if(!u(e))return!1;g=!0,x=!1}if(O&&!x)return v||(v=new n),g||l(t)?s(t,e,r,y,d,v):i(t,e,E,r,y,d,v);if(!(1&r)){var S=x&&m.call(t,"__wrapped__"),A=w&&m.call(e,"__wrapped__");if(S||A){var _=S?t.value():t,k=A?e.value():e;return v||(v=new n),d(_,k,r,y,v)}}return!!O&&(v||(v=new n),o(t,e,r,y,d,v))}},9624:(t,e,r)=>{var n=r(3655),s=r(4759),i=r(1580),o=r(4066),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||s(t))&&(n(t)?p:a).test(o(t))}},674:(t,e,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,t.exports=function(t){return i(t)&&s(t.length)&&!!o[n(t)]}},195:(t,e,r)=>{var n=r(4882),s=r(8121),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return s(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},6137:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},9460:t=>{t.exports=function(t){return function(e){return t(e)}}},5568:t=>{t.exports=function(t,e){return t.has(e)}},1950:(t,e,r)=>{var n=r(8942)["__core-js_shared__"];t.exports=n},3934:(t,e,r)=>{var n=r(3212),s=r(6465),i=r(5568);t.exports=function(t,e,r,o,a,c){var u=1&r,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(t),h=c.get(e);if(p&&h)return p==e&&h==t;var m=-1,y=!0,d=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++m<l;){var v=t[m],g=e[m];if(o)var b=u?o(g,v,m,e,t,c):o(v,g,m,t,e,c);if(void 0!==b){if(b)continue;y=!1;break}if(d){if(!s(e,(function(t,e){if(!i(d,e)&&(v===t||a(v,t,r,o,c)))return d.push(e)}))){y=!1;break}}else if(v!==g&&!a(v,g,r,o,c)){y=!1;break}}return c.delete(t),c.delete(e),y}},8861:(t,e,r)=>{var n=r(5650),s=r(1623),i=r(6285),o=r(3934),a=r(5894),c=r(9828),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new s(t),new s(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=a;case"[object Set]":var m=1&n;if(h||(h=c),t.size!=e.size&&!m)return!1;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var d=o(h(t),h(e),n,u,f,p);return p.delete(t),d;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},1182:(t,e,r)=>{var n=r(393),s=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,o,a){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in e:s.call(e,p)))return!1}var h=a.get(t),m=a.get(e);if(h&&m)return h==e&&m==t;var y=!0;a.set(t,e),a.set(e,t);for(var d=c;++f<l;){var v=t[p=u[f]],g=e[p];if(i)var b=c?i(g,v,p,e,t,a):i(v,g,p,t,e,a);if(!(void 0===b?v===g||o(v,g,r,i,a):b)){y=!1;break}d||(d="constructor"==p)}if(y&&!d){var E=t.constructor,j=e.constructor;E==j||!("constructor"in t)||!("constructor"in e)||"function"==typeof E&&E instanceof E&&"function"==typeof j&&j instanceof j||(y=!1)}return a.delete(t),a.delete(e),y}},4967:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},393:(t,e,r)=>{var n=r(8244),s=r(7979),i=r(1211);t.exports=function(t){return n(t,i,s)}},4700:(t,e,r)=>{var n=r(9067);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},4715:(t,e,r)=>{var n=r(9624),s=r(155);t.exports=function(t,e){var r=s(t,e);return n(r)?r:void 0}},8870:(t,e,r)=>{var n=r(5650),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var s=o.call(t);return n&&(e?t[a]=r:delete t[a]),s}},7979:(t,e,r)=>{var n=r(9847),s=r(9306),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(t){return null==t?[]:(t=Object(t),n(o(t),(function(e){return i.call(t,e)})))}:s;t.exports=a},8486:(t,e,r)=>{var n=r(3103),s=r(9770),i=r(9413),o=r(4512),a=r(9270),c=r(7379),u=r(4066),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",y=u(n),d=u(s),v=u(i),g=u(o),b=u(a),E=c;(n&&E(new n(new ArrayBuffer(1)))!=m||s&&E(new s)!=l||i&&E(i.resolve())!=f||o&&E(new o)!=p||a&&E(new a)!=h)&&(E=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return m;case d:return l;case v:return f;case g:return p;case b:return h}return e}),t.exports=E},155:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},3305:(t,e,r)=>{var n=r(4497);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},1112:(t,e,r)=>{var n=r(4497),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(e,t)?e[t]:void 0}},5276:(t,e,r)=>{var n=r(4497),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:s.call(e,t)}},5071:(t,e,r)=>{var n=r(4497);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},9632:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},9067:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},4759:(t,e,r)=>{var n,s=r(1950),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},4882:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},2393:t=>{t.exports=function(){this.__data__=[],this.size=0}},2049:(t,e,r)=>{var n=r(7034),s=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():s.call(e,r,1),--this.size,!0)}},7144:(t,e,r)=>{var n=r(7034);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7452:(t,e,r)=>{var n=r(7034);t.exports=function(t){return n(this.__data__,t)>-1}},3964:(t,e,r)=>{var n=r(7034);t.exports=function(t,e){var r=this.__data__,s=n(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this}},9753:(t,e,r)=>{var n=r(5098),s=r(1386),i=r(9770);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},5681:(t,e,r)=>{var n=r(4700);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},88:(t,e,r)=>{var n=r(4700);t.exports=function(t){return n(this,t).get(t)}},4732:(t,e,r)=>{var n=r(4700);t.exports=function(t){return n(this,t).has(t)}},9068:(t,e,r)=>{var n=r(4700);t.exports=function(t,e){var r=n(this,t),s=r.size;return r.set(t,e),this.size+=r.size==s?0:1,this}},5894:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},4497:(t,e,r)=>{var n=r(4715)(Object,"create");t.exports=n},8121:(t,e,r)=>{var n=r(3766)(Object.keys,Object);t.exports=n},2306:(t,e,r)=>{t=r.nmd(t);var n=r(4967),s=e&&!e.nodeType&&e,i=s&&t&&!t.nodeType&&t,o=i&&i.exports===s&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a},9005:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3766:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},8942:(t,e,r)=>{var n=r(4967),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();t.exports=i},1877:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},8006:t=>{t.exports=function(t){return this.__data__.has(t)}},9828:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},4103:(t,e,r)=>{var n=r(1386);t.exports=function(){this.__data__=new n,this.size=0}},1779:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},4162:t=>{t.exports=function(t){return this.__data__.get(t)}},7462:t=>{t.exports=function(t){return this.__data__.has(t)}},6638:(t,e,r)=>{var n=r(1386),s=r(9770),i=r(8250);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(t,e),this.size=r.size,this}},4066:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},6285:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},3283:(t,e,r)=>{var n=r(6027),s=r(547),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return s(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},3142:t=>{var e=Array.isArray;t.exports=e},6529:(t,e,r)=>{var n=r(3655),s=r(5387);t.exports=function(t){return null!=t&&s(t.length)&&!n(t)}},2563:(t,e,r)=>{var n=r(7379),s=r(547);t.exports=function(t){return!0===t||!1===t||s(t)&&"[object Boolean]"==n(t)}},5853:(t,e,r)=>{t=r.nmd(t);var n=r(8942),s=r(4772),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;t.exports=c},6343:(t,e,r)=>{var n=r(4687);t.exports=function(t,e){return n(t,e)}},3655:(t,e,r)=>{var n=r(7379),s=r(1580);t.exports=function(t){if(!s(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},5387:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},9310:t=>{t.exports=function(t){return null===t}},986:(t,e,r)=>{var n=r(7379),s=r(547);t.exports=function(t){return"number"==typeof t||s(t)&&"[object Number]"==n(t)}},1580:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},547:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},8138:(t,e,r)=>{var n=r(7379),s=r(3142),i=r(547);t.exports=function(t){return"string"==typeof t||!s(t)&&i(t)&&"[object String]"==n(t)}},8666:(t,e,r)=>{var n=r(674),s=r(9460),i=r(2306),o=i&&i.isTypedArray,a=o?s(o):n;t.exports=a},1211:(t,e,r)=>{var n=r(358),s=r(195),i=r(6529);t.exports=function(t){return i(t)?n(t):s(t)}},1517:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},9306:t=>{t.exports=function(){return[]}},4772:t=>{t.exports=function(){return!1}},4123:(t,e,r)=>{const n=r(1517);function s(t){return"string"==typeof t?e=>e.element===t:t.constructor&&t.extend?e=>e instanceof t:t}class i{constructor(t){this.elements=t||[]}toValue(){return this.elements.map((t=>t.toValue()))}map(t,e){return this.elements.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return t=s(t),new i(this.elements.filter(t,e))}reject(t,e){return t=s(t),new i(this.elements.filter(n(t),e))}find(t,e){return t=s(t),this.elements.find(t,e)}forEach(t,e){this.elements.forEach(t,e)}reduce(t,e){return this.elements.reduce(t,e)}includes(t){return this.elements.some((e=>e.equals(t)))}shift(){return this.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){return this.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){return this.elements[t]}getValue(t){const e=this.elements[t];if(e)return e.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]()}),t.exports=i},2322:t=>{class e{constructor(t,e){this.key=t,this.value=e}clone(){const t=new e;return this.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}}t.exports=e},5735:(t,e,r)=>{const n=r(9310),s=r(8138),i=r(986),o=r(2563),a=r(1580),c=r(394),u=r(7547);class l{constructor(t){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,t&&t.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(t){return t.namespace&&t.namespace({base:this}),t.load&&t.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(t,e){return this._elements=void 0,this.elementMap[t]=e,this}unregister(t){return this._elements=void 0,delete this.elementMap[t],this}detect(t,e,r){return void 0===r||r?this.elementDetection.unshift([t,e]):this.elementDetection.push([t,e]),this}toElement(t){if(t instanceof this.Element)return t;let e;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(t)){e=new s(t);break}}return e}getElementClass(t){const e=this.elementMap[t];return void 0===e?this.Element:e}fromRefract(t){return this.serialiser.deserialise(t)}toRefract(t){return this.serialiser.serialise(t)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((t=>{const e=t[0].toUpperCase()+t.substr(1);this._elements[e]=this.elementMap[t]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,t.exports=l},3311:(t,e,r)=>{const n=r(1517),s=r(4123);class i extends s{map(t,e){return this.elements.map((r=>t.bind(e)(r.value,r.key,r)))}filter(t,e){return new i(this.elements.filter((r=>t.bind(e)(r.value,r.key,r))))}reject(t,e){return this.filter(n(t.bind(e)))}forEach(t,e){return this.elements.forEach(((r,n)=>{t.bind(e)(r.value,r.key,r,n)}))}keys(){return this.map(((t,e)=>e.toValue()))}values(){return this.map((t=>t.toValue()))}}t.exports=i},7547:(t,e,r)=>{const n=r(8631),s=r(3004),i=r(8712),o=r(2536),a=r(2555),c=r(9796),u=r(7309),l=r(5642),f=r(9620),p=r(593),h=r(4123),m=r(3311),y=r(2322);function d(t){if(t instanceof n)return t;if("string"==typeof t)return new i(t);if("number"==typeof t)return new o(t);if("boolean"==typeof t)return new a(t);if(null===t)return new s;if(Array.isArray(t))return new c(t.map(d));if("object"==typeof t){return new l(t)}return t}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=d,h.prototype.refract=d,t.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:f,RefElement:p,refract:d,ArraySlice:h,ObjectSlice:m,KeyValuePair:y}},9620:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(t){this.attributes.set("relation",t)}get href(){return this.attributes.get("href")}set href(t){this.attributes.set("href",t)}}},593:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}}},8326:(t,e,r)=>{const n=r(5735),s=r(7547);e.g$=n,e.KeyValuePair=r(2322),e.G6=s.ArraySlice,e.ot=s.ObjectSlice,e.Hg=s.Element,e.Om=s.StringElement,e.kT=s.NumberElement,e.bd=s.BooleanElement,e.Os=s.NullElement,e.wE=s.ArrayElement,e.Sh=s.ObjectElement,e.Pr=s.MemberElement,e.sI=s.RefElement,e.Ft=s.LinkElement,s.refract,r(394),r(3148)},9796:(t,e,r)=>{const n=r(1517),s=r(8631),i=r(4123);class o extends s{constructor(t,e,r){super(t||[],e,r),this.element="array"}primitive(){return"array"}get(t){return this.content[t]}getValue(t){const e=this.get(t);if(e)return e.toValue()}getIndex(t){return this.content[t]}set(t,e){return this.content[t]=this.refract(e),this}remove(t){const e=this.content.splice(t,1);return e.length?e[0]:null}map(t,e){return this.content.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return new i(this.content.filter(t,e))}reject(t,e){return this.filter(n(t),e)}reduce(t,e){let r,n;void 0!==e?(r=0,n=this.refract(e)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let e=r;e<this.length;e+=1){const r=this.content[e];n="object"===this.primitive()?this.refract(t(n,r.value,r.key,r,this)):this.refract(t(n,r,e,this))}return n}forEach(t,e){this.content.forEach(((r,n)=>{t.bind(e)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(t){this.content.unshift(this.refract(t))}push(t){return this.content.push(this.refract(t)),this}add(t){this.push(t)}findElements(t,e){const r=e||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((e,r,i)=>{n&&void 0!==e.findElements&&e.findElements(t,{results:s,recursive:n}),t(e,r,i)&&s.push(e)})),s}find(t){return new i(this.findElements(t,{recursive:!0}))}findByElement(t){return this.find((e=>e.element===t))}findByClass(t){return this.find((e=>e.classes.includes(t)))}getById(t){return this.find((e=>e.id.toValue()===t)).first}includes(t){return this.content.some((e=>e.equals(t)))}contains(t){return this.includes(t)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(t){return new this.constructor(this.content.concat(t.content))}"fantasy-land/concat"(t){return this.concat(t)}"fantasy-land/map"(t){return new this.constructor(this.map(t))}"fantasy-land/chain"(t){return this.map((e=>t(e)),this).reduce(((t,e)=>t.concat(e)),this.empty())}"fantasy-land/filter"(t){return new this.constructor(this.content.filter(t))}"fantasy-land/reduce"(t,e){return this.content.reduce(t,e)}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]()}),t.exports=o},2555:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="boolean"}primitive(){return"boolean"}}},8631:(t,e,r)=>{const n=r(6343),s=r(2322),i=r(4123);class o{constructor(t,e,r){e&&(this.meta=e),r&&(this.attributes=r),this.content=t}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((t=>{t.parent=this,t.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const t=new this.constructor;return t.element=this.element,this.meta.length&&(t._meta=this.meta.clone()),this.attributes.length&&(t._attributes=this.attributes.clone()),this.content?this.content.clone?t.content=this.content.clone():Array.isArray(this.content)?t.content=this.content.map((t=>t.clone())):t.content=this.content:t.content=this.content,t}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((t=>t.toValue()),this):this.content}toRef(t){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const e=new this.RefElement(this.id.toValue());return t&&(e.path=t),e}findRecursive(...t){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 e=t.pop();let r=new i;const n=(t,e)=>(t.push(e),t),o=(t,r)=>{r.element===e&&t.push(r);const i=r.findRecursive(e);return i&&i.reduce(n,t),r.content instanceof s&&(r.content.key&&o(t,r.content.key),r.content.value&&o(t,r.content.value)),t};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),t.isEmpty||(r=r.filter((e=>{let r=e.parents.map((t=>t.element));for(const e in t){const n=t[e],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(t){return this.content=t,this}equals(t){return n(this.toValue(),t)}getMetaProperty(t,e){if(!this.meta.hasKey(t)){if(this.isFrozen){const t=this.refract(e);return t.freeze(),t}this.meta.set(t,e)}return this.meta.get(t)}setMetaProperty(t,e){this.meta.set(t,e)}get element(){return this._storedElement||"element"}set element(t){this._storedElement=t}get content(){return this._content}set content(t){if(t instanceof o)this._content=t;else if(t instanceof i)this.content=t.elements;else if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"null"===t||null==t)this._content=t;else if(t instanceof s)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else{if("object"!=typeof t)throw new Error("Cannot set content to given value");this._content=Object.keys(t).map((e=>new this.MemberElement(e,t[e])))}}get meta(){if(!this._meta){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._meta=new this.ObjectElement}return this._meta}set meta(t){t instanceof this.ObjectElement?this._meta=t:this.meta.set(t||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._attributes=new this.ObjectElement}return this._attributes}set attributes(t){t instanceof this.ObjectElement?this._attributes=t:this.attributes.set(t||{})}get id(){return this.getMetaProperty("id","")}set id(t){this.setMetaProperty("id",t)}get classes(){return this.getMetaProperty("classes",[])}set classes(t){this.setMetaProperty("classes",t)}get title(){return this.getMetaProperty("title","")}set title(t){this.setMetaProperty("title",t)}get description(){return this.getMetaProperty("description","")}set description(t){this.setMetaProperty("description",t)}get links(){return this.getMetaProperty("links",[])}set links(t){this.setMetaProperty("links",t)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:t}=this;const e=new i;for(;t;)e.push(t),t=t.parent;return e}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const t=new i([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const t=new i;return this.children.forEach((e=>{t.push(e),e.recursiveChildren.forEach((e=>{t.push(e)}))})),t}}t.exports=o},7309:(t,e,r)=>{const n=r(2322),s=r(8631);t.exports=class extends s{constructor(t,e,r,s){super(new n,r,s),this.element="member",this.key=t,this.value=e}get key(){return this.content.key}set key(t){this.content.key=this.refract(t)}get value(){return this.content.value}set value(t){this.content.value=this.refract(t)}}},3004:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t||null,e,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},2536:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="number"}primitive(){return"number"}}},5642:(t,e,r)=>{const n=r(1517),s=r(1580),i=r(9796),o=r(7309),a=r(3311);t.exports=class extends i{constructor(t,e,r){super(t||[],e,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((t,e)=>(t[e.key.toValue()]=e.value?e.value.toValue():void 0,t)),{})}get(t){const e=this.getMember(t);if(e)return e.value}getMember(t){if(void 0!==t)return this.content.find((e=>e.key.toValue()===t))}remove(t){let e=null;return this.content=this.content.filter((r=>r.key.toValue()!==t||(e=r,!1))),e}getKey(t){const e=this.getMember(t);if(e)return e.key}set(t,e){if(s(t))return Object.keys(t).forEach((e=>{this.set(e,t[e])})),this;const r=t,n=this.getMember(r);return n?n.value=e:this.content.push(new o(r,e)),this}keys(){return this.content.map((t=>t.key.toValue()))}values(){return this.content.map((t=>t.value.toValue()))}hasKey(t){return this.content.some((e=>e.key.equals(t)))}items(){return this.content.map((t=>[t.key.toValue(),t.value.toValue()]))}map(t,e){return this.content.map((r=>t.bind(e)(r.value,r.key,r)))}compactMap(t,e){const r=[];return this.forEach(((n,s,i)=>{const o=t.bind(e)(n,s,i);o&&r.push(o)})),r}filter(t,e){return new a(this.content).filter(t,e)}reject(t,e){return this.filter(n(t),e)}forEach(t,e){return this.content.forEach((r=>t.bind(e)(r.value,r.key,r)))}}},8712:(t,e,r)=>{const n=r(8631);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},3148:(t,e,r)=>{const n=r(394);t.exports=class extends n{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);let e;t._attributes&&t.attributes.get("variable")&&(e=t.attributes.get("variable"));const r={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta));const n="enum"===t.element||-1!==t.attributes.keys().indexOf("enumerations");if(n){const e=this.enumSerialiseAttributes(t);e&&(r.attributes=e)}else if(t._attributes&&t._attributes.length>0){let{attributes:n}=t;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===t.element&&e&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(t,r);else if(this[`${t.element}SerialiseContent`])r.content=this[`${t.element}SerialiseContent`](t,r);else if(void 0!==t.content){let n;e&&t.content.key?(n=t.content.clone(),n.key.attributes.set("variable",e),n=this.serialiseContent(n)):n=this.serialiseContent(t.content),this.shouldSerialiseContent(t,n)&&(r.content=n)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(t,e){return"parseResult"===t.element||"httpRequest"===t.element||"httpResponse"===t.element||"category"===t.element||"link"===t.element||void 0!==e&&(!Array.isArray(e)||0!==e.length)}refSerialiseContent(t,e){return delete e.attributes,{href:t.toValue(),path:t.path.toValue()}}sourceMapSerialiseContent(t){return t.toValue()}dataStructureSerialiseContent(t){return[this.serialiseContent(t.content)]}enumSerialiseAttributes(t){const e=t.attributes.clone(),r=e.remove("enumerations")||new this.namespace.elements.Array([]),n=e.get("default");let s=e.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),e.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((t=>{t.content&&t.content.element&&t.content.attributes.remove("typeAttributes")})),t.content&&0!==r.length&&s.unshift(t.content),s=s.map((t=>t instanceof this.namespace.elements.Array?[t]:new this.namespace.elements.Array([t.content]))),s.length&&e.set("samples",s),e.length>0)return this.serialiseObject(e)}enumSerialiseContent(t){if(t._attributes){const e=t.attributes.get("enumerations");if(e&&e.length>0)return e.content.map((t=>{const e=t.clone();return e.attributes.remove("typeAttributes"),this.serialise(e)}))}if(t.content){const e=t.content.clone();return e.attributes.remove("typeAttributes"),[this.serialise(e)]}return[]}deserialise(t){if("string"==typeof t)return new this.namespace.elements.String(t);if("number"==typeof t)return new this.namespace.elements.Number(t);if("boolean"==typeof t)return new this.namespace.elements.Boolean(t);if(null===t)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const e=this.namespace.getElementClass(t.element),r=new e;r.element!==t.element&&(r.element=t.element),t.meta&&this.deserialiseObject(t.meta,r.meta),t.attributes&&this.deserialiseObject(t.attributes,r.attributes);const n=this.deserialiseContent(t.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let t=r.attributes.get("samples");if(r.attributes.remove("samples"),t){const n=t;t=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new e(n);s.element=r.element,t.push(s)}))}));const s=t.shift();r.content=s?s.content:void 0,r.attributes.set("samples",t)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const t=new e(n);t.element=r.element,r.attributes.set("default",t)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const t=r.attributes.get("meta");t&&(r.attributes.set("metadata",t),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(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}return t&&t.map?t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}shouldRefract(t){return!!(t._attributes&&t.attributes.keys().length||t._meta&&t.meta.keys().length)||"enum"!==t.element&&(t.element!==t.primitive()||"member"===t.element)}convertKeyToRefract(t,e){return this.shouldRefract(e)?this.serialise(e):"enum"===e.element?this.serialiseEnum(e):"array"===e.element?e.map((e=>this.shouldRefract(e)||"default"===t?this.serialise(e):"array"===e.element||"object"===e.element||"enum"===e.element?e.children.map((t=>this.serialise(t))):e.toValue())):"object"===e.element?(e.content||[]).map(this.serialise,this):e.toValue()}serialiseEnum(t){return t.children.map((t=>this.serialise(t)))}serialiseObject(t){const e={};return t.forEach(((t,r)=>{if(t){const n=r.toValue();e[n]=this.convertKeyToRefract(n,t)}})),e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},394:t=>{t.exports=class{constructor(t){this.namespace=t||new this.Namespace}serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);const e={element:t.element};t._meta&&t._meta.length>0&&(e.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(e.attributes=this.serialiseObject(t.attributes));const r=this.serialiseContent(t.content);return void 0!==r&&(e.content=r),e}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const e=new(this.namespace.getElementClass(t.element));e.element!==t.element&&(e.element=t.element),t.meta&&this.deserialiseObject(t.meta,e.meta),t.attributes&&this.deserialiseObject(t.attributes,e.attributes);const r=this.deserialiseContent(t.content);return void 0===r&&null!==e.content||(e.content=r),e}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}if(t&&t.map){if(0===t.length)return;return t.map(this.serialise,this)}return t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const e={};if(t.forEach(((t,r)=>{t&&(e[r.toValue()]=this.serialise(t))})),0!==Object.keys(e).length)return e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},1212:(t,e,r)=>{t.exports=r(8411)},7202:(t,e,r)=>{"use strict";var n=r(239);t.exports=n},6656:(t,e,r)=>{"use strict";r(484),r(5695),r(6138),r(7447),r(3832);var n=r(8099);t.exports=n.AggregateError},8411:(t,e,r)=>{"use strict";t.exports=r(8337)},8337:(t,e,r)=>{"use strict";r(5442);var n=r(7202);t.exports=n},814:(t,e,r)=>{"use strict";var n=r(2769),s=r(459),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not a function")}},1966:(t,e,r)=>{"use strict";var n=r(2937),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+s(t)+" as a prototype")}},8137:t=>{"use strict";t.exports=function(){}},7235:(t,e,r)=>{"use strict";var n=r(262),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not an object")}},1005:(t,e,r)=>{"use strict";var n=r(3273),s=r(4574),i=r(8130),o=function(t){return function(e,r,o){var a,c=n(e),u=i(c),l=s(o,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},9932:(t,e,r)=>{"use strict";var n=r(6100),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},8407:(t,e,r)=>{"use strict";var n=r(4904),s=r(2769),i=r(9932),o=r(8655)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),o))?r:c?i(e):"Object"===(n=i(e))&&s(e.callee)?"Arguments":n}},7464:(t,e,r)=>{"use strict";var n=r(701),s=r(5691),i=r(4543),o=r(9989);t.exports=function(t,e,r){for(var a=s(e),c=o.f,u=i.f,l=0;l<a.length;l++){var f=a[l];n(t,f)||r&&n(r,f)||c(t,f,u(e,f))}}},2871:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},877:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},3999:(t,e,r)=>{"use strict";var n=r(5024),s=r(9989),i=r(480);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},480:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3508:(t,e,r)=>{"use strict";var n=r(3999);t.exports=function(t,e,r,s){return s&&s.enumerable?t[e]=r:n(t,e,r),t}},7525:(t,e,r)=>{"use strict";var n=r(1063),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},5024:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(t,e,r)=>{"use strict";var n=r(1063),s=r(262),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},1100:t=>{"use strict";t.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:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4432:(t,e,r)=>{"use strict";var n,s,i=r(1063),o=r(7868),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},9683:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3885:(t,e,r)=>{"use strict";var n=r(6100),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);t.exports=function(t,e){if(c&&"string"==typeof t&&!s.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},4279:(t,e,r)=>{"use strict";var n=r(3999),s=r(3885),i=r(5791),o=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(o?o(t,e):n(t,"stack",s(r,a)))}},5791:(t,e,r)=>{"use strict";var n=r(1203),s=r(480);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",s(1,7)),7!==t.stack)}))},9098:(t,e,r)=>{"use strict";var n=r(1063),s=r(7013),i=r(9344),o=r(2769),a=r(4543).f,c=r(8696),u=r(8099),l=r(4572),f=r(3999),p=r(701),h=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,m,y,d,v,g,b,E,j=t.target,x=t.global,w=t.stat,O=t.proto,S=x?n:w?n[j]:n[j]&&n[j].prototype,A=x?u:u[j]||f(u,j,{})[j],_=A.prototype;for(y in e)s=!(r=c(x?y:j+(w?".":"#")+y,t.forced))&&S&&p(S,y),v=A[y],s&&(g=t.dontCallGetSet?(E=a(S,y))&&E.value:S[y]),d=s&&g?g:e[y],(r||O||typeof v!=typeof d)&&(b=t.bind&&s?l(d,n):t.wrap&&s?h(d):O&&o(d)?i(d):d,(t.sham||d&&d.sham||v&&v.sham)&&f(b,"sham",!0),f(A,y,b),O&&(p(u,m=j+"Prototype")||f(u,m,{}),f(u[m],y,d),t.real&&_&&(r||!_[y])&&f(_,y,d)))}},1203:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},7013:(t,e,r)=>{"use strict";var n=r(1780),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},4572:(t,e,r)=>{"use strict";var n=r(9344),s=r(814),i=r(1780),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},1780:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4713:(t,e,r)=>{"use strict";var n=r(1780),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},3410:(t,e,r)=>{"use strict";var n=r(5024),s=r(701),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},3574:(t,e,r)=>{"use strict";var n=r(6100),s=r(814);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},9344:(t,e,r)=>{"use strict";var n=r(9932),s=r(6100);t.exports=function(t){if("Function"===n(t))return s(t)}},6100:(t,e,r)=>{"use strict";var n=r(1780),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},1003:(t,e,r)=>{"use strict";var n=r(8099),s=r(1063),i=r(2769),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},967:(t,e,r)=>{"use strict";var n=r(8407),s=r(4674),i=r(3057),o=r(6625),a=r(8655)("iterator");t.exports=function(t){if(!i(t))return s(t,a)||s(t,"@@iterator")||o[n(t)]}},1613:(t,e,r)=>{"use strict";var n=r(4713),s=r(814),i=r(7235),o=r(459),a=r(967),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(s(r))return i(n(r,t));throw new c(o(t)+" is not iterable")}},4674:(t,e,r)=>{"use strict";var n=r(814),s=r(3057);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},1063:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.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:(t,e,r)=>{"use strict";var n=r(6100),s=r(2137),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},5241:t=>{"use strict";t.exports={}},3489:(t,e,r)=>{"use strict";var n=r(1003);t.exports=n("document","documentElement")},9665:(t,e,r)=>{"use strict";var n=r(5024),s=r(1203),i=r(9619);t.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(t,e,r)=>{"use strict";var n=r(6100),s=r(1203),i=r(9932),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):o(t)}:o},3507:(t,e,r)=>{"use strict";var n=r(2769),s=r(262),i=r(3491);t.exports=function(t,e,r){var o,a;return i&&n(o=e.constructor)&&o!==r&&s(a=o.prototype)&&a!==r.prototype&&i(t,a),t}},8148:(t,e,r)=>{"use strict";var n=r(262),s=r(3999);t.exports=function(t,e){n(e)&&"cause"in e&&s(t,"cause",e.cause)}},8417:(t,e,r)=>{"use strict";var n,s,i,o=r(1314),a=r(1063),c=r(262),u=r(3999),l=r(701),f=r(3753),p=r(4275),h=r(5241),m="Object already initialized",y=a.TypeError,d=a.WeakMap;if(o||f.state){var v=f.state||(f.state=new d);v.get=v.get,v.has=v.has,v.set=v.set,n=function(t,e){if(v.has(t))throw new y(m);return e.facade=t,v.set(t,e),e},s=function(t){return v.get(t)||{}},i=function(t){return v.has(t)}}else{var g=p("state");h[g]=!0,n=function(t,e){if(l(t,g))throw new y(m);return e.facade=t,u(t,g,e),e},s=function(t){return l(t,g)?t[g]:{}},i=function(t){return l(t,g)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=s(e)).type!==t)throw new y("Incompatible receiver, "+t+" required");return r}}}},2877:(t,e,r)=>{"use strict";var n=r(8655),s=r(6625),i=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||o[i]===t)}},2769:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},8696:(t,e,r)=>{"use strict";var n=r(1203),s=r(2769),i=/#|\.prototype\./,o=function(t,e){var r=c[a(t)];return r===l||r!==u&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},3057:t=>{"use strict";t.exports=function(t){return null==t}},262:(t,e,r)=>{"use strict";var n=r(2769);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},2937:(t,e,r)=>{"use strict";var n=r(262);t.exports=function(t){return n(t)||null===t}},4871:t=>{"use strict";t.exports=!0},6281:(t,e,r)=>{"use strict";var n=r(1003),s=r(2769),i=r(4317),o=r(7460),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},208:(t,e,r)=>{"use strict";var n=r(4572),s=r(4713),i=r(7235),o=r(459),a=r(2877),c=r(8130),u=r(4317),l=r(1613),f=r(967),p=r(1743),h=TypeError,m=function(t,e){this.stopped=t,this.result=e},y=m.prototype;t.exports=function(t,e,r){var d,v,g,b,E,j,x,w=r&&r.that,O=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),k=n(e,w),P=function(t){return d&&p(d,"normal",t),new m(!0,t)},M=function(t){return O?(i(t),_?k(t[0],t[1],P):k(t[0],t[1])):_?k(t,P):k(t)};if(S)d=t.iterator;else if(A)d=t;else{if(!(v=f(t)))throw new h(o(t)+" is not iterable");if(a(v)){for(g=0,b=c(t);b>g;g++)if((E=M(t[g]))&&u(y,E))return E;return new m(!1)}d=l(t,v)}for(j=S?t.next:d.next;!(x=s(j,d)).done;){try{E=M(x.value)}catch(t){p(d,"throw",t)}if("object"==typeof E&&E&&u(y,E))return E}return new m(!1)}},1743:(t,e,r)=>{"use strict";var n=r(4713),s=r(7235),i=r(4674);t.exports=function(t,e,r){var o,a;s(t);try{if(!(o=i(t,"return"))){if("throw"===e)throw r;return r}o=n(o,t)}catch(t){a=!0,o=t}if("throw"===e)throw r;if(a)throw o;return s(o),r}},1926:(t,e,r)=>{"use strict";var n=r(2621).IteratorPrototype,s=r(5780),i=r(480),o=r(1811),a=r(6625),c=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=s(n,{next:i(+!u,r)}),o(t,l,!1,!0),a[l]=c,t}},164:(t,e,r)=>{"use strict";var n=r(9098),s=r(4713),i=r(4871),o=r(3410),a=r(2769),c=r(1926),u=r(3671),l=r(3491),f=r(1811),p=r(3999),h=r(3508),m=r(8655),y=r(6625),d=r(2621),v=o.PROPER,g=o.CONFIGURABLE,b=d.IteratorPrototype,E=d.BUGGY_SAFARI_ITERATORS,j=m("iterator"),x="keys",w="values",O="entries",S=function(){return this};t.exports=function(t,e,r,o,m,d,A){c(r,e,o);var _,k,P,M=function(t){if(t===m&&V)return V;if(!E&&t&&t in R)return R[t];switch(t){case x:case w:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},T=e+" Iterator",C=!1,R=t.prototype,F=R[j]||R["@@iterator"]||m&&R[m],V=!E&&F||M(m),I="Array"===e&&R.entries||F;if(I&&(_=u(I.call(new t)))!==Object.prototype&&_.next&&(i||u(_)===b||(l?l(_,b):a(_[j])||h(_,j,S)),f(_,T,!0,!0),i&&(y[T]=S)),v&&m===w&&F&&F.name!==w&&(!i&&g?p(R,"name",w):(C=!0,V=function(){return s(F,this)})),m)if(k={values:M(w),keys:d?V:M(x),entries:M(O)},A)for(P in k)(E||C||!(P in R))&&h(R,P,k[P]);else n({target:e,proto:!0,forced:E||C},k);return i&&!A||R[j]===V||h(R,j,V,{name:m}),y[e]=V,k}},2621:(t,e,r)=>{"use strict";var n,s,i,o=r(1203),a=r(2769),c=r(262),u=r(5780),l=r(3671),f=r(3508),p=r(8655),h=r(4871),m=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):y=!0),!c(n)||o((function(){var t={};return n[m].call(t)!==t}))?n={}:h&&(n=u(n)),a(n[m])||f(n,m,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},6625:t=>{"use strict";t.exports={}},8130:(t,e,r)=>{"use strict";var n=r(8146);t.exports=function(t){return n(t.length)}},5777:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},4879:(t,e,r)=>{"use strict";var n=r(1139);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},5780:(t,e,r)=>{"use strict";var n,s=r(7235),i=r(7389),o=r(9683),a=r(5241),c=r(3489),u=r(9619),l=r(4275),f="prototype",p="script",h=l("IE_PROTO"),m=function(){},y=function(t){return"<"+p+">"+t+"</"+p+">"},d=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;v="undefined"!=typeof document?document.domain&&n?d(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F):d(n);for(var s=o.length;s--;)delete v[f][o[s]];return v()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(m[f]=s(t),r=new m,m[f]=null,r[h]=t):r=v(),void 0===e?r:i.f(r,e)}},7389:(t,e,r)=>{"use strict";var n=r(5024),s=r(1330),i=r(9989),o=r(7235),a=r(3273),c=r(8364);e.f=n&&!s?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=c(e),u=s.length,l=0;u>l;)i.f(t,r=s[l++],n[r]);return t}},9989:(t,e,r)=>{"use strict";var n=r(5024),s=r(9665),i=r(1330),o=r(7235),a=r(5341),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=l(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},4543:(t,e,r)=>{"use strict";var n=r(5024),s=r(4713),i=r(7161),o=r(480),a=r(3273),c=r(5341),u=r(701),l=r(9665),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=c(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return o(!s(i.f,t,e),t[e])}},5116:(t,e,r)=>{"use strict";var n=r(8600),s=r(9683).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},7313:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},3671:(t,e,r)=>{"use strict";var n=r(701),s=r(2769),i=r(2137),o=r(4275),a=r(2871),c=o("IE_PROTO"),u=Object,l=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},4317:(t,e,r)=>{"use strict";var n=r(6100);t.exports=n({}.isPrototypeOf)},8600:(t,e,r)=>{"use strict";var n=r(6100),s=r(701),i=r(3273),o=r(1005).indexOf,a=r(5241),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&c(l,r);for(;e.length>u;)s(n,r=e[u++])&&(~o(l,r)||c(l,r));return l}},8364:(t,e,r)=>{"use strict";var n=r(8600),s=r(9683);t.exports=Object.keys||function(t){return n(t,s)}},7161:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},3491:(t,e,r)=>{"use strict";var n=r(3574),s=r(7235),i=r(1966);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return s(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},9559:(t,e,r)=>{"use strict";var n=r(4904),s=r(8407);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},9258:(t,e,r)=>{"use strict";var n=r(4713),s=r(2769),i=r(262),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw new o("Can't convert object to primitive value")}},5691:(t,e,r)=>{"use strict";var n=r(1003),s=r(6100),i=r(5116),o=r(7313),a=r(7235),c=s([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=o.f;return r?c(e,r(t)):e}},8099:t=>{"use strict";t.exports={}},5516:(t,e,r)=>{"use strict";var n=r(9989).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},5426:(t,e,r)=>{"use strict";var n=r(3057),s=TypeError;t.exports=function(t){if(n(t))throw new s("Can't call method on "+t);return t}},1811:(t,e,r)=>{"use strict";var n=r(4904),s=r(9989).f,i=r(3999),o=r(701),a=r(9559),c=r(8655)("toStringTag");t.exports=function(t,e,r,u){var l=r?t:t&&t.prototype;l&&(o(l,c)||s(l,c,{configurable:!0,value:e}),u&&!n&&i(l,"toString",a))}},4275:(t,e,r)=>{"use strict";var n=r(8141),s=r(1268),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},3753:(t,e,r)=>{"use strict";var n=r(1063),s=r(7525),i="__core-js_shared__",o=n[i]||s(i,{});t.exports=o},8141:(t,e,r)=>{"use strict";var n=r(4871),s=r(3753);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("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:(t,e,r)=>{"use strict";var n=r(6100),s=r(9903),i=r(1139),o=r(5426),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(o(e)),p=s(r),h=f.length;return p<0||p>=h?t?"":void 0:(n=c(f,p))<55296||n>56319||p+1===h||(l=c(f,p+1))<56320||l>57343?t?a(f,p):n:t?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4603:(t,e,r)=>{"use strict";var n=r(4432),s=r(1203),i=r(1063).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(t,e,r)=>{"use strict";var n=r(9903),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},3273:(t,e,r)=>{"use strict";var n=r(1395),s=r(5426);t.exports=function(t){return n(s(t))}},9903:(t,e,r)=>{"use strict";var n=r(5777);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8146:(t,e,r)=>{"use strict";var n=r(9903),s=Math.min;t.exports=function(t){var e=n(t);return e>0?s(e,9007199254740991):0}},2137:(t,e,r)=>{"use strict";var n=r(5426),s=Object;t.exports=function(t){return s(n(t))}},493:(t,e,r)=>{"use strict";var n=r(4713),s=r(262),i=r(6281),o=r(4674),a=r(9258),c=r(8655),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,c=o(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!s(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},5341:(t,e,r)=>{"use strict";var n=r(493),s=r(6281);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},4904:(t,e,r)=>{"use strict";var n={};n[r(8655)("toStringTag")]="z",t.exports="[object z]"===String(n)},1139:(t,e,r)=>{"use strict";var n=r(8407),s=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return s(t)}},459:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},1268:(t,e,r)=>{"use strict";var n=r(6100),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},7460:(t,e,r)=>{"use strict";var n=r(4603);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(t,e,r)=>{"use strict";var n=r(5024),s=r(1203);t.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(t,e,r)=>{"use strict";var n=r(1063),s=r(2769),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},8655:(t,e,r)=>{"use strict";var n=r(1063),s=r(8141),i=r(701),o=r(1268),a=r(4603),c=r(7460),u=n.Symbol,l=s("wks"),f=c?u.for||u:u&&u.withoutSetter||o;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},6453:(t,e,r)=>{"use strict";var n=r(1003),s=r(701),i=r(3999),o=r(4317),a=r(3491),c=r(7464),u=r(5516),l=r(3507),f=r(4879),p=r(8148),h=r(4279),m=r(5024),y=r(4871);t.exports=function(t,e,r,d){var v="stackTraceLimit",g=d?2:1,b=t.split("."),E=b[b.length-1],j=n.apply(null,b);if(j){var x=j.prototype;if(!y&&s(x,"cause")&&delete x.cause,!r)return j;var w=n("Error"),O=e((function(t,e){var r=f(d?e:t,void 0),n=d?new j(t):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>g&&p(n,arguments[g]),n}));if(O.prototype=x,"Error"!==E?a?a(O,w):c(O,w,{name:!0}):m&&v in j&&(u(O,j,v),u(O,j,"prepareStackTrace")),c(O,j),!y)try{x.name!==E&&i(x,"name",E),x.constructor=O}catch(t){}return O}}},6138:(t,e,r)=>{"use strict";var n=r(9098),s=r(1003),i=r(7013),o=r(1203),a=r(6453),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},3085:(t,e,r)=>{"use strict";var n=r(9098),s=r(4317),i=r(3671),o=r(3491),a=r(7464),c=r(5780),u=r(3999),l=r(480),f=r(8148),p=r(4279),h=r(208),m=r(4879),y=r(8655)("toStringTag"),d=Error,v=[].push,g=function(t,e){var r,n=s(b,this);o?r=o(new d,n?i(this):b):(r=n?this:c(b),u(r,y,"Error")),void 0!==e&&u(r,"message",m(e)),p(r,g,r.stack,1),arguments.length>2&&f(r,arguments[2]);var a=[];return h(t,v,{that:a}),u(r,"errors",a),r};o?o(g,d):a(g,d,{name:!0});var b=g.prototype=c(d.prototype,{constructor:l(1,g),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},5695:(t,e,r)=>{"use strict";r(3085)},7447:(t,e,r)=>{"use strict";var n=r(3273),s=r(8137),i=r(6625),o=r(8417),a=r(9989).f,c=r(164),u=r(877),l=r(4871),f=r(5024),p="Array Iterator",h=o.set,m=o.getterFor(p);t.exports=c(Array,"Array",(function(t,e){h(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=m(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)}),"values");var y=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==y.name)try{a(y,"name",{value:"values"})}catch(t){}},484:(t,e,r)=>{"use strict";var n=r(9098),s=r(1063),i=r(7013),o=r(6453),a="WebAssembly",c=s[a],u=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=o(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(t,e){if(c&&c[t]){var r={};r[t]=o(a+"."+t,e,u),n({target:a,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},3832:(t,e,r)=>{"use strict";var n=r(5571).charAt,s=r(1139),i=r(8417),o=r(164),a=r(877),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(t){u(this,{type:c,string:s(t),index:0})}),(function(){var t,e=l(this),r=e.string,s=e.index;return s>=r.length?a(void 0,!0):(t=n(r,s),e.index+=t.length,a(t,!1))}))},5442:(t,e,r)=>{"use strict";r(5695)},85:(t,e,r)=>{"use strict";r(7447);var n=r(1100),s=r(1063),i=r(1811),o=r(6625);for(var a in n)i(s[a],a),o[a]=o.Array},239:(t,e,r)=>{"use strict";r(5442);var n=r(6656);r(85),t.exports=n}},e={};function r(n){var s=e[n];if(void 0!==s)return s.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n={};return(()=>{"use strict";r.r(n),r.d(n,{ApiDesignSystemsMediaTypes:()=>kt,FallbackVisitor:()=>yn,FixedFieldsVisitor:()=>vn,InfoElement:()=>dr,MainElement:()=>gr,PrincipleElement:()=>Er,RequirementElement:()=>xr,RequirementLevelElement:()=>Or,ScenarioElement:()=>Ar,SpecificationVisitor:()=>dn,StandardElement:()=>kr,StandardIdentifierElement:()=>Mr,Visitor:()=>mn,default:()=>Tr,getNodeType:()=>gn,isArrayElement:()=>ot,isBooleanElement:()=>st,isElement:()=>tt,isInfoElement:()=>Zr,isLinkElement:()=>ct,isMainElement:()=>Jr,isMemberElement:()=>at,isNullElement:()=>nt,isNumberElement:()=>rt,isObjectElement:()=>it,isPrincipleElement:()=>Qr,isRefElement:()=>ut,isRequirementElement:()=>tn,isRequirementLevelElement:()=>en,isScenarioElement:()=>rn,isStandardElement:()=>nn,isStandardIdentifierElement:()=>sn,isStringElement:()=>et,keyMap:()=>bn,mediaTypes:()=>Pt,refractPluginOpenApi3_1StandardIdentifierAccessors:()=>zr,refractPluginOpenApi3_1StandardIdentifierSelectors:()=>Lr,validateOpenAPI3_1:()=>Xr});var t={};r.r(t),r.d(t,{hasElementSourceMap:()=>yt,includesClasses:()=>vt,includesSymbols:()=>dt,isAnnotationElement:()=>lt,isArrayElement:()=>ot,isBooleanElement:()=>st,isCommentElement:()=>ft,isElement:()=>tt,isLinkElement:()=>ct,isMemberElement:()=>at,isNullElement:()=>nt,isNumberElement:()=>rt,isObjectElement:()=>it,isParseResultElement:()=>pt,isPrimitiveElement:()=>mt,isRefElement:()=>ut,isSourceMapElement:()=>ht,isStringElement:()=>et});var e=r(8326);const s={"@@functional/placeholder":!0};function i(t){return t===s}function o(t){return function e(r){return 0===arguments.length||i(r)?e:t.apply(this,arguments)}}function a(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return i(r)?e:o((function(e){return t(r,e)}));default:return i(r)&&i(n)?e:i(r)?o((function(e){return t(e,n)})):i(n)?o((function(e){return t(r,e)})):t(r,n)}}}const c=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function u(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!c(n)){for(var s=0;s<t.length;){if("function"==typeof n[t[s]])return n[t[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}const l=function(){return this.xf["@@transducer/init"]()},f=function(t){return this.xf["@@transducer/result"](t)};var p=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=l,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){var r;return this.f(e)||(this.all=!1,t=(r=this.xf["@@transducer/step"](t,!1))&&r["@@transducer/reduced"]?r:{"@@transducer/value":r,"@@transducer/reduced":!0}),t},t}();function h(t){return function(e){return new p(t,e)}}const m=a(u(["all"],h,(function(t,e){for(var r=0;r<e.length;){if(!t(e[r]))return!1;r+=1}return!0})));function y(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,s){return e.apply(this,arguments)};case 5:return function(t,r,n,s,i){return e.apply(this,arguments)};case 6:return function(t,r,n,s,i,o){return e.apply(this,arguments)};case 7:return function(t,r,n,s,i,o,a){return e.apply(this,arguments)};case 8:return function(t,r,n,s,i,o,a,c){return e.apply(this,arguments)};case 9:return function(t,r,n,s,i,o,a,c,u){return e.apply(this,arguments)};case 10:return function(t,r,n,s,i,o,a,c,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function d(t,e,r){return function(){for(var n=[],s=0,o=t,a=0,c=!1;a<e.length||s<arguments.length;){var u;a<e.length&&(!i(e[a])||s>=arguments.length)?u=e[a]:(u=arguments[s],s+=1),n[a]=u,i(u)?c=!0:o-=1,a+=1}return!c&&o<=0?r.apply(this,n):y(Math.max(0,o),d(t,n,r))}}const v=a((function(t,e){return 1===t?o(e):y(t,d(t,[],e))}));const g=o((function(t){return v(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}));function b(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function E(t,e,r){for(var n=0,s=r.length;n<s;){if(t(e,r[n]))return!0;n+=1}return!1}function j(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const x="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var w=Object.prototype.toString;const O=function(){return"[object Arguments]"===w.call(arguments)?function(t){return"[object Arguments]"===w.call(t)}:function(t){return j("callee",t)}}();var S=!{toString:null}.propertyIsEnumerable("toString"),A=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=function(){return arguments.propertyIsEnumerable("length")}(),k=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},P="function"!=typeof Object.keys||_?o((function(t){if(Object(t)!==t)return[];var e,r,n=[],s=_&&O(t);for(e in t)!j(e,t)||s&&"length"===e||(n[n.length]=e);if(S)for(r=A.length-1;r>=0;)j(e=A[r],t)&&!k(n,e)&&(n[n.length]=e),r-=1;return n})):o((function(t){return Object(t)!==t?[]:Object.keys(t)}));const M=P;const T=o((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function C(t,e,r,n){var s=b(t);function i(t,e){return R(t,e,r.slice(),n.slice())}return!E((function(t,e){return!E(i,e,t)}),b(e),s)}function R(t,e,r,n){if(x(t,e))return!0;var s,i,o=T(t);if(o!==T(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(s=t.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!x(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!x(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(o){case"Map":return t.size===e.size&&C(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&C(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=M(t);if(c.length!==M(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(a=c.length-1;a>=0;){var f=c[a];if(!j(f,e)||!R(e[f],t[f],u,l))return!1;a-=1}return!0}const F=a((function(t,e){return R(t,e,[],[])}));function V(t,e){return function(t,e,r){var n,s;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(s=t[r])&&1/s===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(s=t[r])&&s!=s)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(F(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}const I=a(V);const q=g(I);class N extends e.Om{constructor(t,e,r){super(t,e,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(t){this.attributes.set("code",t)}}const B=N;class L extends e.Om{constructor(t,e,r){super(t,e,r),this.element="comment"}}const z=L;var D=o((function(t){return function(){return t}}))(void 0);const G=F(D());class U extends e.wE{constructor(t,e,r){super(t,e,r),this.element="parseResult"}get api(){return this.children.filter((t=>t.classes.contains("api"))).first}get results(){return this.children.filter((t=>t.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((t=>"annotation"===t.element))}get warnings(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("warning")))}get errors(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("error")))}get isEmpty(){return this.children.reject((t=>"annotation"===t.element)).isEmpty}replaceResult(t){const{result:e}=this;if(G(e))return!1;const r=this.content.findIndex((t=>t===e));return-1!==r&&(this.content[r]=t,!0)}}const K=U;class $ extends e.wE{constructor(t,e,r){super(t,e,r),this.element="sourceMap"}get positionStart(){return this.children.filter((t=>t.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((t=>t.classes.contains("position"))).get(1)}set position(t){if(void 0===t)return;const r=new e.wE([t.start.row,t.start.column,t.start.char]),n=new e.wE([t.end.row,t.end.column,t.end.char]);r.classes.push("position"),n.classes.push("position"),this.push(r).push(n)}}const W=$,H=(t,e)=>"object"==typeof e&&null!==e&&t in e&&"function"==typeof e[t],Y=t=>"object"==typeof t&&null!=t&&"_storedElement"in t&&"string"==typeof t._storedElement&&"_content"in t,X=(t,e)=>"object"==typeof e&&null!==e&&"primitive"in e&&("function"==typeof e.primitive&&e.primitive()===t),J=(t,r)=>"object"==typeof r&&null!==r&&"classes"in r&&(Array.isArray(r.classes)||r.classes instanceof e.wE)&&r.classes.includes(t),Z=(t,e)=>"object"==typeof e&&null!==e&&"element"in e&&e.element===t,Q=t=>t({hasMethod:H,hasBasicElementProps:Y,primitiveEq:X,isElementType:Z,hasClass:J}),tt=Q((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.Hg||t(n)&&r(void 0,n))),et=Q((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.Om||t(n)&&r("string",n))),rt=Q((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.kT||t(n)&&r("number",n))),nt=Q((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.Os||t(n)&&r("null",n))),st=Q((({hasBasicElementProps:t,primitiveEq:r})=>n=>n instanceof e.bd||t(n)&&r("boolean",n))),it=Q((({hasBasicElementProps:t,primitiveEq:r,hasMethod:n})=>s=>s instanceof e.Sh||t(s)&&r("object",s)&&n("keys",s)&&n("values",s)&&n("items",s))),ot=Q((({hasBasicElementProps:t,primitiveEq:r,hasMethod:n})=>s=>s instanceof e.wE&&!(s instanceof e.Sh)||t(s)&&r("array",s)&&n("push",s)&&n("unshift",s)&&n("map",s)&&n("reduce",s))),at=Q((({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>s=>s instanceof e.Pr||t(s)&&r("member",s)&&n(void 0,s))),ct=Q((({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>s=>s instanceof e.Ft||t(s)&&r("link",s)&&n(void 0,s))),ut=Q((({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>s=>s instanceof e.sI||t(s)&&r("ref",s)&&n(void 0,s))),lt=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof B||t(n)&&e("annotation",n)&&r("array",n))),ft=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof z||t(n)&&e("comment",n)&&r("string",n))),pt=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof K||t(n)&&e("parseResult",n)&&r("array",n))),ht=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof W||t(n)&&e("sourceMap",n)&&r("array",n))),mt=t=>Z("object",t)||Z("array",t)||Z("boolean",t)||Z("number",t)||Z("string",t)||Z("null",t)||Z("member",t),yt=t=>ht(t.meta.get("sourceMap")),dt=(t,e)=>{if(0===t.length)return!0;const r=e.attributes.get("symbols");return!!ot(r)&&m(q(r.toValue()),t)},vt=(t,e)=>0===t.length||m(q(e.classes.toValue()),t);function gt(t){return"[object String]"===Object.prototype.toString.call(t)}function bt(t,e){var r=t<0?e.length+t:t;return gt(e)?e.charAt(r):e[r]}const Et=o((function(t){return bt(-1,t)}));var jt=r(1212);const xt=class extends jt{constructor(t,e,r){if(super(t,e,r),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!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:t}=r;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}};class wt extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call(xt,t)}constructor(t,e){if(super(t,e),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!=e&&"object"==typeof e&&Object.hasOwn(e,"cause")&&!("cause"in this)){const{cause:t}=e;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}}const Ot=wt;const St=class extends Ot{};const At=class extends St{};const _t=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new At("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new At("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new At("latest method in MediaTypes class is not yet implemented.")}};class kt extends _t{filterByFormat(t="generic"){const e="generic"===t?"apidesignsystems;version":t;return this.filter((t=>t.includes(e)))}findBy(t="2021-05-07",e="generic"){const r="generic"===e?`apidesignsystems;version=${t}`:`apidesignsystems+${e};version=${t}`;return this.find((t=>t.includes(r)))||this.unknownMediaType}latest(t="generic"){return Et(this.filterByFormat(t))}}const Pt=new kt("application/vnd.aai.apidesignsystems;version=2021-05-07","application/vnd.aai.apidesignsystems+json;version=2021-05-07","application/vnd.aai.apidesignsystems+yaml;version=2021-05-07");function Mt(t){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return i(r)?e:a((function(e,n){return t(r,e,n)}));case 2:return i(r)&&i(n)?e:i(r)?a((function(e,r){return t(e,n,r)})):i(n)?a((function(e,n){return t(r,e,n)})):o((function(e){return t(r,n,e)}));default:return i(r)&&i(n)&&i(s)?e:i(r)&&i(n)?a((function(e,r){return t(e,r,s)})):i(r)&&i(s)?a((function(e,r){return t(e,n,r)})):i(n)&&i(s)?a((function(e,n){return t(r,e,n)})):i(r)?o((function(e){return t(e,n,s)})):i(n)?o((function(e){return t(r,e,s)})):i(s)?o((function(e){return t(r,n,e)})):t(r,n,s)}}}function Tt(t){return"[object Object]"===Object.prototype.toString.call(t)}const Ct=Mt((function(t,e,r){var n,s={};for(n in r=r||{},e=e||{})j(n,e)&&(s[n]=j(n,r)?t(n,e[n],r[n]):e[n]);for(n in r)j(n,r)&&!j(n,s)&&(s[n]=r[n]);return s}));const Rt=Mt((function t(e,r,n){return Ct((function(r,n,s){return Tt(n)&&Tt(s)?t(e,n,s):e(r,n,s)}),r,n)}));const Ft=a((function(t,e){return Rt((function(t,e,r){return r}),t,e)}));const Vt=a((function(t,e){return null==e||e!=e?t:e})),It=Number.isInteger||function(t){return t<<0===t};const qt=a((function(t,e){if(null!=e)return It(t)?bt(t,e):e[t]}));const Nt=Mt((function(t,e,r){return Vt(t,qt(e,r))}));function Bt(t,e){for(var r=e,n=0;n<t.length;n+=1){if(null==r)return;var s=t[n];r=It(s)?bt(s,r):r[s]}return r}const Lt=a(Bt);function zt(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return c(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Dt=Mt(zt("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const Gt=Dt(0,-1);const Ut=a((function(t,e){return y(t.length,(function(){return t.apply(e,arguments)}))}));const Kt=a((function(t,e){return t.apply(this,e)}));function $t(t,e,r){for(var n=0,s=r.length;n<s;)e=t(e,r[n]),n+=1;return e}const Wt=o((function(t){return!!c(t)||!!t&&("object"==typeof t&&(!gt(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var Ht="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Yt(t,e,r){return function(n,s,i){if(Wt(i))return t(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return e(n,s,i,"fantasy-land/reduce");if(null!=i[Ht])return r(n,s,i[Ht]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return e(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Xt(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function Jt(t,e,r,n){return r[n](t,e)}const Zt=Yt($t,Jt,Xt);function Qt(t,e){for(var r=0,n=e.length,s=Array(n);r<n;)s[r]=t(e[r]),r+=1;return s}var te=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=l,t.prototype["@@transducer/result"]=f,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const ee=a(u(["fantasy-land/map","map"],(function(t){return function(e){return new te(t,e)}}),(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return v(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return $t((function(r,n){return r[n]=t(e[n]),r}),{},M(e));default:return Qt(t,e)}})));const re=a((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:Zt((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,s=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<s;)i[i.length]=e[r],r+=1;return i}(t,ee(r,e))}),[],t)}));const ne=a((function(t,e){var r=v(t,e);return v(t,(function(){return $t(re,ee(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const se=o((function(t){return ne(t.length,t)}));const ie=se(o((function(t){return!t})));function oe(t){return'"'+t.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 ae=function(t){return(t<10?"0":"")+t};const ce="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+ae(t.getUTCMonth()+1)+"-"+ae(t.getUTCDate())+"T"+ae(t.getUTCHours())+":"+ae(t.getUTCMinutes())+":"+ae(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var ue=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=l,t.prototype["@@transducer/result"]=f,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function le(t){return function(e){return new ue(t,e)}}const fe=a(u(["fantasy-land/filter","filter"],le,(function(t,e){return Tt(e)?$t((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},M(e)):function(t,e){for(var r=0,n=e.length,s=[];r<n;)t(e[r])&&(s[s.length]=e[r]),r+=1;return s}(t,e)})));const pe=a((function(t,e){return fe((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function he(t,e){var r=function(r){var n=e.concat([t]);return V(r,n)?"<Circular>":he(r,n)},n=function(t,e){return Qt((function(e){return oe(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Qt(r,t).join(", ")+"))";case"[object Array]":return"["+Qt(r,t).concat(n(t,pe((function(t){return/^\d+$/.test(t)}),M(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):oe(ce(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":oe(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var s=t.toString();if("[object Object]"!==s)return s}return"{"+n(t,M(t)).join(", ")+"}"}}const me=o((function(t){return he(t,[])}));const ye=a((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var s=r(typeof t,typeof e);if(void 0!==s)return s===typeof t?t:e;var i=me(t),o=r(i,me(e));return void 0!==o&&o===i?t:e}));const de=a((function(t,e){return ee(qt(t),e)}));function ve(t,e,r){for(var n=0,s=r.length;n<s;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}function ge(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function be(t,e,r,n){return t["@@transducer/result"](r[n](Ut(t["@@transducer/step"],t),e))}const Ee=Yt(ve,be,ge);var je=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();const xe=Mt((function(t,e,r){return Ee("function"==typeof t?new je(t):t,e,r)}));const we=o((function(t){return v(xe(ye,0,de("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function Oe(t,e){return function(){return e.call(this,t.apply(this,arguments))}}const Se=o(zt("tail",Dt(1,1/0)));function Ae(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return y(arguments[0].length,xe(Oe,arguments[0],Se(arguments)))}var _e=function(t,e){switch(arguments.length){case 0:return _e;case 1:return function e(r){return 0===arguments.length?e:x(t,r)};default:return x(t,e)}};const ke=_e;const Pe=v(1,Ae(T,ke("GeneratorFunction")));const Me=v(1,Ae(T,ke("AsyncFunction")));const Te=we([Ae(T,ke("Function")),Pe,Me]);const Ce=ie(Te);const Re=a((function(t,e){return t&&e}));var Fe=a((function(t,e){return function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:se(Re)(t,e)}));const Ve=Fe;var Ie=o((function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():c(t)?[]:gt(t)?"":Tt(t)?{}:O(t)?function(){return arguments}():function(t){var e=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===e||"[object Int8Array]"===e||"[object Uint8Array]"===e||"[object Int16Array]"===e||"[object Uint16Array]"===e||"[object Int32Array]"===e||"[object Uint32Array]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object BigInt64Array]"===e||"[object BigUint64Array]"===e}(t)?t.constructor.from(""):void 0}));const qe=Ie;const Ne=o((function(t){return null!=t&&F(t,qe(t))}));const Be=Ve(v(1,Te(Array.isArray)?Array.isArray:Ae(T,ke("Array"))),Ne);const Le=v(3,(function(t,e,r){var n=Lt(t,r),s=Lt(Gt(t),r);if(!Ce(n)&&!Be(t)){var i=Ut(n,s);return Kt(i,e)}}));class ze extends e.g${constructor(){super(),this.register("annotation",B),this.register("comment",z),this.register("parseResult",K),this.register("sourceMap",W)}}const De=new ze,Ge=()=>({predicates:{...t},namespace:De});const Ue=v(1,Ae(T,ke("String")));const Ke=class extends Ot{constructor(t,e){if(super(t,e),null!=e&&"object"==typeof e){const{cause:t,...r}=e;Object.assign(this,r)}}},$e=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},We={},He=t=>null==t?void 0:t.type,Ye=t=>"string"==typeof He(t),Xe=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),Je=(t,{visitFnGetter:e=$e,nodeTypeGetter:r=He,breakSymbol:n=We,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(t.length).fill(a);return{enter(u,...l){let f=u,p=!1;for(let h=0;h<t.length;h+=1)if(c[h]===a){const a=e(t[h],r(f),!1);if("function"==typeof a){const e=a.call(t[h],f,...l);if("function"==typeof(null==e?void 0:e.then))throw new Ke("Async visitor not supported in sync mode",{visitor:t[h],visitFn:a});if(e===i)c[h]=u;else if(e===n)c[h]=n;else{if(e===s)return e;if(void 0!==e){if(!o)return e;f=e,p=!0}}}}return p?f:void 0},leave(s,...o){for(let u=0;u<t.length;u+=1)if(c[u]===a){const a=e(t[u],r(s),!0);if("function"==typeof a){const e=a.call(t[u],s,...o);if("function"==typeof(null==e?void 0:e.then))throw new Ke("Async visitor not supported in sync mode",{visitor:t[u],visitFn:a});if(e===n)c[u]=n;else if(void 0!==e&&e!==i)return e}}else c[u]===s&&(c[u]=a)}}};Je[Symbol.for("nodejs.util.promisify.custom")]=(t,{visitFnGetter:e=$e,nodeTypeGetter:r=He,breakSymbol:n=We,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(t.length).fill(a);return{async enter(u,...l){let f=u,p=!1;for(let h=0;h<t.length;h+=1)if(c[h]===a){const a=e(t[h],r(f),!1);if("function"==typeof a){const e=await a.call(t[h],f,...l);if(e===i)c[h]=u;else if(e===n)c[h]=n;else{if(e===s)return e;if(void 0!==e){if(!o)return e;f=e,p=!0}}}}return p?f:void 0},async leave(s,...o){for(let u=0;u<t.length;u+=1)if(c[u]===a){const a=e(t[u],r(s),!0);if("function"==typeof a){const e=await a.call(t[u],s,...o);if(e===n)c[u]=n;else if(void 0!==e&&e!==i)return e}}else c[u]===s&&(c[u]=a)}}};const Ze=(t,e,{keyMap:r=null,state:n={},breakSymbol:s=We,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=$e,nodeTypeGetter:c=He,nodePredicate:u=Ye,nodeCloneFn:l=Xe,detectCycles:f=!0}={})=>{const p=r||{};let h,m,y=Array.isArray(t),d=[t],v=-1,g=[],b=t;const E=[],j=[];do{v+=1;const t=v===d.length;let r;const O=t&&0!==g.length;if(t){if(r=0===j.length?void 0:E.pop(),b=m,m=j.pop(),O)if(y){b=b.slice();let t=0;for(const[e,r]of g){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of g)b[t]=e}v=h.index,d=h.keys,g=h.edits,y=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=y?v:d[v],b=m[r],b===i||void 0===b)continue;E.push(r)}let S;if(!Array.isArray(b)){var x;if(!u(b))throw new Ke(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&j.includes(b)){E.pop();continue}const i=a(e,c(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;S=i.call(e,b,r,m,E,j)}if("function"==typeof(null===(x=S)||void 0===x?void 0:x.then))throw new Ke("Async visitor not supported in sync mode",{visitor:e,visitFn:i});if(S===s)break;if(S===o){if(!t){E.pop();continue}}else if(void 0!==S&&(g.push([r,S]),!t)){if(!u(S)){E.pop();continue}b=S}}var w;if(void 0===S&&O&&g.push([r,b]),!t)h={inArray:y,index:v,keys:d,edits:g,prev:h},y=Array.isArray(b),d=y?b:null!==(w=p[c(b)])&&void 0!==w?w:[],v=-1,g=[],m!==i&&void 0!==m&&j.push(m),m=b}while(void 0!==h);return 0!==g.length?g[g.length-1][1]:t};Ze[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:s=We,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=$e,nodeTypeGetter:c=He,nodePredicate:u=Ye,nodeCloneFn:l=Xe,detectCycles:f=!0}={})=>{const p=r||{};let h,m,y=Array.isArray(t),d=[t],v=-1,g=[],b=t;const E=[],j=[];do{v+=1;const t=v===d.length;let r;const w=t&&0!==g.length;if(t){if(r=0===j.length?void 0:E.pop(),b=m,m=j.pop(),w)if(y){b=b.slice();let t=0;for(const[e,r]of g){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of g)b[t]=e}v=h.index,d=h.keys,g=h.edits,y=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=y?v:d[v],b=m[r],b===i||void 0===b)continue;E.push(r)}let O;if(!Array.isArray(b)){if(!u(b))throw new Ke(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&j.includes(b)){E.pop();continue}const i=a(e,c(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=await i.call(e,b,r,m,E,j)}if(O===s)break;if(O===o){if(!t){E.pop();continue}}else if(void 0!==O&&(g.push([r,O]),!t)){if(!u(O)){E.pop();continue}b=O}}var x;if(void 0===O&&w&&g.push([r,b]),!t)h={inArray:y,index:v,keys:d,edits:g,prev:h},y=Array.isArray(b),d=y?b:null!==(x=p[c(b)])&&void 0!==x?x:[],v=-1,g=[],m!==i&&void 0!==m&&j.push(m),m=b}while(void 0!==h);return 0!==g.length?g[g.length-1][1]:t};const Qe=class extends Ke{value;constructor(t,e){super(t,e),void 0!==e&&(this.value=e.value)}};const tr=class extends Qe{};const er=class extends Qe{},rr=(t,r={})=>{const{visited:n=new WeakMap}=r,s={...r,visited:n};if(n.has(t))return n.get(t);if(t instanceof e.KeyValuePair){const{key:r,value:i}=t,o=tt(r)?rr(r,s):r,a=tt(i)?rr(i,s):i,c=new e.KeyValuePair(o,a);return n.set(t,c),c}if(t instanceof e.ot){const r=t=>rr(t,s),i=[...t].map(r),o=new e.ot(i);return n.set(t,o),o}if(t instanceof e.G6){const r=t=>rr(t,s),i=[...t].map(r),o=new e.G6(i);return n.set(t,o),o}if(tt(t)){const r=ir(t);if(n.set(t,r),t.content)if(tt(t.content))r.content=rr(t.content,s);else if(t.content instanceof e.KeyValuePair)r.content=rr(t.content,s);else if(Array.isArray(t.content)){const e=t=>rr(t,s);r.content=t.content.map(e)}else r.content=t.content;else r.content=t.content;return r}throw new tr("Value provided to cloneDeep function couldn't be cloned",{value:t})};rr.safe=t=>{try{return rr(t)}catch{return t}};const nr=t=>{const{key:r,value:n}=t;return new e.KeyValuePair(r,n)},sr=t=>{const r=new t.constructor;if(r.element=t.element,t.meta.length>0&&(r._meta=rr(t.meta)),t.attributes.length>0&&(r._attributes=rr(t.attributes)),tt(t.content)){const e=t.content;r.content=sr(e)}else Array.isArray(t.content)?r.content=[...t.content]:t.content instanceof e.KeyValuePair?r.content=nr(t.content):r.content=t.content;return r},ir=t=>{if(t instanceof e.KeyValuePair)return nr(t);if(t instanceof e.ot)return(t=>{const r=[...t];return new e.ot(r)})(t);if(t instanceof e.G6)return(t=>{const r=[...t];return new e.G6(r)})(t);if(tt(t))return sr(t);throw new er("Value provided to cloneShallow function couldn't be cloned",{value:t})};ir.safe=t=>{try{return ir(t)}catch{return t}};const or=t=>it(t)?"ObjectElement":ot(t)?"ArrayElement":at(t)?"MemberElement":et(t)?"StringElement":st(t)?"BooleanElement":rt(t)?"NumberElement":nt(t)?"NullElement":ct(t)?"LinkElement":ut(t)?"RefElement":void 0,ar=t=>tt(t)?ir(t):Xe(t),cr=Ae(or,Ue),ur={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const lr=(t,e,{keyMap:r=ur,...n}={})=>Ze(t,e,{keyMap:r,nodeTypeGetter:or,nodePredicate:cr,nodeCloneFn:ar,...n});lr[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=ur,...n}={})=>Ze[Symbol.for("nodejs.util.promisify.custom")](t,e,{keyMap:r,nodeTypeGetter:or,nodePredicate:cr,nodeCloneFn:ar,...n});const fr={toolboxCreator:Ge,visitorOptions:{nodeTypeGetter:or,exposeEdits:!0}},pr=(t,e,r={})=>{if(0===e.length)return t;const n=Ft(fr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),a=e.map((t=>t(o))),c=Je(a.map(Nt({},"visitor")),{...i});a.forEach(Le(["pre"],[]));const u=lr(t,c,i);return a.forEach(Le(["post"],[])),u};pr[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,r={})=>{if(0===e.length)return t;const n=Ft(fr,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),a=e.map((t=>t(o))),c=Je[Symbol.for("nodejs.util.promisify.custom")],u=lr[Symbol.for("nodejs.util.promisify.custom")],l=c(a.map(Nt({},"visitor")),{...i});await Promise.allSettled(a.map(Le(["pre"],[])));const f=await u(t,l,i);return await Promise.allSettled(a.map(Le(["post"],[]))),f};const hr=(t,{Type:e,plugins:r=[]})=>{const n=new e(t);return tt(t)&&(t.meta.length>0&&(n.meta=rr(t.meta)),t.attributes.length>0&&(n.attributes=rr(t.attributes))),pr(n,r,{toolboxCreator:Ge,visitorOptions:{nodeTypeGetter:or}})},mr=t=>(e,r={})=>hr(e,{...r,Type:t});e.Sh.refract=mr(e.Sh),e.wE.refract=mr(e.wE),e.Om.refract=mr(e.Om),e.bd.refract=mr(e.bd),e.Os.refract=mr(e.Os),e.kT.refract=mr(e.kT),e.Ft.refract=mr(e.Ft),e.sI.refract=mr(e.sI),B.refract=mr(B),z.refract=mr(z),K.refract=mr(K),W.refract=mr(W);class yr extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="info"}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}}const dr=yr;class vr extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="main",this.classes.push("api")}get version(){return this.get("version")}set version(t){this.set("version",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get principles(){return this.get("principles")}set principles(t){this.set("principles",t)}get standards(){return this.get("standards")}set standards(t){this.set("standards",t)}get scenarios(){return this.get("scenarios")}set scenarios(t){this.set("scenarios",t)}}const gr=vr;class br extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="principle"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const Er=br;class jr extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="requirement"}get subject(){return this.get("subject")}set subject(t){this.set("subject",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}get values(){return this.get("values")}set values(t){this.set("values",t)}get follows(){return this.get("follows")}set follows(t){this.set("follows",t)}}const xr=jr;class wr extends e.Om{constructor(t,e,r){super(t,e,r),this.element="requirementLevel"}}const Or=wr;class Sr extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="scenario"}get description(){return this.get("description")}set description(t){this.set("description",t)}get when(){return this.get("when")}set when(t){this.set("when",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}}const Ar=Sr;class _r extends e.Sh{constructor(t,e,r){super(t,e,r),this.element="standard"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const kr=_r;class Pr extends e.wE{constructor(t,e,r){super(t,e,r),this.element="standardIdentifier"}}const Mr=Pr,Tr={namespace:t=>{const{base:e}=t;return e.register("info",dr),e.register("main",gr),e.register("principle",Er),e.register("requirement",xr),e.register("requirementLevel",Or),e.register("scenario",Ar),e.register("standard",kr),e.register("standardIdentifier",Mr),e}};const Cr=function(){return!0},Rr=t=>"string"==typeof(null==t?void 0:t.type)?t.type:or(t),Fr={EphemeralObject:["content"],EphemeralArray:["content"],...ur},Vr=(t,e,{keyMap:r=Fr,...n}={})=>lr(t,e,{keyMap:r,nodeTypeGetter:Rr,nodePredicate:Cr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});Vr[Symbol.for("nodejs.util.promisify.custom")]=async(t,{keyMap:e=Fr,...r}={})=>lr[Symbol.for("nodejs.util.promisify.custom")](t,visitor,{keyMap:e,nodeTypeGetter:Rr,nodePredicate:Cr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const Ir=class{type="EphemeralArray";content=[];reference=void 0;constructor(t){this.content=t,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const qr=class{type="EphemeralObject";content=[];reference=void 0;constructor(t){this.content=t,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class Nr{ObjectElement={enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const e=new qr(t.content);return this.references.set(t,e),e}};EphemeralObject={leave:t=>t.toObject()};MemberElement={enter:t=>[t.key,t.value]};ArrayElement={enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const e=new Ir(t.content);return this.references.set(t,e),e}};EphemeralArray={leave:t=>t.toArray()};references=new WeakMap;BooleanElement(t){return t.toValue()}NumberElement(t){return t.toValue()}StringElement(t){return t.toValue()}NullElement(){return null}RefElement(t,...e){var r;const n=e[3];return"EphemeralObject"===(null===(r=n[n.length-1])||void 0===r?void 0:r.type)?Symbol.for("delete-node"):String(t.toValue())}LinkElement(t){return et(t.href)?t.href.toValue():""}}const Br=t=>tt(t)?et(t)||rt(t)||st(t)||nt(t)?t.toValue():Vr(t,new Nr):t,Lr=()=>()=>{let t=[],e=[];return{visitor:{OperationElement:{enter(e,...r){const[,,,n]=r,s=n[n.length-2];t.push(["http","transaction"],["http","request"],["http","request","url"],["http","request","url",Br(s.meta.get("path"))],["http","request","method"],["http","request","method",Br(e.meta.get("http-method")).toLowerCase()]),s?.parameters?.forEach((e=>{et(e.in)&&et(e.name)&&"header"===Br(e.in)&&t.push(["http","request","header"],["http","request","header",Br(e.name)],["http","message","header"],["http","message","header",Br(e.name)])}))},leave(e){e.setMetaProperty("ads-s-standard-identifier",t),t=[]}},ParameterElement(e){et(e.in)&&et(e.name)&&"header"===Br(e.in)&&t.push(["http","request","header"],["http","request","header",Br(e.name)],["http","message","header"],["http","message","header",Br(e.name)])},RequestBodyElement(e){it(e.contentProp)&&(t.push(["http","request","body"],["http","message","body"]),void 0!==e.contentProp&&it(e.contentProp)&&e.contentProp.forEach((()=>{t.push(["http","request","header"],["http","request","header","Content-Type"],["http","message","header"],["http","message","header","Content-Type"])})))},ResponseElement:{enter(t){if(e.push(["http","response"]),t.meta.hasKey("http-status-code")){const r=String(Br(t.meta.get("http-status-code"))),n=r.startsWith("2")?"success":r.startsWith("3")?"redirect":r.startsWith("4")?"client_error":r.startsWith("5")?"sever_error":"unknown";e.push(["http","response","status_code"],["http","response","status_code",r],["http","response","status_code",n])}void 0!==t.headers&&it(t.headers)&&t.headers.forEach(((t,r)=>{const n=Br(r);e.push(["http","response","header"],["http","response","header",n],["http","message","header",n])})),void 0!==t.contentProp&&it(t.contentProp)&&(e.push(["http","response","body"],["http","message","body"]),t.contentProp.forEach(((t,r)=>{const n=Br(r);e.push(["http","response","header"],["http","response","header",n],["http","message","header",n])})))},leave(t){t.setMetaProperty("ads-s-standard-identifier",e),e=[]}}}}},zr=()=>()=>({visitor:{OperationElement(t,...e){const[,,,r]=e,n=r[r.length-2],s=rr(t.meta.get("http-method"));s.content=Br(s).toLowerCase();const i=[{subject:["http","request","url"],value:n.meta.get("path")},{subject:["http","request","method"],value:s}];void 0!==n.parameters&&ot(n.parameters)&&n.parameters.forEach((t=>{et(t.in)&&et(t.name)&&"header"===Br(t.in)&&(i.push({subject:["http","request","header"],value:rr.safe(t.name)}),i.push({subject:["http","message","header"],value:rr.safe(t.name)}))})),t.setMetaProperty("ads-a-standard-identifier",i)},ParameterElement(t){et(t.in)&&et(t.name)&&"header"===Br(t.in)&&t.setMetaProperty("ads-a-standard-identifier",[{subject:["http","request","header"],value:rr.safe(t.name)},{subject:["http","message","header"],value:rr.safe(t.name)}])},RequestBodyElement(t){if(void 0===t.contentProp||!it(t.contentProp))return;const r=[];t.contentProp.forEach(((t,n)=>{r.push({subject:["http","request","header"],value:new e.Om("Content-Type",rr(n.meta))},{subject:["http","message","header"],value:new e.Om("Content-Type",rr(n.meta))},{subject:["http","request","header","Content-Type"],value:rr(n)},{subject:["http","message","header","Content-Type"],value:rr(n)})})),t.setMetaProperty("ads-a-standard-identifier",r)},ResponseElement(t){if(!t.meta.hasKey("http-status-code"))return;const e=[{subject:["http","response","status_code"],value:rr(t.meta.get("http-status-code"))}];t.setMetaProperty("ads-a-standard-identifier",e)}}}),Dr=t=>{if(tt(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Gr={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...ur},Ur={keyMap:Gr,nodeTypeGetter:Dr},Kr=(t,e)=>{const r=[];return lr(t,{OperationElement(t){if(!t.meta.hasKey("ads-s-standard-identifier"))return;const n=Br(t.meta.get("ads-s-standard-identifier"));I(Br(e),n)&&r.push(t)},ResponseElement(t){if(!t.meta.hasKey("ads-s-standard-identifier"))return;const n=Br(t.meta.get("ads-s-standard-identifier"));I(Br(e),n)&&r.push(t)}},Ur),r},$r={keyMap:Gr,nodeTypeGetter:Dr},Wr=(t,r)=>{const n=String(Br(r)),s=new e.wE;return lr(t,{enter(t){t.meta.hasKey("ads-a-standard-identifier")&&t.meta.get("ads-a-standard-identifier").content.filter((t=>String(Br(t.get("subject")))===n)).forEach((t=>{s.push(t.get("value"))}))}},$r),s},Hr=(t,e)=>{const r=[],{subject:n}=e;if(void 0===e.values)return r;if("may"===Br(e.level)){const s=((t,e)=>null===t||e.includes(t))(Br(t),Br(e.values));if(!s){const s=((t,e,r)=>{const n=Br(t),s=JSON.stringify(Br(r));if("may"===Br(e))return`"${n}" not allowed for subject ${s}`;throw new At('[Requirement levels] other than "may" are not yet implemented.')})(t,e.level,n),i=((t,e,r,n)=>{const s=new B(t);return s.classes.push(r),s.attributes.set("value",rr(e)),s.attributes.set("standardIdentifier",rr(n)),s})(s,t,"error",n);r.push(i)}}return r},Yr=(t,e)=>{const r=[],{when:n}=t,s=Kr(e,n),{then:i}=t;return void 0===i||s.forEach((t=>{i.forEach((e=>{r.push(...((t,e)=>{const{subject:r}=t,n=Wr(e,r),s=[];return n.forEach((e=>{s.push(...Hr(e,t))})),s})(e,t))}))})),r},Xr=(t,e)=>{const{scenarios:r}=t,n=[];return void 0!==r&&ot(r)?(r.forEach((t=>{n.push(...Yr(t,e))})),n):[]},Jr=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof gr||t(n)&&e("main",n)&&r("object",n))),Zr=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof dr||t(n)&&e("info",n)&&r("object",n))),Qr=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Er||t(n)&&e("principle",n)&&r("object",n))),tn=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof xr||t(n)&&e("requirement",n)&&r("object",n))),en=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Or||t(n)&&e("requirementLevel",n)&&r("string",n))),rn=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ar||t(n)&&e("scenario",n)&&r("object",n))),nn=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof kr||t(n)&&e("standard",n)&&r("object",n))),sn=Q((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Mr||t(n)&&e("standardIdentifier",n)&&r("array",n)));const on=a((function(t,e){for(var r={},n=0;n<t.length;)t[n]in e&&(r[t[n]]=e[t[n]]),n+=1;return r}));const an=Mt((function(t,e,r){return t(Bt(e,r))})),cn=t=>{const e=t.meta.length>0?rr(t.meta):void 0,r=t.attributes.length>0?rr(t.attributes):void 0;return new t.constructor(void 0,e,r)},un=(t,e)=>e.clone&&e.isMergeableElement(t)?hn(cn(t),t,e):t,ln=t=>"function"!=typeof t.customMetaMerge?t=>rr(t):t.customMetaMerge,fn=t=>"function"!=typeof t.customAttributesMerge?t=>rr(t):t.customAttributesMerge,pn={clone:!0,isMergeableElement:t=>it(t)||ot(t),arrayElementMerge:(t,e,r)=>t.concat(e)["fantasy-land/map"]((t=>un(t,r))),objectElementMerge:(t,e,r)=>{const n=it(t)?cn(t):cn(e);return it(t)&&t.forEach(((t,e,s)=>{const i=ir(s);i.value=un(t,r),n.content.push(i)})),e.forEach(((e,s,i)=>{const o=Br(s);let a;if(it(t)&&t.hasKey(o)&&r.isMergeableElement(e)){const n=t.get(o);a=ir(i),a.value=((t,e)=>{if("function"!=typeof e.customMerge)return hn;const r=e.customMerge(t,e);return"function"==typeof r?r:hn})(s,r)(n,e)}else a=ir(i),a.value=un(e,r);n.remove(o),n.content.push(a)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function hn(t,e,r){var n,s,i;const o={...pn,...r};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:pn.isMergeableElement,o.arrayElementMerge=null!==(s=o.arrayElementMerge)&&void 0!==s?s:pn.arrayElementMerge,o.objectElementMerge=null!==(i=o.objectElementMerge)&&void 0!==i?i:pn.objectElementMerge;const a=ot(e);if(!(a===ot(t)))return un(e,o);const c=a&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(t,e,o):o.objectElementMerge(t,e,o);return c.meta=ln(o)(t.meta,e.meta),c.attributes=fn(o)(t.attributes,e.attributes),c}hn.all=(t,r)=>{if(!Array.isArray(t))throw new TypeError("First argument of deepmerge should be an array.");return 0===t.length?new e.Sh:t.reduce(((t,e)=>hn(t,e,r)),cn(t[0]))};const mn=class{element;constructor(t={}){Object.assign(this,t)}copyMetaAndAttributes(t,e){(t.meta.length>0||e.meta.length>0)&&(e.meta=hn(e.meta,t.meta),yt(t)&&e.meta.set("sourceMap",t.meta.get("sourceMap"))),(t.attributes.length>0||t.meta.length>0)&&(e.attributes=hn(e.attributes,t.attributes))}};const yn=class extends mn{enter(t){return this.element=rr(t),We}};const dn=class extends mn{specObj;passingOptionsNames=["specObj"];constructor({specObj:t,...e}){super({...e}),this.specObj=t}retrievePassingOptions(){return on(this.passingOptionsNames,this)}retrieveFixedFields(t){const e=Lt(["visitors",...t,"fixedFields"],this.specObj);return"object"==typeof e&&null!==e?Object.keys(e):[]}retrieveVisitor(t){return an(Te,["visitors",...t],this.specObj)?Lt(["visitors",...t],this.specObj):Lt(["visitors",...t,"$visitor"],this.specObj)}retrieveVisitorInstance(t,e={}){const r=this.retrievePassingOptions();return new(this.retrieveVisitor(t))({...r,...e})}toRefractedElement(t,e,r={}){const n=this.retrieveVisitorInstance(t,r);return n instanceof yn&&n?.constructor===yn?rr(e):(lr(e,n,r),n.element)}};const vn=class extends dn{specPath;ignoredFields;constructor({specPath:t,ignoredFields:e,...r}){super({...r}),this.specPath=t,this.ignoredFields=e||[]}ObjectElement(t){const r=this.specPath(t),n=this.retrieveFixedFields(r);return t.forEach(((t,s,i)=>{if(et(s)&&n.includes(Br(s))&&!this.ignoredFields.includes(Br(s))){const n=this.toRefractedElement([...r,"fixedFields",Br(s)],t),o=new e.Pr(rr(s),n);o.classes.push("fixed-field"),this.copyMetaAndAttributes(i,o),this.element.content.push(o)}else this.ignoredFields.includes(Br(s))||this.element.content.push(rr(i))})),this.copyMetaAndAttributes(t,this.element),We}},gn=t=>{if(tt(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},bn={MainElement:["content"],InfoElement:["content"],PrincipleElement:["content"],StandardElement:["content"],ScenarioElement:["content"],RequirementElement:["content"],StandardIdentifierElement:["content"],RequirementLevelElement:[],...ur}})(),n})()));
|