prettier
Version:
Prettier is an opinionated code formatter
40 lines (38 loc) • 128 kB
JavaScript
"use strict";var Ye=Object.defineProperty,bt=Object.getOwnPropertyDescriptor,De=Object.getOwnPropertyNames,wt=Object.prototype.hasOwnProperty,xe=(s,e)=>function(){return s&&(e=(0,s[De(s)[0]])(s=0)),e},D=(s,e)=>function(){return e||(0,s[De(s)[0]])((e={exports:{}}).exports,e),e.exports},St=(s,e)=>{for(var r in e)Ye(s,r,{get:e[r],enumerable:!0})},Et=(s,e,r,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let h of De(e))!wt.call(s,h)&&h!==r&&Ye(s,h,{get:()=>e[h],enumerable:!(c=bt(e,h))||c.enumerable});return s},se=s=>Et(Ye({},"__esModule",{value:!0}),s),Ue,Ke,Te,Y=xe({"<define:process>"(){Ue={},Ke=[],Te={env:Ue,argv:Ke}}}),Mt=D({"src/common/parser-create-error.js"(s,e){"use strict";Y();function r(c,h){let d=new SyntaxError(c+" ("+h.start.line+":"+h.start.column+")");return d.loc=h,d}e.exports=r}}),Ot=D({"src/language-yaml/pragma.js"(s,e){"use strict";Y();function r(d){return/^\s*@(?:prettier|format)\s*$/.test(d)}function c(d){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(d)}function h(d){return`# @format
${d}`}e.exports={isPragma:r,hasPragma:c,insertPragma:h}}}),Lt=D({"src/language-yaml/loc.js"(s,e){"use strict";Y();function r(h){return h.position.start.offset}function c(h){return h.position.end.offset}e.exports={locStart:r,locEnd:c}}}),te={};St(te,{__assign:()=>qe,__asyncDelegator:()=>Yt,__asyncGenerator:()=>jt,__asyncValues:()=>Dt,__await:()=>Ce,__awaiter:()=>Pt,__classPrivateFieldGet:()=>Qt,__classPrivateFieldSet:()=>Ut,__createBinding:()=>Rt,__decorate:()=>Tt,__exportStar:()=>qt,__extends:()=>At,__generator:()=>It,__importDefault:()=>Vt,__importStar:()=>Wt,__makeTemplateObject:()=>Ft,__metadata:()=>kt,__param:()=>Ct,__read:()=>He,__rest:()=>Nt,__spread:()=>$t,__spreadArrays:()=>Bt,__values:()=>je});function At(s,e){Re(s,e);function r(){this.constructor=s}s.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Nt(s,e){var r={};for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&e.indexOf(c)<0&&(r[c]=s[c]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,c=Object.getOwnPropertySymbols(s);h<c.length;h++)e.indexOf(c[h])<0&&Object.prototype.propertyIsEnumerable.call(s,c[h])&&(r[c[h]]=s[c[h]]);return r}function Tt(s,e,r,c){var h=arguments.length,d=h<3?e:c===null?c=Object.getOwnPropertyDescriptor(e,r):c,y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(s,e,r,c);else for(var M=s.length-1;M>=0;M--)(y=s[M])&&(d=(h<3?y(d):h>3?y(e,r,d):y(e,r))||d);return h>3&&d&&Object.defineProperty(e,r,d),d}function Ct(s,e){return function(r,c){e(r,c,s)}}function kt(s,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(s,e)}function Pt(s,e,r,c){function h(d){return d instanceof r?d:new r(function(y){y(d)})}return new(r||(r=Promise))(function(d,y){function M(E){try{w(c.next(E))}catch(T){y(T)}}function k(E){try{w(c.throw(E))}catch(T){y(T)}}function w(E){E.done?d(E.value):h(E.value).then(M,k)}w((c=c.apply(s,e||[])).next())})}function It(s,e){var r={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},c,h,d,y;return y={next:M(0),throw:M(1),return:M(2)},typeof Symbol=="function"&&(y[Symbol.iterator]=function(){return this}),y;function M(w){return function(E){return k([w,E])}}function k(w){if(c)throw new TypeError("Generator is already executing.");for(;r;)try{if(c=1,h&&(d=w[0]&2?h.return:w[0]?h.throw||((d=h.return)&&d.call(h),0):h.next)&&!(d=d.call(h,w[1])).done)return d;switch(h=0,d&&(w=[w[0]&2,d.value]),w[0]){case 0:case 1:d=w;break;case 4:return r.label++,{value:w[1],done:!1};case 5:r.label++,h=w[1],w=[0];continue;case 7:w=r.ops.pop(),r.trys.pop();continue;default:if(d=r.trys,!(d=d.length>0&&d[d.length-1])&&(w[0]===6||w[0]===2)){r=0;continue}if(w[0]===3&&(!d||w[1]>d[0]&&w[1]<d[3])){r.label=w[1];break}if(w[0]===6&&r.label<d[1]){r.label=d[1],d=w;break}if(d&&r.label<d[2]){r.label=d[2],r.ops.push(w);break}d[2]&&r.ops.pop(),r.trys.pop();continue}w=e.call(s,r)}catch(E){w=[6,E],h=0}finally{c=d=0}if(w[0]&5)throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}}function Rt(s,e,r,c){c===void 0&&(c=r),s[c]=e[r]}function qt(s,e){for(var r in s)r!=="default"&&!e.hasOwnProperty(r)&&(e[r]=s[r])}function je(s){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&s[e],c=0;if(r)return r.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function He(s,e){var r=typeof Symbol=="function"&&s[Symbol.iterator];if(!r)return s;var c=r.call(s),h,d=[],y;try{for(;(e===void 0||e-- >0)&&!(h=c.next()).done;)d.push(h.value)}catch(M){y={error:M}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(y)throw y.error}}return d}function $t(){for(var s=[],e=0;e<arguments.length;e++)s=s.concat(He(arguments[e]));return s}function Bt(){for(var s=0,e=0,r=arguments.length;e<r;e++)s+=arguments[e].length;for(var c=Array(s),h=0,e=0;e<r;e++)for(var d=arguments[e],y=0,M=d.length;y<M;y++,h++)c[h]=d[y];return c}function Ce(s){return this instanceof Ce?(this.v=s,this):new Ce(s)}function jt(s,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c=r.apply(s,e||[]),h,d=[];return h={},y("next"),y("throw"),y("return"),h[Symbol.asyncIterator]=function(){return this},h;function y(I){c[I]&&(h[I]=function(C){return new Promise(function(q,R){d.push([I,C,q,R])>1||M(I,C)})})}function M(I,C){try{k(c[I](C))}catch(q){T(d[0][3],q)}}function k(I){I.value instanceof Ce?Promise.resolve(I.value.v).then(w,E):T(d[0][2],I)}function w(I){M("next",I)}function E(I){M("throw",I)}function T(I,C){I(C),d.shift(),d.length&&M(d[0][0],d[0][1])}}function Yt(s){var e,r;return e={},c("next"),c("throw",function(h){throw h}),c("return"),e[Symbol.iterator]=function(){return this},e;function c(h,d){e[h]=s[h]?function(y){return(r=!r)?{value:Ce(s[h](y)),done:h==="return"}:d?d(y):y}:d}}function Dt(s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=s[Symbol.asyncIterator],r;return e?e.call(s):(s=typeof je=="function"?je(s):s[Symbol.iterator](),r={},c("next"),c("throw"),c("return"),r[Symbol.asyncIterator]=function(){return this},r);function c(d){r[d]=s[d]&&function(y){return new Promise(function(M,k){y=s[d](y),h(M,k,y.done,y.value)})}}function h(d,y,M,k){Promise.resolve(k).then(function(w){d({value:w,done:M})},y)}}function Ft(s,e){return Object.defineProperty?Object.defineProperty(s,"raw",{value:e}):s.raw=e,s}function Wt(s){if(s&&s.__esModule)return s;var e={};if(s!=null)for(var r in s)Object.hasOwnProperty.call(s,r)&&(e[r]=s[r]);return e.default=s,e}function Vt(s){return s&&s.__esModule?s:{default:s}}function Qt(s,e){if(!e.has(s))throw new TypeError("attempted to get private field on non-instance");return e.get(s)}function Ut(s,e,r){if(!e.has(s))throw new TypeError("attempted to set private field on non-instance");return e.set(s,r),r}var Re,qe,ie=xe({"node_modules/tslib/tslib.es6.js"(){Y(),Re=function(s,e){return Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var h in c)c.hasOwnProperty(h)&&(r[h]=c[h])},Re(s,e)},qe=function(){return qe=Object.assign||function(e){for(var r,c=1,h=arguments.length;c<h;c++){r=arguments[c];for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(e[d]=r[d])}return e},qe.apply(this,arguments)}}}),Kt=D({"node_modules/yaml-unist-parser/node_modules/lines-and-columns/build/index.js"(s){"use strict";Y(),s.__esModule=!0,s.LinesAndColumns=void 0;var e=`
`,r="\r",c=function(){function h(d){this.string=d;for(var y=[0],M=0;M<d.length;)switch(d[M]){case e:M+=e.length,y.push(M);break;case r:M+=r.length,d[M]===e&&(M+=e.length),y.push(M);break;default:M++;break}this.offsets=y}return h.prototype.locationForIndex=function(d){if(d<0||d>this.string.length)return null;for(var y=0,M=this.offsets;M[y+1]<=d;)y++;var k=d-M[y];return{line:y,column:k}},h.prototype.indexForLocation=function(d){var y=d.line,M=d.column;return y<0||y>=this.offsets.length||M<0||M>this.lengthOfLine(y)?null:this.offsets[y]+M},h.prototype.lengthOfLine=function(d){var y=this.offsets[d],M=d===this.offsets.length-1?this.string.length:this.offsets[d+1];return M-y},h}();s.LinesAndColumns=c,s.default=c}}),Jt=D({"node_modules/yaml-unist-parser/lib/utils/define-parents.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c){c===void 0&&(c=null),"children"in r&&r.children.forEach(function(h){return e(h,r)}),"anchor"in r&&r.anchor&&e(r.anchor,r),"tag"in r&&r.tag&&e(r.tag,r),"leadingComments"in r&&r.leadingComments.forEach(function(h){return e(h,r)}),"middleComments"in r&&r.middleComments.forEach(function(h){return e(h,r)}),"indicatorComment"in r&&r.indicatorComment&&e(r.indicatorComment,r),"trailingComment"in r&&r.trailingComment&&e(r.trailingComment,r),"endComments"in r&&r.endComments.forEach(function(h){return e(h,r)}),Object.defineProperty(r,"_parent",{value:c,enumerable:!1})}s.defineParents=e}}),Fe=D({"node_modules/yaml-unist-parser/lib/utils/get-point-text.js"(s){"use strict";Y(),s.__esModule=!0;function e(r){return r.line+":"+r.column}s.getPointText=e}}),xt=D({"node_modules/yaml-unist-parser/lib/attach.js"(s){"use strict";Y(),s.__esModule=!0;var e=Jt(),r=Fe();function c(w){e.defineParents(w);var E=h(w),T=w.children.slice();w.comments.sort(function(I,C){return I.position.start.offset-C.position.end.offset}).filter(function(I){return!I._parent}).forEach(function(I){for(;T.length>1&&I.position.start.line>T[0].position.end.line;)T.shift();y(I,E,T[0])})}s.attachComments=c;function h(w){for(var E=Array.from(new Array(w.position.end.line),function(){return{}}),T=0,I=w.comments;T<I.length;T++){var C=I[T];E[C.position.start.line-1].comment=C}return d(E,w),E}function d(w,E){if(E.position.start.offset!==E.position.end.offset){if("leadingComments"in E){var T=E.position.start,I=w[T.line-1].leadingAttachableNode;(!I||T.column<I.position.start.column)&&(w[T.line-1].leadingAttachableNode=E)}if("trailingComment"in E&&E.position.end.column>1&&E.type!=="document"&&E.type!=="documentHead"){var C=E.position.end,q=w[C.line-1].trailingAttachableNode;(!q||C.column>=q.position.end.column)&&(w[C.line-1].trailingAttachableNode=E)}if(E.type!=="root"&&E.type!=="document"&&E.type!=="documentHead"&&E.type!=="documentBody")for(var R=E.position,T=R.start,C=R.end,B=[C.line].concat(T.line===C.line?[]:T.line),U=0,f=B;U<f.length;U++){var i=f[U],t=w[i-1].trailingNode;(!t||C.column>=t.position.end.column)&&(w[i-1].trailingNode=E)}"children"in E&&E.children.forEach(function(n){d(w,n)})}}function y(w,E,T){var I=w.position.start.line,C=E[I-1].trailingAttachableNode;if(C){if(C.trailingComment)throw new Error("Unexpected multiple trailing comment at "+r.getPointText(w.position.start));e.defineParents(w,C),C.trailingComment=w;return}for(var q=I;q>=T.position.start.line;q--){var R=E[q-1].trailingNode,B=void 0;if(R)B=R;else if(q!==I&&E[q-1].comment)B=E[q-1].comment._parent;else continue;if((B.type==="sequence"||B.type==="mapping")&&(B=B.children[0]),B.type==="mappingItem"){var U=B.children,f=U[0],i=U[1];B=k(f)?f:i}for(;;){if(M(B,w)){e.defineParents(w,B),B.endComments.push(w);return}if(!B._parent)break;B=B._parent}break}for(var q=I+1;q<=T.position.end.line;q++){var t=E[q-1].leadingAttachableNode;if(t){e.defineParents(w,t),t.leadingComments.push(w);return}}var n=T.children[1];e.defineParents(w,n),n.endComments.push(w)}function M(w,E){if(w.position.start.offset<E.position.start.offset&&w.position.end.offset>E.position.end.offset)switch(w.type){case"flowMapping":case"flowSequence":return w.children.length===0||E.position.start.line>w.children[w.children.length-1].position.end.line}if(E.position.end.offset<w.position.end.offset)return!1;switch(w.type){case"sequenceItem":return E.position.start.column>w.position.start.column;case"mappingKey":case"mappingValue":return E.position.start.column>w._parent.position.start.column&&(w.children.length===0||w.children.length===1&&w.children[0].type!=="blockFolded"&&w.children[0].type!=="blockLiteral")&&(w.type==="mappingValue"||k(w));default:return!1}}function k(w){return w.position.start!==w.position.end&&(w.children.length===0||w.position.start.offset!==w.children[0].position.start.offset)}}}),me=D({"node_modules/yaml-unist-parser/lib/factories/node.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c){return{type:r,position:c}}s.createNode=e}}),Ht=D({"node_modules/yaml-unist-parser/lib/factories/root.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=me();function c(h,d,y){return e.__assign(e.__assign({},r.createNode("root",h)),{children:d,comments:y})}s.createRoot=c}}),Gt=D({"node_modules/yaml-unist-parser/lib/preprocess.js"(s){"use strict";Y(),s.__esModule=!0;function e(r){switch(r.type){case"DOCUMENT":for(var c=r.contents.length-1;c>=0;c--)r.contents[c].type==="BLANK_LINE"?r.contents.splice(c,1):e(r.contents[c]);for(var c=r.directives.length-1;c>=0;c--)r.directives[c].type==="BLANK_LINE"&&r.directives.splice(c,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(var c=r.items.length-1;c>=0;c--){var h=r.items[c];"char"in h||(h.type==="BLANK_LINE"?r.items.splice(c,1):e(h))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":r.node&&e(r.node);break;case"ALIAS":case"BLANK_LINE":case"BLOCK_FOLDED":case"BLOCK_LITERAL":case"COMMENT":case"DIRECTIVE":case"PLAIN":case"QUOTE_DOUBLE":case"QUOTE_SINGLE":break;default:throw new Error("Unexpected node type "+JSON.stringify(r.type))}}s.removeCstBlankLine=e}}),Oe=D({"node_modules/yaml-unist-parser/lib/factories/leading-comment-attachable.js"(s){"use strict";Y(),s.__esModule=!0;function e(){return{leadingComments:[]}}s.createLeadingCommentAttachable=e}}),$e=D({"node_modules/yaml-unist-parser/lib/factories/trailing-comment-attachable.js"(s){"use strict";Y(),s.__esModule=!0;function e(r){return r===void 0&&(r=null),{trailingComment:r}}s.createTrailingCommentAttachable=e}}),Se=D({"node_modules/yaml-unist-parser/lib/factories/comment-attachable.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Oe(),c=$e();function h(){return e.__assign(e.__assign({},r.createLeadingCommentAttachable()),c.createTrailingCommentAttachable())}s.createCommentAttachable=h}}),zt=D({"node_modules/yaml-unist-parser/lib/factories/alias.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Se(),c=me();function h(d,y,M){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("alias",d)),r.createCommentAttachable()),y),{value:M})}s.createAlias=h}}),Zt=D({"node_modules/yaml-unist-parser/lib/transforms/alias.js"(s){"use strict";Y(),s.__esModule=!0;var e=zt();function r(c,h){var d=c.cstNode;return e.createAlias(h.transformRange({origStart:d.valueRange.origStart-1,origEnd:d.valueRange.origEnd}),h.transformContent(c),d.rawValue)}s.transformAlias=r}}),Xt=D({"node_modules/yaml-unist-parser/lib/factories/block-folded.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te));function r(c){return e.__assign(e.__assign({},c),{type:"blockFolded"})}s.createBlockFolded=r}}),er=D({"node_modules/yaml-unist-parser/lib/factories/block-value.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Oe(),c=me();function h(d,y,M,k,w,E){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("blockValue",d)),r.createLeadingCommentAttachable()),y),{chomping:M,indent:k,value:w,indicatorComment:E})}s.createBlockValue=h}}),Ge=D({"node_modules/yaml-unist-parser/lib/constants.js"(s){"use strict";Y(),s.__esModule=!0;var e;(function(r){r.Tag="!",r.Anchor="&",r.Comment="#"})(e=s.PropLeadingCharacter||(s.PropLeadingCharacter={}))}}),tr=D({"node_modules/yaml-unist-parser/lib/factories/anchor.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=me();function c(h,d){return e.__assign(e.__assign({},r.createNode("anchor",h)),{value:d})}s.createAnchor=c}}),We=D({"node_modules/yaml-unist-parser/lib/factories/comment.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=me();function c(h,d){return e.__assign(e.__assign({},r.createNode("comment",h)),{value:d})}s.createComment=c}}),rr=D({"node_modules/yaml-unist-parser/lib/factories/content.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c,h){return{anchor:c,tag:r,middleComments:h}}s.createContent=e}}),nr=D({"node_modules/yaml-unist-parser/lib/factories/tag.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=me();function c(h,d){return e.__assign(e.__assign({},r.createNode("tag",h)),{value:d})}s.createTag=c}}),ze=D({"node_modules/yaml-unist-parser/lib/transforms/content.js"(s){"use strict";Y(),s.__esModule=!0;var e=Ge(),r=tr(),c=We(),h=rr(),d=nr();function y(M,k,w){w===void 0&&(w=function(){return!1});for(var E=M.cstNode,T=[],I=null,C=null,q=null,R=0,B=E.props;R<B.length;R++){var U=B[R],f=k.text[U.origStart];switch(f){case e.PropLeadingCharacter.Tag:I=I||U,C=d.createTag(k.transformRange(U),M.tag);break;case e.PropLeadingCharacter.Anchor:I=I||U,q=r.createAnchor(k.transformRange(U),E.anchor);break;case e.PropLeadingCharacter.Comment:{var i=c.createComment(k.transformRange(U),k.text.slice(U.origStart+1,U.origEnd));k.comments.push(i),!w(i)&&I&&I.origEnd<=U.origStart&&U.origEnd<=E.valueRange.origStart&&T.push(i);break}default:throw new Error("Unexpected leading character "+JSON.stringify(f))}}return h.createContent(C,q,T)}s.transformContent=y}}),Ze=D({"node_modules/yaml-unist-parser/lib/transforms/block-value.js"(s){"use strict";Y(),s.__esModule=!0;var e=er(),r=Fe(),c=ze(),h;(function(y){y.CLIP="clip",y.STRIP="strip",y.KEEP="keep"})(h||(h={}));function d(y,M){var k=y.cstNode,w=1,E=k.chomping==="CLIP"?0:1,T=k.header.origEnd-k.header.origStart,I=T-w-E!==0,C=M.transformRange({origStart:k.header.origStart,origEnd:k.valueRange.origEnd}),q=null,R=c.transformContent(y,M,function(B){var U=C.start.offset<B.position.start.offset&&B.position.end.offset<C.end.offset;if(!U)return!1;if(q)throw new Error("Unexpected multiple indicator comments at "+r.getPointText(B.position.start));return q=B,!0});return e.createBlockValue(C,R,h[k.chomping],I?k.blockIndent:null,k.strValue,q)}s.transformAstBlockValue=d}}),sr=D({"node_modules/yaml-unist-parser/lib/transforms/block-folded.js"(s){"use strict";Y(),s.__esModule=!0;var e=Xt(),r=Ze();function c(h,d){return e.createBlockFolded(r.transformAstBlockValue(h,d))}s.transformBlockFolded=c}}),ir=D({"node_modules/yaml-unist-parser/lib/factories/block-literal.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te));function r(c){return e.__assign(e.__assign({},c),{type:"blockLiteral"})}s.createBlockLiteral=r}}),ar=D({"node_modules/yaml-unist-parser/lib/transforms/block-literal.js"(s){"use strict";Y(),s.__esModule=!0;var e=ir(),r=Ze();function c(h,d){return e.createBlockLiteral(r.transformAstBlockValue(h,d))}s.transformBlockLiteral=c}}),or=D({"node_modules/yaml-unist-parser/lib/transforms/comment.js"(s){"use strict";Y(),s.__esModule=!0;var e=We();function r(c,h){return e.createComment(h.transformRange(c.range),c.comment)}s.transformComment=r}}),lr=D({"node_modules/yaml-unist-parser/lib/factories/directive.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Se(),c=me();function h(d,y,M){return e.__assign(e.__assign(e.__assign({},c.createNode("directive",d)),r.createCommentAttachable()),{name:y,parameters:M})}s.createDirective=h}}),Ve=D({"node_modules/yaml-unist-parser/lib/utils/extract-prop-comments.js"(s){"use strict";Y(),s.__esModule=!0;var e=Ge(),r=We();function c(h,d){for(var y=0,M=h.props;y<M.length;y++){var k=M[y],w=d.text[k.origStart];switch(w){case e.PropLeadingCharacter.Comment:d.comments.push(r.createComment(d.transformRange(k),d.text.slice(k.origStart+1,k.origEnd)));break;default:throw new Error("Unexpected leading character "+JSON.stringify(w))}}}s.extractPropComments=c}}),cr=D({"node_modules/yaml-unist-parser/lib/transforms/directive.js"(s){"use strict";Y(),s.__esModule=!0;var e=lr(),r=Ve();function c(h,d){return r.extractPropComments(h,d),e.createDirective(d.transformRange(h.range),h.name,h.parameters)}s.transformDirective=c}}),ur=D({"node_modules/yaml-unist-parser/lib/factories/document.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=me(),c=$e();function h(d,y,M,k){return e.__assign(e.__assign(e.__assign({},r.createNode("document",d)),c.createTrailingCommentAttachable(k)),{children:[y,M]})}s.createDocument=h}}),Le=D({"node_modules/yaml-unist-parser/lib/factories/position.js"(s){"use strict";Y(),s.__esModule=!0;function e(c,h){return{start:c,end:h}}s.createPosition=e;function r(c){return{start:c,end:c}}s.createEmptyPosition=r}}),Ee=D({"node_modules/yaml-unist-parser/lib/factories/end-comment-attachable.js"(s){"use strict";Y(),s.__esModule=!0;function e(r){return r===void 0&&(r=[]),{endComments:r}}s.createEndCommentAttachable=e}}),fr=D({"node_modules/yaml-unist-parser/lib/factories/document-body.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Ee(),c=me();function h(d,y,M){return e.__assign(e.__assign(e.__assign({},c.createNode("documentBody",d)),r.createEndCommentAttachable(M)),{children:y?[y]:[]})}s.createDocumentBody=h}}),Ae=D({"node_modules/yaml-unist-parser/lib/utils/get-last.js"(s){"use strict";Y(),s.__esModule=!0;function e(r){return r[r.length-1]}s.getLast=e}}),Xe=D({"node_modules/yaml-unist-parser/lib/utils/get-match-index.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c){var h=r.match(c);return h?h.index:-1}s.getMatchIndex=e}}),mr=D({"node_modules/yaml-unist-parser/lib/transforms/document-body.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=fr(),c=Ae(),h=Xe(),d=Fe();function y(w,E,T){var I,C=w.cstNode,q=M(C,E,T),R=q.comments,B=q.endComments,U=q.documentTrailingComment,f=q.documentHeadTrailingComment,i=E.transformNode(w.contents),t=k(C,i,E),n=t.position,a=t.documentEndPoint;return(I=E.comments).push.apply(I,e.__spreadArrays(R,B)),{documentBody:r.createDocumentBody(n,i,B),documentEndPoint:a,documentTrailingComment:U,documentHeadTrailingComment:f}}s.transformDocumentBody=y;function M(w,E,T){for(var I=[],C=[],q=[],R=[],B=!1,U=w.contents.length-1;U>=0;U--){var f=w.contents[U];if(f.type==="COMMENT"){var i=E.transformNode(f);T&&T.line===i.position.start.line?R.unshift(i):B?I.unshift(i):i.position.start.offset>=w.valueRange.origEnd?q.unshift(i):I.unshift(i)}else B=!0}if(q.length>1)throw new Error("Unexpected multiple document trailing comments at "+d.getPointText(q[1].position.start));if(R.length>1)throw new Error("Unexpected multiple documentHead trailing comments at "+d.getPointText(R[1].position.start));return{comments:I,endComments:C,documentTrailingComment:c.getLast(q)||null,documentHeadTrailingComment:c.getLast(R)||null}}function k(w,E,T){var I=h.getMatchIndex(T.text.slice(w.valueRange.origEnd),/^\.\.\./),C=I===-1?w.valueRange.origEnd:Math.max(0,w.valueRange.origEnd-1);T.text[C-1]==="\r"&&C--;var q=T.transformRange({origStart:E!==null?E.position.start.offset:C,origEnd:C}),R=I===-1?q.end:T.transformOffset(w.valueRange.origEnd+3);return{position:q,documentEndPoint:R}}}}),dr=D({"node_modules/yaml-unist-parser/lib/factories/document-head.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Ee(),c=me(),h=$e();function d(y,M,k,w){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("documentHead",y)),r.createEndCommentAttachable(k)),h.createTrailingCommentAttachable(w)),{children:M})}s.createDocumentHead=d}}),hr=D({"node_modules/yaml-unist-parser/lib/transforms/document-head.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=dr(),c=Xe();function h(M,k){var w,E=M.cstNode,T=d(E,k),I=T.directives,C=T.comments,q=T.endComments,R=y(E,I,k),B=R.position,U=R.endMarkerPoint;(w=k.comments).push.apply(w,e.__spreadArrays(C,q));var f=function(i){return i&&k.comments.push(i),r.createDocumentHead(B,I,q,i)};return{createDocumentHeadWithTrailingComment:f,documentHeadEndMarkerPoint:U}}s.transformDocumentHead=h;function d(M,k){for(var w=[],E=[],T=[],I=!1,C=M.directives.length-1;C>=0;C--){var q=k.transformNode(M.directives[C]);q.type==="comment"?I?E.unshift(q):T.unshift(q):(I=!0,w.unshift(q))}return{directives:w,comments:E,endComments:T}}function y(M,k,w){var E=c.getMatchIndex(w.text.slice(0,M.valueRange.origStart),/---\s*$/);E>0&&!/[\r\n]/.test(w.text[E-1])&&(E=-1);var T=E===-1?{origStart:M.valueRange.origStart,origEnd:M.valueRange.origStart}:{origStart:E,origEnd:E+3};return k.length!==0&&(T.origStart=k[0].position.start.offset),{position:w.transformRange(T),endMarkerPoint:E===-1?null:w.transformOffset(E)}}}}),pr=D({"node_modules/yaml-unist-parser/lib/transforms/document.js"(s){"use strict";Y(),s.__esModule=!0;var e=ur(),r=Le(),c=mr(),h=hr();function d(y,M){var k=h.transformDocumentHead(y,M),w=k.createDocumentHeadWithTrailingComment,E=k.documentHeadEndMarkerPoint,T=c.transformDocumentBody(y,M,E),I=T.documentBody,C=T.documentEndPoint,q=T.documentTrailingComment,R=T.documentHeadTrailingComment,B=w(R);return q&&M.comments.push(q),e.createDocument(r.createPosition(B.position.start,C),B,I,q)}s.transformDocument=d}}),et=D({"node_modules/yaml-unist-parser/lib/factories/flow-collection.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Se(),c=Ee(),h=me();function d(y,M,k){return e.__assign(e.__assign(e.__assign(e.__assign(e.__assign({},h.createNode("flowCollection",y)),r.createCommentAttachable()),c.createEndCommentAttachable()),M),{children:k})}s.createFlowCollection=d}}),gr=D({"node_modules/yaml-unist-parser/lib/factories/flow-mapping.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=et();function c(h,d,y){return e.__assign(e.__assign({},r.createFlowCollection(h,d,y)),{type:"flowMapping"})}s.createFlowMapping=c}}),tt=D({"node_modules/yaml-unist-parser/lib/factories/flow-mapping-item.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Oe(),c=me();function h(d,y,M){return e.__assign(e.__assign(e.__assign({},c.createNode("flowMappingItem",d)),r.createLeadingCommentAttachable()),{children:[y,M]})}s.createFlowMappingItem=h}}),Be=D({"node_modules/yaml-unist-parser/lib/utils/extract-comments.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c){for(var h=[],d=0,y=r;d<y.length;d++){var M=y[d];M&&"type"in M&&M.type==="COMMENT"?c.comments.push(c.transformNode(M)):h.push(M)}return h}s.extractComments=e}}),rt=D({"node_modules/yaml-unist-parser/lib/utils/get-flow-map-item-additional-ranges.js"(s){"use strict";Y(),s.__esModule=!0;function e(r){var c=["?",":"].map(function(y){var M=r.find(function(k){return"char"in k&&k.char===y});return M?{origStart:M.origOffset,origEnd:M.origOffset+1}:null}),h=c[0],d=c[1];return{additionalKeyRange:h,additionalValueRange:d}}s.getFlowMapItemAdditionalRanges=e}}),nt=D({"node_modules/yaml-unist-parser/lib/utils/create-slicer.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c){var h=c;return function(d){return r.slice(h,h=d)}}s.createSlicer=e}}),st=D({"node_modules/yaml-unist-parser/lib/utils/group-cst-flow-collection-items.js"(s){"use strict";Y(),s.__esModule=!0;var e=nt();function r(c){for(var h=[],d=e.createSlicer(c,1),y=!1,M=1;M<c.length-1;M++){var k=c[M];if("char"in k&&k.char===","){h.push(d(M)),d(M+1),y=!1;continue}y=!0}return y&&h.push(d(c.length-1)),h}s.groupCstFlowCollectionItems=r}}),_r=D({"node_modules/yaml-unist-parser/lib/factories/mapping-key.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Ee(),c=me(),h=$e();function d(y,M){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("mappingKey",y)),h.createTrailingCommentAttachable()),r.createEndCommentAttachable()),{children:M?[M]:[]})}s.createMappingKey=d}}),vr=D({"node_modules/yaml-unist-parser/lib/factories/mapping-value.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Se(),c=Ee(),h=me();function d(y,M){return e.__assign(e.__assign(e.__assign(e.__assign({},h.createNode("mappingValue",y)),r.createCommentAttachable()),c.createEndCommentAttachable()),{children:M?[M]:[]})}s.createMappingValue=d}}),Qe=D({"node_modules/yaml-unist-parser/lib/transforms/pair.js"(s){"use strict";Y(),s.__esModule=!0;var e=_r(),r=vr(),c=Le();function h(d,y,M,k,w){var E=y.transformNode(d.key),T=y.transformNode(d.value),I=E||k?e.createMappingKey(y.transformRange({origStart:k?k.origStart:E.position.start.offset,origEnd:E?E.position.end.offset:k.origStart+1}),E):null,C=T||w?r.createMappingValue(y.transformRange({origStart:w?w.origStart:T.position.start.offset,origEnd:T?T.position.end.offset:w.origStart+1}),T):null;return M(c.createPosition(I?I.position.start:C.position.start,C?C.position.end:I.position.end),I||e.createMappingKey(c.createEmptyPosition(C.position.start),null),C||r.createMappingValue(c.createEmptyPosition(I.position.end),null))}s.transformAstPair=h}}),yr=D({"node_modules/yaml-unist-parser/lib/transforms/flow-map.js"(s){"use strict";Y(),s.__esModule=!0;var e=gr(),r=tt(),c=Be(),h=rt(),d=Ae(),y=st(),M=Qe();function k(w,E){var T=c.extractComments(w.cstNode.items,E),I=y.groupCstFlowCollectionItems(T),C=w.items.map(function(B,U){var f=I[U],i=h.getFlowMapItemAdditionalRanges(f),t=i.additionalKeyRange,n=i.additionalValueRange;return M.transformAstPair(B,E,r.createFlowMappingItem,t,n)}),q=T[0],R=d.getLast(T);return e.createFlowMapping(E.transformRange({origStart:q.origOffset,origEnd:R.origOffset+1}),E.transformContent(w),C)}s.transformFlowMap=k}}),br=D({"node_modules/yaml-unist-parser/lib/factories/flow-sequence.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=et();function c(h,d,y){return e.__assign(e.__assign({},r.createFlowCollection(h,d,y)),{type:"flowSequence"})}s.createFlowSequence=c}}),wr=D({"node_modules/yaml-unist-parser/lib/factories/flow-sequence-item.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=me();function c(h,d){return e.__assign(e.__assign({},r.createNode("flowSequenceItem",h)),{children:[d]})}s.createFlowSequenceItem=c}}),Sr=D({"node_modules/yaml-unist-parser/lib/transforms/flow-seq.js"(s){"use strict";Y(),s.__esModule=!0;var e=tt(),r=br(),c=wr(),h=Le(),d=Be(),y=rt(),M=Ae(),k=st(),w=Qe();function E(T,I){var C=d.extractComments(T.cstNode.items,I),q=k.groupCstFlowCollectionItems(C),R=T.items.map(function(f,i){if(f.type!=="PAIR"){var t=I.transformNode(f);return c.createFlowSequenceItem(h.createPosition(t.position.start,t.position.end),t)}else{var n=q[i],a=y.getFlowMapItemAdditionalRanges(n),m=a.additionalKeyRange,p=a.additionalValueRange;return w.transformAstPair(f,I,e.createFlowMappingItem,m,p)}}),B=C[0],U=M.getLast(C);return r.createFlowSequence(I.transformRange({origStart:B.origOffset,origEnd:U.origOffset+1}),I.transformContent(T),R)}s.transformFlowSeq=E}}),Er=D({"node_modules/yaml-unist-parser/lib/factories/mapping.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Oe(),c=me();function h(d,y,M){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("mapping",d)),r.createLeadingCommentAttachable()),y),{children:M})}s.createMapping=h}}),Mr=D({"node_modules/yaml-unist-parser/lib/factories/mapping-item.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Oe(),c=me();function h(d,y,M){return e.__assign(e.__assign(e.__assign({},c.createNode("mappingItem",d)),r.createLeadingCommentAttachable()),{children:[y,M]})}s.createMappingItem=h}}),Or=D({"node_modules/yaml-unist-parser/lib/transforms/map.js"(s){"use strict";Y(),s.__esModule=!0;var e=Er(),r=Mr(),c=Le(),h=nt(),d=Be(),y=Ve(),M=Ae(),k=Qe();function w(T,I){var C=T.cstNode;C.items.filter(function(U){return U.type==="MAP_KEY"||U.type==="MAP_VALUE"}).forEach(function(U){return y.extractPropComments(U,I)});var q=d.extractComments(C.items,I),R=E(q),B=T.items.map(function(U,f){var i=R[f],t=i[0].type==="MAP_VALUE"?[null,i[0].range]:[i[0].range,i.length===1?null:i[1].range],n=t[0],a=t[1];return k.transformAstPair(U,I,r.createMappingItem,n,a)});return e.createMapping(c.createPosition(B[0].position.start,M.getLast(B).position.end),I.transformContent(T),B)}s.transformMap=w;function E(T){for(var I=[],C=h.createSlicer(T,0),q=!1,R=0;R<T.length;R++){var B=T[R];if(B.type==="MAP_VALUE"){I.push(C(R+1)),q=!1;continue}q&&I.push(C(R)),q=!0}return q&&I.push(C(1/0)),I}}}),Lr=D({"node_modules/yaml-unist-parser/lib/factories/plain.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Se(),c=me();function h(d,y,M){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("plain",d)),r.createCommentAttachable()),y),{value:M})}s.createPlain=h}}),Ar=D({"node_modules/yaml-unist-parser/lib/utils/find-last-char-index.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c,h){for(var d=c;d>=0;d--)if(h.test(r[d]))return d;return-1}s.findLastCharIndex=e}}),Nr=D({"node_modules/yaml-unist-parser/lib/transforms/plain.js"(s){"use strict";Y(),s.__esModule=!0;var e=Lr(),r=Ar();function c(h,d){var y=h.cstNode;return e.createPlain(d.transformRange({origStart:y.valueRange.origStart,origEnd:r.findLastCharIndex(d.text,y.valueRange.origEnd-1,/\S/)+1}),d.transformContent(h),y.strValue)}s.transformPlain=c}}),Tr=D({"node_modules/yaml-unist-parser/lib/factories/quote-double.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te));function r(c){return e.__assign(e.__assign({},c),{type:"quoteDouble"})}s.createQuoteDouble=r}}),Cr=D({"node_modules/yaml-unist-parser/lib/factories/quote-value.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Se(),c=me();function h(d,y,M){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("quoteValue",d)),y),r.createCommentAttachable()),{value:M})}s.createQuoteValue=h}}),it=D({"node_modules/yaml-unist-parser/lib/transforms/quote-value.js"(s){"use strict";Y(),s.__esModule=!0;var e=Cr();function r(c,h){var d=c.cstNode;return e.createQuoteValue(h.transformRange(d.valueRange),h.transformContent(c),d.strValue)}s.transformAstQuoteValue=r}}),kr=D({"node_modules/yaml-unist-parser/lib/transforms/quote-double.js"(s){"use strict";Y(),s.__esModule=!0;var e=Tr(),r=it();function c(h,d){return e.createQuoteDouble(r.transformAstQuoteValue(h,d))}s.transformQuoteDouble=c}}),Pr=D({"node_modules/yaml-unist-parser/lib/factories/quote-single.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te));function r(c){return e.__assign(e.__assign({},c),{type:"quoteSingle"})}s.createQuoteSingle=r}}),Ir=D({"node_modules/yaml-unist-parser/lib/transforms/quote-single.js"(s){"use strict";Y(),s.__esModule=!0;var e=Pr(),r=it();function c(h,d){return e.createQuoteSingle(r.transformAstQuoteValue(h,d))}s.transformQuoteSingle=c}}),Rr=D({"node_modules/yaml-unist-parser/lib/factories/sequence.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Ee(),c=Oe(),h=me();function d(y,M,k){return e.__assign(e.__assign(e.__assign(e.__assign(e.__assign({},h.createNode("sequence",y)),c.createLeadingCommentAttachable()),r.createEndCommentAttachable()),M),{children:k})}s.createSequence=d}}),qr=D({"node_modules/yaml-unist-parser/lib/factories/sequence-item.js"(s){"use strict";Y(),s.__esModule=!0;var e=(ie(),se(te)),r=Se(),c=Ee(),h=me();function d(y,M){return e.__assign(e.__assign(e.__assign(e.__assign({},h.createNode("sequenceItem",y)),r.createCommentAttachable()),c.createEndCommentAttachable()),{children:M?[M]:[]})}s.createSequenceItem=d}}),$r=D({"node_modules/yaml-unist-parser/lib/transforms/seq.js"(s){"use strict";Y(),s.__esModule=!0;var e=Le(),r=Rr(),c=qr(),h=Be(),d=Ve(),y=Ae();function M(k,w){var E=h.extractComments(k.cstNode.items,w),T=E.map(function(I,C){d.extractPropComments(I,w);var q=w.transformNode(k.items[C]);return c.createSequenceItem(e.createPosition(w.transformOffset(I.valueRange.origStart),q===null?w.transformOffset(I.valueRange.origStart+1):q.position.end),q)});return r.createSequence(e.createPosition(T[0].position.start,y.getLast(T).position.end),w.transformContent(k),T)}s.transformSeq=M}}),Br=D({"node_modules/yaml-unist-parser/lib/transform.js"(s){"use strict";Y(),s.__esModule=!0;var e=Zt(),r=sr(),c=ar(),h=or(),d=cr(),y=pr(),M=yr(),k=Sr(),w=Or(),E=Nr(),T=kr(),I=Ir(),C=$r();function q(R,B){if(R===null||R.type===void 0&&R.value===null)return null;switch(R.type){case"ALIAS":return e.transformAlias(R,B);case"BLOCK_FOLDED":return r.transformBlockFolded(R,B);case"BLOCK_LITERAL":return c.transformBlockLiteral(R,B);case"COMMENT":return h.transformComment(R,B);case"DIRECTIVE":return d.transformDirective(R,B);case"DOCUMENT":return y.transformDocument(R,B);case"FLOW_MAP":return M.transformFlowMap(R,B);case"FLOW_SEQ":return k.transformFlowSeq(R,B);case"MAP":return w.transformMap(R,B);case"PLAIN":return E.transformPlain(R,B);case"QUOTE_DOUBLE":return T.transformQuoteDouble(R,B);case"QUOTE_SINGLE":return I.transformQuoteSingle(R,B);case"SEQ":return C.transformSeq(R,B);default:throw new Error("Unexpected node type "+R.type)}}s.transformNode=q}}),jr=D({"node_modules/yaml-unist-parser/lib/factories/error.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c,h){var d=new SyntaxError(r);return d.name="YAMLSyntaxError",d.source=c,d.position=h,d}s.createError=e}}),Yr=D({"node_modules/yaml-unist-parser/lib/transforms/error.js"(s){"use strict";Y(),s.__esModule=!0;var e=jr();function r(c,h){var d=c.source.range||c.source.valueRange;return e.createError(c.message,h.text,h.transformRange(d))}s.transformError=r}}),Dr=D({"node_modules/yaml-unist-parser/lib/factories/point.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c,h){return{offset:r,line:c,column:h}}s.createPoint=e}}),Fr=D({"node_modules/yaml-unist-parser/lib/transforms/offset.js"(s){"use strict";Y(),s.__esModule=!0;var e=Dr();function r(c,h){c<0?c=0:c>h.text.length&&(c=h.text.length);var d=h.locator.locationForIndex(c);return e.createPoint(c,d.line+1,d.column+1)}s.transformOffset=r}}),Wr=D({"node_modules/yaml-unist-parser/lib/transforms/range.js"(s){"use strict";Y(),s.__esModule=!0;var e=Le();function r(c,h){return e.createPosition(h.transformOffset(c.origStart),h.transformOffset(c.origEnd))}s.transformRange=r}}),Vr=D({"node_modules/yaml-unist-parser/lib/utils/add-orig-range.js"(s){"use strict";Y(),s.__esModule=!0;var e=!0;function r(y){if(!y.setOrigRanges()){var M=function(k){if(h(k))return k.origStart=k.start,k.origEnd=k.end,e;if(d(k))return k.origOffset=k.offset,e};y.forEach(function(k){return c(k,M)})}}s.addOrigRange=r;function c(y,M){if(!(!y||typeof y!="object")&&M(y)!==e)for(var k=0,w=Object.keys(y);k<w.length;k++){var E=w[k];if(!(E==="context"||E==="error")){var T=y[E];Array.isArray(T)?T.forEach(function(I){return c(I,M)}):c(T,M)}}}function h(y){return typeof y.start=="number"}function d(y){return typeof y.offset=="number"}}}),Qr=D({"node_modules/yaml-unist-parser/lib/utils/remove-fake-nodes.js"(s){"use strict";Y(),s.__esModule=!0;function e(r){if("children"in r){if(r.children.length===1){var c=r.children[0];if(c.type==="plain"&&c.tag===null&&c.anchor===null&&c.value==="")return r.children.splice(0,1),r}r.children.forEach(e)}return r}s.removeFakeNodes=e}}),Ur=D({"node_modules/yaml-unist-parser/lib/utils/create-updater.js"(s){"use strict";Y(),s.__esModule=!0;function e(r,c,h,d){var y=c(r);return function(M){d(y,M)&&h(r,y=M)}}s.createUpdater=e}}),Kr=D({"node_modules/yaml-unist-parser/lib/utils/update-positions.js"(s){"use strict";Y(),s.__esModule=!0;var e=Ur(),r=Ae();function c(E){if(!(E===null||!("children"in E))){var T=E.children;if(T.forEach(c),E.type==="document"){var I=E.children,C=I[0],q=I[1];C.position.start.offset===C.position.end.offset?C.position.start=C.position.end=q.position.start:q.position.start.offset===q.position.end.offset&&(q.position.start=q.position.end=C.position.end)}var R=e.createUpdater(E.position,h,d,k),B=e.createUpdater(E.position,y,M,w);"endComments"in E&&E.endComments.length!==0&&(R(E.endComments[0].position.start),B(r.getLast(E.endComments).position.end));var U=T.filter(function(t){return t!==null});if(U.length!==0){var f=U[0],i=r.getLast(U);R(f.position.start),B(i.position.end),"leadingComments"in f&&f.leadingComments.length!==0&&R(f.leadingComments[0].position.start),"tag"in f&&f.tag&&R(f.tag.position.start),"anchor"in f&&f.anchor&&R(f.anchor.position.start),"trailingComment"in i&&i.trailingComment&&B(i.trailingComment.position.end)}}}s.updatePositions=c;function h(E){return E.start}function d(E,T){E.start=T}function y(E){return E.end}function M(E,T){E.end=T}function k(E,T){return T.offset<E.offset}function w(E,T){return T.offset>E.offset}}}),Me=D({"node_modules/yaml/dist/PlainValue-ec8e588e.js"(s){"use strict";Y();var e={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},r={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"},c="tag:yaml.org,2002:",h={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function d(i){let t=[0],n=i.indexOf(`
`);for(;n!==-1;)n+=1,t.push(n),n=i.indexOf(`
`,n);return t}function y(i){let t,n;return typeof i=="string"?(t=d(i),n=i):(Array.isArray(i)&&(i=i[0]),i&&i.context&&(i.lineStarts||(i.lineStarts=d(i.context.src)),t=i.lineStarts,n=i.context.src)),{lineStarts:t,src:n}}function M(i,t){if(typeof i!="number"||i<0)return null;let{lineStarts:n,src:a}=y(t);if(!n||!a||i>a.length)return null;for(let p=0;p<n.length;++p){let u=n[p];if(i<u)return{line:p,col:i-n[p-1]+1};if(i===u)return{line:p+1,col:1}}let m=n.length;return{line:m,col:i-n[m-1]+1}}function k(i,t){let{lineStarts:n,src:a}=y(t);if(!n||!(i>=1)||i>n.length)return null;let m=n[i-1],p=n[i];for(;p&&p>m&&a[p-1]===`
`;)--p;return a.slice(m,p)}function w(i,t){let{start:n,end:a}=i,m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:80,p=k(n.line,t);if(!p)return null;let{col:u}=n;if(p.length>m)if(u<=m-10)p=p.substr(0,m-1)+"\u2026";else{let K=Math.round(m/2);p.length>u+K&&(p=p.substr(0,u+K-1)+"\u2026"),u-=p.length-m,p="\u2026"+p.substr(1-m)}let g=1,L="";a&&(a.line===n.line&&u+(a.col-n.col)<=m+1?g=a.col-n.col:(g=Math.min(p.length+1,m)-u,L="\u2026"));let P=u>1?" ".repeat(u-1):"",$="^".repeat(g);return`${p}
${P}${$}${L}`}var E=class{static copy(i){return new E(i.start,i.end)}constructor(i,t){this.start=i,this.end=t||i}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(i,t){let{start:n,end:a}=this;if(i.length===0||a<=i[0])return this.origStart=n,this.origEnd=a,t;let m=t;for(;m<i.length&&!(i[m]>n);)++m;this.origStart=n+m;let p=m;for(;m<i.length&&!(i[m]>=a);)++m;return this.origEnd=a+m,p}},T=class{static addStringTerminator(i,t,n){if(n[n.length-1]===`
`)return n;let a=T.endOfWhiteSpace(i,t);return a>=i.length||i[a]===`
`?n+`
`:n}static atDocumentBoundary(i,t,n){let a=i[t];if(!a)return!0;let m=i[t-1];if(m&&m!==`
`)return!1;if(n){if(a!==n)return!1}else if(a!==e.DIRECTIVES_END&&a!==e.DOCUMENT_END)return!1;let p=i[t+1],u=i[t+2];if(p!==a||u!==a)return!1;let g=i[t+3];return!g||g===`
`||g===" "||g===" "}static endOfIdentifier(i,t){let n=i[t],a=n==="<",m=a?[`
`," "," ",">"]:[`
`," "," ","[","]","{","}",","];for(;n&&m.indexOf(n)===-1;)n=i[t+=1];return a&&n===">"&&(t+=1),t}static endOfIndent(i,t){let n=i[t];for(;n===" ";)n=i[t+=1];return t}static endOfLine(i,t){let n=i[t];for(;n&&n!==`
`;)n=i[t+=1];return t}static endOfWhiteSpace(i,t){let n=i[t];for(;n===" "||n===" ";)n=i[t+=1];return t}static startOfLine(i,t){let n=i[t-1];if(n===`
`)return t;for(;n&&n!==`
`;)n=i[t-=1];return t+1}static endOfBlockIndent(i,t,n){let a=T.endOfIndent(i,n);if(a>n+t)return a;{let m=T.endOfWhiteSpace(i,a),p=i[m];if(!p||p===`
`)return m}return null}static atBlank(i,t,n){let a=i[t];return a===`
`||a===" "||a===" "||n&&!a}static nextNodeIsIndented(i,t,n){return!i||t<0?!1:t>0?!0:n&&i==="-"}static normalizeOffset(i,t){let n=i[t];return n?n!==`
`&&i[t-1]===`
`?t-1:T.endOfWhiteSpace(i,t):t}static foldNewline(i,t,n){let a=0,m=!1,p="",u=i[t+1];for(;u===" "||u===" "||u===`
`;){switch(u){case`
`:a=0,t+=1,p+=`
`;break;case" ":a<=n&&(m=!0),t=T.endOfWhiteSpace(i,t+2)-1;break;case" ":a+=1,t+=1;break}u=i[t+1]}return p||(p=" "),u&&a<=n&&(m=!0),{fold:p,offset:t,error:m}}constructor(i,t,n){Object.defineProperty(this,"context",{value:n||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=t||[],this.type=i,this.value=null}getPropValue(i,t,n){if(!this.context)return null;let{src:a}=this.context,m=this.props[i];return m&&a[m.start]===t?a.slice(m.start+(n?1:0),m.end):null}get anchor(){for(let i=0;i<this.props.length;++i){let t=this.getPropValue(i,e.ANCHOR,!0);if(t!=null)return t}return null}get comment(){let i=[];for(let t=0;t<this.props.length;++t){let n=this.getPropValue(t,e.COMMENT,!0);n!=null&&i.push(n)}return i.length>0?i.join(`
`):null}commentHasRequiredWhitespace(i){let{src:t}=this.context;if(this.header&&i===this.header.end||!this.valueRange)return!1;let{end:n}=this.valueRange;return i!==n||T.atBlank(t,n-1)}get hasComment(){if(this.context){let{src:i}=this.context;for(let t=0;t<this.props.length;++t)if(i[this.props[t].start]===e.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:i}=this.context;for(let t=0;t<this.props.length;++t)if(i[this.props[t].start]!==e.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[r.FLOW_MAP,r.FLOW_SEQ,r.QUOTE_DOUBLE,r.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let i=M(this.range.start,this.context.root);if(!i)return;let t=M(this.range.end,this.context.root);return{start:i,end:t}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:i,end:t}=this.valueRange;return this.context.src.slice(i,t)}get tag(){for(let i=0;i<this.props.length;++i){let t=this.getPropValue(i,e.TAG,!1);if(t!=null){if(t[1]==="<")return{verbatim:t.slice(2,-1)};{let[n,a,m]=t.match(/^(.*!)([^!]*)$/);return{handle:a,suffix:m}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:i,end:t}=this.valueRange,{src:n}=this.context;for(let a=i;a<t;++a)if(n[a]===`
`)return!0;return!1}parseComment(i){let{src:t}=this.context;if(t[i]===e.COMMENT){let n=T.endOfLine(t,i+1),a=new E(i,n);return this.props.push(a),n}return i}setOrigRanges(i,t){return this.range&&(t=this.range.setOrigRange(i,t)),this.valueRange&&this.valueRange.setOrigRange(i,t),this.props.forEach(n=>n.setOrigRange(i,t)),t}toString(){let{context:{src:i},range:t,value:n}=this;if(n!=null)return n;let a=i.slice(t.start,t.end);return T.addStringTerminator(i,t.end,a)}},I=class extends Error{constructor(i,t,n){if(!n||!(t instanceof T))throw new Error(`Invalid arguments for new ${i}`);super(),this.name=i,this.message=n,this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let i=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new E(this.offset,this.offset+1);let t=i&&M(this.offset,i);if(t){let n={line:t.line,col:t.col+1};this.linePos={start:t,end:n}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:t,col:n}=this.linePos.start;this.message+=` at line ${t}, column ${n}`;let a=i&&w(this.linePos,i);a&&(this.message+=`:
${a}
`)}delete this.source}},C=class extends I{constructor(i,t){super("YAMLReferenceError",i,t)}},q=class extends I{constructor(i,t){super("YAMLSemanticError",i,t)}},R=class extends I{constructor(i,t){super("YAMLSyntaxError",i,t)}},B=class extends I{constructor(i,t){super("YAMLWarning",i,t)}};function U(i,t,n){return t in i?Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[t]=n,i}var f=class extends T{static endOfLine(i,t,n){let a=i[t],m=t;for(;a&&a!==`
`&&!(n&&(a==="["||a==="]"||a==="{"||a==="}"||a===","));){let p=i[m+1];if(a===":"&&(!p||p===`
`||p===" "||p===" "||n&&p===",")||(a===" "||a===" ")&&p==="#")break;m+=1,a=p}return m}get strValue(){if(!this.valueRange||!this.context)return null;let{start:i,end:t}=this.valueRange,{src:n}=this.context,a=n[t-1];for(;i<t&&(a===`
`||a===" "||a===" ");)a=n[--t-1];let m="";for(let u=i;u<t;++u){let g=n[u];if(g===`
`){let{fold:L,offset:P}=T.foldNewline(n,u,-1);m+=L,u=P}else if(g===" "||g===" "){let L=u,P=n[u+1];for(;u<t&&(P===" "||P===" ");)u+=1,P=n[u+1];P!==`
`&&(m+=u>L?n.slice(L,u+1):g)}else m+=g}let p=n[i];switch(p){case" ":{let u="Plain value cannot start with a tab character";return{errors:[new q(this,u)],str:m}}case"@":case"`":{let u=`Plain value cannot start with reserved character ${p}`;return{errors:[new q(this,u)],str:m}}default:return m}}parseBlockValue(i){let{indent:t,inFlow:n,src:a}=this.context,m=i,p=i;for(let u=a[m];u===`
`&&!T.atDocumentBoundary(a,m+1);u=a[m]){let g=T.endOfBlockIndent(a,t,m+1);if(g===null||a[g]==="#")break;a[g]===`
`?m=g:(p=f.endOfLine(a,g,n),m=p)}return this.valueRange.isEmpty()&&(this.valueRange.start=i),this.valueRange.end=p,p}parse(i,t){this.context=i;let{inFlow:n,src:a}=i,m=t,p=a[m];return p&&p!=="#"&&p!==`
`&&(m=f.endOfLine(a,t,n)),this.valueRange=new E(t,m),m=T.endOfWhiteSpace(a,m),m=this.parseComment(m),(!this.hasComment||this.valueRange.isEmpty())&&(m=this.parseBlockValue(m)),m}};s.Char=e,s.Node=T,s.PlainValue=f,s.Range=E,s.Type=r,s.YAMLError=I,s.YAMLReferenceError=C,s.YAMLSemanticError=q,s.YAMLSyntaxError=R,s.YAMLWarning=B,s._defineProperty=U,s.defaultTagPrefix=c,s.defaultTags=h}}),Jr=D({"node_modules/yaml/dist/parse-cst.js"(s){"use strict";Y();var e=Me(),r=class extends e.Node{constructor(){super(e.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(f,i){return this.context=f,this.range=new e.Range(i,i+1),i+1}},c=class extends e.Node{constructor(f,i){super(f,i),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(f,i){this.context=f;let{parseNode:t,src:n}=f,{atLineStart:a,lineStart:m}=f;!a&&this.type===e.Type.SEQ_ITEM&&(this.error=new e.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let p=a?i-m:f.indent,u=e.Node.endOfWhiteSpace(n,i+1),g=n[u],L=g==="#",P=[],$=null;for(;g===`
`||g==="#";){if(g==="#"){let V=e.Node.endOfLine(n,u+1);P.push(new e.Range(u,V)),u=V}else{a=!0,m=u+1;let V=e.Node.endOfWhiteSpace(n,m);n[V]===`
`&&P.length===0&&($=new r,m=$.parse({src:n},m)),u=e.Node.endOfIndent(n,m)}g=n[u]}if(e.Node.nextNodeIsInd