@umijs/bundler-webpack 4.0.0-rc.12 → 4.0.0-rc.15

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.
Files changed (57) hide show
  1. package/client/client/client.js +15 -7
  2. package/compiled/fork-ts-checker-webpack-plugin/index.js +1 -1
  3. package/compiled/webpack/BasicEffectRulePlugin.js +1 -0
  4. package/compiled/webpack/BasicMatcherRulePlugin.js +1 -0
  5. package/compiled/webpack/ObjectMatcherRulePlugin.js +1 -0
  6. package/compiled/webpack/RuleSetCompiler.js +1 -0
  7. package/compiled/webpack/UseEffectRulePlugin.js +1 -0
  8. package/compiled/webpack/deepImports.json +6 -1
  9. package/compiled/webpack/index.js +68 -52
  10. package/compiled/webpack/types.d.ts +606 -171
  11. package/compiled/webpack-manifest-plugin/index.js +1 -1
  12. package/dist/build.d.ts +1 -0
  13. package/dist/build.js +48 -57
  14. package/dist/cli.js +6 -15
  15. package/dist/client/client.js +48 -53
  16. package/dist/config/_sampleFeature.js +6 -17
  17. package/dist/config/assetRules.js +44 -55
  18. package/dist/config/bundleAnalyzerPlugin.js +12 -23
  19. package/dist/config/compressPlugin.js +68 -76
  20. package/dist/config/config.d.ts +2 -0
  21. package/dist/config/config.js +177 -182
  22. package/dist/config/copyPlugin.js +29 -40
  23. package/dist/config/cssRules.js +93 -83
  24. package/dist/config/definePlugin.js +11 -19
  25. package/dist/config/detectDeadCodePlugin.js +16 -21
  26. package/dist/config/fastRefreshPlugin.js +11 -22
  27. package/dist/config/forkTSCheckerPlugin.js +11 -22
  28. package/dist/config/harmonyLinkingErrorPlugin.js +3 -14
  29. package/dist/config/ignorePlugin.js +10 -21
  30. package/dist/config/javaScriptRules.d.ts +1 -0
  31. package/dist/config/javaScriptRules.js +149 -136
  32. package/dist/config/manifestPlugin.js +10 -18
  33. package/dist/config/miniCSSExtractPlugin.js +12 -23
  34. package/dist/config/nodePolyfill.js +14 -20
  35. package/dist/config/nodePrefixPlugin.js +8 -19
  36. package/dist/config/progressPlugin.js +7 -18
  37. package/dist/config/purgecssWebpackPlugin.js +15 -26
  38. package/dist/config/speedMeasureWebpackPlugin.js +12 -23
  39. package/dist/config/svgRules.js +43 -47
  40. package/dist/dev.d.ts +1 -0
  41. package/dist/dev.js +103 -99
  42. package/dist/loader/svgr.js +4 -13
  43. package/dist/loader/swc.js +9 -14
  44. package/dist/plugins/ESBuildCSSMinifyPlugin.js +23 -34
  45. package/dist/plugins/ParcelCSSMinifyPlugin.js +30 -32
  46. package/dist/schema.js +2 -0
  47. package/dist/server/server.d.ts +1 -1
  48. package/dist/server/server.js +161 -182
  49. package/dist/server/ws.d.ts +3 -1
  50. package/dist/types.d.ts +3 -6
  51. package/package.json +8 -10
  52. package/compiled/tapable/LICENSE +0 -21
  53. package/compiled/tapable/index.js +0 -1
  54. package/compiled/tapable/package.json +0 -1
  55. package/compiled/tapable/tapable.d.ts +0 -116
  56. package/dist/server/https.d.ts +0 -5
  57. package/dist/server/https.js +0 -73
