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