UNPKG

prettier

Version:

Prettier is an opinionated code formatter

38 lines (36 loc) 130 kB
(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=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var ur=wt((mr,lt)=>{var De=Object.defineProperty,St=Object.getOwnPropertyDescriptor,Fe=Object.getOwnPropertyNames,Et=Object.prototype.hasOwnProperty,xe=(r,e)=>function(){return r&&(e=(0,r[Fe(r)[0]])(r=0)),e},F=(r,e)=>function(){return e||(0,r[Fe(r)[0]])((e={exports:{}}).exports,e),e.exports},Mt=(r,e)=>{for(var n in e)De(r,n,{get:e[n],enumerable:!0})},Ot=(r,e,n,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let h of Fe(e))!Et.call(r,h)&&h!==n&&De(r,h,{get:()=>e[h],enumerable:!(c=St(e,h))||c.enumerable});return r},se=r=>Ot(De({},"__esModule",{value:!0}),r),Ke,$e,Te,D=xe({"<define:process>"(){Ke={},$e=[],Te={env:Ke,argv:$e}}}),Lt=F({"src/common/parser-create-error.js"(r,e){"use strict";D();function n(c,h){let d=new SyntaxError(c+" ("+h.start.line+":"+h.start.column+")");return d.loc=h,d}e.exports=n}}),At=F({"src/language-yaml/pragma.js"(r,e){"use strict";D();function n(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 `.concat(d)}e.exports={isPragma:n,hasPragma:c,insertPragma:h}}}),Nt=F({"src/language-yaml/loc.js"(r,e){"use strict";D();function n(h){return h.position.start.offset}function c(h){return h.position.end.offset}e.exports={locStart:n,locEnd:c}}}),te={};Mt(te,{__assign:()=>qe,__asyncDelegator:()=>Wt,__asyncGenerator:()=>Ft,__asyncValues:()=>Vt,__await:()=>Ce,__awaiter:()=>Rt,__classPrivateFieldGet:()=>$t,__classPrivateFieldSet:()=>Jt,__createBinding:()=>Bt,__decorate:()=>kt,__exportStar:()=>jt,__extends:()=>Tt,__generator:()=>qt,__importDefault:()=>Kt,__importStar:()=>Ut,__makeTemplateObject:()=>Qt,__metadata:()=>It,__param:()=>Pt,__read:()=>He,__rest:()=>Ct,__spread:()=>Yt,__spreadArrays:()=>Dt,__values:()=>Ye});function Tt(r,e){Re(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function Ct(r,e){var n={};for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&e.indexOf(c)<0&&(n[c]=r[c]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,c=Object.getOwnPropertySymbols(r);h<c.length;h++)e.indexOf(c[h])<0&&Object.prototype.propertyIsEnumerable.call(r,c[h])&&(n[c[h]]=r[c[h]]);return n}function kt(r,e,n,c){var h=arguments.length,d=h<3?e:c===null?c=Object.getOwnPropertyDescriptor(e,n):c,y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(r,e,n,c);else for(var E=r.length-1;E>=0;E--)(y=r[E])&&(d=(h<3?y(d):h>3?y(e,n,d):y(e,n))||d);return h>3&&d&&Object.defineProperty(e,n,d),d}function Pt(r,e){return function(n,c){e(n,c,r)}}function It(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}function Rt(r,e,n,c){function h(d){return d instanceof n?d:new n(function(y){y(d)})}return new(n||(n=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(r,e||[])).next())})}function qt(r,e){var n={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(;n;)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 n.label++,{value:S[1],done:!1};case 5:n.label++,h=S[1],S=[0];continue;case 7:S=n.ops.pop(),n.trys.pop();continue;default:if(d=n.trys,!(d=d.length>0&&d[d.length-1])&&(S[0]===6||S[0]===2)){n=0;continue}if(S[0]===3&&(!d||S[1]>d[0]&&S[1]<d[3])){n.label=S[1];break}if(S[0]===6&&n.label<d[1]){n.label=d[1],d=S;break}if(d&&n.label<d[2]){n.label=d[2],n.ops.push(S);break}d[2]&&n.ops.pop(),n.trys.pop();continue}S=e.call(r,n)}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 Bt(r,e,n,c){c===void 0&&(c=n),r[c]=e[n]}function jt(r,e){for(var n in r)n!=="default"&&!e.hasOwnProperty(n)&&(e[n]=r[n])}function Ye(r){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&r[e],c=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&c>=r.length&&(r=void 0),{value:r&&r[c++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function He(r,e){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var c=n.call(r),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&&(n=c.return)&&n.call(c)}finally{if(y)throw y.error}}return d}function Yt(){for(var r=[],e=0;e<arguments.length;e++)r=r.concat(He(arguments[e]));return r}function Dt(){for(var r=0,e=0,n=arguments.length;e<n;e++)r+=arguments[e].length;for(var c=Array(r),h=0,e=0;e<n;e++)for(var d=arguments[e],y=0,E=d.length;y<E;y++,h++)c[h]=d[y];return c}function Ce(r){return this instanceof Ce?(this.v=r,this):new Ce(r)}function Ft(r,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c=n.apply(r,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 Wt(r){var e,n;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]=r[h]?function(y){return(n=!n)?{value:Ce(r[h](y)),done:h==="return"}:d?d(y):y}:d}}function Vt(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],n;return e?e.call(r):(r=typeof Ye=="function"?Ye(r):r[Symbol.iterator](),n={},c("next"),c("throw"),c("return"),n[Symbol.asyncIterator]=function(){return this},n);function c(d){n[d]=r[d]&&function(y){return new Promise(function(E,I){y=r[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 Qt(r,e){return Object.defineProperty?Object.defineProperty(r,"raw",{value:e}):r.raw=e,r}function Ut(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var n in r)Object.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e.default=r,e}function Kt(r){return r&&r.__esModule?r:{default:r}}function $t(r,e){if(!e.has(r))throw new TypeError("attempted to get private field on non-instance");return e.get(r)}function Jt(r,e,n){if(!e.has(r))throw new TypeError("attempted to set private field on non-instance");return e.set(r,n),n}var Re,qe,ae=xe({"node_modules/tslib/tslib.es6.js"(){D(),Re=function(r,e){return Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,c){n.__proto__=c}||function(n,c){for(var h in c)c.hasOwnProperty(h)&&(n[h]=c[h])},Re(r,e)},qe=function(){return qe=Object.assign||function(e){for(var n,c=1,h=arguments.length;c<h;c++){n=arguments[c];for(var d in n)Object.prototype.hasOwnProperty.call(n,d)&&(e[d]=n[d])}return e},qe.apply(this,arguments)}}}),xt=F({"node_modules/yaml-unist-parser/node_modules/lines-and-columns/build/index.js"(r){"use strict";D(),r.__esModule=!0,r.LinesAndColumns=void 0;var e=` `,n="\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 n:E+=n.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}();r.LinesAndColumns=c,r.default=c}}),Ht=F({"node_modules/yaml-unist-parser/lib/utils/define-parents.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c){c===void 0&&(c=null),"children"in n&&n.children.forEach(function(h){return e(h,n)}),"anchor"in n&&n.anchor&&e(n.anchor,n),"tag"in n&&n.tag&&e(n.tag,n),"leadingComments"in n&&n.leadingComments.forEach(function(h){return e(h,n)}),"middleComments"in n&&n.middleComments.forEach(function(h){return e(h,n)}),"indicatorComment"in n&&n.indicatorComment&&e(n.indicatorComment,n),"trailingComment"in n&&n.trailingComment&&e(n.trailingComment,n),"endComments"in n&&n.endComments.forEach(function(h){return e(h,n)}),Object.defineProperty(n,"_parent",{value:c,enumerable:!1})}r.defineParents=e}}),We=F({"node_modules/yaml-unist-parser/lib/utils/get-point-text.js"(r){"use strict";D(),r.__esModule=!0;function e(n){return n.line+":"+n.column}r.getPointText=e}}),Gt=F({"node_modules/yaml-unist-parser/lib/attach.js"(r){"use strict";D(),r.__esModule=!0;var e=Ht(),n=We();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])})}r.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,j=[C.line].concat(T.line===C.line?[]:T.line),K=0,m=j;K<m.length;K++){var a=m[K],t=S[a-1].trailingNode;(!t||C.column>=t.position.end.column)&&(S[a-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 "+n.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,j=void 0;if(R)j=R;else if(q!==P&&M[q-1].comment)j=M[q-1].comment._parent;else continue;if((j.type==="sequence"||j.type==="mapping")&&(j=j.children[0]),j.type==="mappingItem"){var K=j.children,m=K[0],a=K[1];j=I(m)?m:a}for(;;){if(E(j,S)){e.defineParents(S,j),j.endComments.push(S);return}if(!j._parent)break;j=j._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=F({"node_modules/yaml-unist-parser/lib/factories/node.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c){return{type:n,position:c}}r.createNode=e}}),zt=F({"node_modules/yaml-unist-parser/lib/factories/root.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=me();function c(h,d,y){return e.__assign(e.__assign({},n.createNode("root",h)),{children:d,comments:y})}r.createRoot=c}}),Zt=F({"node_modules/yaml-unist-parser/lib/preprocess.js"(r){"use strict";D(),r.__esModule=!0;function e(n){switch(n.type){case"DOCUMENT":for(var c=n.contents.length-1;c>=0;c--)n.contents[c].type==="BLANK_LINE"?n.contents.splice(c,1):e(n.contents[c]);for(var c=n.directives.length-1;c>=0;c--)n.directives[c].type==="BLANK_LINE"&&n.directives.splice(c,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(var c=n.items.length-1;c>=0;c--){var h=n.items[c];"char"in h||(h.type==="BLANK_LINE"?n.items.splice(c,1):e(h))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":n.node&&e(n.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(n.type))}}r.removeCstBlankLine=e}}),Oe=F({"node_modules/yaml-unist-parser/lib/factories/leading-comment-attachable.js"(r){"use strict";D(),r.__esModule=!0;function e(){return{leadingComments:[]}}r.createLeadingCommentAttachable=e}}),Be=F({"node_modules/yaml-unist-parser/lib/factories/trailing-comment-attachable.js"(r){"use strict";D(),r.__esModule=!0;function e(n){return n===void 0&&(n=null),{trailingComment:n}}r.createTrailingCommentAttachable=e}}),Se=F({"node_modules/yaml-unist-parser/lib/factories/comment-attachable.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Oe(),c=Be();function h(){return e.__assign(e.__assign({},n.createLeadingCommentAttachable()),c.createTrailingCommentAttachable())}r.createCommentAttachable=h}}),Xt=F({"node_modules/yaml-unist-parser/lib/factories/alias.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Se(),c=me();function h(d,y,E){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("alias",d)),n.createCommentAttachable()),y),{value:E})}r.createAlias=h}}),en=F({"node_modules/yaml-unist-parser/lib/transforms/alias.js"(r){"use strict";D(),r.__esModule=!0;var e=Xt();function n(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)}r.transformAlias=n}}),tn=F({"node_modules/yaml-unist-parser/lib/factories/block-folded.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te));function n(c){return e.__assign(e.__assign({},c),{type:"blockFolded"})}r.createBlockFolded=n}}),nn=F({"node_modules/yaml-unist-parser/lib/factories/block-value.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Oe(),c=me();function h(d,y,E,I,S,M){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("blockValue",d)),n.createLeadingCommentAttachable()),y),{chomping:E,indent:I,value:S,indicatorComment:M})}r.createBlockValue=h}}),Ge=F({"node_modules/yaml-unist-parser/lib/constants.js"(r){"use strict";D(),r.__esModule=!0;var e;(function(n){n.Tag="!",n.Anchor="&",n.Comment="#"})(e=r.PropLeadingCharacter||(r.PropLeadingCharacter={}))}}),rn=F({"node_modules/yaml-unist-parser/lib/factories/anchor.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=me();function c(h,d){return e.__assign(e.__assign({},n.createNode("anchor",h)),{value:d})}r.createAnchor=c}}),Ve=F({"node_modules/yaml-unist-parser/lib/factories/comment.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=me();function c(h,d){return e.__assign(e.__assign({},n.createNode("comment",h)),{value:d})}r.createComment=c}}),sn=F({"node_modules/yaml-unist-parser/lib/factories/content.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c,h){return{anchor:c,tag:n,middleComments:h}}r.createContent=e}}),an=F({"node_modules/yaml-unist-parser/lib/factories/tag.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=me();function c(h,d){return e.__assign(e.__assign({},n.createNode("tag",h)),{value:d})}r.createTag=c}}),ze=F({"node_modules/yaml-unist-parser/lib/transforms/content.js"(r){"use strict";D(),r.__esModule=!0;var e=Ge(),n=rn(),c=Ve(),h=sn(),d=an();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,j=M.props;R<j.length;R++){var K=j[R],m=I.text[K.origStart];switch(m){case e.PropLeadingCharacter.Tag:P=P||K,C=d.createTag(I.transformRange(K),E.tag);break;case e.PropLeadingCharacter.Anchor:P=P||K,q=n.createAnchor(I.transformRange(K),M.anchor);break;case e.PropLeadingCharacter.Comment:{var a=c.createComment(I.transformRange(K),I.text.slice(K.origStart+1,K.origEnd));I.comments.push(a),!S(a)&&P&&P.origEnd<=K.origStart&&K.origEnd<=M.valueRange.origStart&&T.push(a);break}default:throw new Error("Unexpected leading character "+JSON.stringify(m))}}return h.createContent(C,q,T)}r.transformContent=y}}),Ze=F({"node_modules/yaml-unist-parser/lib/transforms/block-value.js"(r){"use strict";D(),r.__esModule=!0;var e=nn(),n=We(),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(j){var K=C.start.offset<j.position.start.offset&&j.position.end.offset<C.end.offset;if(!K)return!1;if(q)throw new Error("Unexpected multiple indicator comments at "+n.getPointText(j.position.start));return q=j,!0});return e.createBlockValue(C,R,h[I.chomping],P?I.blockIndent:null,I.strValue,q)}r.transformAstBlockValue=d}}),on=F({"node_modules/yaml-unist-parser/lib/transforms/block-folded.js"(r){"use strict";D(),r.__esModule=!0;var e=tn(),n=Ze();function c(h,d){return e.createBlockFolded(n.transformAstBlockValue(h,d))}r.transformBlockFolded=c}}),ln=F({"node_modules/yaml-unist-parser/lib/factories/block-literal.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te));function n(c){return e.__assign(e.__assign({},c),{type:"blockLiteral"})}r.createBlockLiteral=n}}),cn=F({"node_modules/yaml-unist-parser/lib/transforms/block-literal.js"(r){"use strict";D(),r.__esModule=!0;var e=ln(),n=Ze();function c(h,d){return e.createBlockLiteral(n.transformAstBlockValue(h,d))}r.transformBlockLiteral=c}}),un=F({"node_modules/yaml-unist-parser/lib/transforms/comment.js"(r){"use strict";D(),r.__esModule=!0;var e=Ve();function n(c,h){return e.createComment(h.transformRange(c.range),c.comment)}r.transformComment=n}}),fn=F({"node_modules/yaml-unist-parser/lib/factories/directive.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Se(),c=me();function h(d,y,E){return e.__assign(e.__assign(e.__assign({},c.createNode("directive",d)),n.createCommentAttachable()),{name:y,parameters:E})}r.createDirective=h}}),Qe=F({"node_modules/yaml-unist-parser/lib/utils/extract-prop-comments.js"(r){"use strict";D(),r.__esModule=!0;var e=Ge(),n=Ve();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(n.createComment(d.transformRange(I),d.text.slice(I.origStart+1,I.origEnd)));break;default:throw new Error("Unexpected leading character "+JSON.stringify(S))}}}r.extractPropComments=c}}),mn=F({"node_modules/yaml-unist-parser/lib/transforms/directive.js"(r){"use strict";D(),r.__esModule=!0;var e=fn(),n=Qe();function c(h,d){return n.extractPropComments(h,d),e.createDirective(d.transformRange(h.range),h.name,h.parameters)}r.transformDirective=c}}),dn=F({"node_modules/yaml-unist-parser/lib/factories/document.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=me(),c=Be();function h(d,y,E,I){return e.__assign(e.__assign(e.__assign({},n.createNode("document",d)),c.createTrailingCommentAttachable(I)),{children:[y,E]})}r.createDocument=h}}),Le=F({"node_modules/yaml-unist-parser/lib/factories/position.js"(r){"use strict";D(),r.__esModule=!0;function e(c,h){return{start:c,end:h}}r.createPosition=e;function n(c){return{start:c,end:c}}r.createEmptyPosition=n}}),Ee=F({"node_modules/yaml-unist-parser/lib/factories/end-comment-attachable.js"(r){"use strict";D(),r.__esModule=!0;function e(n){return n===void 0&&(n=[]),{endComments:n}}r.createEndCommentAttachable=e}}),hn=F({"node_modules/yaml-unist-parser/lib/factories/document-body.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Ee(),c=me();function h(d,y,E){return e.__assign(e.__assign(e.__assign({},c.createNode("documentBody",d)),n.createEndCommentAttachable(E)),{children:y?[y]:[]})}r.createDocumentBody=h}}),Ae=F({"node_modules/yaml-unist-parser/lib/utils/get-last.js"(r){"use strict";D(),r.__esModule=!0;function e(n){return n[n.length-1]}r.getLast=e}}),Xe=F({"node_modules/yaml-unist-parser/lib/utils/get-match-index.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c){var h=n.match(c);return h?h.index:-1}r.getMatchIndex=e}}),gn=F({"node_modules/yaml-unist-parser/lib/transforms/document-body.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=hn(),c=Ae(),h=Xe(),d=We();function y(S,M,T){var P,C=S.cstNode,q=E(C,M,T),R=q.comments,j=q.endComments,K=q.documentTrailingComment,m=q.documentHeadTrailingComment,a=M.transformNode(S.contents),t=I(C,a,M),s=t.position,i=t.documentEndPoint;return(P=M.comments).push.apply(P,e.__spreadArrays(R,j)),{documentBody:n.createDocumentBody(s,a,j),documentEndPoint:i,documentTrailingComment:K,documentHeadTrailingComment:m}}r.transformDocumentBody=y;function E(S,M,T){for(var P=[],C=[],q=[],R=[],j=!1,K=S.contents.length-1;K>=0;K--){var m=S.contents[K];if(m.type==="COMMENT"){var a=M.transformNode(m);T&&T.line===a.position.start.line?R.unshift(a):j?P.unshift(a):a.position.start.offset>=S.valueRange.origEnd?q.unshift(a):P.unshift(a)}else j=!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}}}}),pn=F({"node_modules/yaml-unist-parser/lib/factories/document-head.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Ee(),c=me(),h=Be();function d(y,E,I,S){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("documentHead",y)),n.createEndCommentAttachable(I)),h.createTrailingCommentAttachable(S)),{children:E})}r.createDocumentHead=d}}),_n=F({"node_modules/yaml-unist-parser/lib/transforms/document-head.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=pn(),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),j=R.position,K=R.endMarkerPoint;(S=I.comments).push.apply(S,e.__spreadArrays(C,q));var m=function(a){return a&&I.comments.push(a),n.createDocumentHead(j,P,q,a)};return{createDocumentHeadWithTrailingComment:m,documentHeadEndMarkerPoint:K}}r.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)}}}}),vn=F({"node_modules/yaml-unist-parser/lib/transforms/document.js"(r){"use strict";D(),r.__esModule=!0;var e=dn(),n=Le(),c=gn(),h=_n();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,j=S(R);return q&&E.comments.push(q),e.createDocument(n.createPosition(j.position.start,C),j,P,q)}r.transformDocument=d}}),et=F({"node_modules/yaml-unist-parser/lib/factories/flow-collection.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=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)),n.createCommentAttachable()),c.createEndCommentAttachable()),E),{children:I})}r.createFlowCollection=d}}),yn=F({"node_modules/yaml-unist-parser/lib/factories/flow-mapping.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=et();function c(h,d,y){return e.__assign(e.__assign({},n.createFlowCollection(h,d,y)),{type:"flowMapping"})}r.createFlowMapping=c}}),tt=F({"node_modules/yaml-unist-parser/lib/factories/flow-mapping-item.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Oe(),c=me();function h(d,y,E){return e.__assign(e.__assign(e.__assign({},c.createNode("flowMappingItem",d)),n.createLeadingCommentAttachable()),{children:[y,E]})}r.createFlowMappingItem=h}}),je=F({"node_modules/yaml-unist-parser/lib/utils/extract-comments.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c){for(var h=[],d=0,y=n;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}r.extractComments=e}}),nt=F({"node_modules/yaml-unist-parser/lib/utils/get-flow-map-item-additional-ranges.js"(r){"use strict";D(),r.__esModule=!0;function e(n){var c=["?",":"].map(function(y){var E=n.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}}r.getFlowMapItemAdditionalRanges=e}}),rt=F({"node_modules/yaml-unist-parser/lib/utils/create-slicer.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c){var h=c;return function(d){return n.slice(h,h=d)}}r.createSlicer=e}}),st=F({"node_modules/yaml-unist-parser/lib/utils/group-cst-flow-collection-items.js"(r){"use strict";D(),r.__esModule=!0;var e=rt();function n(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}r.groupCstFlowCollectionItems=n}}),bn=F({"node_modules/yaml-unist-parser/lib/factories/mapping-key.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Ee(),c=me(),h=Be();function d(y,E){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("mappingKey",y)),h.createTrailingCommentAttachable()),n.createEndCommentAttachable()),{children:E?[E]:[]})}r.createMappingKey=d}}),wn=F({"node_modules/yaml-unist-parser/lib/factories/mapping-value.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Se(),c=Ee(),h=me();function d(y,E){return e.__assign(e.__assign(e.__assign(e.__assign({},h.createNode("mappingValue",y)),n.createCommentAttachable()),c.createEndCommentAttachable()),{children:E?[E]:[]})}r.createMappingValue=d}}),Ue=F({"node_modules/yaml-unist-parser/lib/transforms/pair.js"(r){"use strict";D(),r.__esModule=!0;var e=bn(),n=wn(),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?n.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||n.createMappingValue(c.createEmptyPosition(P.position.end),null))}r.transformAstPair=h}}),Sn=F({"node_modules/yaml-unist-parser/lib/transforms/flow-map.js"(r){"use strict";D(),r.__esModule=!0;var e=yn(),n=tt(),c=je(),h=nt(),d=Ae(),y=st(),E=Ue();function I(S,M){var T=c.extractComments(S.cstNode.items,M),P=y.groupCstFlowCollectionItems(T),C=S.items.map(function(j,K){var m=P[K],a=h.getFlowMapItemAdditionalRanges(m),t=a.additionalKeyRange,s=a.additionalValueRange;return E.transformAstPair(j,M,n.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)}r.transformFlowMap=I}}),En=F({"node_modules/yaml-unist-parser/lib/factories/flow-sequence.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=et();function c(h,d,y){return e.__assign(e.__assign({},n.createFlowCollection(h,d,y)),{type:"flowSequence"})}r.createFlowSequence=c}}),Mn=F({"node_modules/yaml-unist-parser/lib/factories/flow-sequence-item.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=me();function c(h,d){return e.__assign(e.__assign({},n.createNode("flowSequenceItem",h)),{children:[d]})}r.createFlowSequenceItem=c}}),On=F({"node_modules/yaml-unist-parser/lib/transforms/flow-seq.js"(r){"use strict";D(),r.__esModule=!0;var e=tt(),n=En(),c=Mn(),h=Le(),d=je(),y=nt(),E=Ae(),I=st(),S=Ue();function M(T,P){var C=d.extractComments(T.cstNode.items,P),q=I.groupCstFlowCollectionItems(C),R=T.items.map(function(m,a){if(m.type!=="PAIR"){var t=P.transformNode(m);return c.createFlowSequenceItem(h.createPosition(t.position.start,t.position.end),t)}else{var s=q[a],i=y.getFlowMapItemAdditionalRanges(s),f=i.additionalKeyRange,g=i.additionalValueRange;return S.transformAstPair(m,P,e.createFlowMappingItem,f,g)}}),j=C[0],K=E.getLast(C);return n.createFlowSequence(P.transformRange({origStart:j.origOffset,origEnd:K.origOffset+1}),P.transformContent(T),R)}r.transformFlowSeq=M}}),Ln=F({"node_modules/yaml-unist-parser/lib/factories/mapping.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Oe(),c=me();function h(d,y,E){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("mapping",d)),n.createLeadingCommentAttachable()),y),{children:E})}r.createMapping=h}}),An=F({"node_modules/yaml-unist-parser/lib/factories/mapping-item.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Oe(),c=me();function h(d,y,E){return e.__assign(e.__assign(e.__assign({},c.createNode("mappingItem",d)),n.createLeadingCommentAttachable()),{children:[y,E]})}r.createMappingItem=h}}),Nn=F({"node_modules/yaml-unist-parser/lib/transforms/map.js"(r){"use strict";D(),r.__esModule=!0;var e=Ln(),n=An(),c=Le(),h=rt(),d=je(),y=Qe(),E=Ae(),I=Ue();function S(T,P){var C=T.cstNode;C.items.filter(function(K){return K.type==="MAP_KEY"||K.type==="MAP_VALUE"}).forEach(function(K){return y.extractPropComments(K,P)});var q=d.extractComments(C.items,P),R=M(q),j=T.items.map(function(K,m){var a=R[m],t=a[0].type==="MAP_VALUE"?[null,a[0].range]:[a[0].range,a.length===1?null:a[1].range],s=t[0],i=t[1];return I.transformAstPair(K,P,n.createMappingItem,s,i)});return e.createMapping(c.createPosition(j[0].position.start,E.getLast(j).position.end),P.transformContent(T),j)}r.transformMap=S;function M(T){for(var P=[],C=h.createSlicer(T,0),q=!1,R=0;R<T.length;R++){var j=T[R];if(j.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}}}),Tn=F({"node_modules/yaml-unist-parser/lib/factories/plain.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Se(),c=me();function h(d,y,E){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("plain",d)),n.createCommentAttachable()),y),{value:E})}r.createPlain=h}}),Cn=F({"node_modules/yaml-unist-parser/lib/utils/find-last-char-index.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c,h){for(var d=c;d>=0;d--)if(h.test(n[d]))return d;return-1}r.findLastCharIndex=e}}),kn=F({"node_modules/yaml-unist-parser/lib/transforms/plain.js"(r){"use strict";D(),r.__esModule=!0;var e=Tn(),n=Cn();function c(h,d){var y=h.cstNode;return e.createPlain(d.transformRange({origStart:y.valueRange.origStart,origEnd:n.findLastCharIndex(d.text,y.valueRange.origEnd-1,/\S/)+1}),d.transformContent(h),y.strValue)}r.transformPlain=c}}),Pn=F({"node_modules/yaml-unist-parser/lib/factories/quote-double.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te));function n(c){return e.__assign(e.__assign({},c),{type:"quoteDouble"})}r.createQuoteDouble=n}}),In=F({"node_modules/yaml-unist-parser/lib/factories/quote-value.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Se(),c=me();function h(d,y,E){return e.__assign(e.__assign(e.__assign(e.__assign({},c.createNode("quoteValue",d)),y),n.createCommentAttachable()),{value:E})}r.createQuoteValue=h}}),at=F({"node_modules/yaml-unist-parser/lib/transforms/quote-value.js"(r){"use strict";D(),r.__esModule=!0;var e=In();function n(c,h){var d=c.cstNode;return e.createQuoteValue(h.transformRange(d.valueRange),h.transformContent(c),d.strValue)}r.transformAstQuoteValue=n}}),Rn=F({"node_modules/yaml-unist-parser/lib/transforms/quote-double.js"(r){"use strict";D(),r.__esModule=!0;var e=Pn(),n=at();function c(h,d){return e.createQuoteDouble(n.transformAstQuoteValue(h,d))}r.transformQuoteDouble=c}}),qn=F({"node_modules/yaml-unist-parser/lib/factories/quote-single.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te));function n(c){return e.__assign(e.__assign({},c),{type:"quoteSingle"})}r.createQuoteSingle=n}}),Bn=F({"node_modules/yaml-unist-parser/lib/transforms/quote-single.js"(r){"use strict";D(),r.__esModule=!0;var e=qn(),n=at();function c(h,d){return e.createQuoteSingle(n.transformAstQuoteValue(h,d))}r.transformQuoteSingle=c}}),jn=F({"node_modules/yaml-unist-parser/lib/factories/sequence.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=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()),n.createEndCommentAttachable()),E),{children:I})}r.createSequence=d}}),Yn=F({"node_modules/yaml-unist-parser/lib/factories/sequence-item.js"(r){"use strict";D(),r.__esModule=!0;var e=(ae(),se(te)),n=Se(),c=Ee(),h=me();function d(y,E){return e.__assign(e.__assign(e.__assign(e.__assign({},h.createNode("sequenceItem",y)),n.createCommentAttachable()),c.createEndCommentAttachable()),{children:E?[E]:[]})}r.createSequenceItem=d}}),Dn=F({"node_modules/yaml-unist-parser/lib/transforms/seq.js"(r){"use strict";D(),r.__esModule=!0;var e=Le(),n=jn(),c=Yn(),h=je(),d=Qe(),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 n.createSequence(e.createPosition(T[0].position.start,y.getLast(T).position.end),S.transformContent(I),T)}r.transformSeq=E}}),Fn=F({"node_modules/yaml-unist-parser/lib/transform.js"(r){"use strict";D(),r.__esModule=!0;var e=en(),n=on(),c=cn(),h=un(),d=mn(),y=vn(),E=Sn(),I=On(),S=Nn(),M=kn(),T=Rn(),P=Bn(),C=Dn();function q(R,j){if(R===null||R.type===void 0&&R.value===null)return null;switch(R.type){case"ALIAS":return e.transformAlias(R,j);case"BLOCK_FOLDED":return n.transformBlockFolded(R,j);case"BLOCK_LITERAL":return c.transformBlockLiteral(R,j);case"COMMENT":return h.transformComment(R,j);case"DIRECTIVE":return d.transformDirective(R,j);case"DOCUMENT":return y.transformDocument(R,j);case"FLOW_MAP":return E.transformFlowMap(R,j);case"FLOW_SEQ":return I.transformFlowSeq(R,j);case"MAP":return S.transformMap(R,j);case"PLAIN":return M.transformPlain(R,j);case"QUOTE_DOUBLE":return T.transformQuoteDouble(R,j);case"QUOTE_SINGLE":return P.transformQuoteSingle(R,j);case"SEQ":return C.transformSeq(R,j);default:throw new Error("Unexpected node type "+R.type)}}r.transformNode=q}}),Wn=F({"node_modules/yaml-unist-parser/lib/factories/error.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c,h){var d=new SyntaxError(n);return d.name="YAMLSyntaxError",d.source=c,d.position=h,d}r.createError=e}}),Vn=F({"node_modules/yaml-unist-parser/lib/transforms/error.js"(r){"use strict";D(),r.__esModule=!0;var e=Wn();function n(c,h){var d=c.source.range||c.source.valueRange;return e.createError(c.message,h.text,h.transformRange(d))}r.transformError=n}}),Qn=F({"node_modules/yaml-unist-parser/lib/factories/point.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c,h){return{offset:n,line:c,column:h}}r.createPoint=e}}),Un=F({"node_modules/yaml-unist-parser/lib/transforms/offset.js"(r){"use strict";D(),r.__esModule=!0;var e=Qn();function n(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)}r.transformOffset=n}}),Kn=F({"node_modules/yaml-unist-parser/lib/transforms/range.js"(r){"use strict";D(),r.__esModule=!0;var e=Le();function n(c,h){return e.createPosition(h.transformOffset(c.origStart),h.transformOffset(c.origEnd))}r.transformRange=n}}),$n=F({"node_modules/yaml-unist-parser/lib/utils/add-orig-range.js"(r){"use strict";D(),r.__esModule=!0;var e=!0;function n(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)})}}r.addOrigRange=n;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"}}}),Jn=F({"node_modules/yaml-unist-parser/lib/utils/remove-fake-nodes.js"(r){"use strict";D(),r.__esModule=!0;function e(n){if("children"in n){if(n.children.length===1){var c=n.children[0];if(c.type==="plain"&&c.tag===null&&c.anchor===null&&c.value==="")return n.children.splice(0,1),n}n.children.forEach(e)}return n}r.removeFakeNodes=e}}),xn=F({"node_modules/yaml-unist-parser/lib/utils/create-updater.js"(r){"use strict";D(),r.__esModule=!0;function e(n,c,h,d){var y=c(n);return function(E){d(y,E)&&h(n,y=E)}}r.createUpdater=e}}),Hn=F({"node_modules/yaml-unist-parser/lib/utils/update-positions.js"(r){"use strict";D(),r.__esModule=!0;var e=xn(),n=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),j=e.createUpdater(M.position,y,E,S);"endComments"in M&&M.endComments.length!==0&&(R(M.endComments[0].position.start),j(n.getLast(M.endComments).position.end));var K=T.filter(function(t){return t!==null});if(K.length!==0){var m=K[0],a=n.getLast(K);R(m.position.start),j(a.position.end),"leadingComments"in m&&m.leadingComments.length!==0&&R(m.leadingComments[0].position.start),"tag"in m&&m.tag&&R(m.tag.position.start),"anchor"in m&&m.anchor&&R(m.anchor.position.start),"trailingComment"in a&&a.trailingComment&&j(a.trailingComment.position.end)}}}r.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=F({"node_modules/yaml/dist/PlainValue-ec8e588e.js"(r){"use strict";D();var e={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},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(a){let t=[0],s=a.indexOf(` `);for(;s!==-1;)s+=1,t.push(s),s=a.indexOf(` `,s);return t}function y(a){let t,s;return typeof a=="string"?(t=d(a),s=a):(Array.isArray(a)&&(a=a[0]),a&&a.context&&(a.lineStarts||(a.lineStarts=d(a.context.src)),t=a.lineStarts,s=a.context.src)),{lineStarts:t,src:s}}function E(a,t){if(typeof a!="number"||a<0)return null;let{lineStarts:s,src:i}=y(t);if(!s||!i||a>i.length)return null;for(let g=0;g<s.length;++g){let u=s[g];if(a<u)return{line:g,col:a-s[g-1]+1};if(a===u)return{line:g+1,col:1}}let f=s.length;return{line:f,col:a-s[f-1]+1}}function I(a,t){let{lineStarts:s,src:i}=y(t);if(!s||!(a>=1)||a>s.length)return null;let f=s[a-1],g=s[a];for(;g&&g>f&&i[g-1]===` `;)--g;return i.slice(f,g)}function S(a,t){let{start:s,end:i}=a,f=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>f)if(u<=f-10)g=g.substr(0,f-1)+"\u2026";else{let $=Math.round(f/2);g.length>u+$&&(g=g.substr(0,u+$-1)+"\u2026"),u-=g.length-f,g="\u2026"+g.substr(1-f)}let p=1,L="";i&&(i.line===s.line&&u+(i.col-s.col)<=f+1?p=i.col-s.col:(p=Math.min(g.length+1,f)-u,L="\u2026"));let k=u>1?" ".repeat(u-1):"",B="^".repeat(p);return"".concat(g,` `).concat(k).concat(B).concat(L)}var M=class{static copy(a){return new M(a.start,a.end)}constructor(a,t){this.start=a,this.end=t||a}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(a,t){let{start:s,end:i}=this;if(a.length===0||i<=a[0])return this.origStart=s,this.origEnd=i,t;let f=t;for(;f<a.length&&!(a[f]>s);)++f;this.origStart=s+f;let g=f;for(;f<a.length&&!(a[f]>=i);)++f;return this.origEnd=i+f,g}},T=class{static addStringTerminator(a,t,s){if(s[s.length-1]===` `)return s;let i=T.endOfWhiteSpace(a,t);return i>=a.length||a[i]===` `?s+` `:s}static atDocumentBoundary(a,t,s){let i=a[t];if(!i)return!0;let f=a[t-1];if(f&&f!==` `)return!1;if(s){if(i!==s)return!1}else if(i!==e.DIRECTIVES_END&&i!==e.DOCUMENT_END)return!1;let g=a[t+1],u=a[t+2];if(g!==i||u!==i)return!1;let p=a[t+3];return!p||p===` `||p===" "||p===" "}static endOfIdentifier(a,t){let s=a[t],i=s==="<",f=i?[` `," "," ",">"]:[` `," "," ","[","]","{","}",","];for(;s&&f.indexOf(s)===-1;)s=a[t+=1];return i&&s===">"&&(t+=1),t}static endOfIndent(a,t){let s=a[t];for(;s===" ";)s=a[t+=1];return t}static endOfLine(a,t){let s=a[t];for(;s&&s!==` `;)s=a[t+=1];return t}static endOfWhiteSpace(a,t){let s=a[t];for(;s===" "||s===" ";)s=a[t+=1];return t}static startOfLine(a,t){let s=a[t-1];if(s===` `)return t;for(;s&&s!==` `;)s=a[t-=1];return t+1}static endOfBlockIndent(a,t,s){let i=T.endOfIndent(a,s);if(i>s+t)return i;{let f=T.endOfWhiteSpace(a,i),g=a[f];if(!g||g===` `)return f}return null}static atBlank(a,t,s){let i=a[t];return i===` `||i===" "||i===" "||s&&!i}static nextNodeIsIndented(a,t,s){return!a||t<0?!1:t>0?!0:s&&a==="-"}static normalizeOffset(a,t){let s=a[t];return s?s!==` `&&a[t-1]===` `?t-1:T.endOfWhiteSpace(a,t):t}static foldNewline(a,t,s){let i=0,f=!1,g="",u=a[t+1];for(;u===" "||u===" "||u===` `;){switch(u){case` `:i=0,t+=1,g+=` `;break;case" ":i<=s&&(f=!0),t=T.endOfWhiteSpace(a,t+2)-1;break;case" ":i+=1,t+=1;break}u=a[t+1]}return g||(g=" "),u&&i<=s&&(f=!0),{fold:g,offset:t,error:f}}constructor(a,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=a,this.value=null}getPropValue(a,t,s){if(!this.context)return null;let{src:i}=this.context,f=this.props[a];return f&&i[f.start]===t?i.slice(f.start+(s?1:0),f.end):null}get anchor(){for(let a=0;a<this.props.length;++a){let t=this.getPropValue(a,e.ANCHOR,!0);if(t!=null)return t}return null}get comment(){let a=[];for(let t=0;t<this.props.length;++t){let s=this.getPropValue(t,e.COMMENT,!0);s!=null&&a.push(s)}return a.length>0?a.join(` `):null}commentHasRequiredWhitespace(a){let{src:t}=this.context;if(this.header&&a===this.header.end||!this.valueRange)return!1;let{end:s}=this.valueRange;return a!==s||T.atBlank(t,s-1)}get hasComment(){if(this.context){let{src:a}=this.context;for(let t=0;t<this.props.length;++t)if(a[this.props[t].start]===e.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:a}=this.context;for(let t=0;t<this.props.length;++t)if(a[this.props[t].start]!==e.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[n.FLOW_MAP,n.FLOW_SEQ,n.QUOTE_DOUBLE,n.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let a=E(this.range.start,this.context.root);if(!a)return;let t=E(this.range.end,this.context.root);return{start:a,end:t}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:a,end:t}=this.valueRange;return this.context.src.slice(a,t)}get tag(){for(let a=0;a<this.props.length;++a){let t=this.getPropValue(a,e.TAG,!1);if(t!=null){if(t[1]==="<")return{verbatim:t.slice(2,-1)};{let[s,i,f]=t.match(/^(.*!)([^!]*)$/);return{handle:i,suffix:f}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:a,end:t}=this.valueRange,{src:s}=this.context;for(let i=a;i<t;++i)if(s[i]===` `)return!0;return!1}parseComment(a){let{src:t}=this.context;if(t[a]===e.COMMENT){let s=T.endOfLine(t,a+1),i=new M(a,s);return this.props.push(i),s}return a}setOrigRanges(a,t){return this.range&&(t=this.range.setOrigRange(a,t)),this.valueRange&&this.valueRange.setOrigRange(a,t),this.props.forEach(s=>s.setOrigRange(a,t)),t}toString(){let{context:{src:a},range:t,value:s}=this;if(s!=null)return s;let i=a.slice(t.start,t.end);return T.addStringTerminator(a,t.end,i)}},P=class extends Error{constructor(a,t,s){if(!s||!(t instanceof T))throw new Error("Invalid arguments for new ".concat(a));super(),this.name=a,this.message=s,this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let a=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new M(this.offset,this.offset+1);let t=a&&E(this.offset,a);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 ".concat(t,", column ").concat(s);let i=a&&S(this.linePos,a);i&&(this.message+=`: `.concat(i,` `))}delete this.source}},C=class extends P{constructor(a,t){super("YAMLReferenceError",a,t)}},q=class extends P{constructor(a,t){super("YAMLSemanticError",a,t)}},R=class extends P{constructor(a,t){super("YAMLSyntaxError",a,t)}},j=class extends P{constructor(a,t){super("YAMLWarning",a,t)}};function K(a,t,s){return t in a?Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[t]=s,a}var m=class extends T{static endOfLine(a,t,s){let i=a[t],f=t;for(;i&&i!==` `&&!(s&&(i==="["||i==="]"||i==="{"||i==="}"||i===","));){let g=a[f+1];if(i===":"&&(!g||g===` `||g===" "||g===" "||s&&g===",")||(i===" "||i===" ")&&g==="#")break;f+=1,i=g}return f}get strValue(){if(!this.valueRange||!this.context)return null;let{start:a,end:t}=this.valueRange,{src:s}=this.context,i=s[t-1];for(;a<t&&(i===` `||i===" "||i===" ");)i=s[--t-1];let f="";for(let u=a;u<t;++u){let p=s[u];if(p===` `){let{fold:L,offset:k}=T.foldNewline(s,u,-1);f+=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!==` `&&(f+=u>L?s.slice(L,u+1):p)}else f+=p}let g=s[a];switch(g){case" ":{let u="Plain value cannot start with a tab character";return{errors:[new q(this,u)],str:f}}case"@":case"`":{let u="Plain value cannot start with reserved character ".concat(g);return{errors:[new q(this,u)],str:f}}default:return f}}parseBlockValue(a){let{indent:t,inFlow:s,src:i}=this.context,f=a,g=a;for(let u=i[f];u===` `&&!T.atDocumentBoundary(i,f+1);u=i[f]){let p=T.endOfBlockIndent(i,t,f+1);if(p===null||i[p]==="#")break;i[p]===` `?f=p:(g=m.endOfLine(i,p,s),f=g)}return this.valueRange.isEmpty()&&(this.valueRange.start=a),this.valueRange.end=g,g}parse(a,t){this.context=a;let{inFlow:s,src:i}=a,f=t,g=i[f];return g&&g!=="#"&&g!==` `&&(f=m.endOfLine(i,t,s)),this.valueRange=new M(t,f),f=T.endOfWhiteSpace(i,f),f=this.parseComment(f),(!this.hasComment||this.valueRange.isEmpty())&&(f=this.parseBlockValue(f)),f}};r.Char=e,r.Node=T,r.PlainValue=m,r.Range=M,r.Type=n,r.YAMLError=P,r.YAMLReferenceError=C,r.YAMLSemanticError=q,r.YAMLSyntaxError=R,r.YAMLWarning=j,r._defineProperty=K,r.defaultTagPrefix=c,r.defaultTags=h}}),Gn=F({"node_modules/yaml/dist/parse-cst.js"(r){"use strict";D();var e=Me(),n=class extends e.Node{constructor(){super(e.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(m,a){return this.context=m,this.range=new e.Range(a,a+1),a+1}},c=class extends e.Node{constructor(m,a){super(m,a),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(m,a){this.context=m;let{parseNode:t,src:s}=m,{atLineStart:i,lineStart:f}=m;!i&&this.