@@ -39,4 +39,4 @@ e.exports=function(e,t){if(typeof e!=="string"){throw new TypeError("expected pa
39
39
  * Released under the MIT License.
40
40
  */const n=r(8387);const toRegexRange=(e,t,r)=>{if(n(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(n(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let s={relaxZeros:true,...r};if(typeof s.strictZeros==="boolean"){s.relaxZeros=s.strictZeros===false}let i=String(s.relaxZeros);let a=String(s.shorthand);let o=String(s.capture);let c=String(s.wrap);let l=e+":"+t+"="+i+a+o+c;if(toRegexRange.cache.hasOwnProperty(l)){return toRegexRange.cache[l].result}let u=Math.min(e,t);let f=Math.max(e,t);if(Math.abs(u-f)===1){let r=e+"|"+t;if(s.capture){return`(${r})`}if(s.wrap===false){return r}return`(?:${r})`}let h=hasPadding(e)||hasPadding(t);let p={min:e,max:t,a:u,b:f};let d=[];let m=[];if(h){p.isPadded=h;p.maxLen=String(p.max).length}if(u<0){let e=f<0?Math.abs(f):1;m=splitToPatterns(e,Math.abs(u),p,s);u=p.a=0}if(f>=0){d=splitToPatterns(u,f,p,s)}p.negatives=m;p.positives=d;p.result=collatePatterns(m,d,s);if(s.capture===true){p.result=`(${p.result})`}else if(s.wrap!==false&&d.length+m.length>1){p.result=`(?:${p.result})`}toRegexRange.cache[l]=p;return p.result};function collatePatterns(e,t,r){let n=filterPatterns(e,t,"-",false,r)||[];let s=filterPatterns(t,e,"",false,r)||[];let i=filterPatterns(e,t,"-?",true,r)||[];let a=n.concat(i).concat(s);return a.join("|")}function splitToRanges(e,t){let r=1;let n=1;let s=countNines(e,r);let i=new Set([t]);while(e<=s&&s<=t){i.add(s);r+=1;s=countNines(e,r)}s=countZeros(t+1,n)-1;while(e<s&&s<=t){i.add(s);n+=1;s=countZeros(t+1,n)-1}i=[...i];i.sort(compare);return i}function rangeToPattern(e,t,r){if(e===t){return{pattern:e,count:[],digits:0}}let n=zip(e,t);let s=n.length;let i="";let a=0;for(let e=0;e<s;e++){let[t,s]=n[e];if(t===s){i+=t}else if(t!=="0"||s!=="9"){i+=toCharacterClass(t,s,r)}else{a++}}if(a){i+=r.shorthand===true?"\\d":"[0-9]"}return{pattern:i,count:[a],digits:s}}function splitToPatterns(e,t,r,n){let s=splitToRanges(e,t);let i=[];let a=e;let o;for(let e=0;e<s.length;e++){let t=s[e];let c=rangeToPattern(String(a),String(t),n);let l="";if(!r.isPadded&&o&&o.pattern===c.pattern){if(o.count.length>1){o.count.pop()}o.count.push(c.count[0]);o.string=o.pattern+toQuantifier(o.count);a=t+1;continue}if(r.isPadded){l=padZeros(t,r,n)}c.string=l+c.pattern+toQuantifier(c.count);i.push(c);a=t+1;o=c}return i}function filterPatterns(e,t,r,n,s){let i=[];for(let s of e){let{string:e}=s;if(!n&&!contains(t,"string",e)){i.push(r+e)}if(n&&contains(t,"string",e)){i.push(r+e)}}return i}function zip(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function compare(e,t){return e>t?1:t>e?-1:0}function contains(e,t,r){return e.some((e=>e[t]===r))}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,r=""]=e;if(r||t>1){return`{${t+(r?","+r:"")}}`}return""}function toCharacterClass(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,r){if(!t.isPadded){return e}let n=Math.abs(t.maxLen-String(e).length);let s=r.relaxZeros!==false;switch(n){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:{return s?`0{0,${n}}`:`0{${n}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};e.exports=toRegexRange},1005:function(e,t){"use strict";t.fromCallback=function(e){return Object.defineProperty((function(...t){if(typeof t[t.length-1]==="function")e.apply(this,t);else{return new Promise(((r,n)=>{e.call(this,...t,((e,t)=>e!=null?n(e):r(t)))}))}}),"name",{value:e.name})};t.fromPromise=function(e){return Object.defineProperty((function(...t){const r=t[t.length-1];if(typeof r!=="function")return e.apply(this,t);else e.apply(this,t.slice(0,-1)).then((e=>r(null,e)),r)}),"name",{value:e.name})}},199:function(e,t){
41
41
  /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
42
- (function(e,r){true?r(t):0})(this,(function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++){t[r]=arguments[r]}if(t.length>1){t[0]=t[0].slice(0,-1);var n=t.length-1;for(var s=1;s<n;++s){t[s]=t[s].slice(1,-1)}t[n]=t[n].slice(1);return t.join("")}else{return t[0]}}function subexp(e){return"(?:"+e+")"}function typeOf(e){return e===undefined?"undefined":e===null?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(e){return e.toUpperCase()}function toArray(e){return e!==undefined&&e!==null?e instanceof Array?e:typeof e.length!=="number"||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function assign(e,t){var r=e;if(t){for(var n in t){r[n]=t[n]}}return r}function buildExps(e){var t="[A-Za-z]",r="[\\x0D]",n="[0-9]",s="[\\x22]",i=merge(n,"[A-Fa-f]"),a="[\\x0A]",o="[\\x20]",c=subexp(subexp("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+subexp("%[89A-Fa-f]"+i+"%"+i+i)+"|"+subexp("%"+i+i)),l="[\\:\\/\\?\\#\\[\\]\\@]",u="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",f=merge(l,u),h=e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",p=e?"[\\uE000-\\uF8FF]":"[]",d=merge(t,n,"[\\-\\.\\_\\~]",h),m=subexp(t+merge(t,n,"[\\+\\-\\.]")+"*"),g=subexp(subexp(c+"|"+merge(d,u,"[\\:]"))+"*"),y=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+n)+"|"+subexp("1"+n+n)+"|"+subexp("[1-9]"+n)+"|"+n),b=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+n)+"|"+subexp("1"+n+n)+"|"+subexp("0?[1-9]"+n)+"|0?0?"+n),E=subexp(b+"\\."+b+"\\."+b+"\\."+b),S=subexp(i+"{1,4}"),w=subexp(subexp(S+"\\:"+S)+"|"+E),P=subexp(subexp(S+"\\:")+"{6}"+w),_=subexp("\\:\\:"+subexp(S+"\\:")+"{5}"+w),x=subexp(subexp(S)+"?\\:\\:"+subexp(S+"\\:")+"{4}"+w),O=subexp(subexp(subexp(S+"\\:")+"{0,1}"+S)+"?\\:\\:"+subexp(S+"\\:")+"{3}"+w),R=subexp(subexp(subexp(S+"\\:")+"{0,2}"+S)+"?\\:\\:"+subexp(S+"\\:")+"{2}"+w),k=subexp(subexp(subexp(S+"\\:")+"{0,3}"+S)+"?\\:\\:"+S+"\\:"+w),A=subexp(subexp(subexp(S+"\\:")+"{0,4}"+S)+"?\\:\\:"+w),C=subexp(subexp(subexp(S+"\\:")+"{0,5}"+S)+"?\\:\\:"+S),$=subexp(subexp(subexp(S+"\\:")+"{0,6}"+S)+"?\\:\\:"),T=subexp([P,_,x,O,R,k,A,C,$].join("|")),I=subexp(subexp(d+"|"+c)+"+"),N=subexp(T+"\\%25"+I),L=subexp(T+subexp("\\%25|\\%(?!"+i+"{2})")+I),M=subexp("[vV]"+i+"+\\."+merge(d,u,"[\\:]")+"+"),F=subexp("\\["+subexp(L+"|"+T+"|"+M)+"\\]"),D=subexp(subexp(c+"|"+merge(d,u))+"*"),j=subexp(F+"|"+E+"(?!"+D+")"+"|"+D),B=subexp(n+"*"),W=subexp(subexp(g+"@")+"?"+j+subexp("\\:"+B)+"?"),H=subexp(c+"|"+merge(d,u,"[\\:\\@]")),U=subexp(H+"*"),z=subexp(H+"+"),q=subexp(subexp(c+"|"+merge(d,u,"[\\@]"))+"+"),Y=subexp(subexp("\\/"+U)+"*"),V=subexp("\\/"+subexp(z+Y)+"?"),K=subexp(q+Y),G=subexp(z+Y),Q="(?!"+H+")",J=subexp(Y+"|"+V+"|"+K+"|"+G+"|"+Q),X=subexp(subexp(H+"|"+merge("[\\/\\?]",p))+"*"),Z=subexp(subexp(H+"|[\\/\\?]")+"*"),ee=subexp(subexp("\\/\\/"+W+Y)+"|"+V+"|"+G+"|"+Q),te=subexp(m+"\\:"+ee+subexp("\\?"+X)+"?"+subexp("\\#"+Z)+"?"),re=subexp(subexp("\\/\\/"+W+Y)+"|"+V+"|"+K+"|"+Q),ne=subexp(re+subexp("\\?"+X)+"?"+subexp("\\#"+Z)+"?"),se=subexp(te+"|"+ne),ie=subexp(m+"\\:"+ee+subexp("\\?"+X)+"?"),ae="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+g+")@")+"?("+j+")"+subexp("\\:("+B+")")+"?)")+"?("+Y+"|"+V+"|"+G+"|"+Q+")")+subexp("\\?("+X+")")+"?"+subexp("\\#("+Z+")")+"?$",oe="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+g+")@")+"?("+j+")"+subexp("\\:("+B+")")+"?)")+"?("+Y+"|"+V+"|"+K+"|"+Q+")")+subexp("\\?("+X+")")+"?"+subexp("\\#("+Z+")")+"?$",ce="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+g+")@")+"?("+j+")"+subexp("\\:("+B+")")+"?)")+"?("+Y+"|"+V+"|"+G+"|"+Q+")")+subexp("\\?("+X+")")+"?$",le="^"+subexp("\\#("+Z+")")+"?$",ue="^"+subexp("("+g+")@")+"?("+j+")"+subexp("\\:("+B+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",t,n,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",d,u),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",d,u),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",d,u),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",d,u),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",d,u,"[\\:\\@\\/\\?]",p),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",d,u,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",d,u),"g"),UNRESERVED:new RegExp(d,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",d,f),"g"),PCT_ENCODED:new RegExp(c,"g"),IPV4ADDRESS:new RegExp("^("+E+")$"),IPV6ADDRESS:new RegExp("^\\[?("+T+")"+subexp(subexp("\\%25|\\%(?!"+i+"{2})")+"("+I+")")+"?\\]?$")}}var t=buildExps(false);var r=buildExps(true);var n=function(){function sliceIterator(e,t){var r=[];var n=true;var s=false;var i=undefined;try{for(var a=e[Symbol.iterator](),o;!(n=(o=a.next()).done);n=true){r.push(o.value);if(t&&r.length===t)break}}catch(e){s=true;i=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(s)throw i}}return r}return function(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else{return Array.from(e)}};var s=2147483647;var i=36;var a=1;var o=26;var c=38;var l=700;var u=72;var f=128;var h="-";var p=/^xn--/;var d=/[^\0-\x7E]/;var m=/[\x2E\u3002\uFF0E\uFF61]/g;var g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var y=i-a;var b=Math.floor;var E=String.fromCharCode;function error$1(e){throw new RangeError(g[e])}function map(e,t){var r=[];var n=e.length;while(n--){r[n]=t(e[n])}return r}function mapDomain(e,t){var r=e.split("@");var n="";if(r.length>1){n=r[0]+"@";e=r[1]}e=e.replace(m,".");var s=e.split(".");var i=map(s,t).join(".");return n+i}function ucs2decode(e){var t=[];var r=0;var n=e.length;while(r<n){var s=e.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){var i=e.charCodeAt(r++);if((i&64512)==56320){t.push(((s&1023)<<10)+(i&1023)+65536)}else{t.push(s);r--}}else{t.push(s)}}return t}var S=function ucs2encode(e){return String.fromCodePoint.apply(String,toConsumableArray(e))};var w=function basicToDigit(e){if(e-48<10){return e-22}if(e-65<26){return e-65}if(e-97<26){return e-97}return i};var P=function digitToBasic(e,t){return e+22+75*(e<26)-((t!=0)<<5)};var _=function adapt(e,t,r){var n=0;e=r?b(e/l):e>>1;e+=b(e/t);for(;e>y*o>>1;n+=i){e=b(e/y)}return b(n+(y+1)*e/(e+c))};var x=function decode(e){var t=[];var r=e.length;var n=0;var c=f;var l=u;var p=e.lastIndexOf(h);if(p<0){p=0}for(var d=0;d<p;++d){if(e.charCodeAt(d)>=128){error$1("not-basic")}t.push(e.charCodeAt(d))}for(var m=p>0?p+1:0;m<r;){var g=n;for(var y=1,E=i;;E+=i){if(m>=r){error$1("invalid-input")}var S=w(e.charCodeAt(m++));if(S>=i||S>b((s-n)/y)){error$1("overflow")}n+=S*y;var P=E<=l?a:E>=l+o?o:E-l;if(S<P){break}var x=i-P;if(y>b(s/x)){error$1("overflow")}y*=x}var O=t.length+1;l=_(n-g,O,g==0);if(b(n/O)>s-c){error$1("overflow")}c+=b(n/O);n%=O;t.splice(n++,0,c)}return String.fromCodePoint.apply(String,t)};var O=function encode(e){var t=[];e=ucs2decode(e);var r=e.length;var n=f;var c=0;var l=u;var p=true;var d=false;var m=undefined;try{for(var g=e[Symbol.iterator](),y;!(p=(y=g.next()).done);p=true){var S=y.value;if(S<128){t.push(E(S))}}}catch(e){d=true;m=e}finally{try{if(!p&&g.return){g.return()}}finally{if(d){throw m}}}var w=t.length;var x=w;if(w){t.push(h)}while(x<r){var O=s;var R=true;var k=false;var A=undefined;try{for(var C=e[Symbol.iterator](),$;!(R=($=C.next()).done);R=true){var T=$.value;if(T>=n&&T<O){O=T}}}catch(e){k=true;A=e}finally{try{if(!R&&C.return){C.return()}}finally{if(k){throw A}}}var I=x+1;if(O-n>b((s-c)/I)){error$1("overflow")}c+=(O-n)*I;n=O;var N=true;var L=false;var M=undefined;try{for(var F=e[Symbol.iterator](),D;!(N=(D=F.next()).done);N=true){var j=D.value;if(j<n&&++c>s){error$1("overflow")}if(j==n){var B=c;for(var W=i;;W+=i){var H=W<=l?a:W>=l+o?o:W-l;if(B<H){break}var U=B-H;var z=i-H;t.push(E(P(H+U%z,0)));B=b(U/z)}t.push(E(P(B,0)));l=_(c,I,x==w);c=0;++x}}}catch(e){L=true;M=e}finally{try{if(!N&&F.return){F.return()}}finally{if(L){throw M}}}++c;++n}return t.join("")};var R=function toUnicode(e){return mapDomain(e,(function(e){return p.test(e)?x(e.slice(4).toLowerCase()):e}))};var k=function toASCII(e){return mapDomain(e,(function(e){return d.test(e)?"xn--"+O(e):e}))};var A={version:"2.1.0",ucs2:{decode:ucs2decode,encode:S},decode:x,encode:O,toASCII:k,toUnicode:R};var C={};function pctEncChar(e){var t=e.charCodeAt(0);var r=void 0;if(t<16)r="%0"+t.toString(16).toUpperCase();else if(t<128)r="%"+t.toString(16).toUpperCase();else if(t<2048)r="%"+(t>>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else r="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return r}function pctDecChars(e){var t="";var r=0;var n=e.length;while(r<n){var s=parseInt(e.substr(r+1,2),16);if(s<128){t+=String.fromCharCode(s);r+=3}else if(s>=194&&s<224){if(n-r>=6){var i=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((s&31)<<6|i&63)}else{t+=e.substr(r,6)}r+=6}else if(s>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16);var o=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((s&15)<<12|(a&63)<<6|o&63)}else{t+=e.substr(r,9)}r+=9}else{t+=e.substr(r,3);r+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var r=pctDecChars(e);return!r.match(t.UNRESERVED)?e:r}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var r=e.match(t.IPV4ADDRESS)||[];var s=n(r,2),i=s[1];if(i){return i.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var r=e.match(t.IPV6ADDRESS)||[];var s=n(r,3),i=s[1],a=s[2];if(i){var o=i.toLowerCase().split("::").reverse(),c=n(o,2),l=c[0],u=c[1];var f=u?u.split(":").map(_stripLeadingZeros):[];var h=l.split(":").map(_stripLeadingZeros);var p=t.IPV4ADDRESS.test(h[h.length-1]);var d=p?7:8;var m=h.length-d;var g=Array(d);for(var y=0;y<d;++y){g[y]=f[y]||h[m+y]||""}if(p){g[d-1]=_normalizeIPv4(g[d-1],t)}var b=g.reduce((function(e,t,r){if(!t||t==="0"){var n=e[e.length-1];if(n&&n.index+n.length===r){n.length++}else{e.push({index:r,length:1})}}return e}),[]);var E=b.sort((function(e,t){return t.length-e.length}))[0];var S=void 0;if(E&&E.length>1){var w=g.slice(0,E.index);var P=g.slice(E.index+E.length);S=w.join(":")+"::"+P.join(":")}else{S=g.join(":")}if(a){S+="%"+a}return S}else{return e}}var $=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var T="".match(/(){0}/)[1]===undefined;function parse(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s={};var i=n.iri!==false?r:t;if(n.reference==="suffix")e=(n.scheme?n.scheme+":":"")+"//"+e;var a=e.match($);if(a){if(T){s.scheme=a[1];s.userinfo=a[3];s.host=a[4];s.port=parseInt(a[5],10);s.path=a[6]||"";s.query=a[7];s.fragment=a[8];if(isNaN(s.port)){s.port=a[5]}}else{s.scheme=a[1]||undefined;s.userinfo=e.indexOf("@")!==-1?a[3]:undefined;s.host=e.indexOf("//")!==-1?a[4]:undefined;s.port=parseInt(a[5],10);s.path=a[6]||"";s.query=e.indexOf("?")!==-1?a[7]:undefined;s.fragment=e.indexOf("#")!==-1?a[8]:undefined;if(isNaN(s.port)){s.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?a[4]:undefined}}if(s.host){s.host=_normalizeIPv6(_normalizeIPv4(s.host,i),i)}if(s.scheme===undefined&&s.userinfo===undefined&&s.host===undefined&&s.port===undefined&&!s.path&&s.query===undefined){s.reference="same-document"}else if(s.scheme===undefined){s.reference="relative"}else if(s.fragment===undefined){s.reference="absolute"}else{s.reference="uri"}if(n.reference&&n.reference!=="suffix"&&n.reference!==s.reference){s.error=s.error||"URI is not a "+n.reference+" reference."}var o=C[(n.scheme||s.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!o||!o.unicodeSupport)){if(s.host&&(n.domainHost||o&&o.domainHost)){try{s.host=A.toASCII(s.host.replace(i.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){s.error=s.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(s,t)}else{_normalizeComponentEncoding(s,i)}if(o&&o.parse){o.parse(s,n)}}else{s.error=s.error||"URI can not be parsed."}return s}function _recomposeAuthority(e,n){var s=n.iri!==false?r:t;var i=[];if(e.userinfo!==undefined){i.push(e.userinfo);i.push("@")}if(e.host!==undefined){i.push(_normalizeIPv6(_normalizeIPv4(String(e.host),s),s).replace(s.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"})))}if(typeof e.port==="number"||typeof e.port==="string"){i.push(":");i.push(String(e.port))}return i.length?i.join(""):undefined}var I=/^\.\.?\//;var N=/^\/\.(\/|$)/;var L=/^\/\.\.(\/|$)/;var M=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(I)){e=e.replace(I,"")}else if(e.match(N)){e=e.replace(N,"/")}else if(e.match(L)){e=e.replace(L,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var r=e.match(M);if(r){var n=r[0];e=e.slice(n.length);t.push(n)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s=n.iri?r:t;var i=[];var a=C[(n.scheme||e.scheme||"").toLowerCase()];if(a&&a.serialize)a.serialize(e,n);if(e.host){if(s.IPV6ADDRESS.test(e.host)){}else if(n.domainHost||a&&a.domainHost){try{e.host=!n.iri?A.toASCII(e.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase()):A.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!n.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,s);if(n.reference!=="suffix"&&e.scheme){i.push(e.scheme);i.push(":")}var o=_recomposeAuthority(e,n);if(o!==undefined){if(n.reference!=="suffix"){i.push("//")}i.push(o);if(e.path&&e.path.charAt(0)!=="/"){i.push("/")}}if(e.path!==undefined){var c=e.path;if(!n.absolutePath&&(!a||!a.absolutePath)){c=removeDotSegments(c)}if(o===undefined){c=c.replace(/^\/\//,"/%2F")}i.push(c)}if(e.query!==undefined){i.push("?");i.push(e.query)}if(e.fragment!==undefined){i.push("#");i.push(e.fragment)}return i.join("")}function resolveComponents(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var s={};if(!n){e=parse(serialize(e,r),r);t=parse(serialize(t,r),r)}r=r||{};if(!r.tolerant&&t.scheme){s.scheme=t.scheme;s.userinfo=t.userinfo;s.host=t.host;s.port=t.port;s.path=removeDotSegments(t.path||"");s.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){s.userinfo=t.userinfo;s.host=t.host;s.port=t.port;s.path=removeDotSegments(t.path||"");s.query=t.query}else{if(!t.path){s.path=e.path;if(t.query!==undefined){s.query=t.query}else{s.query=e.query}}else{if(t.path.charAt(0)==="/"){s.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){s.path="/"+t.path}else if(!e.path){s.path=t.path}else{s.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}s.path=removeDotSegments(s.path)}s.query=t.query}s.userinfo=e.userinfo;s.host=e.host;s.port=e.port}s.scheme=e.scheme}s.fragment=t.fragment;return s}function resolve(e,t,r){var n=assign({scheme:"null"},r);return serialize(resolveComponents(parse(e,n),parse(t,n),n,true),n)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,r){if(typeof e==="string"){e=serialize(parse(e,r),r)}else if(typeOf(e)==="object"){e=serialize(e,r)}if(typeof t==="string"){t=serialize(parse(t,r),r)}else if(typeOf(t)==="object"){t=serialize(t,r)}return e===t}function escapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.ESCAPE:r.ESCAPE,pctEncChar)}function unescapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.PCT_ENCODED:r.PCT_ENCODED,pctDecChars)}var F={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){var r=String(e.scheme).toLowerCase()==="https";if(e.port===(r?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var D={scheme:"https",domainHost:F.domainHost,parse:F.parse,serialize:F.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var j={scheme:"ws",domainHost:true,parse:function parse(e,t){var r=e;r.secure=isSecure(r);r.resourceName=(r.path||"/")+(r.query?"?"+r.query:"");r.path=undefined;r.query=undefined;return r},serialize:function serialize(e,t){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var r=e.resourceName.split("?"),s=n(r,2),i=s[0],a=s[1];e.path=i&&i!=="/"?i:undefined;e.query=a;e.resourceName=undefined}e.fragment=undefined;return e}};var B={scheme:"wss",domainHost:j.domainHost,parse:j.parse,serialize:j.serialize};var W={};var H=true;var U="[A-Za-z0-9\\-\\.\\_\\~"+(H?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var z="[0-9A-Fa-f]";var q=subexp(subexp("%[EFef]"+z+"%"+z+z+"%"+z+z)+"|"+subexp("%[89A-Fa-f]"+z+"%"+z+z)+"|"+subexp("%"+z+z));var Y="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var V="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var K=merge(V,'[\\"\\\\]');var G="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var Q=new RegExp(U,"g");var J=new RegExp(q,"g");var X=new RegExp(merge("[^]",Y,"[\\.]",'[\\"]',K),"g");var Z=new RegExp(merge("[^]",U,G),"g");var ee=Z;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(Q)?e:t}var te={scheme:"mailto",parse:function parse$$1(e,t){var r=e;var n=r.to=r.path?r.path.split(","):[];r.path=undefined;if(r.query){var s=false;var i={};var a=r.query.split("&");for(var o=0,c=a.length;o<c;++o){var l=a[o].split("=");switch(l[0]){case"to":var u=l[1].split(",");for(var f=0,h=u.length;f<h;++f){n.push(u[f])}break;case"subject":r.subject=unescapeComponent(l[1],t);break;case"body":r.body=unescapeComponent(l[1],t);break;default:s=true;i[unescapeComponent(l[0],t)]=unescapeComponent(l[1],t);break}}if(s)r.headers=i}r.query=undefined;for(var p=0,d=n.length;p<d;++p){var m=n[p].split("@");m[0]=unescapeComponent(m[0]);if(!t.unicodeSupport){try{m[1]=A.toASCII(unescapeComponent(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}}else{m[1]=unescapeComponent(m[1],t).toLowerCase()}n[p]=m.join("@")}return r},serialize:function serialize$$1(e,t){var r=e;var n=toArray(e.to);if(n){for(var s=0,i=n.length;s<i;++s){var a=String(n[s]);var o=a.lastIndexOf("@");var c=a.slice(0,o).replace(J,decodeUnreserved).replace(J,toUpperCase).replace(X,pctEncChar);var l=a.slice(o+1);try{l=!t.iri?A.toASCII(unescapeComponent(l,t).toLowerCase()):A.toUnicode(l)}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(!t.iri?"ASCII":"Unicode")+" via punycode: "+e}n[s]=c+"@"+l}r.path=n.join(",")}var u=e.headers=e.headers||{};if(e.subject)u["subject"]=e.subject;if(e.body)u["body"]=e.body;var f=[];for(var h in u){if(u[h]!==W[h]){f.push(h.replace(J,decodeUnreserved).replace(J,toUpperCase).replace(Z,pctEncChar)+"="+u[h].replace(J,decodeUnreserved).replace(J,toUpperCase).replace(ee,pctEncChar))}}if(f.length){r.query=f.join("&")}return r}};var re=/^([^\:]+)\:(.*)/;var ne={scheme:"urn",parse:function parse$$1(e,t){var r=e.path&&e.path.match(re);var n=e;if(r){var s=t.scheme||n.scheme||"urn";var i=r[1].toLowerCase();var a=r[2];var o=s+":"+(t.nid||i);var c=C[o];n.nid=i;n.nss=a;n.path=undefined;if(c){n=c.parse(n,t)}}else{n.error=n.error||"URN can not be parsed."}return n},serialize:function serialize$$1(e,t){var r=t.scheme||e.scheme||"urn";var n=e.nid;var s=r+":"+(t.nid||n);var i=C[s];if(i){e=i.serialize(e,t)}var a=e;var o=e.nss;a.path=(n||t.nid)+":"+o;return a}};var se=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;var ie={scheme:"urn:uuid",parse:function parse(e,t){var r=e;r.uuid=r.nss;r.nss=undefined;if(!t.tolerant&&(!r.uuid||!r.uuid.match(se))){r.error=r.error||"UUID is not valid."}return r},serialize:function serialize(e,t){var r=e;r.nss=(e.uuid||"").toLowerCase();return r}};C[F.scheme]=F;C[D.scheme]=D;C[j.scheme]=j;C[B.scheme]=B;C[te.scheme]=te;C[ne.scheme]=ne;C[ie.scheme]=ie;e.SCHEMES=C;e.pctEncChar=pctEncChar;e.pctDecChars=pctDecChars;e.parse=parse;e.removeDotSegments=removeDotSegments;e.serialize=serialize;e.resolveComponents=resolveComponents;e.resolve=resolve;e.normalize=normalize;e.equal=equal;e.escapeComponent=escapeComponent;e.unescapeComponent=unescapeComponent;Object.defineProperty(e,"__esModule",{value:true})}))},2653:function(e,t,r){e.exports=require(r.ab+"fsevents.node")},8535:function(e){"use strict";e.exports=require("@umijs/bundler-webpack/compiled/tapable")},2027:function(e){"use strict";e.exports=require("@umijs/bundler-webpack/compiled/webpack")},9491:function(e){"use strict";e.exports=require("assert")},2081:function(e){"use strict";e.exports=require("child_process")},2057:function(e){"use strict";e.exports=require("constants")},2361:function(e){"use strict";e.exports=require("events")},7147:function(e){"use strict";e.exports=require("fs")},8188:function(e){"use strict";e.exports=require("module")},2037:function(e){"use strict";e.exports=require("os")},1017:function(e){"use strict";e.exports=require("path")},7282:function(e){"use strict";e.exports=require("process")},2781:function(e){"use strict";e.exports=require("stream")},6224:function(e){"use strict";e.exports=require("tty")},3837:function(e){"use strict";e.exports=require("util")},8745:function(e,t,r){"use strict";var n=r(2592);var s=r(4288);var i=r(5564);const a={anchorPrefix:"a",customTags:null,indent:2,indentSeq:true,keepCstNodes:false,keepNodeTypes:true,keepBlobsInJSON:true,mapAsMap:false,maxAliasCount:100,prettyErrors:false,simpleKeys:false,version:"1.2"};const o={get binary(){return s.binaryOptions},set binary(e){Object.assign(s.binaryOptions,e)},get bool(){return s.boolOptions},set bool(e){Object.assign(s.boolOptions,e)},get int(){return s.intOptions},set int(e){Object.assign(s.intOptions,e)},get null(){return s.nullOptions},set null(e){Object.assign(s.nullOptions,e)},get str(){return s.strOptions},set str(e){Object.assign(s.strOptions,e)}};const c={"1.0":{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:n.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]},1.2:{schema:"core",merge:false,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]}};function stringifyTag(e,t){if((e.version||e.options.version)==="1.0"){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const r=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return r?`!${r[1]}/${r[2]}`:`!${t.replace(/^tag:/,"")}`}let r=e.tagPrefixes.find((e=>t.indexOf(e.prefix)===0));if(!r){const n=e.getDefaults().tagPrefixes;r=n&&n.find((e=>t.indexOf(e.prefix)===0))}if(!r)return t[0]==="!"?t:`!<${t}>`;const n=t.substr(r.prefix.length).replace(/[!,[\]{}]/g,(e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e])));return r.handle+n}function getTagObject(e,t){if(t instanceof s.Alias)return s.Alias;if(t.tag){const r=e.filter((e=>e.tag===t.tag));if(r.length>0)return r.find((e=>e.format===t.format))||r[0]}let r,n;if(t instanceof s.Scalar){n=t.value;const s=e.filter((e=>e.identify&&e.identify(n)||e.class&&n instanceof e.class));r=s.find((e=>e.format===t.format))||s.find((e=>!e.format))}else{n=t;r=e.find((e=>e.nodeClass&&n instanceof e.nodeClass))}if(!r){const e=n&&n.constructor?n.constructor.name:typeof n;throw new Error(`Tag not resolved for ${e} value`)}return r}function stringifyProps(e,t,{anchors:r,doc:n}){const s=[];const i=n.anchors.getName(e);if(i){r[i]=e;s.push(`&${i}`)}if(e.tag){s.push(stringifyTag(n,e.tag))}else if(!t.default){s.push(stringifyTag(n,t.tag))}return s.join(" ")}function stringify(e,t,r,n){const{anchors:i,schema:a}=t.doc;let o;if(!(e instanceof s.Node)){const t={aliasNodes:[],onTagObj:e=>o=e,prevObjects:new Map};e=a.createNode(e,true,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=i.getName(e.source);if(!t){t=i.newName();i.map[t]=e.source}}}if(e instanceof s.Pair)return e.toString(t,r,n);if(!o)o=getTagObject(a.tags,e);const c=stringifyProps(e,o,t);if(c.length>0)t.indentAtStart=(t.indentAtStart||0)+c.length+1;const l=typeof o.stringify==="function"?o.stringify(e,t,r,n):e instanceof s.Scalar?s.stringifyString(e,t,r,n):e.toString(t,r,n);if(!c)return l;return e instanceof s.Scalar||l[0]==="{"||l[0]==="["?`${c} ${l}`:`${c}\n${t.indent}${l}`}class Anchors{static validAnchorNode(e){return e instanceof s.Scalar||e instanceof s.YAMLSeq||e instanceof s.YAMLMap}constructor(e){n._defineProperty(this,"map",Object.create(null));this.prefix=e}createAlias(e,t){this.setAnchor(e,t);return new s.Alias(e)}createMergePair(...e){const t=new s.Merge;t.value.items=e.map((e=>{if(e instanceof s.Alias){if(e.source instanceof s.YAMLMap)return e}else if(e instanceof s.YAMLMap){return this.createAlias(e)}throw new Error("Merge sources must be Map nodes or their Aliases")}));return t}getName(e){const{map:t}=this;return Object.keys(t).find((r=>t[r]===e))}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){if(!e)e=this.prefix;const t=Object.keys(this.map);for(let r=1;true;++r){const n=`${e}${r}`;if(!t.includes(n))return n}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach((t=>{e[t]=e[t].resolved}));t.forEach((e=>{e.source=e.source.resolved}));delete this._cstAliases}setAnchor(e,t){if(e!=null&&!Anchors.validAnchorNode(e)){throw new Error("Anchors may only be set for Scalar, Seq and Map nodes")}if(t&&/[\x00-\x19\s,[\]{}]/.test(t)){throw new Error("Anchor names must not contain whitespace or control characters")}const{map:r}=this;const n=e&&Object.keys(r).find((t=>r[t]===e));if(n){if(!t){return n}else if(n!==t){delete r[n];r[t]=e}}else{if(!t){if(!e)return null;t=this.newName()}r[t]=e}return t}}const visit=(e,t)=>{if(e&&typeof e==="object"){const{tag:r}=e;if(e instanceof s.Collection){if(r)t[r]=true;e.items.forEach((e=>visit(e,t)))}else if(e instanceof s.Pair){visit(e.key,t);visit(e.value,t)}else if(e instanceof s.Scalar){if(r)t[r]=true}}return t};const listTagNames=e=>Object.keys(visit(e,{}));function parseContents(e,t){const r={before:[],after:[]};let i=undefined;let a=false;for(const o of t){if(o.valueRange){if(i!==undefined){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new n.YAMLSyntaxError(o,t));break}const t=s.resolveNode(e,o);if(a){t.spaceBefore=true;a=false}i=t}else if(o.comment!==null){const e=i===undefined?r.before:r.after;e.push(o.comment)}else if(o.type===n.Type.BLANK_LINE){a=true;if(i===undefined&&r.before.length>0&&!e.commentBefore){e.commentBefore=r.before.join("\n");r.before=[]}}}e.contents=i||null;if(!i){e.comment=r.before.concat(r.after).join("\n")||null}else{const t=r.before.join("\n");if(t){const e=i instanceof s.Collection&&i.items[0]?i.items[0]:i;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=r.after.join("\n")||null}}function resolveTagDirective({tagPrefixes:e},t){const[r,s]=t.parameters;if(!r||!s){const e="Insufficient parameters given for %TAG directive";throw new n.YAMLSemanticError(t,e)}if(e.some((e=>e.handle===r))){const e="The %TAG directive must only be given at most once per handle in the same document.";throw new n.YAMLSemanticError(t,e)}return{handle:r,prefix:s}}function resolveYamlDirective(e,t){let[r]=t.parameters;if(t.name==="YAML:1.0")r="1.0";if(!r){const e="Insufficient parameters given for %YAML directive";throw new n.YAMLSemanticError(t,e)}if(!c[r]){const s=e.version||e.options.version;const i=`Document will be parsed as YAML ${s} rather than YAML ${r}`;e.warnings.push(new n.YAMLWarning(t,i))}return r}function parseDirectives(e,t,r){const s=[];let i=false;for(const r of t){const{comment:t,name:a}=r;switch(a){case"TAG":try{e.tagPrefixes.push(resolveTagDirective(e,r))}catch(t){e.errors.push(t)}i=true;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new n.YAMLSemanticError(r,t))}try{e.version=resolveYamlDirective(e,r)}catch(t){e.errors.push(t)}i=true;break;default:if(a){const t=`YAML only supports %TAG and %YAML directives, and not %${a}`;e.warnings.push(new n.YAMLWarning(r,t))}}if(t)s.push(t)}if(r&&!i&&"1.1"===(e.version||r.version||e.options.version)){const copyTagPrefix=({handle:e,prefix:t})=>({handle:e,prefix:t});e.tagPrefixes=r.tagPrefixes.map(copyTagPrefix);e.version=r.version}e.commentBefore=s.join("\n")||null}function assertCollection(e){if(e instanceof s.Collection)return true;throw new Error("Expected a YAML collection as document contents")}class Document{constructor(e){this.anchors=new Anchors(e.anchorPrefix);this.commentBefore=null;this.comment=null;this.contents=null;this.directivesEndMarker=null;this.errors=[];this.options=e;this.schema=null;this.tagPrefixes=[];this.version=null;this.warnings=[]}add(e){assertCollection(this.contents);return this.contents.add(e)}addIn(e,t){assertCollection(this.contents);this.contents.addIn(e,t)}delete(e){assertCollection(this.contents);return this.contents.delete(e)}deleteIn(e){if(s.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}assertCollection(this.contents);return this.contents.deleteIn(e)}getDefaults(){return Document.defaults[this.version]||Document.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof s.Collection?this.contents.get(e,t):undefined}getIn(e,t){if(s.isEmptyPath(e))return!t&&this.contents instanceof s.Scalar?this.contents.value:this.contents;return this.contents instanceof s.Collection?this.contents.getIn(e,t):undefined}has(e){return this.contents instanceof s.Collection?this.contents.has(e):false}hasIn(e){if(s.isEmptyPath(e))return this.contents!==undefined;return this.contents instanceof s.Collection?this.contents.hasIn(e):false}set(e,t){assertCollection(this.contents);this.contents.set(e,t)}setIn(e,t){if(s.isEmptyPath(e))this.contents=t;else{assertCollection(this.contents);this.contents.setIn(e,t)}}setSchema(e,t){if(!e&&!t&&this.schema)return;if(typeof e==="number")e=e.toFixed(1);if(e==="1.0"||e==="1.1"||e==="1.2"){if(this.version)this.version=e;else this.options.version=e;delete this.options.schema}else if(e&&typeof e==="string"){this.options.schema=e}if(Array.isArray(t))this.options.customTags=t;const r=Object.assign({},this.getDefaults(),this.options);this.schema=new i.Schema(r)}parse(e,t){if(this.options.keepCstNodes)this.cstNode=e;if(this.options.keepNodeTypes)this.type="DOCUMENT";const{directives:r=[],contents:s=[],directivesEndMarker:i,error:a,valueRange:o}=e;if(a){if(!a.source)a.source=this;this.errors.push(a)}parseDirectives(this,r,t);if(i)this.directivesEndMarker=true;this.range=o?[o.start,o.end]:null;this.setSchema();this.anchors._cstAliases=[];parseContents(this,s);this.anchors.resolveNodes();if(this.options.prettyErrors){for(const e of this.errors)if(e instanceof n.YAMLError)e.makePretty();for(const e of this.warnings)if(e instanceof n.YAMLError)e.makePretty()}return this}listNonDefaultTags(){return listTagNames(this.contents).filter((e=>e.indexOf(i.Schema.defaultPrefix)!==0))}setTagPrefix(e,t){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(t){const r=this.tagPrefixes.find((t=>t.handle===e));if(r)r.prefix=t;else this.tagPrefixes.push({handle:e,prefix:t})}else{this.tagPrefixes=this.tagPrefixes.filter((t=>t.handle!==e))}}toJSON(e,t){const{keepBlobsInJSON:r,mapAsMap:n,maxAliasCount:i}=this.options;const a=r&&(typeof e!=="string"||!(this.contents instanceof s.Scalar));const o={doc:this,indentStep:" ",keep:a,mapAsMap:a&&!!n,maxAliasCount:i,stringify:stringify};const c=Object.keys(this.anchors.map);if(c.length>0)o.anchors=new Map(c.map((e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}])));const l=s.toJSON(this.contents,e,o);if(typeof t==="function"&&o.anchors)for(const{count:e,res:r}of o.anchors.values())t(r,e);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let r=false;if(this.version){let e="%YAML 1.2";if(this.schema.name==="yaml-1.1"){if(this.version==="1.0")e="%YAML:1.0";else if(this.version==="1.1")e="%YAML 1.1"}t.push(e);r=true}const n=this.listNonDefaultTags();this.tagPrefixes.forEach((({handle:e,prefix:s})=>{if(n.some((e=>e.indexOf(s)===0))){t.push(`%TAG ${e} ${s}`);r=true}}));if(r||this.directivesEndMarker)t.push("---");if(this.commentBefore){if(r||!this.directivesEndMarker)t.unshift("");t.unshift(this.commentBefore.replace(/^/gm,"#"))}const i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:stringify};let a=false;let o=null;if(this.contents){if(this.contents instanceof s.Node){if(this.contents.spaceBefore&&(r||this.directivesEndMarker))t.push("");if(this.contents.commentBefore)t.push(this.contents.commentBefore.replace(/^/gm,"#"));i.forceBlockIndent=!!this.comment;o=this.contents.comment}const e=o?null:()=>a=true;const n=stringify(this.contents,i,(()=>o=null),e);t.push(s.addComment(n,"",o))}else if(this.contents!==undefined){t.push(stringify(this.contents,i))}if(this.comment){if((!a||o)&&t[t.length-1]!=="")t.push("");t.push(this.comment.replace(/^/gm,"#"))}return t.join("\n")+"\n"}}n._defineProperty(Document,"defaults",c);t.Document=Document;t.defaultOptions=a;t.scalarOptions=o},2592:function(e,t){"use strict";const r={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};const n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};const s="tag:yaml.org,2002:";const i={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function findLineStarts(e){const t=[0];let r=e.indexOf("\n");while(r!==-1){r+=1;t.push(r);r=e.indexOf("\n",r)}return t}function getSrcInfo(e){let t,r;if(typeof e==="string"){t=findLineStarts(e);r=e}else{if(Array.isArray(e))e=e[0];if(e&&e.context){if(!e.lineStarts)e.lineStarts=findLineStarts(e.context.src);t=e.lineStarts;r=e.context.src}}return{lineStarts:t,src:r}}function getLinePos(e,t){if(typeof e!=="number"||e<0)return null;const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!n||e>n.length)return null;for(let t=0;t<r.length;++t){const n=r[t];if(e<n){return{line:t,col:e-r[t-1]+1}}if(e===n)return{line:t+1,col:1}}const s=r.length;return{line:s,col:e-r[s-1]+1}}function getLine(e,t){const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!(e>=1)||e>r.length)return null;const s=r[e-1];let i=r[e];while(i&&i>s&&n[i-1]==="\n")--i;return n.slice(s,i)}function getPrettyContext({start:e,end:t},r,n=80){let s=getLine(e.line,r);if(!s)return null;let{col:i}=e;if(s.length>n){if(i<=n-10){s=s.substr(0,n-1)+"…"}else{const e=Math.round(n/2);if(s.length>i+e)s=s.substr(0,i+e-1)+"…";i-=s.length-n;s="…"+s.substr(1-n)}}let a=1;let o="";if(t){if(t.line===e.line&&i+(t.col-e.col)<=n+1){a=t.col-e.col}else{a=Math.min(s.length+1,n)-i;o="…"}}const c=i>1?" ".repeat(i-1):"";const l="^".repeat(a);return`${s}\n${c}${l}${o}`}class Range{static copy(e){return new Range(e.start,e.end)}constructor(e,t){this.start=e;this.end=t||e}isEmpty(){return typeof this.start!=="number"||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:r,end:n}=this;if(e.length===0||n<=e[0]){this.origStart=r;this.origEnd=n;return t}let s=t;while(s<e.length){if(e[s]>r)break;else++s}this.origStart=r+s;const i=s;while(s<e.length){if(e[s]>=n)break;else++s}this.origEnd=n+s;return i}}class Node{static addStringTerminator(e,t,r){if(r[r.length-1]==="\n")return r;const n=Node.endOfWhiteSpace(e,t);return n>=e.length||e[n]==="\n"?r+"\n":r}static atDocumentBoundary(e,t,n){const s=e[t];if(!s)return true;const i=e[t-1];if(i&&i!=="\n")return false;if(n){if(s!==n)return false}else{if(s!==r.DIRECTIVES_END&&s!==r.DOCUMENT_END)return false}const a=e[t+1];const o=e[t+2];if(a!==s||o!==s)return false;const c=e[t+3];return!c||c==="\n"||c==="\t"||c===" "}static endOfIdentifier(e,t){let r=e[t];const n=r==="<";const s=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];while(r&&s.indexOf(r)===-1)r=e[t+=1];if(n&&r===">")t+=1;return t}static endOfIndent(e,t){let r=e[t];while(r===" ")r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];while(r&&r!=="\n")r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];while(r==="\t"||r===" ")r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if(r==="\n")return t;while(r&&r!=="\n")r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){const n=Node.endOfIndent(e,r);if(n>r+t){return n}else{const t=Node.endOfWhiteSpace(e,n);const r=e[t];if(!r||r==="\n")return t}return null}static atBlank(e,t,r){const n=e[t];return n==="\n"||n==="\t"||n===" "||r&&!n}static nextNodeIsIndented(e,t,r){if(!e||t<0)return false;if(t>0)return true;return r&&e==="-"}static normalizeOffset(e,t){const r=e[t];return!r?t:r!=="\n"&&e[t-1]==="\n"?t-1:Node.endOfWhiteSpace(e,t)}static foldNewline(e,t,r){let n=0;let s=false;let i="";let a=e[t+1];while(a===" "||a==="\t"||a==="\n"){switch(a){case"\n":n=0;t+=1;i+="\n";break;case"\t":if(n<=r)s=true;t=Node.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1;t+=1;break}a=e[t+1]}if(!i)i=" ";if(a&&n<=r)s=true;return{fold:i,offset:t,error:s}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:true});this.error=null;this.range=null;this.valueRange=null;this.props=t||[];this.type=e;this.value=null}getPropValue(e,t,r){if(!this.context)return null;const{src:n}=this.context;const s=this.props[e];return s&&n[s.start]===t?n.slice(s.start+(r?1:0),s.end):null}get anchor(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,r.ANCHOR,true);if(t!=null)return t}return null}get comment(){const e=[];for(let t=0;t<this.props.length;++t){const n=this.getPropValue(t,r.COMMENT,true);if(n!=null)e.push(n)}return e.length>0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return false;if(!this.valueRange)return false;const{end:r}=this.valueRange;return e!==r||Node.atBlank(t,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;t<this.props.length;++t){if(e[this.props[t].start]===r.COMMENT)return true}}return false}get hasProps(){if(this.context){const{src:e}=this.context;for(let t=0;t<this.props.length;++t){if(e[this.props[t].start]!==r.COMMENT)return true}}return false}get includesTrailingLines(){return false}get jsonLike(){const e=[n.FLOW_MAP,n.FLOW_SEQ,n.QUOTE_DOUBLE,n.QUOTE_SINGLE];return e.indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return undefined;const e=getLinePos(this.range.start,this.context.root);if(!e)return undefined;const t=getLinePos(this.range.end,this.context.root);return{start:e,end:t}}get rawValue(){if(!this.valueRange||!this.context)return null;const{start:e,end:t}=this.valueRange;return this.context.src.slice(e,t)}get tag(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,r.TAG,false);if(t!=null){if(t[1]==="<"){return{verbatim:t.slice(2,-1)}}else{const[e,r,n]=t.match(/^(.*!)([^!]*)$/);return{handle:r,suffix:n}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return false;const{start:e,end:t}=this.valueRange;const{src:r}=this.context;for(let n=e;n<t;++n){if(r[n]==="\n")return true}return false}parseComment(e){const{src:t}=this.context;if(t[e]===r.COMMENT){const r=Node.endOfLine(t,e+1);const n=new Range(e,r);this.props.push(n);return r}return e}setOrigRanges(e,t){if(this.range)t=this.range.setOrigRange(e,t);if(this.valueRange)this.valueRange.setOrigRange(e,t);this.props.forEach((r=>r.setOrigRange(e,t)));return t}toString(){const{context:{src:e},range:t,value:r}=this;if(r!=null)return r;const n=e.slice(t.start,t.end);return Node.addStringTerminator(e,t.end,n)}}class YAMLError extends Error{constructor(e,t,r){if(!r||!(t instanceof Node))throw new Error(`Invalid arguments for new ${e}`);super();this.name=e;this.message=r;this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if(typeof this.offset==="number"){this.range=new Range(this.offset,this.offset+1);const t=e&&getLinePos(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else{this.range=this.source.range;this.linePos=this.source.rangeAsLinePos}if(this.linePos){const{line:t,col:r}=this.linePos.start;this.message+=` at line ${t}, column ${r}`;const n=e&&getPrettyContext(this.linePos,e);if(n)this.message+=`:\n\n${n}\n`}delete this.source}}class YAMLReferenceError extends YAMLError{constructor(e,t){super("YAMLReferenceError",e,t)}}class YAMLSemanticError extends YAMLError{constructor(e,t){super("YAMLSemanticError",e,t)}}class YAMLSyntaxError extends YAMLError{constructor(e,t){super("YAMLSyntaxError",e,t)}}class YAMLWarning extends YAMLError{constructor(e,t){super("YAMLWarning",e,t)}}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}class PlainValue extends Node{static endOfLine(e,t,r){let n=e[t];let s=t;while(n&&n!=="\n"){if(r&&(n==="["||n==="]"||n==="{"||n==="}"||n===","))break;const t=e[s+1];if(n===":"&&(!t||t==="\n"||t==="\t"||t===" "||r&&t===","))break;if((n===" "||n==="\t")&&t==="#")break;s+=1;n=t}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:r}=this.context;let n=r[t-1];while(e<t&&(n==="\n"||n==="\t"||n===" "))n=r[--t-1];let s="";for(let n=e;n<t;++n){const e=r[n];if(e==="\n"){const{fold:e,offset:t}=Node.foldNewline(r,n,-1);s+=e;n=t}else if(e===" "||e==="\t"){const i=n;let a=r[n+1];while(n<t&&(a===" "||a==="\t")){n+=1;a=r[n+1]}if(a!=="\n")s+=n>i?r.slice(i,n+1):e}else{s+=e}}const i=r[e];switch(i){case"\t":{const e="Plain value cannot start with a tab character";const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}case"@":case"`":{const e=`Plain value cannot start with reserved character ${i}`;const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}default:return s}}parseBlockValue(e){const{indent:t,inFlow:r,src:n}=this.context;let s=e;let i=e;for(let e=n[s];e==="\n";e=n[s]){if(Node.atDocumentBoundary(n,s+1))break;const e=Node.endOfBlockIndent(n,t,s+1);if(e===null||n[e]==="#")break;if(n[e]==="\n"){s=e}else{i=PlainValue.endOfLine(n,e,r);s=i}}if(this.valueRange.isEmpty())this.valueRange.start=e;this.valueRange.end=i;return i}parse(e,t){this.context=e;const{inFlow:r,src:n}=e;let s=t;const i=n[s];if(i&&i!=="#"&&i!=="\n"){s=PlainValue.endOfLine(n,t,r)}this.valueRange=new Range(t,s);s=Node.endOfWhiteSpace(n,s);s=this.parseComment(s);if(!this.hasComment||this.valueRange.isEmpty()){s=this.parseBlockValue(s)}return s}}t.Char=r;t.Node=Node;t.PlainValue=PlainValue;t.Range=Range;t.Type=n;t.YAMLError=YAMLError;t.YAMLReferenceError=YAMLReferenceError;t.YAMLSemanticError=YAMLSemanticError;t.YAMLSyntaxError=YAMLSyntaxError;t.YAMLWarning=YAMLWarning;t._defineProperty=_defineProperty;t.defaultTagPrefix=s;t.defaultTags=i},5564:function(e,t,r){"use strict";var n=r(2592);var s=r(4288);var i=r(8201);function createMap(e,t,r){const n=new s.YAMLMap(e);if(t instanceof Map){for(const[s,i]of t)n.items.push(e.createPair(s,i,r))}else if(t&&typeof t==="object"){for(const s of Object.keys(t))n.items.push(e.createPair(s,t[s],r))}if(typeof e.sortMapEntries==="function"){n.items.sort(e.sortMapEntries)}return n}const a={createNode:createMap,default:true,nodeClass:s.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:s.resolveMap};function createSeq(e,t,r){const n=new s.YAMLSeq(e);if(t&&t[Symbol.iterator]){for(const s of t){const t=e.createNode(s,r.wrapScalars,null,r);n.items.push(t)}}return n}const o={createNode:createSeq,default:true,nodeClass:s.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:s.resolveSeq};const c={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify(e,t,r,n){t=Object.assign({actualString:true},t);return s.stringifyString(e,t,r,n)},options:s.strOptions};const l=[a,o,c];const intIdentify$2=e=>typeof e==="bigint"||Number.isInteger(e);const intResolve$1=(e,t,r)=>s.intOptions.asBigInt?BigInt(e):parseInt(t,r);function intStringify$1(e,t,r){const{value:n}=e;if(intIdentify$2(n)&&n>=0)return r+n.toString(t);return s.stringifyNumber(e)}const u={identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr};const f={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:s.boolOptions,stringify:({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr};const h={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>intResolve$1(e,t,8),options:s.intOptions,stringify:e=>intStringify$1(e,8,"0o")};const p={identify:intIdentify$2,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>intResolve$1(e,e,10),options:s.intOptions,stringify:s.stringifyNumber};const d={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>intResolve$1(e,t,16),options:s.intOptions,stringify:e=>intStringify$1(e,16,"0x")};const m={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber};const g={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()};const y={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,r){const n=t||r;const i=new s.Scalar(parseFloat(e));if(n&&n[n.length-1]==="0")i.minFractionDigits=n.length;return i},stringify:s.stringifyNumber};const b=l.concat([u,f,h,p,d,m,g,y]);const intIdentify$1=e=>typeof e==="bigint"||Number.isInteger(e);const stringifyJSON=({value:e})=>JSON.stringify(e);const E=[a,o,{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify:stringifyJSON},{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:stringifyJSON},{identify:intIdentify$1,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>s.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>intIdentify$1(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:stringifyJSON}];E.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};const boolStringify=({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr;const intIdentify=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve(e,t,r){let n=t.replace(/_/g,"");if(s.intOptions.asBigInt){switch(r){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const t=BigInt(n);return e==="-"?BigInt(-1)*t:t}const i=parseInt(n,r);return e==="-"?-1*i:i}function intStringify(e,t,r){const{value:n}=e;if(intIdentify(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return s.stringifyNumber(e)}const S=l.concat([{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>true,options:s.boolOptions,stringify:boolStringify},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>false,options:s.boolOptions,stringify:boolStringify},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,r)=>intResolve(t,r,2),stringify:e=>intStringify(e,2,"0b")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,r)=>intResolve(t,r,8),stringify:e=>intStringify(e,8,"0")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,r)=>intResolve(t,r,10),stringify:s.stringifyNumber},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,r)=>intResolve(t,r,16),stringify:e=>intStringify(e,16,"0x")},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const r=new s.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");if(e[e.length-1]==="0")r.minFractionDigits=e.length}return r},stringify:s.stringifyNumber}],i.binary,i.omap,i.pairs,i.set,i.intTime,i.floatTime,i.timestamp);const w={core:b,failsafe:l,json:E,yaml11:S};const P={binary:i.binary,bool:f,float:y,floatExp:g,floatNaN:m,floatTime:i.floatTime,int:p,intHex:d,intOct:h,intTime:i.intTime,map:a,null:u,omap:i.omap,pairs:i.pairs,seq:o,set:i.set,timestamp:i.timestamp};function findTagObject(e,t,r){if(t){const e=r.filter((e=>e.tag===t));const n=e.find((e=>!e.format))||e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find((t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format))}function createNode(e,t,r){if(e instanceof s.Node)return e;const{defaultPrefix:n,onTagObj:i,prevObjects:c,schema:l,wrapScalars:u}=r;if(t&&t.startsWith("!!"))t=n+t.slice(2);let f=findTagObject(e,t,l.tags);if(!f){if(typeof e.toJSON==="function")e=e.toJSON();if(!e||typeof e!=="object")return u?new s.Scalar(e):e;f=e instanceof Map?a:e[Symbol.iterator]?o:a}if(i){i(f);delete r.onTagObj}const h={value:undefined,node:undefined};if(e&&typeof e==="object"&&c){const t=c.get(e);if(t){const e=new s.Alias(t);r.aliasNodes.push(e);return e}h.value=e;c.set(e,h)}h.node=f.createNode?f.createNode(r.schema,e,r):u?new s.Scalar(e):e;if(t&&h.node instanceof s.Node)h.node.tag=t;return h.node}function getSchemaTags(e,t,r,n){let s=e[n.replace(/\W/g,"")];if(!s){const t=Object.keys(e).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${n}"; use one of ${t}`)}if(Array.isArray(r)){for(const e of r)s=s.concat(e)}else if(typeof r==="function"){s=r(s.slice())}for(let e=0;e<s.length;++e){const r=s[e];if(typeof r==="string"){const n=t[r];if(!n){const e=Object.keys(t).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${e}`)}s[e]=n}}return s}const sortMapEntriesByKey=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class Schema{constructor({customTags:e,merge:t,schema:r,sortMapEntries:n,tags:s}){this.merge=!!t;this.name=r;this.sortMapEntries=n===true?sortMapEntriesByKey:n||null;if(!e&&s)i.warnOptionDeprecation("tags","customTags");this.tags=getSchemaTags(w,P,e||s,r)}createNode(e,t,r,n){const s={defaultPrefix:Schema.defaultPrefix,schema:this,wrapScalars:t};const i=n?Object.assign(n,s):s;return createNode(e,r,i)}createPair(e,t,r){if(!r)r={wrapScalars:true};const n=this.createNode(e,r.wrapScalars,null,r);const i=this.createNode(t,r.wrapScalars,null,r);return new s.Pair(n,i)}}n._defineProperty(Schema,"defaultPrefix",n.defaultTagPrefix);n._defineProperty(Schema,"defaultTags",n.defaultTags);t.Schema=Schema},3897:function(e,t,r){"use strict";var n=r(4805);var s=r(8745);var i=r(5564);var a=r(2592);var o=r(8201);r(4288);function createNode(e,t=true,r){if(r===undefined&&typeof t==="string"){r=t;t=true}const n=Object.assign({},s.Document.defaults[s.defaultOptions.version],s.defaultOptions);const a=new i.Schema(n);return a.createNode(e,t,r)}class Document extends s.Document{constructor(e){super(Object.assign({},s.defaultOptions,e))}}function parseAllDocuments(e,t){const r=[];let s;for(const i of n.parse(e)){const e=new Document(t);e.parse(i,s);r.push(e);s=e}return r}function parseDocument(e,t){const r=n.parse(e);const s=new Document(t).parse(r[0]);if(r.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";s.errors.unshift(new a.YAMLSemanticError(r[1],e))}return s}function parse(e,t){const r=parseDocument(e,t);r.warnings.forEach((e=>o.warn(e)));if(r.errors.length>0)throw r.errors[0];return r.toJSON()}function stringify(e,t){const r=new Document(t);r.contents=e;return String(r)}const c={createNode:createNode,defaultOptions:s.defaultOptions,Document:Document,parse:parse,parseAllDocuments:parseAllDocuments,parseCST:n.parse,parseDocument:parseDocument,scalarOptions:s.scalarOptions,stringify:stringify};t.YAML=c},4805:function(e,t,r){"use strict";var n=r(2592);class BlankLine extends n.Node{constructor(){super(n.Type.BLANK_LINE)}get includesTrailingLines(){return true}parse(e,t){this.context=e;this.range=new n.Range(t,t+1);return t+1}}class CollectionItem extends n.Node{constructor(e,t){super(e,t);this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{atLineStart:i,lineStart:a}=e;if(!i&&this.type===n.Type.SEQ_ITEM)this.error=new n.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line");const o=i?t-a:e.indent;let c=n.Node.endOfWhiteSpace(s,t+1);let l=s[c];const u=l==="#";const f=[];let h=null;while(l==="\n"||l==="#"){if(l==="#"){const e=n.Node.endOfLine(s,c+1);f.push(new n.Range(c,e));c=e}else{i=true;a=c+1;const e=n.Node.endOfWhiteSpace(s,a);if(s[e]==="\n"&&f.length===0){h=new BlankLine;a=h.parse({src:s},a)}c=n.Node.endOfIndent(s,a)}l=s[c]}if(n.Node.nextNodeIsIndented(l,c-(a+o),this.type!==n.Type.SEQ_ITEM)){this.node=r({atLineStart:i,inCollection:false,indent:o,lineStart:a,parent:this},c)}else if(l&&a>t+1){c=a-1}if(this.node){if(h){const t=e.parent.items||e.parent.contents;if(t)t.push(h)}if(f.length)Array.prototype.push.apply(this.props,f);c=this.node.range.end}else{if(u){const e=f[0];this.props.push(e);c=e.end}else{c=n.Node.endOfLine(s,t+1)}}const p=this.node?this.node.valueRange.end:c;this.valueRange=new n.Range(t,p);return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:r,value:s}=this;if(s!=null)return s;const i=t?e.slice(r.start,t.range.start)+String(t):e.slice(r.start,r.end);return n.Node.addStringTerminator(e,r.end,i)}}class Comment extends n.Node{constructor(){super(n.Type.COMMENT)}parse(e,t){this.context=e;const r=this.parseComment(t);this.range=new n.Range(t,r);return r}}function grabCollectionEndComments(e){let t=e;while(t instanceof CollectionItem)t=t.node;if(!(t instanceof Collection))return null;const r=t.items.length;let s=-1;for(let e=r-1;e>=0;--e){const r=t.items[e];if(r.type===n.Type.COMMENT){const{indent:t,lineStart:n}=r.context;if(t>0&&r.range.start>=n+t)break;s=e}else if(r.type===n.Type.BLANK_LINE)s=e;else break}if(s===-1)return null;const i=t.items.splice(s,r-s);const a=i[0].range.start;while(true){t.range.end=a;if(t.valueRange&&t.valueRange.end>a)t.valueRange.end=a;if(t===e)break;t=t.context.parent}return i}class Collection extends n.Node{static nextContentHasIndent(e,t,r){const s=n.Node.endOfLine(e,t)+1;t=n.Node.endOfWhiteSpace(e,s);const i=e[t];if(!i)return false;if(t>=s+r)return true;if(i!=="#"&&i!=="\n")return false;return Collection.nextContentHasIndent(e,t,r)}constructor(e){super(e.type===n.Type.SEQ_ITEM?n.Type.SEQ:n.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start<e.context.lineStart){this.props=e.props.slice(0,t+1);e.props=e.props.slice(t+1);const r=e.props[0]||e.valueRange;e.range.start=r.start;break}}this.items=[e];const t=grabCollectionEndComments(e);if(t)Array.prototype.push.apply(this.items,t)}get includesTrailingLines(){return this.items.length>0}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let i=n.Node.startOfLine(s,t);const a=this.items[0];a.context.parent=this;this.valueRange=n.Range.copy(a.valueRange);const o=a.range.start-a.context.lineStart;let c=t;c=n.Node.normalizeOffset(s,c);let l=s[c];let u=n.Node.endOfWhiteSpace(s,i)===c;let f=false;while(l){while(l==="\n"||l==="#"){if(u&&l==="\n"&&!f){const e=new BlankLine;c=e.parse({src:s},c);this.valueRange.end=c;if(c>=s.length){l=null;break}this.items.push(e);c-=1}else if(l==="#"){if(c<i+o&&!Collection.nextContentHasIndent(s,c,o)){return c}const e=new Comment;c=e.parse({indent:o,lineStart:i,src:s},c);this.items.push(e);this.valueRange.end=c;if(c>=s.length){l=null;break}}i=c+1;c=n.Node.endOfIndent(s,i);if(n.Node.atBlank(s,c)){const e=n.Node.endOfWhiteSpace(s,c);const t=s[e];if(!t||t==="\n"||t==="#"){c=e}}l=s[c];u=true}if(!l){break}if(c!==i+o&&(u||l!==":")){if(c<i+o){if(i>t)c=i;break}else if(!this.error){const e="All collection items must start at the same column";this.error=new n.YAMLSyntaxError(this,e)}}if(a.type===n.Type.SEQ_ITEM){if(l!=="-"){if(i>t)c=i;break}}else if(l==="-"&&!this.error){const e=s[c+1];if(!e||e==="\n"||e==="\t"||e===" "){const e="A collection cannot be both a mapping and a sequence";this.error=new n.YAMLSyntaxError(this,e)}}const e=r({atLineStart:u,inCollection:true,indent:o,lineStart:i,parent:this},c);if(!e)return c;this.items.push(e);this.valueRange.end=e.valueRange.end;c=n.Node.normalizeOffset(s,e.range.end);l=s[c];u=false;f=e.includesTrailingLines;if(l){let e=c-1;let t=s[e];while(t===" "||t==="\t")t=s[--e];if(t==="\n"){i=e+1;u=true}}const h=grabCollectionEndComments(e);if(h)Array.prototype.push.apply(this.items,h)}return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach((r=>{t=r.setOrigRanges(e,t)}));return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,t[0].range.start)+String(t[0]);for(let e=1;e<t.length;++e){const r=t[e];const{atLineStart:n,indent:s}=r.context;if(n)for(let e=0;e<s;++e)i+=" ";i+=String(r)}return n.Node.addStringTerminator(e,r.end,i)}}class Directive extends n.Node{constructor(){super(n.Type.DIRECTIVE);this.name=null}get parameters(){const e=this.rawValue;return e?e.trim().split(/[ \t]+/):[]}parseName(e){const{src:t}=this.context;let r=e;let n=t[r];while(n&&n!=="\n"&&n!=="\t"&&n!==" ")n=t[r+=1];this.name=t.slice(e,r);return r}parseParameters(e){const{src:t}=this.context;let r=e;let s=t[r];while(s&&s!=="\n"&&s!=="#")s=t[r+=1];this.valueRange=new n.Range(e,r);return r}parse(e,t){this.context=e;let r=this.parseName(t+1);r=this.parseParameters(r);r=this.parseComment(r);this.range=new n.Range(t,r);return r}}class Document extends n.Node{static startCommentOrEndBlankLine(e,t){const r=n.Node.endOfWhiteSpace(e,t);const s=e[r];return s==="#"||s==="\n"?r:t}constructor(){super(n.Type.DOCUMENT);this.directives=null;this.contents=null;this.directivesEndMarker=null;this.documentEndMarker=null}parseDirectives(e){const{src:t}=this.context;this.directives=[];let r=true;let s=false;let i=e;while(!n.Node.atDocumentBoundary(t,i,n.Char.DIRECTIVES_END)){i=Document.startCommentOrEndBlankLine(t,i);switch(t[i]){case"\n":if(r){const e=new BlankLine;i=e.parse({src:t},i);if(i<t.length){this.directives.push(e)}}else{i+=1;r=true}break;case"#":{const e=new Comment;i=e.parse({src:t},i);this.directives.push(e);r=false}break;case"%":{const e=new Directive;i=e.parse({parent:this,src:t},i);this.directives.push(e);s=true;r=false}break;default:if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}}if(t[i]){this.directivesEndMarker=new n.Range(i,i+3);return i+3}if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}parseContents(e){const{parseNode:t,src:r}=this.context;if(!this.contents)this.contents=[];let s=e;while(r[s-1]==="-")s-=1;let i=n.Node.endOfWhiteSpace(r,e);let a=s===e;this.valueRange=new n.Range(i);while(!n.Node.atDocumentBoundary(r,i,n.Char.DOCUMENT_END)){switch(r[i]){case"\n":if(a){const e=new BlankLine;i=e.parse({src:r},i);if(i<r.length){this.contents.push(e)}}else{i+=1;a=true}s=i;break;case"#":{const e=new Comment;i=e.parse({src:r},i);this.contents.push(e);a=false}break;default:{const e=n.Node.endOfIndent(r,i);const o={atLineStart:a,indent:-1,inFlow:false,inCollection:false,lineStart:s,parent:this};const c=t(o,e);if(!c)return this.valueRange.end=e;this.contents.push(c);i=c.range.end;a=false;const l=grabCollectionEndComments(c);if(l)Array.prototype.push.apply(this.contents,l)}}i=Document.startCommentOrEndBlankLine(r,i)}this.valueRange.end=i;if(r[i]){this.documentEndMarker=new n.Range(i,i+3);i+=3;if(r[i]){i=n.Node.endOfWhiteSpace(r,i);if(r[i]==="#"){const e=new Comment;i=e.parse({src:r},i);this.contents.push(e)}switch(r[i]){case"\n":i+=1;break;case undefined:break;default:this.error=new n.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}}return i}parse(e,t){e.root=this;this.context=e;const{src:r}=e;let n=r.charCodeAt(t)===65279?t+1:t;n=this.parseDirectives(n);n=this.parseContents(n);return n}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.directives.forEach((r=>{t=r.setOrigRanges(e,t)}));if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach((r=>{t=r.setOrigRanges(e,t)}));if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:r}=this;if(r!=null)return r;let s=t.join("");if(e.length>0){if(t.length>0||e[0].type===n.Type.COMMENT)s+="---\n";s+=e.join("")}if(s[s.length-1]!=="\n")s+="\n";return s}}class Alias extends n.Node{parse(e,t){this.context=e;const{src:r}=e;let s=n.Node.endOfIdentifier(r,t+1);this.valueRange=new n.Range(t+1,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}const s={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};class BlockValue extends n.Node{constructor(e,t){super(e,t);this.blockIndent=null;this.chomping=s.CLIP;this.header=null}get includesTrailingLines(){return this.chomping===s.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:r,src:i}=this.context;if(this.valueRange.isEmpty())return"";let a=null;let o=i[t-1];while(o==="\n"||o==="\t"||o===" "){t-=1;if(t<=e){if(this.chomping===s.KEEP)break;else return""}if(o==="\n")a=t;o=i[t-1]}let c=t+1;if(a){if(this.chomping===s.KEEP){c=a;t=this.valueRange.end}else{t=a}}const l=r+this.blockIndent;const u=this.type===n.Type.BLOCK_FOLDED;let f=true;let h="";let p="";let d=false;for(let r=e;r<t;++r){for(let e=0;e<l;++e){if(i[r]!==" ")break;r+=1}const e=i[r];if(e==="\n"){if(p==="\n")h+="\n";else p="\n"}else{const s=n.Node.endOfLine(i,r);const a=i.slice(r,s);r=s;if(u&&(e===" "||e==="\t")&&r<c){if(p===" ")p="\n";else if(!d&&!f&&p==="\n")p="\n\n";h+=p+a;p=s<t&&i[s]||"";d=true}else{h+=p+a;p=u&&r<c?" ":"\n";d=false}if(f&&a!=="")f=false}}return this.chomping===s.STRIP?h:h+"\n"}parseBlockHeader(e){const{src:t}=this.context;let r=e+1;let i="";while(true){const a=t[r];switch(a){case"-":this.chomping=s.STRIP;break;case"+":this.chomping=s.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i+=a;break;default:this.blockIndent=Number(i)||null;this.header=new n.Range(e,r);return r}r+=1}}parseBlockValue(e){const{indent:t,src:r}=this.context;const i=!!this.blockIndent;let a=e;let o=e;let c=1;for(let e=r[a];e==="\n";e=r[a]){a+=1;if(n.Node.atDocumentBoundary(r,a))break;const e=n.Node.endOfBlockIndent(r,t,a);if(e===null)break;const s=r[e];const l=e-(a+t);if(!this.blockIndent){if(r[e]!=="\n"){if(l<c){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new n.YAMLSemanticError(this,e)}this.blockIndent=l}else if(l>c){c=l}}else if(s&&s!=="\n"&&l<this.blockIndent){if(r[e]==="#")break;if(!this.error){const e=i?"explicit indentation indicator":"first line";const t=`Block scalars must not be less indented than their ${e}`;this.error=new n.YAMLSemanticError(this,t)}}if(r[e]==="\n"){a=e}else{a=o=n.Node.endOfLine(r,e)}}if(this.chomping!==s.KEEP){a=r[o]?o+1:o}this.valueRange=new n.Range(e+1,a);return a}parse(e,t){this.context=e;const{src:r}=e;let s=this.parseBlockHeader(t);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);s=this.parseBlockValue(s);return s}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.header?this.header.setOrigRange(e,t):t}}class FlowCollection extends n.Node{constructor(e,t){super(e,t);this.items=null}prevNodeIsJsonLike(e=this.items.length){const t=this.items[e-1];return!!t&&(t.jsonLike||t.type===n.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{indent:i,lineStart:a}=e;let o=s[t];this.items=[{char:o,offset:t}];let c=n.Node.endOfWhiteSpace(s,t+1);o=s[c];while(o&&o!=="]"&&o!=="}"){switch(o){case"\n":{a=c+1;const e=n.Node.endOfWhiteSpace(s,a);if(s[e]==="\n"){const e=new BlankLine;a=e.parse({src:s},a);this.items.push(e)}c=n.Node.endOfIndent(s,a);if(c<=a+i){o=s[c];if(c<a+i||o!=="]"&&o!=="}"){const e="Insufficient indentation in flow collection";this.error=new n.YAMLSemanticError(this,e)}}}break;case",":{this.items.push({char:o,offset:c});c+=1}break;case"#":{const e=new Comment;c=e.parse({src:s},c);this.items.push(e)}break;case"?":case":":{const e=s[c+1];if(e==="\n"||e==="\t"||e===" "||e===","||o===":"&&this.prevNodeIsJsonLike()){this.items.push({char:o,offset:c});c+=1;break}}default:{const e=r({atLineStart:false,inCollection:false,inFlow:true,indent:-1,lineStart:a,parent:this},c);if(!e){this.valueRange=new n.Range(t,c);return c}this.items.push(e);c=n.Node.normalizeOffset(s,e.range.end)}}c=n.Node.endOfWhiteSpace(s,c);o=s[c]}this.valueRange=new n.Range(t,c+1);if(o){this.items.push({char:o,offset:c});c=n.Node.endOfWhiteSpace(s,c+1);c=this.parseComment(c)}return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach((r=>{if(r instanceof n.Node){t=r.setOrigRanges(e,t)}else if(e.length===0){r.origOffset=r.offset}else{let n=t;while(n<e.length){if(e[n]>r.offset)break;else++n}r.origOffset=r.offset+n;t=n}}));return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;const i=t.filter((e=>e instanceof n.Node));let a="";let o=r.start;i.forEach((t=>{const r=e.slice(o,t.range.start);o=t.range.end;a+=r+String(t);if(a[a.length-1]==="\n"&&e[o-1]!=="\n"&&e[o]==="\n"){o+=1}}));a+=e.slice(o,r.end);return n.Node.addStringTerminator(e,r.end,a)}}class QuoteDouble extends n.Node{static endOfQuote(e,t){let r=e[t];while(r&&r!=='"'){t+=r==="\\"?2:1;r=e[t]}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=='"')e.push(new n.YAMLSyntaxError(this,'Missing closing "quote'));let a="";for(let o=t+1;o<r-1;++o){const t=i[o];if(t==="\n"){if(n.Node.atDocumentBoundary(i,o+1))e.push(new n.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));const{fold:t,offset:r,error:c}=n.Node.foldNewline(i,o,s);a+=t;o=r;if(c)e.push(new n.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(t==="\\"){o+=1;switch(i[o]){case"0":a+="\0";break;case"a":a+="";break;case"b":a+="\b";break;case"e":a+="";break;case"f":a+="\f";break;case"n":a+="\n";break;case"r":a+="\r";break;case"t":a+="\t";break;case"v":a+="\v";break;case"N":a+="…";break;case"_":a+=" ";break;case"L":a+="\u2028";break;case"P":a+="\u2029";break;case" ":a+=" ";break;case'"':a+='"';break;case"/":a+="/";break;case"\\":a+="\\";break;case"\t":a+="\t";break;case"x":a+=this.parseCharCode(o+1,2,e);o+=2;break;case"u":a+=this.parseCharCode(o+1,4,e);o+=4;break;case"U":a+=this.parseCharCode(o+1,8,e);o+=8;break;case"\n":while(i[o+1]===" "||i[o+1]==="\t")o+=1;break;default:e.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${i.substr(o-1,2)}`));a+="\\"+i[o]}}else if(t===" "||t==="\t"){const e=o;let r=i[o+1];while(r===" "||r==="\t"){o+=1;r=i[o+1]}if(r!=="\n")a+=o>e?i.slice(e,o+1):t}else{a+=t}}return e.length>0?{errors:e,str:a}:a}parseCharCode(e,t,r){const{src:s}=this.context;const i=s.substr(e,t);const a=i.length===t&&/^[0-9a-fA-F]+$/.test(i);const o=a?parseInt(i,16):NaN;if(isNaN(o)){r.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,t+2)}`));return s.substr(e-2,t+2)}return String.fromCodePoint(o)}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteDouble.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}class QuoteSingle extends n.Node{static endOfQuote(e,t){let r=e[t];while(r){if(r==="'"){if(e[t+1]!=="'")break;r=e[t+=2]}else{r=e[t+=1]}}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=="'")e.push(new n.YAMLSyntaxError(this,"Missing closing 'quote"));let a="";for(let o=t+1;o<r-1;++o){const t=i[o];if(t==="\n"){if(n.Node.atDocumentBoundary(i,o+1))e.push(new n.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));const{fold:t,offset:r,error:c}=n.Node.foldNewline(i,o,s);a+=t;o=r;if(c)e.push(new n.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(t==="'"){a+=t;o+=1;if(i[o]!=="'")e.push(new n.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."))}else if(t===" "||t==="\t"){const e=o;let r=i[o+1];while(r===" "||r==="\t"){o+=1;r=i[o+1]}if(r!=="\n")a+=o>e?i.slice(e,o+1):t}else{a+=t}}return e.length>0?{errors:e,str:a}:a}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteSingle.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}function createNewNode(e,t){switch(e){case n.Type.ALIAS:return new Alias(e,t);case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return new BlockValue(e,t);case n.Type.FLOW_MAP:case n.Type.FLOW_SEQ:return new FlowCollection(e,t);case n.Type.MAP_KEY:case n.Type.MAP_VALUE:case n.Type.SEQ_ITEM:return new CollectionItem(e,t);case n.Type.COMMENT:case n.Type.PLAIN:return new n.PlainValue(e,t);case n.Type.QUOTE_DOUBLE:return new QuoteDouble(e,t);case n.Type.QUOTE_SINGLE:return new QuoteSingle(e,t);default:return null}}class ParseContext{static parseType(e,t,r){switch(e[t]){case"*":return n.Type.ALIAS;case">":return n.Type.BLOCK_FOLDED;case"|":return n.Type.BLOCK_LITERAL;case"{":return n.Type.FLOW_MAP;case"[":return n.Type.FLOW_SEQ;case"?":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_KEY:n.Type.PLAIN;case":":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_VALUE:n.Type.PLAIN;case"-":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.SEQ_ITEM:n.Type.PLAIN;case'"':return n.Type.QUOTE_DOUBLE;case"'":return n.Type.QUOTE_SINGLE;default:return n.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:r,inFlow:s,indent:i,lineStart:a,parent:o}={}){n._defineProperty(this,"parseNode",((e,t)=>{if(n.Node.atDocumentBoundary(this.src,t))return null;const r=new ParseContext(this,e);const{props:s,type:i,valueStart:a}=r.parseProps(t);const o=createNewNode(i,s);let c=o.parse(r,a);o.range=new n.Range(t,c);if(c<=t){o.error=new Error(`Node#parse consumed no characters`);o.error.parseEnd=c;o.error.source=o;o.range.end=t+1}if(r.nodeStartsCollection(o)){if(!o.error&&!r.atLineStart&&r.parent.type===n.Type.DOCUMENT){o.error=new n.YAMLSyntaxError(o,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new Collection(o);c=e.parse(new ParseContext(r),c);e.range=new n.Range(t,c);return e}return o}));this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=r!=null?r:e.inCollection||false;this.inFlow=s!=null?s:e.inFlow||false;this.indent=i!=null?i:e.indent;this.lineStart=a!=null?a:e.lineStart;this.parent=o!=null?o:e.parent||{};this.root=e.root;this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:r,src:s}=this;if(t||r)return false;if(e instanceof CollectionItem)return true;let i=e.range.end;if(s[i]==="\n"||s[i-1]==="\n")return false;i=n.Node.endOfWhiteSpace(s,i);return s[i]===":"}parseProps(e){const{inFlow:t,parent:r,src:s}=this;const i=[];let a=false;e=this.atLineStart?n.Node.endOfIndent(s,e):n.Node.endOfWhiteSpace(s,e);let o=s[e];while(o===n.Char.ANCHOR||o===n.Char.COMMENT||o===n.Char.TAG||o==="\n"){if(o==="\n"){let t=e;let i;do{i=t+1;t=n.Node.endOfIndent(s,i)}while(s[t]==="\n");const o=t-(i+this.indent);const c=r.type===n.Type.SEQ_ITEM&&r.context.atLineStart;if(s[t]!=="#"&&!n.Node.nextNodeIsIndented(s[t],o,!c))break;this.atLineStart=true;this.lineStart=i;a=false;e=t}else if(o===n.Char.COMMENT){const t=n.Node.endOfLine(s,e+1);i.push(new n.Range(e,t));e=t}else{let t=n.Node.endOfIdentifier(s,e+1);if(o===n.Char.TAG&&s[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))){t=n.Node.endOfIdentifier(s,t+5)}i.push(new n.Range(e,t));a=true;e=n.Node.endOfWhiteSpace(s,t)}o=s[e]}if(a&&o===":"&&n.Node.atBlank(s,e+1,true))e-=1;const c=ParseContext.parseType(s,e,t);return{props:i,type:c,valueStart:e}}}function parse(e){const t=[];if(e.indexOf("\r")!==-1){e=e.replace(/\r\n?/g,((e,r)=>{if(e.length>1)t.push(r);return"\n"}))}const r=[];let n=0;do{const t=new Document;const s=new ParseContext({src:e});n=t.parse(s,n);r.push(t)}while(n<e.length);r.setOrigRanges=()=>{if(t.length===0)return false;for(let e=1;e<t.length;++e)t[e]-=e;let e=0;for(let n=0;n<r.length;++n){e=r[n].setOrigRanges(t,e)}t.splice(0,t.length);return true};r.toString=()=>r.join("...\n");return r}t.parse=parse},4288:function(e,t,r){"use strict";var n=r(2592);function addCommentBefore(e,t,r){if(!r)return e;const n=r.replace(/[\s\S]^/gm,`$&${t}#`);return`#${n}\n${t}${e}`}function addComment(e,t,r){return!r?e:r.indexOf("\n")===-1?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`)}class Node{}function toJSON(e,t,r){if(Array.isArray(e))return e.map(((e,t)=>toJSON(e,String(t),r)));if(e&&typeof e.toJSON==="function"){const n=r&&r.anchors&&r.anchors.get(e);if(n)r.onCreate=e=>{n.res=e;delete r.onCreate};const s=e.toJSON(t,r);if(n&&r.onCreate)r.onCreate(s);return s}if((!r||!r.keep)&&typeof e==="bigint")return Number(e);return e}class Scalar extends Node{constructor(e){super();this.value=e}toJSON(e,t){return t&&t.keep?this.value:toJSON(this.value,e,t)}toString(){return String(this.value)}}function collectionFromPath(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];if(Number.isInteger(r)&&r>=0){const e=[];e[r]=n;n=e}else{const e={};Object.defineProperty(e,r,{value:n,writable:true,enumerable:true,configurable:true});n=e}}return e.createNode(n,false)}const isEmptyPath=e=>e==null||typeof e==="object"&&e[Symbol.iterator]().next().done;class Collection extends Node{constructor(e){super();n._defineProperty(this,"items",[]);this.schema=e}addIn(e,t){if(isEmptyPath(e))this.add(t);else{const[r,...n]=e;const s=this.get(r,true);if(s instanceof Collection)s.addIn(n,t);else if(s===undefined&&this.schema)this.set(r,collectionFromPath(this.schema,n,t));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}}deleteIn([e,...t]){if(t.length===0)return this.delete(e);const r=this.get(e,true);if(r instanceof Collection)return r.deleteIn(t);else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],r){const n=this.get(e,true);if(t.length===0)return!r&&n instanceof Scalar?n.value:n;else return n instanceof Collection?n.getIn(t,r):undefined}hasAllNullValues(){return this.items.every((e=>{if(!e||e.type!=="PAIR")return false;const t=e.value;return t==null||t instanceof Scalar&&t.value==null&&!t.commentBefore&&!t.comment&&!t.tag}))}hasIn([e,...t]){if(t.length===0)return this.has(e);const r=this.get(e,true);return r instanceof Collection?r.hasIn(t):false}setIn([e,...t],r){if(t.length===0){this.set(e,r)}else{const n=this.get(e,true);if(n instanceof Collection)n.setIn(t,r);else if(n===undefined&&this.schema)this.set(e,collectionFromPath(this.schema,t,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:r,isMap:s,itemIndent:i},a,o){const{indent:c,indentStep:l,stringify:u}=e;const f=this.type===n.Type.FLOW_MAP||this.type===n.Type.FLOW_SEQ||e.inFlow;if(f)i+=l;const h=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:h,indent:i,inFlow:f,type:null});let p=false;let d=false;const m=this.items.reduce(((t,r,n)=>{let s;if(r){if(!p&&r.spaceBefore)t.push({type:"comment",str:""});if(r.commentBefore)r.commentBefore.match(/^.*$/gm).forEach((e=>{t.push({type:"comment",str:`#${e}`})}));if(r.comment)s=r.comment;if(f&&(!p&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment)))d=true}p=false;let a=u(r,e,(()=>s=null),(()=>p=true));if(f&&!d&&a.includes("\n"))d=true;if(f&&n<this.items.length-1)a+=",";a=addComment(a,i,s);if(p&&(s||f))p=false;t.push({type:"item",str:a});return t}),[]);let g;if(m.length===0){g=r.start+r.end}else if(f){const{start:e,end:t}=r;const n=m.map((e=>e.str));if(d||n.reduce(((e,t)=>e+t.length+2),2)>Collection.maxFlowStringSingleLineLength){g=e;for(const e of n){g+=e?`\n${l}${c}${e}`:"\n"}g+=`\n${c}${t}`}else{g=`${e} ${n.join(" ")} ${t}`}}else{const e=m.map(t);g=e.shift();for(const t of e)g+=t?`\n${c}${t}`:"\n"}if(this.comment){g+="\n"+this.comment.replace(/^/gm,`${c}#`);if(a)a()}else if(p&&o)o();return g}}n._defineProperty(Collection,"maxFlowStringSingleLineLength",60);function asItemIndex(e){let t=e instanceof Scalar?e.value:e;if(t&&typeof t==="string")t=Number(t);return Number.isInteger(t)&&t>=0?t:null}class YAMLSeq extends Collection{add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const r=this.items.splice(t,1);return r.length>0}get(e,t){const r=asItemIndex(e);if(typeof r!=="number")return undefined;const n=this.items[r];return!t&&n instanceof Scalar?n.value:n}has(e){const t=asItemIndex(e);return typeof t==="number"&&t<this.items.length}set(e,t){const r=asItemIndex(e);if(typeof r!=="number")throw new Error(`Expected a valid index, not ${e}.`);this.items[r]=t}toJSON(e,t){const r=[];if(t&&t.onCreate)t.onCreate(r);let n=0;for(const e of this.items)r.push(toJSON(e,String(n++),t));return r}toString(e,t,r){if(!e)return JSON.stringify(this);return super.toString(e,{blockItem:e=>e.type==="comment"?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:false,itemIndent:(e.indent||"")+" "},t,r)}}const stringifyKey=(e,t,r)=>{if(t===null)return"";if(typeof t!=="object")return String(t);if(e instanceof Node&&r&&r.doc)return e.toString({anchors:Object.create(null),doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:true,inStringifyKey:true,stringify:r.stringify});return JSON.stringify(t)};class Pair extends Node{constructor(e,t=null){super();this.key=e;this.value=t;this.type=Pair.Type.PAIR}get commentBefore(){return this.key instanceof Node?this.key.commentBefore:undefined}set commentBefore(e){if(this.key==null)this.key=new Scalar(null);if(this.key instanceof Node)this.key.commentBefore=e;else{const e="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(e)}}addToJSMap(e,t){const r=toJSON(this.key,"",e);if(t instanceof Map){const n=toJSON(this.value,r,e);t.set(r,n)}else if(t instanceof Set){t.add(r)}else{const n=stringifyKey(this.key,r,e);const s=toJSON(this.value,n,e);if(n in t)Object.defineProperty(t,n,{value:s,writable:true,enumerable:true,configurable:true});else t[n]=s}return t}toJSON(e,t){const r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,t,r){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:i,simpleKeys:a}=e.doc.options;let{key:o,value:c}=this;let l=o instanceof Node&&o.comment;if(a){if(l){throw new Error("With simple keys, key nodes cannot have comments")}if(o instanceof Collection){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}let u=!a&&(!o||l||(o instanceof Node?o instanceof Collection||o.type===n.Type.BLOCK_FOLDED||o.type===n.Type.BLOCK_LITERAL:typeof o==="object"));const{doc:f,indent:h,indentStep:p,stringify:d}=e;e=Object.assign({},e,{implicitKey:!u,indent:h+p});let m=false;let g=d(o,e,(()=>l=null),(()=>m=true));g=addComment(g,e.indent,l);if(!u&&g.length>1024){if(a)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");u=true}if(e.allNullValues&&!a){if(this.comment){g=addComment(g,e.indent,this.comment);if(t)t()}else if(m&&!l&&r)r();return e.inFlow&&!u?g:`? ${g}`}g=u?`? ${g}\n${h}:`:`${g}:`;if(this.comment){g=addComment(g,e.indent,this.comment);if(t)t()}let y="";let b=null;if(c instanceof Node){if(c.spaceBefore)y="\n";if(c.commentBefore){const t=c.commentBefore.replace(/^/gm,`${e.indent}#`);y+=`\n${t}`}b=c.comment}else if(c&&typeof c==="object"){c=f.schema.createNode(c,true)}e.implicitKey=false;if(!u&&!this.comment&&c instanceof Scalar)e.indentAtStart=g.length+1;m=false;if(!i&&s>=2&&!e.inFlow&&!u&&c instanceof YAMLSeq&&c.type!==n.Type.FLOW_SEQ&&!c.tag&&!f.anchors.getName(c)){e.indent=e.indent.substr(2)}const E=d(c,e,(()=>b=null),(()=>m=true));let S=" ";if(y||this.comment){S=`${y}\n${e.indent}`}else if(!u&&c instanceof Collection){const t=E[0]==="["||E[0]==="{";if(!t||E.includes("\n"))S=`\n${e.indent}`}else if(E[0]==="\n")S="";if(m&&!b&&r)r();return addComment(g+S+E,e.indent,b)}}n._defineProperty(Pair,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const getAliasCount=(e,t)=>{if(e instanceof Alias){const r=t.get(e.source);return r.count*r.aliasCount}else if(e instanceof Collection){let r=0;for(const n of e.items){const e=getAliasCount(n,t);if(e>r)r=e}return r}else if(e instanceof Pair){const r=getAliasCount(e.key,t);const n=getAliasCount(e.value,t);return Math.max(r,n)}return 1};class Alias extends Node{static stringify({range:e,source:t},{anchors:r,doc:n,implicitKey:s,inStringifyKey:i}){let a=Object.keys(r).find((e=>r[e]===t));if(!a&&i)a=n.anchors.getName(t)||n.anchors.newName();if(a)return`*${a}${s?" ":""}`;const o=n.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${o} [${e}]`)}constructor(e){super();this.source=e;this.type=n.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return toJSON(this.source,e,t);const{anchors:r,maxAliasCount:s}=t;const i=r.get(this.source);if(!i||i.res===undefined){const e="This should not happen: Alias anchor was not resolved?";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}if(s>=0){i.count+=1;if(i.aliasCount===0)i.aliasCount=getAliasCount(this.source,r);if(i.count*i.aliasCount>s){const e="Excessive alias count indicates a resource exhaustion attack";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}}return i.res}toString(e){return Alias.stringify(this,e)}}n._defineProperty(Alias,"default",true);function findPair(e,t){const r=t instanceof Scalar?t.value:t;for(const n of e){if(n instanceof Pair){if(n.key===t||n.key===r)return n;if(n.key&&n.key.value===r)return n}}return undefined}class YAMLMap extends Collection{add(e,t){if(!e)e=new Pair(e);else if(!(e instanceof Pair))e=new Pair(e.key||e,e.value);const r=findPair(this.items,e.key);const n=this.schema&&this.schema.sortMapEntries;if(r){if(t)r.value=e.value;else throw new Error(`Key ${e.key} already set`)}else if(n){const t=this.items.findIndex((t=>n(e,t)<0));if(t===-1)this.items.push(e);else this.items.splice(t,0,e)}else{this.items.push(e)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const r=this.items.splice(this.items.indexOf(t),1);return r.length>0}get(e,t){const r=findPair(this.items,e);const n=r&&r.value;return!t&&n instanceof Scalar?n.value:n}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new Pair(e,t),true)}toJSON(e,t,r){const n=r?new r:t&&t.mapAsMap?new Map:{};if(t&&t.onCreate)t.onCreate(n);for(const e of this.items)e.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items){if(!(e instanceof Pair))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:true,itemIndent:e.indent||""},t,r)}}const s="<<";class Merge extends Pair{constructor(e){if(e instanceof Pair){let t=e.value;if(!(t instanceof YAMLSeq)){t=new YAMLSeq;t.items.push(e.value);t.range=e.value.range}super(e.key,t);this.range=e.range}else{super(new Scalar(s),new YAMLSeq)}this.type=Pair.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:r}of this.value.items){if(!(r instanceof YAMLMap))throw new Error("Merge sources must be maps");const n=r.toJSON(null,e,Map);for(const[e,r]of n){if(t instanceof Map){if(!t.has(e))t.set(e,r)}else if(t instanceof Set){t.add(e)}else if(!Object.prototype.hasOwnProperty.call(t,e)){Object.defineProperty(t,e,{value:r,writable:true,enumerable:true,configurable:true})}}}return t}toString(e,t){const r=this.value;if(r.items.length>1)return super.toString(e,t);this.value=r.items[0];const n=super.toString(e,t);this.value=r;return n}}const i={defaultType:n.Type.BLOCK_LITERAL,lineWidth:76};const a={trueStr:"true",falseStr:"false"};const o={asBigInt:false};const c={nullStr:"null"};const l={defaultType:n.Type.PLAIN,doubleQuoted:{jsonEncoding:false,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function resolveScalar(e,t,r){for(const{format:r,test:n,resolve:s}of t){if(n){const t=e.match(n);if(t){let e=s.apply(null,t);if(!(e instanceof Scalar))e=new Scalar(e);if(r)e.format=r;return e}}}if(r)e=r(e);return new Scalar(e)}const u="flow";const f="block";const h="quoted";const consumeMoreIndentedLines=(e,t)=>{let r=e[t+1];while(r===" "||r==="\t"){do{r=e[t+=1]}while(r&&r!=="\n");r=e[t+1]}return t};function foldFlowLines(e,t,r,{indentAtStart:n,lineWidth:s=80,minContentWidth:i=20,onFold:a,onOverflow:o}){if(!s||s<0)return e;const c=Math.max(1+i,1+s-t.length);if(e.length<=c)return e;const l=[];const u={};let p=s-t.length;if(typeof n==="number"){if(n>s-Math.max(2,i))l.push(0);else p=s-n}let d=undefined;let m=undefined;let g=false;let y=-1;let b=-1;let E=-1;if(r===f){y=consumeMoreIndentedLines(e,y);if(y!==-1)p=y+c}for(let t;t=e[y+=1];){if(r===h&&t==="\\"){b=y;switch(e[y+1]){case"x":y+=3;break;case"u":y+=5;break;case"U":y+=9;break;default:y+=1}E=y}if(t==="\n"){if(r===f)y=consumeMoreIndentedLines(e,y);p=y+c;d=undefined}else{if(t===" "&&m&&m!==" "&&m!=="\n"&&m!=="\t"){const t=e[y+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")d=y}if(y>=p){if(d){l.push(d);p=d+c;d=undefined}else if(r===h){while(m===" "||m==="\t"){m=t;t=e[y+=1];g=true}const r=y>E+1?y-2:b-1;if(u[r])return e;l.push(r);u[r]=true;p=r+c;d=undefined}else{g=true}}}m=t}if(g&&o)o();if(l.length===0)return e;if(a)a();let S=e.slice(0,l[0]);for(let n=0;n<l.length;++n){const s=l[n];const i=l[n+1]||e.length;if(s===0)S=`\n${t}${e.slice(0,i)}`;else{if(r===h&&u[s])S+=`${e[s]}\\`;S+=`\n${t}${e.slice(s+1,i)}`}}return S}const getFoldOptions=({indentAtStart:e})=>e?Object.assign({indentAtStart:e},l.fold):l.fold;const containsDocumentMarker=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t,r){if(!t||t<0)return false;const n=t-r;const s=e.length;if(s<=n)return false;for(let t=0,r=0;t<s;++t){if(e[t]==="\n"){if(t-r>n)return true;r=t+1;if(s-r<=n)return false}}return true}function doubleQuotedString(e,t){const{implicitKey:r}=t;const{jsonEncoding:n,minMultiLineLength:s}=l.doubleQuoted;const i=JSON.stringify(e);if(n)return i;const a=t.indent||(containsDocumentMarker(e)?" ":"");let o="";let c=0;for(let e=0,t=i[e];t;t=i[++e]){if(t===" "&&i[e+1]==="\\"&&i[e+2]==="n"){o+=i.slice(c,e)+"\\ ";e+=1;c=e;t="\\"}if(t==="\\")switch(i[e+1]){case"u":{o+=i.slice(c,e);const t=i.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:if(t.substr(0,2)==="00")o+="\\x"+t.substr(2);else o+=i.substr(e,6)}e+=5;c=e+1}break;case"n":if(r||i[e+2]==='"'||i.length<s){e+=1}else{o+=i.slice(c,e)+"\n\n";while(i[e+2]==="\\"&&i[e+3]==="n"&&i[e+4]!=='"'){o+="\n";e+=2}o+=a;if(i[e+2]===" ")o+="\\";e+=1;c=e+1}break;default:e+=1}}o=c?o+i.slice(c):i;return r?o:foldFlowLines(o,a,h,getFoldOptions(t))}function singleQuotedString(e,t){if(t.implicitKey){if(/\n/.test(e))return doubleQuotedString(e,t)}else{if(/[ \t]\n|\n[ \t]/.test(e))return doubleQuotedString(e,t)}const r=t.indent||(containsDocumentMarker(e)?" ":"");const n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${r}`)+"'";return t.implicitKey?n:foldFlowLines(n,r,u,getFoldOptions(t))}function blockString({comment:e,type:t,value:r},s,i,a){if(/\n[\t ]+$/.test(r)||/^\s*$/.test(r)){return doubleQuotedString(r,s)}const o=s.indent||(s.forceBlockIndent||containsDocumentMarker(r)?" ":"");const c=o?"2":"1";const u=t===n.Type.BLOCK_FOLDED?false:t===n.Type.BLOCK_LITERAL?true:!lineLengthOverLimit(r,l.fold.lineWidth,o.length);let h=u?"|":">";if(!r)return h+"\n";let p="";let d="";r=r.replace(/[\n\t ]*$/,(e=>{const t=e.indexOf("\n");if(t===-1){h+="-"}else if(r===e||t!==e.length-1){h+="+";if(a)a()}d=e.replace(/\n$/,"");return""})).replace(/^[\n ]*/,(e=>{if(e.indexOf(" ")!==-1)h+=c;const t=e.match(/ +$/);if(t){p=e.slice(0,-t[0].length);return t[0]}else{p=e;return""}}));if(d)d=d.replace(/\n+(?!\n|$)/g,`$&${o}`);if(p)p=p.replace(/\n+/g,`$&${o}`);if(e){h+=" #"+e.replace(/ ?[\r\n]+/g," ");if(i)i()}if(!r)return`${h}${c}\n${o}${d}`;if(u){r=r.replace(/\n+/g,`$&${o}`);return`${h}\n${o}${p}${r}${d}`}r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${o}`);const m=foldFlowLines(`${p}${r}${d}`,o,f,l.fold);return`${h}\n${o}${m}`}function plainString(e,t,r,s){const{comment:i,type:a,value:o}=e;const{actualString:c,implicitKey:l,indent:f,inFlow:h}=t;if(l&&/[\n[\]{},]/.test(o)||h&&/[[\]{},]/.test(o)){return doubleQuotedString(o,t)}if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o)){return l||h||o.indexOf("\n")===-1?o.indexOf('"')!==-1&&o.indexOf("'")===-1?singleQuotedString(o,t):doubleQuotedString(o,t):blockString(e,t,r,s)}if(!l&&!h&&a!==n.Type.PLAIN&&o.indexOf("\n")!==-1){return blockString(e,t,r,s)}if(f===""&&containsDocumentMarker(o)){t.forceBlockIndent=true;return blockString(e,t,r,s)}const p=o.replace(/\n+/g,`$&\n${f}`);if(c){const{tags:e}=t.doc.schema;const r=resolveScalar(p,e,e.scalarFallback).value;if(typeof r!=="string")return doubleQuotedString(o,t)}const d=l?p:foldFlowLines(p,f,u,getFoldOptions(t));if(i&&!h&&(d.indexOf("\n")!==-1||i.indexOf("\n")!==-1)){if(r)r();return addCommentBefore(d,f,i)}return d}function stringifyString(e,t,r,s){const{defaultType:i}=l;const{implicitKey:a,inFlow:o}=t;let{type:c,value:u}=e;if(typeof u!=="string"){u=String(u);e=Object.assign({},e,{value:u})}const _stringify=i=>{switch(i){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return blockString(e,t,r,s);case n.Type.QUOTE_DOUBLE:return doubleQuotedString(u,t);case n.Type.QUOTE_SINGLE:return singleQuotedString(u,t);case n.Type.PLAIN:return plainString(e,t,r,s);default:return null}};if(c!==n.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)){c=n.Type.QUOTE_DOUBLE}else if((a||o)&&(c===n.Type.BLOCK_FOLDED||c===n.Type.BLOCK_LITERAL)){c=n.Type.QUOTE_DOUBLE}let f=_stringify(c);if(f===null){f=_stringify(i);if(f===null)throw new Error(`Unsupported default string type ${i}`)}return f}function stringifyNumber({format:e,minFractionDigits:t,tag:r,value:n}){if(typeof n==="bigint")return String(n);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let s=JSON.stringify(n);if(!e&&t&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let e=s.indexOf(".");if(e<0){e=s.length;s+="."}let r=t-(s.length-e-1);while(r-- >0)s+="0"}return s}function checkFlowCollectionEnd(e,t){let r,s;switch(t.type){case n.Type.FLOW_MAP:r="}";s="flow map";break;case n.Type.FLOW_SEQ:r="]";s="flow sequence";break;default:e.push(new n.YAMLSemanticError(t,"Not a flow collection!?"));return}let i;for(let e=t.items.length-1;e>=0;--e){const r=t.items[e];if(!r||r.type!==n.Type.COMMENT){i=r;break}}if(i&&i.char!==r){const a=`Expected ${s} to end with ${r}`;let o;if(typeof i.offset==="number"){o=new n.YAMLSemanticError(t,a);o.offset=i.offset+1}else{o=new n.YAMLSemanticError(i,a);if(i.range&&i.range.end)o.offset=i.range.end-i.range.start}e.push(o)}}function checkFlowCommentSpace(e,t){const r=t.context.src[t.range.start-1];if(r!=="\n"&&r!=="\t"&&r!==" "){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}}function getLongKeyError(e,t){const r=String(t);const s=r.substr(0,8)+"..."+r.substr(-8);return new n.YAMLSemanticError(e,`The "${s}" key is too long`)}function resolveComments(e,t){for(const{afterKey:r,before:n,comment:s}of t){let t=e.items[n];if(!t){if(s!==undefined){if(e.comment)e.comment+="\n"+s;else e.comment=s}}else{if(r&&t.value)t=t.value;if(s===undefined){if(r||!t.commentBefore)t.spaceBefore=true}else{if(t.commentBefore)t.commentBefore+="\n"+s;else t.commentBefore=s}}}}function resolveString(e,t){const r=t.strValue;if(!r)return"";if(typeof r==="string")return r;r.errors.forEach((r=>{if(!r.source)r.source=t;e.errors.push(r)}));return r.str}function resolveTagHandle(e,t){const{handle:r,suffix:s}=t.tag;let i=e.tagPrefixes.find((e=>e.handle===r));if(!i){const s=e.getDefaults().tagPrefixes;if(s)i=s.find((e=>e.handle===r));if(!i)throw new n.YAMLSemanticError(t,`The ${r} tag handle is non-default and was not declared.`)}if(!s)throw new n.YAMLSemanticError(t,`The ${r} tag has no suffix.`);if(r==="!"&&(e.version||e.options.version)==="1.0"){if(s[0]==="^"){e.warnings.push(new n.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported"));return s}if(/[:/]/.test(s)){const e=s.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${s}`}}return i.prefix+decodeURIComponent(s)}function resolveTagName(e,t){const{tag:r,type:s}=t;let i=false;if(r){const{handle:s,suffix:a,verbatim:o}=r;if(o){if(o!=="!"&&o!=="!!")return o;const r=`Verbatim tags aren't resolved, so ${o} is invalid.`;e.errors.push(new n.YAMLSemanticError(t,r))}else if(s==="!"&&!a){i=true}else{try{return resolveTagHandle(e,t)}catch(t){e.errors.push(t)}}}switch(s){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:case n.Type.QUOTE_DOUBLE:case n.Type.QUOTE_SINGLE:return n.defaultTags.STR;case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;case n.Type.PLAIN:return i?n.defaultTags.STR:null;default:return null}}function resolveByTagName(e,t,r){const{tags:n}=e.schema;const s=[];for(const i of n){if(i.tag===r){if(i.test)s.push(i);else{const r=i.resolve(e,t);return r instanceof Collection?r:new Scalar(r)}}}const i=resolveString(e,t);if(typeof i==="string"&&s.length>0)return resolveScalar(i,s,n.scalarFallback);return null}function getFallbackTagName({type:e}){switch(e){case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;default:return n.defaultTags.STR}}function resolveTag(e,t,r){try{const n=resolveByTagName(e,t,r);if(n){if(r&&t.tag)n.tag=r;return n}}catch(r){if(!r.source)r.source=t;e.errors.push(r);return null}try{const s=getFallbackTagName(t);if(!s)throw new Error(`The tag ${r} is unavailable`);const i=`The tag ${r} is unavailable, falling back to ${s}`;e.warnings.push(new n.YAMLWarning(t,i));const a=resolveByTagName(e,t,s);a.tag=r;return a}catch(r){const s=new n.YAMLReferenceError(t,r.message);s.stack=r.stack;e.errors.push(s);return null}}const isCollectionItem=e=>{if(!e)return false;const{type:t}=e;return t===n.Type.MAP_KEY||t===n.Type.MAP_VALUE||t===n.Type.SEQ_ITEM};function resolveNodeProps(e,t){const r={before:[],after:[]};let s=false;let i=false;const a=isCollectionItem(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:o,end:c}of a){switch(t.context.src[o]){case n.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(o)){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}const{header:s,valueRange:i}=t;const a=i&&(o>i.start||s&&o>s.start)?r.after:r.before;a.push(t.context.src.slice(o+1,c));break}case n.Char.ANCHOR:if(s){const r="A node can have at most one anchor";e.push(new n.YAMLSemanticError(t,r))}s=true;break;case n.Char.TAG:if(i){const r="A node can have at most one tag";e.push(new n.YAMLSemanticError(t,r))}i=true;break}}return{comments:r,hasAnchor:s,hasTag:i}}function resolveNodeValue(e,t){const{anchors:r,errors:s,schema:i}=e;if(t.type===n.Type.ALIAS){const e=t.rawValue;const i=r.getNode(e);if(!i){const r=`Aliased anchor not found: ${e}`;s.push(new n.YAMLReferenceError(t,r));return null}const a=new Alias(i);r._cstAliases.push(a);return a}const a=resolveTagName(e,t);if(a)return resolveTag(e,t,a);if(t.type!==n.Type.PLAIN){const e=`Failed to resolve ${t.type} node here`;s.push(new n.YAMLSyntaxError(t,e));return null}try{const r=resolveString(e,t);return resolveScalar(r,i.tags,i.tags.scalarFallback)}catch(e){if(!e.source)e.source=t;s.push(e);return null}}function resolveNode(e,t){if(!t)return null;if(t.error)e.errors.push(t.error);const{comments:r,hasAnchor:s,hasTag:i}=resolveNodeProps(e.errors,t);if(s){const{anchors:r}=e;const n=t.anchor;const s=r.getNode(n);if(s)r.map[r.newName(n)]=s;r.map[n]=t}if(t.type===n.Type.ALIAS&&(s||i)){const r="An alias node must not specify any properties";e.errors.push(new n.YAMLSemanticError(t,r))}const a=resolveNodeValue(e,t);if(a){a.range=[t.range.start,t.range.end];if(e.options.keepCstNodes)a.cstNode=t;if(e.options.keepNodeTypes)a.type=t.type;const n=r.before.join("\n");if(n){a.commentBefore=a.commentBefore?`${a.commentBefore}\n${n}`:n}const s=r.after.join("\n");if(s)a.comment=a.comment?`${a.comment}\n${s}`:s}return t.resolved=a}function resolveMap(e,t){if(t.type!==n.Type.MAP&&t.type!==n.Type.FLOW_MAP){const r=`A ${t.type} node cannot be resolved as a mapping`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:i}=t.type===n.Type.FLOW_MAP?resolveFlowMapItems(e,t):resolveBlockMapItems(e,t);const a=new YAMLMap;a.items=i;resolveComments(a,r);let o=false;for(let r=0;r<i.length;++r){const{key:a}=i[r];if(a instanceof Collection)o=true;if(e.schema.merge&&a&&a.value===s){i[r]=new Merge(i[r]);const s=i[r].value.items;let a=null;s.some((e=>{if(e instanceof Alias){const{type:t}=e.source;if(t===n.Type.MAP||t===n.Type.FLOW_MAP)return false;return a="Merge nodes aliases can only point to maps"}return a="Merge nodes can only have Alias nodes as values"}));if(a)e.errors.push(new n.YAMLSemanticError(t,a))}else{for(let s=r+1;s<i.length;++s){const{key:r}=i[s];if(a===r||a&&r&&Object.prototype.hasOwnProperty.call(a,"value")&&a.value===r.value){const r=`Map keys must be unique; "${a}" is repeated`;e.errors.push(new n.YAMLSemanticError(t,r));break}}}}if(o&&!e.options.mapAsMap){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=a;return a}const valueHasPairComment=({context:{lineStart:e,node:t,src:r},props:s})=>{if(s.length===0)return false;const{start:i}=s[0];if(t&&i>t.valueRange.start)return false;if(r[i]!==n.Char.COMMENT)return false;for(let t=e;t<i;++t)if(r[t]==="\n")return false;return true};function resolvePairComment(e,t){if(!valueHasPairComment(e))return;const r=e.getPropValue(0,n.Char.COMMENT,true);let s=false;const i=t.value.commentBefore;if(i&&i.startsWith(r)){t.value.commentBefore=i.substr(r.length+1);s=true}else{const n=t.value.comment;if(!e.node&&n&&n.startsWith(r)){t.value.comment=n.substr(r.length+1);s=true}}if(s)t.comment=r}function resolveBlockMapItems(e,t){const r=[];const s=[];let i=undefined;let a=null;for(let o=0;o<t.items.length;++o){const c=t.items[o];switch(c.type){case n.Type.BLANK_LINE:r.push({afterKey:!!i,before:s.length});break;case n.Type.COMMENT:r.push({afterKey:!!i,before:s.length,comment:c.comment});break;case n.Type.MAP_KEY:if(i!==undefined)s.push(new Pair(i));if(c.error)e.errors.push(c.error);i=resolveNode(e,c.node);a=null;break;case n.Type.MAP_VALUE:{if(i===undefined)i=null;if(c.error)e.errors.push(c.error);if(!c.context.atLineStart&&c.node&&c.node.type===n.Type.MAP&&!c.node.context.atLineStart){const t="Nested mappings are not allowed in compact mappings";e.errors.push(new n.YAMLSemanticError(c.node,t))}let r=c.node;if(!r&&c.props.length>0){r=new n.PlainValue(n.Type.PLAIN,[]);r.context={parent:c,src:c.context.src};const e=c.range.start+1;r.range={start:e,end:e};r.valueRange={start:e,end:e};if(typeof c.range.origStart==="number"){const e=c.range.origStart+1;r.range.origStart=r.range.origEnd=e;r.valueRange.origStart=r.valueRange.origEnd=e}}const o=new Pair(i,resolveNode(e,r));resolvePairComment(c,o);s.push(o);if(i&&typeof a==="number"){if(c.range.start>a+1024)e.errors.push(getLongKeyError(t,i))}i=undefined;a=null}break;default:if(i!==undefined)s.push(new Pair(i));i=resolveNode(e,c);a=c.range.start;if(c.error)e.errors.push(c.error);e:for(let r=o+1;;++r){const s=t.items[r];switch(s&&s.type){case n.Type.BLANK_LINE:case n.Type.COMMENT:continue e;case n.Type.MAP_VALUE:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new n.YAMLSemanticError(c,t));break e}}}if(c.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new n.YAMLSemanticError(c,t))}}}if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveFlowMapItems(e,t){const r=[];const s=[];let i=undefined;let a=false;let o="{";for(let c=0;c<t.items.length;++c){const l=t.items[c];if(typeof l.char==="string"){const{char:r,offset:u}=l;if(r==="?"&&i===undefined&&!a){a=true;o=":";continue}if(r===":"){if(i===undefined)i=null;if(o===":"){o=",";continue}}else{if(a){if(i===undefined&&r!==",")i=null;a=false}if(i!==undefined){s.push(new Pair(i));i=undefined;if(r===","){o=":";continue}}}if(r==="}"){if(c===t.items.length-1)continue}else if(r===o){o=":";continue}const f=`Flow map contains an unexpected ${r}`;const h=new n.YAMLSyntaxError(t,f);h.offset=u;e.errors.push(h)}else if(l.type===n.Type.BLANK_LINE){r.push({afterKey:!!i,before:s.length})}else if(l.type===n.Type.COMMENT){checkFlowCommentSpace(e.errors,l);r.push({afterKey:!!i,before:s.length,comment:l.comment})}else if(i===undefined){if(o===",")e.errors.push(new n.YAMLSemanticError(l,"Separator , missing in flow map"));i=resolveNode(e,l)}else{if(o!==",")e.errors.push(new n.YAMLSemanticError(l,"Indicator : missing in flow map entry"));s.push(new Pair(i,resolveNode(e,l)));i=undefined;a=false}}checkFlowCollectionEnd(e.errors,t);if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveSeq(e,t){if(t.type!==n.Type.SEQ&&t.type!==n.Type.FLOW_SEQ){const r=`A ${t.type} node cannot be resolved as a sequence`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:s}=t.type===n.Type.FLOW_SEQ?resolveFlowSeqItems(e,t):resolveBlockSeqItems(e,t);const i=new YAMLSeq;i.items=s;resolveComments(i,r);if(!e.options.mapAsMap&&s.some((e=>e instanceof Pair&&e.key instanceof Collection))){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=i;return i}function resolveBlockSeqItems(e,t){const r=[];const s=[];for(let i=0;i<t.items.length;++i){const a=t.items[i];switch(a.type){case n.Type.BLANK_LINE:r.push({before:s.length});break;case n.Type.COMMENT:r.push({comment:a.comment,before:s.length});break;case n.Type.SEQ_ITEM:if(a.error)e.errors.push(a.error);s.push(resolveNode(e,a.node));if(a.hasProps){const t="Sequence items cannot have tags or anchors before the - indicator";e.errors.push(new n.YAMLSemanticError(a,t))}break;default:if(a.error)e.errors.push(a.error);e.errors.push(new n.YAMLSyntaxError(a,`Unexpected ${a.type} node in sequence`))}}return{comments:r,items:s}}function resolveFlowSeqItems(e,t){const r=[];const s=[];let i=false;let a=undefined;let o=null;let c="[";let l=null;for(let u=0;u<t.items.length;++u){const f=t.items[u];if(typeof f.char==="string"){const{char:r,offset:h}=f;if(r!==":"&&(i||a!==undefined)){if(i&&a===undefined)a=c?s.pop():null;s.push(new Pair(a));i=false;a=undefined;o=null}if(r===c){c=null}else if(!c&&r==="?"){i=true}else if(c!=="["&&r===":"&&a===undefined){if(c===","){a=s.pop();if(a instanceof Pair){const r="Chaining flow sequence pairs is invalid";const s=new n.YAMLSemanticError(t,r);s.offset=h;e.errors.push(s)}if(!i&&typeof o==="number"){const r=f.range?f.range.start:f.offset;if(r>o+1024)e.errors.push(getLongKeyError(t,a));const{src:s}=l.context;for(let t=o;t<r;++t)if(s[t]==="\n"){const t="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new n.YAMLSemanticError(l,t));break}}}else{a=null}o=null;i=false;c=null}else if(c==="["||r!=="]"||u<t.items.length-1){const s=`Flow sequence contains an unexpected ${r}`;const i=new n.YAMLSyntaxError(t,s);i.offset=h;e.errors.push(i)}}else if(f.type===n.Type.BLANK_LINE){r.push({before:s.length})}else if(f.type===n.Type.COMMENT){checkFlowCommentSpace(e.errors,f);r.push({comment:f.comment,before:s.length})}else{if(c){const t=`Expected a ${c} in flow sequence`;e.errors.push(new n.YAMLSemanticError(f,t))}const t=resolveNode(e,f);if(a===undefined){s.push(t);l=f}else{s.push(new Pair(a,t));a=undefined}o=f.range.start;c=","}}checkFlowCollectionEnd(e.errors,t);if(a!==undefined)s.push(new Pair(a));return{comments:r,items:s}}t.Alias=Alias;t.Collection=Collection;t.Merge=Merge;t.Node=Node;t.Pair=Pair;t.Scalar=Scalar;t.YAMLMap=YAMLMap;t.YAMLSeq=YAMLSeq;t.addComment=addComment;t.binaryOptions=i;t.boolOptions=a;t.findPair=findPair;t.intOptions=o;t.isEmptyPath=isEmptyPath;t.nullOptions=c;t.resolveMap=resolveMap;t.resolveNode=resolveNode;t.resolveSeq=resolveSeq;t.resolveString=resolveString;t.strOptions=l;t.stringifyNumber=stringifyNumber;t.stringifyString=stringifyString;t.toJSON=toJSON},8201:function(e,t,r){"use strict";var n=r(2592);var s=r(4288);const i={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const r=s.resolveString(e,t);if(typeof Buffer==="function"){return Buffer.from(r,"base64")}else if(typeof atob==="function"){const e=atob(r.replace(/[\n\r]/g,""));const t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}else{const r="This environment does not support reading binary tags; either Buffer or atob is required";e.errors.push(new n.YAMLReferenceError(t,r));return null}},options:s.binaryOptions,stringify:({comment:e,type:t,value:r},i,a,o)=>{let c;if(typeof Buffer==="function"){c=r instanceof Buffer?r.toString("base64"):Buffer.from(r.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t<r.length;++t)e+=String.fromCharCode(r[t]);c=btoa(e)}else{throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required")}if(!t)t=s.binaryOptions.defaultType;if(t===n.Type.QUOTE_DOUBLE){r=c}else{const{lineWidth:e}=s.binaryOptions;const i=Math.ceil(c.length/e);const a=new Array(i);for(let t=0,r=0;t<i;++t,r+=e){a[t]=c.substr(r,e)}r=a.join(t===n.Type.BLOCK_LITERAL?"\n":" ")}return s.stringifyString({comment:e,type:t,value:r},i,a,o)}};function parsePairs(e,t){const r=s.resolveSeq(e,t);for(let e=0;e<r.items.length;++e){let i=r.items[e];if(i instanceof s.Pair)continue;else if(i instanceof s.YAMLMap){if(i.items.length>1){const e="Each pair must have its own sequence indicator";throw new n.YAMLSemanticError(t,e)}const e=i.items[0]||new s.Pair;if(i.commentBefore)e.commentBefore=e.commentBefore?`${i.commentBefore}\n${e.commentBefore}`:i.commentBefore;if(i.comment)e.comment=e.comment?`${i.comment}\n${e.comment}`:i.comment;i=e}r.items[e]=i instanceof s.Pair?i:new s.Pair(i)}return r}function createPairs(e,t,r){const n=new s.YAMLSeq(e);n.tag="tag:yaml.org,2002:pairs";for(const s of t){let t,i;if(Array.isArray(s)){if(s.length===2){t=s[0];i=s[1]}else throw new TypeError(`Expected [key, value] tuple: ${s}`)}else if(s&&s instanceof Object){const e=Object.keys(s);if(e.length===1){t=e[0];i=s[t]}else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else{t=s}const a=e.createPair(t,i,r);n.items.push(a)}return n}const a={default:false,tag:"tag:yaml.org,2002:pairs",resolve:parsePairs,createNode:createPairs};class YAMLOMap extends s.YAMLSeq{constructor(){super();n._defineProperty(this,"add",s.YAMLMap.prototype.add.bind(this));n._defineProperty(this,"delete",s.YAMLMap.prototype.delete.bind(this));n._defineProperty(this,"get",s.YAMLMap.prototype.get.bind(this));n._defineProperty(this,"has",s.YAMLMap.prototype.has.bind(this));n._defineProperty(this,"set",s.YAMLMap.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const r=new Map;if(t&&t.onCreate)t.onCreate(r);for(const e of this.items){let n,i;if(e instanceof s.Pair){n=s.toJSON(e.key,"",t);i=s.toJSON(e.value,n,t)}else{n=s.toJSON(e,"",t)}if(r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,i)}return r}}n._defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const r=parsePairs(e,t);const i=[];for(const{key:e}of r.items){if(e instanceof s.Scalar){if(i.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new n.YAMLSemanticError(t,e)}else{i.push(e.value)}}}return Object.assign(new YAMLOMap,r)}function createOMap(e,t,r){const n=createPairs(e,t,r);const s=new YAMLOMap;s.items=n.items;return s}const o={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};class YAMLSet extends s.YAMLMap{constructor(){super();this.tag=YAMLSet.tag}add(e){const t=e instanceof s.Pair?e:new s.Pair(e);const r=s.findPair(this.items,t.key);if(!r)this.items.push(t)}get(e,t){const r=s.findPair(this.items,e);return!t&&r instanceof s.Pair?r.key instanceof s.Scalar?r.key.value:r.key:r}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const r=s.findPair(this.items,e);if(r&&!t){this.items.splice(this.items.indexOf(r),1)}else if(!r&&t){this.items.push(new s.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,r);else throw new Error("Set items must all have null values")}}n._defineProperty(YAMLSet,"tag","tag:yaml.org,2002:set");function parseSet(e,t){const r=s.resolveMap(e,t);if(!r.hasAllNullValues())throw new n.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new YAMLSet,r)}function createSet(e,t,r){const n=new YAMLSet;for(const s of t)n.items.push(e.createPair(s,null,r));return n}const c={identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",resolve:parseSet,createNode:createSet};const parseSexagesimal=(e,t)=>{const r=t.split(":").reduce(((e,t)=>e*60+Number(t)),0);return e==="-"?-r:r};const stringifySexagesimal=({value:e})=>{if(isNaN(e)||!isFinite(e))return s.stringifyNumber(e);let t="";if(e<0){t="-";e=Math.abs(e)}const r=[e%60];if(e<60){r.unshift(0)}else{e=Math.round((e-r[0])/60);r.unshift(e%60);if(e>=60){e=Math.round((e-r[0])/60);r.unshift(e)}}return t+r.map((e=>e<10?"0"+String(e):String(e))).join(":").replace(/000000\d*$/,"")};const l={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,r)=>parseSexagesimal(t,r.replace(/_/g,"")),stringify:stringifySexagesimal};const u={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,r)=>parseSexagesimal(t,r.replace(/_/g,"")),stringify:stringifySexagesimal};const f={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:"+"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?"+")$"),resolve:(e,t,r,n,s,i,a,o,c)=>{if(o)o=(o+"00").substr(1,3);let l=Date.UTC(t,r-1,n,s||0,i||0,a||0,o||0);if(c&&c!=="Z"){let e=parseSexagesimal(c[0],c.slice(1));if(Math.abs(e)<30)e*=60;l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function shouldWarn(e){const t=typeof process!=="undefined"&&process.env||{};if(e){if(typeof YAML_SILENCE_DEPRECATION_WARNINGS!=="undefined")return!YAML_SILENCE_DEPRECATION_WARNINGS;return!t.YAML_SILENCE_DEPRECATION_WARNINGS}if(typeof YAML_SILENCE_WARNINGS!=="undefined")return!YAML_SILENCE_WARNINGS;return!t.YAML_SILENCE_WARNINGS}function warn(e,t){if(shouldWarn(false)){const r=typeof process!=="undefined"&&process.emitWarning;if(r)r(e,t);else{console.warn(t?`${t}: ${e}`:e)}}}function warnFileDeprecation(e){if(shouldWarn(true)){const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}const h={};function warnOptionDeprecation(e,t){if(!h[e]&&shouldWarn(true)){h[e]=true;let r=`The option '${e}' will be removed in a future release`;r+=t?`, use '${t}' instead.`:".";warn(r,"DeprecationWarning")}}t.binary=i;t.floatTime=u;t.intTime=l;t.omap=o;t.pairs=a;t.set=c;t.timestamp=f;t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation},9307:function(e,t,r){e.exports=r(3897).YAML},7664:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},7136:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},600:function(e){"use strict";e.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')},7358:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"async":{"type":"boolean","description":"When true, plugin will not block compilation to finish issues checking"},"typescript":{"$ref":"#/definitions/TypeScriptOptions"},"formatter":{"$ref":"#/definitions/FormatterOptions"},"issue":{"$ref":"#/definitions/IssueOptions"},"logger":{"$ref":"#/definitions/Logger"},"devServer":{"type":"boolean","description":"Enable reporting to Webpack Dev Server."}},"additionalProperties":false,"definitions":{"Formatter":{"instanceof":"Function"},"ComplexFormatterPreferences":{"type":"object","properties":{"type":{"$ref":"#/definitions/FormatterType"},"options":{"type":"object","additionalProperties":true}},"required":["type"]},"FormatterType":{"type":"string","enum":["basic","codeframe"]},"IssueMatch":{"type":"object","properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"file":{"type":"string"}}},"IssuePredicate":{"instanceof":"Function"},"IssuePredicateOption":{"oneOf":[{"$ref":"#/definitions/IssuePredicate"},{"$ref":"#/definitions/IssueMatch"},{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/IssuePredicate"},{"$ref":"#/definitions/IssueMatch"}]}}]},"Logger":{"oneOf":[{"type":"object","properties":{"error":{"instanceof":"Function"},"log":{"instanceof":"Function"}}},{"type":"string","enum":["webpack-infrastructure"]}]},"TypeScriptOptions":{"type":"object","properties":{"memoryLimit":{"type":"number","description":"Memory limit for TypeScript reporter process."},"configFile":{"type":"string","description":"Path to tsconfig.json. By default plugin uses context or process.cwd() to localize tsconfig.json file."},"context":{"type":"string","description":"The base path for finding files specified in the tsconfig.json. Same as context option from the ts-loader."},"build":{"type":"boolean","description":"The equivalent of the `--build` flag from the `tsc`."},"mode":{"type":"string","enum":["readonly","write-tsbuildinfo","write-dts","write-references"],"description":"`readonly` keeps all emitted files in memory, `write-tsbuildinfo` which writes only .tsbuildinfo files, `write-dts` writes .tsbuildinfo and type definition files, and `write-references` which writes both .tsbuildinfo and referenced projects output"},"compilerOptions":{"type":"object","description":"Custom compilerOptions to be passed to the TypeScript compiler.","additionalProperties":true},"diagnosticOptions":{"type":"object","description":"Types of diagnostics to be reported.","properties":{"syntactic":{"type":"boolean"},"semantic":{"type":"boolean"},"declaration":{"type":"boolean"},"global":{"type":"boolean"}}},"extensions":{"type":"object","properties":{"vue":{"$ref":"#/definitions/TypeScriptVueExtensionOptions"}}},"profile":{"type":"boolean","description":"Measures and prints timings related to the TypeScript performance."},"typescriptPath":{"type":"string","description":"If supplied this is a custom path where TypeScript can be found."}}},"TypeScriptVueExtensionOptions":{"oneOf":[{"type":"boolean","description":"Enable TypeScript Vue extension."},{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable TypeScript Vue extension."},"compiler":{"type":"string","description":"Custom vue-template-compiler package"}}}]},"FormatterOptions":{"oneOf":[{"$ref":"#/definitions/FormatterType"},{"$ref":"#/definitions/ComplexFormatterPreferences"},{"$ref":"#/definitions/Formatter"}]},"IssueOptions":{"type":"object","properties":{"include":{"$ref":"#/definitions/IssuePredicateOption"},"exclude":{"$ref":"#/definitions/IssuePredicateOption"}}}}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}!function(){__nccwpck_require__.nmd=function(e){e.paths=[];if(!e.children)e.children=[];return e}}();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(8487);module.exports=r})();
42
+ (function(e,r){true?r(t):0})(this,(function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++){t[r]=arguments[r]}if(t.length>1){t[0]=t[0].slice(0,-1);var n=t.length-1;for(var s=1;s<n;++s){t[s]=t[s].slice(1,-1)}t[n]=t[n].slice(1);return t.join("")}else{return t[0]}}function subexp(e){return"(?:"+e+")"}function typeOf(e){return e===undefined?"undefined":e===null?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(e){return e.toUpperCase()}function toArray(e){return e!==undefined&&e!==null?e instanceof Array?e:typeof e.length!=="number"||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function assign(e,t){var r=e;if(t){for(var n in t){r[n]=t[n]}}return r}function buildExps(e){var t="[A-Za-z]",r="[\\x0D]",n="[0-9]",s="[\\x22]",i=merge(n,"[A-Fa-f]"),a="[\\x0A]",o="[\\x20]",c=subexp(subexp("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+subexp("%[89A-Fa-f]"+i+"%"+i+i)+"|"+subexp("%"+i+i)),l="[\\:\\/\\?\\#\\[\\]\\@]",u="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",f=merge(l,u),h=e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",p=e?"[\\uE000-\\uF8FF]":"[]",d=merge(t,n,"[\\-\\.\\_\\~]",h),m=subexp(t+merge(t,n,"[\\+\\-\\.]")+"*"),g=subexp(subexp(c+"|"+merge(d,u,"[\\:]"))+"*"),y=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+n)+"|"+subexp("1"+n+n)+"|"+subexp("[1-9]"+n)+"|"+n),b=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+n)+"|"+subexp("1"+n+n)+"|"+subexp("0?[1-9]"+n)+"|0?0?"+n),E=subexp(b+"\\."+b+"\\."+b+"\\."+b),S=subexp(i+"{1,4}"),w=subexp(subexp(S+"\\:"+S)+"|"+E),P=subexp(subexp(S+"\\:")+"{6}"+w),_=subexp("\\:\\:"+subexp(S+"\\:")+"{5}"+w),x=subexp(subexp(S)+"?\\:\\:"+subexp(S+"\\:")+"{4}"+w),O=subexp(subexp(subexp(S+"\\:")+"{0,1}"+S)+"?\\:\\:"+subexp(S+"\\:")+"{3}"+w),R=subexp(subexp(subexp(S+"\\:")+"{0,2}"+S)+"?\\:\\:"+subexp(S+"\\:")+"{2}"+w),k=subexp(subexp(subexp(S+"\\:")+"{0,3}"+S)+"?\\:\\:"+S+"\\:"+w),A=subexp(subexp(subexp(S+"\\:")+"{0,4}"+S)+"?\\:\\:"+w),C=subexp(subexp(subexp(S+"\\:")+"{0,5}"+S)+"?\\:\\:"+S),$=subexp(subexp(subexp(S+"\\:")+"{0,6}"+S)+"?\\:\\:"),T=subexp([P,_,x,O,R,k,A,C,$].join("|")),I=subexp(subexp(d+"|"+c)+"+"),N=subexp(T+"\\%25"+I),L=subexp(T+subexp("\\%25|\\%(?!"+i+"{2})")+I),M=subexp("[vV]"+i+"+\\."+merge(d,u,"[\\:]")+"+"),F=subexp("\\["+subexp(L+"|"+T+"|"+M)+"\\]"),D=subexp(subexp(c+"|"+merge(d,u))+"*"),j=subexp(F+"|"+E+"(?!"+D+")"+"|"+D),B=subexp(n+"*"),W=subexp(subexp(g+"@")+"?"+j+subexp("\\:"+B)+"?"),H=subexp(c+"|"+merge(d,u,"[\\:\\@]")),U=subexp(H+"*"),z=subexp(H+"+"),q=subexp(subexp(c+"|"+merge(d,u,"[\\@]"))+"+"),Y=subexp(subexp("\\/"+U)+"*"),V=subexp("\\/"+subexp(z+Y)+"?"),K=subexp(q+Y),G=subexp(z+Y),Q="(?!"+H+")",J=subexp(Y+"|"+V+"|"+K+"|"+G+"|"+Q),X=subexp(subexp(H+"|"+merge("[\\/\\?]",p))+"*"),Z=subexp(subexp(H+"|[\\/\\?]")+"*"),ee=subexp(subexp("\\/\\/"+W+Y)+"|"+V+"|"+G+"|"+Q),te=subexp(m+"\\:"+ee+subexp("\\?"+X)+"?"+subexp("\\#"+Z)+"?"),re=subexp(subexp("\\/\\/"+W+Y)+"|"+V+"|"+K+"|"+Q),ne=subexp(re+subexp("\\?"+X)+"?"+subexp("\\#"+Z)+"?"),se=subexp(te+"|"+ne),ie=subexp(m+"\\:"+ee+subexp("\\?"+X)+"?"),ae="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+g+")@")+"?("+j+")"+subexp("\\:("+B+")")+"?)")+"?("+Y+"|"+V+"|"+G+"|"+Q+")")+subexp("\\?("+X+")")+"?"+subexp("\\#("+Z+")")+"?$",oe="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+g+")@")+"?("+j+")"+subexp("\\:("+B+")")+"?)")+"?("+Y+"|"+V+"|"+K+"|"+Q+")")+subexp("\\?("+X+")")+"?"+subexp("\\#("+Z+")")+"?$",ce="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+g+")@")+"?("+j+")"+subexp("\\:("+B+")")+"?)")+"?("+Y+"|"+V+"|"+G+"|"+Q+")")+subexp("\\?("+X+")")+"?$",le="^"+subexp("\\#("+Z+")")+"?$",ue="^"+subexp("("+g+")@")+"?("+j+")"+subexp("\\:("+B+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",t,n,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",d,u),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",d,u),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",d,u),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",d,u),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",d,u,"[\\:\\@\\/\\?]",p),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",d,u,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",d,u),"g"),UNRESERVED:new RegExp(d,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",d,f),"g"),PCT_ENCODED:new RegExp(c,"g"),IPV4ADDRESS:new RegExp("^("+E+")$"),IPV6ADDRESS:new RegExp("^\\[?("+T+")"+subexp(subexp("\\%25|\\%(?!"+i+"{2})")+"("+I+")")+"?\\]?$")}}var t=buildExps(false);var r=buildExps(true);var n=function(){function sliceIterator(e,t){var r=[];var n=true;var s=false;var i=undefined;try{for(var a=e[Symbol.iterator](),o;!(n=(o=a.next()).done);n=true){r.push(o.value);if(t&&r.length===t)break}}catch(e){s=true;i=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(s)throw i}}return r}return function(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else{return Array.from(e)}};var s=2147483647;var i=36;var a=1;var o=26;var c=38;var l=700;var u=72;var f=128;var h="-";var p=/^xn--/;var d=/[^\0-\x7E]/;var m=/[\x2E\u3002\uFF0E\uFF61]/g;var g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var y=i-a;var b=Math.floor;var E=String.fromCharCode;function error$1(e){throw new RangeError(g[e])}function map(e,t){var r=[];var n=e.length;while(n--){r[n]=t(e[n])}return r}function mapDomain(e,t){var r=e.split("@");var n="";if(r.length>1){n=r[0]+"@";e=r[1]}e=e.replace(m,".");var s=e.split(".");var i=map(s,t).join(".");return n+i}function ucs2decode(e){var t=[];var r=0;var n=e.length;while(r<n){var s=e.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){var i=e.charCodeAt(r++);if((i&64512)==56320){t.push(((s&1023)<<10)+(i&1023)+65536)}else{t.push(s);r--}}else{t.push(s)}}return t}var S=function ucs2encode(e){return String.fromCodePoint.apply(String,toConsumableArray(e))};var w=function basicToDigit(e){if(e-48<10){return e-22}if(e-65<26){return e-65}if(e-97<26){return e-97}return i};var P=function digitToBasic(e,t){return e+22+75*(e<26)-((t!=0)<<5)};var _=function adapt(e,t,r){var n=0;e=r?b(e/l):e>>1;e+=b(e/t);for(;e>y*o>>1;n+=i){e=b(e/y)}return b(n+(y+1)*e/(e+c))};var x=function decode(e){var t=[];var r=e.length;var n=0;var c=f;var l=u;var p=e.lastIndexOf(h);if(p<0){p=0}for(var d=0;d<p;++d){if(e.charCodeAt(d)>=128){error$1("not-basic")}t.push(e.charCodeAt(d))}for(var m=p>0?p+1:0;m<r;){var g=n;for(var y=1,E=i;;E+=i){if(m>=r){error$1("invalid-input")}var S=w(e.charCodeAt(m++));if(S>=i||S>b((s-n)/y)){error$1("overflow")}n+=S*y;var P=E<=l?a:E>=l+o?o:E-l;if(S<P){break}var x=i-P;if(y>b(s/x)){error$1("overflow")}y*=x}var O=t.length+1;l=_(n-g,O,g==0);if(b(n/O)>s-c){error$1("overflow")}c+=b(n/O);n%=O;t.splice(n++,0,c)}return String.fromCodePoint.apply(String,t)};var O=function encode(e){var t=[];e=ucs2decode(e);var r=e.length;var n=f;var c=0;var l=u;var p=true;var d=false;var m=undefined;try{for(var g=e[Symbol.iterator](),y;!(p=(y=g.next()).done);p=true){var S=y.value;if(S<128){t.push(E(S))}}}catch(e){d=true;m=e}finally{try{if(!p&&g.return){g.return()}}finally{if(d){throw m}}}var w=t.length;var x=w;if(w){t.push(h)}while(x<r){var O=s;var R=true;var k=false;var A=undefined;try{for(var C=e[Symbol.iterator](),$;!(R=($=C.next()).done);R=true){var T=$.value;if(T>=n&&T<O){O=T}}}catch(e){k=true;A=e}finally{try{if(!R&&C.return){C.return()}}finally{if(k){throw A}}}var I=x+1;if(O-n>b((s-c)/I)){error$1("overflow")}c+=(O-n)*I;n=O;var N=true;var L=false;var M=undefined;try{for(var F=e[Symbol.iterator](),D;!(N=(D=F.next()).done);N=true){var j=D.value;if(j<n&&++c>s){error$1("overflow")}if(j==n){var B=c;for(var W=i;;W+=i){var H=W<=l?a:W>=l+o?o:W-l;if(B<H){break}var U=B-H;var z=i-H;t.push(E(P(H+U%z,0)));B=b(U/z)}t.push(E(P(B,0)));l=_(c,I,x==w);c=0;++x}}}catch(e){L=true;M=e}finally{try{if(!N&&F.return){F.return()}}finally{if(L){throw M}}}++c;++n}return t.join("")};var R=function toUnicode(e){return mapDomain(e,(function(e){return p.test(e)?x(e.slice(4).toLowerCase()):e}))};var k=function toASCII(e){return mapDomain(e,(function(e){return d.test(e)?"xn--"+O(e):e}))};var A={version:"2.1.0",ucs2:{decode:ucs2decode,encode:S},decode:x,encode:O,toASCII:k,toUnicode:R};var C={};function pctEncChar(e){var t=e.charCodeAt(0);var r=void 0;if(t<16)r="%0"+t.toString(16).toUpperCase();else if(t<128)r="%"+t.toString(16).toUpperCase();else if(t<2048)r="%"+(t>>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else r="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return r}function pctDecChars(e){var t="";var r=0;var n=e.length;while(r<n){var s=parseInt(e.substr(r+1,2),16);if(s<128){t+=String.fromCharCode(s);r+=3}else if(s>=194&&s<224){if(n-r>=6){var i=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((s&31)<<6|i&63)}else{t+=e.substr(r,6)}r+=6}else if(s>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16);var o=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((s&15)<<12|(a&63)<<6|o&63)}else{t+=e.substr(r,9)}r+=9}else{t+=e.substr(r,3);r+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var r=pctDecChars(e);return!r.match(t.UNRESERVED)?e:r}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var r=e.match(t.IPV4ADDRESS)||[];var s=n(r,2),i=s[1];if(i){return i.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var r=e.match(t.IPV6ADDRESS)||[];var s=n(r,3),i=s[1],a=s[2];if(i){var o=i.toLowerCase().split("::").reverse(),c=n(o,2),l=c[0],u=c[1];var f=u?u.split(":").map(_stripLeadingZeros):[];var h=l.split(":").map(_stripLeadingZeros);var p=t.IPV4ADDRESS.test(h[h.length-1]);var d=p?7:8;var m=h.length-d;var g=Array(d);for(var y=0;y<d;++y){g[y]=f[y]||h[m+y]||""}if(p){g[d-1]=_normalizeIPv4(g[d-1],t)}var b=g.reduce((function(e,t,r){if(!t||t==="0"){var n=e[e.length-1];if(n&&n.index+n.length===r){n.length++}else{e.push({index:r,length:1})}}return e}),[]);var E=b.sort((function(e,t){return t.length-e.length}))[0];var S=void 0;if(E&&E.length>1){var w=g.slice(0,E.index);var P=g.slice(E.index+E.length);S=w.join(":")+"::"+P.join(":")}else{S=g.join(":")}if(a){S+="%"+a}return S}else{return e}}var $=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var T="".match(/(){0}/)[1]===undefined;function parse(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s={};var i=n.iri!==false?r:t;if(n.reference==="suffix")e=(n.scheme?n.scheme+":":"")+"//"+e;var a=e.match($);if(a){if(T){s.scheme=a[1];s.userinfo=a[3];s.host=a[4];s.port=parseInt(a[5],10);s.path=a[6]||"";s.query=a[7];s.fragment=a[8];if(isNaN(s.port)){s.port=a[5]}}else{s.scheme=a[1]||undefined;s.userinfo=e.indexOf("@")!==-1?a[3]:undefined;s.host=e.indexOf("//")!==-1?a[4]:undefined;s.port=parseInt(a[5],10);s.path=a[6]||"";s.query=e.indexOf("?")!==-1?a[7]:undefined;s.fragment=e.indexOf("#")!==-1?a[8]:undefined;if(isNaN(s.port)){s.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?a[4]:undefined}}if(s.host){s.host=_normalizeIPv6(_normalizeIPv4(s.host,i),i)}if(s.scheme===undefined&&s.userinfo===undefined&&s.host===undefined&&s.port===undefined&&!s.path&&s.query===undefined){s.reference="same-document"}else if(s.scheme===undefined){s.reference="relative"}else if(s.fragment===undefined){s.reference="absolute"}else{s.reference="uri"}if(n.reference&&n.reference!=="suffix"&&n.reference!==s.reference){s.error=s.error||"URI is not a "+n.reference+" reference."}var o=C[(n.scheme||s.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!o||!o.unicodeSupport)){if(s.host&&(n.domainHost||o&&o.domainHost)){try{s.host=A.toASCII(s.host.replace(i.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){s.error=s.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(s,t)}else{_normalizeComponentEncoding(s,i)}if(o&&o.parse){o.parse(s,n)}}else{s.error=s.error||"URI can not be parsed."}return s}function _recomposeAuthority(e,n){var s=n.iri!==false?r:t;var i=[];if(e.userinfo!==undefined){i.push(e.userinfo);i.push("@")}if(e.host!==undefined){i.push(_normalizeIPv6(_normalizeIPv4(String(e.host),s),s).replace(s.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"})))}if(typeof e.port==="number"||typeof e.port==="string"){i.push(":");i.push(String(e.port))}return i.length?i.join(""):undefined}var I=/^\.\.?\//;var N=/^\/\.(\/|$)/;var L=/^\/\.\.(\/|$)/;var M=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(I)){e=e.replace(I,"")}else if(e.match(N)){e=e.replace(N,"/")}else if(e.match(L)){e=e.replace(L,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var r=e.match(M);if(r){var n=r[0];e=e.slice(n.length);t.push(n)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s=n.iri?r:t;var i=[];var a=C[(n.scheme||e.scheme||"").toLowerCase()];if(a&&a.serialize)a.serialize(e,n);if(e.host){if(s.IPV6ADDRESS.test(e.host)){}else if(n.domainHost||a&&a.domainHost){try{e.host=!n.iri?A.toASCII(e.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase()):A.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!n.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,s);if(n.reference!=="suffix"&&e.scheme){i.push(e.scheme);i.push(":")}var o=_recomposeAuthority(e,n);if(o!==undefined){if(n.reference!=="suffix"){i.push("//")}i.push(o);if(e.path&&e.path.charAt(0)!=="/"){i.push("/")}}if(e.path!==undefined){var c=e.path;if(!n.absolutePath&&(!a||!a.absolutePath)){c=removeDotSegments(c)}if(o===undefined){c=c.replace(/^\/\//,"/%2F")}i.push(c)}if(e.query!==undefined){i.push("?");i.push(e.query)}if(e.fragment!==undefined){i.push("#");i.push(e.fragment)}return i.join("")}function resolveComponents(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var s={};if(!n){e=parse(serialize(e,r),r);t=parse(serialize(t,r),r)}r=r||{};if(!r.tolerant&&t.scheme){s.scheme=t.scheme;s.userinfo=t.userinfo;s.host=t.host;s.port=t.port;s.path=removeDotSegments(t.path||"");s.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){s.userinfo=t.userinfo;s.host=t.host;s.port=t.port;s.path=removeDotSegments(t.path||"");s.query=t.query}else{if(!t.path){s.path=e.path;if(t.query!==undefined){s.query=t.query}else{s.query=e.query}}else{if(t.path.charAt(0)==="/"){s.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){s.path="/"+t.path}else if(!e.path){s.path=t.path}else{s.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}s.path=removeDotSegments(s.path)}s.query=t.query}s.userinfo=e.userinfo;s.host=e.host;s.port=e.port}s.scheme=e.scheme}s.fragment=t.fragment;return s}function resolve(e,t,r){var n=assign({scheme:"null"},r);return serialize(resolveComponents(parse(e,n),parse(t,n),n,true),n)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,r){if(typeof e==="string"){e=serialize(parse(e,r),r)}else if(typeOf(e)==="object"){e=serialize(e,r)}if(typeof t==="string"){t=serialize(parse(t,r),r)}else if(typeOf(t)==="object"){t=serialize(t,r)}return e===t}function escapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.ESCAPE:r.ESCAPE,pctEncChar)}function unescapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.PCT_ENCODED:r.PCT_ENCODED,pctDecChars)}var F={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){var r=String(e.scheme).toLowerCase()==="https";if(e.port===(r?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var D={scheme:"https",domainHost:F.domainHost,parse:F.parse,serialize:F.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var j={scheme:"ws",domainHost:true,parse:function parse(e,t){var r=e;r.secure=isSecure(r);r.resourceName=(r.path||"/")+(r.query?"?"+r.query:"");r.path=undefined;r.query=undefined;return r},serialize:function serialize(e,t){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var r=e.resourceName.split("?"),s=n(r,2),i=s[0],a=s[1];e.path=i&&i!=="/"?i:undefined;e.query=a;e.resourceName=undefined}e.fragment=undefined;return e}};var B={scheme:"wss",domainHost:j.domainHost,parse:j.parse,serialize:j.serialize};var W={};var H=true;var U="[A-Za-z0-9\\-\\.\\_\\~"+(H?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var z="[0-9A-Fa-f]";var q=subexp(subexp("%[EFef]"+z+"%"+z+z+"%"+z+z)+"|"+subexp("%[89A-Fa-f]"+z+"%"+z+z)+"|"+subexp("%"+z+z));var Y="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var V="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var K=merge(V,'[\\"\\\\]');var G="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var Q=new RegExp(U,"g");var J=new RegExp(q,"g");var X=new RegExp(merge("[^]",Y,"[\\.]",'[\\"]',K),"g");var Z=new RegExp(merge("[^]",U,G),"g");var ee=Z;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(Q)?e:t}var te={scheme:"mailto",parse:function parse$$1(e,t){var r=e;var n=r.to=r.path?r.path.split(","):[];r.path=undefined;if(r.query){var s=false;var i={};var a=r.query.split("&");for(var o=0,c=a.length;o<c;++o){var l=a[o].split("=");switch(l[0]){case"to":var u=l[1].split(",");for(var f=0,h=u.length;f<h;++f){n.push(u[f])}break;case"subject":r.subject=unescapeComponent(l[1],t);break;case"body":r.body=unescapeComponent(l[1],t);break;default:s=true;i[unescapeComponent(l[0],t)]=unescapeComponent(l[1],t);break}}if(s)r.headers=i}r.query=undefined;for(var p=0,d=n.length;p<d;++p){var m=n[p].split("@");m[0]=unescapeComponent(m[0]);if(!t.unicodeSupport){try{m[1]=A.toASCII(unescapeComponent(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}}else{m[1]=unescapeComponent(m[1],t).toLowerCase()}n[p]=m.join("@")}return r},serialize:function serialize$$1(e,t){var r=e;var n=toArray(e.to);if(n){for(var s=0,i=n.length;s<i;++s){var a=String(n[s]);var o=a.lastIndexOf("@");var c=a.slice(0,o).replace(J,decodeUnreserved).replace(J,toUpperCase).replace(X,pctEncChar);var l=a.slice(o+1);try{l=!t.iri?A.toASCII(unescapeComponent(l,t).toLowerCase()):A.toUnicode(l)}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(!t.iri?"ASCII":"Unicode")+" via punycode: "+e}n[s]=c+"@"+l}r.path=n.join(",")}var u=e.headers=e.headers||{};if(e.subject)u["subject"]=e.subject;if(e.body)u["body"]=e.body;var f=[];for(var h in u){if(u[h]!==W[h]){f.push(h.replace(J,decodeUnreserved).replace(J,toUpperCase).replace(Z,pctEncChar)+"="+u[h].replace(J,decodeUnreserved).replace(J,toUpperCase).replace(ee,pctEncChar))}}if(f.length){r.query=f.join("&")}return r}};var re=/^([^\:]+)\:(.*)/;var ne={scheme:"urn",parse:function parse$$1(e,t){var r=e.path&&e.path.match(re);var n=e;if(r){var s=t.scheme||n.scheme||"urn";var i=r[1].toLowerCase();var a=r[2];var o=s+":"+(t.nid||i);var c=C[o];n.nid=i;n.nss=a;n.path=undefined;if(c){n=c.parse(n,t)}}else{n.error=n.error||"URN can not be parsed."}return n},serialize:function serialize$$1(e,t){var r=t.scheme||e.scheme||"urn";var n=e.nid;var s=r+":"+(t.nid||n);var i=C[s];if(i){e=i.serialize(e,t)}var a=e;var o=e.nss;a.path=(n||t.nid)+":"+o;return a}};var se=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;var ie={scheme:"urn:uuid",parse:function parse(e,t){var r=e;r.uuid=r.nss;r.nss=undefined;if(!t.tolerant&&(!r.uuid||!r.uuid.match(se))){r.error=r.error||"UUID is not valid."}return r},serialize:function serialize(e,t){var r=e;r.nss=(e.uuid||"").toLowerCase();return r}};C[F.scheme]=F;C[D.scheme]=D;C[j.scheme]=j;C[B.scheme]=B;C[te.scheme]=te;C[ne.scheme]=ne;C[ie.scheme]=ie;e.SCHEMES=C;e.pctEncChar=pctEncChar;e.pctDecChars=pctDecChars;e.parse=parse;e.removeDotSegments=removeDotSegments;e.serialize=serialize;e.resolveComponents=resolveComponents;e.resolve=resolve;e.normalize=normalize;e.equal=equal;e.escapeComponent=escapeComponent;e.unescapeComponent=unescapeComponent;Object.defineProperty(e,"__esModule",{value:true})}))},2653:function(e,t,r){e.exports=require(r.ab+"fsevents.node")},8535:function(e){"use strict";e.exports=require("@umijs/bundler-utils/compiled/tapable")},2027:function(e){"use strict";e.exports=require("@umijs/bundler-webpack/compiled/webpack")},9491:function(e){"use strict";e.exports=require("assert")},2081:function(e){"use strict";e.exports=require("child_process")},2057:function(e){"use strict";e.exports=require("constants")},2361:function(e){"use strict";e.exports=require("events")},7147:function(e){"use strict";e.exports=require("fs")},8188:function(e){"use strict";e.exports=require("module")},2037:function(e){"use strict";e.exports=require("os")},1017:function(e){"use strict";e.exports=require("path")},7282:function(e){"use strict";e.exports=require("process")},2781:function(e){"use strict";e.exports=require("stream")},6224:function(e){"use strict";e.exports=require("tty")},3837:function(e){"use strict";e.exports=require("util")},8745:function(e,t,r){"use strict";var n=r(2592);var s=r(4288);var i=r(5564);const a={anchorPrefix:"a",customTags:null,indent:2,indentSeq:true,keepCstNodes:false,keepNodeTypes:true,keepBlobsInJSON:true,mapAsMap:false,maxAliasCount:100,prettyErrors:false,simpleKeys:false,version:"1.2"};const o={get binary(){return s.binaryOptions},set binary(e){Object.assign(s.binaryOptions,e)},get bool(){return s.boolOptions},set bool(e){Object.assign(s.boolOptions,e)},get int(){return s.intOptions},set int(e){Object.assign(s.intOptions,e)},get null(){return s.nullOptions},set null(e){Object.assign(s.nullOptions,e)},get str(){return s.strOptions},set str(e){Object.assign(s.strOptions,e)}};const c={"1.0":{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:n.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]},1.2:{schema:"core",merge:false,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]}};function stringifyTag(e,t){if((e.version||e.options.version)==="1.0"){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const r=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return r?`!${r[1]}/${r[2]}`:`!${t.replace(/^tag:/,"")}`}let r=e.tagPrefixes.find((e=>t.indexOf(e.prefix)===0));if(!r){const n=e.getDefaults().tagPrefixes;r=n&&n.find((e=>t.indexOf(e.prefix)===0))}if(!r)return t[0]==="!"?t:`!<${t}>`;const n=t.substr(r.prefix.length).replace(/[!,[\]{}]/g,(e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e])));return r.handle+n}function getTagObject(e,t){if(t instanceof s.Alias)return s.Alias;if(t.tag){const r=e.filter((e=>e.tag===t.tag));if(r.length>0)return r.find((e=>e.format===t.format))||r[0]}let r,n;if(t instanceof s.Scalar){n=t.value;const s=e.filter((e=>e.identify&&e.identify(n)||e.class&&n instanceof e.class));r=s.find((e=>e.format===t.format))||s.find((e=>!e.format))}else{n=t;r=e.find((e=>e.nodeClass&&n instanceof e.nodeClass))}if(!r){const e=n&&n.constructor?n.constructor.name:typeof n;throw new Error(`Tag not resolved for ${e} value`)}return r}function stringifyProps(e,t,{anchors:r,doc:n}){const s=[];const i=n.anchors.getName(e);if(i){r[i]=e;s.push(`&${i}`)}if(e.tag){s.push(stringifyTag(n,e.tag))}else if(!t.default){s.push(stringifyTag(n,t.tag))}return s.join(" ")}function stringify(e,t,r,n){const{anchors:i,schema:a}=t.doc;let o;if(!(e instanceof s.Node)){const t={aliasNodes:[],onTagObj:e=>o=e,prevObjects:new Map};e=a.createNode(e,true,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=i.getName(e.source);if(!t){t=i.newName();i.map[t]=e.source}}}if(e instanceof s.Pair)return e.toString(t,r,n);if(!o)o=getTagObject(a.tags,e);const c=stringifyProps(e,o,t);if(c.length>0)t.indentAtStart=(t.indentAtStart||0)+c.length+1;const l=typeof o.stringify==="function"?o.stringify(e,t,r,n):e instanceof s.Scalar?s.stringifyString(e,t,r,n):e.toString(t,r,n);if(!c)return l;return e instanceof s.Scalar||l[0]==="{"||l[0]==="["?`${c} ${l}`:`${c}\n${t.indent}${l}`}class Anchors{static validAnchorNode(e){return e instanceof s.Scalar||e instanceof s.YAMLSeq||e instanceof s.YAMLMap}constructor(e){n._defineProperty(this,"map",Object.create(null));this.prefix=e}createAlias(e,t){this.setAnchor(e,t);return new s.Alias(e)}createMergePair(...e){const t=new s.Merge;t.value.items=e.map((e=>{if(e instanceof s.Alias){if(e.source instanceof s.YAMLMap)return e}else if(e instanceof s.YAMLMap){return this.createAlias(e)}throw new Error("Merge sources must be Map nodes or their Aliases")}));return t}getName(e){const{map:t}=this;return Object.keys(t).find((r=>t[r]===e))}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){if(!e)e=this.prefix;const t=Object.keys(this.map);for(let r=1;true;++r){const n=`${e}${r}`;if(!t.includes(n))return n}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach((t=>{e[t]=e[t].resolved}));t.forEach((e=>{e.source=e.source.resolved}));delete this._cstAliases}setAnchor(e,t){if(e!=null&&!Anchors.validAnchorNode(e)){throw new Error("Anchors may only be set for Scalar, Seq and Map nodes")}if(t&&/[\x00-\x19\s,[\]{}]/.test(t)){throw new Error("Anchor names must not contain whitespace or control characters")}const{map:r}=this;const n=e&&Object.keys(r).find((t=>r[t]===e));if(n){if(!t){return n}else if(n!==t){delete r[n];r[t]=e}}else{if(!t){if(!e)return null;t=this.newName()}r[t]=e}return t}}const visit=(e,t)=>{if(e&&typeof e==="object"){const{tag:r}=e;if(e instanceof s.Collection){if(r)t[r]=true;e.items.forEach((e=>visit(e,t)))}else if(e instanceof s.Pair){visit(e.key,t);visit(e.value,t)}else if(e instanceof s.Scalar){if(r)t[r]=true}}return t};const listTagNames=e=>Object.keys(visit(e,{}));function parseContents(e,t){const r={before:[],after:[]};let i=undefined;let a=false;for(const o of t){if(o.valueRange){if(i!==undefined){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new n.YAMLSyntaxError(o,t));break}const t=s.resolveNode(e,o);if(a){t.spaceBefore=true;a=false}i=t}else if(o.comment!==null){const e=i===undefined?r.before:r.after;e.push(o.comment)}else if(o.type===n.Type.BLANK_LINE){a=true;if(i===undefined&&r.before.length>0&&!e.commentBefore){e.commentBefore=r.before.join("\n");r.before=[]}}}e.contents=i||null;if(!i){e.comment=r.before.concat(r.after).join("\n")||null}else{const t=r.before.join("\n");if(t){const e=i instanceof s.Collection&&i.items[0]?i.items[0]:i;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=r.after.join("\n")||null}}function resolveTagDirective({tagPrefixes:e},t){const[r,s]=t.parameters;if(!r||!s){const e="Insufficient parameters given for %TAG directive";throw new n.YAMLSemanticError(t,e)}if(e.some((e=>e.handle===r))){const e="The %TAG directive must only be given at most once per handle in the same document.";throw new n.YAMLSemanticError(t,e)}return{handle:r,prefix:s}}function resolveYamlDirective(e,t){let[r]=t.parameters;if(t.name==="YAML:1.0")r="1.0";if(!r){const e="Insufficient parameters given for %YAML directive";throw new n.YAMLSemanticError(t,e)}if(!c[r]){const s=e.version||e.options.version;const i=`Document will be parsed as YAML ${s} rather than YAML ${r}`;e.warnings.push(new n.YAMLWarning(t,i))}return r}function parseDirectives(e,t,r){const s=[];let i=false;for(const r of t){const{comment:t,name:a}=r;switch(a){case"TAG":try{e.tagPrefixes.push(resolveTagDirective(e,r))}catch(t){e.errors.push(t)}i=true;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new n.YAMLSemanticError(r,t))}try{e.version=resolveYamlDirective(e,r)}catch(t){e.errors.push(t)}i=true;break;default:if(a){const t=`YAML only supports %TAG and %YAML directives, and not %${a}`;e.warnings.push(new n.YAMLWarning(r,t))}}if(t)s.push(t)}if(r&&!i&&"1.1"===(e.version||r.version||e.options.version)){const copyTagPrefix=({handle:e,prefix:t})=>({handle:e,prefix:t});e.tagPrefixes=r.tagPrefixes.map(copyTagPrefix);e.version=r.version}e.commentBefore=s.join("\n")||null}function assertCollection(e){if(e instanceof s.Collection)return true;throw new Error("Expected a YAML collection as document contents")}class Document{constructor(e){this.anchors=new Anchors(e.anchorPrefix);this.commentBefore=null;this.comment=null;this.contents=null;this.directivesEndMarker=null;this.errors=[];this.options=e;this.schema=null;this.tagPrefixes=[];this.version=null;this.warnings=[]}add(e){assertCollection(this.contents);return this.contents.add(e)}addIn(e,t){assertCollection(this.contents);this.contents.addIn(e,t)}delete(e){assertCollection(this.contents);return this.contents.delete(e)}deleteIn(e){if(s.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}assertCollection(this.contents);return this.contents.deleteIn(e)}getDefaults(){return Document.defaults[this.version]||Document.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof s.Collection?this.contents.get(e,t):undefined}getIn(e,t){if(s.isEmptyPath(e))return!t&&this.contents instanceof s.Scalar?this.contents.value:this.contents;return this.contents instanceof s.Collection?this.contents.getIn(e,t):undefined}has(e){return this.contents instanceof s.Collection?this.contents.has(e):false}hasIn(e){if(s.isEmptyPath(e))return this.contents!==undefined;return this.contents instanceof s.Collection?this.contents.hasIn(e):false}set(e,t){assertCollection(this.contents);this.contents.set(e,t)}setIn(e,t){if(s.isEmptyPath(e))this.contents=t;else{assertCollection(this.contents);this.contents.setIn(e,t)}}setSchema(e,t){if(!e&&!t&&this.schema)return;if(typeof e==="number")e=e.toFixed(1);if(e==="1.0"||e==="1.1"||e==="1.2"){if(this.version)this.version=e;else this.options.version=e;delete this.options.schema}else if(e&&typeof e==="string"){this.options.schema=e}if(Array.isArray(t))this.options.customTags=t;const r=Object.assign({},this.getDefaults(),this.options);this.schema=new i.Schema(r)}parse(e,t){if(this.options.keepCstNodes)this.cstNode=e;if(this.options.keepNodeTypes)this.type="DOCUMENT";const{directives:r=[],contents:s=[],directivesEndMarker:i,error:a,valueRange:o}=e;if(a){if(!a.source)a.source=this;this.errors.push(a)}parseDirectives(this,r,t);if(i)this.directivesEndMarker=true;this.range=o?[o.start,o.end]:null;this.setSchema();this.anchors._cstAliases=[];parseContents(this,s);this.anchors.resolveNodes();if(this.options.prettyErrors){for(const e of this.errors)if(e instanceof n.YAMLError)e.makePretty();for(const e of this.warnings)if(e instanceof n.YAMLError)e.makePretty()}return this}listNonDefaultTags(){return listTagNames(this.contents).filter((e=>e.indexOf(i.Schema.defaultPrefix)!==0))}setTagPrefix(e,t){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(t){const r=this.tagPrefixes.find((t=>t.handle===e));if(r)r.prefix=t;else this.tagPrefixes.push({handle:e,prefix:t})}else{this.tagPrefixes=this.tagPrefixes.filter((t=>t.handle!==e))}}toJSON(e,t){const{keepBlobsInJSON:r,mapAsMap:n,maxAliasCount:i}=this.options;const a=r&&(typeof e!=="string"||!(this.contents instanceof s.Scalar));const o={doc:this,indentStep:" ",keep:a,mapAsMap:a&&!!n,maxAliasCount:i,stringify:stringify};const c=Object.keys(this.anchors.map);if(c.length>0)o.anchors=new Map(c.map((e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}])));const l=s.toJSON(this.contents,e,o);if(typeof t==="function"&&o.anchors)for(const{count:e,res:r}of o.anchors.values())t(r,e);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let r=false;if(this.version){let e="%YAML 1.2";if(this.schema.name==="yaml-1.1"){if(this.version==="1.0")e="%YAML:1.0";else if(this.version==="1.1")e="%YAML 1.1"}t.push(e);r=true}const n=this.listNonDefaultTags();this.tagPrefixes.forEach((({handle:e,prefix:s})=>{if(n.some((e=>e.indexOf(s)===0))){t.push(`%TAG ${e} ${s}`);r=true}}));if(r||this.directivesEndMarker)t.push("---");if(this.commentBefore){if(r||!this.directivesEndMarker)t.unshift("");t.unshift(this.commentBefore.replace(/^/gm,"#"))}const i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:stringify};let a=false;let o=null;if(this.contents){if(this.contents instanceof s.Node){if(this.contents.spaceBefore&&(r||this.directivesEndMarker))t.push("");if(this.contents.commentBefore)t.push(this.contents.commentBefore.replace(/^/gm,"#"));i.forceBlockIndent=!!this.comment;o=this.contents.comment}const e=o?null:()=>a=true;const n=stringify(this.contents,i,(()=>o=null),e);t.push(s.addComment(n,"",o))}else if(this.contents!==undefined){t.push(stringify(this.contents,i))}if(this.comment){if((!a||o)&&t[t.length-1]!=="")t.push("");t.push(this.comment.replace(/^/gm,"#"))}return t.join("\n")+"\n"}}n._defineProperty(Document,"defaults",c);t.Document=Document;t.defaultOptions=a;t.scalarOptions=o},2592:function(e,t){"use strict";const r={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};const n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};const s="tag:yaml.org,2002:";const i={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function findLineStarts(e){const t=[0];let r=e.indexOf("\n");while(r!==-1){r+=1;t.push(r);r=e.indexOf("\n",r)}return t}function getSrcInfo(e){let t,r;if(typeof e==="string"){t=findLineStarts(e);r=e}else{if(Array.isArray(e))e=e[0];if(e&&e.context){if(!e.lineStarts)e.lineStarts=findLineStarts(e.context.src);t=e.lineStarts;r=e.context.src}}return{lineStarts:t,src:r}}function getLinePos(e,t){if(typeof e!=="number"||e<0)return null;const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!n||e>n.length)return null;for(let t=0;t<r.length;++t){const n=r[t];if(e<n){return{line:t,col:e-r[t-1]+1}}if(e===n)return{line:t+1,col:1}}const s=r.length;return{line:s,col:e-r[s-1]+1}}function getLine(e,t){const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!(e>=1)||e>r.length)return null;const s=r[e-1];let i=r[e];while(i&&i>s&&n[i-1]==="\n")--i;return n.slice(s,i)}function getPrettyContext({start:e,end:t},r,n=80){let s=getLine(e.line,r);if(!s)return null;let{col:i}=e;if(s.length>n){if(i<=n-10){s=s.substr(0,n-1)+"…"}else{const e=Math.round(n/2);if(s.length>i+e)s=s.substr(0,i+e-1)+"…";i-=s.length-n;s="…"+s.substr(1-n)}}let a=1;let o="";if(t){if(t.line===e.line&&i+(t.col-e.col)<=n+1){a=t.col-e.col}else{a=Math.min(s.length+1,n)-i;o="…"}}const c=i>1?" ".repeat(i-1):"";const l="^".repeat(a);return`${s}\n${c}${l}${o}`}class Range{static copy(e){return new Range(e.start,e.end)}constructor(e,t){this.start=e;this.end=t||e}isEmpty(){return typeof this.start!=="number"||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:r,end:n}=this;if(e.length===0||n<=e[0]){this.origStart=r;this.origEnd=n;return t}let s=t;while(s<e.length){if(e[s]>r)break;else++s}this.origStart=r+s;const i=s;while(s<e.length){if(e[s]>=n)break;else++s}this.origEnd=n+s;return i}}class Node{static addStringTerminator(e,t,r){if(r[r.length-1]==="\n")return r;const n=Node.endOfWhiteSpace(e,t);return n>=e.length||e[n]==="\n"?r+"\n":r}static atDocumentBoundary(e,t,n){const s=e[t];if(!s)return true;const i=e[t-1];if(i&&i!=="\n")return false;if(n){if(s!==n)return false}else{if(s!==r.DIRECTIVES_END&&s!==r.DOCUMENT_END)return false}const a=e[t+1];const o=e[t+2];if(a!==s||o!==s)return false;const c=e[t+3];return!c||c==="\n"||c==="\t"||c===" "}static endOfIdentifier(e,t){let r=e[t];const n=r==="<";const s=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];while(r&&s.indexOf(r)===-1)r=e[t+=1];if(n&&r===">")t+=1;return t}static endOfIndent(e,t){let r=e[t];while(r===" ")r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];while(r&&r!=="\n")r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];while(r==="\t"||r===" ")r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if(r==="\n")return t;while(r&&r!=="\n")r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){const n=Node.endOfIndent(e,r);if(n>r+t){return n}else{const t=Node.endOfWhiteSpace(e,n);const r=e[t];if(!r||r==="\n")return t}return null}static atBlank(e,t,r){const n=e[t];return n==="\n"||n==="\t"||n===" "||r&&!n}static nextNodeIsIndented(e,t,r){if(!e||t<0)return false;if(t>0)return true;return r&&e==="-"}static normalizeOffset(e,t){const r=e[t];return!r?t:r!=="\n"&&e[t-1]==="\n"?t-1:Node.endOfWhiteSpace(e,t)}static foldNewline(e,t,r){let n=0;let s=false;let i="";let a=e[t+1];while(a===" "||a==="\t"||a==="\n"){switch(a){case"\n":n=0;t+=1;i+="\n";break;case"\t":if(n<=r)s=true;t=Node.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1;t+=1;break}a=e[t+1]}if(!i)i=" ";if(a&&n<=r)s=true;return{fold:i,offset:t,error:s}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:true});this.error=null;this.range=null;this.valueRange=null;this.props=t||[];this.type=e;this.value=null}getPropValue(e,t,r){if(!this.context)return null;const{src:n}=this.context;const s=this.props[e];return s&&n[s.start]===t?n.slice(s.start+(r?1:0),s.end):null}get anchor(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,r.ANCHOR,true);if(t!=null)return t}return null}get comment(){const e=[];for(let t=0;t<this.props.length;++t){const n=this.getPropValue(t,r.COMMENT,true);if(n!=null)e.push(n)}return e.length>0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return false;if(!this.valueRange)return false;const{end:r}=this.valueRange;return e!==r||Node.atBlank(t,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;t<this.props.length;++t){if(e[this.props[t].start]===r.COMMENT)return true}}return false}get hasProps(){if(this.context){const{src:e}=this.context;for(let t=0;t<this.props.length;++t){if(e[this.props[t].start]!==r.COMMENT)return true}}return false}get includesTrailingLines(){return false}get jsonLike(){const e=[n.FLOW_MAP,n.FLOW_SEQ,n.QUOTE_DOUBLE,n.QUOTE_SINGLE];return e.indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return undefined;const e=getLinePos(this.range.start,this.context.root);if(!e)return undefined;const t=getLinePos(this.range.end,this.context.root);return{start:e,end:t}}get rawValue(){if(!this.valueRange||!this.context)return null;const{start:e,end:t}=this.valueRange;return this.context.src.slice(e,t)}get tag(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,r.TAG,false);if(t!=null){if(t[1]==="<"){return{verbatim:t.slice(2,-1)}}else{const[e,r,n]=t.match(/^(.*!)([^!]*)$/);return{handle:r,suffix:n}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return false;const{start:e,end:t}=this.valueRange;const{src:r}=this.context;for(let n=e;n<t;++n){if(r[n]==="\n")return true}return false}parseComment(e){const{src:t}=this.context;if(t[e]===r.COMMENT){const r=Node.endOfLine(t,e+1);const n=new Range(e,r);this.props.push(n);return r}return e}setOrigRanges(e,t){if(this.range)t=this.range.setOrigRange(e,t);if(this.valueRange)this.valueRange.setOrigRange(e,t);this.props.forEach((r=>r.setOrigRange(e,t)));return t}toString(){const{context:{src:e},range:t,value:r}=this;if(r!=null)return r;const n=e.slice(t.start,t.end);return Node.addStringTerminator(e,t.end,n)}}class YAMLError extends Error{constructor(e,t,r){if(!r||!(t instanceof Node))throw new Error(`Invalid arguments for new ${e}`);super();this.name=e;this.message=r;this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if(typeof this.offset==="number"){this.range=new Range(this.offset,this.offset+1);const t=e&&getLinePos(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else{this.range=this.source.range;this.linePos=this.source.rangeAsLinePos}if(this.linePos){const{line:t,col:r}=this.linePos.start;this.message+=` at line ${t}, column ${r}`;const n=e&&getPrettyContext(this.linePos,e);if(n)this.message+=`:\n\n${n}\n`}delete this.source}}class YAMLReferenceError extends YAMLError{constructor(e,t){super("YAMLReferenceError",e,t)}}class YAMLSemanticError extends YAMLError{constructor(e,t){super("YAMLSemanticError",e,t)}}class YAMLSyntaxError extends YAMLError{constructor(e,t){super("YAMLSyntaxError",e,t)}}class YAMLWarning extends YAMLError{constructor(e,t){super("YAMLWarning",e,t)}}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}class PlainValue extends Node{static endOfLine(e,t,r){let n=e[t];let s=t;while(n&&n!=="\n"){if(r&&(n==="["||n==="]"||n==="{"||n==="}"||n===","))break;const t=e[s+1];if(n===":"&&(!t||t==="\n"||t==="\t"||t===" "||r&&t===","))break;if((n===" "||n==="\t")&&t==="#")break;s+=1;n=t}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:r}=this.context;let n=r[t-1];while(e<t&&(n==="\n"||n==="\t"||n===" "))n=r[--t-1];let s="";for(let n=e;n<t;++n){const e=r[n];if(e==="\n"){const{fold:e,offset:t}=Node.foldNewline(r,n,-1);s+=e;n=t}else if(e===" "||e==="\t"){const i=n;let a=r[n+1];while(n<t&&(a===" "||a==="\t")){n+=1;a=r[n+1]}if(a!=="\n")s+=n>i?r.slice(i,n+1):e}else{s+=e}}const i=r[e];switch(i){case"\t":{const e="Plain value cannot start with a tab character";const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}case"@":case"`":{const e=`Plain value cannot start with reserved character ${i}`;const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}default:return s}}parseBlockValue(e){const{indent:t,inFlow:r,src:n}=this.context;let s=e;let i=e;for(let e=n[s];e==="\n";e=n[s]){if(Node.atDocumentBoundary(n,s+1))break;const e=Node.endOfBlockIndent(n,t,s+1);if(e===null||n[e]==="#")break;if(n[e]==="\n"){s=e}else{i=PlainValue.endOfLine(n,e,r);s=i}}if(this.valueRange.isEmpty())this.valueRange.start=e;this.valueRange.end=i;return i}parse(e,t){this.context=e;const{inFlow:r,src:n}=e;let s=t;const i=n[s];if(i&&i!=="#"&&i!=="\n"){s=PlainValue.endOfLine(n,t,r)}this.valueRange=new Range(t,s);s=Node.endOfWhiteSpace(n,s);s=this.parseComment(s);if(!this.hasComment||this.valueRange.isEmpty()){s=this.parseBlockValue(s)}return s}}t.Char=r;t.Node=Node;t.PlainValue=PlainValue;t.Range=Range;t.Type=n;t.YAMLError=YAMLError;t.YAMLReferenceError=YAMLReferenceError;t.YAMLSemanticError=YAMLSemanticError;t.YAMLSyntaxError=YAMLSyntaxError;t.YAMLWarning=YAMLWarning;t._defineProperty=_defineProperty;t.defaultTagPrefix=s;t.defaultTags=i},5564:function(e,t,r){"use strict";var n=r(2592);var s=r(4288);var i=r(8201);function createMap(e,t,r){const n=new s.YAMLMap(e);if(t instanceof Map){for(const[s,i]of t)n.items.push(e.createPair(s,i,r))}else if(t&&typeof t==="object"){for(const s of Object.keys(t))n.items.push(e.createPair(s,t[s],r))}if(typeof e.sortMapEntries==="function"){n.items.sort(e.sortMapEntries)}return n}const a={createNode:createMap,default:true,nodeClass:s.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:s.resolveMap};function createSeq(e,t,r){const n=new s.YAMLSeq(e);if(t&&t[Symbol.iterator]){for(const s of t){const t=e.createNode(s,r.wrapScalars,null,r);n.items.push(t)}}return n}const o={createNode:createSeq,default:true,nodeClass:s.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:s.resolveSeq};const c={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify(e,t,r,n){t=Object.assign({actualString:true},t);return s.stringifyString(e,t,r,n)},options:s.strOptions};const l=[a,o,c];const intIdentify$2=e=>typeof e==="bigint"||Number.isInteger(e);const intResolve$1=(e,t,r)=>s.intOptions.asBigInt?BigInt(e):parseInt(t,r);function intStringify$1(e,t,r){const{value:n}=e;if(intIdentify$2(n)&&n>=0)return r+n.toString(t);return s.stringifyNumber(e)}const u={identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr};const f={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:s.boolOptions,stringify:({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr};const h={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>intResolve$1(e,t,8),options:s.intOptions,stringify:e=>intStringify$1(e,8,"0o")};const p={identify:intIdentify$2,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>intResolve$1(e,e,10),options:s.intOptions,stringify:s.stringifyNumber};const d={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>intResolve$1(e,t,16),options:s.intOptions,stringify:e=>intStringify$1(e,16,"0x")};const m={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber};const g={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()};const y={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,r){const n=t||r;const i=new s.Scalar(parseFloat(e));if(n&&n[n.length-1]==="0")i.minFractionDigits=n.length;return i},stringify:s.stringifyNumber};const b=l.concat([u,f,h,p,d,m,g,y]);const intIdentify$1=e=>typeof e==="bigint"||Number.isInteger(e);const stringifyJSON=({value:e})=>JSON.stringify(e);const E=[a,o,{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify:stringifyJSON},{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:stringifyJSON},{identify:intIdentify$1,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>s.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>intIdentify$1(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:stringifyJSON}];E.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};const boolStringify=({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr;const intIdentify=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve(e,t,r){let n=t.replace(/_/g,"");if(s.intOptions.asBigInt){switch(r){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const t=BigInt(n);return e==="-"?BigInt(-1)*t:t}const i=parseInt(n,r);return e==="-"?-1*i:i}function intStringify(e,t,r){const{value:n}=e;if(intIdentify(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return s.stringifyNumber(e)}const S=l.concat([{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>true,options:s.boolOptions,stringify:boolStringify},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>false,options:s.boolOptions,stringify:boolStringify},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,r)=>intResolve(t,r,2),stringify:e=>intStringify(e,2,"0b")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,r)=>intResolve(t,r,8),stringify:e=>intStringify(e,8,"0")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,r)=>intResolve(t,r,10),stringify:s.stringifyNumber},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,r)=>intResolve(t,r,16),stringify:e=>intStringify(e,16,"0x")},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const r=new s.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");if(e[e.length-1]==="0")r.minFractionDigits=e.length}return r},stringify:s.stringifyNumber}],i.binary,i.omap,i.pairs,i.set,i.intTime,i.floatTime,i.timestamp);const w={core:b,failsafe:l,json:E,yaml11:S};const P={binary:i.binary,bool:f,float:y,floatExp:g,floatNaN:m,floatTime:i.floatTime,int:p,intHex:d,intOct:h,intTime:i.intTime,map:a,null:u,omap:i.omap,pairs:i.pairs,seq:o,set:i.set,timestamp:i.timestamp};function findTagObject(e,t,r){if(t){const e=r.filter((e=>e.tag===t));const n=e.find((e=>!e.format))||e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find((t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format))}function createNode(e,t,r){if(e instanceof s.Node)return e;const{defaultPrefix:n,onTagObj:i,prevObjects:c,schema:l,wrapScalars:u}=r;if(t&&t.startsWith("!!"))t=n+t.slice(2);let f=findTagObject(e,t,l.tags);if(!f){if(typeof e.toJSON==="function")e=e.toJSON();if(!e||typeof e!=="object")return u?new s.Scalar(e):e;f=e instanceof Map?a:e[Symbol.iterator]?o:a}if(i){i(f);delete r.onTagObj}const h={value:undefined,node:undefined};if(e&&typeof e==="object"&&c){const t=c.get(e);if(t){const e=new s.Alias(t);r.aliasNodes.push(e);return e}h.value=e;c.set(e,h)}h.node=f.createNode?f.createNode(r.schema,e,r):u?new s.Scalar(e):e;if(t&&h.node instanceof s.Node)h.node.tag=t;return h.node}function getSchemaTags(e,t,r,n){let s=e[n.replace(/\W/g,"")];if(!s){const t=Object.keys(e).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${n}"; use one of ${t}`)}if(Array.isArray(r)){for(const e of r)s=s.concat(e)}else if(typeof r==="function"){s=r(s.slice())}for(let e=0;e<s.length;++e){const r=s[e];if(typeof r==="string"){const n=t[r];if(!n){const e=Object.keys(t).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${e}`)}s[e]=n}}return s}const sortMapEntriesByKey=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class Schema{constructor({customTags:e,merge:t,schema:r,sortMapEntries:n,tags:s}){this.merge=!!t;this.name=r;this.sortMapEntries=n===true?sortMapEntriesByKey:n||null;if(!e&&s)i.warnOptionDeprecation("tags","customTags");this.tags=getSchemaTags(w,P,e||s,r)}createNode(e,t,r,n){const s={defaultPrefix:Schema.defaultPrefix,schema:this,wrapScalars:t};const i=n?Object.assign(n,s):s;return createNode(e,r,i)}createPair(e,t,r){if(!r)r={wrapScalars:true};const n=this.createNode(e,r.wrapScalars,null,r);const i=this.createNode(t,r.wrapScalars,null,r);return new s.Pair(n,i)}}n._defineProperty(Schema,"defaultPrefix",n.defaultTagPrefix);n._defineProperty(Schema,"defaultTags",n.defaultTags);t.Schema=Schema},3897:function(e,t,r){"use strict";var n=r(4805);var s=r(8745);var i=r(5564);var a=r(2592);var o=r(8201);r(4288);function createNode(e,t=true,r){if(r===undefined&&typeof t==="string"){r=t;t=true}const n=Object.assign({},s.Document.defaults[s.defaultOptions.version],s.defaultOptions);const a=new i.Schema(n);return a.createNode(e,t,r)}class Document extends s.Document{constructor(e){super(Object.assign({},s.defaultOptions,e))}}function parseAllDocuments(e,t){const r=[];let s;for(const i of n.parse(e)){const e=new Document(t);e.parse(i,s);r.push(e);s=e}return r}function parseDocument(e,t){const r=n.parse(e);const s=new Document(t).parse(r[0]);if(r.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";s.errors.unshift(new a.YAMLSemanticError(r[1],e))}return s}function parse(e,t){const r=parseDocument(e,t);r.warnings.forEach((e=>o.warn(e)));if(r.errors.length>0)throw r.errors[0];return r.toJSON()}function stringify(e,t){const r=new Document(t);r.contents=e;return String(r)}const c={createNode:createNode,defaultOptions:s.defaultOptions,Document:Document,parse:parse,parseAllDocuments:parseAllDocuments,parseCST:n.parse,parseDocument:parseDocument,scalarOptions:s.scalarOptions,stringify:stringify};t.YAML=c},4805:function(e,t,r){"use strict";var n=r(2592);class BlankLine extends n.Node{constructor(){super(n.Type.BLANK_LINE)}get includesTrailingLines(){return true}parse(e,t){this.context=e;this.range=new n.Range(t,t+1);return t+1}}class CollectionItem extends n.Node{constructor(e,t){super(e,t);this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{atLineStart:i,lineStart:a}=e;if(!i&&this.type===n.Type.SEQ_ITEM)this.error=new n.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line");const o=i?t-a:e.indent;let c=n.Node.endOfWhiteSpace(s,t+1);let l=s[c];const u=l==="#";const f=[];let h=null;while(l==="\n"||l==="#"){if(l==="#"){const e=n.Node.endOfLine(s,c+1);f.push(new n.Range(c,e));c=e}else{i=true;a=c+1;const e=n.Node.endOfWhiteSpace(s,a);if(s[e]==="\n"&&f.length===0){h=new BlankLine;a=h.parse({src:s},a)}c=n.Node.endOfIndent(s,a)}l=s[c]}if(n.Node.nextNodeIsIndented(l,c-(a+o),this.type!==n.Type.SEQ_ITEM)){this.node=r({atLineStart:i,inCollection:false,indent:o,lineStart:a,parent:this},c)}else if(l&&a>t+1){c=a-1}if(this.node){if(h){const t=e.parent.items||e.parent.contents;if(t)t.push(h)}if(f.length)Array.prototype.push.apply(this.props,f);c=this.node.range.end}else{if(u){const e=f[0];this.props.push(e);c=e.end}else{c=n.Node.endOfLine(s,t+1)}}const p=this.node?this.node.valueRange.end:c;this.valueRange=new n.Range(t,p);return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:r,value:s}=this;if(s!=null)return s;const i=t?e.slice(r.start,t.range.start)+String(t):e.slice(r.start,r.end);return n.Node.addStringTerminator(e,r.end,i)}}class Comment extends n.Node{constructor(){super(n.Type.COMMENT)}parse(e,t){this.context=e;const r=this.parseComment(t);this.range=new n.Range(t,r);return r}}function grabCollectionEndComments(e){let t=e;while(t instanceof CollectionItem)t=t.node;if(!(t instanceof Collection))return null;const r=t.items.length;let s=-1;for(let e=r-1;e>=0;--e){const r=t.items[e];if(r.type===n.Type.COMMENT){const{indent:t,lineStart:n}=r.context;if(t>0&&r.range.start>=n+t)break;s=e}else if(r.type===n.Type.BLANK_LINE)s=e;else break}if(s===-1)return null;const i=t.items.splice(s,r-s);const a=i[0].range.start;while(true){t.range.end=a;if(t.valueRange&&t.valueRange.end>a)t.valueRange.end=a;if(t===e)break;t=t.context.parent}return i}class Collection extends n.Node{static nextContentHasIndent(e,t,r){const s=n.Node.endOfLine(e,t)+1;t=n.Node.endOfWhiteSpace(e,s);const i=e[t];if(!i)return false;if(t>=s+r)return true;if(i!=="#"&&i!=="\n")return false;return Collection.nextContentHasIndent(e,t,r)}constructor(e){super(e.type===n.Type.SEQ_ITEM?n.Type.SEQ:n.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start<e.context.lineStart){this.props=e.props.slice(0,t+1);e.props=e.props.slice(t+1);const r=e.props[0]||e.valueRange;e.range.start=r.start;break}}this.items=[e];const t=grabCollectionEndComments(e);if(t)Array.prototype.push.apply(this.items,t)}get includesTrailingLines(){return this.items.length>0}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let i=n.Node.startOfLine(s,t);const a=this.items[0];a.context.parent=this;this.valueRange=n.Range.copy(a.valueRange);const o=a.range.start-a.context.lineStart;let c=t;c=n.Node.normalizeOffset(s,c);let l=s[c];let u=n.Node.endOfWhiteSpace(s,i)===c;let f=false;while(l){while(l==="\n"||l==="#"){if(u&&l==="\n"&&!f){const e=new BlankLine;c=e.parse({src:s},c);this.valueRange.end=c;if(c>=s.length){l=null;break}this.items.push(e);c-=1}else if(l==="#"){if(c<i+o&&!Collection.nextContentHasIndent(s,c,o)){return c}const e=new Comment;c=e.parse({indent:o,lineStart:i,src:s},c);this.items.push(e);this.valueRange.end=c;if(c>=s.length){l=null;break}}i=c+1;c=n.Node.endOfIndent(s,i);if(n.Node.atBlank(s,c)){const e=n.Node.endOfWhiteSpace(s,c);const t=s[e];if(!t||t==="\n"||t==="#"){c=e}}l=s[c];u=true}if(!l){break}if(c!==i+o&&(u||l!==":")){if(c<i+o){if(i>t)c=i;break}else if(!this.error){const e="All collection items must start at the same column";this.error=new n.YAMLSyntaxError(this,e)}}if(a.type===n.Type.SEQ_ITEM){if(l!=="-"){if(i>t)c=i;break}}else if(l==="-"&&!this.error){const e=s[c+1];if(!e||e==="\n"||e==="\t"||e===" "){const e="A collection cannot be both a mapping and a sequence";this.error=new n.YAMLSyntaxError(this,e)}}const e=r({atLineStart:u,inCollection:true,indent:o,lineStart:i,parent:this},c);if(!e)return c;this.items.push(e);this.valueRange.end=e.valueRange.end;c=n.Node.normalizeOffset(s,e.range.end);l=s[c];u=false;f=e.includesTrailingLines;if(l){let e=c-1;let t=s[e];while(t===" "||t==="\t")t=s[--e];if(t==="\n"){i=e+1;u=true}}const h=grabCollectionEndComments(e);if(h)Array.prototype.push.apply(this.items,h)}return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach((r=>{t=r.setOrigRanges(e,t)}));return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,t[0].range.start)+String(t[0]);for(let e=1;e<t.length;++e){const r=t[e];const{atLineStart:n,indent:s}=r.context;if(n)for(let e=0;e<s;++e)i+=" ";i+=String(r)}return n.Node.addStringTerminator(e,r.end,i)}}class Directive extends n.Node{constructor(){super(n.Type.DIRECTIVE);this.name=null}get parameters(){const e=this.rawValue;return e?e.trim().split(/[ \t]+/):[]}parseName(e){const{src:t}=this.context;let r=e;let n=t[r];while(n&&n!=="\n"&&n!=="\t"&&n!==" ")n=t[r+=1];this.name=t.slice(e,r);return r}parseParameters(e){const{src:t}=this.context;let r=e;let s=t[r];while(s&&s!=="\n"&&s!=="#")s=t[r+=1];this.valueRange=new n.Range(e,r);return r}parse(e,t){this.context=e;let r=this.parseName(t+1);r=this.parseParameters(r);r=this.parseComment(r);this.range=new n.Range(t,r);return r}}class Document extends n.Node{static startCommentOrEndBlankLine(e,t){const r=n.Node.endOfWhiteSpace(e,t);const s=e[r];return s==="#"||s==="\n"?r:t}constructor(){super(n.Type.DOCUMENT);this.directives=null;this.contents=null;this.directivesEndMarker=null;this.documentEndMarker=null}parseDirectives(e){const{src:t}=this.context;this.directives=[];let r=true;let s=false;let i=e;while(!n.Node.atDocumentBoundary(t,i,n.Char.DIRECTIVES_END)){i=Document.startCommentOrEndBlankLine(t,i);switch(t[i]){case"\n":if(r){const e=new BlankLine;i=e.parse({src:t},i);if(i<t.length){this.directives.push(e)}}else{i+=1;r=true}break;case"#":{const e=new Comment;i=e.parse({src:t},i);this.directives.push(e);r=false}break;case"%":{const e=new Directive;i=e.parse({parent:this,src:t},i);this.directives.push(e);s=true;r=false}break;default:if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}}if(t[i]){this.directivesEndMarker=new n.Range(i,i+3);return i+3}if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}parseContents(e){const{parseNode:t,src:r}=this.context;if(!this.contents)this.contents=[];let s=e;while(r[s-1]==="-")s-=1;let i=n.Node.endOfWhiteSpace(r,e);let a=s===e;this.valueRange=new n.Range(i);while(!n.Node.atDocumentBoundary(r,i,n.Char.DOCUMENT_END)){switch(r[i]){case"\n":if(a){const e=new BlankLine;i=e.parse({src:r},i);if(i<r.length){this.contents.push(e)}}else{i+=1;a=true}s=i;break;case"#":{const e=new Comment;i=e.parse({src:r},i);this.contents.push(e);a=false}break;default:{const e=n.Node.endOfIndent(r,i);const o={atLineStart:a,indent:-1,inFlow:false,inCollection:false,lineStart:s,parent:this};const c=t(o,e);if(!c)return this.valueRange.end=e;this.contents.push(c);i=c.range.end;a=false;const l=grabCollectionEndComments(c);if(l)Array.prototype.push.apply(this.contents,l)}}i=Document.startCommentOrEndBlankLine(r,i)}this.valueRange.end=i;if(r[i]){this.documentEndMarker=new n.Range(i,i+3);i+=3;if(r[i]){i=n.Node.endOfWhiteSpace(r,i);if(r[i]==="#"){const e=new Comment;i=e.parse({src:r},i);this.contents.push(e)}switch(r[i]){case"\n":i+=1;break;case undefined:break;default:this.error=new n.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}}return i}parse(e,t){e.root=this;this.context=e;const{src:r}=e;let n=r.charCodeAt(t)===65279?t+1:t;n=this.parseDirectives(n);n=this.parseContents(n);return n}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.directives.forEach((r=>{t=r.setOrigRanges(e,t)}));if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach((r=>{t=r.setOrigRanges(e,t)}));if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:r}=this;if(r!=null)return r;let s=t.join("");if(e.length>0){if(t.length>0||e[0].type===n.Type.COMMENT)s+="---\n";s+=e.join("")}if(s[s.length-1]!=="\n")s+="\n";return s}}class Alias extends n.Node{parse(e,t){this.context=e;const{src:r}=e;let s=n.Node.endOfIdentifier(r,t+1);this.valueRange=new n.Range(t+1,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}const s={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};class BlockValue extends n.Node{constructor(e,t){super(e,t);this.blockIndent=null;this.chomping=s.CLIP;this.header=null}get includesTrailingLines(){return this.chomping===s.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:r,src:i}=this.context;if(this.valueRange.isEmpty())return"";let a=null;let o=i[t-1];while(o==="\n"||o==="\t"||o===" "){t-=1;if(t<=e){if(this.chomping===s.KEEP)break;else return""}if(o==="\n")a=t;o=i[t-1]}let c=t+1;if(a){if(this.chomping===s.KEEP){c=a;t=this.valueRange.end}else{t=a}}const l=r+this.blockIndent;const u=this.type===n.Type.BLOCK_FOLDED;let f=true;let h="";let p="";let d=false;for(let r=e;r<t;++r){for(let e=0;e<l;++e){if(i[r]!==" ")break;r+=1}const e=i[r];if(e==="\n"){if(p==="\n")h+="\n";else p="\n"}else{const s=n.Node.endOfLine(i,r);const a=i.slice(r,s);r=s;if(u&&(e===" "||e==="\t")&&r<c){if(p===" ")p="\n";else if(!d&&!f&&p==="\n")p="\n\n";h+=p+a;p=s<t&&i[s]||"";d=true}else{h+=p+a;p=u&&r<c?" ":"\n";d=false}if(f&&a!=="")f=false}}return this.chomping===s.STRIP?h:h+"\n"}parseBlockHeader(e){const{src:t}=this.context;let r=e+1;let i="";while(true){const a=t[r];switch(a){case"-":this.chomping=s.STRIP;break;case"+":this.chomping=s.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i+=a;break;default:this.blockIndent=Number(i)||null;this.header=new n.Range(e,r);return r}r+=1}}parseBlockValue(e){const{indent:t,src:r}=this.context;const i=!!this.blockIndent;let a=e;let o=e;let c=1;for(let e=r[a];e==="\n";e=r[a]){a+=1;if(n.Node.atDocumentBoundary(r,a))break;const e=n.Node.endOfBlockIndent(r,t,a);if(e===null)break;const s=r[e];const l=e-(a+t);if(!this.blockIndent){if(r[e]!=="\n"){if(l<c){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new n.YAMLSemanticError(this,e)}this.blockIndent=l}else if(l>c){c=l}}else if(s&&s!=="\n"&&l<this.blockIndent){if(r[e]==="#")break;if(!this.error){const e=i?"explicit indentation indicator":"first line";const t=`Block scalars must not be less indented than their ${e}`;this.error=new n.YAMLSemanticError(this,t)}}if(r[e]==="\n"){a=e}else{a=o=n.Node.endOfLine(r,e)}}if(this.chomping!==s.KEEP){a=r[o]?o+1:o}this.valueRange=new n.Range(e+1,a);return a}parse(e,t){this.context=e;const{src:r}=e;let s=this.parseBlockHeader(t);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);s=this.parseBlockValue(s);return s}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.header?this.header.setOrigRange(e,t):t}}class FlowCollection extends n.Node{constructor(e,t){super(e,t);this.items=null}prevNodeIsJsonLike(e=this.items.length){const t=this.items[e-1];return!!t&&(t.jsonLike||t.type===n.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{indent:i,lineStart:a}=e;let o=s[t];this.items=[{char:o,offset:t}];let c=n.Node.endOfWhiteSpace(s,t+1);o=s[c];while(o&&o!=="]"&&o!=="}"){switch(o){case"\n":{a=c+1;const e=n.Node.endOfWhiteSpace(s,a);if(s[e]==="\n"){const e=new BlankLine;a=e.parse({src:s},a);this.items.push(e)}c=n.Node.endOfIndent(s,a);if(c<=a+i){o=s[c];if(c<a+i||o!=="]"&&o!=="}"){const e="Insufficient indentation in flow collection";this.error=new n.YAMLSemanticError(this,e)}}}break;case",":{this.items.push({char:o,offset:c});c+=1}break;case"#":{const e=new Comment;c=e.parse({src:s},c);this.items.push(e)}break;case"?":case":":{const e=s[c+1];if(e==="\n"||e==="\t"||e===" "||e===","||o===":"&&this.prevNodeIsJsonLike()){this.items.push({char:o,offset:c});c+=1;break}}default:{const e=r({atLineStart:false,inCollection:false,inFlow:true,indent:-1,lineStart:a,parent:this},c);if(!e){this.valueRange=new n.Range(t,c);return c}this.items.push(e);c=n.Node.normalizeOffset(s,e.range.end)}}c=n.Node.endOfWhiteSpace(s,c);o=s[c]}this.valueRange=new n.Range(t,c+1);if(o){this.items.push({char:o,offset:c});c=n.Node.endOfWhiteSpace(s,c+1);c=this.parseComment(c)}return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach((r=>{if(r instanceof n.Node){t=r.setOrigRanges(e,t)}else if(e.length===0){r.origOffset=r.offset}else{let n=t;while(n<e.length){if(e[n]>r.offset)break;else++n}r.origOffset=r.offset+n;t=n}}));return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;const i=t.filter((e=>e instanceof n.Node));let a="";let o=r.start;i.forEach((t=>{const r=e.slice(o,t.range.start);o=t.range.end;a+=r+String(t);if(a[a.length-1]==="\n"&&e[o-1]!=="\n"&&e[o]==="\n"){o+=1}}));a+=e.slice(o,r.end);return n.Node.addStringTerminator(e,r.end,a)}}class QuoteDouble extends n.Node{static endOfQuote(e,t){let r=e[t];while(r&&r!=='"'){t+=r==="\\"?2:1;r=e[t]}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=='"')e.push(new n.YAMLSyntaxError(this,'Missing closing "quote'));let a="";for(let o=t+1;o<r-1;++o){const t=i[o];if(t==="\n"){if(n.Node.atDocumentBoundary(i,o+1))e.push(new n.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));const{fold:t,offset:r,error:c}=n.Node.foldNewline(i,o,s);a+=t;o=r;if(c)e.push(new n.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(t==="\\"){o+=1;switch(i[o]){case"0":a+="\0";break;case"a":a+="";break;case"b":a+="\b";break;case"e":a+="";break;case"f":a+="\f";break;case"n":a+="\n";break;case"r":a+="\r";break;case"t":a+="\t";break;case"v":a+="\v";break;case"N":a+="…";break;case"_":a+=" ";break;case"L":a+="\u2028";break;case"P":a+="\u2029";break;case" ":a+=" ";break;case'"':a+='"';break;case"/":a+="/";break;case"\\":a+="\\";break;case"\t":a+="\t";break;case"x":a+=this.parseCharCode(o+1,2,e);o+=2;break;case"u":a+=this.parseCharCode(o+1,4,e);o+=4;break;case"U":a+=this.parseCharCode(o+1,8,e);o+=8;break;case"\n":while(i[o+1]===" "||i[o+1]==="\t")o+=1;break;default:e.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${i.substr(o-1,2)}`));a+="\\"+i[o]}}else if(t===" "||t==="\t"){const e=o;let r=i[o+1];while(r===" "||r==="\t"){o+=1;r=i[o+1]}if(r!=="\n")a+=o>e?i.slice(e,o+1):t}else{a+=t}}return e.length>0?{errors:e,str:a}:a}parseCharCode(e,t,r){const{src:s}=this.context;const i=s.substr(e,t);const a=i.length===t&&/^[0-9a-fA-F]+$/.test(i);const o=a?parseInt(i,16):NaN;if(isNaN(o)){r.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,t+2)}`));return s.substr(e-2,t+2)}return String.fromCodePoint(o)}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteDouble.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}class QuoteSingle extends n.Node{static endOfQuote(e,t){let r=e[t];while(r){if(r==="'"){if(e[t+1]!=="'")break;r=e[t+=2]}else{r=e[t+=1]}}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=="'")e.push(new n.YAMLSyntaxError(this,"Missing closing 'quote"));let a="";for(let o=t+1;o<r-1;++o){const t=i[o];if(t==="\n"){if(n.Node.atDocumentBoundary(i,o+1))e.push(new n.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));const{fold:t,offset:r,error:c}=n.Node.foldNewline(i,o,s);a+=t;o=r;if(c)e.push(new n.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(t==="'"){a+=t;o+=1;if(i[o]!=="'")e.push(new n.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."))}else if(t===" "||t==="\t"){const e=o;let r=i[o+1];while(r===" "||r==="\t"){o+=1;r=i[o+1]}if(r!=="\n")a+=o>e?i.slice(e,o+1):t}else{a+=t}}return e.length>0?{errors:e,str:a}:a}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteSingle.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}function createNewNode(e,t){switch(e){case n.Type.ALIAS:return new Alias(e,t);case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return new BlockValue(e,t);case n.Type.FLOW_MAP:case n.Type.FLOW_SEQ:return new FlowCollection(e,t);case n.Type.MAP_KEY:case n.Type.MAP_VALUE:case n.Type.SEQ_ITEM:return new CollectionItem(e,t);case n.Type.COMMENT:case n.Type.PLAIN:return new n.PlainValue(e,t);case n.Type.QUOTE_DOUBLE:return new QuoteDouble(e,t);case n.Type.QUOTE_SINGLE:return new QuoteSingle(e,t);default:return null}}class ParseContext{static parseType(e,t,r){switch(e[t]){case"*":return n.Type.ALIAS;case">":return n.Type.BLOCK_FOLDED;case"|":return n.Type.BLOCK_LITERAL;case"{":return n.Type.FLOW_MAP;case"[":return n.Type.FLOW_SEQ;case"?":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_KEY:n.Type.PLAIN;case":":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_VALUE:n.Type.PLAIN;case"-":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.SEQ_ITEM:n.Type.PLAIN;case'"':return n.Type.QUOTE_DOUBLE;case"'":return n.Type.QUOTE_SINGLE;default:return n.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:r,inFlow:s,indent:i,lineStart:a,parent:o}={}){n._defineProperty(this,"parseNode",((e,t)=>{if(n.Node.atDocumentBoundary(this.src,t))return null;const r=new ParseContext(this,e);const{props:s,type:i,valueStart:a}=r.parseProps(t);const o=createNewNode(i,s);let c=o.parse(r,a);o.range=new n.Range(t,c);if(c<=t){o.error=new Error(`Node#parse consumed no characters`);o.error.parseEnd=c;o.error.source=o;o.range.end=t+1}if(r.nodeStartsCollection(o)){if(!o.error&&!r.atLineStart&&r.parent.type===n.Type.DOCUMENT){o.error=new n.YAMLSyntaxError(o,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new Collection(o);c=e.parse(new ParseContext(r),c);e.range=new n.Range(t,c);return e}return o}));this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=r!=null?r:e.inCollection||false;this.inFlow=s!=null?s:e.inFlow||false;this.indent=i!=null?i:e.indent;this.lineStart=a!=null?a:e.lineStart;this.parent=o!=null?o:e.parent||{};this.root=e.root;this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:r,src:s}=this;if(t||r)return false;if(e instanceof CollectionItem)return true;let i=e.range.end;if(s[i]==="\n"||s[i-1]==="\n")return false;i=n.Node.endOfWhiteSpace(s,i);return s[i]===":"}parseProps(e){const{inFlow:t,parent:r,src:s}=this;const i=[];let a=false;e=this.atLineStart?n.Node.endOfIndent(s,e):n.Node.endOfWhiteSpace(s,e);let o=s[e];while(o===n.Char.ANCHOR||o===n.Char.COMMENT||o===n.Char.TAG||o==="\n"){if(o==="\n"){let t=e;let i;do{i=t+1;t=n.Node.endOfIndent(s,i)}while(s[t]==="\n");const o=t-(i+this.indent);const c=r.type===n.Type.SEQ_ITEM&&r.context.atLineStart;if(s[t]!=="#"&&!n.Node.nextNodeIsIndented(s[t],o,!c))break;this.atLineStart=true;this.lineStart=i;a=false;e=t}else if(o===n.Char.COMMENT){const t=n.Node.endOfLine(s,e+1);i.push(new n.Range(e,t));e=t}else{let t=n.Node.endOfIdentifier(s,e+1);if(o===n.Char.TAG&&s[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))){t=n.Node.endOfIdentifier(s,t+5)}i.push(new n.Range(e,t));a=true;e=n.Node.endOfWhiteSpace(s,t)}o=s[e]}if(a&&o===":"&&n.Node.atBlank(s,e+1,true))e-=1;const c=ParseContext.parseType(s,e,t);return{props:i,type:c,valueStart:e}}}function parse(e){const t=[];if(e.indexOf("\r")!==-1){e=e.replace(/\r\n?/g,((e,r)=>{if(e.length>1)t.push(r);return"\n"}))}const r=[];let n=0;do{const t=new Document;const s=new ParseContext({src:e});n=t.parse(s,n);r.push(t)}while(n<e.length);r.setOrigRanges=()=>{if(t.length===0)return false;for(let e=1;e<t.length;++e)t[e]-=e;let e=0;for(let n=0;n<r.length;++n){e=r[n].setOrigRanges(t,e)}t.splice(0,t.length);return true};r.toString=()=>r.join("...\n");return r}t.parse=parse},4288:function(e,t,r){"use strict";var n=r(2592);function addCommentBefore(e,t,r){if(!r)return e;const n=r.replace(/[\s\S]^/gm,`$&${t}#`);return`#${n}\n${t}${e}`}function addComment(e,t,r){return!r?e:r.indexOf("\n")===-1?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`)}class Node{}function toJSON(e,t,r){if(Array.isArray(e))return e.map(((e,t)=>toJSON(e,String(t),r)));if(e&&typeof e.toJSON==="function"){const n=r&&r.anchors&&r.anchors.get(e);if(n)r.onCreate=e=>{n.res=e;delete r.onCreate};const s=e.toJSON(t,r);if(n&&r.onCreate)r.onCreate(s);return s}if((!r||!r.keep)&&typeof e==="bigint")return Number(e);return e}class Scalar extends Node{constructor(e){super();this.value=e}toJSON(e,t){return t&&t.keep?this.value:toJSON(this.value,e,t)}toString(){return String(this.value)}}function collectionFromPath(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];if(Number.isInteger(r)&&r>=0){const e=[];e[r]=n;n=e}else{const e={};Object.defineProperty(e,r,{value:n,writable:true,enumerable:true,configurable:true});n=e}}return e.createNode(n,false)}const isEmptyPath=e=>e==null||typeof e==="object"&&e[Symbol.iterator]().next().done;class Collection extends Node{constructor(e){super();n._defineProperty(this,"items",[]);this.schema=e}addIn(e,t){if(isEmptyPath(e))this.add(t);else{const[r,...n]=e;const s=this.get(r,true);if(s instanceof Collection)s.addIn(n,t);else if(s===undefined&&this.schema)this.set(r,collectionFromPath(this.schema,n,t));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}}deleteIn([e,...t]){if(t.length===0)return this.delete(e);const r=this.get(e,true);if(r instanceof Collection)return r.deleteIn(t);else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],r){const n=this.get(e,true);if(t.length===0)return!r&&n instanceof Scalar?n.value:n;else return n instanceof Collection?n.getIn(t,r):undefined}hasAllNullValues(){return this.items.every((e=>{if(!e||e.type!=="PAIR")return false;const t=e.value;return t==null||t instanceof Scalar&&t.value==null&&!t.commentBefore&&!t.comment&&!t.tag}))}hasIn([e,...t]){if(t.length===0)return this.has(e);const r=this.get(e,true);return r instanceof Collection?r.hasIn(t):false}setIn([e,...t],r){if(t.length===0){this.set(e,r)}else{const n=this.get(e,true);if(n instanceof Collection)n.setIn(t,r);else if(n===undefined&&this.schema)this.set(e,collectionFromPath(this.schema,t,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:r,isMap:s,itemIndent:i},a,o){const{indent:c,indentStep:l,stringify:u}=e;const f=this.type===n.Type.FLOW_MAP||this.type===n.Type.FLOW_SEQ||e.inFlow;if(f)i+=l;const h=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:h,indent:i,inFlow:f,type:null});let p=false;let d=false;const m=this.items.reduce(((t,r,n)=>{let s;if(r){if(!p&&r.spaceBefore)t.push({type:"comment",str:""});if(r.commentBefore)r.commentBefore.match(/^.*$/gm).forEach((e=>{t.push({type:"comment",str:`#${e}`})}));if(r.comment)s=r.comment;if(f&&(!p&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment)))d=true}p=false;let a=u(r,e,(()=>s=null),(()=>p=true));if(f&&!d&&a.includes("\n"))d=true;if(f&&n<this.items.length-1)a+=",";a=addComment(a,i,s);if(p&&(s||f))p=false;t.push({type:"item",str:a});return t}),[]);let g;if(m.length===0){g=r.start+r.end}else if(f){const{start:e,end:t}=r;const n=m.map((e=>e.str));if(d||n.reduce(((e,t)=>e+t.length+2),2)>Collection.maxFlowStringSingleLineLength){g=e;for(const e of n){g+=e?`\n${l}${c}${e}`:"\n"}g+=`\n${c}${t}`}else{g=`${e} ${n.join(" ")} ${t}`}}else{const e=m.map(t);g=e.shift();for(const t of e)g+=t?`\n${c}${t}`:"\n"}if(this.comment){g+="\n"+this.comment.replace(/^/gm,`${c}#`);if(a)a()}else if(p&&o)o();return g}}n._defineProperty(Collection,"maxFlowStringSingleLineLength",60);function asItemIndex(e){let t=e instanceof Scalar?e.value:e;if(t&&typeof t==="string")t=Number(t);return Number.isInteger(t)&&t>=0?t:null}class YAMLSeq extends Collection{add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const r=this.items.splice(t,1);return r.length>0}get(e,t){const r=asItemIndex(e);if(typeof r!=="number")return undefined;const n=this.items[r];return!t&&n instanceof Scalar?n.value:n}has(e){const t=asItemIndex(e);return typeof t==="number"&&t<this.items.length}set(e,t){const r=asItemIndex(e);if(typeof r!=="number")throw new Error(`Expected a valid index, not ${e}.`);this.items[r]=t}toJSON(e,t){const r=[];if(t&&t.onCreate)t.onCreate(r);let n=0;for(const e of this.items)r.push(toJSON(e,String(n++),t));return r}toString(e,t,r){if(!e)return JSON.stringify(this);return super.toString(e,{blockItem:e=>e.type==="comment"?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:false,itemIndent:(e.indent||"")+" "},t,r)}}const stringifyKey=(e,t,r)=>{if(t===null)return"";if(typeof t!=="object")return String(t);if(e instanceof Node&&r&&r.doc)return e.toString({anchors:Object.create(null),doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:true,inStringifyKey:true,stringify:r.stringify});return JSON.stringify(t)};class Pair extends Node{constructor(e,t=null){super();this.key=e;this.value=t;this.type=Pair.Type.PAIR}get commentBefore(){return this.key instanceof Node?this.key.commentBefore:undefined}set commentBefore(e){if(this.key==null)this.key=new Scalar(null);if(this.key instanceof Node)this.key.commentBefore=e;else{const e="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(e)}}addToJSMap(e,t){const r=toJSON(this.key,"",e);if(t instanceof Map){const n=toJSON(this.value,r,e);t.set(r,n)}else if(t instanceof Set){t.add(r)}else{const n=stringifyKey(this.key,r,e);const s=toJSON(this.value,n,e);if(n in t)Object.defineProperty(t,n,{value:s,writable:true,enumerable:true,configurable:true});else t[n]=s}return t}toJSON(e,t){const r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,t,r){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:i,simpleKeys:a}=e.doc.options;let{key:o,value:c}=this;let l=o instanceof Node&&o.comment;if(a){if(l){throw new Error("With simple keys, key nodes cannot have comments")}if(o instanceof Collection){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}let u=!a&&(!o||l||(o instanceof Node?o instanceof Collection||o.type===n.Type.BLOCK_FOLDED||o.type===n.Type.BLOCK_LITERAL:typeof o==="object"));const{doc:f,indent:h,indentStep:p,stringify:d}=e;e=Object.assign({},e,{implicitKey:!u,indent:h+p});let m=false;let g=d(o,e,(()=>l=null),(()=>m=true));g=addComment(g,e.indent,l);if(!u&&g.length>1024){if(a)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");u=true}if(e.allNullValues&&!a){if(this.comment){g=addComment(g,e.indent,this.comment);if(t)t()}else if(m&&!l&&r)r();return e.inFlow&&!u?g:`? ${g}`}g=u?`? ${g}\n${h}:`:`${g}:`;if(this.comment){g=addComment(g,e.indent,this.comment);if(t)t()}let y="";let b=null;if(c instanceof Node){if(c.spaceBefore)y="\n";if(c.commentBefore){const t=c.commentBefore.replace(/^/gm,`${e.indent}#`);y+=`\n${t}`}b=c.comment}else if(c&&typeof c==="object"){c=f.schema.createNode(c,true)}e.implicitKey=false;if(!u&&!this.comment&&c instanceof Scalar)e.indentAtStart=g.length+1;m=false;if(!i&&s>=2&&!e.inFlow&&!u&&c instanceof YAMLSeq&&c.type!==n.Type.FLOW_SEQ&&!c.tag&&!f.anchors.getName(c)){e.indent=e.indent.substr(2)}const E=d(c,e,(()=>b=null),(()=>m=true));let S=" ";if(y||this.comment){S=`${y}\n${e.indent}`}else if(!u&&c instanceof Collection){const t=E[0]==="["||E[0]==="{";if(!t||E.includes("\n"))S=`\n${e.indent}`}else if(E[0]==="\n")S="";if(m&&!b&&r)r();return addComment(g+S+E,e.indent,b)}}n._defineProperty(Pair,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const getAliasCount=(e,t)=>{if(e instanceof Alias){const r=t.get(e.source);return r.count*r.aliasCount}else if(e instanceof Collection){let r=0;for(const n of e.items){const e=getAliasCount(n,t);if(e>r)r=e}return r}else if(e instanceof Pair){const r=getAliasCount(e.key,t);const n=getAliasCount(e.value,t);return Math.max(r,n)}return 1};class Alias extends Node{static stringify({range:e,source:t},{anchors:r,doc:n,implicitKey:s,inStringifyKey:i}){let a=Object.keys(r).find((e=>r[e]===t));if(!a&&i)a=n.anchors.getName(t)||n.anchors.newName();if(a)return`*${a}${s?" ":""}`;const o=n.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${o} [${e}]`)}constructor(e){super();this.source=e;this.type=n.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return toJSON(this.source,e,t);const{anchors:r,maxAliasCount:s}=t;const i=r.get(this.source);if(!i||i.res===undefined){const e="This should not happen: Alias anchor was not resolved?";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}if(s>=0){i.count+=1;if(i.aliasCount===0)i.aliasCount=getAliasCount(this.source,r);if(i.count*i.aliasCount>s){const e="Excessive alias count indicates a resource exhaustion attack";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}}return i.res}toString(e){return Alias.stringify(this,e)}}n._defineProperty(Alias,"default",true);function findPair(e,t){const r=t instanceof Scalar?t.value:t;for(const n of e){if(n instanceof Pair){if(n.key===t||n.key===r)return n;if(n.key&&n.key.value===r)return n}}return undefined}class YAMLMap extends Collection{add(e,t){if(!e)e=new Pair(e);else if(!(e instanceof Pair))e=new Pair(e.key||e,e.value);const r=findPair(this.items,e.key);const n=this.schema&&this.schema.sortMapEntries;if(r){if(t)r.value=e.value;else throw new Error(`Key ${e.key} already set`)}else if(n){const t=this.items.findIndex((t=>n(e,t)<0));if(t===-1)this.items.push(e);else this.items.splice(t,0,e)}else{this.items.push(e)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const r=this.items.splice(this.items.indexOf(t),1);return r.length>0}get(e,t){const r=findPair(this.items,e);const n=r&&r.value;return!t&&n instanceof Scalar?n.value:n}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new Pair(e,t),true)}toJSON(e,t,r){const n=r?new r:t&&t.mapAsMap?new Map:{};if(t&&t.onCreate)t.onCreate(n);for(const e of this.items)e.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items){if(!(e instanceof Pair))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:true,itemIndent:e.indent||""},t,r)}}const s="<<";class Merge extends Pair{constructor(e){if(e instanceof Pair){let t=e.value;if(!(t instanceof YAMLSeq)){t=new YAMLSeq;t.items.push(e.value);t.range=e.value.range}super(e.key,t);this.range=e.range}else{super(new Scalar(s),new YAMLSeq)}this.type=Pair.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:r}of this.value.items){if(!(r instanceof YAMLMap))throw new Error("Merge sources must be maps");const n=r.toJSON(null,e,Map);for(const[e,r]of n){if(t instanceof Map){if(!t.has(e))t.set(e,r)}else if(t instanceof Set){t.add(e)}else if(!Object.prototype.hasOwnProperty.call(t,e)){Object.defineProperty(t,e,{value:r,writable:true,enumerable:true,configurable:true})}}}return t}toString(e,t){const r=this.value;if(r.items.length>1)return super.toString(e,t);this.value=r.items[0];const n=super.toString(e,t);this.value=r;return n}}const i={defaultType:n.Type.BLOCK_LITERAL,lineWidth:76};const a={trueStr:"true",falseStr:"false"};const o={asBigInt:false};const c={nullStr:"null"};const l={defaultType:n.Type.PLAIN,doubleQuoted:{jsonEncoding:false,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function resolveScalar(e,t,r){for(const{format:r,test:n,resolve:s}of t){if(n){const t=e.match(n);if(t){let e=s.apply(null,t);if(!(e instanceof Scalar))e=new Scalar(e);if(r)e.format=r;return e}}}if(r)e=r(e);return new Scalar(e)}const u="flow";const f="block";const h="quoted";const consumeMoreIndentedLines=(e,t)=>{let r=e[t+1];while(r===" "||r==="\t"){do{r=e[t+=1]}while(r&&r!=="\n");r=e[t+1]}return t};function foldFlowLines(e,t,r,{indentAtStart:n,lineWidth:s=80,minContentWidth:i=20,onFold:a,onOverflow:o}){if(!s||s<0)return e;const c=Math.max(1+i,1+s-t.length);if(e.length<=c)return e;const l=[];const u={};let p=s-t.length;if(typeof n==="number"){if(n>s-Math.max(2,i))l.push(0);else p=s-n}let d=undefined;let m=undefined;let g=false;let y=-1;let b=-1;let E=-1;if(r===f){y=consumeMoreIndentedLines(e,y);if(y!==-1)p=y+c}for(let t;t=e[y+=1];){if(r===h&&t==="\\"){b=y;switch(e[y+1]){case"x":y+=3;break;case"u":y+=5;break;case"U":y+=9;break;default:y+=1}E=y}if(t==="\n"){if(r===f)y=consumeMoreIndentedLines(e,y);p=y+c;d=undefined}else{if(t===" "&&m&&m!==" "&&m!=="\n"&&m!=="\t"){const t=e[y+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")d=y}if(y>=p){if(d){l.push(d);p=d+c;d=undefined}else if(r===h){while(m===" "||m==="\t"){m=t;t=e[y+=1];g=true}const r=y>E+1?y-2:b-1;if(u[r])return e;l.push(r);u[r]=true;p=r+c;d=undefined}else{g=true}}}m=t}if(g&&o)o();if(l.length===0)return e;if(a)a();let S=e.slice(0,l[0]);for(let n=0;n<l.length;++n){const s=l[n];const i=l[n+1]||e.length;if(s===0)S=`\n${t}${e.slice(0,i)}`;else{if(r===h&&u[s])S+=`${e[s]}\\`;S+=`\n${t}${e.slice(s+1,i)}`}}return S}const getFoldOptions=({indentAtStart:e})=>e?Object.assign({indentAtStart:e},l.fold):l.fold;const containsDocumentMarker=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t,r){if(!t||t<0)return false;const n=t-r;const s=e.length;if(s<=n)return false;for(let t=0,r=0;t<s;++t){if(e[t]==="\n"){if(t-r>n)return true;r=t+1;if(s-r<=n)return false}}return true}function doubleQuotedString(e,t){const{implicitKey:r}=t;const{jsonEncoding:n,minMultiLineLength:s}=l.doubleQuoted;const i=JSON.stringify(e);if(n)return i;const a=t.indent||(containsDocumentMarker(e)?" ":"");let o="";let c=0;for(let e=0,t=i[e];t;t=i[++e]){if(t===" "&&i[e+1]==="\\"&&i[e+2]==="n"){o+=i.slice(c,e)+"\\ ";e+=1;c=e;t="\\"}if(t==="\\")switch(i[e+1]){case"u":{o+=i.slice(c,e);const t=i.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:if(t.substr(0,2)==="00")o+="\\x"+t.substr(2);else o+=i.substr(e,6)}e+=5;c=e+1}break;case"n":if(r||i[e+2]==='"'||i.length<s){e+=1}else{o+=i.slice(c,e)+"\n\n";while(i[e+2]==="\\"&&i[e+3]==="n"&&i[e+4]!=='"'){o+="\n";e+=2}o+=a;if(i[e+2]===" ")o+="\\";e+=1;c=e+1}break;default:e+=1}}o=c?o+i.slice(c):i;return r?o:foldFlowLines(o,a,h,getFoldOptions(t))}function singleQuotedString(e,t){if(t.implicitKey){if(/\n/.test(e))return doubleQuotedString(e,t)}else{if(/[ \t]\n|\n[ \t]/.test(e))return doubleQuotedString(e,t)}const r=t.indent||(containsDocumentMarker(e)?" ":"");const n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${r}`)+"'";return t.implicitKey?n:foldFlowLines(n,r,u,getFoldOptions(t))}function blockString({comment:e,type:t,value:r},s,i,a){if(/\n[\t ]+$/.test(r)||/^\s*$/.test(r)){return doubleQuotedString(r,s)}const o=s.indent||(s.forceBlockIndent||containsDocumentMarker(r)?" ":"");const c=o?"2":"1";const u=t===n.Type.BLOCK_FOLDED?false:t===n.Type.BLOCK_LITERAL?true:!lineLengthOverLimit(r,l.fold.lineWidth,o.length);let h=u?"|":">";if(!r)return h+"\n";let p="";let d="";r=r.replace(/[\n\t ]*$/,(e=>{const t=e.indexOf("\n");if(t===-1){h+="-"}else if(r===e||t!==e.length-1){h+="+";if(a)a()}d=e.replace(/\n$/,"");return""})).replace(/^[\n ]*/,(e=>{if(e.indexOf(" ")!==-1)h+=c;const t=e.match(/ +$/);if(t){p=e.slice(0,-t[0].length);return t[0]}else{p=e;return""}}));if(d)d=d.replace(/\n+(?!\n|$)/g,`$&${o}`);if(p)p=p.replace(/\n+/g,`$&${o}`);if(e){h+=" #"+e.replace(/ ?[\r\n]+/g," ");if(i)i()}if(!r)return`${h}${c}\n${o}${d}`;if(u){r=r.replace(/\n+/g,`$&${o}`);return`${h}\n${o}${p}${r}${d}`}r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${o}`);const m=foldFlowLines(`${p}${r}${d}`,o,f,l.fold);return`${h}\n${o}${m}`}function plainString(e,t,r,s){const{comment:i,type:a,value:o}=e;const{actualString:c,implicitKey:l,indent:f,inFlow:h}=t;if(l&&/[\n[\]{},]/.test(o)||h&&/[[\]{},]/.test(o)){return doubleQuotedString(o,t)}if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o)){return l||h||o.indexOf("\n")===-1?o.indexOf('"')!==-1&&o.indexOf("'")===-1?singleQuotedString(o,t):doubleQuotedString(o,t):blockString(e,t,r,s)}if(!l&&!h&&a!==n.Type.PLAIN&&o.indexOf("\n")!==-1){return blockString(e,t,r,s)}if(f===""&&containsDocumentMarker(o)){t.forceBlockIndent=true;return blockString(e,t,r,s)}const p=o.replace(/\n+/g,`$&\n${f}`);if(c){const{tags:e}=t.doc.schema;const r=resolveScalar(p,e,e.scalarFallback).value;if(typeof r!=="string")return doubleQuotedString(o,t)}const d=l?p:foldFlowLines(p,f,u,getFoldOptions(t));if(i&&!h&&(d.indexOf("\n")!==-1||i.indexOf("\n")!==-1)){if(r)r();return addCommentBefore(d,f,i)}return d}function stringifyString(e,t,r,s){const{defaultType:i}=l;const{implicitKey:a,inFlow:o}=t;let{type:c,value:u}=e;if(typeof u!=="string"){u=String(u);e=Object.assign({},e,{value:u})}const _stringify=i=>{switch(i){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return blockString(e,t,r,s);case n.Type.QUOTE_DOUBLE:return doubleQuotedString(u,t);case n.Type.QUOTE_SINGLE:return singleQuotedString(u,t);case n.Type.PLAIN:return plainString(e,t,r,s);default:return null}};if(c!==n.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)){c=n.Type.QUOTE_DOUBLE}else if((a||o)&&(c===n.Type.BLOCK_FOLDED||c===n.Type.BLOCK_LITERAL)){c=n.Type.QUOTE_DOUBLE}let f=_stringify(c);if(f===null){f=_stringify(i);if(f===null)throw new Error(`Unsupported default string type ${i}`)}return f}function stringifyNumber({format:e,minFractionDigits:t,tag:r,value:n}){if(typeof n==="bigint")return String(n);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let s=JSON.stringify(n);if(!e&&t&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let e=s.indexOf(".");if(e<0){e=s.length;s+="."}let r=t-(s.length-e-1);while(r-- >0)s+="0"}return s}function checkFlowCollectionEnd(e,t){let r,s;switch(t.type){case n.Type.FLOW_MAP:r="}";s="flow map";break;case n.Type.FLOW_SEQ:r="]";s="flow sequence";break;default:e.push(new n.YAMLSemanticError(t,"Not a flow collection!?"));return}let i;for(let e=t.items.length-1;e>=0;--e){const r=t.items[e];if(!r||r.type!==n.Type.COMMENT){i=r;break}}if(i&&i.char!==r){const a=`Expected ${s} to end with ${r}`;let o;if(typeof i.offset==="number"){o=new n.YAMLSemanticError(t,a);o.offset=i.offset+1}else{o=new n.YAMLSemanticError(i,a);if(i.range&&i.range.end)o.offset=i.range.end-i.range.start}e.push(o)}}function checkFlowCommentSpace(e,t){const r=t.context.src[t.range.start-1];if(r!=="\n"&&r!=="\t"&&r!==" "){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}}function getLongKeyError(e,t){const r=String(t);const s=r.substr(0,8)+"..."+r.substr(-8);return new n.YAMLSemanticError(e,`The "${s}" key is too long`)}function resolveComments(e,t){for(const{afterKey:r,before:n,comment:s}of t){let t=e.items[n];if(!t){if(s!==undefined){if(e.comment)e.comment+="\n"+s;else e.comment=s}}else{if(r&&t.value)t=t.value;if(s===undefined){if(r||!t.commentBefore)t.spaceBefore=true}else{if(t.commentBefore)t.commentBefore+="\n"+s;else t.commentBefore=s}}}}function resolveString(e,t){const r=t.strValue;if(!r)return"";if(typeof r==="string")return r;r.errors.forEach((r=>{if(!r.source)r.source=t;e.errors.push(r)}));return r.str}function resolveTagHandle(e,t){const{handle:r,suffix:s}=t.tag;let i=e.tagPrefixes.find((e=>e.handle===r));if(!i){const s=e.getDefaults().tagPrefixes;if(s)i=s.find((e=>e.handle===r));if(!i)throw new n.YAMLSemanticError(t,`The ${r} tag handle is non-default and was not declared.`)}if(!s)throw new n.YAMLSemanticError(t,`The ${r} tag has no suffix.`);if(r==="!"&&(e.version||e.options.version)==="1.0"){if(s[0]==="^"){e.warnings.push(new n.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported"));return s}if(/[:/]/.test(s)){const e=s.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${s}`}}return i.prefix+decodeURIComponent(s)}function resolveTagName(e,t){const{tag:r,type:s}=t;let i=false;if(r){const{handle:s,suffix:a,verbatim:o}=r;if(o){if(o!=="!"&&o!=="!!")return o;const r=`Verbatim tags aren't resolved, so ${o} is invalid.`;e.errors.push(new n.YAMLSemanticError(t,r))}else if(s==="!"&&!a){i=true}else{try{return resolveTagHandle(e,t)}catch(t){e.errors.push(t)}}}switch(s){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:case n.Type.QUOTE_DOUBLE:case n.Type.QUOTE_SINGLE:return n.defaultTags.STR;case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;case n.Type.PLAIN:return i?n.defaultTags.STR:null;default:return null}}function resolveByTagName(e,t,r){const{tags:n}=e.schema;const s=[];for(const i of n){if(i.tag===r){if(i.test)s.push(i);else{const r=i.resolve(e,t);return r instanceof Collection?r:new Scalar(r)}}}const i=resolveString(e,t);if(typeof i==="string"&&s.length>0)return resolveScalar(i,s,n.scalarFallback);return null}function getFallbackTagName({type:e}){switch(e){case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;default:return n.defaultTags.STR}}function resolveTag(e,t,r){try{const n=resolveByTagName(e,t,r);if(n){if(r&&t.tag)n.tag=r;return n}}catch(r){if(!r.source)r.source=t;e.errors.push(r);return null}try{const s=getFallbackTagName(t);if(!s)throw new Error(`The tag ${r} is unavailable`);const i=`The tag ${r} is unavailable, falling back to ${s}`;e.warnings.push(new n.YAMLWarning(t,i));const a=resolveByTagName(e,t,s);a.tag=r;return a}catch(r){const s=new n.YAMLReferenceError(t,r.message);s.stack=r.stack;e.errors.push(s);return null}}const isCollectionItem=e=>{if(!e)return false;const{type:t}=e;return t===n.Type.MAP_KEY||t===n.Type.MAP_VALUE||t===n.Type.SEQ_ITEM};function resolveNodeProps(e,t){const r={before:[],after:[]};let s=false;let i=false;const a=isCollectionItem(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:o,end:c}of a){switch(t.context.src[o]){case n.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(o)){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}const{header:s,valueRange:i}=t;const a=i&&(o>i.start||s&&o>s.start)?r.after:r.before;a.push(t.context.src.slice(o+1,c));break}case n.Char.ANCHOR:if(s){const r="A node can have at most one anchor";e.push(new n.YAMLSemanticError(t,r))}s=true;break;case n.Char.TAG:if(i){const r="A node can have at most one tag";e.push(new n.YAMLSemanticError(t,r))}i=true;break}}return{comments:r,hasAnchor:s,hasTag:i}}function resolveNodeValue(e,t){const{anchors:r,errors:s,schema:i}=e;if(t.type===n.Type.ALIAS){const e=t.rawValue;const i=r.getNode(e);if(!i){const r=`Aliased anchor not found: ${e}`;s.push(new n.YAMLReferenceError(t,r));return null}const a=new Alias(i);r._cstAliases.push(a);return a}const a=resolveTagName(e,t);if(a)return resolveTag(e,t,a);if(t.type!==n.Type.PLAIN){const e=`Failed to resolve ${t.type} node here`;s.push(new n.YAMLSyntaxError(t,e));return null}try{const r=resolveString(e,t);return resolveScalar(r,i.tags,i.tags.scalarFallback)}catch(e){if(!e.source)e.source=t;s.push(e);return null}}function resolveNode(e,t){if(!t)return null;if(t.error)e.errors.push(t.error);const{comments:r,hasAnchor:s,hasTag:i}=resolveNodeProps(e.errors,t);if(s){const{anchors:r}=e;const n=t.anchor;const s=r.getNode(n);if(s)r.map[r.newName(n)]=s;r.map[n]=t}if(t.type===n.Type.ALIAS&&(s||i)){const r="An alias node must not specify any properties";e.errors.push(new n.YAMLSemanticError(t,r))}const a=resolveNodeValue(e,t);if(a){a.range=[t.range.start,t.range.end];if(e.options.keepCstNodes)a.cstNode=t;if(e.options.keepNodeTypes)a.type=t.type;const n=r.before.join("\n");if(n){a.commentBefore=a.commentBefore?`${a.commentBefore}\n${n}`:n}const s=r.after.join("\n");if(s)a.comment=a.comment?`${a.comment}\n${s}`:s}return t.resolved=a}function resolveMap(e,t){if(t.type!==n.Type.MAP&&t.type!==n.Type.FLOW_MAP){const r=`A ${t.type} node cannot be resolved as a mapping`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:i}=t.type===n.Type.FLOW_MAP?resolveFlowMapItems(e,t):resolveBlockMapItems(e,t);const a=new YAMLMap;a.items=i;resolveComments(a,r);let o=false;for(let r=0;r<i.length;++r){const{key:a}=i[r];if(a instanceof Collection)o=true;if(e.schema.merge&&a&&a.value===s){i[r]=new Merge(i[r]);const s=i[r].value.items;let a=null;s.some((e=>{if(e instanceof Alias){const{type:t}=e.source;if(t===n.Type.MAP||t===n.Type.FLOW_MAP)return false;return a="Merge nodes aliases can only point to maps"}return a="Merge nodes can only have Alias nodes as values"}));if(a)e.errors.push(new n.YAMLSemanticError(t,a))}else{for(let s=r+1;s<i.length;++s){const{key:r}=i[s];if(a===r||a&&r&&Object.prototype.hasOwnProperty.call(a,"value")&&a.value===r.value){const r=`Map keys must be unique; "${a}" is repeated`;e.errors.push(new n.YAMLSemanticError(t,r));break}}}}if(o&&!e.options.mapAsMap){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=a;return a}const valueHasPairComment=({context:{lineStart:e,node:t,src:r},props:s})=>{if(s.length===0)return false;const{start:i}=s[0];if(t&&i>t.valueRange.start)return false;if(r[i]!==n.Char.COMMENT)return false;for(let t=e;t<i;++t)if(r[t]==="\n")return false;return true};function resolvePairComment(e,t){if(!valueHasPairComment(e))return;const r=e.getPropValue(0,n.Char.COMMENT,true);let s=false;const i=t.value.commentBefore;if(i&&i.startsWith(r)){t.value.commentBefore=i.substr(r.length+1);s=true}else{const n=t.value.comment;if(!e.node&&n&&n.startsWith(r)){t.value.comment=n.substr(r.length+1);s=true}}if(s)t.comment=r}function resolveBlockMapItems(e,t){const r=[];const s=[];let i=undefined;let a=null;for(let o=0;o<t.items.length;++o){const c=t.items[o];switch(c.type){case n.Type.BLANK_LINE:r.push({afterKey:!!i,before:s.length});break;case n.Type.COMMENT:r.push({afterKey:!!i,before:s.length,comment:c.comment});break;case n.Type.MAP_KEY:if(i!==undefined)s.push(new Pair(i));if(c.error)e.errors.push(c.error);i=resolveNode(e,c.node);a=null;break;case n.Type.MAP_VALUE:{if(i===undefined)i=null;if(c.error)e.errors.push(c.error);if(!c.context.atLineStart&&c.node&&c.node.type===n.Type.MAP&&!c.node.context.atLineStart){const t="Nested mappings are not allowed in compact mappings";e.errors.push(new n.YAMLSemanticError(c.node,t))}let r=c.node;if(!r&&c.props.length>0){r=new n.PlainValue(n.Type.PLAIN,[]);r.context={parent:c,src:c.context.src};const e=c.range.start+1;r.range={start:e,end:e};r.valueRange={start:e,end:e};if(typeof c.range.origStart==="number"){const e=c.range.origStart+1;r.range.origStart=r.range.origEnd=e;r.valueRange.origStart=r.valueRange.origEnd=e}}const o=new Pair(i,resolveNode(e,r));resolvePairComment(c,o);s.push(o);if(i&&typeof a==="number"){if(c.range.start>a+1024)e.errors.push(getLongKeyError(t,i))}i=undefined;a=null}break;default:if(i!==undefined)s.push(new Pair(i));i=resolveNode(e,c);a=c.range.start;if(c.error)e.errors.push(c.error);e:for(let r=o+1;;++r){const s=t.items[r];switch(s&&s.type){case n.Type.BLANK_LINE:case n.Type.COMMENT:continue e;case n.Type.MAP_VALUE:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new n.YAMLSemanticError(c,t));break e}}}if(c.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new n.YAMLSemanticError(c,t))}}}if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveFlowMapItems(e,t){const r=[];const s=[];let i=undefined;let a=false;let o="{";for(let c=0;c<t.items.length;++c){const l=t.items[c];if(typeof l.char==="string"){const{char:r,offset:u}=l;if(r==="?"&&i===undefined&&!a){a=true;o=":";continue}if(r===":"){if(i===undefined)i=null;if(o===":"){o=",";continue}}else{if(a){if(i===undefined&&r!==",")i=null;a=false}if(i!==undefined){s.push(new Pair(i));i=undefined;if(r===","){o=":";continue}}}if(r==="}"){if(c===t.items.length-1)continue}else if(r===o){o=":";continue}const f=`Flow map contains an unexpected ${r}`;const h=new n.YAMLSyntaxError(t,f);h.offset=u;e.errors.push(h)}else if(l.type===n.Type.BLANK_LINE){r.push({afterKey:!!i,before:s.length})}else if(l.type===n.Type.COMMENT){checkFlowCommentSpace(e.errors,l);r.push({afterKey:!!i,before:s.length,comment:l.comment})}else if(i===undefined){if(o===",")e.errors.push(new n.YAMLSemanticError(l,"Separator , missing in flow map"));i=resolveNode(e,l)}else{if(o!==",")e.errors.push(new n.YAMLSemanticError(l,"Indicator : missing in flow map entry"));s.push(new Pair(i,resolveNode(e,l)));i=undefined;a=false}}checkFlowCollectionEnd(e.errors,t);if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveSeq(e,t){if(t.type!==n.Type.SEQ&&t.type!==n.Type.FLOW_SEQ){const r=`A ${t.type} node cannot be resolved as a sequence`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:s}=t.type===n.Type.FLOW_SEQ?resolveFlowSeqItems(e,t):resolveBlockSeqItems(e,t);const i=new YAMLSeq;i.items=s;resolveComments(i,r);if(!e.options.mapAsMap&&s.some((e=>e instanceof Pair&&e.key instanceof Collection))){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=i;return i}function resolveBlockSeqItems(e,t){const r=[];const s=[];for(let i=0;i<t.items.length;++i){const a=t.items[i];switch(a.type){case n.Type.BLANK_LINE:r.push({before:s.length});break;case n.Type.COMMENT:r.push({comment:a.comment,before:s.length});break;case n.Type.SEQ_ITEM:if(a.error)e.errors.push(a.error);s.push(resolveNode(e,a.node));if(a.hasProps){const t="Sequence items cannot have tags or anchors before the - indicator";e.errors.push(new n.YAMLSemanticError(a,t))}break;default:if(a.error)e.errors.push(a.error);e.errors.push(new n.YAMLSyntaxError(a,`Unexpected ${a.type} node in sequence`))}}return{comments:r,items:s}}function resolveFlowSeqItems(e,t){const r=[];const s=[];let i=false;let a=undefined;let o=null;let c="[";let l=null;for(let u=0;u<t.items.length;++u){const f=t.items[u];if(typeof f.char==="string"){const{char:r,offset:h}=f;if(r!==":"&&(i||a!==undefined)){if(i&&a===undefined)a=c?s.pop():null;s.push(new Pair(a));i=false;a=undefined;o=null}if(r===c){c=null}else if(!c&&r==="?"){i=true}else if(c!=="["&&r===":"&&a===undefined){if(c===","){a=s.pop();if(a instanceof Pair){const r="Chaining flow sequence pairs is invalid";const s=new n.YAMLSemanticError(t,r);s.offset=h;e.errors.push(s)}if(!i&&typeof o==="number"){const r=f.range?f.range.start:f.offset;if(r>o+1024)e.errors.push(getLongKeyError(t,a));const{src:s}=l.context;for(let t=o;t<r;++t)if(s[t]==="\n"){const t="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new n.YAMLSemanticError(l,t));break}}}else{a=null}o=null;i=false;c=null}else if(c==="["||r!=="]"||u<t.items.length-1){const s=`Flow sequence contains an unexpected ${r}`;const i=new n.YAMLSyntaxError(t,s);i.offset=h;e.errors.push(i)}}else if(f.type===n.Type.BLANK_LINE){r.push({before:s.length})}else if(f.type===n.Type.COMMENT){checkFlowCommentSpace(e.errors,f);r.push({comment:f.comment,before:s.length})}else{if(c){const t=`Expected a ${c} in flow sequence`;e.errors.push(new n.YAMLSemanticError(f,t))}const t=resolveNode(e,f);if(a===undefined){s.push(t);l=f}else{s.push(new Pair(a,t));a=undefined}o=f.range.start;c=","}}checkFlowCollectionEnd(e.errors,t);if(a!==undefined)s.push(new Pair(a));return{comments:r,items:s}}t.Alias=Alias;t.Collection=Collection;t.Merge=Merge;t.Node=Node;t.Pair=Pair;t.Scalar=Scalar;t.YAMLMap=YAMLMap;t.YAMLSeq=YAMLSeq;t.addComment=addComment;t.binaryOptions=i;t.boolOptions=a;t.findPair=findPair;t.intOptions=o;t.isEmptyPath=isEmptyPath;t.nullOptions=c;t.resolveMap=resolveMap;t.resolveNode=resolveNode;t.resolveSeq=resolveSeq;t.resolveString=resolveString;t.strOptions=l;t.stringifyNumber=stringifyNumber;t.stringifyString=stringifyString;t.toJSON=toJSON},8201:function(e,t,r){"use strict";var n=r(2592);var s=r(4288);const i={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const r=s.resolveString(e,t);if(typeof Buffer==="function"){return Buffer.from(r,"base64")}else if(typeof atob==="function"){const e=atob(r.replace(/[\n\r]/g,""));const t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}else{const r="This environment does not support reading binary tags; either Buffer or atob is required";e.errors.push(new n.YAMLReferenceError(t,r));return null}},options:s.binaryOptions,stringify:({comment:e,type:t,value:r},i,a,o)=>{let c;if(typeof Buffer==="function"){c=r instanceof Buffer?r.toString("base64"):Buffer.from(r.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t<r.length;++t)e+=String.fromCharCode(r[t]);c=btoa(e)}else{throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required")}if(!t)t=s.binaryOptions.defaultType;if(t===n.Type.QUOTE_DOUBLE){r=c}else{const{lineWidth:e}=s.binaryOptions;const i=Math.ceil(c.length/e);const a=new Array(i);for(let t=0,r=0;t<i;++t,r+=e){a[t]=c.substr(r,e)}r=a.join(t===n.Type.BLOCK_LITERAL?"\n":" ")}return s.stringifyString({comment:e,type:t,value:r},i,a,o)}};function parsePairs(e,t){const r=s.resolveSeq(e,t);for(let e=0;e<r.items.length;++e){let i=r.items[e];if(i instanceof s.Pair)continue;else if(i instanceof s.YAMLMap){if(i.items.length>1){const e="Each pair must have its own sequence indicator";throw new n.YAMLSemanticError(t,e)}const e=i.items[0]||new s.Pair;if(i.commentBefore)e.commentBefore=e.commentBefore?`${i.commentBefore}\n${e.commentBefore}`:i.commentBefore;if(i.comment)e.comment=e.comment?`${i.comment}\n${e.comment}`:i.comment;i=e}r.items[e]=i instanceof s.Pair?i:new s.Pair(i)}return r}function createPairs(e,t,r){const n=new s.YAMLSeq(e);n.tag="tag:yaml.org,2002:pairs";for(const s of t){let t,i;if(Array.isArray(s)){if(s.length===2){t=s[0];i=s[1]}else throw new TypeError(`Expected [key, value] tuple: ${s}`)}else if(s&&s instanceof Object){const e=Object.keys(s);if(e.length===1){t=e[0];i=s[t]}else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else{t=s}const a=e.createPair(t,i,r);n.items.push(a)}return n}const a={default:false,tag:"tag:yaml.org,2002:pairs",resolve:parsePairs,createNode:createPairs};class YAMLOMap extends s.YAMLSeq{constructor(){super();n._defineProperty(this,"add",s.YAMLMap.prototype.add.bind(this));n._defineProperty(this,"delete",s.YAMLMap.prototype.delete.bind(this));n._defineProperty(this,"get",s.YAMLMap.prototype.get.bind(this));n._defineProperty(this,"has",s.YAMLMap.prototype.has.bind(this));n._defineProperty(this,"set",s.YAMLMap.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const r=new Map;if(t&&t.onCreate)t.onCreate(r);for(const e of this.items){let n,i;if(e instanceof s.Pair){n=s.toJSON(e.key,"",t);i=s.toJSON(e.value,n,t)}else{n=s.toJSON(e,"",t)}if(r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,i)}return r}}n._defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const r=parsePairs(e,t);const i=[];for(const{key:e}of r.items){if(e instanceof s.Scalar){if(i.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new n.YAMLSemanticError(t,e)}else{i.push(e.value)}}}return Object.assign(new YAMLOMap,r)}function createOMap(e,t,r){const n=createPairs(e,t,r);const s=new YAMLOMap;s.items=n.items;return s}const o={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};class YAMLSet extends s.YAMLMap{constructor(){super();this.tag=YAMLSet.tag}add(e){const t=e instanceof s.Pair?e:new s.Pair(e);const r=s.findPair(this.items,t.key);if(!r)this.items.push(t)}get(e,t){const r=s.findPair(this.items,e);return!t&&r instanceof s.Pair?r.key instanceof s.Scalar?r.key.value:r.key:r}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const r=s.findPair(this.items,e);if(r&&!t){this.items.splice(this.items.indexOf(r),1)}else if(!r&&t){this.items.push(new s.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,r);else throw new Error("Set items must all have null values")}}n._defineProperty(YAMLSet,"tag","tag:yaml.org,2002:set");function parseSet(e,t){const r=s.resolveMap(e,t);if(!r.hasAllNullValues())throw new n.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new YAMLSet,r)}function createSet(e,t,r){const n=new YAMLSet;for(const s of t)n.items.push(e.createPair(s,null,r));return n}const c={identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",resolve:parseSet,createNode:createSet};const parseSexagesimal=(e,t)=>{const r=t.split(":").reduce(((e,t)=>e*60+Number(t)),0);return e==="-"?-r:r};const stringifySexagesimal=({value:e})=>{if(isNaN(e)||!isFinite(e))return s.stringifyNumber(e);let t="";if(e<0){t="-";e=Math.abs(e)}const r=[e%60];if(e<60){r.unshift(0)}else{e=Math.round((e-r[0])/60);r.unshift(e%60);if(e>=60){e=Math.round((e-r[0])/60);r.unshift(e)}}return t+r.map((e=>e<10?"0"+String(e):String(e))).join(":").replace(/000000\d*$/,"")};const l={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,r)=>parseSexagesimal(t,r.replace(/_/g,"")),stringify:stringifySexagesimal};const u={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,r)=>parseSexagesimal(t,r.replace(/_/g,"")),stringify:stringifySexagesimal};const f={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:"+"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?"+")$"),resolve:(e,t,r,n,s,i,a,o,c)=>{if(o)o=(o+"00").substr(1,3);let l=Date.UTC(t,r-1,n,s||0,i||0,a||0,o||0);if(c&&c!=="Z"){let e=parseSexagesimal(c[0],c.slice(1));if(Math.abs(e)<30)e*=60;l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function shouldWarn(e){const t=typeof process!=="undefined"&&process.env||{};if(e){if(typeof YAML_SILENCE_DEPRECATION_WARNINGS!=="undefined")return!YAML_SILENCE_DEPRECATION_WARNINGS;return!t.YAML_SILENCE_DEPRECATION_WARNINGS}if(typeof YAML_SILENCE_WARNINGS!=="undefined")return!YAML_SILENCE_WARNINGS;return!t.YAML_SILENCE_WARNINGS}function warn(e,t){if(shouldWarn(false)){const r=typeof process!=="undefined"&&process.emitWarning;if(r)r(e,t);else{console.warn(t?`${t}: ${e}`:e)}}}function warnFileDeprecation(e){if(shouldWarn(true)){const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}const h={};function warnOptionDeprecation(e,t){if(!h[e]&&shouldWarn(true)){h[e]=true;let r=`The option '${e}' will be removed in a future release`;r+=t?`, use '${t}' instead.`:".";warn(r,"DeprecationWarning")}}t.binary=i;t.floatTime=u;t.intTime=l;t.omap=o;t.pairs=a;t.set=c;t.timestamp=f;t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation},9307:function(e,t,r){e.exports=r(3897).YAML},7664:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},7136:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},600:function(e){"use strict";e.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')},7358:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"async":{"type":"boolean","description":"When true, plugin will not block compilation to finish issues checking"},"typescript":{"$ref":"#/definitions/TypeScriptOptions"},"formatter":{"$ref":"#/definitions/FormatterOptions"},"issue":{"$ref":"#/definitions/IssueOptions"},"logger":{"$ref":"#/definitions/Logger"},"devServer":{"type":"boolean","description":"Enable reporting to Webpack Dev Server."}},"additionalProperties":false,"definitions":{"Formatter":{"instanceof":"Function"},"ComplexFormatterPreferences":{"type":"object","properties":{"type":{"$ref":"#/definitions/FormatterType"},"options":{"type":"object","additionalProperties":true}},"required":["type"]},"FormatterType":{"type":"string","enum":["basic","codeframe"]},"IssueMatch":{"type":"object","properties":{"severity":{"type":"string","enum":["error","warning"]},"code":{"type":"string"},"file":{"type":"string"}}},"IssuePredicate":{"instanceof":"Function"},"IssuePredicateOption":{"oneOf":[{"$ref":"#/definitions/IssuePredicate"},{"$ref":"#/definitions/IssueMatch"},{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/IssuePredicate"},{"$ref":"#/definitions/IssueMatch"}]}}]},"Logger":{"oneOf":[{"type":"object","properties":{"error":{"instanceof":"Function"},"log":{"instanceof":"Function"}}},{"type":"string","enum":["webpack-infrastructure"]}]},"TypeScriptOptions":{"type":"object","properties":{"memoryLimit":{"type":"number","description":"Memory limit for TypeScript reporter process."},"configFile":{"type":"string","description":"Path to tsconfig.json. By default plugin uses context or process.cwd() to localize tsconfig.json file."},"context":{"type":"string","description":"The base path for finding files specified in the tsconfig.json. Same as context option from the ts-loader."},"build":{"type":"boolean","description":"The equivalent of the `--build` flag from the `tsc`."},"mode":{"type":"string","enum":["readonly","write-tsbuildinfo","write-dts","write-references"],"description":"`readonly` keeps all emitted files in memory, `write-tsbuildinfo` which writes only .tsbuildinfo files, `write-dts` writes .tsbuildinfo and type definition files, and `write-references` which writes both .tsbuildinfo and referenced projects output"},"compilerOptions":{"type":"object","description":"Custom compilerOptions to be passed to the TypeScript compiler.","additionalProperties":true},"diagnosticOptions":{"type":"object","description":"Types of diagnostics to be reported.","properties":{"syntactic":{"type":"boolean"},"semantic":{"type":"boolean"},"declaration":{"type":"boolean"},"global":{"type":"boolean"}}},"extensions":{"type":"object","properties":{"vue":{"$ref":"#/definitions/TypeScriptVueExtensionOptions"}}},"profile":{"type":"boolean","description":"Measures and prints timings related to the TypeScript performance."},"typescriptPath":{"type":"string","description":"If supplied this is a custom path where TypeScript can be found."}}},"TypeScriptVueExtensionOptions":{"oneOf":[{"type":"boolean","description":"Enable TypeScript Vue extension."},{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable TypeScript Vue extension."},"compiler":{"type":"string","description":"Custom vue-template-compiler package"}}}]},"FormatterOptions":{"oneOf":[{"$ref":"#/definitions/FormatterType"},{"$ref":"#/definitions/ComplexFormatterPreferences"},{"$ref":"#/definitions/Formatter"}]},"IssueOptions":{"type":"object","properties":{"include":{"$ref":"#/definitions/IssuePredicateOption"},"exclude":{"$ref":"#/definitions/IssuePredicateOption"}}}}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}!function(){__nccwpck_require__.nmd=function(e){e.paths=[];if(!e.children)e.children=[];return e}}();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(8487);module.exports=r})();