@swagger-api/apidom-ast 1.0.0-beta.8 → 1.0.0-rc.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 +184 -0
- package/dist/apidom-ast.browser.js +7334 -7491
- package/dist/apidom-ast.browser.min.js +1 -1
- package/package.json +6 -6
- package/src/Node.cjs +19 -4
- package/src/Node.mjs +19 -4
- package/src/index.cjs +1 -3
- package/src/index.mjs +1 -1
- package/src/predicates.cjs +1 -13
- package/src/predicates.mjs +0 -10
- package/src/traversal/visitor.cjs +12 -2
- package/src/traversal/visitor.mjs +12 -2
- package/src/yaml/errors/YamlTagError.cjs +12 -2
- package/src/yaml/errors/YamlTagError.mjs +12 -2
- package/src/yaml/schemas/failsafe/index.cjs +12 -3
- package/src/yaml/schemas/failsafe/index.mjs +12 -3
- package/types/apidom-ast.d.ts +27 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomAST=e():t.apidomAST=e()}(self,(()=>(()=>{var t={8583:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.errorMessages=e.ErrorType=void 0,function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(r=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},6850:(t,e,r)=>{"use strict";e.MH=void 0;const n=r(8583);function o(t,e,r){const o=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(o)||void 0!==r&&r!==t.length)throw new SyntaxError(n.errorMessages.get(e));return o}function i(t,e){const r=o(t,n.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=o(e,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}const s=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const c=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function a(t,e=!1){return t.replace(c,(function(t,r,c,a,u,l,f,p,y){if(void 0!==r)return"\\";if(void 0!==c)return function(t){const e=o(t,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(c);if(void 0!==a)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var e;const r=o(t.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(t){throw t instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):t}}(a);if(void 0!==u)return i(u,l);if(void 0!==f)return i(f);if("0"===p)return"\0";if(void 0!==p)return function(t,e=!1){if(e)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(t,8);return String.fromCharCode(r)}(p,!e);if(void 0!==y)return h=y,s.get(h)||h;var h;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.MH=a},1212:(t,e,r)=>{t.exports=r(8411)},7202:(t,e,r)=>{"use strict";var n=r(239);t.exports=n},6656:(t,e,r)=>{"use strict";r(484),r(5695),r(6138),r(9828),r(3832);var n=r(8099);t.exports=n.AggregateError},8411:(t,e,r)=>{"use strict";t.exports=r(8337)},8337:(t,e,r)=>{"use strict";r(5442);var n=r(7202);t.exports=n},814:(t,e,r)=>{"use strict";var n=r(2769),o=r(459),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},1966:(t,e,r)=>{"use strict";var n=r(2937),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},8137:t=>{"use strict";t.exports=function(){}},7235:(t,e,r)=>{"use strict";var n=r(262),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},1005:(t,e,r)=>{"use strict";var n=r(3273),o=r(4574),i=r(8130),s=function(t){return function(e,r,s){var c=n(e),a=i(c);if(0===a)return!t&&-1;var u,l=o(s,a);if(t&&r!=r){for(;a>l;)if((u=c[l++])!=u)return!0}else for(;a>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},9932:(t,e,r)=>{"use strict";var n=r(6100),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},8407:(t,e,r)=>{"use strict";var n=r(4904),o=r(2769),i=r(9932),s=r(8655)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=c(t),s))?r:a?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},7464:(t,e,r)=>{"use strict";var n=r(701),o=r(5691),i=r(4543),s=r(9989);t.exports=function(t,e,r){for(var c=o(e),a=s.f,u=i.f,l=0;l<c.length;l++){var f=c[l];n(t,f)||r&&n(r,f)||a(t,f,u(e,f))}}},2871:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},877:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},3999:(t,e,r)=>{"use strict";var n=r(5024),o=r(9989),i=r(480);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},480:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3508:(t,e,r)=>{"use strict";var n=r(3999);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},7525:(t,e,r)=>{"use strict";var n=r(8900),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},5024:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(t,e,r)=>{"use strict";var n=r(8900),o=r(262),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},1100:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9683:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3531:(t,e,r)=>{"use strict";var n=r(8900).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},5547:(t,e,r)=>{"use strict";var n,o,i=r(8900),s=r(3531),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},3885:(t,e,r)=>{"use strict";var n=r(6100),o=Error,i=n("".replace),s=String(new o("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(s);t.exports=function(t,e){if(a&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,c,"");return t}},4279:(t,e,r)=>{"use strict";var n=r(3999),o=r(3885),i=r(5791),s=Error.captureStackTrace;t.exports=function(t,e,r,c){i&&(s?s(t,e):n(t,"stack",o(r,c)))}},5791:(t,e,r)=>{"use strict";var n=r(1203),o=r(480);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},9098:(t,e,r)=>{"use strict";var n=r(8900),o=r(7013),i=r(9344),s=r(2769),c=r(4543).f,a=r(8696),u=r(8099),l=r(4572),f=r(3999),p=r(701);r(3753);var y=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,h,g,d,v,m,b,x,S=t.target,w=t.global,O=t.stat,j=t.proto,E=w?n:O?n[S]:n[S]&&n[S].prototype,A=w?u:u[S]||f(u,S,{})[S],T=A.prototype;for(g in e)o=!(r=a(w?g:S+(O?".":"#")+g,t.forced))&&E&&p(E,g),v=A[g],o&&(m=t.dontCallGetSet?(x=c(E,g))&&x.value:E[g]),d=o&&m?m:e[g],(r||j||typeof v!=typeof d)&&(b=t.bind&&o?l(d,n):t.wrap&&o?y(d):j&&s(d)?i(d):d,(t.sham||d&&d.sham||v&&v.sham)&&f(b,"sham",!0),f(A,g,b),j&&(p(u,h=S+"Prototype")||f(u,h,{}),f(u[h],g,d),t.real&&T&&(r||!T[g])&&f(T,g,d)))}},1203:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},7013:(t,e,r)=>{"use strict";var n=r(1780),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},4572:(t,e,r)=>{"use strict";var n=r(9344),o=r(814),i=r(1780),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},1780:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4713:(t,e,r)=>{"use strict";var n=r(1780),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},3410:(t,e,r)=>{"use strict";var n=r(5024),o=r(701),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},3574:(t,e,r)=>{"use strict";var n=r(6100),o=r(814);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},9344:(t,e,r)=>{"use strict";var n=r(9932),o=r(6100);t.exports=function(t){if("Function"===n(t))return o(t)}},6100:(t,e,r)=>{"use strict";var n=r(1780),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},1003:(t,e,r)=>{"use strict";var n=r(8099),o=r(8900),i=r(2769),s=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t])||s(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},967:(t,e,r)=>{"use strict";var n=r(8407),o=r(4674),i=r(3057),s=r(6625),c=r(8655)("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||s[n(t)]}},1613:(t,e,r)=>{"use strict";var n=r(4713),o=r(814),i=r(7235),s=r(459),c=r(967),a=TypeError;t.exports=function(t,e){var r=arguments.length<2?c(t):e;if(o(r))return i(n(r,t));throw new a(s(t)+" is not iterable")}},4674:(t,e,r)=>{"use strict";var n=r(814),o=r(3057);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},8900:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},701:(t,e,r)=>{"use strict";var n=r(6100),o=r(2137),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},5241:t=>{"use strict";t.exports={}},3489:(t,e,r)=>{"use strict";var n=r(1003);t.exports=n("document","documentElement")},9665:(t,e,r)=>{"use strict";var n=r(5024),o=r(1203),i=r(9619);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(t,e,r)=>{"use strict";var n=r(6100),o=r(1203),i=r(9932),s=Object,c=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):s(t)}:s},3507:(t,e,r)=>{"use strict";var n=r(2769),o=r(262),i=r(3491);t.exports=function(t,e,r){var s,c;return i&&n(s=e.constructor)&&s!==r&&o(c=s.prototype)&&c!==r.prototype&&i(t,c),t}},8148:(t,e,r)=>{"use strict";var n=r(262),o=r(3999);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},8417:(t,e,r)=>{"use strict";var n,o,i,s=r(1314),c=r(8900),a=r(262),u=r(3999),l=r(701),f=r(3753),p=r(4275),y=r(5241),h="Object already initialized",g=c.TypeError,d=c.WeakMap;if(s||f.state){var v=f.state||(f.state=new d);v.get=v.get,v.has=v.has,v.set=v.set,n=function(t,e){if(v.has(t))throw new g(h);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},i=function(t){return v.has(t)}}else{var m=p("state");y[m]=!0,n=function(t,e){if(l(t,m))throw new g(h);return e.facade=t,u(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!a(e)||(r=o(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return r}}}},2877:(t,e,r)=>{"use strict";var n=r(8655),o=r(6625),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},2769:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},8696:(t,e,r)=>{"use strict";var n=r(1203),o=r(2769),i=/#|\.prototype\./,s=function(t,e){var r=a[c(t)];return r===l||r!==u&&(o(e)?n(e):!!e)},c=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},3057:t=>{"use strict";t.exports=function(t){return null==t}},262:(t,e,r)=>{"use strict";var n=r(2769);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},2937:(t,e,r)=>{"use strict";var n=r(262);t.exports=function(t){return n(t)||null===t}},4871:t=>{"use strict";t.exports=!0},6281:(t,e,r)=>{"use strict";var n=r(1003),o=r(2769),i=r(4317),s=r(7460),c=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,c(t))}},208:(t,e,r)=>{"use strict";var n=r(4572),o=r(4713),i=r(7235),s=r(459),c=r(2877),a=r(8130),u=r(4317),l=r(1613),f=r(967),p=r(1743),y=TypeError,h=function(t,e){this.stopped=t,this.result=e},g=h.prototype;t.exports=function(t,e,r){var d,v,m,b,x,S,w,O=r&&r.that,j=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),k=n(e,O),P=function(t){return d&&p(d,"normal",t),new h(!0,t)},N=function(t){return j?(i(t),T?k(t[0],t[1],P):k(t[0],t[1])):T?k(t,P):k(t)};if(E)d=t.iterator;else if(A)d=t;else{if(!(v=f(t)))throw new y(s(t)+" is not iterable");if(c(v)){for(m=0,b=a(t);b>m;m++)if((x=N(t[m]))&&u(g,x))return x;return new h(!1)}d=l(t,v)}for(S=E?t.next:d.next;!(w=o(S,d)).done;){try{x=N(w.value)}catch(t){p(d,"throw",t)}if("object"==typeof x&&x&&u(g,x))return x}return new h(!1)}},1743:(t,e,r)=>{"use strict";var n=r(4713),o=r(7235),i=r(4674);t.exports=function(t,e,r){var s,c;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){c=!0,s=t}if("throw"===e)throw r;if(c)throw s;return o(s),r}},1926:(t,e,r)=>{"use strict";var n=r(2621).IteratorPrototype,o=r(5780),i=r(480),s=r(1811),c=r(6625),a=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),s(t,l,!1,!0),c[l]=a,t}},164:(t,e,r)=>{"use strict";var n=r(9098),o=r(4713),i=r(4871),s=r(3410),c=r(2769),a=r(1926),u=r(3671),l=r(3491),f=r(1811),p=r(3999),y=r(3508),h=r(8655),g=r(6625),d=r(2621),v=s.PROPER,m=s.CONFIGURABLE,b=d.IteratorPrototype,x=d.BUGGY_SAFARI_ITERATORS,S=h("iterator"),w="keys",O="values",j="entries",E=function(){return this};t.exports=function(t,e,r,s,h,d,A){a(r,e,s);var T,k,P,N=function(t){if(t===h&&L)return L;if(!x&&t&&t in F)return F[t];switch(t){case w:case O:case j:return function(){return new r(this,t)}}return function(){return new r(this)}},M=e+" Iterator",C=!1,F=t.prototype,I=F[S]||F["@@iterator"]||h&&F[h],L=!x&&I||N(h),R="Array"===e&&F.entries||I;if(R&&(T=u(R.call(new t)))!==Object.prototype&&T.next&&(i||u(T)===b||(l?l(T,b):c(T[S])||y(T,S,E)),f(T,M,!0,!0),i&&(g[M]=E)),v&&h===O&&I&&I.name!==O&&(!i&&m?p(F,"name",O):(C=!0,L=function(){return o(I,this)})),h)if(k={values:N(O),keys:d?L:N(w),entries:N(j)},A)for(P in k)(x||C||!(P in F))&&y(F,P,k[P]);else n({target:e,proto:!0,forced:x||C},k);return i&&!A||F[S]===L||y(F,S,L,{name:h}),g[e]=L,k}},2621:(t,e,r)=>{"use strict";var n,o,i,s=r(1203),c=r(2769),a=r(262),u=r(5780),l=r(3671),f=r(3508),p=r(8655),y=r(4871),h=p("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):g=!0),!a(n)||s((function(){var t={};return n[h].call(t)!==t}))?n={}:y&&(n=u(n)),c(n[h])||f(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},6625:t=>{"use strict";t.exports={}},8130:(t,e,r)=>{"use strict";var n=r(8146);t.exports=function(t){return n(t.length)}},5777:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},4879:(t,e,r)=>{"use strict";var n=r(1139);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},5780:(t,e,r)=>{"use strict";var n,o=r(7235),i=r(7389),s=r(9683),c=r(5241),a=r(3489),u=r(9619),l=r(4275),f="prototype",p="script",y=l("IE_PROTO"),h=function(){},g=function(t){return"<"+p+">"+t+"</"+p+">"},d=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;v="undefined"!=typeof document?document.domain&&n?d(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",a.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):d(n);for(var o=s.length;o--;)delete v[f][s[o]];return v()};c[y]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[f]=o(t),r=new h,h[f]=null,r[y]=t):r=v(),void 0===e?r:i.f(r,e)}},7389:(t,e,r)=>{"use strict";var n=r(5024),o=r(1330),i=r(9989),s=r(7235),c=r(3273),a=r(8364);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=c(e),o=a(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},9989:(t,e,r)=>{"use strict";var n=r(5024),o=r(9665),i=r(1330),s=r(7235),c=r(5341),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",y="writable";e.f=n?i?function(t,e,r){if(s(t),e=c(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&y in r&&!r[y]){var n=l(t,e);n&&n[y]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(s(t),e=c(e),s(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},4543:(t,e,r)=>{"use strict";var n=r(5024),o=r(4713),i=r(7161),s=r(480),c=r(3273),a=r(5341),u=r(701),l=r(9665),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=a(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},5116:(t,e,r)=>{"use strict";var n=r(8600),o=r(9683).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},7313:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},3671:(t,e,r)=>{"use strict";var n=r(701),o=r(2769),i=r(2137),s=r(4275),c=r(2871),a=s("IE_PROTO"),u=Object,l=u.prototype;t.exports=c?u.getPrototypeOf:function(t){var e=i(t);if(n(e,a))return e[a];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},4317:(t,e,r)=>{"use strict";var n=r(6100);t.exports=n({}.isPrototypeOf)},8600:(t,e,r)=>{"use strict";var n=r(6100),o=r(701),i=r(3273),s=r(1005).indexOf,c=r(5241),a=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(c,r)&&o(n,r)&&a(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~s(l,r)||a(l,r));return l}},8364:(t,e,r)=>{"use strict";var n=r(8600),o=r(9683);t.exports=Object.keys||function(t){return n(t,o)}},7161:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},3491:(t,e,r)=>{"use strict";var n=r(3574),o=r(262),i=r(5426),s=r(1966);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),s(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},9559:(t,e,r)=>{"use strict";var n=r(4904),o=r(8407);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},9258:(t,e,r)=>{"use strict";var n=r(4713),o=r(2769),i=r(262),s=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&o(r=t.toString)&&!i(c=n(r,t)))return c;if(o(r=t.valueOf)&&!i(c=n(r,t)))return c;if("string"!==e&&o(r=t.toString)&&!i(c=n(r,t)))return c;throw new s("Can't convert object to primitive value")}},5691:(t,e,r)=>{"use strict";var n=r(1003),o=r(6100),i=r(5116),s=r(7313),c=r(7235),a=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=s.f;return r?a(e,r(t)):e}},8099:t=>{"use strict";t.exports={}},5516:(t,e,r)=>{"use strict";var n=r(9989).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},5426:(t,e,r)=>{"use strict";var n=r(3057),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},1811:(t,e,r)=>{"use strict";var n=r(4904),o=r(9989).f,i=r(3999),s=r(701),c=r(9559),a=r(8655)("toStringTag");t.exports=function(t,e,r,u){var l=r?t:t&&t.prototype;l&&(s(l,a)||o(l,a,{configurable:!0,value:e}),u&&!n&&i(l,"toString",c))}},4275:(t,e,r)=>{"use strict";var n=r(8141),o=r(1268),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},3753:(t,e,r)=>{"use strict";var n=r(4871),o=r(8900),i=r(7525),s="__core-js_shared__",c=t.exports=o[s]||i(s,{});(c.versions||(c.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},8141:(t,e,r)=>{"use strict";var n=r(3753);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},5571:(t,e,r)=>{"use strict";var n=r(6100),o=r(9903),i=r(1139),s=r(5426),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(s(e)),p=o(r),y=f.length;return p<0||p>=y?t?"":void 0:(n=a(f,p))<55296||n>56319||p+1===y||(l=a(f,p+1))<56320||l>57343?t?c(f,p):n:t?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4603:(t,e,r)=>{"use strict";var n=r(5547),o=r(1203),i=r(8900).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(t,e,r)=>{"use strict";var n=r(9903),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},3273:(t,e,r)=>{"use strict";var n=r(1395),o=r(5426);t.exports=function(t){return n(o(t))}},9903:(t,e,r)=>{"use strict";var n=r(5777);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8146:(t,e,r)=>{"use strict";var n=r(9903),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},2137:(t,e,r)=>{"use strict";var n=r(5426),o=Object;t.exports=function(t){return o(n(t))}},493:(t,e,r)=>{"use strict";var n=r(4713),o=r(262),i=r(6281),s=r(4674),c=r(9258),a=r(8655),u=TypeError,l=a("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,a=s(t,l);if(a){if(void 0===e&&(e="default"),r=n(a,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},5341:(t,e,r)=>{"use strict";var n=r(493),o=r(6281);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},4904:(t,e,r)=>{"use strict";var n={};n[r(8655)("toStringTag")]="z",t.exports="[object z]"===String(n)},1139:(t,e,r)=>{"use strict";var n=r(8407),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},459:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},1268:(t,e,r)=>{"use strict";var n=r(6100),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},7460:(t,e,r)=>{"use strict";var n=r(4603);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(t,e,r)=>{"use strict";var n=r(5024),o=r(1203);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(t,e,r)=>{"use strict";var n=r(8900),o=r(2769),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8655:(t,e,r)=>{"use strict";var n=r(8900),o=r(8141),i=r(701),s=r(1268),c=r(4603),a=r(7460),u=n.Symbol,l=o("wks"),f=a?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=c&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},6453:(t,e,r)=>{"use strict";var n=r(1003),o=r(701),i=r(3999),s=r(4317),c=r(3491),a=r(7464),u=r(5516),l=r(3507),f=r(4879),p=r(8148),y=r(4279),h=r(5024),g=r(4871);t.exports=function(t,e,r,d){var v="stackTraceLimit",m=d?2:1,b=t.split("."),x=b[b.length-1],S=n.apply(null,b);if(S){var w=S.prototype;if(!g&&o(w,"cause")&&delete w.cause,!r)return S;var O=n("Error"),j=e((function(t,e){var r=f(d?e:t,void 0),n=d?new S(t):new S;return void 0!==r&&i(n,"message",r),y(n,j,n.stack,2),this&&s(w,this)&&l(n,this,j),arguments.length>m&&p(n,arguments[m]),n}));if(j.prototype=w,"Error"!==x?c?c(j,O):a(j,O,{name:!0}):h&&v in S&&(u(j,S,v),u(j,S,"prepareStackTrace")),a(j,S),!g)try{w.name!==x&&i(w,"name",x),w.constructor=j}catch(t){}return j}}},6138:(t,e,r)=>{"use strict";var n=r(9098),o=r(1003),i=r(7013),s=r(1203),c=r(6453),a="AggregateError",u=o(a),l=!s((function(){return 1!==u([1]).errors[0]}))&&s((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},3085:(t,e,r)=>{"use strict";var n=r(9098),o=r(4317),i=r(3671),s=r(3491),c=r(7464),a=r(5780),u=r(3999),l=r(480),f=r(8148),p=r(4279),y=r(208),h=r(4879),g=r(8655)("toStringTag"),d=Error,v=[].push,m=function(t,e){var r,n=o(b,this);s?r=s(new d,n?i(this):b):(r=n?this:a(b),u(r,g,"Error")),void 0!==e&&u(r,"message",h(e)),p(r,m,r.stack,1),arguments.length>2&&f(r,arguments[2]);var c=[];return y(t,v,{that:c}),u(r,"errors",c),r};s?s(m,d):c(m,d,{name:!0});var b=m.prototype=a(d.prototype,{constructor:l(1,m),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:m})},5695:(t,e,r)=>{"use strict";r(3085)},9828:(t,e,r)=>{"use strict";var n=r(3273),o=r(8137),i=r(6625),s=r(8417),c=r(9989).f,a=r(164),u=r(877),l=r(4871),f=r(5024),p="Array Iterator",y=s.set,h=s.getterFor(p);t.exports=a(Array,"Array",(function(t,e){y(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)}),"values");var g=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==g.name)try{c(g,"name",{value:"values"})}catch(t){}},484:(t,e,r)=>{"use strict";var n=r(9098),o=r(8900),i=r(7013),s=r(6453),c="WebAssembly",a=o[c],u=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=s(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(t,e){if(a&&a[t]){var r={};r[t]=s(c+"."+t,e,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},3832:(t,e,r)=>{"use strict";var n=r(5571).charAt,o=r(1139),i=r(8417),s=r(164),c=r(877),a="String Iterator",u=i.set,l=i.getterFor(a);s(String,"String",(function(t){u(this,{type:a,string:o(t),index:0})}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?c(void 0,!0):(t=n(r,o),e.index+=t.length,c(t,!1))}))},5442:(t,e,r)=>{"use strict";r(5695)},85:(t,e,r)=>{"use strict";r(9828);var n=r(1100),o=r(8900),i=r(1811),s=r(6625);for(var c in n)i(o[c],c),s[c]=s.Array},239:(t,e,r)=>{"use strict";r(5442);var n=r(6656);r(85),t.exports=n}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{BREAK:()=>vn,Error:()=>hn,JsonArray:()=>P,JsonDocument:()=>u,JsonEscapeSequence:()=>I,JsonFalse:()=>D,JsonKey:()=>C,JsonNode:()=>e,JsonNull:()=>Y,JsonNumber:()=>L,JsonObject:()=>T,JsonProperty:()=>k,JsonString:()=>M,JsonStringContent:()=>F,JsonTrue:()=>R,JsonValue:()=>N,Literal:()=>ln,ParseResult:()=>gn,Point:()=>fn,Position:()=>yn,YamlAlias:()=>U,YamlAnchor:()=>vt,YamlCollection:()=>q,YamlComment:()=>G,YamlDirective:()=>z,YamlDocument:()=>B,YamlError:()=>Pt,YamlFailsafeSchema:()=>en,YamlJsonSchema:()=>cn,YamlKeyValuePair:()=>ct,YamlMapping:()=>ut,YamlNode:()=>_,YamlNodeKind:()=>gt,YamlReferenceError:()=>an,YamlReferenceManager:()=>un,YamlScalar:()=>lt,YamlSchemaError:()=>Nt,YamlSequence:()=>pt,YamlStream:()=>ht,YamlStyle:()=>mt,YamlStyleGroup:()=>bt,YamlTag:()=>dt,YamlTagError:()=>Mt,cloneNode:()=>xn,getNodeType:()=>mn,getVisitFn:()=>dn,isJsonArray:()=>S,isJsonDocument:()=>g,isJsonEscapeSequence:()=>j,isJsonFalse:()=>v,isJsonKey:()=>A,isJsonNull:()=>b,isJsonNumber:()=>x,isJsonObject:()=>w,isJsonProperty:()=>E,isJsonString:()=>d,isJsonStringContent:()=>O,isJsonTrue:()=>m,isLiteral:()=>f,isNode:()=>bn,isParseResult:()=>h,isPoint:()=>y,isPosition:()=>p,isYamlAlias:()=>nt,isYamlAnchor:()=>et,isYamlComment:()=>it,isYamlDirective:()=>ot,isYamlDocument:()=>K,isYamlKeyValuePair:()=>Z,isYamlMapping:()=>Q,isYamlScalar:()=>rt,isYamlSequence:()=>X,isYamlStream:()=>H,isYamlTag:()=>tt,mergeAllVisitors:()=>Sn,visit:()=>wn});const t=class{static type="node";type="node";isMissing;children;position;constructor({children:t=[],position:e,isMissing:r=!1}={}){this.type=this.constructor.type,this.isMissing=r,this.children=t,this.position=e}clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const r=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,r)})),t}};const e=class extends t{};function o(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function i(t){return function e(r){return 0===arguments.length||o(r)?e:t.apply(this,arguments)}}function s(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t,e){var r=t<0?e.length+t:t;return s(e)?e.charAt(r):e[r]}const a=i((function(t){return c(0,t)}));const u=class extends e{static type="document";get child(){return a(this.children)}},l=(t,e)=>null!=e&&"object"==typeof e&&"type"in e&&e.type===t,f=t=>l("literal",t),p=t=>l("position",t),y=t=>l("point",t),h=t=>l("parseResult",t),g=t=>l("document",t),d=t=>l("string",t),v=t=>l("false",t),m=t=>l("true",t),b=t=>l("null",t),x=t=>l("number",t),S=t=>l("array",t),w=t=>l("object",t),O=t=>l("stringContent",t),j=t=>l("escapeSequence",t),E=t=>l("property",t),A=t=>l("key",t);const T=class extends e{static type="object";get properties(){return this.children.filter(E)}};const k=class extends e{static type="property";get key(){return this.children.find(A)}get value(){return this.children.find((t=>v(t)||m(t)||b(t)||x(t)||d(t)||S(t)||w(t)))}};const P=class extends e{static type="array";get items(){return this.children.filter((t=>v(t)||m(t)||b(t)||x(t)||d(t)||S(t)||w))}};const N=class extends e{static type="value";value;constructor({value:t,...e}){super({...e}),this.value=t}};const M=class extends e{static type="string";get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((t=>O(t)||j(t))).reduce(((t,e)=>t+e.value),"")}};const C=class extends M{static type="key"};const F=class extends N{static type="stringContent"};const I=class extends N{static type="escapeSequence"};const L=class extends N{static type="number"};const R=class extends N{static type="true"};const D=class extends N{static type="false"};const Y=class extends N{static type="null"};const U=class extends t{static type="alias";content;constructor({content:t,...e}){super({...e}),this.content=t}};const _=class extends t{anchor;tag;style;styleGroup;constructor({anchor:t,tag:e,style:r,styleGroup:n,...o}){super({...o}),this.anchor=t,this.tag=e,this.style=r,this.styleGroup=n}};const q=class extends _{};const G=class extends t{static type="comment";content;constructor({content:t,...e}){super({...e}),this.content=t}};function J(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const $="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,n=arguments.length;r<n;){var o=arguments[r];if(null!=o)for(var i in o)J(i,o)&&(e[i]=o[i]);r+=1}return e};function V(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return o(r)?e:i((function(e){return t(r,e)}));default:return o(r)&&o(n)?e:o(r)?i((function(e){return t(e,n)})):o(n)?i((function(e){return t(r,e)})):t(r,n)}}}const W=V((function(t,e){return $({},t,e)}));const z=class extends t{static type="directive";name;parameters;constructor({name:t,parameters:e,...r}){super({...r}),this.name=t,this.parameters=W({version:void 0,handle:void 0,prefix:void 0},e)}};const B=class extends t{static type="document"},H=t=>l("stream",t),K=t=>l("document",t),Q=t=>l("mapping",t),X=t=>l("sequence",t),Z=t=>l("keyValuePair",t),tt=t=>l("tag",t),et=t=>l("anchor",t),rt=t=>l("scalar",t),nt=t=>l("alias",t),ot=t=>l("directive",t),it=t=>l("comment",t);class st extends t{static type="keyValuePair";styleGroup;constructor({styleGroup:t,...e}){super({...e}),this.styleGroup=t}}Object.defineProperties(st.prototype,{key:{get(){return this.children.filter((t=>rt(t)||Q(t)||X(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>rt(t)||Q(t)||X(t)||nt(t))(e)))[0]},enumerable:!0}});const ct=st;class at extends q{static type="mapping"}Object.defineProperty(at.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter(Z):[]},enumerable:!0});const ut=at;const lt=class extends _{static type="scalar";content;constructor({content:t,...e}){super({...e}),this.content=t}};class ft extends q{static type="sequence"}Object.defineProperty(ft.prototype,"content",{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>X(t)||Q(t)||rt(t)||nt(t))):[]},enumerable:!0});const pt=ft;class yt extends t{static type="stream"}Object.defineProperty(yt.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter((t=>K(t)||it(t))):[]},enumerable:!0});const ht=yt;let gt=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const dt=class extends t{static type="tag";explicitName;kind;constructor({explicitName:t,kind:e,...r}){super({...r}),this.explicitName=t,this.kind=e}};const vt=class extends t{static type="anchor";name;constructor({name:t,...e}){super({...e}),this.name=t}};let mt=function(t){return t.Plain="Plain",t.SingleQuoted="SingleQuoted",t.DoubleQuoted="DoubleQuoted",t.Literal="Literal",t.Folded="Folded",t.Explicit="Explicit",t.SinglePair="SinglePair",t.NextLine="NextLine",t.InLine="InLine",t}({}),bt=function(t){return t.Flow="Flow",t.Block="Block",t}({});const xt=i((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function St(t,e,r){if(r||(r=new wt),function(t){var e=typeof t;return null==t||"object"!=e&&"function"!=e}(t))return t;var n,o=function(n){var o=r.get(t);if(o)return o;for(var i in r.set(t,n),t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=e?St(t[i],!0,r):t[i]);return n};switch(xt(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return n=t,new RegExp(n.source,n.flags?n.flags:(n.global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.sticky?"y":"")+(n.unicode?"u":"")+(n.dotAll?"s":""));case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}var wt=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(t,e){var r=this.hash(t),n=this.map[r];n||(this.map[r]=n=[]),n.push([t,e]),this.length+=1},t.prototype.hash=function(t){var e=[];for(var r in t)e.push(Object.prototype.toString.call(t[r]));return e.join()},t.prototype.get=function(t){if(this.length<=180)for(var e in this.map)for(var r=this.map[e],n=0;n<r.length;n+=1){if((i=r[n])[0]===t)return i[1]}else{var o=this.hash(t);if(r=this.map[o])for(n=0;n<r.length;n+=1){var i;if((i=r[n])[0]===t)return i[1]}}},t}();const Ot=i((function(t){return null!=t&&"function"==typeof t.clone?t.clone():St(t,!0)}));var jt=r(1212);const Et=class extends jt{constructor(t,e,r){if(super(t,e,r),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:t}=r;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}};class At extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call(Et,t)}constructor(t,e){if(super(t,e),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=e&&"object"==typeof e&&Object.hasOwn(e,"cause")&&!("cause"in this)){const{cause:t}=e;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}}const Tt=At;const kt=class extends Tt{constructor(t,e){if(super(t,e),null!=e&&"object"==typeof e){const{cause:t,...r}=e;Object.assign(this,r)}}};const Pt=class extends kt{};const Nt=class extends Pt{};const Mt=class extends Nt{specificTagName;explicitTagName;tagKind;tagPosition;nodeCanonicalContent;node;constructor(t,e){super(t,e),void 0!==e&&(this.specificTagName=e.specificTagName,this.explicitTagName=e.explicitTagName,this.tagKind=e.tagKind,this.tagPosition=e.tagPosition,this.nodeCanonicalContent=e.nodeCanonicalContent,this.node=e.node)}};const Ct=class{static uri="";tag="";constructor(){this.tag=this.constructor.uri}test(t){return!0}resolve(t){return t}};const Ft=class extends Ct{static uri="tag:yaml.org,2002:map";test(t){return t.tag.kind===gt.Mapping}};const It=class extends Ct{static uri="tag:yaml.org,2002:seq";test(t){return t.tag.kind===gt.Sequence}};const Lt=class extends Ct{static uri="tag:yaml.org,2002:str"};function Rt(t){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return o(r)?e:V((function(e,n){return t(r,e,n)}));case 2:return o(r)&&o(n)?e:o(r)?V((function(e,r){return t(e,n,r)})):o(n)?V((function(e,n){return t(r,e,n)})):i((function(e){return t(r,n,e)}));default:return o(r)&&o(n)&&o(s)?e:o(r)&&o(n)?V((function(e,r){return t(e,r,s)})):o(r)&&o(s)?V((function(e,r){return t(e,n,r)})):o(n)&&o(s)?V((function(e,n){return t(r,e,n)})):o(r)?i((function(e){return t(e,n,s)})):o(n)?i((function(e){return t(r,e,s)})):o(s)?i((function(e){return t(r,n,e)})):t(r,n,s)}}}const Dt=Number.isInteger||function(t){return(t|0)===t};const Yt=V((function(t,e){return null==e||e!=e?t:e}));const Ut=Rt((function(t,e,r){return Yt(t,function(t,e){for(var r=e,n=0;n<t.length;n+=1){if(null==r)return;var o=t[n];r=Dt(o)?c(o,r):r[o]}return r}(e,r))}));function _t(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,o){return e.apply(this,arguments)};case 5:return function(t,r,n,o,i){return e.apply(this,arguments)};case 6:return function(t,r,n,o,i,s){return e.apply(this,arguments)};case 7:return function(t,r,n,o,i,s,c){return e.apply(this,arguments)};case 8:return function(t,r,n,o,i,s,c,a){return e.apply(this,arguments)};case 9:return function(t,r,n,o,i,s,c,a,u){return e.apply(this,arguments)};case 10:return function(t,r,n,o,i,s,c,a,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function qt(t,e,r){return function(){for(var n=[],i=0,s=t,c=0,a=!1;c<e.length||i<arguments.length;){var u;c<e.length&&(!o(e[c])||i>=arguments.length)?u=e[c]:(u=arguments[i],i+=1),n[c]=u,o(u)?a=!0:s-=1,c+=1}return!a&&s<=0?r.apply(this,n):_t(Math.max(0,s),qt(t,n,r))}}const Gt=V((function(t,e){return 1===t?i(e):_t(t,qt(t,[],e))}));const Jt=i((function(t){return Gt(t.length,t)}));function $t(t,e){return function(){return e.call(this,t.apply(this,arguments))}}const Vt=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};const Wt=i((function(t){return!!Vt(t)||!!t&&("object"==typeof t&&(!s(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var zt="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Bt(t,e,r){return function(n,o,i){if(Wt(i))return t(n,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(n,o,i,"fantasy-land/reduce");if(null!=i[zt])return r(n,o,i[zt]());if("function"==typeof i.next)return r(n,o,i);if("function"==typeof i.reduce)return e(n,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Ht(t,e,r){for(var n=0,o=r.length;n<o;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const Kt=V((function(t,e){return _t(t.length,(function(){return t.apply(e,arguments)}))}));function Qt(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function Xt(t,e,r,n){return t["@@transducer/result"](r[n](Kt(t["@@transducer/step"],t),e))}const Zt=Bt(Ht,Xt,Qt);var te=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function ee(t){return new te(t)}const re=Rt((function(t,e,r){return Zt("function"==typeof t?ee(t):t,e,r)}));function ne(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return Vt(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const oe=Rt(ne("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const ie=i(ne("tail",oe(1,1/0)));function se(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return _t(arguments[0].length,re($t,arguments[0],ie(arguments)))}var ce="\t\n\v\f\r \u2028\u2029\ufeff";const ae=i("function"==typeof String.prototype.trim&&!ce.trim()&&"".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+ce+"]["+ce+"]*"),r=new RegExp("["+ce+"]["+ce+"]*$");return t.replace(e,"").replace(r,"")});function ue(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}function le(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function fe(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}const pe="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var ye=Object.prototype.toString;const he=function(){return"[object Arguments]"===ye.call(arguments)?function(t){return"[object Arguments]"===ye.call(t)}:function(t){return J("callee",t)}}();var ge=!{toString:null}.propertyIsEnumerable("toString"),de=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],ve=function(){return arguments.propertyIsEnumerable("length")}(),me=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},be="function"!=typeof Object.keys||ve?i((function(t){if(Object(t)!==t)return[];var e,r,n=[],o=ve&&he(t);for(e in t)!J(e,t)||o&&"length"===e||(n[n.length]=e);if(ge)for(r=de.length-1;r>=0;)J(e=de[r],t)&&!me(n,e)&&(n[n.length]=e),r-=1;return n})):i((function(t){return Object(t)!==t?[]:Object.keys(t)}));const xe=be;function Se(t,e,r,n){var o=le(t);function i(t,e){return we(t,e,r.slice(),n.slice())}return!fe((function(t,e){return!fe(i,e,t)}),le(e),o)}function we(t,e,r,n){if(pe(t,e))return!0;var o,i,s=xt(t);if(s!==xt(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!pe(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!pe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var c=r.length-1;c>=0;){if(r[c]===t)return n[c]===e;c-=1}switch(s){case"Map":return t.size===e.size&&Se(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&Se(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=xe(t);if(a.length!==xe(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(c=a.length-1;c>=0;){var f=a[c];if(!J(f,e)||!we(e[f],t[f],u,l))return!1;c-=1}return!0}const Oe=V((function(t,e){return we(t,e,[],[])}));function je(t,e){return function(t,e,r){var n,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(o=t[r])&&1/o===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(Oe(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function Ee(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function Ae(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Te=function(t){return(t<10?"0":"")+t};const ke="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Te(t.getUTCMonth()+1)+"-"+Te(t.getUTCDate())+"T"+Te(t.getUTCHours())+":"+Te(t.getUTCMinutes())+":"+Te(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Pe(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}function Ne(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!Vt(n)){for(var o=0;o<t.length;){if("function"==typeof n[t[o]])return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}const Me=function(){return this.xf["@@transducer/init"]()},Ce=function(t){return this.xf["@@transducer/result"](t)};var Fe=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Me,t.prototype["@@transducer/result"]=Ce,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function Ie(t){return function(e){return new Fe(t,e)}}const Le=V(Ne(["fantasy-land/filter","filter"],Ie,(function(t,e){return r=e,"[object Object]"===Object.prototype.toString.call(r)?Pe((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},xe(e)):function(t,e){for(var r=0,n=e.length,o=[];r<n;)t(e[r])&&(o[o.length]=e[r]),r+=1;return o}(t,e);var r})));const Re=V((function(t,e){return Le((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function De(t,e){var r=function(r){var n=e.concat([t]);return je(r,n)?"<Circular>":De(r,n)},n=function(t,e){return Ee((function(e){return Ae(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Ee(r,t).join(", ")+"))";case"[object Array]":return"["+Ee(r,t).concat(n(t,Re((function(t){return/^\d+$/.test(t)}),xe(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):Ae(ke(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":Ae(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+n(t,xe(t)).join(", ")+"}"}}const Ye=i((function(t){return De(t,[])}));const Ue=V((function(t,e){return Gt(t+1,(function(){var r=arguments[t];if(null!=r&&ue(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(Ye(r)+' does not have a method named "'+e+'"')}))}));const _e=Ue(1,"split");var qe=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Me,t.prototype["@@transducer/result"]=Ce,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const Ge=V(Ne(["fantasy-land/map","map"],(function(t){return function(e){return new qe(t,e)}}),(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Gt(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return Pe((function(r,n){return r[n]=t(e[n]),r}),{},xe(e));default:return Ee(t,e)}})));const Je=Ue(1,"join");const $e=i((function(t){return s(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function Ve(){if(0===arguments.length)throw new Error("compose requires at least one argument");return se.apply(this,$e(arguments))}const We=Gt(4,(function(t,e,r,n){return Zt(t("function"==typeof e?ee(e):e),r,n)}));const ze=V((function(t,e){if(Vt(t)){if(Vt(e))return t.concat(e);throw new TypeError(Ye(e)+" is not an array")}if(s(t)){if(s(e))return t+e;throw new TypeError(Ye(e)+" is not a string")}if(null!=t&&ue(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&ue(t.concat))return t.concat(e);throw new TypeError(Ye(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Be=Oe("");const He=V((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var o=r(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=Ye(t),s=r(i,Ye(e));return void 0!==s&&s===i?t:e}));const Ke=V((function(t,e){if(null!=e)return Dt(t)?c(t,e):e[t]}));const Qe=V((function(t,e){return Ge(Ke(t),e)}));const Xe=i((function(t){return Gt(re(He,0,Qe("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));var Ze=function(t,e){switch(arguments.length){case 0:return Ze;case 1:return function e(r){return 0===arguments.length?e:pe(t,r)};default:return pe(t,e)}};const tr=Ze;const er=Gt(1,se(xt,tr("GeneratorFunction")));const rr=Gt(1,se(xt,tr("AsyncFunction")));const nr=Xe([se(xt,tr("Function")),er,rr]);const or=V((function(t,e){return t&&e}));function ir(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function sr(t,e,r,n){return r[n](t,e)}const cr=Bt(Pe,sr,ir);const ar=V((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:cr((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,o=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<o;)i[i.length]=e[r],r+=1;return i}(t,Ge(r,e))}),[],t)}));const ur=V((function(t,e){var r=Gt(t,e);return Gt(t,(function(){return Pe(ar,Ge(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const lr=i((function(t){return ur(t.length,t)}));const fr=V((function(t,e){return ue(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:lr(or)(t,e)}));const pr=V((function(t,e){return Gt(re(He,0,Qe("length",e)),(function(){var r=arguments,n=this;return t.apply(n,Ee((function(t){return t.apply(n,r)}),e))}))}));function yr(t){return t}const hr=i(yr);const gr=Gt(1,se(xt,tr("Number")));var dr=fr(gr,isFinite);var vr=Gt(1,dr);const mr=nr(Number.isFinite)?Gt(1,Kt(Number.isFinite,Number)):vr;var br=fr(mr,pr(Oe,[Math.floor,hr]));var xr=Gt(1,br);const Sr=nr(Number.isInteger)?Gt(1,Kt(Number.isInteger,Number)):xr;const wr=i((function(t){return Gt(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}));const Or=lr(i((function(t){return!t})))(mr);const jr=Gt(1,fr(gr,V((function(t,e){return t>e}))(0)));var Er=Jt((function(t,e){var r=Number(e);if(r!==e&&(r=0),jr(r))throw new RangeError("repeat count must be non-negative");if(Or(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===t.length||0===r)return"";if(t.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var o=t;r;)o+=t,r-=1;return o+=o.substring(0,n-o.length)})),Ar=wr(Ue(1,"repeat"));const Tr=nr(String.prototype.repeat)?Ar:Er;var kr=i((function(t){return function(){return t}}))(void 0);const Pr=Oe(kr());const Nr=Rt((function(t,e,r){return r.replace(t,e)}));var Mr=Nr(/[\s\uFEFF\xA0]+$/,""),Cr=Ue(0,"trimEnd");const Fr=nr(String.prototype.trimEnd)?Cr:Mr;var Ir=Nr(/^[\s\uFEFF\xA0]+/,""),Lr=Ue(0,"trimStart");const Rr=nr(String.prototype.trimStart)?Lr:Ir;var Dr=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Me,t.prototype["@@transducer/result"]=Ce,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function Yr(t){return function(e){return new Dr(t,e)}}const Ur=V(Ne(["dropWhile"],Yr,(function(t,e){for(var r=0,n=e.length;r<n&&t(e[r]);)r+=1;return oe(r,1/0,e)})));const _r=wr(V(je));const qr=Jt((function(t,e){return se(_e(""),Ur(_r(t)),Je(""))(e)}));const Gr=wr(ze);var Jr=r(6850);const $r=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Vr=t=>{const e=(t=>{const e=t.match($r),r=Ut("",["groups","indentation"],e);return Be(r)?void 0:parseInt(r,10)})(t);if(Sr(e))return Tr(" ",e);const r=Ut("",[1],t.split("\n")),n=Ut(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return Tr(" ",n)},Wr=t=>{const e=t.match($r),r=Ut("",["groups","chomping"],e);return Be(r)?void 0:r},zr=(t,e)=>Pr(t)?`${Fr(e)}\n`:"-"===t?Fr(e):e,Br=t=>t.replace(/\r\n/g,"\n"),Hr=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,r)=>e?t:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Kr=Jt(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),Qr=se(Br,ae,Hr,_e("\n"),Ge(Rr),Je("\n")),Xr=se(Br,ae,Hr,_e("\n"),Ge(Rr),Je("\n"),Kr("'")),Zr=se(Br,ae,(t=>t.replace(/\\\n\s*/g,"")),Hr,Jr.MH,_e("\n"),Ge(Rr),Je("\n"),Kr('"'));const tn=class{static test(t){return t.tag.kind===gt.Scalar&&"string"==typeof t.content}static canonicalFormat(t){let e=t.content;const r=t.clone();return t.style===mt.Plain?e=Qr(t.content):t.style===mt.SingleQuoted?e=Xr(t.content):t.style===mt.DoubleQuoted?e=Zr(t.content):t.style===mt.Literal?e=(t=>{const e=Vr(t),r=Wr(t),n=Br(t),o=ie(n.split("\n")),i=Ve(Ge(qr(e)),Ge(Gr("\n"))),s=We(i,ze,"",o);return zr(r,s)})(t.content):t.style===mt.Folded&&(e=(t=>{const e=Vr(t),r=Wr(t),n=Br(t),o=ie(n.split("\n")),i=Ve(Ge(qr(e)),Ge(Gr("\n"))),s=We(i,ze,"",o),c=Hr(s);return zr(r,c)})(t.content)),r.content=e,r}static resolve(t){return t}};const en=class{tags;tagDirectives;constructor(){this.tags=[],this.tagDirectives=[],this.registerTag(new Ft),this.registerTag(new It),this.registerTag(new Lt)}toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===gt.Scalar?e=Lt.uri:t.tag.kind===gt.Sequence?e=It.uri:t.tag.kind===gt.Mapping&&(e=Ft.uri):t.tag.explicitName.startsWith("!<")?e=t.tag.explicitName.replace(/^!</,"").replace(/>$/,""):t.tag.explicitName.startsWith("!!")&&(e=`tag:yaml.org,2002:${t.tag.explicitName.replace(/^!!/,"")}`),e}registerTagDirective(t){this.tagDirectives.push({handle:t.parameters.handle,prefix:t.parameters.prefix})}registerTag(t,e=!1){return e?this.tags.unshift(t):this.tags.push(t),this}overrideTag(t){return this.tags=this.tags.filter((e=>e.tag===t.tag)),this.tags.push(t),this}resolve(t){const e=this.toSpecificTagName(t);if("?"===e)return t;let r=t;tn.test(t)&&(r=tn.canonicalFormat(t));const n=this.tags.find((t=>t?.tag===e));if(void 0===n)throw new Mt(`Tag "${e}" was not recognized.`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagPosition:Ot(t.tag.position),node:t.clone()});if(!n.test(r))throw new Mt(`Node couldn't be resolved against the tag "${e}"`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagPosition:Ot(t.tag.position),nodeCanonicalContent:r.content,node:t.clone()});return n.resolve(r)}};const rn=class extends Ct{static uri="tag:yaml.org,2002:bool";test(t){return/^(true|false)$/.test(t.content)}resolve(t){const e="true"===t.content,r=t.clone();return r.content=e,r}};const nn=class extends Ct{static uri="tag:yaml.org,2002:float";test(t){return/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content)}resolve(t){const e=parseFloat(t.content),r=t.clone();return r.content=e,r}};const on=class extends Ct{static uri="tag:yaml.org,2002:int";test(t){return/^-?(0|[1-9][0-9]*)$/.test(t.content)}resolve(t){const e=parseInt(t.content,10),r=t.clone();return r.content=e,r}};const sn=class extends Ct{static uri="tag:yaml.org,2002:null";test(t){return/^null$/.test(t.content)}resolve(t){const e=t.clone();return e.content=null,e}};const cn=class extends en{constructor(){super(),this.registerTag(new rn,!0),this.registerTag(new nn,!0),this.registerTag(new on,!0),this.registerTag(new sn,!0)}toSpecificTagName(t){let e=super.toSpecificTagName(t);if("?"===e)if(t.tag.vkind===gt.Sequence)e=It.uri;else if(t.tag.kind===gt.Mapping)e=Ft.uri;else if(t.tag.kind===gt.Scalar){const r=this.tags.find((e=>e.test(t)));e=r?.tag||"?"}return e}};const an=class extends Pt{};const un=class{addAnchor(t){if(!et(t.anchor))throw new an("Expected YAML anchor to be attached the the YAML AST node.",{node:t})}resolveAlias(t){return new lt({content:t.content,style:mt.Plain,styleGroup:bt.Flow})}};const ln=class extends t{static type="literal";value;constructor({value:t,...e}={}){super({...e}),this.value=t}};class fn{static type="point";type=fn.type;row;column;char;constructor({row:t,column:e,char:r}){this.row=t,this.column=e,this.char=r}}class pn{static type="position";type=pn.type;start;end;constructor({start:t,end:e}){this.start=t,this.end=e}}const yn=pn;const hn=class extends t{static type="error";value;isUnexpected;constructor({value:t,isUnexpected:e=!1,...r}={}){super({...r}),this.value=t,this.isUnexpected=e}};const gn=class extends t{static type="parseResult";get rootNode(){return a(this.children)}},dn=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},vn={},mn=t=>t?.type,bn=t=>"string"==typeof mn(t),xn=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),Sn=(t,{visitFnGetter:e=dn,nodeTypeGetter:r=mn,breakSymbol:n=vn,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,exposeEdits:s=!1}={})=>{const c=Symbol("skip"),a=new Array(t.length).fill(c);return{enter(u,l,f,p,y,h){let g=u,d=!1;const v={...h,replaceWith(t,e){h.replaceWith(t,e),g=t}};for(let u=0;u<t.length;u+=1)if(a[u]===c){const c=e(t[u],r(g),!1);if("function"==typeof c){const e=c.call(t[u],g,l,f,p,y,v);if("function"==typeof e?.then)throw new kt("Async visitor not supported in sync mode",{visitor:t[u],visitFn:c});if(e===i)a[u]=g;else if(e===n)a[u]=n;else{if(e===o)return e;if(void 0!==e){if(!s)return e;g=e,d=!0}}}}return d?g:void 0},leave(o,s,u,l,f,p){let y=o;const h={...p,replaceWith(t,e){p.replaceWith(t,e),y=t}};for(let o=0;o<t.length;o+=1)if(a[o]===c){const c=e(t[o],r(y),!0);if("function"==typeof c){const e=c.call(t[o],y,s,u,l,f,h);if("function"==typeof e?.then)throw new kt("Async visitor not supported in sync mode",{visitor:t[o],visitFn:c});if(e===n)a[o]=n;else if(void 0!==e&&e!==i)return e}}else a[o]===y&&(a[o]=c)}}};Sn[Symbol.for("nodejs.util.promisify.custom")]=(t,{visitFnGetter:e=dn,nodeTypeGetter:r=mn,breakSymbol:n=vn,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,exposeEdits:s=!1}={})=>{const c=Symbol("skip"),a=new Array(t.length).fill(c);return{async enter(u,l,f,p,y,h){let g=u,d=!1;const v={...h,replaceWith(t,e){h.replaceWith(t,e),g=t}};for(let u=0;u<t.length;u+=1)if(a[u]===c){const c=e(t[u],r(g),!1);if("function"==typeof c){const e=await c.call(t[u],g,l,f,p,y,v);if(e===i)a[u]=g;else if(e===n)a[u]=n;else{if(e===o)return e;if(void 0!==e){if(!s)return e;g=e,d=!0}}}}return d?g:void 0},async leave(o,s,u,l,f,p){let y=o;const h={...p,replaceWith(t,e){p.replaceWith(t,e),y=t}};for(let o=0;o<t.length;o+=1)if(a[o]===c){const c=e(t[o],r(y),!0);if("function"==typeof c){const e=await c.call(t[o],y,s,u,l,f,h);if(e===n)a[o]=n;else if(void 0!==e&&e!==i)return e}}else a[o]===y&&(a[o]=c)}}};const wn=(t,e,{keyMap:r=null,state:n={},breakSymbol:o=vn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=dn,nodeTypeGetter:a=mn,nodePredicate:u=bn,nodeCloneFn:l=xn,detectCycles:f=!0}={})=>{const p=r||{};let y,h,g=Array.isArray(t),d=[t],v=-1,m=[],b=t;const x=[],S=[];do{v+=1;const t=v===d.length;let r;const w=t&&0!==m.length;if(t){if(r=0===S.length?void 0:x.pop(),b=h,h=S.pop(),w)if(g){b=b.slice();let t=0;for(const[e,r]of m){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of m)b[t]=e}v=y.index,d=y.keys,m=y.edits,g=y.inArray,y=y.prev}else if(h!==i&&void 0!==h){if(r=g?v:d[v],b=h[r],b===i||void 0===b)continue;x.push(r)}let O;if(!Array.isArray(b)){if(!u(b))throw new kt(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&S.includes(b)){x.pop();continue}const i=c(e,a(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;const o={replaceWith(e,n){"function"==typeof n?n(e,b,r,h,x,S):h&&(h[r]=e),t||(b=e)}};O=i.call(e,b,r,h,x,S,o)}if("function"==typeof O?.then)throw new kt("Async visitor not supported in sync mode",{visitor:e,visitFn:i});if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(m.push([r,O]),!t)){if(!u(O)){x.pop();continue}b=O}}void 0===O&&w&&m.push([r,b]),t||(y={inArray:g,index:v,keys:d,edits:m,prev:y},g=Array.isArray(b),d=g?b:p[a(b)]??[],v=-1,m=[],h!==i&&void 0!==h&&S.push(h),h=b)}while(void 0!==y);return 0!==m.length?m[m.length-1][1]:t};wn[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:o=vn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=dn,nodeTypeGetter:a=mn,nodePredicate:u=bn,nodeCloneFn:l=xn,detectCycles:f=!0}={})=>{const p=r||{};let y,h,g=Array.isArray(t),d=[t],v=-1,m=[],b=t;const x=[],S=[];do{v+=1;const t=v===d.length;let r;const w=t&&0!==m.length;if(t){if(r=0===S.length?void 0:x.pop(),b=h,h=S.pop(),w)if(g){b=b.slice();let t=0;for(const[e,r]of m){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of m)b[t]=e}v=y.index,d=y.keys,m=y.edits,g=y.inArray,y=y.prev}else if(h!==i&&void 0!==h){if(r=g?v:d[v],b=h[r],b===i||void 0===b)continue;x.push(r)}let O;if(!Array.isArray(b)){if(!u(b))throw new kt(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&S.includes(b)){x.pop();continue}const i=c(e,a(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;const o={replaceWith(e,n){"function"==typeof n?n(e,b,r,h,x,S):h&&(h[r]=e),t||(b=e)}};O=await i.call(e,b,r,h,x,S,o)}if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(m.push([r,O]),!t)){if(!u(O)){x.pop();continue}b=O}}void 0===O&&w&&m.push([r,b]),t||(y={inArray:g,index:v,keys:d,edits:m,prev:y},g=Array.isArray(b),d=g?b:p[a(b)]??[],v=-1,m=[],h!==i&&void 0!==h&&S.push(h),h=b)}while(void 0!==y);return 0!==m.length?m[m.length-1][1]:t}})(),n})()));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomAST=e():t.apidomAST=e()}(self,(()=>(()=>{var t={85:(t,e,r)=>{"use strict";r(9828);var n=r(1100),o=r(8900),i=r(1811),s=r(6625);for(var c in n)i(o[c],c),s[c]=s.Array},164:(t,e,r)=>{"use strict";var n=r(9098),o=r(4713),i=r(4871),s=r(3410),c=r(2769),a=r(1926),u=r(3671),l=r(3491),f=r(1811),p=r(3999),y=r(3508),d=r(8655),g=r(6625),h=r(2621),v=s.PROPER,m=s.CONFIGURABLE,b=h.IteratorPrototype,x=h.BUGGY_SAFARI_ITERATORS,S=d("iterator"),w="keys",O="values",E="entries",j=function(){return this};t.exports=function(t,e,r,s,d,h,P){a(r,e,s);var A,T,k,C=function(t){if(t===d&&F)return F;if(!x&&t&&t in M)return M[t];switch(t){case w:case O:case E:return function(){return new r(this,t)}}return function(){return new r(this)}},N=e+" Iterator",I=!1,M=t.prototype,R=M[S]||M["@@iterator"]||d&&M[d],F=!x&&R||C(d),L="Array"===e&&M.entries||R;if(L&&(A=u(L.call(new t)))!==Object.prototype&&A.next&&(i||u(A)===b||(l?l(A,b):c(A[S])||y(A,S,j)),f(A,N,!0,!0),i&&(g[N]=j)),v&&d===O&&R&&R.name!==O&&(!i&&m?p(M,"name",O):(I=!0,F=function(){return o(R,this)})),d)if(T={values:C(O),keys:h?F:C(w),entries:C(E)},P)for(k in T)(x||I||!(k in M))&&y(M,k,T[k]);else n({target:e,proto:!0,forced:x||I},T);return i&&!P||M[S]===F||y(M,S,F,{name:d}),g[e]=F,T}},208:(t,e,r)=>{"use strict";var n=r(4572),o=r(4713),i=r(7235),s=r(459),c=r(2877),a=r(8130),u=r(4317),l=r(1613),f=r(967),p=r(1743),y=TypeError,d=function(t,e){this.stopped=t,this.result=e},g=d.prototype;t.exports=function(t,e,r){var h,v,m,b,x,S,w,O=r&&r.that,E=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_RECORD),P=!(!r||!r.IS_ITERATOR),A=!(!r||!r.INTERRUPTED),T=n(e,O),k=function(t){return h&&p(h,"normal",t),new d(!0,t)},C=function(t){return E?(i(t),A?T(t[0],t[1],k):T(t[0],t[1])):A?T(t,k):T(t)};if(j)h=t.iterator;else if(P)h=t;else{if(!(v=f(t)))throw new y(s(t)+" is not iterable");if(c(v)){for(m=0,b=a(t);b>m;m++)if((x=C(t[m]))&&u(g,x))return x;return new d(!1)}h=l(t,v)}for(S=j?t.next:h.next;!(w=o(S,h)).done;){try{x=C(w.value)}catch(t){p(h,"throw",t)}if("object"==typeof x&&x&&u(g,x))return x}return new d(!1)}},239:(t,e,r)=>{"use strict";r(5442);var n=r(6656);r(85),t.exports=n},262:(t,e,r)=>{"use strict";var n=r(2769);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},459:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},480:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},484:(t,e,r)=>{"use strict";var n=r(9098),o=r(8900),i=r(7013),s=r(6453),c="WebAssembly",a=o[c],u=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=s(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(t,e){if(a&&a[t]){var r={};r[t]=s(c+"."+t,e,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},493:(t,e,r)=>{"use strict";var n=r(4713),o=r(262),i=r(6281),s=r(4674),c=r(9258),a=r(8655),u=TypeError,l=a("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,a=s(t,l);if(a){if(void 0===e&&(e="default"),r=n(a,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},701:(t,e,r)=>{"use strict";var n=r(6100),o=r(2137),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},814:(t,e,r)=>{"use strict";var n=r(2769),o=r(459),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},877:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},967:(t,e,r)=>{"use strict";var n=r(8407),o=r(4674),i=r(3057),s=r(6625),c=r(8655)("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||s[n(t)]}},1003:(t,e,r)=>{"use strict";var n=r(8099),o=r(8900),i=r(2769),s=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t])||s(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},1005:(t,e,r)=>{"use strict";var n=r(3273),o=r(4574),i=r(8130),s=function(t){return function(e,r,s){var c=n(e),a=i(c);if(0===a)return!t&&-1;var u,l=o(s,a);if(t&&r!=r){for(;a>l;)if((u=c[l++])!=u)return!0}else for(;a>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},1100:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},1139:(t,e,r)=>{"use strict";var n=r(8407),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},1203:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},1212:(t,e,r)=>{t.exports=r(8411)},1268:(t,e,r)=>{"use strict";var n=r(6100),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},1314:(t,e,r)=>{"use strict";var n=r(8900),o=r(2769),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},1330:(t,e,r)=>{"use strict";var n=r(5024),o=r(1203);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1395:(t,e,r)=>{"use strict";var n=r(6100),o=r(1203),i=r(9932),s=Object,c=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):s(t)}:s},1613:(t,e,r)=>{"use strict";var n=r(4713),o=r(814),i=r(7235),s=r(459),c=r(967),a=TypeError;t.exports=function(t,e){var r=arguments.length<2?c(t):e;if(o(r))return i(n(r,t));throw new a(s(t)+" is not iterable")}},1743:(t,e,r)=>{"use strict";var n=r(4713),o=r(7235),i=r(4674);t.exports=function(t,e,r){var s,c;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){c=!0,s=t}if("throw"===e)throw r;if(c)throw s;return o(s),r}},1780:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},1811:(t,e,r)=>{"use strict";var n=r(4904),o=r(9989).f,i=r(3999),s=r(701),c=r(9559),a=r(8655)("toStringTag");t.exports=function(t,e,r,u){var l=r?t:t&&t.prototype;l&&(s(l,a)||o(l,a,{configurable:!0,value:e}),u&&!n&&i(l,"toString",c))}},1926:(t,e,r)=>{"use strict";var n=r(2621).IteratorPrototype,o=r(5780),i=r(480),s=r(1811),c=r(6625),a=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),s(t,l,!1,!0),c[l]=a,t}},1966:(t,e,r)=>{"use strict";var n=r(2937),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},2137:(t,e,r)=>{"use strict";var n=r(5426),o=Object;t.exports=function(t){return o(n(t))}},2621:(t,e,r)=>{"use strict";var n,o,i,s=r(1203),c=r(2769),a=r(262),u=r(5780),l=r(3671),f=r(3508),p=r(8655),y=r(4871),d=p("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):g=!0),!a(n)||s((function(){var t={};return n[d].call(t)!==t}))?n={}:y&&(n=u(n)),c(n[d])||f(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},2769:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2871:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},2877:(t,e,r)=>{"use strict";var n=r(8655),o=r(6625),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},2937:(t,e,r)=>{"use strict";var n=r(262);t.exports=function(t){return n(t)||null===t}},3057:t=>{"use strict";t.exports=function(t){return null==t}},3085:(t,e,r)=>{"use strict";var n=r(9098),o=r(4317),i=r(3671),s=r(3491),c=r(7464),a=r(5780),u=r(3999),l=r(480),f=r(8148),p=r(4279),y=r(208),d=r(4879),g=r(8655)("toStringTag"),h=Error,v=[].push,m=function(t,e){var r,n=o(b,this);s?r=s(new h,n?i(this):b):(r=n?this:a(b),u(r,g,"Error")),void 0!==e&&u(r,"message",d(e)),p(r,m,r.stack,1),arguments.length>2&&f(r,arguments[2]);var c=[];return y(t,v,{that:c}),u(r,"errors",c),r};s?s(m,h):c(m,h,{name:!0});var b=m.prototype=a(h.prototype,{constructor:l(1,m),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:m})},3273:(t,e,r)=>{"use strict";var n=r(1395),o=r(5426);t.exports=function(t){return n(o(t))}},3410:(t,e,r)=>{"use strict";var n=r(5024),o=r(701),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},3489:(t,e,r)=>{"use strict";var n=r(1003);t.exports=n("document","documentElement")},3491:(t,e,r)=>{"use strict";var n=r(3574),o=r(262),i=r(5426),s=r(1966);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),s(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},3507:(t,e,r)=>{"use strict";var n=r(2769),o=r(262),i=r(3491);t.exports=function(t,e,r){var s,c;return i&&n(s=e.constructor)&&s!==r&&o(c=s.prototype)&&c!==r.prototype&&i(t,c),t}},3508:(t,e,r)=>{"use strict";var n=r(3999);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},3531:(t,e,r)=>{"use strict";var n=r(8900).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},3574:(t,e,r)=>{"use strict";var n=r(6100),o=r(814);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},3671:(t,e,r)=>{"use strict";var n=r(701),o=r(2769),i=r(2137),s=r(4275),c=r(2871),a=s("IE_PROTO"),u=Object,l=u.prototype;t.exports=c?u.getPrototypeOf:function(t){var e=i(t);if(n(e,a))return e[a];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},3753:(t,e,r)=>{"use strict";var n=r(4871),o=r(8900),i=r(7525),s="__core-js_shared__",c=t.exports=o[s]||i(s,{});(c.versions||(c.versions=[])).push({version:"3.42.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},3832:(t,e,r)=>{"use strict";var n=r(5571).charAt,o=r(1139),i=r(8417),s=r(164),c=r(877),a="String Iterator",u=i.set,l=i.getterFor(a);s(String,"String",(function(t){u(this,{type:a,string:o(t),index:0})}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?c(void 0,!0):(t=n(r,o),e.index+=t.length,c(t,!1))}))},3885:(t,e,r)=>{"use strict";var n=r(6100),o=Error,i=n("".replace),s=String(new o("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(s);t.exports=function(t,e){if(a&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,c,"");return t}},3999:(t,e,r)=>{"use strict";var n=r(5024),o=r(9989),i=r(480);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},4275:(t,e,r)=>{"use strict";var n=r(8141),o=r(1268),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},4279:(t,e,r)=>{"use strict";var n=r(3999),o=r(3885),i=r(5791),s=Error.captureStackTrace;t.exports=function(t,e,r,c){i&&(s?s(t,e):n(t,"stack",o(r,c)))}},4317:(t,e,r)=>{"use strict";var n=r(6100);t.exports=n({}.isPrototypeOf)},4543:(t,e,r)=>{"use strict";var n=r(5024),o=r(4713),i=r(7161),s=r(480),c=r(3273),a=r(5341),u=r(701),l=r(9665),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=a(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},4572:(t,e,r)=>{"use strict";var n=r(9344),o=r(814),i=r(1780),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},4574:(t,e,r)=>{"use strict";var n=r(9903),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},4603:(t,e,r)=>{"use strict";var n=r(5547),o=r(1203),i=r(8900).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4674:(t,e,r)=>{"use strict";var n=r(814),o=r(3057);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},4713:(t,e,r)=>{"use strict";var n=r(1780),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},4871:t=>{"use strict";t.exports=!0},4879:(t,e,r)=>{"use strict";var n=r(1139);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},4904:(t,e,r)=>{"use strict";var n={};n[r(8655)("toStringTag")]="z",t.exports="[object z]"===String(n)},5024:(t,e,r)=>{"use strict";var n=r(1203);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5116:(t,e,r)=>{"use strict";var n=r(8600),o=r(9683).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5241:t=>{"use strict";t.exports={}},5341:(t,e,r)=>{"use strict";var n=r(493),o=r(6281);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},5426:(t,e,r)=>{"use strict";var n=r(3057),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},5442:(t,e,r)=>{"use strict";r(5695)},5516:(t,e,r)=>{"use strict";var n=r(9989).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},5547:(t,e,r)=>{"use strict";var n,o,i=r(8900),s=r(3531),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},5571:(t,e,r)=>{"use strict";var n=r(6100),o=r(9903),i=r(1139),s=r(5426),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(s(e)),p=o(r),y=f.length;return p<0||p>=y?t?"":void 0:(n=a(f,p))<55296||n>56319||p+1===y||(l=a(f,p+1))<56320||l>57343?t?c(f,p):n:t?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},5691:(t,e,r)=>{"use strict";var n=r(1003),o=r(6100),i=r(5116),s=r(7313),c=r(7235),a=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=s.f;return r?a(e,r(t)):e}},5695:(t,e,r)=>{"use strict";r(3085)},5777:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},5780:(t,e,r)=>{"use strict";var n,o=r(7235),i=r(7389),s=r(9683),c=r(5241),a=r(3489),u=r(9619),l=r(4275),f="prototype",p="script",y=l("IE_PROTO"),d=function(){},g=function(t){return"<"+p+">"+t+"</"+p+">"},h=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;v="undefined"!=typeof document?document.domain&&n?h(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",a.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):h(n);for(var o=s.length;o--;)delete v[f][s[o]];return v()};c[y]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d[f]=o(t),r=new d,d[f]=null,r[y]=t):r=v(),void 0===e?r:i.f(r,e)}},5791:(t,e,r)=>{"use strict";var n=r(1203),o=r(480);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},6100:(t,e,r)=>{"use strict";var n=r(1780),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},6138:(t,e,r)=>{"use strict";var n=r(9098),o=r(1003),i=r(7013),s=r(1203),c=r(6453),a="AggregateError",u=o(a),l=!s((function(){return 1!==u([1]).errors[0]}))&&s((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},6281:(t,e,r)=>{"use strict";var n=r(1003),o=r(2769),i=r(4317),s=r(7460),c=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,c(t))}},6453:(t,e,r)=>{"use strict";var n=r(1003),o=r(701),i=r(3999),s=r(4317),c=r(3491),a=r(7464),u=r(5516),l=r(3507),f=r(4879),p=r(8148),y=r(4279),d=r(5024),g=r(4871);t.exports=function(t,e,r,h){var v="stackTraceLimit",m=h?2:1,b=t.split("."),x=b[b.length-1],S=n.apply(null,b);if(S){var w=S.prototype;if(!g&&o(w,"cause")&&delete w.cause,!r)return S;var O=n("Error"),E=e((function(t,e){var r=f(h?e:t,void 0),n=h?new S(t):new S;return void 0!==r&&i(n,"message",r),y(n,E,n.stack,2),this&&s(w,this)&&l(n,this,E),arguments.length>m&&p(n,arguments[m]),n}));if(E.prototype=w,"Error"!==x?c?c(E,O):a(E,O,{name:!0}):d&&v in S&&(u(E,S,v),u(E,S,"prepareStackTrace")),a(E,S),!g)try{w.name!==x&&i(w,"name",x),w.constructor=E}catch(t){}return E}}},6625:t=>{"use strict";t.exports={}},6656:(t,e,r)=>{"use strict";r(484),r(5695),r(6138),r(9828),r(3832);var n=r(8099);t.exports=n.AggregateError},6850:(t,e,r)=>{"use strict";e.MH=void 0;const n=r(8583);function o(t,e,r){const o=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(o)||void 0!==r&&r!==t.length)throw new SyntaxError(n.errorMessages.get(e));return o}function i(t,e){const r=o(t,n.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=o(e,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}const s=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const c=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function a(t,e=!1){return t.replace(c,(function(t,r,c,a,u,l,f,p,y){if(void 0!==r)return"\\";if(void 0!==c)return function(t){const e=o(t,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(c);if(void 0!==a)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var e;const r=o(t.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(t){throw t instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):t}}(a);if(void 0!==u)return i(u,l);if(void 0!==f)return i(f);if("0"===p)return"\0";if(void 0!==p)return function(t,e=!1){if(e)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(t,8);return String.fromCharCode(r)}(p,!e);if(void 0!==y)return d=y,s.get(d)||d;var d;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.MH=a},7013:(t,e,r)=>{"use strict";var n=r(1780),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},7161:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7202:(t,e,r)=>{"use strict";var n=r(239);t.exports=n},7235:(t,e,r)=>{"use strict";var n=r(262),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},7313:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},7389:(t,e,r)=>{"use strict";var n=r(5024),o=r(1330),i=r(9989),s=r(7235),c=r(3273),a=r(8364);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=c(e),o=a(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},7460:(t,e,r)=>{"use strict";var n=r(4603);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7464:(t,e,r)=>{"use strict";var n=r(701),o=r(5691),i=r(4543),s=r(9989);t.exports=function(t,e,r){for(var c=o(e),a=s.f,u=i.f,l=0;l<c.length;l++){var f=c[l];n(t,f)||r&&n(r,f)||a(t,f,u(e,f))}}},7525:(t,e,r)=>{"use strict";var n=r(8900),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},8099:t=>{"use strict";t.exports={}},8130:(t,e,r)=>{"use strict";var n=r(8146);t.exports=function(t){return n(t.length)}},8137:t=>{"use strict";t.exports=function(){}},8141:(t,e,r)=>{"use strict";var n=r(3753);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},8146:(t,e,r)=>{"use strict";var n=r(9903),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},8148:(t,e,r)=>{"use strict";var n=r(262),o=r(3999);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},8337:(t,e,r)=>{"use strict";r(5442);var n=r(7202);t.exports=n},8364:(t,e,r)=>{"use strict";var n=r(8600),o=r(9683);t.exports=Object.keys||function(t){return n(t,o)}},8407:(t,e,r)=>{"use strict";var n=r(4904),o=r(2769),i=r(9932),s=r(8655)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=c(t),s))?r:a?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},8411:(t,e,r)=>{"use strict";t.exports=r(8337)},8417:(t,e,r)=>{"use strict";var n,o,i,s=r(1314),c=r(8900),a=r(262),u=r(3999),l=r(701),f=r(3753),p=r(4275),y=r(5241),d="Object already initialized",g=c.TypeError,h=c.WeakMap;if(s||f.state){var v=f.state||(f.state=new h);v.get=v.get,v.has=v.has,v.set=v.set,n=function(t,e){if(v.has(t))throw new g(d);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},i=function(t){return v.has(t)}}else{var m=p("state");y[m]=!0,n=function(t,e){if(l(t,m))throw new g(d);return e.facade=t,u(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!a(e)||(r=o(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return r}}}},8583:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.errorMessages=e.ErrorType=void 0,function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(r=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},8600:(t,e,r)=>{"use strict";var n=r(6100),o=r(701),i=r(3273),s=r(1005).indexOf,c=r(5241),a=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(c,r)&&o(n,r)&&a(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~s(l,r)||a(l,r));return l}},8655:(t,e,r)=>{"use strict";var n=r(8900),o=r(8141),i=r(701),s=r(1268),c=r(4603),a=r(7460),u=n.Symbol,l=o("wks"),f=a?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=c&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},8696:(t,e,r)=>{"use strict";var n=r(1203),o=r(2769),i=/#|\.prototype\./,s=function(t,e){var r=a[c(t)];return r===l||r!==u&&(o(e)?n(e):!!e)},c=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},8900:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9098:(t,e,r)=>{"use strict";var n=r(8900),o=r(7013),i=r(9344),s=r(2769),c=r(4543).f,a=r(8696),u=r(8099),l=r(4572),f=r(3999),p=r(701);r(3753);var y=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,d,g,h,v,m,b,x,S=t.target,w=t.global,O=t.stat,E=t.proto,j=w?n:O?n[S]:n[S]&&n[S].prototype,P=w?u:u[S]||f(u,S,{})[S],A=P.prototype;for(g in e)o=!(r=a(w?g:S+(O?".":"#")+g,t.forced))&&j&&p(j,g),v=P[g],o&&(m=t.dontCallGetSet?(x=c(j,g))&&x.value:j[g]),h=o&&m?m:e[g],(r||E||typeof v!=typeof h)&&(b=t.bind&&o?l(h,n):t.wrap&&o?y(h):E&&s(h)?i(h):h,(t.sham||h&&h.sham||v&&v.sham)&&f(b,"sham",!0),f(P,g,b),E&&(p(u,d=S+"Prototype")||f(u,d,{}),f(u[d],g,h),t.real&&A&&(r||!A[g])&&f(A,g,h)))}},9258:(t,e,r)=>{"use strict";var n=r(4713),o=r(2769),i=r(262),s=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&o(r=t.toString)&&!i(c=n(r,t)))return c;if(o(r=t.valueOf)&&!i(c=n(r,t)))return c;if("string"!==e&&o(r=t.toString)&&!i(c=n(r,t)))return c;throw new s("Can't convert object to primitive value")}},9344:(t,e,r)=>{"use strict";var n=r(9932),o=r(6100);t.exports=function(t){if("Function"===n(t))return o(t)}},9559:(t,e,r)=>{"use strict";var n=r(4904),o=r(8407);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},9619:(t,e,r)=>{"use strict";var n=r(8900),o=r(262),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},9665:(t,e,r)=>{"use strict";var n=r(5024),o=r(1203),i=r(9619);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},9683:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9828:(t,e,r)=>{"use strict";var n=r(3273),o=r(8137),i=r(6625),s=r(8417),c=r(9989).f,a=r(164),u=r(877),l=r(4871),f=r(5024),p="Array Iterator",y=s.set,d=s.getterFor(p);t.exports=a(Array,"Array",(function(t,e){y(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)}),"values");var g=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==g.name)try{c(g,"name",{value:"values"})}catch(t){}},9903:(t,e,r)=>{"use strict";var n=r(5777);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},9932:(t,e,r)=>{"use strict";var n=r(6100),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},9989:(t,e,r)=>{"use strict";var n=r(5024),o=r(9665),i=r(1330),s=r(7235),c=r(5341),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",y="writable";e.f=n?i?function(t,e,r){if(s(t),e=c(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&y in r&&!r[y]){var n=l(t,e);n&&n[y]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(s(t),e=c(e),s(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(t[e]=r.value),t}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{BREAK:()=>pn,Error:()=>un,JsonArray:()=>A,JsonDocument:()=>u,JsonEscapeSequence:()=>I,JsonFalse:()=>F,JsonKey:()=>C,JsonNode:()=>e,JsonNull:()=>L,JsonNumber:()=>M,JsonObject:()=>j,JsonProperty:()=>P,JsonString:()=>k,JsonStringContent:()=>N,JsonTrue:()=>R,JsonValue:()=>T,Literal:()=>on,ParseResult:()=>ln,Point:()=>sn,Position:()=>an,YamlAlias:()=>D,YamlAnchor:()=>gt,YamlCollection:()=>_,YamlComment:()=>q,YamlDirective:()=>V,YamlDocument:()=>W,YamlError:()=>Ot,YamlFailsafeSchema:()=>Kr,YamlJsonSchema:()=>en,YamlKeyValuePair:()=>it,YamlMapping:()=>ct,YamlNode:()=>Y,YamlNodeKind:()=>yt,YamlReferenceError:()=>rn,YamlReferenceManager:()=>nn,YamlScalar:()=>at,YamlSchemaError:()=>Et,YamlSequence:()=>lt,YamlStream:()=>pt,YamlStyle:()=>ht,YamlStyleGroup:()=>vt,YamlTag:()=>dt,YamlTagError:()=>jt,cloneNode:()=>gn,getNodeType:()=>yn,getVisitFn:()=>fn,isJsonArray:()=>b,isJsonDocument:()=>y,isJsonEscapeSequence:()=>w,isJsonFalse:()=>g,isJsonKey:()=>E,isJsonNull:()=>v,isJsonNumber:()=>m,isJsonObject:()=>x,isJsonProperty:()=>O,isJsonString:()=>d,isJsonStringContent:()=>S,isJsonTrue:()=>h,isLiteral:()=>f,isNode:()=>dn,isParseResult:()=>p,isYamlAlias:()=>et,isYamlAnchor:()=>Z,isYamlComment:()=>nt,isYamlDirective:()=>rt,isYamlDocument:()=>B,isYamlKeyValuePair:()=>Q,isYamlMapping:()=>H,isYamlScalar:()=>tt,isYamlSequence:()=>K,isYamlStream:()=>z,isYamlTag:()=>X,mergeAllVisitors:()=>hn,visit:()=>vn});const t=class{static type="node";type="node";isMissing;children;startPositionRow;startPositionColumn;startIndex;endPositionRow;endPositionColumn;endIndex;constructor({children:t=[],isMissing:e=!1,startPositionRow:r,startPositionColumn:n,startIndex:o,endPositionRow:i,endPositionColumn:s,endIndex:c}={}){this.type=this.constructor.type,this.isMissing=e,this.children=t,this.startPositionRow=r,this.startPositionColumn=n,this.startIndex=o,this.endPositionRow=i,this.endPositionColumn=s,this.endIndex=c}clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const r=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,r)})),t}};const e=class extends t{};function o(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function i(t){return function e(r){return 0===arguments.length||o(r)?e:t.apply(this,arguments)}}function s(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t,e){var r=t<0?e.length+t:t;return s(e)?e.charAt(r):e[r]}const a=i((function(t){return c(0,t)}));const u=class extends e{static type="document";get child(){return a(this.children)}},l=(t,e)=>null!=e&&"object"==typeof e&&"type"in e&&e.type===t,f=t=>l("literal",t),p=t=>l("parseResult",t),y=t=>l("document",t),d=t=>l("string",t),g=t=>l("false",t),h=t=>l("true",t),v=t=>l("null",t),m=t=>l("number",t),b=t=>l("array",t),x=t=>l("object",t),S=t=>l("stringContent",t),w=t=>l("escapeSequence",t),O=t=>l("property",t),E=t=>l("key",t);const j=class extends e{static type="object";get properties(){return this.children.filter(O)}};const P=class extends e{static type="property";get key(){return this.children.find(E)}get value(){return this.children.find((t=>g(t)||h(t)||v(t)||m(t)||d(t)||b(t)||x(t)))}};const A=class extends e{static type="array";get items(){return this.children.filter((t=>g(t)||h(t)||v(t)||m(t)||d(t)||b(t)||x))}};const T=class extends e{static type="value";value;constructor({value:t,...e}){super({...e}),this.value=t}};const k=class extends e{static type="string";get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((t=>S(t)||w(t))).reduce(((t,e)=>t+e.value),"")}};const C=class extends k{static type="key"};const N=class extends T{static type="stringContent"};const I=class extends T{static type="escapeSequence"};const M=class extends T{static type="number"};const R=class extends T{static type="true"};const F=class extends T{static type="false"};const L=class extends T{static type="null"};const D=class extends t{static type="alias";content;constructor({content:t,...e}){super({...e}),this.content=t}};const Y=class extends t{anchor;tag;style;styleGroup;constructor({anchor:t,tag:e,style:r,styleGroup:n,...o}){super({...o}),this.anchor=t,this.tag=e,this.style=r,this.styleGroup=n}};const _=class extends Y{};const q=class extends t{static type="comment";content;constructor({content:t,...e}){super({...e}),this.content=t}};function U(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const G="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,n=arguments.length;r<n;){var o=arguments[r];if(null!=o)for(var i in o)U(i,o)&&(e[i]=o[i]);r+=1}return e};function J(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return o(r)?e:i((function(e){return t(r,e)}));default:return o(r)&&o(n)?e:o(r)?i((function(e){return t(e,n)})):o(n)?i((function(e){return t(r,e)})):t(r,n)}}}const $=J((function(t,e){return G({},t,e)}));const V=class extends t{static type="directive";name;parameters;constructor({name:t,parameters:e,...r}){super({...r}),this.name=t,this.parameters=$({version:void 0,handle:void 0,prefix:void 0},e)}};const W=class extends t{static type="document"},z=t=>l("stream",t),B=t=>l("document",t),H=t=>l("mapping",t),K=t=>l("sequence",t),Q=t=>l("keyValuePair",t),X=t=>l("tag",t),Z=t=>l("anchor",t),tt=t=>l("scalar",t),et=t=>l("alias",t),rt=t=>l("directive",t),nt=t=>l("comment",t);class ot extends t{static type="keyValuePair";styleGroup;constructor({styleGroup:t,...e}){super({...e}),this.styleGroup=t}}Object.defineProperties(ot.prototype,{key:{get(){return this.children.filter((t=>tt(t)||H(t)||K(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>tt(t)||H(t)||K(t)||et(t))(e)))[0]},enumerable:!0}});const it=ot;class st extends _{static type="mapping"}Object.defineProperty(st.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter(Q):[]},enumerable:!0});const ct=st;const at=class extends Y{static type="scalar";content;constructor({content:t,...e}){super({...e}),this.content=t}};class ut extends _{static type="sequence"}Object.defineProperty(ut.prototype,"content",{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>K(t)||H(t)||tt(t)||et(t))):[]},enumerable:!0});const lt=ut;class ft extends t{static type="stream"}Object.defineProperty(ft.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter((t=>B(t)||nt(t))):[]},enumerable:!0});const pt=ft;let yt=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const dt=class extends t{static type="tag";explicitName;kind;constructor({explicitName:t,kind:e,...r}){super({...r}),this.explicitName=t,this.kind=e}};const gt=class extends t{static type="anchor";name;constructor({name:t,...e}){super({...e}),this.name=t}};let ht=function(t){return t.Plain="Plain",t.SingleQuoted="SingleQuoted",t.DoubleQuoted="DoubleQuoted",t.Literal="Literal",t.Folded="Folded",t.Explicit="Explicit",t.SinglePair="SinglePair",t.NextLine="NextLine",t.InLine="InLine",t}({}),vt=function(t){return t.Flow="Flow",t.Block="Block",t}({});var mt=r(1212);const bt=class extends mt{constructor(t,e,r){if(super(t,e,r),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:t}=r;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}};class xt extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call(bt,t)}constructor(t,e){if(super(t,e),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=e&&"object"==typeof e&&Object.hasOwn(e,"cause")&&!("cause"in this)){const{cause:t}=e;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}}const St=xt;const wt=class extends St{constructor(t,e){if(super(t,e),null!=e&&"object"==typeof e){const{cause:t,...r}=e;Object.assign(this,r)}}};const Ot=class extends wt{};const Et=class extends Ot{};const jt=class extends Et{specificTagName;explicitTagName;tagKind;tagStartPositionRow;tagStartPositionColumn;tagStartPositionIndex;tagEndPositionRow;tagEndPositionColumn;tagEndPositionIndex;nodeCanonicalContent;node;constructor(t,e){super(t,e),void 0!==e&&(this.specificTagName=e.specificTagName,this.explicitTagName=e.explicitTagName,this.tagKind=e.tagKind,this.tagStartPositionRow=e.tagStartPositionRow,this.tagStartPositionColumn=e.tagStartPositionColumn,this.tagStartPositionIndex=e.tagStartPositionIndex,this.tagEndPositionRow=e.tagEndPositionRow,this.tagEndPositionColumn=e.tagEndPositionColumn,this.tagEndPositionIndex=e.tagEndPositionIndex,this.nodeCanonicalContent=e.nodeCanonicalContent,this.node=e.node)}};const Pt=class{static uri="";tag="";constructor(){this.tag=this.constructor.uri}test(t){return!0}resolve(t){return t}};const At=class extends Pt{static uri="tag:yaml.org,2002:map";test(t){return t.tag.kind===yt.Mapping}};const Tt=class extends Pt{static uri="tag:yaml.org,2002:seq";test(t){return t.tag.kind===yt.Sequence}};const kt=class extends Pt{static uri="tag:yaml.org,2002:str"};function Ct(t){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return o(r)?e:J((function(e,n){return t(r,e,n)}));case 2:return o(r)&&o(n)?e:o(r)?J((function(e,r){return t(e,n,r)})):o(n)?J((function(e,n){return t(r,e,n)})):i((function(e){return t(r,n,e)}));default:return o(r)&&o(n)&&o(s)?e:o(r)&&o(n)?J((function(e,r){return t(e,r,s)})):o(r)&&o(s)?J((function(e,r){return t(e,n,r)})):o(n)&&o(s)?J((function(e,n){return t(r,e,n)})):o(r)?i((function(e){return t(e,n,s)})):o(n)?i((function(e){return t(r,e,s)})):o(s)?i((function(e){return t(r,n,e)})):t(r,n,s)}}}const Nt=Number.isInteger||function(t){return(t|0)===t};const It=J((function(t,e){return null==e||e!=e?t:e}));const Mt=Ct((function(t,e,r){return It(t,function(t,e){for(var r=e,n=0;n<t.length;n+=1){if(null==r)return;var o=t[n];r=Nt(o)?c(o,r):r[o]}return r}(e,r))}));function Rt(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,o){return e.apply(this,arguments)};case 5:return function(t,r,n,o,i){return e.apply(this,arguments)};case 6:return function(t,r,n,o,i,s){return e.apply(this,arguments)};case 7:return function(t,r,n,o,i,s,c){return e.apply(this,arguments)};case 8:return function(t,r,n,o,i,s,c,a){return e.apply(this,arguments)};case 9:return function(t,r,n,o,i,s,c,a,u){return e.apply(this,arguments)};case 10:return function(t,r,n,o,i,s,c,a,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Ft(t,e,r){return function(){for(var n=[],i=0,s=t,c=0,a=!1;c<e.length||i<arguments.length;){var u;c<e.length&&(!o(e[c])||i>=arguments.length)?u=e[c]:(u=arguments[i],i+=1),n[c]=u,o(u)?a=!0:s-=1,c+=1}return!a&&s<=0?r.apply(this,n):Rt(Math.max(0,s),Ft(t,n,r))}}const Lt=J((function(t,e){return 1===t?i(e):Rt(t,Ft(t,[],e))}));const Dt=i((function(t){return Lt(t.length,t)}));function Yt(t,e){return function(){return e.call(this,t.apply(this,arguments))}}const _t=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};const qt=i((function(t){return!!_t(t)||!!t&&("object"==typeof t&&(!s(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var Ut="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Gt(t,e,r){return function(n,o,i){if(qt(i))return t(n,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(n,o,i,"fantasy-land/reduce");if(null!=i[Ut])return r(n,o,i[Ut]());if("function"==typeof i.next)return r(n,o,i);if("function"==typeof i.reduce)return e(n,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Jt(t,e,r){for(var n=0,o=r.length;n<o;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const $t=J((function(t,e){return Rt(t.length,(function(){return t.apply(e,arguments)}))}));function Vt(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function Wt(t,e,r,n){return t["@@transducer/result"](r[n]($t(t["@@transducer/step"],t),e))}const zt=Gt(Jt,Wt,Vt);var Bt=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function Ht(t){return new Bt(t)}const Kt=Ct((function(t,e,r){return zt("function"==typeof t?Ht(t):t,e,r)}));function Qt(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return _t(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Xt=Ct(Qt("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const Zt=i(Qt("tail",Xt(1,1/0)));function te(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Rt(arguments[0].length,Kt(Yt,arguments[0],Zt(arguments)))}var ee="\t\n\v\f\r \u2028\u2029\ufeff";const re=i("function"==typeof String.prototype.trim&&!ee.trim()&&"".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+ee+"]["+ee+"]*"),r=new RegExp("["+ee+"]["+ee+"]*$");return t.replace(e,"").replace(r,"")});function ne(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}function oe(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function ie(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}const se="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var ce=Object.prototype.toString;const ae=function(){return"[object Arguments]"===ce.call(arguments)?function(t){return"[object Arguments]"===ce.call(t)}:function(t){return U("callee",t)}}();var ue=!{toString:null}.propertyIsEnumerable("toString"),le=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],fe=function(){return arguments.propertyIsEnumerable("length")}(),pe=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},ye="function"!=typeof Object.keys||fe?i((function(t){if(Object(t)!==t)return[];var e,r,n=[],o=fe&&ae(t);for(e in t)!U(e,t)||o&&"length"===e||(n[n.length]=e);if(ue)for(r=le.length-1;r>=0;)U(e=le[r],t)&&!pe(n,e)&&(n[n.length]=e),r-=1;return n})):i((function(t){return Object(t)!==t?[]:Object.keys(t)}));const de=ye;const ge=i((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function he(t,e,r,n){var o=oe(t);function i(t,e){return ve(t,e,r.slice(),n.slice())}return!ie((function(t,e){return!ie(i,e,t)}),oe(e),o)}function ve(t,e,r,n){if(se(t,e))return!0;var o,i,s=ge(t);if(s!==ge(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!se(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!se(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var c=r.length-1;c>=0;){if(r[c]===t)return n[c]===e;c-=1}switch(s){case"Map":return t.size===e.size&&he(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&he(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=de(t);if(a.length!==de(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(c=a.length-1;c>=0;){var f=a[c];if(!U(f,e)||!ve(e[f],t[f],u,l))return!1;c-=1}return!0}const me=J((function(t,e){return ve(t,e,[],[])}));function be(t,e){return function(t,e,r){var n,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(o=t[r])&&1/o===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(me(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function xe(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function Se(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var we=function(t){return(t<10?"0":"")+t};const Oe="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+we(t.getUTCMonth()+1)+"-"+we(t.getUTCDate())+"T"+we(t.getUTCHours())+":"+we(t.getUTCMinutes())+":"+we(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Ee(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}function je(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!_t(n)){for(var o=0;o<t.length;){if("function"==typeof n[t[o]])return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}const Pe=function(){return this.xf["@@transducer/init"]()},Ae=function(t){return this.xf["@@transducer/result"](t)};var Te=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Pe,t.prototype["@@transducer/result"]=Ae,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function ke(t){return function(e){return new Te(t,e)}}const Ce=J(je(["fantasy-land/filter","filter"],ke,(function(t,e){return r=e,"[object Object]"===Object.prototype.toString.call(r)?Ee((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},de(e)):function(t,e){for(var r=0,n=e.length,o=[];r<n;)t(e[r])&&(o[o.length]=e[r]),r+=1;return o}(t,e);var r})));const Ne=J((function(t,e){return Ce((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function Ie(t,e){var r=function(r){var n=e.concat([t]);return be(r,n)?"<Circular>":Ie(r,n)},n=function(t,e){return xe((function(e){return Se(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+xe(r,t).join(", ")+"))";case"[object Array]":return"["+xe(r,t).concat(n(t,Ne((function(t){return/^\d+$/.test(t)}),de(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):Se(Oe(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":Se(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+n(t,de(t)).join(", ")+"}"}}const Me=i((function(t){return Ie(t,[])}));const Re=J((function(t,e){return Lt(t+1,(function(){var r=arguments[t];if(null!=r&&ne(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(Me(r)+' does not have a method named "'+e+'"')}))}));const Fe=Re(1,"split");var Le=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Pe,t.prototype["@@transducer/result"]=Ae,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const De=J(je(["fantasy-land/map","map"],(function(t){return function(e){return new Le(t,e)}}),(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Lt(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return Ee((function(r,n){return r[n]=t(e[n]),r}),{},de(e));default:return xe(t,e)}})));const Ye=Re(1,"join");const _e=i((function(t){return s(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function qe(){if(0===arguments.length)throw new Error("compose requires at least one argument");return te.apply(this,_e(arguments))}const Ue=Lt(4,(function(t,e,r,n){return zt(t("function"==typeof e?Ht(e):e),r,n)}));const Ge=J((function(t,e){if(_t(t)){if(_t(e))return t.concat(e);throw new TypeError(Me(e)+" is not an array")}if(s(t)){if(s(e))return t+e;throw new TypeError(Me(e)+" is not a string")}if(null!=t&&ne(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&ne(t.concat))return t.concat(e);throw new TypeError(Me(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Je=me("");const $e=J((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var o=r(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=Me(t),s=r(i,Me(e));return void 0!==s&&s===i?t:e}));const Ve=J((function(t,e){if(null!=e)return Nt(t)?c(t,e):e[t]}));const We=J((function(t,e){return De(Ve(t),e)}));const ze=i((function(t){return Lt(Kt($e,0,We("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));var Be=function(t,e){switch(arguments.length){case 0:return Be;case 1:return function e(r){return 0===arguments.length?e:se(t,r)};default:return se(t,e)}};const He=Be;const Ke=Lt(1,te(ge,He("GeneratorFunction")));const Qe=Lt(1,te(ge,He("AsyncFunction")));const Xe=ze([te(ge,He("Function")),Ke,Qe]);const Ze=J((function(t,e){return t&&e}));function tr(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function er(t,e,r,n){return r[n](t,e)}const rr=Gt(Ee,er,tr);const nr=J((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:rr((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,o=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<o;)i[i.length]=e[r],r+=1;return i}(t,De(r,e))}),[],t)}));const or=J((function(t,e){var r=Lt(t,e);return Lt(t,(function(){return Ee(nr,De(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const ir=i((function(t){return or(t.length,t)}));const sr=J((function(t,e){return ne(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:ir(Ze)(t,e)}));const cr=J((function(t,e){return Lt(Kt($e,0,We("length",e)),(function(){var r=arguments,n=this;return t.apply(n,xe((function(t){return t.apply(n,r)}),e))}))}));function ar(t){return t}const ur=i(ar);const lr=Lt(1,te(ge,He("Number")));var fr=sr(lr,isFinite);var pr=Lt(1,fr);const yr=Xe(Number.isFinite)?Lt(1,$t(Number.isFinite,Number)):pr;var dr=sr(yr,cr(me,[Math.floor,ur]));var gr=Lt(1,dr);const hr=Xe(Number.isInteger)?Lt(1,$t(Number.isInteger,Number)):gr;const vr=i((function(t){return Lt(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}));const mr=ir(i((function(t){return!t})))(yr);const br=Lt(1,sr(lr,J((function(t,e){return t>e}))(0)));var xr=Dt((function(t,e){var r=Number(e);if(r!==e&&(r=0),br(r))throw new RangeError("repeat count must be non-negative");if(mr(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===t.length||0===r)return"";if(t.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var o=t;r;)o+=t,r-=1;return o+=o.substring(0,n-o.length)})),Sr=vr(Re(1,"repeat"));const wr=Xe(String.prototype.repeat)?Sr:xr;var Or=i((function(t){return function(){return t}}))(void 0);const Er=me(Or());const jr=Ct((function(t,e,r){return r.replace(t,e)}));var Pr=jr(/[\s\uFEFF\xA0]+$/,""),Ar=Re(0,"trimEnd");const Tr=Xe(String.prototype.trimEnd)?Ar:Pr;var kr=jr(/^[\s\uFEFF\xA0]+/,""),Cr=Re(0,"trimStart");const Nr=Xe(String.prototype.trimStart)?Cr:kr;var Ir=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Pe,t.prototype["@@transducer/result"]=Ae,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function Mr(t){return function(e){return new Ir(t,e)}}const Rr=J(je(["dropWhile"],Mr,(function(t,e){for(var r=0,n=e.length;r<n&&t(e[r]);)r+=1;return Xt(r,1/0,e)})));const Fr=vr(J(be));const Lr=Dt((function(t,e){return te(Fe(""),Rr(Fr(t)),Ye(""))(e)}));const Dr=vr(Ge);var Yr=r(6850);const _r=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,qr=t=>{const e=(t=>{const e=t.match(_r),r=Mt("",["groups","indentation"],e);return Je(r)?void 0:parseInt(r,10)})(t);if(hr(e))return wr(" ",e);const r=Mt("",[1],t.split("\n")),n=Mt(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return wr(" ",n)},Ur=t=>{const e=t.match(_r),r=Mt("",["groups","chomping"],e);return Je(r)?void 0:r},Gr=(t,e)=>Er(t)?`${Tr(e)}\n`:"-"===t?Tr(e):e,Jr=t=>t.replace(/\r\n/g,"\n"),$r=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,r)=>e?t:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Vr=Dt(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),Wr=te(Jr,re,$r,Fe("\n"),De(Nr),Ye("\n")),zr=te(Jr,re,$r,Fe("\n"),De(Nr),Ye("\n"),Vr("'")),Br=te(Jr,re,(t=>t.replace(/\\\n\s*/g,"")),$r,Yr.MH,Fe("\n"),De(Nr),Ye("\n"),Vr('"'));const Hr=class{static test(t){return t.tag.kind===yt.Scalar&&"string"==typeof t.content}static canonicalFormat(t){let e=t.content;const r=t.clone();return t.style===ht.Plain?e=Wr(t.content):t.style===ht.SingleQuoted?e=zr(t.content):t.style===ht.DoubleQuoted?e=Br(t.content):t.style===ht.Literal?e=(t=>{const e=qr(t),r=Ur(t),n=Jr(t),o=Zt(n.split("\n")),i=qe(De(Lr(e)),De(Dr("\n"))),s=Ue(i,Ge,"",o);return Gr(r,s)})(t.content):t.style===ht.Folded&&(e=(t=>{const e=qr(t),r=Ur(t),n=Jr(t),o=Zt(n.split("\n")),i=qe(De(Lr(e)),De(Dr("\n"))),s=Ue(i,Ge,"",o),c=$r(s);return Gr(r,c)})(t.content)),r.content=e,r}static resolve(t){return t}};const Kr=class{tags;tagDirectives;constructor(){this.tags=[],this.tagDirectives=[],this.registerTag(new At),this.registerTag(new Tt),this.registerTag(new kt)}toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===yt.Scalar?e=kt.uri:t.tag.kind===yt.Sequence?e=Tt.uri:t.tag.kind===yt.Mapping&&(e=At.uri):t.tag.explicitName.startsWith("!<")?e=t.tag.explicitName.replace(/^!</,"").replace(/>$/,""):t.tag.explicitName.startsWith("!!")&&(e=`tag:yaml.org,2002:${t.tag.explicitName.replace(/^!!/,"")}`),e}registerTagDirective(t){this.tagDirectives.push({handle:t.parameters.handle,prefix:t.parameters.prefix})}registerTag(t,e=!1){return e?this.tags.unshift(t):this.tags.push(t),this}overrideTag(t){return this.tags=this.tags.filter((e=>e.tag===t.tag)),this.tags.push(t),this}resolve(t){const e=this.toSpecificTagName(t);if("?"===e)return t;let r=t;Hr.test(t)&&(r=Hr.canonicalFormat(t));const n=this.tags.find((t=>t?.tag===e));if(void 0===n)throw new jt(`Tag "${e}" was not recognized.`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagStartPositionRow:t.tag.startPositionRow,tagStartPositionColumn:t.tag.startPositionColumn,tagStartPositionIndex:t.tag.startIndex,tagEndPositionRow:t.tag.endPositionRow,tagEndPositionColumn:t.tag.endPositionColumn,tagEndPositionIndex:t.tag.endIndex,node:t.clone()});if(!n.test(r))throw new jt(`Node couldn't be resolved against the tag "${e}"`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagStartPositionRow:t.tag.startPositionRow,tagStartPositionColumn:t.tag.startPositionColumn,tagStartPositionIndex:t.tag.startIndex,tagEndPositionRow:t.tag.endPositionRow,tagEndPositionColumn:t.tag.endPositionColumn,tagEndPositionIndex:t.tag.endIndex,nodeCanonicalContent:r.content,node:t.clone()});return n.resolve(r)}};const Qr=class extends Pt{static uri="tag:yaml.org,2002:bool";test(t){return/^(true|false)$/.test(t.content)}resolve(t){const e="true"===t.content,r=t.clone();return r.content=e,r}};const Xr=class extends Pt{static uri="tag:yaml.org,2002:float";test(t){return/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content)}resolve(t){const e=parseFloat(t.content),r=t.clone();return r.content=e,r}};const Zr=class extends Pt{static uri="tag:yaml.org,2002:int";test(t){return/^-?(0|[1-9][0-9]*)$/.test(t.content)}resolve(t){const e=parseInt(t.content,10),r=t.clone();return r.content=e,r}};const tn=class extends Pt{static uri="tag:yaml.org,2002:null";test(t){return/^null$/.test(t.content)}resolve(t){const e=t.clone();return e.content=null,e}};const en=class extends Kr{constructor(){super(),this.registerTag(new Qr,!0),this.registerTag(new Xr,!0),this.registerTag(new Zr,!0),this.registerTag(new tn,!0)}toSpecificTagName(t){let e=super.toSpecificTagName(t);if("?"===e)if(t.tag.vkind===yt.Sequence)e=Tt.uri;else if(t.tag.kind===yt.Mapping)e=At.uri;else if(t.tag.kind===yt.Scalar){const r=this.tags.find((e=>e.test(t)));e=r?.tag||"?"}return e}};const rn=class extends Ot{};const nn=class{addAnchor(t){if(!Z(t.anchor))throw new rn("Expected YAML anchor to be attached the the YAML AST node.",{node:t})}resolveAlias(t){return new at({content:t.content,style:ht.Plain,styleGroup:vt.Flow})}};const on=class extends t{static type="literal";value;constructor({value:t,...e}={}){super({...e}),this.value=t}};class sn{static type="point";type=sn.type;row;column;char;constructor({row:t,column:e,char:r}){this.row=t,this.column=e,this.char=r}}class cn{static type="position";type=cn.type;start;end;constructor({start:t,end:e}){this.start=t,this.end=e}}const an=cn;const un=class extends t{static type="error";value;isUnexpected;constructor({value:t,isUnexpected:e=!1,...r}={}){super({...r}),this.value=t,this.isUnexpected=e}};const ln=class extends t{static type="parseResult";get rootNode(){return a(this.children)}},fn=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},pn={},yn=t=>t?.type,dn=t=>"string"==typeof yn(t),gn=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),hn=(t,{visitFnGetter:e=fn,nodeTypeGetter:r=yn,breakSymbol:n=pn,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,exposeEdits:s=!1}={})=>{const c=Symbol("skip"),a=new Array(t.length).fill(c);return{enter(u,l,f,p,y,d){let g=u,h=!1;const v={...d,replaceWith(t,e){d.replaceWith(t,e),g=t}};for(let u=0;u<t.length;u+=1)if(a[u]===c){const c=e(t[u],r(g),!1);if("function"==typeof c){const e=c.call(t[u],g,l,f,p,y,v);if("function"==typeof e?.then)throw new wt("Async visitor not supported in sync mode",{visitor:t[u],visitFn:c});if(e===i)a[u]=g;else if(e===n)a[u]=n;else{if(e===o)return e;if(void 0!==e){if(!s)return e;g=e,h=!0}}}}return h?g:void 0},leave(o,s,u,l,f,p){let y=o;const d={...p,replaceWith(t,e){p.replaceWith(t,e),y=t}};for(let o=0;o<t.length;o+=1)if(a[o]===c){const c=e(t[o],r(y),!0);if("function"==typeof c){const e=c.call(t[o],y,s,u,l,f,d);if("function"==typeof e?.then)throw new wt("Async visitor not supported in sync mode",{visitor:t[o],visitFn:c});if(e===n)a[o]=n;else if(void 0!==e&&e!==i)return e}}else a[o]===y&&(a[o]=c)}}};hn[Symbol.for("nodejs.util.promisify.custom")]=(t,{visitFnGetter:e=fn,nodeTypeGetter:r=yn,breakSymbol:n=pn,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,exposeEdits:s=!1}={})=>{const c=Symbol("skip"),a=new Array(t.length).fill(c);return{async enter(u,l,f,p,y,d){let g=u,h=!1;const v={...d,replaceWith(t,e){d.replaceWith(t,e),g=t}};for(let u=0;u<t.length;u+=1)if(a[u]===c){const c=e(t[u],r(g),!1);if("function"==typeof c){const e=await c.call(t[u],g,l,f,p,y,v);if(e===i)a[u]=g;else if(e===n)a[u]=n;else{if(e===o)return e;if(void 0!==e){if(!s)return e;g=e,h=!0}}}}return h?g:void 0},async leave(o,s,u,l,f,p){let y=o;const d={...p,replaceWith(t,e){p.replaceWith(t,e),y=t}};for(let o=0;o<t.length;o+=1)if(a[o]===c){const c=e(t[o],r(y),!0);if("function"==typeof c){const e=await c.call(t[o],y,s,u,l,f,d);if(e===n)a[o]=n;else if(void 0!==e&&e!==i)return e}}else a[o]===y&&(a[o]=c)}}};const vn=(t,e,{keyMap:r=null,state:n={},breakSymbol:o=pn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=fn,nodeTypeGetter:a=yn,nodePredicate:u=dn,nodeCloneFn:l=gn,detectCycles:f=!0,detectCyclesCallback:p=null}={})=>{const y=r||{};let d,g,h=Array.isArray(t),v=[t],m=-1,b=[],x=t;const S=[],w=[];do{m+=1;const t=m===v.length;let r;const O=t&&0!==b.length;if(t){if(r=0===w.length?void 0:S.pop(),x=g,g=w.pop(),O)if(h){x=x.slice();let t=0;for(const[e,r]of b){const n=e-t;r===i?(x.splice(n,1),t+=1):x[n]=r}}else{x=l(x);for(const[t,e]of b)x[t]=e}m=d.index,v=d.keys,b=d.edits,h=d.inArray,d=d.prev}else if(g!==i&&void 0!==g){if(r=h?m:v[m],x=g[r],x===i||void 0===x)continue;S.push(r)}let E;if(!Array.isArray(x)){if(!u(x))throw new wt(`Invalid AST Node: ${String(x)}`,{node:x});if(f&&w.includes(x)){"function"==typeof p&&p(x,r,g,S,w),S.pop();continue}const i=c(e,a(x),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;const o={replaceWith(e,n){"function"==typeof n?n(e,x,r,g,S,w):g&&(g[r]=e),t||(x=e)}};E=i.call(e,x,r,g,S,w,o)}if("function"==typeof E?.then)throw new wt("Async visitor not supported in sync mode",{visitor:e,visitFn:i});if(E===o)break;if(E===s){if(!t){S.pop();continue}}else if(void 0!==E&&(b.push([r,E]),!t)){if(!u(E)){S.pop();continue}x=E}}void 0===E&&O&&b.push([r,x]),t||(d={inArray:h,index:m,keys:v,edits:b,prev:d},h=Array.isArray(x),v=h?x:y[a(x)]??[],m=-1,b=[],g!==i&&void 0!==g&&w.push(g),g=x)}while(void 0!==d);return 0!==b.length?b[b.length-1][1]:t};vn[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:o=pn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=fn,nodeTypeGetter:a=yn,nodePredicate:u=dn,nodeCloneFn:l=gn,detectCycles:f=!0,detectCyclesCallback:p=null}={})=>{const y=r||{};let d,g,h=Array.isArray(t),v=[t],m=-1,b=[],x=t;const S=[],w=[];do{m+=1;const t=m===v.length;let r;const O=t&&0!==b.length;if(t){if(r=0===w.length?void 0:S.pop(),x=g,g=w.pop(),O)if(h){x=x.slice();let t=0;for(const[e,r]of b){const n=e-t;r===i?(x.splice(n,1),t+=1):x[n]=r}}else{x=l(x);for(const[t,e]of b)x[t]=e}m=d.index,v=d.keys,b=d.edits,h=d.inArray,d=d.prev}else if(g!==i&&void 0!==g){if(r=h?m:v[m],x=g[r],x===i||void 0===x)continue;S.push(r)}let E;if(!Array.isArray(x)){if(!u(x))throw new wt(`Invalid AST Node: ${String(x)}`,{node:x});if(f&&w.includes(x)){"function"==typeof p&&p(x,r,g,S,w),S.pop();continue}const i=c(e,a(x),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;const o={replaceWith(e,n){"function"==typeof n?n(e,x,r,g,S,w):g&&(g[r]=e),t||(x=e)}};E=await i.call(e,x,r,g,S,w,o)}if(E===o)break;if(E===s){if(!t){S.pop();continue}}else if(void 0!==E&&(b.push([r,E]),!t)){if(!u(E)){S.pop();continue}x=E}}void 0===E&&O&&b.push([r,x]),t||(d={inArray:h,index:m,keys:v,edits:b,prev:d},h=Array.isArray(x),v=h?x:y[a(x)]??[],m=-1,b=[],g!==i&&void 0!==g&&w.push(g),g=x)}while(void 0!==d);return 0!==b.length?b[b.length-1][1]:t}})(),n})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-ast",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-rc.0",
|
|
4
4
|
"description": "Tools necessary for parsing stage of ApiDOM, specifically for syntactic analysis.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"build:umd:browser": "cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress",
|
|
24
24
|
"lint": "eslint ./",
|
|
25
25
|
"lint:fix": "eslint ./ --fix",
|
|
26
|
-
"clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs'
|
|
27
|
-
"test": "
|
|
26
|
+
"clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' ./dist ./types",
|
|
27
|
+
"test": "NODE_ENV=test ts-mocha --exit",
|
|
28
28
|
"typescript:check-types": "tsc --noEmit",
|
|
29
29
|
"typescript:declaration": "tsc -p tsconfig.declaration.json && api-extractor run -l -c ./config/api-extractor/api-extractor.json",
|
|
30
30
|
"prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://github.com/swagger-api/apidom#readme",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@babel/runtime-corejs3": "^7.
|
|
45
|
-
"@swagger-api/apidom-error": "^1.0.0-
|
|
44
|
+
"@babel/runtime-corejs3": "^7.26.10",
|
|
45
|
+
"@swagger-api/apidom-error": "^1.0.0-rc.0",
|
|
46
46
|
"@types/ramda": "~0.30.0",
|
|
47
47
|
"ramda": "~0.30.0",
|
|
48
48
|
"ramda-adjunct": "^5.0.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"README.md",
|
|
59
59
|
"CHANGELOG.md"
|
|
60
60
|
],
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "af4b6e0fcae489477729581c52036725ac57a412"
|
|
62
62
|
}
|
package/src/Node.cjs
CHANGED
|
@@ -14,16 +14,31 @@ class Node {
|
|
|
14
14
|
type = 'node';
|
|
15
15
|
isMissing;
|
|
16
16
|
children;
|
|
17
|
-
|
|
17
|
+
startPositionRow;
|
|
18
|
+
startPositionColumn;
|
|
19
|
+
startIndex;
|
|
20
|
+
endPositionRow;
|
|
21
|
+
endPositionColumn;
|
|
22
|
+
endIndex;
|
|
18
23
|
constructor({
|
|
19
24
|
children = [],
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
isMissing = false,
|
|
26
|
+
startPositionRow,
|
|
27
|
+
startPositionColumn,
|
|
28
|
+
startIndex,
|
|
29
|
+
endPositionRow,
|
|
30
|
+
endPositionColumn,
|
|
31
|
+
endIndex
|
|
22
32
|
} = {}) {
|
|
23
33
|
this.type = this.constructor.type;
|
|
24
34
|
this.isMissing = isMissing;
|
|
25
35
|
this.children = children;
|
|
26
|
-
this.
|
|
36
|
+
this.startPositionRow = startPositionRow;
|
|
37
|
+
this.startPositionColumn = startPositionColumn;
|
|
38
|
+
this.startIndex = startIndex;
|
|
39
|
+
this.endPositionRow = endPositionRow;
|
|
40
|
+
this.endPositionColumn = endPositionColumn;
|
|
41
|
+
this.endIndex = endIndex;
|
|
27
42
|
}
|
|
28
43
|
|
|
29
44
|
// creates shallow clone of node
|
package/src/Node.mjs
CHANGED
|
@@ -10,16 +10,31 @@ class Node {
|
|
|
10
10
|
type = 'node';
|
|
11
11
|
isMissing;
|
|
12
12
|
children;
|
|
13
|
-
|
|
13
|
+
startPositionRow;
|
|
14
|
+
startPositionColumn;
|
|
15
|
+
startIndex;
|
|
16
|
+
endPositionRow;
|
|
17
|
+
endPositionColumn;
|
|
18
|
+
endIndex;
|
|
14
19
|
constructor({
|
|
15
20
|
children = [],
|
|
16
|
-
|
|
17
|
-
|
|
21
|
+
isMissing = false,
|
|
22
|
+
startPositionRow,
|
|
23
|
+
startPositionColumn,
|
|
24
|
+
startIndex,
|
|
25
|
+
endPositionRow,
|
|
26
|
+
endPositionColumn,
|
|
27
|
+
endIndex
|
|
18
28
|
} = {}) {
|
|
19
29
|
this.type = this.constructor.type;
|
|
20
30
|
this.isMissing = isMissing;
|
|
21
31
|
this.children = children;
|
|
22
|
-
this.
|
|
32
|
+
this.startPositionRow = startPositionRow;
|
|
33
|
+
this.startPositionColumn = startPositionColumn;
|
|
34
|
+
this.startIndex = startIndex;
|
|
35
|
+
this.endPositionRow = endPositionRow;
|
|
36
|
+
this.endPositionColumn = endPositionColumn;
|
|
37
|
+
this.endIndex = endIndex;
|
|
23
38
|
}
|
|
24
39
|
|
|
25
40
|
// creates shallow clone of node
|
package/src/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _interopRequireWildcard = require("@babel/runtime-corejs3/helpers/interopRequireWildcard").default;
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
5
5
|
exports.__esModule = true;
|
|
6
|
-
exports.visit = exports.mergeAllVisitors = exports.isYamlTag = exports.isYamlStream = exports.isYamlSequence = exports.isYamlScalar = exports.isYamlMapping = exports.isYamlKeyValuePair = exports.isYamlDocument = exports.isYamlDirective = exports.isYamlComment = exports.isYamlAnchor = exports.isYamlAlias = exports.
|
|
6
|
+
exports.visit = exports.mergeAllVisitors = exports.isYamlTag = exports.isYamlStream = exports.isYamlSequence = exports.isYamlScalar = exports.isYamlMapping = exports.isYamlKeyValuePair = exports.isYamlDocument = exports.isYamlDirective = exports.isYamlComment = exports.isYamlAnchor = exports.isYamlAlias = exports.isParseResult = exports.isNode = exports.isLiteral = exports.isJsonTrue = exports.isJsonStringContent = exports.isJsonString = exports.isJsonProperty = exports.isJsonObject = exports.isJsonNumber = exports.isJsonNull = exports.isJsonKey = exports.isJsonFalse = exports.isJsonEscapeSequence = exports.isJsonDocument = exports.isJsonArray = exports.getVisitFn = exports.getNodeType = exports.cloneNode = exports.YamlTagError = exports.YamlTag = exports.YamlStyleGroup = exports.YamlStyle = exports.YamlStream = exports.YamlSequence = exports.YamlSchemaError = exports.YamlScalar = exports.YamlReferenceManager = exports.YamlReferenceError = exports.YamlNodeKind = exports.YamlNode = exports.YamlMapping = exports.YamlKeyValuePair = exports.YamlJsonSchema = exports.YamlFailsafeSchema = exports.YamlError = exports.YamlDocument = exports.YamlDirective = exports.YamlComment = exports.YamlCollection = exports.YamlAnchor = exports.YamlAlias = exports.Position = exports.Point = exports.ParseResult = exports.Literal = exports.JsonValue = exports.JsonTrue = exports.JsonStringContent = exports.JsonString = exports.JsonProperty = exports.JsonObject = exports.JsonNumber = exports.JsonNull = exports.JsonNode = exports.JsonKey = exports.JsonFalse = exports.JsonEscapeSequence = exports.JsonDocument = exports.JsonArray = exports.Error = exports.BREAK = void 0;
|
|
7
7
|
var _JsonNode = _interopRequireDefault(require("./json/nodes/JsonNode.cjs"));
|
|
8
8
|
exports.JsonNode = _JsonNode.default;
|
|
9
9
|
var _JsonDocument = _interopRequireDefault(require("./json/nodes/JsonDocument.cjs"));
|
|
@@ -113,8 +113,6 @@ exports.ParseResult = _ParseResult.default;
|
|
|
113
113
|
var _predicates3 = require("./predicates.cjs");
|
|
114
114
|
exports.isParseResult = _predicates3.isParseResult;
|
|
115
115
|
exports.isLiteral = _predicates3.isLiteral;
|
|
116
|
-
exports.isPoint = _predicates3.isPoint;
|
|
117
|
-
exports.isPosition = _predicates3.isPosition;
|
|
118
116
|
var _visitor = require("./traversal/visitor.cjs");
|
|
119
117
|
exports.BREAK = _visitor.BREAK;
|
|
120
118
|
exports.mergeAllVisitors = _visitor.mergeAll;
|
package/src/index.mjs
CHANGED
|
@@ -40,5 +40,5 @@ export { default as Literal } from "./Literal.mjs";
|
|
|
40
40
|
export { Point, default as Position } from "./Position.mjs";
|
|
41
41
|
export { default as Error } from "./Error.mjs";
|
|
42
42
|
export { default as ParseResult } from "./ParseResult.mjs";
|
|
43
|
-
export { isParseResult, isLiteral
|
|
43
|
+
export { isParseResult, isLiteral } from "./predicates.mjs"; // AST traversal related exports
|
|
44
44
|
export { BREAK, mergeAll as mergeAllVisitors, getVisitFn, visit, getNodeType, isNode, cloneNode } from "./traversal/visitor.mjs";
|
package/src/predicates.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.
|
|
4
|
+
exports.isParseResult = exports.isNodeType = exports.isLiteral = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -17,17 +17,5 @@ const isLiteral = node => isNodeType('literal', node);
|
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
19
|
exports.isLiteral = isLiteral;
|
|
20
|
-
const isPosition = node => isNodeType('position', node);
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
25
|
-
exports.isPosition = isPosition;
|
|
26
|
-
const isPoint = node => isNodeType('point', node);
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
exports.isPoint = isPoint;
|
|
32
20
|
const isParseResult = node => isNodeType('parseResult', node);
|
|
33
21
|
exports.isParseResult = isParseResult;
|
package/src/predicates.mjs
CHANGED
|
@@ -8,16 +8,6 @@ export const isNodeType = (type, node) => node != null && typeof node === 'objec
|
|
|
8
8
|
*/
|
|
9
9
|
export const isLiteral = node => isNodeType('literal', node);
|
|
10
10
|
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export const isPosition = node => isNodeType('position', node);
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export const isPoint = node => isNodeType('point', node);
|
|
20
|
-
|
|
21
11
|
/**
|
|
22
12
|
* @public
|
|
23
13
|
*/
|
|
@@ -358,7 +358,8 @@ visitor, {
|
|
|
358
358
|
nodeTypeGetter = getNodeType,
|
|
359
359
|
nodePredicate = isNode,
|
|
360
360
|
nodeCloneFn = cloneNode,
|
|
361
|
-
detectCycles = true
|
|
361
|
+
detectCycles = true,
|
|
362
|
+
detectCyclesCallback = null
|
|
362
363
|
} = {}) => {
|
|
363
364
|
const visitorKeys = keyMap || {};
|
|
364
365
|
let stack;
|
|
@@ -430,6 +431,10 @@ visitor, {
|
|
|
430
431
|
|
|
431
432
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
|
432
433
|
if (detectCycles && ancestors.includes(node)) {
|
|
434
|
+
if (typeof detectCyclesCallback === 'function') {
|
|
435
|
+
// @ts-ignore
|
|
436
|
+
detectCyclesCallback(node, key, parent, path, ancestors);
|
|
437
|
+
}
|
|
433
438
|
path.pop();
|
|
434
439
|
continue;
|
|
435
440
|
}
|
|
@@ -533,7 +538,8 @@ visitor, {
|
|
|
533
538
|
nodeTypeGetter = getNodeType,
|
|
534
539
|
nodePredicate = isNode,
|
|
535
540
|
nodeCloneFn = cloneNode,
|
|
536
|
-
detectCycles = true
|
|
541
|
+
detectCycles = true,
|
|
542
|
+
detectCyclesCallback = null
|
|
537
543
|
} = {}) => {
|
|
538
544
|
const visitorKeys = keyMap || {};
|
|
539
545
|
let stack;
|
|
@@ -604,6 +610,10 @@ visitor, {
|
|
|
604
610
|
|
|
605
611
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
|
606
612
|
if (detectCycles && ancestors.includes(node)) {
|
|
613
|
+
if (typeof detectCyclesCallback === 'function') {
|
|
614
|
+
// @ts-ignore
|
|
615
|
+
detectCyclesCallback(node, key, parent, path, ancestors);
|
|
616
|
+
}
|
|
607
617
|
path.pop();
|
|
608
618
|
continue;
|
|
609
619
|
}
|