remotemon
Version:
remote monitoring, since there is no ansible for raspberry pi.
8 lines • 603 kB
JavaScript
(()=>{var __webpack_modules__={72433:(e,t,r)=>{var n=r(72340);e.exports=flatten;flatten.flatten=flatten;flatten.unflatten=unflatten;function flatten(e,t){t=t||{};var r=t.delimiter||".";var i=t.maxDepth;var s={};function step(e,a,u){u=u||1;Object.keys(e).forEach((function(l){var c=e[l];var f=t.safe&&Array.isArray(c);var p=Object.prototype.toString.call(c);var h=n(c);var d=p==="[object Object]"||p==="[object Array]";var m=a?a+r+l:l;if(!f&&!h&&d&&Object.keys(c).length&&(!t.maxDepth||u<i)){return step(c,m,u+1)}s[m]=c}))}step(e);return s}function unflatten(e,t){t=t||{};var r=t.delimiter||".";var i=t.overwrite||false;var s={};var a=n(e);if(a||Object.prototype.toString.call(e)!=="[object Object]"){return e}function getkey(e){var r=Number(e);return isNaN(r)||e.indexOf(".")!==-1||t.object?e:r}var u=Object.keys(e).sort((function(e,t){return e.length-t.length}));u.forEach((function(n){var a=n.split(r);var u=getkey(a.shift());var l=getkey(a[0]);var c=s;while(l!==undefined){if(u==="__proto__"){return}var f=Object.prototype.toString.call(c[u]);var p=f==="[object Object]"||f==="[object Array]";if(!i&&!p&&typeof c[u]!=="undefined"){return}if(i&&!p||!i&&c[u]==null){c[u]=typeof l==="number"&&!t.object?[]:{}}c=c[u];if(a.length>0){u=getkey(a.shift());l=getkey(a[0])}}c[u]=unflatten(e[n],t)}));return s}},72340:e=>{
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
e.exports=function isBuffer(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}},53762:(e,t,r)=>{"use strict";var n=r(46147);e.exports=n},46147:(e,t,r)=>{"use strict";var n=r(52227);var i=r(98726);function deprecated(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=r(72649);e.exports.Schema=r(13904);e.exports.FAILSAFE_SCHEMA=r(63513);e.exports.JSON_SCHEMA=r(42629);e.exports.CORE_SCHEMA=r(74081);e.exports.DEFAULT_SAFE_SCHEMA=r(59531);e.exports.DEFAULT_FULL_SCHEMA=r(53650);e.exports.load=n.load;e.exports.loadAll=n.loadAll;e.exports.safeLoad=n.safeLoad;e.exports.safeLoadAll=n.safeLoadAll;e.exports.dump=i.dump;e.exports.safeDump=i.safeDump;e.exports.YAMLException=r(66717);e.exports.MINIMAL_SCHEMA=r(63513);e.exports.SAFE_SCHEMA=r(59531);e.exports.DEFAULT_SCHEMA=r(53650);e.exports.scan=deprecated("scan");e.exports.parse=deprecated("parse");e.exports.compose=deprecated("compose");e.exports.addConstructor=deprecated("addConstructor")},52588:e=>{"use strict";function isNothing(e){return typeof e==="undefined"||e===null}function isObject(e){return typeof e==="object"&&e!==null}function toArray(e){if(Array.isArray(e))return e;else if(isNothing(e))return[];return[e]}function extend(e,t){var r,n,i,s;if(t){s=Object.keys(t);for(r=0,n=s.length;r<n;r+=1){i=s[r];e[i]=t[i]}}return e}function repeat(e,t){var r="",n;for(n=0;n<t;n+=1){r+=e}return r}function isNegativeZero(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}e.exports.isNothing=isNothing;e.exports.isObject=isObject;e.exports.toArray=toArray;e.exports.repeat=repeat;e.exports.isNegativeZero=isNegativeZero;e.exports.extend=extend},98726:(e,t,r)=>{"use strict";var n=r(52588);var i=r(66717);var s=r(53650);var a=r(59531);var u=Object.prototype.toString;var l=Object.prototype.hasOwnProperty;var c=9;var f=10;var p=13;var h=32;var d=33;var m=34;var v=35;var y=37;var g=38;var _=39;var w=42;var b=44;var k=45;var S=58;var x=61;var E=62;var A=63;var O=64;var R=91;var P=93;var N=96;var M=123;var C=124;var D=125;var L={};L[0]="\\0";L[7]="\\a";L[8]="\\b";L[9]="\\t";L[10]="\\n";L[11]="\\v";L[12]="\\f";L[13]="\\r";L[27]="\\e";L[34]='\\"';L[92]="\\\\";L[133]="\\N";L[160]="\\_";L[8232]="\\L";L[8233]="\\P";var I=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function compileStyleMap(e,t){var r,n,i,s,a,u,c;if(t===null)return{};r={};n=Object.keys(t);for(i=0,s=n.length;i<s;i+=1){a=n[i];u=String(t[a]);if(a.slice(0,2)==="!!"){a="tag:yaml.org,2002:"+a.slice(2)}c=e.compiledTypeMap["fallback"][a];if(c&&l.call(c.styleAliases,u)){u=c.styleAliases[u]}r[a]=u}return r}function encodeHex(e){var t,r,s;t=e.toString(16).toUpperCase();if(e<=255){r="x";s=2}else if(e<=65535){r="u";s=4}else if(e<=4294967295){r="U";s=8}else{throw new i("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+r+n.repeat("0",s-t.length)+t}function State(e){this.schema=e["schema"]||s;this.indent=Math.max(1,e["indent"]||2);this.noArrayIndent=e["noArrayIndent"]||false;this.skipInvalid=e["skipInvalid"]||false;this.flowLevel=n.isNothing(e["flowLevel"])?-1:e["flowLevel"];this.styleMap=compileStyleMap(this.schema,e["styles"]||null);this.sortKeys=e["sortKeys"]||false;this.lineWidth=e["lineWidth"]||80;this.noRefs=e["noRefs"]||false;this.noCompatMode=e["noCompatMode"]||false;this.condenseFlow=e["condenseFlow"]||false;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(e,t){var r=n.repeat(" ",t),i=0,s=-1,a="",u,l=e.length;while(i<l){s=e.indexOf("\n",i);if(s===-1){u=e.slice(i);i=l}else{u=e.slice(i,s+1);i=s+1}if(u.length&&u!=="\n")a+=r;a+=u}return a}function generateNextLine(e,t){return"\n"+n.repeat(" ",e.indent*t)}function testImplicitResolving(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r<n;r+=1){i=e.implicitTypes[r];if(i.resolve(t)){return true}}return false}function isWhitespace(e){return e===h||e===c}function isPrintable(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==65279||65536<=e&&e<=1114111}function isNsChar(e){return isPrintable(e)&&!isWhitespace(e)&&e!==65279&&e!==p&&e!==f}function isPlainSafe(e,t){return isPrintable(e)&&e!==65279&&e!==b&&e!==R&&e!==P&&e!==M&&e!==D&&e!==S&&(e!==v||t&&isNsChar(t))}function isPlainSafeFirst(e){return isPrintable(e)&&e!==65279&&!isWhitespace(e)&&e!==k&&e!==A&&e!==S&&e!==b&&e!==R&&e!==P&&e!==M&&e!==D&&e!==v&&e!==g&&e!==w&&e!==d&&e!==C&&e!==x&&e!==E&&e!==_&&e!==m&&e!==y&&e!==O&&e!==N}function needIndentIndicator(e){var t=/^\n* /;return t.test(e)}var j=1,W=2,Y=3,q=4,$=5;function chooseScalarStyle(e,t,r,n,i){var s;var a,u;var l=false;var c=false;var p=n!==-1;var h=-1;var d=isPlainSafeFirst(e.charCodeAt(0))&&!isWhitespace(e.charCodeAt(e.length-1));if(t){for(s=0;s<e.length;s++){a=e.charCodeAt(s);if(!isPrintable(a)){return $}u=s>0?e.charCodeAt(s-1):null;d=d&&isPlainSafe(a,u)}}else{for(s=0;s<e.length;s++){a=e.charCodeAt(s);if(a===f){l=true;if(p){c=c||s-h-1>n&&e[h+1]!==" ";h=s}}else if(!isPrintable(a)){return $}u=s>0?e.charCodeAt(s-1):null;d=d&&isPlainSafe(a,u)}c=c||p&&(s-h-1>n&&e[h+1]!==" ")}if(!l&&!c){return d&&!i(e)?j:W}if(r>9&&needIndentIndicator(e)){return $}return c?q:Y}function writeScalar(e,t,r,n){e.dump=function(){if(t.length===0){return"''"}if(!e.noCompatMode&&I.indexOf(t)!==-1){return"'"+t+"'"}var s=e.indent*Math.max(1,r);var a=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s);var u=n||e.flowLevel>-1&&r>=e.flowLevel;function testAmbiguity(t){return testImplicitResolving(e,t)}switch(chooseScalarStyle(t,u,e.indent,a,testAmbiguity)){case j:return t;case W:return"'"+t.replace(/'/g,"''")+"'";case Y:return"|"+blockHeader(t,e.indent)+dropEndingNewline(indentString(t,s));case q:return">"+blockHeader(t,e.indent)+dropEndingNewline(indentString(foldString(t,a),s));case $:return'"'+escapeString(t,a)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function blockHeader(e,t){var r=needIndentIndicator(e)?String(t):"";var n=e[e.length-1]==="\n";var i=n&&(e[e.length-2]==="\n"||e==="\n");var s=i?"+":n?"":"-";return r+s+"\n"}function dropEndingNewline(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function foldString(e,t){var r=/(\n+)([^\n]*)/g;var n=function(){var n=e.indexOf("\n");n=n!==-1?n:e.length;r.lastIndex=n;return foldLine(e.slice(0,n),t)}();var i=e[0]==="\n"||e[0]===" ";var s;var a;while(a=r.exec(e)){var u=a[1],l=a[2];s=l[0]===" ";n+=u+(!i&&!s&&l!==""?"\n":"")+foldLine(l,t);i=s}return n}function foldLine(e,t){if(e===""||e[0]===" ")return e;var r=/ [^ ]/g;var n;var i=0,s,a=0,u=0;var l="";while(n=r.exec(e)){u=n.index;if(u-i>t){s=a>i?a:u;l+="\n"+e.slice(i,s);i=s+1}a=u}l+="\n";if(e.length-i>t&&a>i){l+=e.slice(i,a)+"\n"+e.slice(a+1)}else{l+=e.slice(i)}return l.slice(1)}function escapeString(e){var t="";var r,n;var i;for(var s=0;s<e.length;s++){r=e.charCodeAt(s);if(r>=55296&&r<=56319){n=e.charCodeAt(s+1);if(n>=56320&&n<=57343){t+=encodeHex((r-55296)*1024+n-56320+65536);s++;continue}}i=L[r];t+=!i&&isPrintable(r)?e[s]:i||encodeHex(r)}return t}function writeFlowSequence(e,t,r){var n="",i=e.tag,s,a;for(s=0,a=r.length;s<a;s+=1){if(writeNode(e,t,r[s],false,false)){if(s!==0)n+=","+(!e.condenseFlow?" ":"");n+=e.dump}}e.tag=i;e.dump="["+n+"]"}function writeBlockSequence(e,t,r,n){var i="",s=e.tag,a,u;for(a=0,u=r.length;a<u;a+=1){if(writeNode(e,t+1,r[a],true,true)){if(!n||a!==0){i+=generateNextLine(e,t)}if(e.dump&&f===e.dump.charCodeAt(0)){i+="-"}else{i+="- "}i+=e.dump}}e.tag=s;e.dump=i||"[]"}function writeFlowMapping(e,t,r){var n="",i=e.tag,s=Object.keys(r),a,u,l,c,f;for(a=0,u=s.length;a<u;a+=1){f="";if(a!==0)f+=", ";if(e.condenseFlow)f+='"';l=s[a];c=r[l];if(!writeNode(e,t,l,false,false)){continue}if(e.dump.length>1024)f+="? ";f+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!writeNode(e,t,c,false,false)){continue}f+=e.dump;n+=f}e.tag=i;e.dump="{"+n+"}"}function writeBlockMapping(e,t,r,n){var s="",a=e.tag,u=Object.keys(r),l,c,p,h,d,m;if(e.sortKeys===true){u.sort()}else if(typeof e.sortKeys==="function"){u.sort(e.sortKeys)}else if(e.sortKeys){throw new i("sortKeys must be a boolean or a function")}for(l=0,c=u.length;l<c;l+=1){m="";if(!n||l!==0){m+=generateNextLine(e,t)}p=u[l];h=r[p];if(!writeNode(e,t+1,p,true,true,true)){continue}d=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024;if(d){if(e.dump&&f===e.dump.charCodeAt(0)){m+="?"}else{m+="? "}}m+=e.dump;if(d){m+=generateNextLine(e,t)}if(!writeNode(e,t+1,h,true,d)){continue}if(e.dump&&f===e.dump.charCodeAt(0)){m+=":"}else{m+=": "}m+=e.dump;s+=m}e.tag=a;e.dump=s||"{}"}function detectType(e,t,r){var n,s,a,c,f,p;s=r?e.explicitTypes:e.implicitTypes;for(a=0,c=s.length;a<c;a+=1){f=s[a];if((f.instanceOf||f.predicate)&&(!f.instanceOf||typeof t==="object"&&t instanceof f.instanceOf)&&(!f.predicate||f.predicate(t))){e.tag=r?f.tag:"?";if(f.represent){p=e.styleMap[f.tag]||f.defaultStyle;if(u.call(f.represent)==="[object Function]"){n=f.represent(t,p)}else if(l.call(f.represent,p)){n=f.represent[p](t,p)}else{throw new i("!<"+f.tag+'> tag resolver accepts not "'+p+'" style')}e.dump=n}return true}}return false}function writeNode(e,t,r,n,s,a){e.tag=null;e.dump=r;if(!detectType(e,r,false)){detectType(e,r,true)}var l=u.call(e.dump);if(n){n=e.flowLevel<0||e.flowLevel>t}var c=l==="[object Object]"||l==="[object Array]",f,p;if(c){f=e.duplicates.indexOf(r);p=f!==-1}if(e.tag!==null&&e.tag!=="?"||p||e.indent!==2&&t>0){s=false}if(p&&e.usedDuplicates[f]){e.dump="*ref_"+f}else{if(c&&p&&!e.usedDuplicates[f]){e.usedDuplicates[f]=true}if(l==="[object Object]"){if(n&&Object.keys(e.dump).length!==0){writeBlockMapping(e,t,e.dump,s);if(p){e.dump="&ref_"+f+e.dump}}else{writeFlowMapping(e,t,e.dump);if(p){e.dump="&ref_"+f+" "+e.dump}}}else if(l==="[object Array]"){var h=e.noArrayIndent&&t>0?t-1:t;if(n&&e.dump.length!==0){writeBlockSequence(e,h,e.dump,s);if(p){e.dump="&ref_"+f+e.dump}}else{writeFlowSequence(e,h,e.dump);if(p){e.dump="&ref_"+f+" "+e.dump}}}else if(l==="[object String]"){if(e.tag!=="?"){writeScalar(e,e.dump,t,a)}}else{if(e.skipInvalid)return false;throw new i("unacceptable kind of an object to dump "+l)}if(e.tag!==null&&e.tag!=="?"){e.dump="!<"+e.tag+"> "+e.dump}}return true}function getDuplicateReferences(e,t){var r=[],n=[],i,s;inspectNode(e,r,n);for(i=0,s=n.length;i<s;i+=1){t.duplicates.push(r[n[i]])}t.usedDuplicates=new Array(s)}function inspectNode(e,t,r){var n,i,s;if(e!==null&&typeof e==="object"){i=t.indexOf(e);if(i!==-1){if(r.indexOf(i)===-1){r.push(i)}}else{t.push(e);if(Array.isArray(e)){for(i=0,s=e.length;i<s;i+=1){inspectNode(e[i],t,r)}}else{n=Object.keys(e);for(i=0,s=n.length;i<s;i+=1){inspectNode(e[n[i]],t,r)}}}}}function dump(e,t){t=t||{};var r=new State(t);if(!r.noRefs)getDuplicateReferences(e,r);if(writeNode(r,0,e,true,true))return r.dump+"\n";return""}function safeDump(e,t){return dump(e,n.extend({schema:a},t))}e.exports.dump=dump;e.exports.safeDump=safeDump},66717:e=>{"use strict";function YAMLException(e,t){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=t;this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"");if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(e){var t=this.name+": ";t+=this.reason||"(unknown reason)";if(!e&&this.mark){t+=" "+this.mark.toString()}return t};e.exports=YAMLException},52227:(e,t,r)=>{"use strict";var n=r(52588);var i=r(66717);var s=r(63264);var a=r(59531);var u=r(53650);var l=Object.prototype.hasOwnProperty;var c=1;var f=2;var p=3;var h=4;var d=1;var m=2;var v=3;var y=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var g=/[\x85\u2028\u2029]/;var _=/[,\[\]\{\}]/;var w=/^(?:!|!!|![a-z\-]+!)$/i;var b=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(e){return Object.prototype.toString.call(e)}function is_EOL(e){return e===10||e===13}function is_WHITE_SPACE(e){return e===9||e===32}function is_WS_OR_EOL(e){return e===9||e===32||e===10||e===13}function is_FLOW_INDICATOR(e){return e===44||e===91||e===93||e===123||e===125}function fromHexCode(e){var t;if(48<=e&&e<=57){return e-48}t=e|32;if(97<=t&&t<=102){return t-97+10}return-1}function escapedHexLen(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function fromDecimalCode(e){if(48<=e&&e<=57){return e-48}return-1}function simpleEscapeSequence(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"
":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function charFromCodepoint(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var k=new Array(256);var S=new Array(256);for(var x=0;x<256;x++){k[x]=simpleEscapeSequence(x)?1:0;S[x]=simpleEscapeSequence(x)}function State(e,t){this.input=e;this.filename=t["filename"]||null;this.schema=t["schema"]||u;this.onWarning=t["onWarning"]||null;this.legacy=t["legacy"]||false;this.json=t["json"]||false;this.listener=t["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}function generateError(e,t){return new i(t,new s(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){if(e.onWarning){e.onWarning.call(null,generateError(e,t))}}var E={YAML:function handleYamlDirective(e,t,r){var n,i,s;if(e.version!==null){throwError(e,"duplication of %YAML directive")}if(r.length!==1){throwError(e,"YAML directive accepts exactly one argument")}n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);if(n===null){throwError(e,"ill-formed argument of the YAML directive")}i=parseInt(n[1],10);s=parseInt(n[2],10);if(i!==1){throwError(e,"unacceptable YAML version of the document")}e.version=r[0];e.checkLineBreaks=s<2;if(s!==1&&s!==2){throwWarning(e,"unsupported YAML version of the document")}},TAG:function handleTagDirective(e,t,r){var n,i;if(r.length!==2){throwError(e,"TAG directive accepts exactly two arguments")}n=r[0];i=r[1];if(!w.test(n)){throwError(e,"ill-formed tag handle (first argument) of the TAG directive")}if(l.call(e.tagMap,n)){throwError(e,'there is a previously declared suffix for "'+n+'" tag handle')}if(!b.test(i)){throwError(e,"ill-formed tag prefix (second argument) of the TAG directive")}e.tagMap[n]=i}};function captureSegment(e,t,r,n){var i,s,a,u;if(t<r){u=e.input.slice(t,r);if(n){for(i=0,s=u.length;i<s;i+=1){a=u.charCodeAt(i);if(!(a===9||32<=a&&a<=1114111)){throwError(e,"expected valid JSON character")}}}else if(y.test(u)){throwError(e,"the stream contains non-printable characters")}e.result+=u}}function mergeMappings(e,t,r,i){var s,a,u,c;if(!n.isObject(r)){throwError(e,"cannot merge mappings; the provided source object is unacceptable")}s=Object.keys(r);for(u=0,c=s.length;u<c;u+=1){a=s[u];if(!l.call(t,a)){t[a]=r[a];i[a]=true}}}function storeMappingPair(e,t,r,n,i,s,a,u){var c,f;if(Array.isArray(i)){i=Array.prototype.slice.call(i);for(c=0,f=i.length;c<f;c+=1){if(Array.isArray(i[c])){throwError(e,"nested arrays are not supported inside keys")}if(typeof i==="object"&&_class(i[c])==="[object Object]"){i[c]="[object Object]"}}}if(typeof i==="object"&&_class(i)==="[object Object]"){i="[object Object]"}i=String(i);if(t===null){t={}}if(n==="tag:yaml.org,2002:merge"){if(Array.isArray(s)){for(c=0,f=s.length;c<f;c+=1){mergeMappings(e,t,s[c],r)}}else{mergeMappings(e,t,s,r)}}else{if(!e.json&&!l.call(r,i)&&l.call(t,i)){e.line=a||e.line;e.position=u||e.position;throwError(e,"duplicated mapping key")}t[i]=s;delete r[i]}return t}function readLineBreak(e){var t;t=e.input.charCodeAt(e.position);if(t===10){e.position++}else if(t===13){e.position++;if(e.input.charCodeAt(e.position)===10){e.position++}}else{throwError(e,"a line break is expected")}e.line+=1;e.lineStart=e.position}function skipSeparationSpace(e,t,r){var n=0,i=e.input.charCodeAt(e.position);while(i!==0){while(is_WHITE_SPACE(i)){i=e.input.charCodeAt(++e.position)}if(t&&i===35){do{i=e.input.charCodeAt(++e.position)}while(i!==10&&i!==13&&i!==0)}if(is_EOL(i)){readLineBreak(e);i=e.input.charCodeAt(e.position);n++;e.lineIndent=0;while(i===32){e.lineIndent++;i=e.input.charCodeAt(++e.position)}}else{break}}if(r!==-1&&n!==0&&e.lineIndent<r){throwWarning(e,"deficient indentation")}return n}function testDocumentSeparator(e){var t=e.position,r;r=e.input.charCodeAt(t);if((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)){t+=3;r=e.input.charCodeAt(t);if(r===0||is_WS_OR_EOL(r)){return true}}return false}function writeFoldedLines(e,t){if(t===1){e.result+=" "}else if(t>1){e.result+=n.repeat("\n",t-1)}}function readPlainScalar(e,t,r){var n,i,s,a,u,l,c,f,p=e.kind,h=e.result,d;d=e.input.charCodeAt(e.position);if(is_WS_OR_EOL(d)||is_FLOW_INDICATOR(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96){return false}if(d===63||d===45){i=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(i)||r&&is_FLOW_INDICATOR(i)){return false}}e.kind="scalar";e.result="";s=a=e.position;u=false;while(d!==0){if(d===58){i=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(i)||r&&is_FLOW_INDICATOR(i)){break}}else if(d===35){n=e.input.charCodeAt(e.position-1);if(is_WS_OR_EOL(n)){break}}else if(e.position===e.lineStart&&testDocumentSeparator(e)||r&&is_FLOW_INDICATOR(d)){break}else if(is_EOL(d)){l=e.line;c=e.lineStart;f=e.lineIndent;skipSeparationSpace(e,false,-1);if(e.lineIndent>=t){u=true;d=e.input.charCodeAt(e.position);continue}else{e.position=a;e.line=l;e.lineStart=c;e.lineIndent=f;break}}if(u){captureSegment(e,s,a,false);writeFoldedLines(e,e.line-l);s=a=e.position;u=false}if(!is_WHITE_SPACE(d)){a=e.position+1}d=e.input.charCodeAt(++e.position)}captureSegment(e,s,a,false);if(e.result){return true}e.kind=p;e.result=h;return false}function readSingleQuotedScalar(e,t){var r,n,i;r=e.input.charCodeAt(e.position);if(r!==39){return false}e.kind="scalar";e.result="";e.position++;n=i=e.position;while((r=e.input.charCodeAt(e.position))!==0){if(r===39){captureSegment(e,n,e.position,true);r=e.input.charCodeAt(++e.position);if(r===39){n=e.position;e.position++;i=e.position}else{return true}}else if(is_EOL(r)){captureSegment(e,n,i,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));n=i=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;i=e.position}}throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var r,n,i,s,a,u;u=e.input.charCodeAt(e.position);if(u!==34){return false}e.kind="scalar";e.result="";e.position++;r=n=e.position;while((u=e.input.charCodeAt(e.position))!==0){if(u===34){captureSegment(e,r,e.position,true);e.position++;return true}else if(u===92){captureSegment(e,r,e.position,true);u=e.input.charCodeAt(++e.position);if(is_EOL(u)){skipSeparationSpace(e,false,t)}else if(u<256&&k[u]){e.result+=S[u];e.position++}else if((a=escapedHexLen(u))>0){i=a;s=0;for(;i>0;i--){u=e.input.charCodeAt(++e.position);if((a=fromHexCode(u))>=0){s=(s<<4)+a}else{throwError(e,"expected hexadecimal character")}}e.result+=charFromCodepoint(s);e.position++}else{throwError(e,"unknown escape sequence")}r=n=e.position}else if(is_EOL(u)){captureSegment(e,r,n,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));r=n=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;n=e.position}}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var r=true,n,i=e.tag,s,a=e.anchor,u,l,f,p,h,d={},m,v,y,g;g=e.input.charCodeAt(e.position);if(g===91){l=93;h=false;s=[]}else if(g===123){l=125;h=true;s={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=s}g=e.input.charCodeAt(++e.position);while(g!==0){skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if(g===l){e.position++;e.tag=i;e.anchor=a;e.kind=h?"mapping":"sequence";e.result=s;return true}else if(!r){throwError(e,"missed comma between flow collection entries")}v=m=y=null;f=p=false;if(g===63){u=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(u)){f=p=true;e.position++;skipSeparationSpace(e,true,t)}}n=e.line;composeNode(e,t,c,false,true);v=e.tag;m=e.result;skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if((p||e.line===n)&&g===58){f=true;g=e.input.charCodeAt(++e.position);skipSeparationSpace(e,true,t);composeNode(e,t,c,false,true);y=e.result}if(h){storeMappingPair(e,s,d,v,m,y)}else if(f){s.push(storeMappingPair(e,null,d,v,m,y))}else{s.push(m)}skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if(g===44){r=true;g=e.input.charCodeAt(++e.position)}else{r=false}}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var r,i,s=d,a=false,u=false,l=t,c=0,f=false,p,h;h=e.input.charCodeAt(e.position);if(h===124){i=false}else if(h===62){i=true}else{return false}e.kind="scalar";e.result="";while(h!==0){h=e.input.charCodeAt(++e.position);if(h===43||h===45){if(d===s){s=h===43?v:m}else{throwError(e,"repeat of a chomping mode identifier")}}else if((p=fromDecimalCode(h))>=0){if(p===0){throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!u){l=t+p-1;u=true}else{throwError(e,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(h)){do{h=e.input.charCodeAt(++e.position)}while(is_WHITE_SPACE(h));if(h===35){do{h=e.input.charCodeAt(++e.position)}while(!is_EOL(h)&&h!==0)}}while(h!==0){readLineBreak(e);e.lineIndent=0;h=e.input.charCodeAt(e.position);while((!u||e.lineIndent<l)&&h===32){e.lineIndent++;h=e.input.charCodeAt(++e.position)}if(!u&&e.lineIndent>l){l=e.lineIndent}if(is_EOL(h)){c++;continue}if(e.lineIndent<l){if(s===v){e.result+=n.repeat("\n",a?1+c:c)}else if(s===d){if(a){e.result+="\n"}}break}if(i){if(is_WHITE_SPACE(h)){f=true;e.result+=n.repeat("\n",a?1+c:c)}else if(f){f=false;e.result+=n.repeat("\n",c+1)}else if(c===0){if(a){e.result+=" "}}else{e.result+=n.repeat("\n",c)}}else{e.result+=n.repeat("\n",a?1+c:c)}a=true;u=true;c=0;r=e.position;while(!is_EOL(h)&&h!==0){h=e.input.charCodeAt(++e.position)}captureSegment(e,r,e.position,false)}return true}function readBlockSequence(e,t){var r,n=e.tag,i=e.anchor,s=[],a,u=false,l;if(e.anchor!==null){e.anchorMap[e.anchor]=s}l=e.input.charCodeAt(e.position);while(l!==0){if(l!==45){break}a=e.input.charCodeAt(e.position+1);if(!is_WS_OR_EOL(a)){break}u=true;e.position++;if(skipSeparationSpace(e,true,-1)){if(e.lineIndent<=t){s.push(null);l=e.input.charCodeAt(e.position);continue}}r=e.line;composeNode(e,t,p,false,true);s.push(e.result);skipSeparationSpace(e,true,-1);l=e.input.charCodeAt(e.position);if((e.line===r||e.lineIndent>t)&&l!==0){throwError(e,"bad indentation of a sequence entry")}else if(e.lineIndent<t){break}}if(u){e.tag=n;e.anchor=i;e.kind="sequence";e.result=s;return true}return false}function readBlockMapping(e,t,r){var n,i,s,a,u=e.tag,l=e.anchor,c={},p={},d=null,m=null,v=null,y=false,g=false,_;if(e.anchor!==null){e.anchorMap[e.anchor]=c}_=e.input.charCodeAt(e.position);while(_!==0){n=e.input.charCodeAt(e.position+1);s=e.line;a=e.position;if((_===63||_===58)&&is_WS_OR_EOL(n)){if(_===63){if(y){storeMappingPair(e,c,p,d,m,null);d=m=v=null}g=true;y=true;i=true}else if(y){y=false;i=true}else{throwError(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line")}e.position+=1;_=n}else if(composeNode(e,r,f,false,true)){if(e.line===s){_=e.input.charCodeAt(e.position);while(is_WHITE_SPACE(_)){_=e.input.charCodeAt(++e.position)}if(_===58){_=e.input.charCodeAt(++e.position);if(!is_WS_OR_EOL(_)){throwError(e,"a whitespace character is expected after the key-value separator within a block mapping")}if(y){storeMappingPair(e,c,p,d,m,null);d=m=v=null}g=true;y=false;i=false;d=e.tag;m=e.result}else if(g){throwError(e,"can not read an implicit mapping pair; a colon is missed")}else{e.tag=u;e.anchor=l;return true}}else if(g){throwError(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}else{e.tag=u;e.anchor=l;return true}}else{break}if(e.line===s||e.lineIndent>t){if(composeNode(e,t,h,true,i)){if(y){m=e.result}else{v=e.result}}if(!y){storeMappingPair(e,c,p,d,m,v,s,a);d=m=v=null}skipSeparationSpace(e,true,-1);_=e.input.charCodeAt(e.position)}if(e.lineIndent>t&&_!==0){throwError(e,"bad indentation of a mapping entry")}else if(e.lineIndent<t){break}}if(y){storeMappingPair(e,c,p,d,m,null)}if(g){e.tag=u;e.anchor=l;e.kind="mapping";e.result=c}return g}function readTagProperty(e){var t,r=false,n=false,i,s,a;a=e.input.charCodeAt(e.position);if(a!==33)return false;if(e.tag!==null){throwError(e,"duplication of a tag property")}a=e.input.charCodeAt(++e.position);if(a===60){r=true;a=e.input.charCodeAt(++e.position)}else if(a===33){n=true;i="!!";a=e.input.charCodeAt(++e.position)}else{i="!"}t=e.position;if(r){do{a=e.input.charCodeAt(++e.position)}while(a!==0&&a!==62);if(e.position<e.length){s=e.input.slice(t,e.position);a=e.input.charCodeAt(++e.position)}else{throwError(e,"unexpected end of the stream within a verbatim tag")}}else{while(a!==0&&!is_WS_OR_EOL(a)){if(a===33){if(!n){i=e.input.slice(t-1,e.position+1);if(!w.test(i)){throwError(e,"named tag handle cannot contain such characters")}n=true;t=e.position+1}else{throwError(e,"tag suffix cannot contain exclamation marks")}}a=e.input.charCodeAt(++e.position)}s=e.input.slice(t,e.position);if(_.test(s)){throwError(e,"tag suffix cannot contain flow indicator characters")}}if(s&&!b.test(s)){throwError(e,"tag name cannot contain such characters: "+s)}if(r){e.tag=s}else if(l.call(e.tagMap,i)){e.tag=e.tagMap[i]+s}else if(i==="!"){e.tag="!"+s}else if(i==="!!"){e.tag="tag:yaml.org,2002:"+s}else{throwError(e,'undeclared tag handle "'+i+'"')}return true}function readAnchorProperty(e){var t,r;r=e.input.charCodeAt(e.position);if(r!==38)return false;if(e.anchor!==null){throwError(e,"duplication of an anchor property")}r=e.input.charCodeAt(++e.position);t=e.position;while(r!==0&&!is_WS_OR_EOL(r)&&!is_FLOW_INDICATOR(r)){r=e.input.charCodeAt(++e.position)}if(e.position===t){throwError(e,"name of an anchor node must contain at least one character")}e.anchor=e.input.slice(t,e.position);return true}function readAlias(e){var t,r,n;n=e.input.charCodeAt(e.position);if(n!==42)return false;n=e.input.charCodeAt(++e.position);t=e.position;while(n!==0&&!is_WS_OR_EOL(n)&&!is_FLOW_INDICATOR(n)){n=e.input.charCodeAt(++e.position)}if(e.position===t){throwError(e,"name of an alias node must contain at least one character")}r=e.input.slice(t,e.position);if(!l.call(e.anchorMap,r)){throwError(e,'unidentified alias "'+r+'"')}e.result=e.anchorMap[r];skipSeparationSpace(e,true,-1);return true}function composeNode(e,t,r,n,i){var s,a,u,d=1,m=false,v=false,y,g,_,w,b;if(e.listener!==null){e.listener("open",e)}e.tag=null;e.anchor=null;e.kind=null;e.result=null;s=a=u=h===r||p===r;if(n){if(skipSeparationSpace(e,true,-1)){m=true;if(e.lineIndent>t){d=1}else if(e.lineIndent===t){d=0}else if(e.lineIndent<t){d=-1}}}if(d===1){while(readTagProperty(e)||readAnchorProperty(e)){if(skipSeparationSpace(e,true,-1)){m=true;u=s;if(e.lineIndent>t){d=1}else if(e.lineIndent===t){d=0}else if(e.lineIndent<t){d=-1}}else{u=false}}}if(u){u=m||i}if(d===1||h===r){if(c===r||f===r){w=t}else{w=t+1}b=e.position-e.lineStart;if(d===1){if(u&&(readBlockSequence(e,b)||readBlockMapping(e,b,w))||readFlowCollection(e,w)){v=true}else{if(a&&readBlockScalar(e,w)||readSingleQuotedScalar(e,w)||readDoubleQuotedScalar(e,w)){v=true}else if(readAlias(e)){v=true;if(e.tag!==null||e.anchor!==null){throwError(e,"alias node should not have any properties")}}else if(readPlainScalar(e,w,c===r)){v=true;if(e.tag===null){e.tag="?"}}if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else if(d===0){v=u&&readBlockSequence(e,b)}}if(e.tag!==null&&e.tag!=="!"){if(e.tag==="?"){if(e.result!==null&&e.kind!=="scalar"){throwError(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"')}for(y=0,g=e.implicitTypes.length;y<g;y+=1){_=e.implicitTypes[y];if(_.resolve(e.result)){e.result=_.construct(e.result);e.tag=_.tag;if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}break}}}else if(l.call(e.typeMap[e.kind||"fallback"],e.tag)){_=e.typeMap[e.kind||"fallback"][e.tag];if(e.result!==null&&_.kind!==e.kind){throwError(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+_.kind+'", not "'+e.kind+'"')}if(!_.resolve(e.result)){throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=_.construct(e.result);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else{throwError(e,"unknown tag !<"+e.tag+">")}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||v}function readDocument(e){var t=e.position,r,n,i,s=false,a;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap={};e.anchorMap={};while((a=e.input.charCodeAt(e.position))!==0){skipSeparationSpace(e,true,-1);a=e.input.charCodeAt(e.position);if(e.lineIndent>0||a!==37){break}s=true;a=e.input.charCodeAt(++e.position);r=e.position;while(a!==0&&!is_WS_OR_EOL(a)){a=e.input.charCodeAt(++e.position)}n=e.input.slice(r,e.position);i=[];if(n.length<1){throwError(e,"directive name must not be less than one character in length")}while(a!==0){while(is_WHITE_SPACE(a)){a=e.input.charCodeAt(++e.position)}if(a===35){do{a=e.input.charCodeAt(++e.position)}while(a!==0&&!is_EOL(a));break}if(is_EOL(a))break;r=e.position;while(a!==0&&!is_WS_OR_EOL(a)){a=e.input.charCodeAt(++e.position)}i.push(e.input.slice(r,e.position))}if(a!==0)readLineBreak(e);if(l.call(E,n)){E[n](e,n,i)}else{throwWarning(e,'unknown document directive "'+n+'"')}}skipSeparationSpace(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;skipSeparationSpace(e,true,-1)}else if(s){throwError(e,"directives end mark is expected")}composeNode(e,e.lineIndent-1,h,false,true);skipSeparationSpace(e,true,-1);if(e.checkLineBreaks&&g.test(e.input.slice(t,e.position))){throwWarning(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&testDocumentSeparator(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;skipSeparationSpace(e,true,-1)}return}if(e.position<e.length-1){throwError(e,"end of the stream or a document separator is expected")}else{return}}function loadDocuments(e,t){e=String(e);t=t||{};if(e.length!==0){if(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13){e+="\n"}if(e.charCodeAt(0)===65279){e=e.slice(1)}}var r=new State(e,t);var n=e.indexOf("\0");if(n!==-1){r.position=n;throwError(r,"null byte is not allowed in input")}r.input+="\0";while(r.input.charCodeAt(r.position)===32){r.lineIndent+=1;r.position+=1}while(r.position<r.length-1){readDocument(r)}return r.documents}function loadAll(e,t,r){if(t!==null&&typeof t==="object"&&typeof r==="undefined"){r=t;t=null}var n=loadDocuments(e,r);if(typeof t!=="function"){return n}for(var i=0,s=n.length;i<s;i+=1){t(n[i])}}function load(e,t){var r=loadDocuments(e,t);if(r.length===0){return undefined}else if(r.length===1){return r[0]}throw new i("expected a single document in the stream, but found more")}function safeLoadAll(e,t,r){if(typeof t==="object"&&t!==null&&typeof r==="undefined"){r=t;t=null}return loadAll(e,t,n.extend({schema:a},r))}function safeLoad(e,t){return load(e,n.extend({schema:a},t))}e.exports.loadAll=loadAll;e.exports.load=load;e.exports.safeLoadAll=safeLoadAll;e.exports.safeLoad=safeLoad},63264:(e,t,r)=>{"use strict";var n=r(52588);function Mark(e,t,r,n,i){this.name=e;this.buffer=t;this.position=r;this.line=n;this.column=i}Mark.prototype.getSnippet=function getSnippet(e,t){var r,i,s,a,u;if(!this.buffer)return null;e=e||4;t=t||75;r="";i=this.position;while(i>0&&"\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(i-1))===-1){i-=1;if(this.position-i>t/2-1){r=" ... ";i+=5;break}}s="";a=this.position;while(a<this.buffer.length&&"\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(a))===-1){a+=1;if(a-this.position>t/2-1){s=" ... ";a-=5;break}}u=this.buffer.slice(i,a);return n.repeat(" ",e)+r+u+s+"\n"+n.repeat(" ",e+this.position-i+r.length)+"^"};Mark.prototype.toString=function toString(e){var t,r="";if(this.name){r+='in "'+this.name+'" '}r+="at line "+(this.line+1)+", column "+(this.column+1);if(!e){t=this.getSnippet();if(t){r+=":\n"+t}}return r};e.exports=Mark},13904:(e,t,r)=>{"use strict";var n=r(52588);var i=r(66717);var s=r(72649);function compileList(e,t,r){var n=[];e.include.forEach((function(e){r=compileList(e,t,r)}));e[t].forEach((function(e){r.forEach((function(t,r){if(t.tag===e.tag&&t.kind===e.kind){n.push(r)}}));r.push(e)}));return r.filter((function(e,t){return n.indexOf(t)===-1}))}function compileMap(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},t,r;function collectType(t){e[t.kind][t.tag]=e["fallback"][t.tag]=t}for(t=0,r=arguments.length;t<r;t+=1){arguments[t].forEach(collectType)}return e}function Schema(e){this.include=e.include||[];this.implicit=e.implicit||[];this.explicit=e.explicit||[];this.implicit.forEach((function(e){if(e.loadKind&&e.loadKind!=="scalar"){throw new i("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}}));this.compiledImplicit=compileList(this,"implicit",[]);this.compiledExplicit=compileList(this,"explicit",[]);this.compiledTypeMap=compileMap(this.compiledImplicit,this.compiledExplicit)}Schema.DEFAULT=null;Schema.create=function createSchema(){var e,t;switch(arguments.length){case 1:e=Schema.DEFAULT;t=arguments[0];break;case 2:e=arguments[0];t=arguments[1];break;default:throw new i("Wrong number of arguments for Schema.create function")}e=n.toArray(e);t=n.toArray(t);if(!e.every((function(e){return e instanceof Schema}))){throw new i("Specified list of super schemas (or a single Schema object) contains a non-Schema object.")}if(!t.every((function(e){return e instanceof s}))){throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.")}return new Schema({include:e,explicit:t})};e.exports=Schema},74081:(e,t,r)=>{"use strict";var n=r(13904);e.exports=new n({include:[r(42629)]})},53650:(e,t,r)=>{"use strict";var n=r(13904);e.exports=n.DEFAULT=new n({include:[r(59531)],explicit:[r(36943),r(95502),r(21088)]})},59531:(e,t,r)=>{"use strict";var n=r(13904);e.exports=new n({include:[r(74081)],implicit:[r(57254),r(36931)],explicit:[r(77021),r(64955),r(38345),r(28458)]})},63513:(e,t,r)=>{"use strict";var n=r(13904);e.exports=new n({explicit:[r(8632),r(23043),r(96345)]})},42629:(e,t,r)=>{"use strict";var n=r(13904);e.exports=new n({include:[r(63513)],implicit:[r(79863),r(18568),r(98981),r(97861)]})},72649:(e,t,r)=>{"use strict";var n=r(66717);var i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"];var s=["scalar","sequence","mapping"];function compileStyleAliases(e){var t={};if(e!==null){Object.keys(e).forEach((function(r){e[r].forEach((function(e){t[String(e)]=r}))}))}return t}function Type(e,t){t=t||{};Object.keys(t).forEach((function(t){if(i.indexOf(t)===-1){throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}}));this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.defaultStyle=t["defaultStyle"]||null;this.styleAliases=compileStyleAliases(t["styleAliases"]||null);if(s.indexOf(this.kind)===-1){throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=Type},77021:(e,t,r)=>{"use strict";var n;try{var i=require;n=i("buffer").Buffer}catch(e){}var s=r(72649);var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(e){if(e===null)return false;var t,r,n=0,i=e.length,s=a;for(r=0;r<i;r++){t=s.indexOf(e.charAt(r));if(t>64)continue;if(t<0)return false;n+=6}return n%8===0}function constructYamlBinary(e){var t,r,i=e.replace(/[\r\n=]/g,""),s=i.length,u=a,l=0,c=[];for(t=0;t<s;t++){if(t%4===0&&t){c.push(l>>16&255);c.push(l>>8&255);c.push(l&255)}l=l<<6|u.indexOf(i.charAt(t))}r=s%4*6;if(r===0){c.push(l>>16&255);c.push(l>>8&255);c.push(l&255)}else if(r===18){c.push(l>>10&255);c.push(l>>2&255)}else if(r===12){c.push(l>>4&255)}if(n){return n.from?n.from(c):new n(c)}return c}function representYamlBinary(e){var t="",r=0,n,i,s=e.length,u=a;for(n=0;n<s;n++){if(n%3===0&&n){t+=u[r>>18&63];t+=u[r>>12&63];t+=u[r>>6&63];t+=u[r&63]}r=(r<<8)+e[n]}i=s%3;if(i===0){t+=u[r>>18&63];t+=u[r>>12&63];t+=u[r>>6&63];t+=u[r&63]}else if(i===2){t+=u[r>>10&63];t+=u[r>>4&63];t+=u[r<<2&63];t+=u[64]}else if(i===1){t+=u[r>>2&63];t+=u[r<<4&63];t+=u[64];t+=u[64]}return t}function isBinary(e){return n&&n.isBuffer(e)}e.exports=new s("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},18568:(e,t,r)=>{"use strict";var n=r(72649);function resolveYamlBoolean(e){if(e===null)return false;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function constructYamlBoolean(e){return e==="true"||e==="True"||e==="TRUE"}function isBoolean(e){return Object.prototype.toString.call(e)==="[object Boolean]"}e.exports=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},97861:(e,t,r)=>{"use strict";var n=r(52588);var i=r(72649);var s=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(e){if(e===null)return false;if(!s.test(e)||e[e.length-1]==="_"){return false}return true}function constructYamlFloat(e){var t,r,n,i;t=e.replace(/_/g,"").toLowerCase();r=t[0]==="-"?-1:1;i=[];if("+-".indexOf(t[0])>=0){t=t.slice(1)}if(t===".inf"){return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(t===".nan"){return NaN}else if(t.indexOf(":")>=0){t.split(":").forEach((function(e){i.unshift(parseFloat(e,10))}));t=0;n=1;i.forEach((function(e){t+=e*n;n*=60}));return r*t}return r*parseFloat(t,10)}var a=/^[-+]?[0-9]+e/;function representYamlFloat(e,t){var r;if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(n.isNegativeZero(e)){return"-0.0"}r=e.toString(10);return a.test(r)?r.replace("e",".e"):r}function isFloat(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||n.isNegativeZero(e))}e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},98981:(e,t,r)=>{"use strict";var n=r(52588);var i=r(72649);function isHexCode(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function isOctCode(e){return 48<=e&&e<=55}function isDecCode(e){return 48<=e&&e<=57}function resolveYamlInteger(e){if(e===null)return false;var t=e.length,r=0,n=false,i;if(!t)return false;i=e[r];if(i==="-"||i==="+"){i=e[++r]}if(i==="0"){if(r+1===t)return true;i=e[++r];if(i==="b"){r++;for(;r<t;r++){i=e[r];if(i==="_")continue;if(i!=="0"&&i!=="1")return false;n=true}return n&&i!=="_"}if(i==="x"){r++;for(;r<t;r++){i=e[r];if(i==="_")continue;if(!isHexCode(e.charCodeAt(r)))return false;n=true}return n&&i!=="_"}for(;r<t;r++){i=e[r];if(i==="_")continue;if(!isOctCode(e.charCodeAt(r)))return false;n=true}return n&&i!=="_"}if(i==="_")return false;for(;r<t;r++){i=e[r];if(i==="_")continue;if(i===":")break;if(!isDecCode(e.charCodeAt(r))){return false}n=true}if(!n||i==="_")return false;if(i!==":")return true;return/^(:[0-5]?[0-9])+$/.test(e.slice(r))}function constructYamlInteger(e){var t=e,r=1,n,i,s=[];if(t.indexOf("_")!==-1){t=t.replace(/_/g,"")}n=t[0];if(n==="-"||n==="+"){if(n==="-")r=-1;t=t.slice(1);n=t[0]}if(t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t,16);return r*parseInt(t,8)}if(t.indexOf(":")!==-1){t.split(":").forEach((function(e){s.unshift(parseInt(e,10))}));t=0;i=1;s.forEach((function(e){t+=e*i;i*=60}));return r*t}return r*parseInt(t,10)}function isInteger(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1===0&&!n.isNegativeZero(e))}e.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},21088:(e,t,r)=>{"use strict";var n;try{var i=require;n=i("esprima")}catch(e){if(typeof window!=="undefined")n=window.esprima}var s=r(72649);function resolveJavascriptFunction(e){if(e===null)return false;try{var t="("+e+")",r=n.parse(t,{range:true});if(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression"){return false}return true}catch(e){return false}}function constructJavascriptFunction(e){var t="("+e+")",r=n.parse(t,{range:true}),i=[],s;if(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression"){throw new Error("Failed to resolve function")}r.body[0].expression.params.forEach((function(e){i.push(e.name)}));s=r.body[0].expression.body.range;if(r.body[0].expression.body.type==="BlockStatement"){return new Function(i,t.slice(s[0]+1,s[1]-1))}return new Function(i,"return "+t.slice(s[0],s[1]))}function representJavascriptFunction(e){return e.toString()}function isFunction(e){return Object.prototype.toString.call(e)==="[object Function]"}e.exports=new s("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction})},95502:(e,t,r)=>{"use strict";var n=r(72649);function resolveJavascriptRegExp(e){if(e===null)return false;if(e.length===0)return false;var t=e,r=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(r)n=r[1];if(n.length>3)return false;if(t[t.length-n.length-1]!=="/")return false}return true}function constructJavascriptRegExp(e){var t=e,r=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(r)n=r[1];t=t.slice(1,t.length-n.length-1)}return new RegExp(t,n)}function representJavascriptRegExp(e){var t="/"+e.source+"/";if(e.global)t+="g";if(e.multiline)t+="m";if(e.ignoreCase)t+="i";return t}function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"}e.exports=new n("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},36943:(e,t,r)=>{"use strict";var n=r(72649);function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(e){return typeof e==="undefined"}e.exports=new n("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},96345:(e,t,r)=>{"use strict";var n=r(72649);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},36931:(e,t,r)=>{"use strict";var n=r(72649);function resolveYamlMerge(e){return e==="<<"||e===null}e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},79863:(e,t,r)=>{"use strict";var n=r(72649);function resolveYamlNull(e){if(e===null)return true;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function constructYamlNull(){return null}function isNull(e){return e===null}e.exports=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},64955:(e,t,r)=>{"use strict";var n=r(72649);var i=Object.prototype.hasOwnProperty;var s=Object.prototype.toString;function resolveYamlOmap(e){if(e===null)return true;var t=[],r,n,a,u,l,c=e;for(r=0,n=c.length;r<n;r+=1){a=c[r];l=false;if(s.call(a)!=="[object Object]")return false;for(u in a){if(i.call(a,u)){if(!l)l=true;else return false}}if(!l)return false;if(t.indexOf(u)===-1)t.push(u);else return false}return true}function constructYamlOmap(e){return e!==null?e:[]}e.exports=new n("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap})},38345:(e,t,r)=>{"use strict";var n=r(72649);var i=Object.prototype.toString;function resolveYamlPairs(e){if(e===null)return true;var t,r,n,s,a,u=e;a=new Array(u.length);for(t=0,r=u.length;t<r;t+=1){n=u[t];if(i.call(n)!=="[object Object]")return false;s=Object.keys(n);if(s.length!==1)return false;a[t]=[s[0],n[s[0]]]}return true}function constructYamlPairs(e){if(e===null)return[];var t,r,n,i,s,a=e;s=new Array(a.length);for(t=0,r=a.length;t<r;t+=1){n=a[t];i=Object.keys(n);s[t]=[i[0],n[i[0]]]}return s}e.exports=new n("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs})},23043:(e,t,r)=>{"use strict";var n=r(72649);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},28458:(e,t,r)=>{"use strict";var n=r(72649);var i=Object.prototype.hasOwnProperty;function resolveYamlSet(e){if(e===null)return true;var t,r=e;for(t in r){if(i.call(r,t)){if(r[t]!==null)return false}}return true}function constructYamlSet(e){return e!==null?e:{}}e.exports=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},8632:(e,t,r)=>{"use strict";var n=r(72649);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},57254:(e,t,r)=>{"use strict";var n=r(72649);var i=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var s=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(e){if(e===null)return false;if(i.exec(e)!==null)return true;if(s.exec(e)!==null)return true;return false}function constructYamlTimestamp(e){var t,r,n,a,u,l,c,f=0,p=null,h,d,m;t=i.exec(e);if(t===null)t=s.exec(e);if(t===null)throw new Error("Date resolve error");r=+t[1];n=+t[2]-1;a=+t[3];if(!t[4]){return new Date(Date.UTC(r,n,a))}u=+t[4];l=+t[5];c=+t[6];if(t[7]){f=t[7].slice(0,3);while(f.length<3){f+="0"}f=+f}if(t[9]){h=+t[10];d=+(t[11]||0);p=(h*60+d)*6e4;if(t[9]==="-")p=-p}m=new Date(Date.UTC(r,n,a,u,l,c,f));if(p)m.setTime(m.getTime()-p);return m}function representYam