@swagger-api/apidom-ns-json-schema-draft-6 0.77.0 → 0.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.79.0](https://github.com/swagger-api/apidom/compare/v0.78.0...v0.79.0) (2023-10-24)
7
+
8
+ ### Features
9
+
10
+ - **predicates:** implement TypeScript type guards ([#3289](https://github.com/swagger-api/apidom/issues/3289)) ([0cae70a](https://github.com/swagger-api/apidom/commit/0cae70aa3edc17ecc628c21e30a6b2ac1e992372)), closes [#3280](https://github.com/swagger-api/apidom/issues/3280)
11
+
12
+ # [0.78.0](https://github.com/swagger-api/apidom/compare/v0.77.0...v0.78.0) (2023-10-17)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **types:** fix regression in @types/ramda@0.29.6 ([#3281](https://github.com/swagger-api/apidom/issues/3281)) ([c6c279f](https://github.com/swagger-api/apidom/commit/c6c279f526e07b16221d8c00dd0041eeb93e1290)), closes [#3279](https://github.com/swagger-api/apidom/issues/3279)
17
+
6
18
  # [0.77.0](https://github.com/swagger-api/apidom/compare/v0.76.2...v0.77.0) (2023-10-03)
7
19
 
8
20
  **Note:** Version bump only for package @swagger-api/apidom-ns-json-schema-draft-6
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsJSONSchemaDraft6=t():e.apidomNsJSONSchemaDraft6=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{var r=n(5846);e.exports=r},6791:(e,t,n)=>{n(4339),n(4242),n(4016),n(8939),n(5454);var r=n(7545);e.exports=r.AggregateError},6762:(e,t,n)=>{e.exports=n(3028)},3028:(e,t,n)=>{n(2752);var r=n(42);e.exports=r},6235:(e,t,n)=>{var r=n(6447),s=n(9288),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(s(e)+" is not a function")}},7757:(e,t,n)=>{var r=n(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+s(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,n)=>{var r=n(5744),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(s(e)+" is not an object")}},8180:(e,t,n)=>{var r=n(101),s=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=r(t),u=i(c),l=s(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{var r=n(4120),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,n)=>{var r=n(3471),s=n(6447),i=n(9272),o=n(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"==(r=i(t))&&s(t.callee)?"Arguments":r}},7987:(e,t,n)=>{var r=n(4500),s=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var a=s(t),c=o.f,u=i.f,l=0;l<a.length;l++){var f=a[l];r(e,f)||n&&r(n,f)||c(e,f,u(t,f))}}},4635:(e,t,n)=>{var r=n(6192);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{var r=n(69),s=n(2454),i=n(774);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{var r=n(8711);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},5098:(e,t,n)=>{var r=n(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},69:(e,t,n)=>{var r=n(6192);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{var r=n(8576),s=n(5744),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{var r,s,i=n(8576),o=n(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{var r=n(4120),s=Error,i=r("".replace),o=String(s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},8266:(e,t,n)=>{var r=n(8711),s=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):r(e,"stack",s(n,a)))}},274:(e,t,n)=>{var r=n(6192),s=n(774);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var r=n(8576),s=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),u=n(7545),l=n(8043),f=n(8711),p=n(4500),h=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,s,m,d,y,v,b,g,O,j=e.target,E=e.global,S=e.stat,x=e.proto,w=E?r:S?r[j]:(r[j]||{}).prototype,A=E?u:u[j]||f(u,j,{})[j],k=A.prototype;for(d in t)s=!(n=c(E?d:j+(S?".":"#")+d,e.forced))&&w&&p(w,d),v=A[d],s&&(b=e.dontCallGetSet?(O=a(w,d))&&O.value:w[d]),y=s&&b?b:t[d],s&&typeof v==typeof y||(g=e.bind&&s?l(y,r):e.wrap&&s?h(y):x&&o(y)?i(y):y,(e.sham||y&&y.sham||v&&v.sham)&&f(g,"sham",!0),f(A,d,g),x&&(p(u,m=j+"Prototype")||f(u,m,{}),f(u[m],d,y),e.real&&k&&(n||!k[d])&&f(k,d,y)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{var r=n(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{var r=n(4914),s=n(6235),i=n(2784),o=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{var r=n(6192);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{var r=n(2784),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,n)=>{var r=n(69),s=n(4500),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(e,t,n)=>{var r=n(4120),s=n(6235);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{var r=n(9272),s=n(4120);e.exports=function(e){if("Function"===r(e))return s(e)}},4120:(e,t,n)=>{var r=n(2784),s=Function.prototype,i=s.call,o=r&&s.bind.bind(i,i);e.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{var r=n(7545),s=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},8703:(e,t,n)=>{var r=n(4696),s=n(5037),i=n(5646),o=n(7771),a=n(8182)("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[r(e)]}},1669:(e,t,n)=>{var r=n(8922),s=n(6235),i=n(1138),o=n(9288),a=n(8703),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(s(n))return i(r(n,e));throw c(o(e)+" is not iterable")}},5037:(e,t,n)=>{var r=n(6235),s=n(5646);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8576:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{var r=n(4120),s=n(1795),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{e.exports={}},7403:(e,t,n)=>{var r=n(150);e.exports=r("document","documentElement")},188:(e,t,n)=>{var r=n(69),s=n(6192),i=n(7449);e.exports=!r&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{var r=n(4120),s=n(6192),i=n(9272),o=Object,a=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},2643:(e,t,n)=>{var r=n(6447),s=n(5744),i=n(4469);e.exports=function(e,t,n){var o,a;return i&&r(o=t.constructor)&&o!==n&&s(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},273:(e,t,n)=>{var r=n(5744),s=n(8711);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},3326:(e,t,n)=>{var r,s,i,o=n(5278),a=n(8576),c=n(5744),u=n(8711),l=n(4500),f=n(6434),p=n(9766),h=n(4535),m="Object already initialized",d=a.TypeError,y=a.WeakMap;if(o||f.state){var v=f.state||(f.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw d(m);return t.facade=e,v.set(e,t),t},s=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var b=p("state");h[b]=!0,r=function(e,t){if(l(e,b))throw d(m);return t.facade=e,u(e,b,t),t},s=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=s(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{var r=n(8182),s=n(7771),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},6447:(e,t,n)=>{var r=n(8382),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{var r=n(6192),s=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==l||n!=u&&(s(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,n)=>{var r=n(6447),s=n(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},5546:e=>{e.exports=!0},3236:(e,t,n)=>{var r=n(150),s=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,a(e))}},3442:(e,t,n)=>{var r=n(8043),s=n(8922),i=n(1138),o=n(9288),a=n(6109),c=n(4104),u=n(8902),l=n(1669),f=n(8703),p=n(6639),h=TypeError,m=function(e,t){this.stopped=e,this.result=t},d=m.prototype;e.exports=function(e,t,n){var y,v,b,g,O,j,E,S=n&&n.that,x=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),P=r(t,S),_=function(e){return y&&p(y,"normal",e),new m(!0,e)},N=function(e){return x?(i(e),k?P(e[0],e[1],_):P(e[0],e[1])):k?P(e,_):P(e)};if(w)y=e.iterator;else if(A)y=e;else{if(!(v=f(e)))throw h(o(e)+" is not iterable");if(a(v)){for(b=0,g=c(e);g>b;b++)if((O=N(e[b]))&&u(d,O))return O;return new m(!1)}y=l(e,v)}for(j=w?e.next:y.next;!(E=s(j,y)).done;){try{O=N(E.value)}catch(e){p(y,"throw",e)}if("object"==typeof O&&O&&u(d,O))return O}return new m(!1)}},6639:(e,t,n)=>{var r=n(8922),s=n(1138),i=n(5037);e.exports=function(e,t,n){var o,a;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return s(o),n}},5695:(e,t,n)=>{"use strict";var r=n(4413).IteratorPrototype,s=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=s(r,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5297:(e,t,n)=>{"use strict";var r=n(3085),s=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),u=n(9341),l=n(4469),f=n(1284),p=n(8711),h=n(9362),m=n(8182),d=n(7771),y=n(4413),v=o.PROPER,b=o.CONFIGURABLE,g=y.IteratorPrototype,O=y.BUGGY_SAFARI_ITERATORS,j=m("iterator"),E="keys",S="values",x="entries",w=function(){return this};e.exports=function(e,t,n,o,m,y,A){c(n,t,o);var k,P,_,N=function(e){if(e===m&&C)return C;if(!O&&e in R)return R[e];switch(e){case E:case S:case x:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",T=!1,R=e.prototype,F=R[j]||R["@@iterator"]||m&&R[m],C=!O&&F||N(m),V="Array"==t&&R.entries||F;if(V&&(k=u(V.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===g||(l?l(k,g):a(k[j])||h(k,j,w)),f(k,M,!0,!0),i&&(d[M]=w)),v&&m==S&&F&&F.name!==S&&(!i&&b?p(R,"name",S):(T=!0,C=function(){return s(F,this)})),m)if(P={values:N(S),keys:y?C:N(E),entries:N(x)},A)for(_ in P)(O||T||!(_ in R))&&h(R,_,P[_]);else r({target:t,proto:!0,forced:O||T},P);return i&&!A||R[j]===C||h(R,j,C,{name:m}),d[t]=C,P}},4413:(e,t,n)=>{"use strict";var r,s,i,o=n(6192),a=n(6447),c=n(5744),u=n(2853),l=n(9341),f=n(9362),p=n(8182),h=n(5546),m=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!c(r)||o((function(){var e={};return r[m].call(e)!==e}))?r={}:h&&(r=u(r)),a(r[m])||f(r,m,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{e.exports={}},4104:(e,t,n)=>{var r=n(8445);e.exports=function(e){return r(e.length)}},7679:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},6016:(e,t,n)=>{var r=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},2853:(e,t,n)=>{var r,s=n(1138),i=n(1187),o=n(2952),a=n(4535),c=n(7403),u=n(7449),l=n(9766),f="prototype",p="script",h=l("IE_PROTO"),m=function(){},d=function(e){return"<"+p+">"+e+"</"+p+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&r?y(r):(t=u("iframe"),n="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(r);for(var s=o.length;s--;)delete v[f][o[s]];return v()};a[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m[f]=s(e),n=new m,m[f]=null,n[h]=e):n=v(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{var r=n(69),s=n(9600),i=n(2454),o=n(1138),a=n(101),c=n(7653);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=c(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},2454:(e,t,n)=>{var r=n(69),s=n(188),i=n(9600),o=n(1138),a=n(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=r?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=l(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),s)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{var r=n(69),s=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),u=n(4500),l=n(188),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=a(e),t=c(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},2092:(e,t,n)=>{var r=n(7934),s=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{var r=n(4500),s=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{var r=n(4120);e.exports=r({}.isPrototypeOf)},7934:(e,t,n)=>{var r=n(4120),s=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(a,n)&&s(r,n)&&c(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||c(l,n));return l}},7653:(e,t,n)=>{var r=n(7934),s=n(2952);e.exports=Object.keys||function(e){return r(e,s)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{var r=n(6419),s=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return s(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},158:(e,t,n)=>{"use strict";var r=n(3471),s=n(4696);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,n)=>{var r=n(8922),s=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&s(n=e.toString)&&!i(a=r(n,e)))return a;if(s(n=e.valueOf)&&!i(a=r(n,e)))return a;if("string"!==t&&s(n=e.toString)&&!i(a=r(n,e)))return a;throw o("Can't convert object to primitive value")}},3011:(e,t,n)=>{var r=n(150),s=n(4120),i=n(2092),o=n(4750),a=n(1138),c=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},7545:e=>{e.exports={}},7656:(e,t,n)=>{var r=n(2454).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{var r=n(5646),s=TypeError;e.exports=function(e){if(r(e))throw s("Can't call method on "+e);return e}},1284:(e,t,n)=>{var r=n(3471),s=n(2454).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||s(l,c,{configurable:!0,value:t}),u&&!r&&i(l,"toString",a)}}},9766:(e,t,n)=>{var r=n(8717),s=n(2759),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,n)=>{var r=n(8576),s=n(5098),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},8717:(e,t,n)=>{var r=n(5546),s=n(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{var r=n(4120),s=n(1941),i=n(4845),o=n(3209),a=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,f=i(o(t)),p=s(n),h=f.length;return p<0||p>=h?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===h||(l=c(f,p+1))<56320||l>57343?e?a(f,p):r:e?u(f,p,p+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{var r=n(4218),s=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7739:(e,t,n)=>{var r=n(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},101:(e,t,n)=>{var r=n(2202),s=n(3209);e.exports=function(e){return r(s(e))}},1941:(e,t,n)=>{var r=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8445:(e,t,n)=>{var r=n(1941),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},1795:(e,t,n)=>{var r=n(3209),s=Object;e.exports=function(e){return s(r(e))}},7888:(e,t,n)=>{var r=n(8922),s=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!s(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{var r=n(7888),s=n(3236);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},3471:(e,t,n)=>{var r={};r[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(r)},4845:(e,t,n)=>{var r=n(4696),s=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{var r=n(4120),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,n)=>{var r=n(6770);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{var r=n(69),s=n(6192);e.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{var r=n(8576),s=n(6447),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{var r=n(8576),s=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),u=r.Symbol,l=s("wks"),f=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:f("Symbol."+e)),l[e]}},426:(e,t,n)=>{"use strict";var r=n(150),s=n(4500),i=n(8711),o=n(8902),a=n(4469),c=n(7987),u=n(7656),l=n(2643),f=n(6016),p=n(273),h=n(8266),m=n(69),d=n(5546);e.exports=function(e,t,n,y){var v="stackTraceLimit",b=y?2:1,g=e.split("."),O=g[g.length-1],j=r.apply(null,g);if(j){var E=j.prototype;if(!d&&s(E,"cause")&&delete E.cause,!n)return j;var S=r("Error"),x=t((function(e,t){var n=f(y?t:e,void 0),r=y?new j(e):new j;return void 0!==n&&i(r,"message",n),h(r,x,r.stack,2),this&&o(E,this)&&l(r,this,x),arguments.length>b&&p(r,arguments[b]),r}));if(x.prototype=E,"Error"!==O?a?a(x,S):c(x,S,{name:!0}):m&&v in j&&(u(x,j,v),u(x,j,"prepareStackTrace")),c(x,j),!d)try{E.name!==O&&i(E,"name",O),E.constructor=x}catch(e){}return x}}},4016:(e,t,n)=>{var r=n(3085),s=n(150),i=n(6298),o=n(6192),a=n(426),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},3820:(e,t,n)=>{"use strict";var r=n(3085),s=n(8902),i=n(9341),o=n(4469),a=n(7987),c=n(2853),u=n(8711),l=n(774),f=n(273),p=n(8266),h=n(3442),m=n(6016),d=n(8182)("toStringTag"),y=Error,v=[].push,b=function(e,t){var n,r=s(g,this);o?n=o(y(),r?i(this):g):(n=r?this:c(g),u(n,d,"Error")),void 0!==t&&u(n,"message",m(t)),p(n,b,n.stack,1),arguments.length>2&&f(n,arguments[2]);var a=[];return h(e,v,{that:a}),u(n,"errors",a),n};o?o(b,y):a(b,y,{name:!0});var g=b.prototype=c(y.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:b})},4242:(e,t,n)=>{n(3820)},8939:(e,t,n)=>{"use strict";var r=n(101),s=n(7423),i=n(7771),o=n(3326),a=n(2454).f,c=n(5297),u=n(7271),l=n(5546),f=n(69),p="Array Iterator",h=o.set,m=o.getterFor(p);e.exports=c(Array,"Array",(function(e,t){h(this,{type:p,target:r(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{var r=n(3085),s=n(8576),i=n(6298),o=n(426),a="WebAssembly",c=s[a],u=7!==Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},f=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,u),r({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),f("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),f("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),f("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var r=n(863).charAt,s=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:s(e),index:0})}),(function(){var e,t=l(this),n=t.string,s=t.index;return s>=n.length?a(void 0,!0):(e=r(n,s),t.index+=e.length,a(e,!1))}))},2752:(e,t,n)=>{n(4242)},162:(e,t,n)=>{n(8939);var r=n(7365),s=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var u in r){var l=s[u],f=l&&l.prototype;f&&i(f)!==c&&o(f,c,u),a[u]=a.Array}},5846:(e,t,n)=>{n(2752);var r=n(6791);n(162),e.exports=r},9515:(e,t,n)=>{var r=n(8761)(n(7772),"DataView");e.exports=r},9612:(e,t,n)=>{var r=n(2118),s=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var r=n(3945),s=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),s=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var r=n(8761)(n(7772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(8761)(n(7772),"Set");e.exports=r},5386:(e,t,n)=>{var r=n(6738),s=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var r=n(235),s=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},9162:(e,t,n)=>{var r=n(7772).Uint8Array;e.exports=r},3215:(e,t,n)=>{var r=n(8761)(n(7772),"WeakMap");e.exports=r},7552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}},1634:(e,t,n)=>{var r=n(6473),s=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),f=!n&&!l&&o(e),p=!n&&!l&&!f&&c(e),h=n||l||f||p,m=h?r(e.length,String):[],d=m.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,d))||m.push(y);return m}},5067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var r=n(5067),s=n(6152);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},3366:(e,t,n)=>{var r=n(857),s=n(2107),i=n(7157),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},8746:(e,t,n)=>{var r=n(1952),s=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,a))}},1952:(e,t,n)=>{var r=n(6571),s=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,v){var b=c(e),g=c(t),O=b?p:a(e),j=g?p:a(t),E=(O=O==f?h:O)==h,S=(j=j==f?h:j)==h,x=O==j;if(x&&u(e)){if(!u(t))return!1;b=!0,E=!1}if(x&&!E)return v||(v=new r),b||l(e)?s(e,t,n,d,y,v):i(e,t,O,n,d,y,v);if(!(1&n)){var w=E&&m.call(e,"__wrapped__"),A=S&&m.call(t,"__wrapped__");if(w||A){var k=w?e.value():e,P=A?t.value():t;return v||(v=new r),y(k,P,n,d,v)}}return!!x&&(v||(v=new r),o(e,t,n,d,y,v))}},6840:(e,t,n)=>{var r=n(1049),s=n(7394),i=n(9259),o=n(7035),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.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?p:a).test(o(e))}},5522:(e,t,n)=>{var r=n(3366),s=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[r(e)]}},6411:(e,t,n)=>{var r=n(6001),s=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return s(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},4871:(e,t,n)=>{var r=n(5386),s=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var m=-1,d=!0,y=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++m<l;){var v=e[m],b=t[m];if(o)var g=u?o(b,v,m,t,e,c):o(v,b,m,e,t,c);if(void 0!==g){if(g)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(v===e||a(v,e,n,o,c)))return y.push(t)}))){d=!1;break}}else if(v!==b&&!a(v,b,n,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,n)=>{var r=n(857),s=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var m=1&r;if(h||(h=c),e.size!=t.size&&!m)return!1;var d=p.get(e);if(d)return d==t;r|=2,p.set(e,t);var y=o(h(e),h(t),r,u,f,p);return p.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var r=n(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in t:s.call(t,p)))return!1}var h=a.get(e),m=a.get(t);if(h&&m)return h==t&&m==e;var d=!0;a.set(e,t),a.set(t,e);for(var y=c;++f<l;){var v=e[p=u[f]],b=t[p];if(i)var g=c?i(b,v,p,t,e,a):i(v,b,p,e,t,a);if(!(void 0===g?v===b||o(v,b,n,i,a):g)){d=!1;break}y||(y="constructor"==p)}if(d&&!y){var O=e.constructor,j=t.constructor;O==j||!("constructor"in e)||!("constructor"in t)||"function"==typeof O&&O instanceof O&&"function"==typeof j&&j instanceof j||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3483:(e,t,n)=>{var r=n(1897),s=n(633),i=n(249);e.exports=function(e){return r(e,i,s)}},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),s=n(8109);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[a]=n:delete e[a]),s}},633:(e,t,n)=>{var r=n(7552),s=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=a},940:(e,t,n)=>{var r=n(9515),s=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",d=u(r),y=u(s),v=u(i),b=u(o),g=u(a),O=c;(r&&O(new r(new ArrayBuffer(1)))!=m||s&&O(new s)!=l||i&&O(i.resolve())!=f||o&&O(new o)!=p||a&&O(new a)!=h)&&(O=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case d:return m;case y:return l;case v:return f;case b:return p;case g:return h}return t}),e.exports=O},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},7942:(e,t,n)=>{var r=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,s=n(4019),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():s.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,s=r(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}},2411:(e,t,n)=>{var r=n(9612),s=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);e.exports=function(e,t){var n=r(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},4248:(e,t,n)=>{var r=n(241)(Object.keys,Object);e.exports=r},4146:(e,t,n)=>{e=n.nmd(e);var r=n(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var r=n(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var r=n(235);e.exports=function(){this.__data__=new r,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var r=n(235),s=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var r=n(5183),s=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),s=n(1158);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},4335:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},3226:(e,t,n)=>{e=n.nmd(e);var r=n(7772),s=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;e.exports=c},8149:(e,t,n)=>{var r=n(8746);e.exports=function(e,t){return r(e,t)}},1049:(e,t,n)=>{var r=n(3366),s=n(9259);e.exports=function(e){if(!s(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var r=n(3366),s=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},7598:(e,t,n)=>{var r=n(5522),s=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?s(o):r;e.exports=a},249:(e,t,n)=>{var r=n(1634),s=n(6411),i=n(7878);e.exports=function(e){return i(e)?r(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const r=n(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(r(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const r=n(5877),s=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(r,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const r=this.elementDetection[n][0],s=this.elementDetection[n][1];if(r(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const r=n(1570),s=n(1178);class i extends s{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(r(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,r)=>{e.bind(t)(n.value,n.key,n,r)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const r=n(6420),s=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),f=n(5202),p=n(2320),h=n(1178),m=n(3853),d=n(3026);function y(e){if(e instanceof r)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new s;if(Array.isArray(e))return new c(e.map(y));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=p,r.prototype.MemberElement=u,r.prototype.refract=y,h.prototype.refract=y,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:f,RefElement:p,refract:y,ArraySlice:h,ObjectSlice:m,KeyValuePair:d}},5202:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const r=n(5140),s=n(3756);t.lS=r,t.KeyValuePair=n(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,n(2947),n(8910)},1641:(e,t,n)=>{const r=n(1570),s=n(6420),i=n(1178);class o extends s{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(r(e),t)}reduce(e,t){let n,r;void 0!==t?(n=0,r=this.refract(t)):(n=1,r="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];r="object"===this.primitive()?this.refract(e(r,n.value,n.key,n,this)):this.refract(e(r,n,t,this))}return r}forEach(e,t){this.content.forEach(((n,r)=>{e.bind(t)(n,this.refract(r))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},r=!!n.recursive,s=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{r&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:r}),e(t,n,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const r=n(8149),s=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const r=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(r,e),n.content instanceof s&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const r=e[t],s=n.indexOf(r);if(-1===s)return!1;n=n.splice(0,s)}return!0}))),n}set(e){return this.content=e,this}equals(e){return r(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const r=n(3026),s=n(6420);e.exports=class extends s{constructor(e,t,n,s){super(new r,n,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const r=n(1570),s=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,r=this.getMember(n);return r?r.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((r,s,i)=>{const o=e.bind(t)(r,s,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(r(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const r=n(2947);e.exports=class extends r{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const r="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(r){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:r}=e;r.get("metadata")&&(r=r.clone(),r.set("meta",r.get("metadata")),r.remove("metadata")),"member"===e.element&&t&&(r=r.clone(),r.remove("variable")),r.length>0&&(n.attributes=this.serialiseObject(r))}if(r)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let r;t&&e.content.key?(r=e.content.clone(),r.key.attributes.set("variable",t),r=this.serialiseContent(r)):r=this.serialiseContent(e.content),this.shouldSerialiseContent(e,r)&&(n.content=r)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),r=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(r&&r.content&&(r.content.attributes&&r.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([r.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const r=this.deserialiseContent(e.content);if(void 0===r&&null!==n.content||(n.content=r),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const r=e;e=new this.namespace.elements.Array,r.forEach((r=>{r.forEach((r=>{const s=new t(r);s.element=n.element,e.push(s)}))}));const s=e.shift();n.content=s?s.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let r=n.attributes.get("default");if(r&&r.length>0){r=r.get(0);const e=new t(r);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const r=n.toValue();t[r]=this.convertKeyToRefract(r,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",h="deepConfiguration",m="deepProps",d="deepStatics",y="deepConf",v="initializers",b="methods",g="composers",O="compose";function j(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var S=E.bind(0,(function(e,t){if(t)for(var n=j(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function x(e){return"function"==typeof e}function w(e){return e&&"object"==typeof e||x(e)}function A(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var k=E.bind(0,(function e(n,r){if(r===t)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!A(r))return r;for(var s,i,o=j(r),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(A(n[s])||Array.isArray(r[s])?n[s]:{},r[s])):Object.defineProperty(n,s,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return x(e)&&n.indexOf(e)===t}))).length?n:t}function _(e,t){function r(n,r){w(t[n])&&(w(e[n])||(e[n]={}),(r||S)(e[n],t[n]))}function s(r){(n=P(e[r],t[r]))&&(e[r]=n)}return t&&w(t=t[O]||t)&&(r(b),r(o),r(a,k),r(c),r(u),r(l,k),r(f),r(p),r(h,k),s(v),s(g)),e}function N(){return function(e){return n=function e(n){var r,s,i=e[O]||{},u={__proto__:i[b]},l=i[v],f=Array.prototype.slice.apply(arguments),p=i[a];if(p&&k(u,p),(p=i[o])&&S(u,p),(p=i[c])&&Object.defineProperties(u,p),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)x(r=l[i++])&&(u=(s=r.call(u,n,{instance:u,stamp:e,args:f}))===t?u:s);return u},(r=e[l])&&k(n,r),(r=e[u])&&S(n,r),(r=e[f])&&Object.defineProperties(n,r),r=x(n[O])?n[O]:N,S(n[O]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(_,{}))}function M(e){return x(e)&&x(e[O])}var T={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[O]||r).call(n,s)}}T[b]=R(b,S),T[o]=T.props=R(o,S),T[v]=T.init=R(v,P),T[g]=R(g,P),T[a]=T[m]=R(a,k),T[u]=T.statics=R(u,S),T[l]=T[d]=R(l,k),T[p]=T.conf=R(p,S),T[h]=T[y]=R(h,k),T[c]=R(c,S),T[f]=R(f,S),r=T[O]=S((function(){for(var e,j,E=0,x=[],A=arguments,_=this;E<A.length;)w(e=A[E++])&&x.push(M(e)?e:((s={})[b]=(j=e)[b]||t,r=j.props,s[o]=w((n=j[o])||r)?S({},r,n):t,s[v]=P(j.init,j[v]),s[g]=P(j[g]),r=j[m],s[a]=w((n=j[a])||r)?k({},r,n):t,s[c]=j[c],r=j.statics,s[u]=w((n=j[u])||r)?S({},r,n):t,r=j[d],s[l]=w((n=j[l])||r)?k({},r,n):t,n=j[f],s[f]=w((r=j.name&&{name:{value:j.name}})||n)?S({},n,r):t,r=j.conf,s[p]=w((n=j[p])||r)?S({},r,n):t,r=j[y],s[h]=w((n=j[h])||r)?k({},r,n):t,s));if(e=N.apply(_||i,x),_&&x.unshift(_),Array.isArray(A=e[O][g]))for(E=0;E<A.length;)e=M(_=A[E++]({stamp:e,composables:x}))?_:e;return e}),T),T.create=function(){return this.apply(t,arguments)},(s={})[u]=T,i=N(s),r[O]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};return(()=>{"use strict";n.r(r),n.d(r,{AlternatingVisitor:()=>ks,FallbackVisitor:()=>br,FixedFieldsVisitor:()=>Nr,JSONReferenceElement:()=>lr,JSONSchemaDraft6MediaTypes:()=>xn,JSONSchemaElement:()=>zs,LinkDescriptionElement:()=>$s,MapVisitor:()=>ts,MediaElement:()=>pr,ParentSchemaAwareVisitor:()=>zr,PatternedFieldsVisitor:()=>es,SpecificationVisitor:()=>_r,createRefractor:()=>ui,default:()=>qs,getNodeType:()=>Us,isArrayElement:()=>Gt,isBooleanElement:()=>qt,isElement:()=>Jt,isJSONReferenceElement:()=>Cs,isJSONReferenceLikeElement:()=>$r,isJSONSchemaElement:()=>ii,isLinkDescriptionElement:()=>oi,isLinkElement:()=>Ht,isMediaElement:()=>Vs,isMemberElement:()=>Kt,isNullElement:()=>$t,isNumberElement:()=>zt,isObjectElement:()=>Ut,isRefElement:()=>Wt,isStringElement:()=>Bt,keyMap:()=>Gs,mediaTypes:()=>wn,refract:()=>li,refractorPluginReplaceEmptyElement:()=>Ys,specificationObj:()=>si});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>tn,includesClasses:()=>rn,includesSymbols:()=>nn,isAnnotationElement:()=>Yt,isArrayElement:()=>Gt,isBooleanElement:()=>qt,isCommentElement:()=>Qt,isElement:()=>Jt,isLinkElement:()=>Ht,isMemberElement:()=>Kt,isNullElement:()=>$t,isNumberElement:()=>zt,isObjectElement:()=>Ut,isParseResultElement:()=>Xt,isPrimitiveElement:()=>en,isRefElement:()=>Wt,isSourceMapElement:()=>Zt,isStringElement:()=>Bt});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Cs,isJSONSchemaElement:()=>Fs,isLinkDescriptionElement:()=>Is,isMediaElement:()=>Vs});var s={};n.r(s),n.d(s,{isJSONReferenceElement:()=>Cs,isJSONSchemaElement:()=>ii,isLinkDescriptionElement:()=>oi,isMediaElement:()=>Vs});var i=n(7952);const o=function(){return!1};const a=function(){return!0};function c(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function u(e){return function t(n){return 0===arguments.length||c(n)?t:e.apply(this,arguments)}}function l(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return c(n)?t:u((function(t){return e(n,t)}));default:return c(n)&&c(r)?t:c(n)?u((function(t){return e(t,r)})):c(r)?u((function(t){return e(n,t)})):e(n,r)}}}const f=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function p(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!f(r)){for(var s=0;s<e.length;){if("function"==typeof r[e[s]])return r[e[s]].apply(r,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function h(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const m=function(){return this.xf["@@transducer/init"]()},d=function(e){return this.xf["@@transducer/result"](e)};var y=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=m,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=h(this.xf["@@transducer/step"](e,!1))),e},e}();function v(e){return function(t){return new y(e,t)}}const b=l(p(["all"],v,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function g(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,s){return t.apply(this,arguments)};case 5:return function(e,n,r,s,i){return t.apply(this,arguments)};case 6:return function(e,n,r,s,i,o){return t.apply(this,arguments)};case 7:return function(e,n,r,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,s,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function O(e,t,n){return function(){for(var r=[],s=0,i=e,o=0;o<t.length||s<arguments.length;){var a;o<t.length&&(!c(t[o])||s>=arguments.length)?a=t[o]:(a=arguments[s],s+=1),r[o]=a,c(a)||(i-=1),o+=1}return i<=0?n.apply(this,r):g(i,O(e,r,n))}}const j=l((function(e,t){return 1===e?u(t):g(e,O(e,[],t))}));function E(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function S(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}function x(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const w="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var A=Object.prototype.toString;const k=function(){return"[object Arguments]"===A.call(arguments)?function(e){return"[object Arguments]"===A.call(e)}:function(e){return x("callee",e)}}();var P=!{toString:null}.propertyIsEnumerable("toString"),_=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],N=function(){return arguments.propertyIsEnumerable("length")}(),M=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};const T="function"!=typeof Object.keys||N?u((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=N&&k(e);for(t in e)!x(t,e)||s&&"length"===t||(r[r.length]=t);if(P)for(n=_.length-1;n>=0;)x(t=_[n],e)&&!M(r,t)&&(r[r.length]=t),n-=1;return r})):u((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=u((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function F(e,t,n,r){var s=E(e);function i(e,t){return C(e,t,n.slice(),r.slice())}return!S((function(e,t){return!S(i,t,e)}),E(t),s)}function C(e,t,n,r){if(w(e,t))return!0;var s,i,o=R(e);if(o!==R(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!w(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!w(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return r[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&F(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&F(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=T(e);if(c.length!==T(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(a=c.length-1;a>=0;){var f=c[a];if(!x(f,t)||!C(t[f],e[f],u,l))return!1;a-=1}return!0}const V=l((function(e,t){return C(e,t,[],[])}));function I(e,t){return function(e,t,n){var r,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(s=e[n])&&1/s===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(V(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function L(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}function D(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var J=function(e){return(e<10?"0":"")+e};const B="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+J(e.getUTCMonth()+1)+"-"+J(e.getUTCDate())+"T"+J(e.getUTCHours())+":"+J(e.getUTCMinutes())+":"+J(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function z(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}function $(e){return"[object Object]"===Object.prototype.toString.call(e)}var q=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=m,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function U(e){return function(t){return new q(e,t)}}const G=l(p(["fantasy-land/filter","filter"],U,(function(e,t){return $(t)?z((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},T(t)):function(e,t){for(var n=0,r=t.length,s=[];n<r;)e(t[n])&&(s[s.length]=t[n]),n+=1;return s}(e,t)})));const K=l((function(e,t){return G((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function H(e,t){var n=function(n){var r=t.concat([e]);return I(n,r)?"<Circular>":H(n,r)},r=function(e,t){return L((function(t){return D(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+L(n,e).join(", ")+"))";case"[object Array]":return"["+L(n,e).concat(r(e,K((function(e){return/^\d+$/.test(e)}),T(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):D(B(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":D(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,T(e)).join(", ")+"}"}}const W=u((function(e){return H(e,[])}));const Y=l((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var s=n(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=W(e),o=n(i,W(t));return void 0!==o&&o===i?e:t}));var Q=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=m,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const X=l(p(["fantasy-land/map","map"],(function(e){return function(t){return new Q(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return j(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return z((function(n,r){return n[r]=e(t[r]),n}),{},T(t));default:return L(e,t)}}))),Z=Number.isInteger||function(e){return e<<0===e};function ee(e){return"[object String]"===Object.prototype.toString.call(e)}const te=l((function(e,t){var n=e<0?t.length+e:e;return ee(t)?t.charAt(n):t[n]}));const ne=l((function(e,t){if(null!=t)return Z(e)?te(e,t):t[e]}));const re=l((function(e,t){return X(ne(e),t)}));function se(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return c(n)?t:l((function(t,r){return e(n,t,r)}));case 2:return c(n)&&c(r)?t:c(n)?l((function(t,n){return e(t,r,n)})):c(r)?l((function(t,r){return e(n,t,r)})):u((function(t){return e(n,r,t)}));default:return c(n)&&c(r)&&c(s)?t:c(n)&&c(r)?l((function(t,n){return e(t,n,s)})):c(n)&&c(s)?l((function(t,n){return e(t,r,n)})):c(r)&&c(s)?l((function(t,r){return e(n,t,r)})):c(n)?u((function(t){return e(t,r,s)})):c(r)?u((function(t){return e(n,t,s)})):c(s)?u((function(t){return e(n,r,t)})):e(n,r,s)}}}const ie=u((function(e){return!!f(e)||!!e&&("object"==typeof e&&(!ee(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var oe="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function ae(e,t,n){return function(r,s,i){if(ie(i))return e(r,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(r,s,i,"fantasy-land/reduce");if(null!=i[oe])return n(r,s,i[oe]());if("function"==typeof i.next)return n(r,s,i);if("function"==typeof i.reduce)return t(r,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ce(e,t,n){for(var r=0,s=n.length;r<s;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}const ue=l((function(e,t){return g(e.length,(function(){return e.apply(t,arguments)}))}));function le(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function fe(e,t,n,r){return e["@@transducer/result"](n[r](ue(e["@@transducer/step"],e),t))}const pe=ae(ce,fe,le);var he=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const me=se((function(e,t,n){return pe("function"==typeof e?new he(e):e,t,n)}));const de=u((function(e){return j(me(Y,0,re("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const ye=u((function(e){return function(){return e}}));const ve=u((function(e){return j(me(Y,0,re("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function be(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function ge(e,t,n,r){return n[r](e,t)}const Oe=ae(z,ge,be);const je=l((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:Oe((function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,s=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<s;)i[i.length]=t[n],n+=1;return i}(e,X(n,t))}),[],e)}));const Ee=l((function(e,t){return e.apply(this,t)}));const Se=u((function(e){return null==e}));const xe=se((function e(t,n,r){if(0===t.length)return n;var s=t[0];if(t.length>1){var i=!Se(r)&&x(s,r)&&"object"==typeof r[s]?r[s]:Z(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}return function(e,t,n){if(Z(e)&&f(n)){var r=[].concat(n);return r[e]=t,r}var s={};for(var i in n)s[i]=n[i];return s[e]=t,s}(s,n,r)}));const we=se((function(e,t,n){return xe([e],t,n)}));function Ae(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const ke=l((function(e,t){return e&&t}));const Pe=l((function(e,t){var n=j(e,t);return j(e,(function(){return z(je,X(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const _e=u((function(e){return Pe(e.length,e)}));const Ne=l((function(e,t){return Ae(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:_e(ke)(e,t)}));const Me=u((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));const Te=_e(u((function(e){return!e})));function Re(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Fe(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return f(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const Ce=se(Fe("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const Ve=u(Fe("tail",Ce(1,1/0)));function Ie(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return g(arguments[0].length,me(Re,arguments[0],Ve(arguments)))}const Le=u((function(e){return j(e.length,e)}));const De=l((function(e,t){return null==t||t!=t?e:t}));var Je=se((function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r}));const Be=Je;const ze=l((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(Z(e)&&f(t))return Be(e,1,t);var n={};for(var r in t)n[r]=t[r];return delete n[e],n}(t[0],n);default:var r=t[0],s=Array.prototype.slice.call(t,1);return null==n[r]?function(e,t){if(Z(e)&&f(t))return[].concat(t);var n={};for(var r in t)n[r]=t[r];return n}(r,n):we(r,e(s,n[r]),n)}}));var $e=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=m,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function qe(e){return function(t){return new $e(e,t)}}const Ue=l(p(["dropWhile"],qe,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Ce(n,1/0,t)})));const Ge=l((function(e,t){return e||t}));const Ke=l((function(e,t){return Ae(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:_e(Ge)(e,t)}));var He=u((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():f(e)?[]:ee(e)?"":$(e)?{}:k(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const We=He;const Ye=u((function(e){return j(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}));const Qe=l((function(e,t){if(0===e.length||Se(t))return!1;for(var n=t,r=0;r<e.length;){if(Se(n)||!x(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));const Xe=l((function(e,t){return Qe([e],t)}));const Ze=l((function(e,t){return!Se(t)&&e in t}));const et=te(0);var tt=function(e,t){switch(arguments.length){case 0:return tt;case 1:return function t(n){return 0===arguments.length?t:w(e,n)};default:return w(e,t)}};const nt=tt;const rt=se((function(e,t,n){return j(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const st=l(I);const it=Ce(0,-1);"function"==typeof Object.assign&&Object.assign;const ot=l((function(e,t){return j(e+1,(function(){var n=arguments[e];if(null!=n&&Ae(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(W(n)+' does not have a method named "'+t+'"')}))}));const at=u((function(e){return null!=e&&V(e,We(e))}));const ct=ot(1,"join");const ut=te(-1);const lt=l((function(e,t){return e.map((function(e){for(var n,r=t,s=0;s<e.length;){if(null==r)return;n=e[s],r=Z(n)?te(n,r):r[n],s+=1}return r}))}));const ft=l((function(e,t){return lt([e],t)[0]}));const pt=l((function(e,t){return z((function(n,r){return n[r]=e(t[r],r,t),n}),{},T(t))}));const ht=l((function(e,t){for(var n={},r={},s=0,i=e.length;s<i;)r[e[s]]=1,s+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}));const mt=se((function(e,t,n){return e(ft(t,n))}));const dt=l((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}));const yt=se((function(e,t,n){return De(e,ne(t,n))}));const vt=se((function(e,t,n){return e(ne(t,n))}));const bt=u(h);var gt=l((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Ot=gt;const jt=ot(1,"split");var Et="\t\n\v\f\r                 \u2028\u2029\ufeff";String.prototype.trim;const St=Ye(st);class xt extends i.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const wt=xt;class At extends i.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const kt=At;const Pt=ye(void 0);const _t=V(Pt());class Nt extends i.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(_t(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const Mt=Nt;class Tt extends i.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new i.ON([e.start.row,e.start.column,e.start.char]),n=new i.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Rt=Tt,Ft=(e,t)=>"function"==typeof(null==t?void 0:t[e]),Ct=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),Vt=(e,t)=>{var n;return(null==t||null===(n=t.primitive)||void 0===n?void 0:n.call(t))===e},It=(e,t)=>{var n,r;return(null==t||null===(n=t.classes)||void 0===n||null===(r=n.includes)||void 0===r?void 0:r.call(n,e))||!1},Lt=(e,t)=>(null==t?void 0:t.element)===e,Dt=e=>e({hasMethod:Ft,hasBasicElementProps:Ct,primitiveEq:Vt,isElementType:Lt,hasClass:It}),Jt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof i.W_||e(n)&&t(void 0,n))),Bt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof i.RP||e(n)&&t("string",n))),zt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof i.VL||e(n)&&t("number",n))),$t=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof i.zr||e(n)&&t("null",n))),qt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof i.hh||e(n)&&t("boolean",n))),Ut=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof i.Sb||e(r)&&t("object",r)&&n("keys",r)&&n("values",r)&&n("items",r))),Gt=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof i.ON&&!(r instanceof i.Sb)||e(r)&&t("array",r)&&n("push",r)&&n("unshift",r)&&n("map",r)&&n("reduce",r))),Kt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof i.c6||e(r)&&t("member",r)&&n(void 0,r))),Ht=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof i.EA||e(r)&&t("link",r)&&n(void 0,r))),Wt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof i.tK||e(r)&&t("ref",r)&&n(void 0,r))),Yt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof wt||e(r)&&t("annotation",r)&&n("array",r))),Qt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof kt||e(r)&&t("comment",r)&&n("string",r))),Xt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Mt||e(r)&&t("parseResult",r)&&n("array",r))),Zt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Rt||e(r)&&t("sourceMap",r)&&n("array",r))),en=e=>Lt("object",e)||Lt("array",e)||Lt("boolean",e)||Lt("number",e)||Lt("string",e)||Lt("null",e)||Lt("member",e),tn=e=>{var t,n;return Zt(null==e||null===(t=e.meta)||void 0===t||null===(n=t.get)||void 0===n?void 0:n.call(t,"sourceMap"))},nn=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!Gt(n)&&b(St(n.toValue()),e)},rn=(e,t)=>0===e.length||b(St(t.classes.toValue()),e);const sn=V(null);const on=Te(sn);function an(e){return an="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},an(e)}const cn=function(e){return"object"===an(e)};const un=j(1,Ne(on,cn));const ln=j(1,Ie(R,nt("GeneratorFunction")));const fn=j(1,Ie(R,nt("AsyncFunction")));const pn=ve([Ie(R,nt("Function")),ln,fn]);var hn=Ie(R,nt("Object")),mn=Ie(W,V(W(Object))),dn=mt(Ne(pn,mn),["constructor"]);const yn=j(1,(function(e){if(!un(e)||!hn(e))return!1;var t=Object.getPrototypeOf(e);return!!sn(t)||dn(t)}));var vn=n(1427);const bn=class extends vn{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,yn(n)&&Ze("cause",n)&&!Ze("cause",this)){const{cause:e}=n;this.cause=e,e instanceof Error&&Ze("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class gn extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(bn,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,yn(t)&&Ze("cause",t)&&!Ze("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&Ze("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const On=gn;const jn=class extends On{};const En=class extends jn{};const Sn=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new En('"filterByFormat" method is not implemented.')}findBy(){throw new En('"findBy" method is not implemented.')}latest(){throw new En('"latest" method is not implemented.')}};class xn extends Sn{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-06",t="generic"){const n="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return ut(this.filterByFormat(e))}}const wn=new xn("application/schema;version=draft-06","application/schema+json;version=draft-06","application/schema+yaml;version=draft-06");const An=Te(pn);const kn=j(1,pn(Array.isArray)?Array.isArray:Ie(R,nt("Array")));const Pn=Ne(kn,at);const _n=j(3,(function(e,t,n){var r=ft(e,n),s=ft(it(e),n);if(!An(r)&&!Pn(e)){var i=ue(r,s);return Ee(i,t)}}));class Nn extends i.lS{constructor(){super(),this.register("annotation",wt),this.register("comment",kt),this.register("parseResult",Mt),this.register("sourceMap",Rt)}}const Mn=new Nn,Tn=e=>{const t=new Nn;return yn(e)&&t.use(e),t},Rn=Mn,Fn=()=>({predicates:{...e},namespace:Rn});var Cn=n(6591),Vn=n.n(Cn);const In=j(1,Ie(R,nt("String"))),Ln=(e,t,n)=>{const r=e[t];if(null!=r){if(!n&&"function"==typeof r)return r;const e=n?r.leave:r.enter;if("function"==typeof e)return e}else{const r=n?e.leave:e.enter;if(null!=r){if("function"==typeof r)return r;const e=r[t];if("function"==typeof e)return e}}return null},Dn={},Jn=e=>null==e?void 0:e.type,Bn=e=>"string"==typeof Jn(e),zn=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),$n=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=Dn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Ln,nodeTypeGetter:c=Jn,nodePredicate:u=Bn,nodeCloneFn:l=zn,detectCycles:f=!0}={})=>{const p=n||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const O=[],j=[];do{v+=1;const e=v===y.length;let n;const S=e&&0!==b.length;if(e){if(n=0===j.length?void 0:O.pop(),g=m,m=j.pop(),S)if(d){g=g.slice();let e=0;for(const[t,n]of b){const r=t-e;n===i?(g.splice(r,1),e+=1):g[r]=n}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(n=d?v:y[v],g=m[n],g===i||void 0===g)continue;O.push(n)}if(j.includes(g))continue;let x;if(!Array.isArray(g)){if(!u(g))throw new On(`Invalid AST Node: ${JSON.stringify(g)}`);if(f&&j.includes(g)){O.pop();continue}const i=a(t,c(g),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;x=i.call(t,g,n,m,O,j)}if(x===s)break;if(x===o){if(!e){O.pop();continue}}else if(void 0!==x&&(b.push([n,x]),!e)){if(!u(x)){O.pop();continue}g=x}}var E;if(void 0===x&&S&&b.push([n,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(E=p[c(g)])&&void 0!==E?E:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:e};$n[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=Dn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Ln,nodeTypeGetter:c=Jn,nodePredicate:u=Bn,nodeCloneFn:l=zn,detectCycles:f=!0}={})=>{const p=n||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const O=[],j=[];do{v+=1;const e=v===y.length;let n;const S=e&&0!==b.length;if(e){if(n=0===j.length?void 0:O.pop(),g=m,m=j.pop(),S)if(d){g=g.slice();let e=0;for(const[t,n]of b){const r=t-e;n===i?(g.splice(r,1),e+=1):g[r]=n}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(n=d?v:y[v],g=m[n],g===i||void 0===g)continue;O.push(n)}let x;if(!Array.isArray(g)){if(!u(g))throw new On(`Invalid AST Node: ${JSON.stringify(g)}`);if(f&&j.includes(g)){O.pop();continue}const i=a(t,c(g),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;x=await i.call(t,g,n,m,O,j)}if(x===s)break;if(x===o){if(!e){O.pop();continue}}else if(void 0!==x&&(b.push([n,x]),!e)){if(!u(x)){O.pop();continue}g=x}}var E;if(void 0===x&&S&&b.push([n,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(E=p[c(g)])&&void 0!==E?E:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:e};const qn=class extends On{constructor(e,t){super(e,t),void 0!==t&&Object.assign(this,ht(["cause"],t))}};const Un=class extends qn{};const Gn=class extends Un{};const Kn=class extends Un{},Hn=e=>"function"==typeof(null==e?void 0:e.clone)?e.clone():e,Wn=e=>{if(e instanceof i.rm){const t=[...e].map(Hn);return new i.rm(t)}if(e instanceof i.O4){const t=[...e].map(Hn);return new i.O4(t)}if("function"==typeof(null==e?void 0:e.clone))return e.clone();throw new Gn("Value provided to cloneDeep function couldn't be cloned",{value:e})};Wn.safe=e=>{try{return Wn(e)}catch{return e}};const Yn=e=>{const{key:t,value:n}=e;return new i.KeyValuePair(t,n)},Qn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=Wn(e.meta)),e.attributes.length>0&&(t._attributes=Wn(e.attributes)),Jt(e.content)){const n=e.content;t.content=Qn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof i.KeyValuePair?t.content=Yn(e.content):t.content=e.content;return t},Xn=e=>{if(e instanceof i.KeyValuePair)return Yn(e);if(e instanceof i.rm)return(e=>{const t=[...e];return new i.rm(t)})(e);if(e instanceof i.O4)return(e=>{const t=[...e];return new i.O4(t)})(e);if(Jt(e))return Qn(e);throw new Kn("Value provided to cloneShallow function couldn't be cloned",{value:e})};Xn.safe=e=>{try{return Xn(e)}catch{return e}};const Zn=e=>Ut(e)?"ObjectElement":Gt(e)?"ArrayElement":Kt(e)?"MemberElement":Bt(e)?"StringElement":qt(e)?"BooleanElement":zt(e)?"NumberElement":$t(e)?"NullElement":Ht(e)?"LinkElement":Wt(e)?"RefElement":void 0,er=e=>Jt(e)?Xn(e):zn(e),tr=Ie(Zn,In),nr={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},rr=(Cn({props:{result:[],predicate:o,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=nr,...r}={})=>$n(e,t,{keyMap:n,nodeTypeGetter:Zn,nodePredicate:tr,nodeCloneFn:er,...r}));rr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=nr,...r}={})=>$n[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:Zn,nodePredicate:tr,nodeCloneFn:er,...r});const sr=(e,t,n={})=>{if(0===t.length)return e;const r=yt(Fn,"toolboxCreator",n),s=yt({},"visitorOptions",n),i=yt(Zn,"nodeTypeGetter",s),o=r(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=Ln,nodeTypeGetter:n=Jn}={})=>{const r=new Array(e.length).fill(null);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const a=t(e[o],n(s),!1);if("function"==typeof a){const t=a.call(e[o],s,...i);if(!1===t)r[o]=s;else if(t===Dn)r[o]=Dn;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const a=t(e[o],n(s),!0);if("function"==typeof a){const t=a.call(e[o],s,...i);if(t===Dn)r[o]=Dn;else if(void 0!==t&&!1!==t)return t}}else r[o]===s&&(r[o]=null)}}})(a.map(yt({},"visitor")),{nodeTypeGetter:i});a.forEach(_n(["pre"],[]));const u=rr(e,c,s);return a.forEach(_n(["post"],[])),u},ir=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return sr(r,n,{toolboxCreator:Fn,visitorOptions:{nodeTypeGetter:Zn}})},or=e=>(t,n={})=>ir(t,{...n,Type:e});i.Sb.refract=or(i.Sb),i.ON.refract=or(i.ON),i.RP.refract=or(i.RP),i.hh.refract=or(i.hh),i.zr.refract=or(i.zr),i.VL.refract=or(i.VL),i.EA.refract=or(i.EA),i.tK.refract=or(i.tK),wt.refract=or(wt),kt.refract=or(kt),Mt.refract=or(Mt),Rt.refract=or(Rt);class ar extends i.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const cr=ar;class ur extends i.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const lr=ur;class fr extends i.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const pr=fr;class hr extends i.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const mr=hr;const dr=Le((function(e,t){return Ie(jt(""),Ue(St(e)),ct(""))(t)})),yr=(e,t)=>{const n=De(e,t);return pt((e=>{if(yn(e)&&Xe("$ref",e)&&vt(In,"$ref",e)){const t=ft(["$ref"],e),r=dr("#/",t);return ft(r.split("/"),n)}return yn(e)?yr(e,n):e}),e)},vr=Cn({props:{element:null},methods:{copyMetaAndAttributes(e,t){tn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),br=Cn(vr,{methods:{enter(e){return this.element=Wn(e),Dn}}});const gr=ye(Pt()),Or=e=>"string"==typeof(null==e?void 0:e.type)?e.type:Zn(e),jr={EphemeralObject:["content"],EphemeralArray:["content"],...nr},Er=(e,t,{keyMap:n=jr,...r}={})=>rr(e,t,{keyMap:n,nodeTypeGetter:Or,nodePredicate:a,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});Er[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=jr,...n}={})=>rr[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:Or,nodePredicate:a,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const Sr=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const xr=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},wr=Cn.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new xr(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new Sr(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),Ar=e=>Jt(e)?Bt(e)||zt(e)||qt(e)||$t(e)?e.toValue():Er(e,wr()):e,kr=e=>{if(Jt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Pr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...nr},_r=Cn(vr,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return dt(this.passingOptionsNames,this)},retrieveFixedFields(e){return Ie(ft(["visitors",...e,"fixedFields"]),T)(this.specObj)},retrieveVisitor(e){return mt(pn,["visitors",...e],this.specObj)?ft(["visitors",...e],this.specObj):ft(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return _t(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?Wn(t):(rr(t,r,{keyMap:Pr,nodeTypeGetter:kr,...n}),r.element)}}}),Nr=Cn(_r,{props:{specPath:gr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(Bt(r)&&n.includes(Ar(r))&&!this.ignoredFields.includes(Ar(r))){const n=this.toRefractedElement([...t,"fixedFields",Ar(r)],e),o=new i.c6(Wn(r),n);this.copyMetaAndAttributes(s,o),o.classes.push("fixed-field"),this.element.content.push(o)}else this.ignoredFields.includes(Ar(r))||this.element.content.push(Wn(s))})),this.copyMetaAndAttributes(e,this.element),Dn}}}),Mr=Cn(Nr,br,{props:{specPath:ye(["document","objects","JSONSchema"])},init(){this.element=new cr}}),Tr=br,Rr=br,Fr=br,Cr=br,Vr=br,Ir=br,Lr=br,Dr=br,Jr=br,Br=br,zr=Cn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),$r=e=>Ut(e)&&e.hasKey("$ref"),qr=Cn(_r,zr,br,{methods:{ObjectElement(e){const t=$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Dn},ArrayElement(e){return this.element=new i.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Dn}}}),Ur=br,Gr=br,Kr=br,Hr=br,Wr=br,Yr=Cn(br,{methods:{ArrayElement(e){return this.element=Wn(e),this.element.classes.push("json-schema-required"),Dn}}});const Qr=Te(j(1,Ne(on,Ke(cn,pn))));const Xr=Te(at);const Zr=de([In,Qr,Xr]),es=Cn(_r,{props:{fieldPatternPredicate:o,specPath:gr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(Ar(t))&&this.fieldPatternPredicate(Ar(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),o=new i.c6(Wn(t),s);this.copyMetaAndAttributes(n,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes(Ar(t))||this.element.content.push(Wn(n))})),this.copyMetaAndAttributes(e,this.element),Dn}}}),ts=Cn(es,{props:{fieldPatternPredicate:Zr}}),ns=Cn(ts,zr,br,{props:{specPath:e=>$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new i.Sb,this.element.classes.push("json-schema-properties")}}),rs=Cn(ts,zr,br,{props:{specPath:e=>$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new i.Sb,this.element.classes.push("json-schema-patternProperties")}}),ss=Cn(ts,zr,br,{props:{specPath:e=>$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new i.Sb,this.element.classes.push("json-schema-dependencies")}}),is=Cn(br,{methods:{ArrayElement(e){return this.element=Wn(e),this.element.classes.push("json-schema-enum"),Dn}}}),os=Cn(br,{methods:{StringElement(e){return this.element=Wn(e),this.element.classes.push("json-schema-type"),Dn},ArrayElement(e){return this.element=Wn(e),this.element.classes.push("json-schema-type"),Dn}}}),as=Cn(_r,zr,br,{init(){this.element=new i.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Dn}}}),cs=Cn(_r,zr,br,{init(){this.element=new i.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Dn}}}),us=Cn(_r,zr,br,{init(){this.element=new i.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Dn}}}),ls=Cn(ts,zr,br,{props:{specPath:e=>$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new i.Sb,this.element.classes.push("json-schema-definitions")}}),fs=br,ps=br,hs=br,ms=br,ds=br,ys=Cn(_r,zr,br,{init(){this.element=new i.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Dn}}}),vs=br,bs=Cn(Nr,br,{props:{specPath:ye(["document","objects","JSONReference"])},init(){this.element=new lr},methods:{ObjectElement(e){const t=Nr.compose.methods.ObjectElement.call(this,e);return Bt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),gs=Cn(br,{methods:{StringElement(e){return this.element=Wn(e),this.element.classes.push("reference-value"),Dn}}});const Os=Te(Se);const js=Ne(kn,Xr);function Es(e){return function(e){if(Array.isArray(e))return Ss(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ss(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ss(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ss(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var xs=Ie(Ot(Me((function(e,t){return e.length>t.length}))),et,ne("length")),ws=Le((function(e,t,n){var r=n.apply(void 0,Es(e));return Os(r)?bt(r):t}));const As=rt(js,(function(e){var t=xs(e);return j(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return me(ws(n),void 0,e)}))}),Pt),ks=Cn(_r,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>rt(e,ye(t),Pt))),n=As(t)(e);return this.element=this.toRefractedElement(n,e),Dn}}}),Ps=Cn(ks,{props:{alternator:[{predicate:$r,specPath:["document","objects","JSONReference"]},{predicate:a,specPath:["document","objects","JSONSchema"]}]}}),_s=Cn(Nr,br,{props:{specPath:ye(["document","objects","Media"])},init(){this.element=new pr}}),Ns=br,Ms=br,Ts=Cn(Nr,br,{props:{specPath:ye(["document","objects","LinkDescription"])},init(){this.element=new mr}}),Rs={visitors:{value:br,JSONSchemaOrJSONReferenceVisitor:Ps,document:{objects:{JSONSchema:{$visitor:Mr,fixedFields:{id:Tr,$schema:Rr,multipleOf:Fr,maximum:Cr,exclusiveMaximum:Vr,minimum:Ir,exclusiveMinimum:Lr,maxLength:Dr,minLength:Jr,pattern:Br,additionalItems:Ps,items:qr,maxItems:Ur,minItems:Gr,uniqueItems:Kr,maxProperties:Hr,minProperties:Wr,required:Yr,properties:ns,additionalProperties:Ps,patternProperties:rs,dependencies:ss,enum:is,type:os,allOf:as,anyOf:cs,oneOf:us,not:Ps,definitions:ls,title:fs,description:ps,default:hs,format:ms,base:ds,links:ys,media:{$ref:"#/visitors/document/objects/Media"},readOnly:vs}},JSONReference:{$visitor:bs,fixedFields:{$ref:gs}},Media:{$visitor:_s,fixedFields:{binaryEncoding:Ns,type:Ms}},LinkDescription:{$visitor:Ts,fixedFields:{href:br,rel:br,title:br,targetSchema:Ps,mediaType:br,method:br,encType:br,schema:Ps}}}}}},Fs=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof cr||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),Cs=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof lr||e(r)&&t("JSONReference",r)&&n("object",r))),Vs=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof pr||e(r)&&t("media",r)&&n("object",r))),Is=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof mr||e(r)&&t("linkDescription",r)&&n("object",r))),Ls={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",cr),t.register("jSONReference",lr),t.register("media",pr),t.register("linkDescription",mr),t}},Ds=()=>{const e=Tn(Ls);return{predicates:{...t,isStringElement:Bt},namespace:e}},Js=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=Rs}={})=>{const s=(0,i.Qc)(e),o=yr(r),a=_n(t,[],o);return rr(s,a,{state:{specObj:o}}),sr(a.element,n,{toolboxCreator:Ds,visitorOptions:{keyMap:Pr,nodeTypeGetter:kr}})},Bs=e=>(t,n={})=>Js(t,{specPath:e,...n});cr.refract=Bs(["visitors","document","objects","JSONSchema","$visitor"]),lr.refract=Bs(["visitors","document","objects","JSONReference","$visitor"]),pr.refract=Bs(["visitors","document","objects","Media","$visitor"]),mr.refract=Bs(["visitors","document","objects","LinkDescription","$visitor"]);const zs=class extends cr{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new jn("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new jn("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const $s=class extends mr{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new jn("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new jn("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new jn("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new jn("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new jn("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new jn("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},qs={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",zs),t.register("jSONReference",lr),t.register("media",pr),t.register("linkDescription",$s),t}},Us=e=>{if(Jt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Gs={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...nr},Ks=e=>Bt(e)&&rn(["yaml-e-node","yaml-e-scalar"],e),Hs={JSONSchemaDraft6Element:{additionalItems:(...e)=>new zs(...e),items:(...e)=>new zs(...e),contains:(...e)=>new zs(...e),required(...e){const t=new i.ON(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new i.Sb(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new zs(...e),patternProperties(...e){const t=new i.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},dependencies(...e){const t=new i.Sb(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new zs(...e),enum(...e){const t=new i.ON(...e);return t.classes.push("json-schema-enum"),t},allOf(...e){const t=new i.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new i.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new i.ON(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new zs(...e),definitions(...e){const t=new i.Sb(...e);return t.classes.push("json-schema-definitions"),t},examples(...e){const t=new i.ON(...e);return t.classes.push("json-schema-examples"),t},links(...e){const t=new i.ON(...e);return t.classes.push("json-schema-links"),t},media:(...e)=>new pr(...e)},LinkDescriptionElement:{hrefSchema:(...e)=>new zs(...e),targetSchema:(...e)=>new zs(...e),submissionSchema:(...e)=>new zs(...e)},"json-schema-properties":{"[key: *]":function(...e){return new zs(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new zs(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new zs(...e)}},"json-schema-allOf":{"<*>":function(...e){return new zs(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new zs(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new zs(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new zs(...e)}},"json-schema-links":{"<*>":function(...e){return new $s(...e)}}},Ws=(e,t)=>{const n=Us(e),r=Hs[n]||Hs[Ar(e.classes.first)];return void 0===r?void 0:Object.prototype.hasOwnProperty.call(r,"[key: *]")?r["[key: *]"]:r[t]},Ys=()=>()=>({visitor:{MemberElement(e,...t){if(!Ks(e.value))return;const[,,,n]=t,r=n.at(-1),s=Ws(r,Ar(e.key));if(void 0===s)return;const o=e.value;return new i.c6(e.key,s.call({context:r},void 0,Wn(o.meta),Wn(o.attributes)),Wn(e.meta),Wn(e.attributes))},StringElement(e,...t){if(!Ks(e))return;const[,,,n]=t,r=n.at(-1);if(!Gt(r))return;const s=Ws(r,"<*>");return void 0!==s?s.call({context:e},void 0,Wn(e.meta),Wn(e.attributes)):void 0}}}),Qs=Vn()(Nr,br,{props:{specPath:ye(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new zs,Nr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=Wn(e),this.element.classes.push("boolean-json-schema"),Dn}}}),Xs=br,Zs=Vn()(_r,zr,br,{methods:{ObjectElement(e){const t=$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Dn},ArrayElement(e){return this.element=new i.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=$r(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Dn},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Dn}}}),ei=br,ti=Vn()(br,{methods:{ArrayElement(e){return this.element=Wn(e),this.element.classes.push("json-schema-examples"),Dn}}}),ni=Vn()(Nr,br,{props:{specPath:ye(["document","objects","LinkDescription"])},init(){this.element=new $s}}),ri=br,si=Ie(xe(["visitors","document","objects","JSONSchema","$visitor"],Qs),ze(["visitors","document","objects","JSONSchema","fixedFields","id"]),xe(["visitors","document","objects","JSONSchema","fixedFields","$id"],Xs),xe(["visitors","document","objects","JSONSchema","fixedFields","contains"],Rs.visitors.JSONSchemaOrJSONReferenceVisitor),xe(["visitors","document","objects","JSONSchema","fixedFields","items"],Zs),xe(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Rs.visitors.JSONSchemaOrJSONReferenceVisitor),xe(["visitors","document","objects","JSONSchema","fixedFields","const"],ei),xe(["visitors","document","objects","JSONSchema","fixedFields","examples"],ti),xe(["visitors","document","objects","LinkDescription","$visitor"],ni),xe(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Rs.visitors.JSONSchemaOrJSONReferenceVisitor),ze(["visitors","document","objects","LinkDescription","fixedFields","schema"]),xe(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Rs.visitors.JSONSchemaOrJSONReferenceVisitor),ze(["visitors","document","objects","LinkDescription","fixedFields","method"]),ze(["visitors","document","objects","LinkDescription","fixedFields","encType"]),xe(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],ri))(Rs),ii=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof zs||e(r)&&t("JSONSchemaDraft6",r)&&n("object",r))),oi=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof $s||e(r)&&t("linkDescription",r)&&n("object",r))),ai=()=>{const e=Tn(qs);return{predicates:{...s,isStringElement:Bt},namespace:e}},ci=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=si}={})=>{const s=(0,i.Qc)(e),o=yr(r),a=_n(t,[],o);return rr(s,a,{state:{specObj:o}}),sr(a.element,n,{toolboxCreator:ai,visitorOptions:{keyMap:Gs,nodeTypeGetter:Us}})},ui=e=>(t,n={})=>ci(t,{specPath:e,...n}),li=ci})(),r})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsJSONSchemaDraft6=t():e.apidomNsJSONSchemaDraft6=t()}(self,(()=>(()=>{var e={42:(e,t,r)=>{"use strict";var n=r(5846);e.exports=n},6791:(e,t,r)=>{"use strict";r(4339),r(4242),r(4016),r(8939),r(5454);var n=r(7545);e.exports=n.AggregateError},6762:(e,t,r)=>{"use strict";e.exports=r(3028)},3028:(e,t,r)=>{"use strict";r(2752);var n=r(42);e.exports=n},6235:(e,t,r)=>{"use strict";var n=r(6447),s=r(9288),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not a function")}},7757:(e,t,r)=>{"use strict";var n=r(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},7423:e=>{"use strict";e.exports=function(){}},1138:(e,t,r)=>{"use strict";var n=r(5744),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not an object")}},8180:(e,t,r)=>{"use strict";var n=r(101),s=r(7739),i=r(4104),o=function(e){return function(t,r,o){var c,a=n(t),u=i(a),l=s(o,u);if(e&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,r)=>{"use strict";var n=r(4120),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,r)=>{"use strict";var n=r(3471),s=r(6447),i=r(9272),o=r(8182)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?r:a?i(t):"Object"===(n=i(t))&&s(t.callee)?"Arguments":n}},7987:(e,t,r)=>{"use strict";var n=r(4500),s=r(3011),i=r(5141),o=r(2454);e.exports=function(e,t,r){for(var c=s(t),a=o.f,u=i.f,l=0;l<c.length;l++){var f=c[l];n(e,f)||r&&n(r,f)||a(e,f,u(t,f))}}},4635:(e,t,r)=>{"use strict";var n=r(6192);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,r)=>{"use strict";var n=r(69),s=r(2454),i=r(774);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},774:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,r)=>{"use strict";var n=r(8711);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},5098:(e,t,r)=>{"use strict";var n=r(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},69:(e,t,r)=>{"use strict";var n=r(6192);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{"use strict";var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},7449:(e,t,r)=>{"use strict";var n=r(8576),s=r(5744),i=n.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,r)=>{"use strict";var n,s,i=r(8576),o=r(8989),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},2952:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,r)=>{"use strict";var n=r(4120),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},8266:(e,t,r)=>{"use strict";var n=r(8711),s=r(4503),i=r(274),o=Error.captureStackTrace;e.exports=function(e,t,r,c){i&&(o?o(e,t):n(e,"stack",s(r,c)))}},274:(e,t,r)=>{"use strict";var n=r(6192),s=r(774);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3085:(e,t,r)=>{"use strict";var n=r(8576),s=r(6298),i=r(4914),o=r(6447),c=r(5141).f,a=r(9245),u=r(7545),l=r(8043),f=r(8711),p=r(4500),h=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,s,m,d,y,v,b,g,j,O=e.target,E=e.global,x=e.stat,S=e.proto,w=E?n:x?n[O]:(n[O]||{}).prototype,A=E?u:u[O]||f(u,O,{})[O],k=A.prototype;for(d in t)s=!(r=a(E?d:O+(x?".":"#")+d,e.forced))&&w&&p(w,d),v=A[d],s&&(b=e.dontCallGetSet?(j=c(w,d))&&j.value:w[d]),y=s&&b?b:t[d],s&&typeof v==typeof y||(g=e.bind&&s?l(y,n):e.wrap&&s?h(y):S&&o(y)?i(y):y,(e.sham||y&&y.sham||v&&v.sham)&&f(g,"sham",!0),f(A,d,g),S&&(p(u,m=O+"Prototype")||f(u,m,{}),f(u[m],d,y),e.real&&k&&(r||!k[d])&&f(k,d,y)))}},6192:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,r)=>{"use strict";var n=r(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,r)=>{"use strict";var n=r(4914),s=r(6235),i=r(2784),o=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,r)=>{"use strict";var n=r(6192);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,r)=>{"use strict";var n=r(2784),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,r)=>{"use strict";var n=r(69),s=r(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},6419:(e,t,r)=>{"use strict";var n=r(4120),s=r(6235);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},4914:(e,t,r)=>{"use strict";var n=r(9272),s=r(4120);e.exports=function(e){if("Function"===n(e))return s(e)}},4120:(e,t,r)=>{"use strict";var n=r(2784),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,r)=>{"use strict";var n=r(7545),s=r(8576),i=r(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},8703:(e,t,r)=>{"use strict";var n=r(4696),s=r(5037),i=r(5646),o=r(7771),c=r(8182)("iterator");e.exports=function(e){if(!i(e))return s(e,c)||s(e,"@@iterator")||o[n(e)]}},1669:(e,t,r)=>{"use strict";var n=r(8922),s=r(6235),i=r(1138),o=r(9288),c=r(8703),a=TypeError;e.exports=function(e,t){var r=arguments.length<2?c(e):t;if(s(r))return i(n(r,e));throw new a(o(e)+" is not iterable")}},5037:(e,t,r)=>{"use strict";var n=r(6235),s=r(5646);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},8576:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,r)=>{"use strict";var n=r(4120),s=r(1795),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{"use strict";e.exports={}},7403:(e,t,r)=>{"use strict";var n=r(150);e.exports=n("document","documentElement")},188:(e,t,r)=>{"use strict";var n=r(69),s=r(6192),i=r(7449);e.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,r)=>{"use strict";var n=r(4120),s=r(6192),i=r(9272),o=Object,c=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},2643:(e,t,r)=>{"use strict";var n=r(6447),s=r(5744),i=r(4469);e.exports=function(e,t,r){var o,c;return i&&n(o=t.constructor)&&o!==r&&s(c=o.prototype)&&c!==r.prototype&&i(e,c),e}},273:(e,t,r)=>{"use strict";var n=r(5744),s=r(8711);e.exports=function(e,t){n(t)&&"cause"in t&&s(e,"cause",t.cause)}},3326:(e,t,r)=>{"use strict";var n,s,i,o=r(5278),c=r(8576),a=r(5744),u=r(8711),l=r(4500),f=r(6434),p=r(9766),h=r(4535),m="Object already initialized",d=c.TypeError,y=c.WeakMap;if(o||f.state){var v=f.state||(f.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new d(m);return t.facade=e,v.set(e,t),t},s=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var b=p("state");h[b]=!0,n=function(e,t){if(l(e,b))throw new d(m);return t.facade=e,u(e,b,t),t},s=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:n,get:s,has:i,enforce:function(e){return i(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!a(t)||(r=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return r}}}},6109:(e,t,r)=>{"use strict";var n=r(8182),s=r(7771),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},6447:(e,t,r)=>{"use strict";var n=r(8382),s=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},9245:(e,t,r)=>{"use strict";var n=r(6192),s=r(6447),i=/#|\.prototype\./,o=function(e,t){var r=a[c(e)];return r===l||r!==u&&(s(t)?n(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{"use strict";e.exports=function(e){return null==e}},5744:(e,t,r)=>{"use strict";var n=r(6447),s=r(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},5546:e=>{"use strict";e.exports=!0},3236:(e,t,r)=>{"use strict";var n=r(150),s=r(6447),i=r(8902),o=r(615),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,c(e))}},3442:(e,t,r)=>{"use strict";var n=r(8043),s=r(8922),i=r(1138),o=r(9288),c=r(6109),a=r(4104),u=r(8902),l=r(1669),f=r(8703),p=r(6639),h=TypeError,m=function(e,t){this.stopped=e,this.result=t},d=m.prototype;e.exports=function(e,t,r){var y,v,b,g,j,O,E,x=r&&r.that,S=!(!r||!r.AS_ENTRIES),w=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),P=n(t,x),_=function(e){return y&&p(y,"normal",e),new m(!0,e)},N=function(e){return S?(i(e),k?P(e[0],e[1],_):P(e[0],e[1])):k?P(e,_):P(e)};if(w)y=e.iterator;else if(A)y=e;else{if(!(v=f(e)))throw new h(o(e)+" is not iterable");if(c(v)){for(b=0,g=a(e);g>b;b++)if((j=N(e[b]))&&u(d,j))return j;return new m(!1)}y=l(e,v)}for(O=w?e.next:y.next;!(E=s(O,y)).done;){try{j=N(E.value)}catch(e){p(y,"throw",e)}if("object"==typeof j&&j&&u(d,j))return j}return new m(!1)}},6639:(e,t,r)=>{"use strict";var n=r(8922),s=r(1138),i=r(5037);e.exports=function(e,t,r){var o,c;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw r;if(c)throw o;return s(o),r}},5695:(e,t,r)=>{"use strict";var n=r(4413).IteratorPrototype,s=r(2853),i=r(774),o=r(1284),c=r(7771),a=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=s(n,{next:i(+!u,r)}),o(e,l,!1,!0),c[l]=a,e}},5297:(e,t,r)=>{"use strict";var n=r(3085),s=r(8922),i=r(5546),o=r(2282),c=r(6447),a=r(5695),u=r(9341),l=r(4469),f=r(1284),p=r(8711),h=r(9362),m=r(8182),d=r(7771),y=r(4413),v=o.PROPER,b=o.CONFIGURABLE,g=y.IteratorPrototype,j=y.BUGGY_SAFARI_ITERATORS,O=m("iterator"),E="keys",x="values",S="entries",w=function(){return this};e.exports=function(e,t,r,o,m,y,A){a(r,t,o);var k,P,_,N=function(e){if(e===m&&C)return C;if(!j&&e&&e in R)return R[e];switch(e){case E:case x:case S:return function(){return new r(this,e)}}return function(){return new r(this)}},M=t+" Iterator",T=!1,R=e.prototype,F=R[O]||R["@@iterator"]||m&&R[m],C=!j&&F||N(m),V="Array"===t&&R.entries||F;if(V&&(k=u(V.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===g||(l?l(k,g):c(k[O])||h(k,O,w)),f(k,M,!0,!0),i&&(d[M]=w)),v&&m===x&&F&&F.name!==x&&(!i&&b?p(R,"name",x):(T=!0,C=function(){return s(F,this)})),m)if(P={values:N(x),keys:y?C:N(E),entries:N(S)},A)for(_ in P)(j||T||!(_ in R))&&h(R,_,P[_]);else n({target:t,proto:!0,forced:j||T},P);return i&&!A||R[O]===C||h(R,O,C,{name:m}),d[t]=C,P}},4413:(e,t,r)=>{"use strict";var n,s,i,o=r(6192),c=r(6447),a=r(5744),u=r(2853),l=r(9341),f=r(9362),p=r(8182),h=r(5546),m=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):d=!0),!a(n)||o((function(){var e={};return n[m].call(e)!==e}))?n={}:h&&(n=u(n)),c(n[m])||f(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{"use strict";e.exports={}},4104:(e,t,r)=>{"use strict";var n=r(8445);e.exports=function(e){return n(e.length)}},7679:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},6016:(e,t,r)=>{"use strict";var n=r(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},2853:(e,t,r)=>{"use strict";var n,s=r(1138),i=r(1187),o=r(2952),c=r(4535),a=r(7403),u=r(7449),l=r(9766),f="prototype",p="script",h=l("IE_PROTO"),m=function(){},d=function(e){return"<"+p+">"+e+"</"+p+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;v="undefined"!=typeof document?document.domain&&n?y(n):(t=u("iframe"),r="java"+p+":",t.style.display="none",a.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(n);for(var s=o.length;s--;)delete v[f][o[s]];return v()};c[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[f]=s(e),r=new m,m[f]=null,r[h]=e):r=v(),void 0===t?r:i.f(r,t)}},1187:(e,t,r)=>{"use strict";var n=r(69),s=r(9600),i=r(2454),o=r(1138),c=r(101),a=r(7653);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,r=s[l++],n[r]);return e}},2454:(e,t,r)=>{"use strict";var n=r(69),s=r(188),i=r(9600),o=r(1138),c=r(77),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=n?i?function(e,t,r){if(o(e),t=c(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=c(t),o(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5141:(e,t,r)=>{"use strict";var n=r(69),s=r(8922),i=r(6007),o=r(774),c=r(101),a=r(77),u=r(4500),l=r(188),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=c(e),t=a(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},2092:(e,t,r)=>{"use strict";var n=r(7934),s=r(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},4750:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9341:(e,t,r)=>{"use strict";var n=r(4500),s=r(6447),i=r(1795),o=r(9766),c=r(4635),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(n(t,a))return t[a];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},8902:(e,t,r)=>{"use strict";var n=r(4120);e.exports=n({}.isPrototypeOf)},7934:(e,t,r)=>{"use strict";var n=r(4120),s=r(4500),i=r(101),o=r(8180).indexOf,c=r(4535),a=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!s(c,r)&&s(n,r)&&a(l,r);for(;t.length>u;)s(n,r=t[u++])&&(~o(l,r)||a(l,r));return l}},7653:(e,t,r)=>{"use strict";var n=r(7934),s=r(2952);e.exports=Object.keys||function(e){return n(e,s)}},6007:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},4469:(e,t,r)=>{"use strict";var n=r(6419),s=r(1138),i=r(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},158:(e,t,r)=>{"use strict";var n=r(3471),s=r(4696);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,r)=>{"use strict";var n=r(8922),s=r(6447),i=r(5744),o=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&s(r=e.toString)&&!i(c=n(r,e)))return c;if(s(r=e.valueOf)&&!i(c=n(r,e)))return c;if("string"!==t&&s(r=e.toString)&&!i(c=n(r,e)))return c;throw new o("Can't convert object to primitive value")}},3011:(e,t,r)=>{"use strict";var n=r(150),s=r(4120),i=r(2092),o=r(4750),c=r(1138),a=s([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),r=o.f;return r?a(t,r(e)):t}},7545:e=>{"use strict";e.exports={}},7656:(e,t,r)=>{"use strict";var n=r(2454).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},3209:(e,t,r)=>{"use strict";var n=r(5646),s=TypeError;e.exports=function(e){if(n(e))throw new s("Can't call method on "+e);return e}},1284:(e,t,r)=>{"use strict";var n=r(3471),s=r(2454).f,i=r(8711),o=r(4500),c=r(158),a=r(8182)("toStringTag");e.exports=function(e,t,r,u){if(e){var l=r?e:e.prototype;o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!n&&i(l,"toString",c)}}},9766:(e,t,r)=>{"use strict";var n=r(8717),s=r(2759),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,r)=>{"use strict";var n=r(8576),s=r(5098),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},8717:(e,t,r)=>{"use strict";var n=r(5546),s=r(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,r)=>{"use strict";var n=r(4120),s=r(1941),i=r(4845),o=r(3209),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,f=i(o(t)),p=s(r),h=f.length;return p<0||p>=h?e?"":void 0:(n=a(f,p))<55296||n>56319||p+1===h||(l=a(f,p+1))<56320||l>57343?e?c(f,p):n:e?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,r)=>{"use strict";var n=r(4218),s=r(6192),i=r(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},7739:(e,t,r)=>{"use strict";var n=r(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):i(r,t)}},101:(e,t,r)=>{"use strict";var n=r(2202),s=r(3209);e.exports=function(e){return n(s(e))}},1941:(e,t,r)=>{"use strict";var n=r(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8445:(e,t,r)=>{"use strict";var n=r(1941),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},1795:(e,t,r)=>{"use strict";var n=r(3209),s=Object;e.exports=function(e){return s(n(e))}},7888:(e,t,r)=>{"use strict";var n=r(8922),s=r(5744),i=r(3236),o=r(5037),c=r(380),a=r(8182),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,a=o(e,l);if(a){if(void 0===t&&(t="default"),r=n(a,e,t),!s(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},77:(e,t,r)=>{"use strict";var n=r(7888),s=r(3236);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},3471:(e,t,r)=>{"use strict";var n={};n[r(8182)("toStringTag")]="z",e.exports="[object z]"===String(n)},4845:(e,t,r)=>{"use strict";var n=r(4696),s=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,r)=>{"use strict";var n=r(4120),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,r)=>{"use strict";var n=r(6770);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,r)=>{"use strict";var n=r(69),s=r(6192);e.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,r)=>{"use strict";var n=r(8576),s=r(6447),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8182:(e,t,r)=>{"use strict";var n=r(8576),s=r(8717),i=r(4500),o=r(2759),c=r(6770),a=r(615),u=n.Symbol,l=s("wks"),f=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:f("Symbol."+e)),l[e]}},426:(e,t,r)=>{"use strict";var n=r(150),s=r(4500),i=r(8711),o=r(8902),c=r(4469),a=r(7987),u=r(7656),l=r(2643),f=r(6016),p=r(273),h=r(8266),m=r(69),d=r(5546);e.exports=function(e,t,r,y){var v="stackTraceLimit",b=y?2:1,g=e.split("."),j=g[g.length-1],O=n.apply(null,g);if(O){var E=O.prototype;if(!d&&s(E,"cause")&&delete E.cause,!r)return O;var x=n("Error"),S=t((function(e,t){var r=f(y?t:e,void 0),n=y?new O(e):new O;return void 0!==r&&i(n,"message",r),h(n,S,n.stack,2),this&&o(E,this)&&l(n,this,S),arguments.length>b&&p(n,arguments[b]),n}));if(S.prototype=E,"Error"!==j?c?c(S,x):a(S,x,{name:!0}):m&&v in O&&(u(S,O,v),u(S,O,"prepareStackTrace")),a(S,O),!d)try{E.name!==j&&i(E,"name",j),E.constructor=S}catch(e){}return S}}},4016:(e,t,r)=>{"use strict";var n=r(3085),s=r(150),i=r(6298),o=r(6192),c=r(426),a="AggregateError",u=s(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,r){return i(e,this,arguments)}}),l,!0)})},3820:(e,t,r)=>{"use strict";var n=r(3085),s=r(8902),i=r(9341),o=r(4469),c=r(7987),a=r(2853),u=r(8711),l=r(774),f=r(273),p=r(8266),h=r(3442),m=r(6016),d=r(8182)("toStringTag"),y=Error,v=[].push,b=function(e,t){var r,n=s(g,this);o?r=o(new y,n?i(this):g):(r=n?this:a(g),u(r,d,"Error")),void 0!==t&&u(r,"message",m(t)),p(r,b,r.stack,1),arguments.length>2&&f(r,arguments[2]);var c=[];return h(e,v,{that:c}),u(r,"errors",c),r};o?o(b,y):c(b,y,{name:!0});var g=b.prototype=a(y.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},4242:(e,t,r)=>{"use strict";r(3820)},8939:(e,t,r)=>{"use strict";var n=r(101),s=r(7423),i=r(7771),o=r(3326),c=r(2454).f,a=r(5297),u=r(7271),l=r(5546),f=r(69),p="Array Iterator",h=o.set,m=o.getterFor(p);e.exports=a(Array,"Array",(function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,r=e.kind,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(r){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==d.name)try{c(d,"name",{value:"values"})}catch(e){}},4339:(e,t,r)=>{"use strict";var n=r(3085),s=r(8576),i=r(6298),o=r(426),c="WebAssembly",a=s[c],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(e,t){if(a&&a[e]){var r={};r[e]=o(c+"."+e,t,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),f("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),f("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),f("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,r)=>{"use strict";var n=r(863).charAt,s=r(4845),i=r(3326),o=r(5297),c=r(7271),a="String Iterator",u=i.set,l=i.getterFor(a);o(String,"String",(function(e){u(this,{type:a,string:s(e),index:0})}),(function(){var e,t=l(this),r=t.string,s=t.index;return s>=r.length?c(void 0,!0):(e=n(r,s),t.index+=e.length,c(e,!1))}))},2752:(e,t,r)=>{"use strict";r(4242)},162:(e,t,r)=>{"use strict";r(8939);var n=r(7365),s=r(8576),i=r(4696),o=r(8711),c=r(7771),a=r(8182)("toStringTag");for(var u in n){var l=s[u],f=l&&l.prototype;f&&i(f)!==a&&o(f,a,u),c[u]=c.Array}},5846:(e,t,r)=>{"use strict";r(2752);var n=r(6791);r(162),e.exports=n},9515:(e,t,r)=>{var n=r(8761)(r(7772),"DataView");e.exports=n},9612:(e,t,r)=>{var n=r(2118),s=r(6909),i=r(8138),o=r(4174),c=r(7942);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},235:(e,t,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=r(2344),c=r(4769);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},326:(e,t,r)=>{var n=r(8761)(r(7772),"Map");e.exports=n},6738:(e,t,r)=>{var n=r(2411),s=r(6417),i=r(6928),o=r(9493),c=r(4150);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},2760:(e,t,r)=>{var n=r(8761)(r(7772),"Promise");e.exports=n},2143:(e,t,r)=>{var n=r(8761)(r(7772),"Set");e.exports=n},5386:(e,t,r)=>{var n=r(6738),s=r(2842),i=r(2482);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,r)=>{var n=r(235),s=r(5243),i=r(2858),o=r(4417),c=r(8605),a=r(1418);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=c,u.prototype.set=a,e.exports=u},857:(e,t,r)=>{var n=r(7772).Symbol;e.exports=n},9162:(e,t,r)=>{var n=r(7772).Uint8Array;e.exports=n},3215:(e,t,r)=>{var n=r(8761)(r(7772),"WeakMap");e.exports=n},7552:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[s++]=o)}return i}},1634:(e,t,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),c=r(9045),a=r(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&s(e),f=!r&&!l&&o(e),p=!r&&!l&&!f&&a(e),h=r||l||f||p,m=h?n(e.length,String):[],d=m.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,d))||m.push(y);return m}},5067:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},7064:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},2218:(e,t,r)=>{var n=r(1225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1897:(e,t,r)=>{var n=r(5067),s=r(6152);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},3366:(e,t,r)=>{var n=r(857),s=r(2107),i=r(7157),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},8746:(e,t,r)=>{var n=r(1952),s=r(5125);e.exports=function e(t,r,i,o,c){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,c))}},1952:(e,t,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),c=r(940),a=r(6152),u=r(3226),l=r(7598),f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,d,y,v){var b=a(e),g=a(t),j=b?p:c(e),O=g?p:c(t),E=(j=j==f?h:j)==h,x=(O=O==f?h:O)==h,S=j==O;if(S&&u(e)){if(!u(t))return!1;b=!0,E=!1}if(S&&!E)return v||(v=new n),b||l(e)?s(e,t,r,d,y,v):i(e,t,j,r,d,y,v);if(!(1&r)){var w=E&&m.call(e,"__wrapped__"),A=x&&m.call(t,"__wrapped__");if(w||A){var k=w?e.value():e,P=A?t.value():t;return v||(v=new n),y(k,P,r,d,v)}}return!!S&&(v||(v=new n),o(e,t,r,d,y,v))}},6840:(e,t,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(7035),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(n(e)?p:c).test(o(e))}},5522:(e,t,r)=>{var n=r(3366),s=r(1158),i=r(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[n(e)]}},6411:(e,t,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6473:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,r)=>{var n=r(7772)["__core-js_shared__"];e.exports=n},4871:(e,t,r)=>{var n=r(5386),s=r(7064),i=r(9950);e.exports=function(e,t,r,o,c,a){var u=1&r,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var m=-1,d=!0,y=2&r?new n:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var v=e[m],b=t[m];if(o)var g=u?o(b,v,m,t,e,a):o(v,b,m,e,t,a);if(void 0!==g){if(g)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(v===e||c(v,e,r,o,a)))return y.push(t)}))){d=!1;break}}else if(v!==b&&!c(v,b,r,o,a)){d=!1;break}}return a.delete(e),a.delete(t),d}},1491:(e,t,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),c=r(5179),a=r(4207),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=c;case"[object Set]":var m=1&n;if(h||(h=a),e.size!=t.size&&!m)return!1;var d=p.get(e);if(d)return d==t;n|=2,p.set(e,t);var y=o(h(e),h(t),n,u,f,p);return p.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,c){var a=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var f=l;f--;){var p=u[f];if(!(a?p in t:s.call(t,p)))return!1}var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=!0;c.set(e,t),c.set(t,e);for(var y=a;++f<l;){var v=e[p=u[f]],b=t[p];if(i)var g=a?i(b,v,p,t,e,c):i(v,b,p,e,t,c);if(!(void 0===g?v===b||o(v,b,r,i,c):g)){d=!1;break}y||(y="constructor"==p)}if(d&&!y){var j=e.constructor,O=t.constructor;j==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof j&&j instanceof j&&"function"==typeof O&&O instanceof O||(d=!1)}return c.delete(e),c.delete(t),d}},1242:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},3483:(e,t,r)=>{var n=r(1897),s=r(633),i=r(249);e.exports=function(e){return n(e,i,s)}},7937:(e,t,r)=>{var n=r(8304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8761:(e,t,r)=>{var n=r(6840),s=r(8109);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},2107:(e,t,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[c]=r:delete e[c]),s}},633:(e,t,r)=>{var n=r(7552),s=r(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},940:(e,t,r)=>{var n=r(9515),s=r(326),i=r(2760),o=r(2143),c=r(3215),a=r(3366),u=r(7035),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",d=u(n),y=u(s),v=u(i),b=u(o),g=u(c),j=a;(n&&j(new n(new ArrayBuffer(1)))!=m||s&&j(new s)!=l||i&&j(i.resolve())!=f||o&&j(new o)!=p||c&&j(new c)!=h)&&(j=function(e){var t=a(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case d:return m;case y:return l;case v:return f;case b:return p;case g:return h}return t}),e.exports=j},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,r)=>{var n=r(9191);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(t,e)?t[e]:void 0}},4174:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},7942:(e,t,r)=>{var n=r(9191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,r)=>{var n=r(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}},8028:(e,t,r)=>{var n=r(2218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},2344:(e,t,r)=>{var n=r(2218);e.exports=function(e){return n(this.__data__,e)>-1}},4769:(e,t,r)=>{var n=r(2218);e.exports=function(e,t){var r=this.__data__,s=n(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}},2411:(e,t,r)=>{var n=r(9612),s=r(235),i=r(326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(e,t,r)=>{var n=r(7937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).get(e)}},9493:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).has(e)}},4150:(e,t,r)=>{var n=r(7937);e.exports=function(e,t){var r=n(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},9191:(e,t,r)=>{var n=r(8761)(Object,"create");e.exports=n},4248:(e,t,r)=>{var n=r(241)(Object.keys,Object);e.exports=n},4146:(e,t,r)=>{e=r.nmd(e);var n=r(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},7772:(e,t,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},5243:(e,t,r)=>{var n=r(235);e.exports=function(){this.__data__=new n,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,r)=>{var n=r(235),s=r(326),i=r(6738);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(e,t),this.size=r.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,r)=>{var n=r(1049),s=r(1158);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},4335:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},3226:(e,t,r)=>{e=r.nmd(e);var n=r(7772),s=r(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},8149:(e,t,r)=>{var n=r(8746);e.exports=function(e,t){return n(e,t)}},1049:(e,t,r)=>{var n=r(3366),s=r(9259);e.exports=function(e){if(!s(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,r)=>{var n=r(3366),s=r(6152),i=r(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},7598:(e,t,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,c=o?s(o):n;e.exports=c},249:(e,t,r)=>{var n=r(1634),s=r(6411),i=r(7878);e.exports=function(e){return i(e)?n(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,r)=>{const n=r(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,r)=>{const n=r(5877),s=r(5505),i=r(537),o=r(4335),c=r(9259),a=r(2947),u=r(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(c,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new a(this)}}a.prototype.Namespace=l,e.exports=l},3853:(e,t,r)=>{const n=r(1570),s=r(1178);class i extends s{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new i(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,r)=>{const n=r(6420),s=r(4152),i=r(9542),o=r(3710),c=r(3312),a=r(1641),u=r(8858),l=r(3860),f=r(5202),p=r(2320),h=r(1178),m=r(3853),d=r(3026);function y(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(y));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=y,h.prototype.refract=y,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:f,RefElement:p,refract:y,ArraySlice:h,ObjectSlice:m,KeyValuePair:d}},5202:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,r)=>{const n=r(5140),s=r(3756);t.lS=n,t.KeyValuePair=r(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,r(2947),r(8910)},1641:(e,t,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{constructor(e,t,r){super(e||[],t,r),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n;void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=r;t<this.length;t+=1){const r=this.content[t];n="object"===this.primitive()?this.refract(e(n,r.value,r.key,r,this)):this.refract(e(n,r,t,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const r=t||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((t,r,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:n}),e(t,r,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,r)=>{const n=r(8149),s=r(3026),i=r(1178);class o{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let r=new i;const n=(e,t)=>(e.push(t),e),o=(e,r)=>{r.element===t&&e.push(r);const i=r.findRecursive(t);return i&&i.reduce(n,e),r.content instanceof s&&(r.content.key&&o(e,r.content.key),r.content.value&&o(e,r.content.value)),e};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element));for(const t in e){const n=e[t],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,r)=>{const n=r(3026),s=r(6420);e.exports=class extends s{constructor(e,t,r,s){super(new n,r,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},3860:(e,t,r)=>{const n=r(1570),s=r(9259),i=r(1641),o=r(8858),c=r(3853);e.exports=class extends i{constructor(e,t,r){super(e||[],t,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((r=>r.key.toValue()!==e||(t=r,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const r=e,n=this.getMember(r);return n?n.value=t:this.content.push(new o(r,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[];return this.forEach(((n,s,i)=>{const o=e.bind(t)(n,s,i);o&&r.push(o)})),r}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((r=>e.bind(t)(r.value,r.key,r)))}}},9542:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,r)=>{const n=r(2947);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const r={element:e.element};e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(r.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r);else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),r=new t;r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let e=r.attributes.get("samples");if(r.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new t(n);s.element=r.element,e.push(s)}))}));const s=e.shift();r.content=s?s.content:void 0,r.attributes.set("samples",e)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const e=r.attributes.get("meta");e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,r)=>{if(e){const n=r.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const r=this.serialiseContent(e.content);return void 0!==r&&(t.content=r),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const r=this.deserialiseContent(e.content);return void 0===r&&null!==t.content||(t.content=r),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},6591:e=>{!function(){"use strict";var t,r,n,s,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",h="deepConfiguration",m="deepProps",d="deepStatics",y="deepConf",v="initializers",b="methods",g="composers",j="compose";function O(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var x=E.bind(0,(function(e,t){if(t)for(var r=O(t),n=0;n<r.length;n+=1)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]));return e}));function S(e){return"function"==typeof e}function w(e){return e&&"object"==typeof e||S(e)}function A(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var k=E.bind(0,(function e(r,n){if(n===t)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!A(n))return n;for(var s,i,o=O(n),c=0;c<o.length;)s=o[c++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==t&&(r[s]=e(A(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function P(){return(r=Array.prototype.concat.apply([],arguments).filter((function(e,t,r){return S(e)&&r.indexOf(e)===t}))).length?r:t}function _(e,t){function n(r,n){w(t[r])&&(w(e[r])||(e[r]={}),(n||x)(e[r],t[r]))}function s(n){(r=P(e[n],t[n]))&&(e[n]=r)}return t&&w(t=t[j]||t)&&(n(b),n(o),n(c,k),n(a),n(u),n(l,k),n(f),n(p),n(h,k),s(v),s(g)),e}function N(){return function(e){return r=function e(r){var n,s,i=e[j]||{},u={__proto__:i[b]},l=i[v],f=Array.prototype.slice.apply(arguments),p=i[c];if(p&&k(u,p),(p=i[o])&&x(u,p),(p=i[a])&&Object.defineProperties(u,p),!l||!l.length)return u;for(r===t&&(r={}),i=0;i<l.length;)S(n=l[i++])&&(u=(s=n.call(u,r,{instance:u,stamp:e,args:f}))===t?u:s);return u},(n=e[l])&&k(r,n),(n=e[u])&&x(r,n),(n=e[f])&&Object.defineProperties(r,n),n=S(r[j])?r[j]:N,x(r[j]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(_,{}))}function M(e){return S(e)&&S(e[j])}var T={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[j]||n).call(r,s)}}T[b]=R(b,x),T[o]=T.props=R(o,x),T[v]=T.init=R(v,P),T[g]=R(g,P),T[c]=T[m]=R(c,k),T[u]=T.statics=R(u,x),T[l]=T[d]=R(l,k),T[p]=T.conf=R(p,x),T[h]=T[y]=R(h,k),T[a]=R(a,x),T[f]=R(f,x),n=T[j]=x((function(){for(var e,O,E=0,S=[],A=arguments,_=this;E<A.length;)w(e=A[E++])&&S.push(M(e)?e:((s={})[b]=(O=e)[b]||t,n=O.props,s[o]=w((r=O[o])||n)?x({},n,r):t,s[v]=P(O.init,O[v]),s[g]=P(O[g]),n=O[m],s[c]=w((r=O[c])||n)?k({},n,r):t,s[a]=O[a],n=O.statics,s[u]=w((r=O[u])||n)?x({},n,r):t,n=O[d],s[l]=w((r=O[l])||n)?k({},n,r):t,r=O[f],s[f]=w((n=O.name&&{name:{value:O.name}})||r)?x({},r,n):t,n=O.conf,s[p]=w((r=O[p])||n)?x({},n,r):t,n=O[y],s[h]=w((r=O[h])||n)?k({},n,r):t,s));if(e=N.apply(_||i,S),_&&S.unshift(_),Array.isArray(A=e[j][g]))for(E=0;E<A.length;)e=M(_=A[E++]({stamp:e,composables:S}))?_:e;return e}),T),T.create=function(){return this.apply(t,arguments)},(s={})[u]=T,i=N(s),n[j]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()},1427:(e,t,r)=>{e.exports=r(6762)}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";r.r(n),r.d(n,{AlternatingVisitor:()=>xs,FallbackVisitor:()=>nn,FixedFieldsVisitor:()=>bn,JSONReferenceElement:()=>Ir,JSONSchemaDraft6MediaTypes:()=>Bt,JSONSchemaElement:()=>Ls,LinkDescriptionElement:()=>Ds,MapVisitor:()=>Un,MediaElement:()=>Dr,ParentSchemaAwareVisitor:()=>Nn,PatternedFieldsVisitor:()=>qn,SpecificationVisitor:()=>vn,createRefractor:()=>pi,default:()=>Js,getNodeType:()=>Bs,isArrayElement:()=>ae,isBooleanElement:()=>oe,isElement:()=>re,isJSONReferenceElement:()=>Ms,isJSONReferenceLikeElement:()=>Mn,isJSONSchemaElement:()=>ai,isLinkDescriptionElement:()=>ui,isLinkElement:()=>le,isMediaElement:()=>Ts,isMemberElement:()=>ue,isNullElement:()=>ie,isNumberElement:()=>se,isObjectElement:()=>ce,isRefElement:()=>fe,isStringElement:()=>ne,keyMap:()=>zs,mediaTypes:()=>zt,refract:()=>hi,refractorPluginReplaceEmptyElement:()=>Gs,specificationObj:()=>ci});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>ve,includesClasses:()=>ge,includesSymbols:()=>be,isAnnotationElement:()=>pe,isArrayElement:()=>ae,isBooleanElement:()=>oe,isCommentElement:()=>he,isElement:()=>re,isLinkElement:()=>le,isMemberElement:()=>ue,isNullElement:()=>ie,isNumberElement:()=>se,isObjectElement:()=>ce,isParseResultElement:()=>me,isPrimitiveElement:()=>ye,isRefElement:()=>fe,isSourceMapElement:()=>de,isStringElement:()=>ne});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>Ms,isJSONSchemaElement:()=>Ns,isLinkDescriptionElement:()=>Rs,isMediaElement:()=>Ts});var s={};r.r(s),r.d(s,{isJSONReferenceElement:()=>Ms,isJSONSchemaElement:()=>ai,isLinkDescriptionElement:()=>ui,isMediaElement:()=>Ts});var i=r(7952);function o(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function c(e){return function t(r){return 0===arguments.length||o(r)?t:e.apply(this,arguments)}}function a(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return o(r)?t:c((function(t){return e(r,t)}));default:return o(r)&&o(n)?t:o(r)?c((function(t){return e(t,n)})):o(n)?c((function(t){return e(r,t)})):e(r,n)}}}const u=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function l(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!u(n)){for(var s=0;s<e.length;){if("function"==typeof n[e[s]])return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function f(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const p=function(){return this.xf["@@transducer/init"]()},h=function(e){return this.xf["@@transducer/result"](e)};var m=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=p,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=f(this.xf["@@transducer/step"](e,!1))),e},e}();function d(e){return function(t){return new m(e,t)}}const y=a(l(["all"],d,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function v(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,s){return t.apply(this,arguments)};case 5:return function(e,r,n,s,i){return t.apply(this,arguments)};case 6:return function(e,r,n,s,i,o){return t.apply(this,arguments)};case 7:return function(e,r,n,s,i,o,c){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,c,a,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function b(e,t,r){return function(){for(var n=[],s=0,i=e,c=0,a=!1;c<t.length||s<arguments.length;){var u;c<t.length&&(!o(t[c])||s>=arguments.length)?u=t[c]:(u=arguments[s],s+=1),n[c]=u,o(u)?a=!0:i-=1,c+=1}return!a&&i<=0?r.apply(this,n):v(Math.max(0,i),b(e,n,r))}}const g=a((function(e,t){return 1===e?c(t):v(e,b(e,[],t))}));const j=c((function(e){return g(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}));function O(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function E(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function x(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const S="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var w=Object.prototype.toString;const A=function(){return"[object Arguments]"===w.call(arguments)?function(e){return"[object Arguments]"===w.call(e)}:function(e){return x("callee",e)}}();var k=!{toString:null}.propertyIsEnumerable("toString"),P=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=function(){return arguments.propertyIsEnumerable("length")}(),N=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1},M="function"!=typeof Object.keys||_?c((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=_&&A(e);for(t in e)!x(t,e)||s&&"length"===t||(n[n.length]=t);if(k)for(r=P.length-1;r>=0;)x(t=P[r],e)&&!N(n,t)&&(n[n.length]=t),r-=1;return n})):c((function(e){return Object(e)!==e?[]:Object.keys(e)}));const T=M;const R=c((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function F(e,t,r,n){var s=O(e);function i(e,t){return C(e,t,r.slice(),n.slice())}return!E((function(e,t){return!E(i,t,e)}),O(t),s)}function C(e,t,r,n){if(S(e,t))return!0;var s,i,o=R(e);if(o!==R(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!S(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!S(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=r.length-1;c>=0;){if(r[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&F(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&F(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=T(e);if(a.length!==T(t).length)return!1;var u=r.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var f=a[c];if(!x(f,t)||!C(t[f],e[f],u,l))return!1;c-=1}return!0}const V=a((function(e,t){return C(e,t,[],[])}));function I(e,t){return function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s===n)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(V(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}const L=j(a(I));class D extends i.RP{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const J=D;class B extends i.RP{constructor(e,t,r){super(e,t,r),this.element="comment"}}const z=B;const $=c((function(e){return function(){return e}}));const q=$(void 0);const U=V(q());class G extends i.ON{constructor(e,t,r){super(e,t,r),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(U(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const K=G;class H extends i.ON{constructor(e,t,r){super(e,t,r),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new i.ON([e.start.row,e.start.column,e.start.char]),r=new i.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const W=H,Y=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Q=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,X=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Z=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof i.ON)&&t.classes.includes(e),ee=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,te=e=>e({hasMethod:Y,hasBasicElementProps:Q,primitiveEq:X,isElementType:ee,hasClass:Z}),re=te((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.W_||e(r)&&t(void 0,r))),ne=te((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.RP||e(r)&&t("string",r))),se=te((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.VL||e(r)&&t("number",r))),ie=te((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.zr||e(r)&&t("null",r))),oe=te((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof i.hh||e(r)&&t("boolean",r))),ce=te((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof i.Sb||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),ae=te((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof i.ON&&!(n instanceof i.Sb)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),ue=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof i.c6||e(n)&&t("member",n)&&r(void 0,n))),le=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof i.EA||e(n)&&t("link",n)&&r(void 0,n))),fe=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof i.tK||e(n)&&t("ref",n)&&r(void 0,n))),pe=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof J||e(n)&&t("annotation",n)&&r("array",n))),he=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof z||e(n)&&t("comment",n)&&r("string",n))),me=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof K||e(n)&&t("parseResult",n)&&r("array",n))),de=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof W||e(n)&&t("sourceMap",n)&&r("array",n))),ye=e=>ee("object",e)||ee("array",e)||ee("boolean",e)||ee("number",e)||ee("string",e)||ee("null",e)||ee("member",e),ve=e=>de(e.meta.get("sourceMap")),be=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!ae(r)&&y(L(r.toValue()),e)},ge=(e,t)=>0===e.length||y(L(t.classes.toValue()),e);function je(e){return"[object String]"===Object.prototype.toString.call(e)}const Oe=a((function(e,t){var r=e<0?t.length+e:e;return je(t)?t.charAt(r):t[r]}));const Ee=Oe(-1);const xe=c((function(e){return null==e}));var Se=a((function(e,t){return!xe(t)&&e in t}));const we=Se;function Ae(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ke(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return o(r)?t:a((function(t,n){return e(r,t,n)}));case 2:return o(r)&&o(n)?t:o(r)?a((function(t,r){return e(t,n,r)})):o(n)?a((function(t,n){return e(r,t,n)})):c((function(t){return e(r,n,t)}));default:return o(r)&&o(n)&&o(s)?t:o(r)&&o(n)?a((function(t,r){return e(t,r,s)})):o(r)&&o(s)?a((function(t,r){return e(t,n,r)})):o(n)&&o(s)?a((function(t,n){return e(r,t,n)})):o(r)?c((function(t){return e(t,n,s)})):o(n)?c((function(t){return e(r,t,s)})):o(s)?c((function(t){return e(r,n,t)})):e(r,n,s)}}}const Pe=c((function(e){return!!u(e)||!!e&&("object"==typeof e&&(!je(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var _e="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ne(e,t,r){return function(n,s,i){if(Pe(i))return e(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(n,s,i,"fantasy-land/reduce");if(null!=i[_e])return r(n,s,i[_e]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return t(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Me(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const Te=a((function(e,t){return v(e.length,(function(){return e.apply(t,arguments)}))}));function Re(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function Fe(e,t,r,n){return e["@@transducer/result"](r[n](Te(e["@@transducer/step"],e),t))}const Ce=Ne(Me,Fe,Re);var Ve=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const Ie=ke((function(e,t,r){return Ce("function"==typeof e?new Ve(e):e,t,r)}));function Le(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return u(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const De=ke(Le("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const Je=c(Le("tail",De(1,1/0)));function Be(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return v(arguments[0].length,Ie(Ae,arguments[0],Je(arguments)))}var ze=function(e,t){switch(arguments.length){case 0:return ze;case 1:return function t(r){return 0===arguments.length?t:S(e,r)};default:return S(e,t)}};const $e=ze;function qe(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}function Ue(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Ge=function(e){return(e<10?"0":"")+e};const Ke="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Ge(e.getUTCMonth()+1)+"-"+Ge(e.getUTCDate())+"T"+Ge(e.getUTCHours())+":"+Ge(e.getUTCMinutes())+":"+Ge(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function He(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}function We(e){return"[object Object]"===Object.prototype.toString.call(e)}var Ye=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=p,e.prototype["@@transducer/result"]=h,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Qe(e){return function(t){return new Ye(e,t)}}const Xe=a(l(["fantasy-land/filter","filter"],Qe,(function(e,t){return We(t)?He((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},T(t)):function(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}(e,t)})));const Ze=a((function(e,t){return Xe((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function et(e,t){var r=function(r){var n=t.concat([e]);return I(r,n)?"<Circular>":et(r,n)},n=function(e,t){return qe((function(t){return Ue(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+qe(r,e).join(", ")+"))";case"[object Array]":return"["+qe(r,e).concat(n(e,Ze((function(e){return/^\d+$/.test(e)}),T(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):Ue(Ke(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":Ue(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+n(e,T(e)).join(", ")+"}"}}const tt=c((function(e){return et(e,[])})),rt=Number.isInteger||function(e){return e<<0===e};const nt=a((function(e,t){return e.map((function(e){for(var r,n=t,s=0;s<e.length;){if(null==n)return;r=e[s],n=rt(r)?Oe(r,n):n[r],s+=1}return n}))}));const st=a((function(e,t){return nt([e],t)[0]}));const it=ke((function(e,t,r){return e(st(t,r))}));function ot(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const ct=a((function(e,t){return e&&t}));function at(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function ut(e,t,r,n){return r[n](e,t)}const lt=Ne(He,ut,at);var ft=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=p,e.prototype["@@transducer/result"]=h,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const pt=a(l(["fantasy-land/map","map"],(function(e){return function(t){return new ft(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return g(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return He((function(r,n){return r[n]=e(t[n]),r}),{},T(t));default:return qe(e,t)}})));const ht=a((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(r){return e(r)(t(r))}:lt((function(e,r){return function(e,t){var r;t=t||[];var n=(e=e||[]).length,s=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=t[r],r+=1;return i}(e,pt(r,t))}),[],e)}));const mt=a((function(e,t){var r=g(e,t);return g(e,(function(){return He(ht,pt(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const dt=c((function(e){return mt(e.length,e)}));const yt=a((function(e,t){return ot(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:dt(ct)(e,t)}));const vt=V(null);const bt=dt(c((function(e){return!e})));const gt=bt(vt);function jt(e){return jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jt(e)}const Ot=function(e){return"object"===jt(e)};const Et=g(1,yt(gt,Ot));const xt=a((function(e,t){if(e===t)return t;function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t);if(void 0!==n)return n;var s=r(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=tt(e),o=r(i,tt(t));return void 0!==o&&o===i?e:t}));const St=a((function(e,t){if(null!=t)return rt(e)?Oe(e,t):t[e]}));const wt=a((function(e,t){return pt(St(e),t)}));const At=c((function(e){return g(Ie(xt,0,wt("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const kt=g(1,Be(R,$e("GeneratorFunction")));const Pt=g(1,Be(R,$e("AsyncFunction")));const _t=At([Be(R,$e("Function")),kt,Pt]);var Nt=Be(R,$e("Object")),Mt=Be(tt,V(tt(Object))),Tt=it(yt(_t,Mt),["constructor"]);const Rt=g(1,(function(e){if(!Et(e)||!Nt(e))return!1;var t=Object.getPrototypeOf(e);return!!vt(t)||Tt(t)}));var Ft=r(1427);const Ct=class extends Ft{constructor(e,t,r){if(super(e,t,r),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,Rt(r)&&we("cause",r)&&!we("cause",this)){const{cause:e}=r;this.cause=e,e instanceof Error&&we("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class Vt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Ct,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,Rt(t)&&we("cause",t)&&!we("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&we("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const It=Vt;const Lt=class extends It{};const Dt=class extends Lt{};const Jt=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Dt("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Dt("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Dt("latest method in MediaTypes class is not yet implemented.")}};class Bt extends Jt{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-06",t="generic"){const r="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return Ee(this.filterByFormat(e))}}const zt=new Bt("application/schema;version=draft-06","application/schema+json;version=draft-06","application/schema+yaml;version=draft-06");const $t=a((function(e,t){return null==t||t!=t?e:t}));const qt=ke((function(e,t,r){return $t(e,St(t,r))}));const Ut=De(0,-1);const Gt=a((function(e,t){return e.apply(this,t)}));const Kt=bt(_t);var Ht=c((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():u(e)?[]:je(e)?"":We(e)?{}:A(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Wt=Ht;const Yt=c((function(e){return null!=e&&V(e,Wt(e))}));const Qt=g(1,_t(Array.isArray)?Array.isArray:Be(R,$e("Array")));const Xt=yt(Qt,Yt);const Zt=g(3,(function(e,t,r){var n=st(e,r),s=st(Ut(e),r);if(!Kt(n)&&!Xt(e)){var i=Te(n,s);return Gt(i,t)}}));class er extends i.lS{constructor(){super(),this.register("annotation",J),this.register("comment",z),this.register("parseResult",K),this.register("sourceMap",W)}}const tr=new er,rr=e=>{const t=new er;return Rt(e)&&t.use(e),t},nr=tr,sr=()=>({predicates:{...e},namespace:nr});var ir=r(6591),or=r.n(ir);const cr=function(){return!1};const ar=g(1,Be(R,$e("String"))),ur=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},lr={},fr=e=>null==e?void 0:e.type,pr=e=>"string"==typeof fr(e),hr=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),mr=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=lr,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=ur,nodeTypeGetter:a=fr,nodePredicate:u=pr,nodeCloneFn:l=hr,detectCycles:f=!0}={})=>{const p=r||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const j=[],O=[];do{v+=1;const e=v===y.length;let r;const x=e&&0!==b.length;if(e){if(r=0===O.length?void 0:j.pop(),g=m,m=O.pop(),x)if(d){g=g.slice();let e=0;for(const[t,r]of b){const n=t-e;r===i?(g.splice(n,1),e+=1):g[n]=r}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=d?v:y[v],g=m[r],g===i||void 0===g)continue;j.push(r)}if(O.includes(g))continue;let S;if(!Array.isArray(g)){if(!u(g))throw new It(`Invalid AST Node: ${JSON.stringify(g)}`);if(f&&O.includes(g)){j.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;S=i.call(t,g,r,m,j,O)}if(S===s)break;if(S===o){if(!e){j.pop();continue}}else if(void 0!==S&&(b.push([r,S]),!e)){if(!u(S)){j.pop();continue}g=S}}var E;if(void 0===S&&x&&b.push([r,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(E=p[a(g)])&&void 0!==E?E:[],v=-1,b=[],m!==i&&void 0!==m&&O.push(m),m=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:e};mr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=lr,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=ur,nodeTypeGetter:a=fr,nodePredicate:u=pr,nodeCloneFn:l=hr,detectCycles:f=!0}={})=>{const p=r||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const j=[],O=[];do{v+=1;const e=v===y.length;let r;const x=e&&0!==b.length;if(e){if(r=0===O.length?void 0:j.pop(),g=m,m=O.pop(),x)if(d){g=g.slice();let e=0;for(const[t,r]of b){const n=t-e;r===i?(g.splice(n,1),e+=1):g[n]=r}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=d?v:y[v],g=m[r],g===i||void 0===g)continue;j.push(r)}let S;if(!Array.isArray(g)){if(!u(g))throw new It(`Invalid AST Node: ${JSON.stringify(g)}`);if(f&&O.includes(g)){j.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;S=await i.call(t,g,r,m,j,O)}if(S===s)break;if(S===o){if(!e){j.pop();continue}}else if(void 0!==S&&(b.push([r,S]),!e)){if(!u(S)){j.pop();continue}g=S}}var E;if(void 0===S&&x&&b.push([r,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(E=p[a(g)])&&void 0!==E?E:[],v=-1,b=[],m!==i&&void 0!==m&&O.push(m),m=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:e};var dr=a((function(e,t){for(var r={},n={},s=0,i=e.length;s<i;)n[e[s]]=1,s+=1;for(var o in t)n.hasOwnProperty(o)||(r[o]=t[o]);return r}));const yr=dr;const vr=class extends It{constructor(e,t){super(e,t),void 0!==t&&Object.assign(this,yr(["cause"],t))}};const br=class extends vr{};const gr=class extends br{};const jr=class extends br{},Or=e=>"function"==typeof(null==e?void 0:e.clone)?e.clone():e,Er=e=>{if(e instanceof i.rm){const t=[...e].map(Or);return new i.rm(t)}if(e instanceof i.O4){const t=[...e].map(Or);return new i.O4(t)}if("function"==typeof(null==e?void 0:e.clone))return e.clone();throw new gr("Value provided to cloneDeep function couldn't be cloned",{value:e})};Er.safe=e=>{try{return Er(e)}catch{return e}};const xr=e=>{const{key:t,value:r}=e;return new i.KeyValuePair(t,r)},Sr=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=Er(e.meta)),e.attributes.length>0&&(t._attributes=Er(e.attributes)),re(e.content)){const r=e.content;t.content=Sr(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof i.KeyValuePair?t.content=xr(e.content):t.content=e.content;return t},wr=e=>{if(e instanceof i.KeyValuePair)return xr(e);if(e instanceof i.rm)return(e=>{const t=[...e];return new i.rm(t)})(e);if(e instanceof i.O4)return(e=>{const t=[...e];return new i.O4(t)})(e);if(re(e))return Sr(e);throw new jr("Value provided to cloneShallow function couldn't be cloned",{value:e})};wr.safe=e=>{try{return wr(e)}catch{return e}};const Ar=e=>ce(e)?"ObjectElement":ae(e)?"ArrayElement":ue(e)?"MemberElement":ne(e)?"StringElement":oe(e)?"BooleanElement":se(e)?"NumberElement":ie(e)?"NullElement":le(e)?"LinkElement":fe(e)?"RefElement":void 0,kr=e=>re(e)?wr(e):hr(e),Pr=Be(Ar,ar),_r={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},Nr=(ir({props:{result:[],predicate:cr,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=r},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:r=_r,...n}={})=>mr(e,t,{keyMap:r,nodeTypeGetter:Ar,nodePredicate:Pr,nodeCloneFn:kr,...n}));Nr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=_r,...n}={})=>mr[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:Ar,nodePredicate:Pr,nodeCloneFn:kr,...n});const Mr=(e,t,r={})=>{if(0===t.length)return e;const n=qt(sr,"toolboxCreator",r),s=qt({},"visitorOptions",r),i=qt(Ar,"nodeTypeGetter",s),o=n(),c=t.map((e=>e(o))),a=((e,{visitFnGetter:t=ur,nodeTypeGetter:r=fr}={})=>{const n=new Array(e.length).fill(null);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null===n[o]){const c=t(e[o],r(s),!1);if("function"==typeof c){const t=c.call(e[o],s,...i);if(!1===t)n[o]=s;else if(t===lr)n[o]=lr;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null===n[o]){const c=t(e[o],r(s),!0);if("function"==typeof c){const t=c.call(e[o],s,...i);if(t===lr)n[o]=lr;else if(void 0!==t&&!1!==t)return t}}else n[o]===s&&(n[o]=null)}}})(c.map(qt({},"visitor")),{nodeTypeGetter:i});c.forEach(Zt(["pre"],[]));const u=Nr(e,a,s);return c.forEach(Zt(["post"],[])),u},Tr=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return Mr(n,r,{toolboxCreator:sr,visitorOptions:{nodeTypeGetter:Ar}})},Rr=e=>(t,r={})=>Tr(t,{...r,Type:e});i.Sb.refract=Rr(i.Sb),i.ON.refract=Rr(i.ON),i.RP.refract=Rr(i.RP),i.hh.refract=Rr(i.hh),i.zr.refract=Rr(i.zr),i.VL.refract=Rr(i.VL),i.EA.refract=Rr(i.EA),i.tK.refract=Rr(i.tK),J.refract=Rr(J),z.refract=Rr(z),K.refract=Rr(K),W.refract=Rr(W);class Fr extends i.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Cr=Fr;class Vr extends i.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Ir=Vr;class Lr extends i.Sb{constructor(e,t,r){super(e,t,r),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Dr=Lr;class Jr extends i.Sb{constructor(e,t,r){super(e,t,r),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Br=Jr;const zr=a((function(e,t){return He((function(r,n){return r[n]=e(t[n],n,t),r}),{},T(t))}));const $r=a((function(e,t){if(0===e.length||xe(t))return!1;for(var r=t,n=0;n<e.length;){if(xe(r)||!x(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));var qr=a((function(e,t){return $r([e],t)}));const Ur=qr;const Gr=ke((function(e,t,r){return e(St(t,r))}));const Kr=c((function(e){return g(e.length,e)}));const Hr=a((function(e,t){return g(e+1,(function(){var r=arguments[e];if(null!=r&&ot(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(tt(r)+' does not have a method named "'+t+'"')}))}));const Wr=Hr(1,"split");var Yr=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=p,e.prototype["@@transducer/result"]=h,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Qr(e){return function(t){return new Yr(e,t)}}const Xr=a(l(["dropWhile"],Qr,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return De(r,1/0,t)})));const Zr=Hr(1,"join");const en=Kr((function(e,t){return Be(Wr(""),Xr(L(e)),Zr(""))(t)})),tn=(e,t)=>{const r=$t(e,t);return zr((e=>{if(Rt(e)&&Ur("$ref",e)&&Gr(ar,"$ref",e)){const t=st(["$ref"],e),n=en("#/",t);return st(n.split("/"),r)}return Rt(e)?tn(e,r):e}),e)},rn=ir({props:{element:null},methods:{copyMetaAndAttributes(e,t){ve(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),nn=ir(rn,{methods:{enter(e){return this.element=Er(e),lr}}});const sn=$(q());const on=function(){return!0},cn=e=>"string"==typeof(null==e?void 0:e.type)?e.type:Ar(e),an={EphemeralObject:["content"],EphemeralArray:["content"],..._r},un=(e,t,{keyMap:r=an,...n}={})=>Nr(e,t,{keyMap:r,nodeTypeGetter:cn,nodePredicate:on,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});un[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=an,...r}={})=>Nr[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:cn,nodePredicate:on,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const ln=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const fn=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},pn=ir.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const r=new fn(t.content);return e.set(t,r),r}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const r=new ln(t.content);return e.set(t,r),r}},this.EphemeralArray={leave:e=>e.toArray()}})),hn=e=>re(e)?ne(e)||se(e)||oe(e)||ie(e)?e.toValue():un(e,pn()):e;const mn=a((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r})),dn=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},yn={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],..._r},vn=ir(rn,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return mn(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=st(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return it(_t,["visitors",...e],this.specObj)?st(["visitors",...e],this.specObj):st(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return this.retrieveVisitor(e)({...r,...t})},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return U(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?Er(t):(Nr(t,n,{keyMap:yn,nodeTypeGetter:dn,...r}),n.element)}}}),bn=ir(vn,{props:{specPath:sn,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(ne(n)&&r.includes(hn(n))&&!this.ignoredFields.includes(hn(n))){const r=this.toRefractedElement([...t,"fixedFields",hn(n)],e),o=new i.c6(Er(n),r);this.copyMetaAndAttributes(s,o),o.classes.push("fixed-field"),this.element.content.push(o)}else this.ignoredFields.includes(hn(n))||this.element.content.push(Er(s))})),this.copyMetaAndAttributes(e,this.element),lr}}}),gn=ir(bn,nn,{props:{specPath:$(["document","objects","JSONSchema"])},init(){this.element=new Cr}}),jn=nn,On=nn,En=nn,xn=nn,Sn=nn,wn=nn,An=nn,kn=nn,Pn=nn,_n=nn,Nn=ir({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Mn=e=>ce(e)&&e.hasKey("$ref"),Tn=ir(vn,Nn,nn,{methods:{ObjectElement(e){const t=Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),lr},ArrayElement(e){return this.element=new i.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),lr}}}),Rn=nn,Fn=nn,Cn=nn,Vn=nn,In=nn,Ln=ir(nn,{methods:{ArrayElement(e){return this.element=Er(e),this.element.classes.push("json-schema-required"),lr}}});const Dn=c((function(e){return g(Ie(xt,0,wt("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Jn=a((function(e,t){return e||t}));const Bn=bt(g(1,yt(gt,a((function(e,t){return ot(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:dt(Jn)(e,t)}))(Ot,_t))));const zn=bt(Yt);const $n=Dn([ar,Bn,zn]),qn=ir(vn,{props:{fieldPatternPredicate:cr,specPath:sn,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes(hn(t))&&this.fieldPatternPredicate(hn(t))){const n=this.specPath(e),s=this.toRefractedElement(n,e),o=new i.c6(Er(t),s);this.copyMetaAndAttributes(r,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes(hn(t))||this.element.content.push(Er(r))})),this.copyMetaAndAttributes(e,this.element),lr}}}),Un=ir(qn,{props:{fieldPatternPredicate:$n}}),Gn=ir(Un,Nn,nn,{props:{specPath:e=>Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new i.Sb,this.element.classes.push("json-schema-properties")}}),Kn=ir(Un,Nn,nn,{props:{specPath:e=>Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new i.Sb,this.element.classes.push("json-schema-patternProperties")}}),Hn=ir(Un,Nn,nn,{props:{specPath:e=>Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new i.Sb,this.element.classes.push("json-schema-dependencies")}}),Wn=ir(nn,{methods:{ArrayElement(e){return this.element=Er(e),this.element.classes.push("json-schema-enum"),lr}}}),Yn=ir(nn,{methods:{StringElement(e){return this.element=Er(e),this.element.classes.push("json-schema-type"),lr},ArrayElement(e){return this.element=Er(e),this.element.classes.push("json-schema-type"),lr}}}),Qn=ir(vn,Nn,nn,{init(){this.element=new i.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),lr}}}),Xn=ir(vn,Nn,nn,{init(){this.element=new i.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),lr}}}),Zn=ir(vn,Nn,nn,{init(){this.element=new i.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),lr}}}),es=ir(Un,Nn,nn,{props:{specPath:e=>Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new i.Sb,this.element.classes.push("json-schema-definitions")}}),ts=nn,rs=nn,ns=nn,ss=nn,is=nn,os=ir(vn,Nn,nn,{init(){this.element=new i.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),lr}}}),cs=nn,as=ir(bn,nn,{props:{specPath:$(["document","objects","JSONReference"])},init(){this.element=new Ir},methods:{ObjectElement(e){const t=bn.compose.methods.ObjectElement.call(this,e);return ne(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),us=ir(nn,{methods:{StringElement(e){return this.element=Er(e),this.element.classes.push("reference-value"),lr}}});const ls=ke((function(e,t,r){return g(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const fs=c((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));var ps=a((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const hs=ps;const ms=Oe(0);const ds=c(f);const ys=bt(xe);const vs=yt(Qt,zn);function bs(e){return function(e){if(Array.isArray(e))return gs(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gs(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gs(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var js=Be(hs(fs((function(e,t){return e.length>t.length}))),ms,St("length")),Os=Kr((function(e,t,r){var n=r.apply(void 0,bs(e));return ys(n)?ds(n):t}));const Es=ls(vs,(function(e){var t=js(e);return g(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ie(Os(r),void 0,e)}))}),q),xs=ir(vn,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>ls(e,$(t),q))),r=Es(t)(e);return this.element=this.toRefractedElement(r,e),lr}}}),Ss=ir(xs,{props:{alternator:[{predicate:Mn,specPath:["document","objects","JSONReference"]},{predicate:on,specPath:["document","objects","JSONSchema"]}]}}),ws=ir(bn,nn,{props:{specPath:$(["document","objects","Media"])},init(){this.element=new Dr}}),As=nn,ks=nn,Ps=ir(bn,nn,{props:{specPath:$(["document","objects","LinkDescription"])},init(){this.element=new Br}}),_s={visitors:{value:nn,JSONSchemaOrJSONReferenceVisitor:Ss,document:{objects:{JSONSchema:{$visitor:gn,fixedFields:{id:jn,$schema:On,multipleOf:En,maximum:xn,exclusiveMaximum:Sn,minimum:wn,exclusiveMinimum:An,maxLength:kn,minLength:Pn,pattern:_n,additionalItems:Ss,items:Tn,maxItems:Rn,minItems:Fn,uniqueItems:Cn,maxProperties:Vn,minProperties:In,required:Ln,properties:Gn,additionalProperties:Ss,patternProperties:Kn,dependencies:Hn,enum:Wn,type:Yn,allOf:Qn,anyOf:Xn,oneOf:Zn,not:Ss,definitions:es,title:ts,description:rs,default:ns,format:ss,base:is,links:os,media:{$ref:"#/visitors/document/objects/Media"},readOnly:cs}},JSONReference:{$visitor:as,fixedFields:{$ref:us}},Media:{$visitor:ws,fixedFields:{binaryEncoding:As,type:ks}},LinkDescription:{$visitor:Ps,fixedFields:{href:nn,rel:nn,title:nn,targetSchema:Ss,mediaType:nn,method:nn,encType:nn,schema:Ss}}}}}},Ns=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Cr||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),Ms=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ir||e(n)&&t("JSONReference",n)&&r("object",n))),Ts=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Dr||e(n)&&t("media",n)&&r("object",n))),Rs=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Br||e(n)&&t("linkDescription",n)&&r("object",n))),Fs={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Cr),t.register("jSONReference",Ir),t.register("media",Dr),t.register("linkDescription",Br),t}},Cs=()=>{const e=rr(Fs);return{predicates:{...t,isStringElement:ne},namespace:e}},Vs=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=_s}={})=>{const s=(0,i.Qc)(e),o=tn(n),c=Zt(t,[],o);return Nr(s,c,{state:{specObj:o}}),Mr(c.element,r,{toolboxCreator:Cs,visitorOptions:{keyMap:yn,nodeTypeGetter:dn}})},Is=e=>(t,r={})=>Vs(t,{specPath:e,...r});Cr.refract=Is(["visitors","document","objects","JSONSchema","$visitor"]),Ir.refract=Is(["visitors","document","objects","JSONReference","$visitor"]),Dr.refract=Is(["visitors","document","objects","Media","$visitor"]),Br.refract=Is(["visitors","document","objects","LinkDescription","$visitor"]);const Ls=class extends Cr{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft6"}get idProp(){throw new Lt("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Lt("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const Ds=class extends Br{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new Lt("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Lt("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new Lt("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Lt("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Lt("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Lt("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},Js={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Ls),t.register("jSONReference",Ir),t.register("media",Dr),t.register("linkDescription",Ds),t}},Bs=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},zs={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],..._r},$s=e=>ne(e)&&ge(["yaml-e-node","yaml-e-scalar"],e),qs={JSONSchemaDraft6Element:{additionalItems:(...e)=>new Ls(...e),items:(...e)=>new Ls(...e),contains:(...e)=>new Ls(...e),required(...e){const t=new i.ON(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new i.Sb(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new Ls(...e),patternProperties(...e){const t=new i.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},dependencies(...e){const t=new i.Sb(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new Ls(...e),enum(...e){const t=new i.ON(...e);return t.classes.push("json-schema-enum"),t},allOf(...e){const t=new i.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new i.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new i.ON(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new Ls(...e),definitions(...e){const t=new i.Sb(...e);return t.classes.push("json-schema-definitions"),t},examples(...e){const t=new i.ON(...e);return t.classes.push("json-schema-examples"),t},links(...e){const t=new i.ON(...e);return t.classes.push("json-schema-links"),t},media:(...e)=>new Dr(...e)},LinkDescriptionElement:{hrefSchema:(...e)=>new Ls(...e),targetSchema:(...e)=>new Ls(...e),submissionSchema:(...e)=>new Ls(...e)},"json-schema-properties":{"[key: *]":function(...e){return new Ls(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new Ls(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new Ls(...e)}},"json-schema-allOf":{"<*>":function(...e){return new Ls(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new Ls(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new Ls(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new Ls(...e)}},"json-schema-links":{"<*>":function(...e){return new Ds(...e)}}},Us=(e,t)=>{const r=Bs(e),n=qs[r]||qs[hn(e.classes.first)];return void 0===n?void 0:Object.prototype.hasOwnProperty.call(n,"[key: *]")?n["[key: *]"]:n[t]},Gs=()=>()=>({visitor:{MemberElement(e,...t){if(!$s(e.value))return;const[,,,r]=t,n=r.at(-1),s=Us(n,hn(e.key));if(void 0===s)return;const o=e.value;return new i.c6(e.key,s.call({context:n},void 0,Er(o.meta),Er(o.attributes)),Er(e.meta),Er(e.attributes))},StringElement(e,...t){if(!$s(e))return;const[,,,r]=t,n=r.at(-1);if(!ae(n))return;const s=Us(n,"<*>");return void 0!==s?s.call({context:e},void 0,Er(e.meta),Er(e.attributes)):void 0}}});var Ks=ke((function e(t,r,n){if(0===t.length)return r;var s=t[0];if(t.length>1){var i=!xe(n)&&x(s,n)&&"object"==typeof n[s]?n[s]:rt(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,i)}return function(e,t,r){if(rt(e)&&u(r)){var n=[].concat(r);return n[e]=t,n}var s={};for(var i in r)s[i]=r[i];return s[e]=t,s}(s,r,n)}));const Hs=Ks;const Ws=ke((function(e,t,r){var n=Array.prototype.slice.call(r,0);return n.splice(e,t),n}));var Ys=ke((function(e,t,r){return Hs([e],t,r)}));const Qs=Ys;var Xs=a((function e(t,r){if(null==r)return r;switch(t.length){case 0:return r;case 1:return function(e,t){if(null==t)return t;if(rt(e)&&u(t))return Ws(e,1,t);var r={};for(var n in t)r[n]=t[n];return delete r[e],r}(t[0],r);default:var n=t[0],s=Array.prototype.slice.call(t,1);return null==r[n]?function(e,t){if(rt(e)&&u(t))return[].concat(t);var r={};for(var n in t)r[n]=t[n];return r}(n,r):Qs(n,e(s,r[n]),r)}}));const Zs=Xs,ei=or()(bn,nn,{props:{specPath:$(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Ls,bn.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=Er(e),this.element.classes.push("boolean-json-schema"),lr}}}),ti=nn,ri=or()(vn,Nn,nn,{methods:{ObjectElement(e){const t=Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),lr},ArrayElement(e){return this.element=new i.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Mn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),lr},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),lr}}}),ni=nn,si=or()(nn,{methods:{ArrayElement(e){return this.element=Er(e),this.element.classes.push("json-schema-examples"),lr}}}),ii=or()(bn,nn,{props:{specPath:$(["document","objects","LinkDescription"])},init(){this.element=new Ds}}),oi=nn,ci=Be(Hs(["visitors","document","objects","JSONSchema","$visitor"],ei),Zs(["visitors","document","objects","JSONSchema","fixedFields","id"]),Hs(["visitors","document","objects","JSONSchema","fixedFields","$id"],ti),Hs(["visitors","document","objects","JSONSchema","fixedFields","contains"],_s.visitors.JSONSchemaOrJSONReferenceVisitor),Hs(["visitors","document","objects","JSONSchema","fixedFields","items"],ri),Hs(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],_s.visitors.JSONSchemaOrJSONReferenceVisitor),Hs(["visitors","document","objects","JSONSchema","fixedFields","const"],ni),Hs(["visitors","document","objects","JSONSchema","fixedFields","examples"],si),Hs(["visitors","document","objects","LinkDescription","$visitor"],ii),Hs(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],_s.visitors.JSONSchemaOrJSONReferenceVisitor),Zs(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Hs(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],_s.visitors.JSONSchemaOrJSONReferenceVisitor),Zs(["visitors","document","objects","LinkDescription","fixedFields","method"]),Zs(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Hs(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],oi))(_s),ai=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ls||e(n)&&t("JSONSchemaDraft6",n)&&r("object",n))),ui=te((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ds||e(n)&&t("linkDescription",n)&&r("object",n))),li=()=>{const e=rr(Js);return{predicates:{...s,isStringElement:ne},namespace:e}},fi=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=ci}={})=>{const s=(0,i.Qc)(e),o=tn(n),c=Zt(t,[],o);return Nr(s,c,{state:{specObj:o}}),Mr(c.element,r,{toolboxCreator:li,visitorOptions:{keyMap:zs,nodeTypeGetter:Bs}})},pi=e=>(t,r={})=>fi(t,{specPath:e,...r}),hi=fi})(),n})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-ns-json-schema-draft-6",
3
- "version": "0.77.0",
3
+ "version": "0.79.0",
4
4
  "description": "JSON Schema Draft 6 namespace for ApiDOM.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -42,10 +42,10 @@
42
42
  "license": "Apache-2.0",
43
43
  "dependencies": {
44
44
  "@babel/runtime-corejs3": "^7.20.7",
45
- "@swagger-api/apidom-core": "^0.77.0",
46
- "@swagger-api/apidom-error": "^0.77.0",
47
- "@swagger-api/apidom-ns-json-schema-draft-4": "^0.77.0",
48
- "@types/ramda": "~0.29.3",
45
+ "@swagger-api/apidom-core": "^0.79.0",
46
+ "@swagger-api/apidom-error": "^0.79.0",
47
+ "@swagger-api/apidom-ns-json-schema-draft-4": "^0.79.0",
48
+ "@types/ramda": "~0.29.6",
49
49
  "ramda": "~0.29.0",
50
50
  "ramda-adjunct": "^4.1.1",
51
51
  "stampit": "^4.3.2"
@@ -60,5 +60,5 @@
60
60
  "README.md",
61
61
  "CHANGELOG.md"
62
62
  ],
63
- "gitHead": "cd8a9d7d2ea8bb8c335c23cd4632830a79c426c9"
63
+ "gitHead": "8f93ee46d79e57833709f548fa6634f7e62d0aec"
64
64
  }
package/types/dist.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="@swagger-api/apidom-core/types/minim" />
2
+ import * as _swagger_api_apidom_core from '@swagger-api/apidom-core';
2
3
  import { MediaTypes, NamespacePluginOptions, MemberElement, StringElement, Element, Meta, Attributes, NumberElement, BooleanElement, ArrayElement } from '@swagger-api/apidom-core';
3
4
  export { isArrayElement, isBooleanElement, isElement, isLinkElement, isMemberElement, isNullElement, isNumberElement, isObjectElement, isRefElement, isStringElement } from '@swagger-api/apidom-core';
4
5
  import * as minim from 'minim';
@@ -192,30 +193,6 @@ declare const _default: {
192
193
  };
193
194
  };
194
195
 
195
- declare const isJSONSchemaElement: (element: any) => boolean;
196
- declare const isLinkDescriptionElement: (element: any) => boolean;
197
-
198
- declare const getNodeType: <T extends Element>(element: T) => string | undefined;
199
- declare const keyMap: {
200
- ObjectElement: string[];
201
- ArrayElement: string[];
202
- MemberElement: string[];
203
- StringElement: never[];
204
- BooleanElement: never[];
205
- NumberElement: never[];
206
- NullElement: never[];
207
- RefElement: never[];
208
- LinkElement: never[];
209
- Annotation: never[];
210
- Comment: never[];
211
- ParseResultElement: string[];
212
- SourceMap: string[];
213
- JSONSchemaDraft6Element: string[];
214
- JSONReferenceElement: string[];
215
- MediaElement: string[];
216
- LinkDescriptionElement: string[];
217
- };
218
-
219
196
  declare class JSONSchema extends JSONSchemaElement {
220
197
  constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
221
198
  /**
@@ -287,4 +264,28 @@ declare class LinkDescription extends LinkDescriptionElement {
287
264
  set submissionEncType(submissionEncType: StringElement | undefined);
288
265
  }
289
266
 
267
+ declare const isJSONSchemaElement: _swagger_api_apidom_core.ElementPredicate<JSONSchema>;
268
+ declare const isLinkDescriptionElement: _swagger_api_apidom_core.ElementPredicate<LinkDescription>;
269
+
270
+ declare const getNodeType: <T extends Element>(element: T) => string | undefined;
271
+ declare const keyMap: {
272
+ ObjectElement: string[];
273
+ ArrayElement: string[];
274
+ MemberElement: string[];
275
+ StringElement: never[];
276
+ BooleanElement: never[];
277
+ NumberElement: never[];
278
+ NullElement: never[];
279
+ RefElement: never[];
280
+ LinkElement: never[];
281
+ Annotation: never[];
282
+ Comment: never[];
283
+ ParseResultElement: string[];
284
+ SourceMap: string[];
285
+ JSONSchemaDraft6Element: string[];
286
+ JSONReferenceElement: string[];
287
+ MediaElement: string[];
288
+ LinkDescriptionElement: string[];
289
+ };
290
+
290
291
  export { JSONSchemaDraft6MediaTypes, JSONSchema as JSONSchemaElement, LinkDescription as LinkDescriptionElement, createRefractor, jsonSchemaDraft6 as default, getNodeType, isJSONSchemaElement, isLinkDescriptionElement, keyMap, mediaTypes, refract, plugin as refractorPluginReplaceEmptyElement, _default as specificationObj };