@doubao-dev/cli 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/run.js +1 -1
- package/dist/1664.js +60 -0
- package/dist/180.js +1 -0
- package/dist/{bin/win32-x64/security_tasm_codec.exe → 1966.js} +0 -0
- package/dist/1966.js.LICENSE.txt +119 -0
- package/dist/2585.js +2 -0
- package/dist/318.js +1 -0
- package/dist/3551.js +1 -0
- package/dist/3997.js +2 -0
- package/dist/4880.js +1 -0
- package/dist/5418.js +3 -0
- package/dist/5732.js +1 -0
- package/dist/7410.js +2 -0
- package/dist/7410.js.LICENSE.txt +1 -0
- package/dist/7526.js +1 -0
- package/dist/@byted-doubao-apps/create.js +4 -5
- package/dist/@byted-doubao-apps/login.js +2 -3
- package/dist/@byted-doubao-apps/login~1.js +2 -0
- package/dist/@byted-doubao-apps/template-empty/package.json +3 -3
- package/dist/@byted-doubao-apps/template-starter/package.json +3 -3
- package/dist/@byted-hdt/cli.js +11 -12
- package/dist/@inquirer/select.js +1 -0
- package/dist/app.js +1 -2
- package/dist/assets/web-sdk-debugger/index.html +1 -1
- package/dist/assets/web-sdk-debugger/static/css/{index.4b84c01189.css → index.123e72a5bc.css} +1 -1
- package/dist/assets/web-sdk-debugger/static/js/index.019ceb233a.js +26 -0
- package/dist/assets/web-sdk-debugger/wsd/doubao-apps-api.template.js +0 -0
- package/dist/assets/web-sdk-debugger/wsd/doubao-apps-framework.template.js +0 -0
- package/dist/auth.js +1 -2
- package/dist/browser.js +1 -2
- package/dist/components-loader.js +2 -3
- package/dist/dbx-demo.js +2 -3
- package/dist/demo-server.js +3 -4
- package/dist/dev-service-client.js +16 -10
- package/dist/dev-service-client.js.LICENSE.txt +89 -0
- package/dist/dev-shell.js +5 -2
- package/dist/dev-shell.js.LICENSE.txt +59 -0
- package/dist/dev.js +18 -19
- package/dist/devtools.js +2 -0
- package/dist/devtools.js.LICENSE.txt +1 -0
- package/dist/environment.js +1 -0
- package/dist/eval.js +1 -2
- package/dist/get.js +1 -2
- package/dist/init.js +6 -7
- package/dist/login.js +1 -2
- package/dist/main.js +1 -0
- package/dist/manifest-mcp-config.js +1 -2
- package/dist/project-layout.js +1 -2
- package/dist/prompt.js +5 -6
- package/dist/push-page.js +1 -2
- package/dist/push-widget.js +1 -2
- package/dist/rslib-runtime.js +1 -2
- package/dist/sandbox.js +1 -2
- package/dist/sdk.js +76 -169
- package/dist/sdk.js.LICENSE.txt +1 -13
- package/dist/sdk~1.js +218 -0
- package/dist/sdk~1.js.LICENSE.txt +15 -0
- package/dist/skills.js +2 -3
- package/dist/static/404/404.html +455 -0
- package/dist/static/assets/package.json +137 -0
- package/dist/static/home_choose/chooseRegion.html +345 -0
- package/dist/static/openChrome.applescript +88 -0
- package/dist/status.js +2 -3
- package/dist/status~1.js +1 -2
- package/dist/stop.js +1 -2
- package/dist/update.js +1 -2
- package/dist/upgrade.js +1 -2
- package/dist/upload.js +7 -8
- package/dist/validate.js +1 -2
- package/dist/yaml.js +25 -0
- package/package.json +34 -35
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/01-/345/237/272/347/241/200.md +114 -7
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/02-/347/263/273/347/273/237.md +126 -0
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/06-/344/272/244/344/272/222.md +71 -0
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/08-/347/275/221/347/273/234.md +222 -0
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/10-/344/270/232/345/212/241/350/203/275/345/212/233.md +122 -0
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/groups.md +5 -5
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/quick-reference.md +7 -2
- package/dist/183.js +0 -2
- package/dist/564.js +0 -13
- package/dist/714.js +0 -1
- package/dist/assets/web-sdk-debugger/static/js/index.62b5cae841.js +0 -26
- package/dist/bin/darwin-arm64/security_tasm_codec +0 -0
- package/dist/bin/darwin-arm64/security_tasm_codec.sha256 +0 -1
- package/dist/bin/darwin-x64/security_tasm_codec +0 -0
- package/dist/bin/darwin-x64/security_tasm_codec.sha256 +0 -1
- package/dist/bin/linux-x64/security_tasm_codec +0 -0
- package/dist/bin/linux-x64/security_tasm_codec.sha256 +0 -1
- package/dist/bin/win32-x64/security_tasm_codec.exe.sha256 +0 -1
- package/dist/index.js +0 -1
- package/dist/package.json +0 -56
package/dist/yaml.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import"node:module";import{__webpack_require__ as e}from"./rslib-runtime.js";import"./1664.js";import"./180.js";e.add({"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js");function m(e,t,s,n,o,i){let l="block-map"===s.type?a.resolveBlockMap(e,t,s,n,i):"block-seq"===s.type?r.resolveBlockSeq(e,t,s,n,i):d.resolveFlowCollection(e,t,s,n,i),m=l.constructor;return"!"===o||o===m.tagName?l.tag=m.tagName:o&&(l.tag=o),l}t.composeCollection=function(e,t,s,a,r){let d=a.tag,c=d?t.directives.tagName(d.source,e=>r(d,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===s.type){let{anchor:e,newlineAfterProp:t}=a,s=e&&d?e.offset>d.offset?e:d:e??d;s&&(!t||t.offset<s.offset)&&r(s,"MISSING_CHAR","Missing newline after block sequence props")}let u="block-map"===s.type?"map":"block-seq"===s.type?"seq":"{"===s.start.source?"map":"seq";if(!d||!c||"!"===c||c===i.YAMLMap.tagName&&"map"===u||c===l.YAMLSeq.tagName&&"seq"===u)return m(e,t,s,r,c);let p=t.schema.tags.find(e=>e.tag===c&&e.collection===u);if(!p){let n=t.schema.knownTags[c];if(n?.collection!==u)return n?r(d,"BAD_COLLECTION_TYPE",`${n.tag} used for ${u} collection, but expects ${n.collection??"scalar"}`,!0):r(d,"TAG_RESOLVE_FAILED",`Unresolved tag: ${c}`,!0),m(e,t,s,r,c);t.schema.tags.push(Object.assign({},n,{default:!1})),p=n}let f=m(e,t,s,r,c,p),h=p.resolve?.(f,e=>r(d,"TAG_RESOLVE_FAILED",e),t.options)??f,y=n.isNode(h)?h:new o.Scalar(h);return y.range=f.range,y.tag=c,p?.format&&(y.format=p.format),y}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js");t.composeDoc=function(e,t,{offset:s,start:a,value:r,end:d},m){let c=Object.assign({_directives:t},e),u=new n.Document(void 0,c),p={atKey:!1,atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},f=l.resolveProps(a,{indicator:"doc-start",next:r??d?.[0],offset:s,onError:m,parentIndent:0,startOnNewline:!0});f.found&&(u.directives.docStart=!0,r&&("block-map"===r.type||"block-seq"===r.type)&&!f.hasNewline&&m(f.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=r?o.composeNode(p,r,f,m):o.composeEmptyNode(p,f.end,a,null,f,m);let h=u.contents.range[2],y=i.resolveEnd(d,h,!1,m);return y.comment&&(u.comment=y.comment),u.range=[s,h,y.offset],u}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js");let d={composeNode:m,composeEmptyNode:c};function m(e,t,s,r){let m,u=e.atKey,{spaceBefore:p,comment:f,anchor:h,tag:y}=s,g=!0;switch(t.type){case"alias":m=function({options:e},{offset:t,source:s,end:o},i){let l=new n.Alias(s.substring(1));""===l.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),l.source.endsWith(":")&&i(t+s.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let r=t+s.length,d=a.resolveEnd(o,r,e.strict,i);return l.range=[t,r,d.offset],d.comment&&(l.comment=d.comment),l}(e,t,r),(h||y)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":m=l.composeScalar(e,t,y,r),h&&(m.anchor=h.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{m=i.composeCollection(d,e,t,s,r),h&&(m.anchor=h.source.substring(1))}catch(e){r(t,"RESOURCE_EXHAUSTION",e instanceof Error?e.message:String(e))}break;default:{let e="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",e),g=!1}}return m??(m=c(e,t.offset,void 0,null,s,r)),h&&""===m.anchor&&r(h,"BAD_ALIAS","Anchor cannot be an empty string"),u&&e.options.stringKeys&&(!o.isScalar(m)||"string"!=typeof m.value||m.tag&&"tag:yaml.org,2002:str"!==m.tag)&&r(y??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),p&&(m.spaceBefore=!0),f&&("scalar"===t.type&&""===t.source?m.comment=f:m.commentBefore=f),e.options.keepSourceTokens&&g&&(m.srcToken=t),m}function c(e,t,s,n,{spaceBefore:o,comment:i,anchor:a,tag:d,end:m},u){let p={type:"scalar",offset:r.emptyScalarPosition(t,s,n),indent:-1,source:""},f=l.composeScalar(e,p,d,u);return a&&(f.anchor=a.source.substring(1),""===f.anchor&&u(a,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(f.spaceBefore=!0),i&&(f.comment=i,f.range[2]=m),f}t.composeEmptyNode=c,t.composeNode=m},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js");t.composeScalar=function(e,t,s,a){let r,d,{value:m,type:c,comment:u,range:p}="block-scalar"===t.type?i.resolveBlockScalar(e,t,a):l.resolveFlowScalar(t,e.options.strict,a),f=s?e.directives.tagName(s.source,e=>a(s,"TAG_RESOLVE_FAILED",e)):null;r=e.options.stringKeys&&e.atKey?e.schema[n.SCALAR]:f?function(e,t,s,o,i){if("!"===s)return e[n.SCALAR];let l=[];for(let t of e.tags)if(!t.collection&&t.tag===s)if(!t.default||!t.test)return t;else l.push(t);for(let e of l)if(e.test?.test(t))return e;let a=e.knownTags[s];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,"tag:yaml.org,2002:str"!==s),e[n.SCALAR])}(e.schema,m,f,s,a):"scalar"===t.type?function({atKey:e,directives:t,schema:s},o,i,l){let a=s.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(o))||s[n.SCALAR];if(s.compat){let e=s.compat.find(e=>e.default&&e.test?.test(o))??s[n.SCALAR];if(a.tag!==e.tag){let s=t.tagString(a.tag),n=t.tagString(e.tag);l(i,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${s} or ${n}`,!0)}}return a}(e,m,t,a):e.schema[n.SCALAR];try{let i=r.resolve(m,e=>a(s??t,"TAG_RESOLVE_FAILED",e),e.options);d=n.isScalar(i)?i:new o.Scalar(i)}catch(e){a(s??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),d=new o.Scalar(m)}return d.range=p,d.source=m,c&&(d.type=c),f&&(d.tag=f),r.format&&(d.format=r.format),u&&(d.comment=u),d}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"(e,t,s){var n=s("process"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js");function m(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:s}=e;return[t,t+("string"==typeof s?s.length:1)]}function c(e){let t="",s=!1,n=!1;for(let o=0;o<e.length;++o){let i=e[o];switch(i[0]){case"#":t+=(""===t?"":n?"\n\n":"\n")+(i.substring(1)||" "),s=!0,n=!1;break;case"%":e[o+1]?.[0]!=="#"&&(o+=1),s=!1;break;default:s||(n=!0),s=!1}}return{comment:t,afterEmptyLine:n}}t.Composer=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,s,n)=>{let o=m(e);n?this.warnings.push(new l.YAMLWarning(o,t,s)):this.errors.push(new l.YAMLParseError(o,t,s))},this.directives=new o.Directives({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:s,afterEmptyLine:n}=c(this.prelude);if(s){let o=e.contents;if(t)e.comment=e.comment?`${e.comment}
|
|
2
|
+
${s}`:s;else if(n||e.directives.docStart||!o)e.commentBefore=s;else if(a.isCollection(o)&&!o.flow&&o.items.length>0){let e=o.items[0];a.isPair(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${s}
|
|
3
|
+
${t}`:s}else{let e=o.commentBefore;o.commentBefore=e?`${s}
|
|
4
|
+
${e}`:s}}if(t){for(let t=0;t<this.errors.length;++t)e.errors.push(this.errors[t]);for(let t=0;t<this.warnings.length;++t)e.warnings.push(this.warnings[t])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:c(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,s=-1){for(let t of e)yield*this.next(t);yield*this.end(t,s)}*next(e){switch(n.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,(t,s,n)=>{let o=m(e);o[0]+=t,this.onError(o,"BAD_DIRECTIVE",s,n)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=r.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,s=new l.YAMLParseError(m(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(s):this.doc.errors.push(s);break}case"doc-end":{if(!this.doc){this.errors.push(new l.YAMLParseError(m(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=d.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e}
|
|
5
|
+
${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new l.YAMLParseError(m(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=Object.assign({_directives:this.directives},this.options),s=new i.Document(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),s.range=[0,t,t],this.decorate(s,!1),yield s}}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js");let d="All mapping items must start at the same column";t.resolveBlockMap=function({composeNode:e,composeEmptyNode:t},s,m,c,u){let p=new(u?.nodeClass??o.YAMLMap)(s.schema);s.atRoot&&(s.atRoot=!1);let f=m.offset,h=null;for(let o of m.items){let{start:u,key:y,sep:g,value:_}=o,b=i.resolveProps(u,{indicator:"explicit-key-ind",next:y??g?.[0],offset:f,onError:c,parentIndent:m.indent,startOnNewline:!0}),S=!b.found;if(S){if(y&&("block-seq"===y.type?c(f,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in y&&y.indent!==m.indent&&c(f,"BAD_INDENT",d)),!b.anchor&&!b.tag&&!g){h=b.end,b.comment&&(p.comment?p.comment+="\n"+b.comment:p.comment=b.comment);continue}(b.newlineAfterProp||l.containsNewline(y))&&c(y??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else b.found?.indent!==m.indent&&c(f,"BAD_INDENT",d);s.atKey=!0;let v=b.end,k=y?e(s,y,b,c):t(s,v,u,null,b,c);s.schema.compat&&a.flowIndentCheck(m.indent,y,c),s.atKey=!1,r.mapIncludes(s,p.items,k)&&c(v,"DUPLICATE_KEY","Map keys must be unique");let w=i.resolveProps(g??[],{indicator:"map-value-ind",next:_,offset:k.range[2],onError:c,parentIndent:m.indent,startOnNewline:!y||"block-scalar"===y.type});if(f=w.end,w.found){S&&(_?.type!=="block-map"||w.hasNewline||c(f,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),s.options.strict&&b.start<w.found.offset-1024&&c(k.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let i=_?e(s,_,w,c):t(s,f,g,null,w,c);s.schema.compat&&a.flowIndentCheck(m.indent,_,c),f=i.range[2];let l=new n.Pair(k,i);s.options.keepSourceTokens&&(l.srcToken=o),p.items.push(l)}else{S&&c(k.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),w.comment&&(k.comment?k.comment+="\n"+w.comment:k.comment=w.comment);let e=new n.Pair(k);s.options.keepSourceTokens&&(e.srcToken=o),p.items.push(e)}}return h&&h<f&&c(h,"IMPOSSIBLE","Map comment with trailing content"),p.range=[m.offset,f,h??f],p}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");t.resolveBlockScalar=function(e,t,s){let o=t.offset,i=function({offset:e,props:t},s,n){if("block-scalar-header"!==t[0].type)return n(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:o}=t[0],i=o[0],l=0,a="",r=-1;for(let t=1;t<o.length;++t){let s=o[t];if(a||"-"!==s&&"+"!==s){let n=Number(s);!l&&n?l=n:-1===r&&(r=e+t)}else a=s}-1!==r&&n(r,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let d=!1,m="",c=o.length;for(let e=1;e<t.length;++e){let o=t[e];switch(o.type){case"space":d=!0;case"newline":c+=o.source.length;break;case"comment":s&&!d&&n(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),c+=o.source.length,m=o.source.substring(1);break;case"error":n(o,"UNEXPECTED_TOKEN",o.message),c+=o.source.length;break;default:{let e=`Unexpected token in block scalar header: ${o.type}`;n(o,"UNEXPECTED_TOKEN",e);let t=o.source;t&&"string"==typeof t&&(c+=t.length)}}}return{mode:i,indent:l,chomp:a,comment:m,length:c}}(t,e.options.strict,s);if(!i)return{value:"",type:null,comment:"",range:[o,o,o]};let l=">"===i.mode?n.Scalar.BLOCK_FOLDED:n.Scalar.BLOCK_LITERAL,a=t.source?function(e){let t=e.split(/\n( *)/),s=t[0],n=s.match(/^( *)/),o=[n?.[1]?[n[1],s.slice(n[1].length)]:["",s]];for(let e=1;e<t.length;e+=2)o.push([t[e],t[e+1]]);return o}(t.source):[],r=a.length;for(let e=a.length-1;e>=0;--e){let t=a[e][1];if(""===t||"\r"===t)r=e;else break}if(0===r){let e="+"===i.chomp&&a.length>0?"\n".repeat(Math.max(1,a.length-1)):"",s=o+i.length;return t.source&&(s+=t.source.length),{value:e,type:l,comment:i.comment,range:[o,s,s]}}let d=t.indent+i.indent,m=t.offset+i.length,c=0;for(let t=0;t<r;++t){let[n,o]=a[t];if(""===o||"\r"===o)0===i.indent&&n.length>d&&(d=n.length);else{n.length<d&&s(m+n.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),0===i.indent&&(d=n.length),c=t,0!==d||e.atRoot||s(m,"BAD_INDENT","Block scalar values in collections must be indented");break}m+=n.length+o.length+1}for(let e=a.length-1;e>=r;--e)a[e][0].length>d&&(r=e+1);let u="",p="",f=!1;for(let e=0;e<c;++e)u+=a[e][0].slice(d)+"\n";for(let e=c;e<r;++e){let[t,o]=a[e];m+=t.length+o.length+1;let r="\r"===o[o.length-1];if(r&&(o=o.slice(0,-1)),o&&t.length<d){let e=i.indent?"explicit indentation indicator":"first line",n=`Block scalar lines must not be less indented than their ${e}`;s(m-o.length-(r?2:1),"BAD_INDENT",n),t=""}l===n.Scalar.BLOCK_LITERAL?(u+=p+t.slice(d)+o,p="\n"):t.length>d||" "===o[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),u+=p+t.slice(d)+o,p="\n",f=!0):""===o?"\n"===p?u+="\n":p="\n":(u+=p+o,p=" ",f=!1)}switch(i.chomp){case"-":break;case"+":for(let e=r;e<a.length;++e)u+="\n"+a[e][0].slice(d);"\n"!==u[u.length-1]&&(u+="\n");break;default:u+="\n"}let h=o+i.length+t.source.length;return{value:u,type:l,comment:i.comment,range:[o,h,h]}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js");t.resolveBlockSeq=function({composeNode:e,composeEmptyNode:t},s,l,a,r){let d=new(r?.nodeClass??n.YAMLSeq)(s.schema);s.atRoot&&(s.atRoot=!1),s.atKey&&(s.atKey=!1);let m=l.offset,c=null;for(let{start:n,value:r}of l.items){let u=o.resolveProps(n,{indicator:"seq-item-ind",next:r,offset:m,onError:a,parentIndent:l.indent,startOnNewline:!0});if(!u.found)if(u.anchor||u.tag||r)r?.type==="block-seq"?a(u.end,"BAD_INDENT","All sequence items must start at the same column"):a(m,"MISSING_CHAR","Sequence item without - indicator");else{c=u.end,u.comment&&(d.comment=u.comment);continue}let p=r?e(s,r,u,a):t(s,u.end,n,null,u,a);s.schema.compat&&i.flowIndentCheck(l.indent,r,a),m=p.range[2],d.items.push(p)}return d.range=[l.offset,m,c??m],d}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"(e,t){t.resolveEnd=function(e,t,s,n){let o="";if(e){let i=!1,l="";for(let a of e){let{source:e,type:r}=a;switch(r){case"space":i=!0;break;case"comment":{s&&!i&&n(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";o?o+=l+t:o=t,l="";break}case"newline":o&&(l+=e),i=!0;break;default:n(a,"UNEXPECTED_TOKEN",`Unexpected ${r} at node end`)}t+=e.length}}return{comment:o,offset:t}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js");let c="Block collections are not allowed within flow collections",u=e=>e&&("block-map"===e.type||"block-seq"===e.type);t.resolveFlowCollection=function({composeNode:e,composeEmptyNode:t},s,p,f,h){let y="{"===p.start.source,g=y?"flow map":"flow sequence",_=new(h?.nodeClass??(y?i.YAMLMap:l.YAMLSeq))(s.schema);_.flow=!0;let b=s.atRoot;b&&(s.atRoot=!1),s.atKey&&(s.atKey=!1);let S=p.offset+p.start.source.length;for(let l=0;l<p.items.length;++l){let a=p.items[l],{start:h,key:b,sep:v,value:k}=a,w=r.resolveProps(h,{flow:g,indicator:"explicit-key-ind",next:b??v?.[0],offset:S,onError:f,parentIndent:p.indent,startOnNewline:!1});if(!w.found){if(!w.anchor&&!w.tag&&!v&&!k){0===l&&w.comma?f(w.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`):l<p.items.length-1&&f(w.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${g}`),w.comment&&(_.comment?_.comment+="\n"+w.comment:_.comment=w.comment),S=w.end;continue}!y&&s.options.strict&&d.containsNewline(b)&&f(b,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===l)w.comma&&f(w.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`);else if(w.comma||f(w.start,"MISSING_CHAR",`Missing , between ${g} items`),w.comment){let e="";e:for(let t of h)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=_.items[_.items.length-1];n.isPair(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,w.comment=w.comment.substring(e.length+1)}}if(y||v||w.found){s.atKey=!0;let n=w.end,l=b?e(s,b,w,f):t(s,n,h,null,w,f);u(b)&&f(l.range,"BLOCK_IN_FLOW",c),s.atKey=!1;let d=r.resolveProps(v??[],{flow:g,indicator:"map-value-ind",next:k,offset:l.range[2],onError:f,parentIndent:p.indent,startOnNewline:!1});if(d.found){if(!y&&!w.found&&s.options.strict){if(v)for(let e of v){if(e===d.found)break;if("newline"===e.type){f(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}w.start<d.found.offset-1024&&f(d.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else k&&("source"in k&&k.source?.[0]===":"?f(k,"MISSING_CHAR",`Missing space after : in ${g}`):f(d.start,"MISSING_CHAR",`Missing , or : between ${g} items`));let j=k?e(s,k,d,f):d.found?t(s,d.end,v,null,d,f):null;j?u(k)&&f(j.range,"BLOCK_IN_FLOW",c):d.comment&&(l.comment?l.comment+="\n"+d.comment:l.comment=d.comment);let N=new o.Pair(l,j);if(s.options.keepSourceTokens&&(N.srcToken=a),y)m.mapIncludes(s,_.items,l)&&f(n,"DUPLICATE_KEY","Map keys must be unique"),_.items.push(N);else{let e=new i.YAMLMap(s.schema);e.flow=!0,e.items.push(N);let t=(j??l).range;e.range=[l.range[0],t[1],t[2]],_.items.push(e)}S=j?j.range[2]:d.end}else{let n=k?e(s,k,w,f):t(s,w.end,v,null,w,f);_.items.push(n),S=n.range[2],u(k)&&f(n.range,"BLOCK_IN_FLOW",c)}}let v=y?"}":"]",[k,...w]=p.end,j=S;if(k?.source===v)j=k.offset+k.source.length;else{let e=g[0].toUpperCase()+g.substring(1),t=b?`${e} must end with a ${v}`:`${e} in block collection must be sufficiently indented and end with a ${v}`;f(S,b?"MISSING_CHAR":"BAD_INDENT",t),k&&1!==k.source.length&&w.unshift(k)}if(w.length>0){let e=a.resolveEnd(w,j,s.options.strict,f);e.comment&&(_.comment?_.comment+="\n"+e.comment:_.comment=e.comment),_.range=[p.offset,j,e.offset]}else _.range=[p.offset,j,j];return _}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js");function i(e){let t,s;try{t=RegExp("(.*?)(?<![ ])[ ]*\r?\n","sy"),s=RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,s=/[ \t]*(.*?)[ \t]*\r?\n/sy}let n=t.exec(e);if(!n)return e;let o=n[1],i=" ",l=t.lastIndex;for(s.lastIndex=l;n=s.exec(e);)""===n[1]?"\n"===i?o+=i:i="\n":(o+=i+n[1],i=" "),l=s.lastIndex;let a=/[ \t]*(.*)/sy;return a.lastIndex=l,n=a.exec(e),o+i+(n?.[1]??"")}let l={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:" ",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};t.resolveFlowScalar=function(e,t,s){let a,r,{offset:d,type:m,source:c,end:u}=e,p=(e,t,n)=>s(d+e,t,n);switch(m){case"scalar":a=n.Scalar.PLAIN,r=function(e,t){let s="";switch(e[0]){case" ":s="a tab character";break;case",":s="flow indicator character ,";break;case"%":s="directive indicator character %";break;case"|":case">":s=`block scalar indicator ${e[0]}`;break;case"@":case"`":s=`reserved character ${e[0]}`}return s&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${s}`),i(e)}(c,p);break;case"single-quoted-scalar":var f,h;a=n.Scalar.QUOTE_SINGLE,f=c,h=p,("'"!==f[f.length-1]||1===f.length)&&h(f.length,"MISSING_CHAR","Missing closing 'quote"),r=i(f.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":a=n.Scalar.QUOTE_DOUBLE,r=function(e,t){let s="";for(let n=1;n<e.length-1;++n){let o=e[n];if("\r"!==o||"\n"!==e[n+1])if("\n"===o){let{fold:t,offset:o}=function(e,t){let s="",n=e[t+1];for(;(" "===n||" "===n||"\n"===n||"\r"===n)&&("\r"!==n||"\n"===e[t+2]);)"\n"===n&&(s+="\n"),t+=1,n=e[t+1];return s||(s=" "),{fold:s,offset:t}}(e,n);s+=t,n=o}else if("\\"===o){let o=e[++n],i=l[o];if(i)s+=i;else if("\n"===o)for(o=e[n+1];" "===o||" "===o;)o=e[++n+1];else if("\r"===o&&"\n"===e[n+1])for(o=e[++n+1];" "===o||" "===o;)o=e[++n+1];else if("x"===o||"u"===o||"U"===o){let i="x"===o?2:"u"===o?4:8;s+=function(e,t,s,n){let o=e.substr(t,s),i=o.length===s&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;try{return String.fromCodePoint(i)}catch{let o=e.substr(t-2,s+2);return n(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}}(e,n+1,i,t),n+=i}else{let o=e.substr(n-1,2);t(n-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),s+=o}}else if(" "===o||" "===o){let t=n,i=e[n+1];for(;" "===i||" "===i;)i=e[++n+1];"\n"!==i&&("\r"!==i||"\n"!==e[n+2])&&(s+=n>t?e.slice(t,n+1):o)}else s+=o}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),s}(c,p);break;default:return s(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${m}`),{value:"",type:null,comment:"",range:[d,d+c.length,d+c.length]}}let y=d+c.length,g=o.resolveEnd(u,y,t,s);return{value:r,type:a,comment:g.comment,range:[d,y,g.offset]}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js"(e,t){t.resolveProps=function(e,{flow:t,indicator:s,next:n,offset:o,onError:i,parentIndent:l,startOnNewline:a}){let r=!1,d=a,m=a,c="",u="",p=!1,f=!1,h=null,y=null,g=null,_=null,b=null,S=null,v=null;for(let o of e)switch(f&&("space"!==o.type&&"newline"!==o.type&&"comma"!==o.type&&i(o.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f=!1),h&&(d&&"comment"!==o.type&&"newline"!==o.type&&i(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),h=null),o.type){case"space":!t&&("doc-start"!==s||n?.type!=="flow-collection")&&o.source.includes(" ")&&(h=o),m=!0;break;case"comment":{m||i(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=o.source.substring(1)||" ";c?c+=u+e:c=e,u="",d=!1;break}case"newline":d?c?c+=o.source:S&&"seq-item-ind"===s||(r=!0):u+=o.source,d=!0,p=!0,(y||g)&&(_=o),m=!0;break;case"anchor":y&&i(o,"MULTIPLE_ANCHORS","A node can have at most one anchor"),o.source.endsWith(":")&&i(o.offset+o.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),y=o,v??(v=o.offset),d=!1,m=!1,f=!0;break;case"tag":g&&i(o,"MULTIPLE_TAGS","A node can have at most one tag"),g=o,v??(v=o.offset),d=!1,m=!1,f=!0;break;case s:(y||g)&&i(o,"BAD_PROP_ORDER",`Anchors and tags must be after the ${o.source} indicator`),S&&i(o,"UNEXPECTED_TOKEN",`Unexpected ${o.source} in ${t??"collection"}`),S=o,d="seq-item-ind"===s||"explicit-key-ind"===s,m=!1;break;case"comma":if(t){b&&i(o,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),b=o,d=!1,m=!1;break}default:i(o,"UNEXPECTED_TOKEN",`Unexpected ${o.type} token`),d=!1,m=!1}let k=e[e.length-1],w=k?k.offset+k.source.length:o;return f&&n&&"space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&("scalar"!==n.type||""!==n.source)&&i(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h&&(d&&h.indent<=l||n?.type==="block-map"||n?.type==="block-seq")&&i(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:b,found:S,spaceBefore:r,comment:c,hasNewline:p,anchor:y,tag:g,newlineAfterProp:_,end:w,start:v??w}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js"(e,t){t.containsNewline=function e(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes("\n"))return!0;if(t.end){for(let e of t.end)if("newline"===e.type)return!0}return!1;case"flow-collection":for(let s of t.items){for(let e of s.start)if("newline"===e.type)return!0;if(s.sep){for(let e of s.sep)if("newline"===e.type)return!0}if(e(s.key)||e(s.value))return!0}return!1;default:return!0}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(e,t){t.emptyScalarPosition=function(e,t,s){if(t){s??(s=t.length);for(let n=s-1;n>=0;--n){let s=t[n];switch(s.type){case"space":case"comment":case"newline":e-=s.source.length;continue}for(s=t[++n];s?.type==="space";)e+=s.source.length,s=t[++n];break}}return e}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js");t.flowIndentCheck=function(e,t,s){if(t?.type==="flow-collection"){let o=t.end[0];o.indent===e&&("]"===o.source||"}"===o.source)&&n.containsNewline(t)&&s(o,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js");t.mapIncludes=function(e,t,s){let{uniqueKeys:o}=e.options;if(!1===o)return!1;let i="function"==typeof o?o:(e,t)=>e===t||n.isScalar(e)&&n.isScalar(t)&&e.value===t.value;return t.some(e=>i(e.key,s))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js"),c=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js"),u=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),p=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js");function f(e){if(i.isCollection(e))return!0;throw Error("Expected a YAML collection as document contents")}t.Document=class e{constructor(e,t,s){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,i.NODE_TYPE,{value:i.DOC});let n=null;"function"==typeof t||Array.isArray(t)?n=t:void 0===s&&t&&(s=t,t=void 0);let o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},s);this.options=o;let{version:l}=o;s?._directives?(this.directives=s._directives.atDocument(),this.directives.yaml.explicit&&(l=this.directives.yaml.version)):this.directives=new p.Directives({version:l}),this.setSchema(l,s),this.contents=void 0===e?null:this.createNode(e,n,s)}clone(){let t=Object.create(e.prototype,{[i.NODE_TYPE]:{value:i.DOC}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=i.isNode(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){f(this.contents)&&this.contents.add(e)}addIn(e,t){f(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let s=m.anchorNames(this);e.anchor=!t||s.has(t)?m.findNewAnchor(t||"a",s):t}return new n.Alias(e.anchor)}createNode(e,t,s){let n;if("function"==typeof t)e=t.call({"":e},"",e),n=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),n=t}else void 0===s&&t&&(s=t,t=void 0);let{aliasDuplicateObjects:o,anchorPrefix:l,flow:a,keepUndefined:r,onTagObj:d,tag:c}=s??{},{onAnchor:p,setAnchors:f,sourceObjects:h}=m.createNodeAnchors(this,l||"a"),y={aliasDuplicateObjects:o??!0,keepUndefined:r??!1,onAnchor:p,onTagObj:d,replacer:n,schema:this.schema,sourceObjects:h},g=u.createNode(e,c,y);return a&&i.isCollection(g)&&(g.flow=!0),f(),g}createPair(e,t,s={}){let n=this.createNode(e,null,s),o=this.createNode(t,null,s);return new l.Pair(n,o)}delete(e){return!!f(this.contents)&&this.contents.delete(e)}deleteIn(e){return o.isEmptyPath(e)?null!=this.contents&&(this.contents=null,!0):!!f(this.contents)&&this.contents.deleteIn(e)}get(e,t){return i.isCollection(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return o.isEmptyPath(e)?!t&&i.isScalar(this.contents)?this.contents.value:this.contents:i.isCollection(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!i.isCollection(this.contents)&&this.contents.has(e)}hasIn(e){return o.isEmptyPath(e)?void 0!==this.contents:!!i.isCollection(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=o.collectionFromPath(this.schema,[e],t):f(this.contents)&&this.contents.set(e,t)}setIn(e,t){o.isEmptyPath(e)?this.contents=t:null==this.contents?this.contents=o.collectionFromPath(this.schema,Array.from(e),t):f(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let s;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new p.Directives({version:"1.1"}),s={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new p.Directives({version:e}),s={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,s=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(s)this.schema=new r.Schema(Object.assign(s,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:s,maxAliasCount:n,onAnchor:o,reviver:i}={}){let l={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===s,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},r=a.toJS(this.contents,t??"",l);if("function"==typeof o)for(let{count:e,res:t}of l.anchors.values())o(t,e);return"function"==typeof i?c.applyReviver(i,{"":r},"",r):r}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return d.stringifyDocument(this,e)}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js");function i(e){let t=new Set;return o.visit(e,{Value(e,s){s.anchor&&t.add(s.anchor)}}),t}function l(e,t){for(let s=1;;++s){let n=`${e}${s}`;if(!t.has(n))return n}}t.anchorIsValid=function(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0},t.anchorNames=i,t.createNodeAnchors=function(e,t){let s=[],o=new Map,a=null;return{onAnchor:n=>{s.push(n),a??(a=i(e));let o=l(t,a);return a.add(o),o},setAnchors:()=>{for(let e of s){let t=o.get(e);if("object"==typeof t&&t.anchor&&(n.isScalar(t.node)||n.isCollection(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:o}},t.findNewAnchor=l},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js"(e,t){t.applyReviver=function e(t,s,n,o){if(o&&"object"==typeof o)if(Array.isArray(o))for(let s=0,n=o.length;s<n;++s){let n=o[s],i=e(t,o,String(s),n);void 0===i?delete o[s]:i!==n&&(o[s]=i)}else if(o instanceof Map)for(let s of Array.from(o.keys())){let n=o.get(s),i=e(t,o,s,n);void 0===i?o.delete(s):i!==n&&o.set(s,i)}else if(o instanceof Set)for(let s of Array.from(o)){let n=e(t,o,s,s);void 0===n?o.delete(s):n!==s&&(o.delete(s),o.add(n))}else for(let[s,n]of Object.entries(o)){let i=e(t,o,s,n);void 0===i?delete o[s]:i!==n&&(o[s]=i)}return t.call(s,n,o)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");t.createNode=function(e,t,s){let l;if(o.isDocument(e)&&(e=e.contents),o.isNode(e))return e;if(o.isPair(e)){let t=s.schema[o.MAP].createNode?.(s.schema,null,s);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"u">typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:a,onAnchor:r,onTagObj:d,schema:m,sourceObjects:c}=s;if(a&&e&&"object"==typeof e){if(l=c.get(e))return l.anchor??(l.anchor=r(e)),new n.Alias(l.anchor);l={anchor:null,node:null},c.set(e,l)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let u=function(e,t,s){if(t){let e=s.filter(e=>e.tag===t),n=e.find(e=>!e.format)??e[0];if(!n)throw Error(`Tag ${t} not found`);return n}return s.find(t=>t.identify?.(e)&&!t.format)}(e,t,m.tags);if(!u){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new i.Scalar(e);return l&&(l.node=t),t}u=e instanceof Map?m[o.MAP]:Symbol.iterator in Object(e)?m[o.SEQ]:m[o.MAP]}d&&(d(u),delete s.onTagObj);let p=u?.createNode?u.createNode(s.schema,e,s):"function"==typeof u?.nodeClass?.from?u.nodeClass.from(s.schema,e,s):new i.Scalar(e);return t?p.tag=t:u.default||(p.tag=u.tag),l&&(l.node=p),p}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js");let i={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},l=e=>e.replace(/[!,[\]{}]/g,e=>i[e]);class a{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},a.defaultYaml,e),this.tags=Object.assign({},a.defaultTags,t)}clone(){let e=new a(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new a(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:a.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},a.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:a.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},a.defaultTags),this.atNextDocument=!1);let s=e.trim().split(/[ \t]+/),n=s.shift();switch(n){case"%TAG":{if(2!==s.length&&(t(0,"%TAG directive should contain exactly two parts"),s.length<2))return!1;let[e,n]=s;return this.tags[e]=n,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==s.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=s;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let s=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,s),!1}}default:return t(0,`Unknown directive ${n}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let s=e.slice(2,-1);return"!"===s||"!!"===s?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),s)}let[,s,n]=e.match(/^(.*!)([^!]*)$/s);n||t(`The ${e} tag has no suffix`);let o=this.tags[s];if(o)try{return o+decodeURIComponent(n)}catch(e){return t(String(e)),null}return"!"===s?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,s]of Object.entries(this.tags))if(e.startsWith(s))return t+l(e.substring(s.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t,s=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);if(e&&i.length>0&&n.isNode(e.contents)){let s={};o.visit(e.contents,(e,t)=>{n.isNode(t)&&t.tag&&(s[t.tag]=!0)}),t=Object.keys(s)}else t=[];for(let[n,o]of i)("!!"!==n||"tag:yaml.org,2002:"!==o)&&(!e||t.some(e=>e.startsWith(o)))&&s.push(`%TAG ${n} ${o}`);return s.join("\n")}}a.defaultYaml={explicit:!1,version:"1.2"},a.defaultTags={"!!":"tag:yaml.org,2002:"},t.Directives=a},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"(e,t){class s extends Error{constructor(e,t,s,n){super(),this.name=e,this.code=s,this.message=n,this.pos=t}}t.YAMLError=s,t.YAMLParseError=class extends s{constructor(e,t,s){super("YAMLParseError",e,t,s)}},t.YAMLWarning=class extends s{constructor(e,t,s){super("YAMLWarning",e,t,s)}},t.prettifyError=(e,t)=>s=>{if(-1===s.pos[0])return;s.linePos=s.pos.map(e=>t.linePos(e));let{line:n,col:o}=s.linePos[0];s.message+=` at line ${n}, column ${o}`;let i=o-1,l=e.substring(t.lineStarts[n-1],t.lineStarts[n]).replace(/[\n\r]+$/,"");if(i>=60&&l.length>80){let e=Math.min(i-39,l.length-79);l="…"+l.substring(e),i-=e-1}if(l.length>80&&(l=l.substring(0,79)+"…"),n>1&&/^ *$/.test(l.substring(0,i))){let s=e.substring(t.lineStarts[n-2],t.lineStarts[n-1]);s.length>80&&(s=s.substring(0,79)+"…\n"),l=s+l}if(/[^ ]/.test(l)){let e=1,t=s.linePos[1];t?.line===n&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-i)));let a=" ".repeat(i)+"^".repeat(e);s.message+=`:
|
|
6
|
+
|
|
7
|
+
${l}
|
|
8
|
+
${a}
|
|
9
|
+
`}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/index.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),c=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),u=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js");s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js");var p=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js"),f=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"),h=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js"),y=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js"),g=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js");n.Composer,o.Document,i.Schema,l.YAMLError,l.YAMLParseError,l.YAMLWarning,a.Alias,r.isAlias,r.isCollection,r.isDocument,r.isMap,r.isNode,r.isPair,r.isScalar,r.isSeq,d.Pair,m.Scalar,c.YAMLMap,u.YAMLSeq,p.Lexer,f.LineCounter,h.Parser,t.qg=y.parse,y.parseAllDocuments,y.parseDocument,y.stringify,g.visit,g.visitAsync},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"(e,t,s){var n=s("process");t.debug=function(e,...t){"debug"===e&&console.log(...t)},t.warn=function(e,t){("debug"===e||"warn"===e)&&("function"==typeof n.emitWarning?n.emitWarning(t):console.warn(t))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");class r extends l.NodeBase{constructor(e){super(i.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let s,n;if(t?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");for(let l of(t?.aliasResolveCache?s=t.aliasResolveCache:(s=[],o.visit(e,{Node:(e,t)=>{(i.isAlias(t)||i.hasAnchor(t))&&s.push(t)}}),t&&(t.aliasResolveCache=s)),s)){if(l===this)break;l.anchor===this.source&&(n=l)}return n}toJSON(e,t){if(!t)return{source:this.source};let{anchors:s,doc:n,maxAliasCount:o}=t,l=this.resolve(n,t);if(!l)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let r=s.get(l);if(r||(a.toJS(l,null,t),r=s.get(l)),r?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(o>=0&&(r.count+=1,0===r.aliasCount&&(r.aliasCount=function e(t,s,n){if(i.isAlias(s)){let e=s.resolve(t),o=n&&e&&n.get(e);return o?o.count*o.aliasCount:0}if(i.isCollection(s)){let o=0;for(let i of s.items){let s=e(t,i,n);s>o&&(o=s)}return o}return i.isPair(s)?Math.max(e(t,s.key,n),e(t,s.value,n)):1}(n,l,s)),r.count*r.aliasCount>o))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return r.res}toString(e,t,s){let o=`*${this.source}`;if(e){if(n.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${o} `}return o}}t.Alias=r},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js");function l(e,t,s){let o=s;for(let e=t.length-1;e>=0;--e){let s=t[e];if("number"==typeof s&&Number.isInteger(s)&&s>=0){let e=[];e[s]=o,o=e}else o=new Map([[s,o]])}return n.createNode(o,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}let a=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class r extends i.NodeBase{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>o.isNode(t)||o.isPair(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(a(e))this.add(t);else{let[s,...n]=e,i=this.get(s,!0);if(o.isCollection(i))i.addIn(n,t);else if(void 0===i&&this.schema)this.set(s,l(this.schema,n,t));else throw Error(`Expected YAML collection at ${s}. Remaining path: ${n}`)}}deleteIn(e){let[t,...s]=e;if(0===s.length)return this.delete(t);let n=this.get(t,!0);if(o.isCollection(n))return n.deleteIn(s);throw Error(`Expected YAML collection at ${t}. Remaining path: ${s}`)}getIn(e,t){let[s,...n]=e,i=this.get(s,!0);return 0===n.length?!t&&o.isScalar(i)?i.value:i:o.isCollection(i)?i.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!o.isPair(t))return!1;let s=t.value;return null==s||e&&o.isScalar(s)&&null==s.value&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(e){let[t,...s]=e;if(0===s.length)return this.has(t);let n=this.get(t,!0);return!!o.isCollection(n)&&n.hasIn(s)}setIn(e,t){let[s,...n]=e;if(0===n.length)this.set(s,t);else{let e=this.get(s,!0);if(o.isCollection(e))e.setIn(n,t);else if(void 0===e&&this.schema)this.set(s,l(this.schema,n,t));else throw Error(`Expected YAML collection at ${s}. Remaining path: ${n}`)}}}t.Collection=r,t.collectionFromPath=l,t.isEmptyPath=a},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");t.NodeBase=class{constructor(e){Object.defineProperty(this,o.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:s,onAnchor:l,reviver:a}={}){if(!o.isDocument(e))throw TypeError("A document argument is required");let r={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof s?s:100},d=i.toJS(this,"",r);if("function"==typeof l)for(let{count:e,res:t}of r.anchors.values())l(t,e);return"function"==typeof a?n.applyReviver(a,{"":d},"",d):d}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js");class a{constructor(e,t=null){Object.defineProperty(this,l.NODE_TYPE,{value:l.PAIR}),this.key=e,this.value=t}clone(e){let{key:t,value:s}=this;return l.isNode(t)&&(t=t.clone(e)),l.isNode(s)&&(s=s.clone(e)),new a(t,s)}toJSON(e,t){let s=t?.mapAsMap?new Map:{};return i.addPairToJSMap(t,s,this)}toString(e,t,s){return e?.doc?o.stringifyPair(this,e,t,s):JSON.stringify(this)}}t.Pair=a,t.createPair=function(e,t,s){return new a(n.createNode(e,void 0,s),n.createNode(t,void 0,s))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");class l extends o.NodeBase{constructor(e){super(n.SCALAR),this.value=e}toJSON(e,t){return t?.keep?this.value:i.toJS(this.value,e,t)}toString(){return String(this.value)}}l.BLOCK_FOLDED="BLOCK_FOLDED",l.BLOCK_LITERAL="BLOCK_LITERAL",l.PLAIN="PLAIN",l.QUOTE_DOUBLE="QUOTE_DOUBLE",l.QUOTE_SINGLE="QUOTE_SINGLE",t.Scalar=l,t.isScalarValue=e=>!e||"function"!=typeof e&&"object"!=typeof e},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");function d(e,t){let s=l.isScalar(t)?t.value:t;for(let n of e)if(l.isPair(n)&&(n.key===t||n.key===s||l.isScalar(n.key)&&n.key.value===s))return n}class m extends i.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(l.MAP,e),this.items=[]}static from(e,t,s){let{keepUndefined:n,replacer:o}=s,i=new this(e),l=(e,l)=>{if("function"==typeof o)l=o.call(t,e,l);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==l||n)&&i.items.push(a.createPair(e,l,s))};if(t instanceof Map)for(let[e,s]of t)l(e,s);else if(t&&"object"==typeof t)for(let e of Object.keys(t))l(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let s;s=l.isPair(e)?e:e&&"object"==typeof e&&"key"in e?new a.Pair(e.key,e.value):new a.Pair(e,e?.value);let n=d(this.items,s.key),o=this.schema?.sortMapEntries;if(n){if(!t)throw Error(`Key ${s.key} already set`);l.isScalar(n.value)&&r.isScalarValue(s.value)?n.value.value=s.value:n.value=s.value}else if(o){let e=this.items.findIndex(e=>0>o(s,e));-1===e?this.items.push(s):this.items.splice(e,0,s)}else this.items.push(s)}delete(e){let t=d(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let s=d(this.items,e),n=s?.value;return(!t&&l.isScalar(n)?n.value:n)??void 0}has(e){return!!d(this.items,e)}set(e,t){this.add(new a.Pair(e,t),!0)}toJSON(e,t,s){let n=s?new s:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(n),this.items))o.addPairToJSMap(t,n,e);return n}toString(e,t,s){if(!e)return JSON.stringify(this);for(let e of this.items)if(!l.isPair(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),n.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:s,onComment:t})}}t.YAMLMap=m,t.findPair=d},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");class d extends i.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(l.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=m(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let s=m(e);if("number"!=typeof s)return;let n=this.items[s];return!t&&l.isScalar(n)?n.value:n}has(e){let t=m(e);return"number"==typeof t&&t<this.items.length}set(e,t){let s=m(e);if("number"!=typeof s)throw Error(`Expected a valid index, not ${e}.`);let n=this.items[s];l.isScalar(n)&&a.isScalarValue(t)?n.value=t:this.items[s]=t}toJSON(e,t){let s=[];t?.onCreate&&t.onCreate(s);let n=0;for(let e of this.items)s.push(r.toJS(e,String(n++),t));return s}toString(e,t,s){return e?o.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:s,onComment:t}):JSON.stringify(this)}static from(e,t,s){let{replacer:o}=s,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let l of t){if("function"==typeof o){let s=t instanceof Set?l:String(e++);l=o.call(t,s,l)}i.items.push(n.createNode(l,void 0,s))}}return i}}function m(e){let t=l.isScalar(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}t.YAMLSeq=d},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");t.addPairToJSMap=function(e,t,{key:s,value:r}){if(l.isNode(s)&&s.addToJSMap)s.addToJSMap(e,t,r);else if(o.isMergeKey(e,s))o.addMergeToJSMap(e,t,r);else{let o=a.toJS(s,"",e);if(t instanceof Map)t.set(o,a.toJS(r,o,e));else if(t instanceof Set)t.add(o);else{let d=function(e,t,s){if(null===t)return"";if("object"!=typeof t)return String(t);if(l.isNode(e)&&s?.doc){let t=i.createStringifyContext(s.doc,{});for(let e of(t.anchors=new Set,s.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let o=e.toString(t);if(!s.mapKeyWarned){let e=JSON.stringify(o);e.length>40&&(e=e.substring(0,36)+'..."'),n.warn(s.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),s.mapKeyWarned=!0}return o}return JSON.stringify(t)}(s,o,e),m=a.toJS(r,d,e);d in t?Object.defineProperty(t,d,{value:m,writable:!0,enumerable:!0,configurable:!0}):t[d]=m}}return t}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"(e,t){let s=Symbol.for("yaml.alias"),n=Symbol.for("yaml.document"),o=Symbol.for("yaml.map"),i=Symbol.for("yaml.pair"),l=Symbol.for("yaml.scalar"),a=Symbol.for("yaml.seq"),r=Symbol.for("yaml.node.type"),d=e=>!!e&&"object"==typeof e&&e[r]===l;function m(e){if(e&&"object"==typeof e)switch(e[r]){case o:case a:return!0}return!1}t.ALIAS=s,t.DOC=n,t.MAP=o,t.NODE_TYPE=r,t.PAIR=i,t.SCALAR=l,t.SEQ=a,t.hasAnchor=e=>(d(e)||m(e))&&!!e.anchor,t.isAlias=e=>!!e&&"object"==typeof e&&e[r]===s,t.isCollection=m,t.isDocument=e=>!!e&&"object"==typeof e&&e[r]===n,t.isMap=e=>!!e&&"object"==typeof e&&e[r]===o,t.isNode=function(e){if(e&&"object"==typeof e)switch(e[r]){case s:case o:case l:case a:return!0}return!1},t.isPair=e=>!!e&&"object"==typeof e&&e[r]===i,t.isScalar=d,t.isSeq=e=>!!e&&"object"==typeof e&&e[r]===a},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js");t.toJS=function e(t,s,o){if(Array.isArray(t))return t.map((t,s)=>e(t,String(s),o));if(t&&"function"==typeof t.toJSON){if(!o||!n.hasAnchor(t))return t.toJSON(s,o);let e={aliasCount:0,count:1,res:void 0};o.anchors.set(t,e),o.onCreate=t=>{e.res=t,delete o.onCreate};let i=t.toJSON(s,o);return o.onCreate&&o.onCreate(i),i}return"bigint"!=typeof t||o?.keep?t:Number(t)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");function a(e,t){if(t)for(let s of t)switch(s.type){case"space":case"comment":e.push(s);break;case"newline":return e.push(s),!0}return!1}function r(e,t,s){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=s,e.source=t;break;case"block-scalar":{let n=e.props.slice(1),o=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length),n))t.offset+=o;delete e.props,Object.assign(e,{type:s,source:t,end:n});break}case"block-map":case"block-seq":{let n={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:s,source:t,end:[n]});break}default:{let n="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:s,indent:n,source:t,end:o})}}}t.createScalarToken=function(e,t){let{implicitKey:s=!1,indent:n,inFlow:o=!1,offset:i=-1,type:r="PLAIN"}=t,d=l.stringifyString({type:r,value:e},{implicitKey:s,indent:n>0?" ".repeat(n):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),m=t.end??[{type:"newline",offset:-1,indent:n,source:"\n"}];switch(d[0]){case"|":case">":{let e=d.indexOf("\n"),t=d.substring(0,e),s=d.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:n,source:t}];return a(o,m)||o.push({type:"newline",offset:-1,indent:n,source:"\n"}),{type:"block-scalar",offset:i,indent:n,props:o,source:s}}case'"':return{type:"double-quoted-scalar",offset:i,indent:n,source:d,end:m};case"'":return{type:"single-quoted-scalar",offset:i,indent:n,source:d,end:m};default:return{type:"scalar",offset:i,indent:n,source:d,end:m}}},t.resolveAsScalar=function(e,t=!0,s){if(e){let l=(e,t,n)=>{let o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(s)s(o,t,n);else throw new i.YAMLParseError([o,o+1],t,n)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return o.resolveFlowScalar(e,t,l);case"block-scalar":return n.resolveBlockScalar({options:{strict:t}},e,l)}}return null},t.setScalarValue=function(e,t,s={}){let{afterKey:n=!1,implicitKey:o=!1,inFlow:i=!1,type:d}=s,m="indent"in e?e.indent:null;if(n&&"number"==typeof m&&(m+=2),!d)switch(e.type){case"single-quoted-scalar":d="QUOTE_SINGLE";break;case"double-quoted-scalar":d="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");d=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:d="PLAIN"}let c=l.stringifyString({type:d,value:t},{implicitKey:o||null===m,indent:null!==m&&m>0?" ".repeat(m):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case"|":case">":!function(e,t){let s=t.indexOf("\n"),n=t.substring(0,s),o=t.substring(s+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=n,e.source=o}else{let{offset:t}=e,s="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:s,source:n}];for(let t of(a(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:s,source:"\n"}),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:s,props:i,source:o})}}(e,c);break;case'"':r(e,c,"double-quoted-scalar");break;case"'":r(e,c,"single-quoted-scalar");break;default:r(e,c,"scalar")}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js"(e,t){function s(e){switch(e.type){case"block-scalar":{let t="";for(let n of e.props)t+=s(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(let s of e.items)t+=n(s);return t}case"flow-collection":{let t=e.start.source;for(let s of e.items)t+=n(s);for(let s of e.end)t+=s.source;return t}case"document":{let t=n(e);if(e.end)for(let s of e.end)t+=s.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let s of e.end)t+=s.source;return t}}}function n({start:e,key:t,sep:o,value:i}){let l="";for(let t of e)l+=t.source;if(t&&(l+=s(t)),o)for(let e of o)l+=e.source;return i&&(l+=s(i)),l}t.stringify=e=>"type"in e?s(e):n(e)},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js"(e,t){let s=Symbol("break visit"),n=Symbol("skip children"),o=Symbol("remove item");function i(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,i){let l=i(n,t);if("symbol"==typeof l)return l;for(let a of["key","value"]){let r=n[a];if(r&&"items"in r){for(let n=0;n<r.items.length;++n){let l=e(Object.freeze(t.concat([[a,n]])),r.items[n],i);if("number"==typeof l)n=l-1;else{if(l===s)return s;l===o&&(r.items.splice(n,1),n-=1)}}"function"==typeof l&&"key"===a&&(l=l(n,t))}}return"function"==typeof l?l(n,t):l}(Object.freeze([]),e,t)}i.BREAK=s,i.SKIP=n,i.REMOVE=o,i.itemAtPath=(e,t)=>{let s=e;for(let[e,n]of t){let t=s?.[e];if(!t||!("items"in t))return;s=t.items[n]}return s},i.parentCollection=(e,t)=>{let s=i.itemAtPath(e,t.slice(0,-1)),n=t[t.length-1][0],o=s?.[n];if(o&&"items"in o)return o;throw Error("Parent collection not found")},t.visit=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js");t.createScalarToken=n.createScalarToken,t.resolveAsScalar=n.resolveAsScalar,t.setScalarValue=n.setScalarValue,t.stringify=o.stringify,t.visit=i.visit,t.BOM="\uFEFF",t.DOCUMENT="\x02",t.FLOW_END="\x18",t.SCALAR="\x1f",t.isCollection=e=>!!e&&"items"in e,t.isScalar=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),t.prettyToken=function(e){switch(e){case"\uFEFF":return"<BOM>";case"\x02":return"<DOC>";case"\x18":return"<FLOW_END>";case"\x1f":return"<SCALAR>";default:return JSON.stringify(e)}},t.tokenType=function(e){switch(e){case"\uFEFF":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case"\x1f":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js");function o(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let i=new Set("0123456789ABCDEFabcdef"),l=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),a=new Set(",[]{}"),r=new Set(" ,[]{}\n\r "),d=e=>!e||r.has(e);t.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let s=this.next??"stream";for(;s&&(t||this.hasChars(1));)s=yield*this.parseNext(s)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let s=0;for(;" "===t;)t=this.buffer[++s+e];if("\r"===t){let t=this.buffer[s+e+1];if("\n"===t||!t&&!this.atEnd)return e+s+1}return"\n"!==t&&!(s>=this.indentNext)&&(t||this.atEnd)?-1:e+s}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&o(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===n.BOM&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,s=e.indexOf("#");for(;-1!==s;){let n=e[s-1];if(" "===n||" "===n){t=s-1;break}s=e.indexOf("#",s+1)}for(;;){let s=e[t-1];if(" "===s||" "===s)t-=1;else break}let n=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-n),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield n.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let e=this.peek(3);if(("---"===e||"..."===e)&&o(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!o(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&o(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(d),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,s=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=s=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let i=this.getLine();if(null===i)return this.setNext("flow");if((-1!==s&&s<this.indentNext&&"#"!==i[0]||0===s&&(i.startsWith("---")||i.startsWith("..."))&&o(i[3]))&&(s!==this.indentNext-1||1!==this.flowLevel||"]"!==i[0]&&"}"!==i[0]))return this.flowLevel=0,yield n.FLOW_END,yield*this.parseLineStart();let l=0;for(;","===i[l];)l+=yield*this.pushCount(1),l+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i[l+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-l),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(d),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||o(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let s=this.buffer.substring(0,t),n=s.indexOf("\n",this.pos);if(-1!==n){for(;-1!==n;){let e=this.continueScalar(n+1);if(-1===e)break;n=s.indexOf("\n",e)}-1!==n&&(t=n-("\r"===s[n-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>o(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,s=0;e:for(let n=this.pos;e=this.buffer[n];++n)switch(e){case" ":s+=1;break;case"\n":t=n,s=0;break;case"\r":{let e=this.buffer[n+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(s>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=s:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let o=t+1;for(e=this.buffer[o];" "===e;)e=this.buffer[++o];if(" "===e){for(;" "===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++o];t=o-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,n=this.buffer[e];"\r"===n&&(n=this.buffer[--e]);let o=e;for(;" "===n;)n=this.buffer[--e];if("\n"===n&&e>=this.pos&&e+1+s>o)t=e;else break}return yield n.SCALAR,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e,t=this.flowLevel>0,s=this.pos-1,i=this.pos-1;for(;e=this.buffer[++i];)if(":"===e){let e=this.buffer[i+1];if(o(e)||t&&a.has(e))break;s=i}else if(o(e)){let n=this.buffer[i+1];if("\r"===e&&("\n"===n?(i+=1,e="\n",n=this.buffer[i+1]):s=i),"#"===n||t&&a.has(n))break;if("\n"===e){let e=this.continueScalar(i+1);if(-1===e)break;i=Math.max(i,e-2)}}else{if(t&&a.has(e))break;s=i}return e||this.atEnd?(yield n.SCALAR,yield*this.pushToIndex(s+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let s=this.buffer.slice(this.pos,e);return s?(yield s,this.pos+=s.length,s.length):(t&&(yield""),0)}*pushIndicators(){let e=0;for(;;){switch(this.charAt(0)){case"!":e+=yield*this.pushTag(),e+=yield*this.pushSpaces(!0);continue;case"&":e+=yield*this.pushUntil(d),e+=yield*this.pushSpaces(!0);continue;case"-":case"?":case":":{let t=this.flowLevel>0,s=this.charAt(1);if(o(s)||t&&a.has(s)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=yield*this.pushCount(1),e+=yield*this.pushSpaces(!0);continue}}}break}return e}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!o(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(l.has(t))t=this.buffer[++e];else if("%"===t&&i.has(this.buffer[e+1])&&i.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,s=this.pos-1;do t=this.buffer[++s];while(" "===t||e&&" "===t);let n=s-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=s),n}*pushUntil(e){let t=this.pos,s=this.buffer[t];for(;!e(s);)s=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"(e,t){t.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,s=this.lineStarts.length;for(;t<s;){let n=t+s>>1;this.lineStarts[n]<e?t=n+1:s=n}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};let n=this.lineStarts[t-1];return{line:t,col:e-n+1}}}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js"(e,t,s){var n=s("process"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js");function l(e,t){for(let s=0;s<e.length;++s)if(e[s].type===t)return!0;return!1}function a(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return -1}function r(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function d(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function m(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function c(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let s=0;s<t.length;++s)e.push(t[s])}function u(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||l(t.start,"explicit-key-ind")||l(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,r(t.value)?t.value.end?c(t.value.end,t.sep):t.value.end=t.sep:c(t.start,t.sep),delete t.sep)}t.Parser=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new i.Lexer,this.onNewLine=e}*parse(e,t=!1){for(let s of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(s);t||(yield*this.end())}*next(e){if(this.source=e,n.env.LOG_TOKENS&&console.log("|",o.prettyToken(e)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=o.tokenType(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&e?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&u(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let s=e.items[e.items.length-1];if(s.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(s.sep)s.value=t;else{Object.assign(s,{key:t,sep:[]}),this.onKeyLine=!s.explicitKey;return}break}case"block-seq":{let s=e.items[e.items.length-1];s.value?e.items.push({start:[],value:t}):s.value=t;break}case"flow-collection":{let s=e.items[e.items.length-1];!s||s.value?e.items.push({start:[],key:t,sep:[]}):s.sep?s.value=t:Object.assign(s,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let s=t.items[t.items.length-1];s&&!s.sep&&!s.value&&s.start.length>0&&-1===a(s.start)&&(0===t.indent||s.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=s.start:e.items.push({start:s.start}),t.items.splice(-1,1))}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":-1!==a(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){let t,s=m(d(this.peek(2)));e.end?((t=e.end).push(this.sourceToken),delete e.end):t=[this.sourceToken];let n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let s="end"in t.value?t.value.end:void 0,n=Array.isArray(s)?s[s.length-1]:void 0;n?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let s=e.items[e.items.length-2],n=s?.value?.end;if(Array.isArray(n)){c(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let s=!this.onKeyLine&&this.indent===e.indent,n=s&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,o=[];if(n&&t.sep&&!t.value){let s=[];for(let n=0;n<t.sep.length;++n){let o=t.sep[n];switch(o.type){case"newline":s.push(n);break;case"space":break;case"comment":o.indent>e.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(o=t.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":n||t.value?(o.push(this.sourceToken),e.items.push({start:o}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t.explicitKey?n||t.value?(o.push(this.sourceToken),e.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(l(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(r(t.key)&&!l(t.sep,"newline")){let e=m(t.start),s=t.key,n=t.sep;n.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:s,sep:n}]})}else o.length>0?t.sep=t.sep.concat(o,this.sourceToken):t.sep.push(this.sourceToken);else if(l(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=m(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:o,key:null,sep:[this.sourceToken]}):l(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);n||t.value?(e.items.push({start:o,key:s,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(s):(Object.assign(t,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{let n=this.startBlockValue(e);if(n){if("block-seq"===n.type){if(!t.explicitKey&&t.sep&&!l(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else s&&e.items.push({start:o});this.stack.push(n);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let s="end"in t.value?t.value.end:void 0,n=Array.isArray(s)?s[s.length-1]:void 0;n?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let s=e.items[e.items.length-2],n=s?.value?.end;if(Array.isArray(n)){c(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||l(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e?.type==="flow-collection")}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:s,sep:[]}):t.sep?this.stack.push(s):Object.assign(t,{key:s,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let s=this.startBlockValue(e);s?this.stack.push(s):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep))if("map-value-ind"===this.type&&"flow-collection"!==t.type){let s=m(d(t));u(e);let n=e.end.splice(1,e.end.length);n.push(this.sourceToken);let o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e);else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=m(d(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=m(d(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js");function m(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new r.LineCounter||null,prettyErrors:t}}function c(e,t={}){let{lineCounter:s,prettyErrors:o}=m(t),l=new d.Parser(s?.addNewLine),a=new n.Composer(t),r=null;for(let t of a.compose(l.parse(e),!0,e.length))if(r){if("silent"!==r.options.logLevel){r.errors.push(new i.YAMLParseError(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else r=t;return o&&s&&(r.errors.forEach(i.prettifyError(e,s)),r.warnings.forEach(i.prettifyError(e,s))),r}t.parse=function(e,t,s){let n;"function"==typeof t?n=t:void 0===s&&t&&"object"==typeof t&&(s=t);let o=c(e,s);if(!o)return null;if(o.warnings.forEach(e=>l.warn(o.options.logLevel,e)),o.errors.length>0)if("silent"!==o.options.logLevel)throw o.errors[0];else o.errors=[];return o.toJS(Object.assign({reviver:n},s))},t.parseAllDocuments=function(e,t={}){let{lineCounter:s,prettyErrors:o}=m(t),l=new d.Parser(s?.addNewLine),a=new n.Composer(t),r=Array.from(a.compose(l.parse(e)));if(o&&s)for(let t of r)t.errors.forEach(i.prettifyError(e,s)),t.warnings.forEach(i.prettifyError(e,s));return r.length>0?r:Object.assign([],{empty:!0},a.streamInfo())},t.parseDocument=c,t.stringify=function(e,t,s){let n=null;if("function"==typeof t||Array.isArray(t)?n=t:void 0===s&&t&&(s=t),"string"==typeof s&&(s=s.length),"number"==typeof s){let e=Math.round(s);s=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=s??t??{};if(!e)return}return a.isDocument(e)&&!n?e.toString(s):new o.Document(e,n,s).toString(s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js");let r=(e,t)=>e.key<t.key?-1:+(e.key>t.key);t.Schema=class e{constructor({compat:e,customTags:t,merge:s,resolveKnownTags:d,schema:m,sortMapEntries:c,toStringDefaults:u}){this.compat=Array.isArray(e)?a.getTags(e,"compat"):e?a.getTags(null,e):null,this.name="string"==typeof m&&m||"core",this.knownTags=d?a.coreKnownTags:{},this.tags=a.getTags(t,this.name,s),this.toStringOptions=u??null,Object.defineProperty(this,n.MAP,{value:o.map}),Object.defineProperty(this,n.SCALAR,{value:l.string}),Object.defineProperty(this,n.SEQ,{value:i.seq}),this.sortMapEntries="function"==typeof c?c:!0===c?r:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js");t.map={collection:"map",default:!0,nodeClass:o.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(n.isMap(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,s)=>o.YAMLMap.from(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");let o={identify:e=>null==e,createNode:()=>new n.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new n.Scalar(null),stringify:({source:e},t)=>"string"==typeof e&&o.test.test(e)?e:t.options.nullStr};t.nullTag=o},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js");t.seq={collection:"seq",default:!0,nodeClass:o.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(n.isSeq(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,s)=>o.YAMLSeq.from(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");t.string={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,s,o)=>(t=Object.assign({actualString:!0},t),n.stringifyString(e,t,s,o))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");let o={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new n.Scalar("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},s)=>e&&o.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?s.options.trueStr:s.options.falseStr};t.boolTag=o},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:o.stringifyNumber};t.float={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new n.Scalar(parseFloat(e)),s=e.indexOf(".");return -1!==s&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-s-1),t},stringify:o.stringifyNumber},t.floatExp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},t.floatNaN=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let o=e=>"bigint"==typeof e||Number.isInteger(e),i=(e,t,s,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),s);function l(e,t,s){let{value:i}=e;return o(i)&&i>=0?s+i.toString(t):n.stringifyNumber(e)}t.int={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,s)=>i(e,0,10,s),stringify:n.stringifyNumber},t.intHex={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,s)=>i(e,2,16,s),stringify:e=>l(e,16,"0x")},t.intOct={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,s)=>i(e,2,8,s),stringify:e=>l(e,8,"0o")}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js");t.schema=[n.map,i.seq,l.string,o.nullTag,a.boolTag,d.intOct,d.int,d.intHex,r.floatNaN,r.floatExp,r.float]},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js");function l(e){return"bigint"==typeof e||Number.isInteger(e)}let a=({value:e})=>JSON.stringify(e),r=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:a},{identify:e=>null==e,createNode:()=>new n.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:a},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:a},{identify:l,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:s})=>s?BigInt(e):parseInt(e,10),stringify:({value:e})=>l(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:a}];t.schema=[o.map,i.seq].concat(r,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)})},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js"),c=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js"),u=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"),p=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"),f=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"),h=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"),y=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js"),g=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js"),_=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js");let b=new Map([["core",m.schema],["failsafe",[n.map,i.seq,l.string]],["json",c.schema],["yaml11",y.schema],["yaml-1.1",y.schema]]),S={binary:u.binary,bool:a.boolTag,float:r.float,floatExp:r.floatExp,floatNaN:r.floatNaN,floatTime:_.floatTime,int:d.int,intHex:d.intHex,intOct:d.intOct,intTime:_.intTime,map:n.map,merge:p.merge,null:o.nullTag,omap:f.omap,pairs:h.pairs,seq:i.seq,set:g.set,timestamp:_.timestamp};t.coreKnownTags={"tag:yaml.org,2002:binary":u.binary,"tag:yaml.org,2002:merge":p.merge,"tag:yaml.org,2002:omap":f.omap,"tag:yaml.org,2002:pairs":h.pairs,"tag:yaml.org,2002:set":g.set,"tag:yaml.org,2002:timestamp":_.timestamp},t.getTags=function(e,t,s){let n=b.get(t);if(n&&!e)return s&&!n.includes(p.merge)?n.concat(p.merge):n.slice();let o=n;if(!o)if(Array.isArray(e))o=[];else{let e=Array.from(b.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)o=o.concat(t);else"function"==typeof e&&(o=e(o.slice()));return s&&(o=o.concat(p.merge)),o.reduce((e,t)=>{let s="string"==typeof t?S[t]:t;if(!s){let e=JSON.stringify(t),s=Object.keys(S).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${s}`)}return e.includes(s)||e.push(s),e},[])}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(e,t,s){var n=s("buffer"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");t.binary={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof n.Buffer)return n.Buffer.from(e,"base64");if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),s=new Uint8Array(t.length);for(let e=0;e<t.length;++e)s[e]=t.charCodeAt(e);return s}},stringify({comment:e,type:t,value:s},l,a,r){let d;if(!s)return"";if("function"==typeof n.Buffer)d=s instanceof n.Buffer?s.toString("base64"):n.Buffer.from(s.buffer).toString("base64");else if("function"==typeof btoa){let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);d=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=o.Scalar.BLOCK_LITERAL),t!==o.Scalar.QUOTE_DOUBLE){let e=Math.max(l.options.lineWidth-l.indent.length,l.options.minContentWidth),s=Math.ceil(d.length/e),n=Array(s);for(let t=0,o=0;t<s;++t,o+=e)n[t]=d.substr(o,e);d=n.join(t===o.Scalar.BLOCK_LITERAL?"\n":" ")}return i.stringifyString({comment:e,type:t,value:d},l,a,r)}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");function o({value:e,source:t},s){let n=e?i:l;return t&&n.test.test(t)?t:e?s.options.trueStr:s.options.falseStr}let i={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new n.Scalar(!0),stringify:o},l={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new n.Scalar(!1),stringify:o};t.falseTag=l,t.trueTag=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:o.stringifyNumber};t.float={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new n.Scalar(parseFloat(e.replace(/_/g,""))),s=e.indexOf(".");if(-1!==s){let n=e.substring(s+1).replace(/_/g,"");"0"===n[n.length-1]&&(t.minFractionDigits=n.length)}return t},stringify:o.stringifyNumber},t.floatExp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},t.floatNaN=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let o=e=>"bigint"==typeof e||Number.isInteger(e);function i(e,t,s,{intAsBigInt:n}){let o=e[0];if(("-"===o||"+"===o)&&(t+=1),e=e.substring(t).replace(/_/g,""),n){switch(s){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===o?BigInt(-1)*t:t}let l=parseInt(e,s);return"-"===o?-1*l:l}function l(e,t,s){let{value:i}=e;if(o(i)){let e=i.toString(t);return i<0?"-"+s+e.substr(1):s+e}return n.stringifyNumber(e)}t.int={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,s)=>i(e,0,10,s),stringify:n.stringifyNumber},t.intBin={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,s)=>i(e,2,2,s),stringify:e=>l(e,2,"0b")},t.intHex={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,s)=>i(e,2,16,s),stringify:e=>l(e,16,"0x")},t.intOct={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,s)=>i(e,1,8,s),stringify:e=>l(e,8,"0")}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");let i={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new o.Scalar(Symbol("<<")),{addToJSMap:l}),stringify:()=>"<<"};function l(e,t,s){let o=r(e,s);if(n.isSeq(o))for(let s of o.items)a(e,t,s);else if(Array.isArray(o))for(let s of o)a(e,t,s);else a(e,t,o)}function a(e,t,s){let o=r(e,s);if(!n.isMap(o))throw Error("Merge sources must be maps or map aliases");for(let[s,n]of o.toJSON(null,e,Map))t instanceof Map?t.has(s)||t.set(s,n):t instanceof Set?t.add(s):Object.prototype.hasOwnProperty.call(t,s)||Object.defineProperty(t,s,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function r(e,t){return e&&n.isAlias(t)?t.resolve(e.doc,e):t}t.addMergeToJSMap=l,t.isMergeKey=(e,t)=>(i.identify(t)||n.isScalar(t)&&(!t.type||t.type===o.Scalar.PLAIN)&&i.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===i.tag&&e.default),t.merge=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js");class r extends l.YAMLSeq{constructor(){super(),this.add=i.YAMLMap.prototype.add.bind(this),this.delete=i.YAMLMap.prototype.delete.bind(this),this.get=i.YAMLMap.prototype.get.bind(this),this.has=i.YAMLMap.prototype.has.bind(this),this.set=i.YAMLMap.prototype.set.bind(this),this.tag=r.tag}toJSON(e,t){if(!t)return super.toJSON(e);let s=new Map;for(let e of(t?.onCreate&&t.onCreate(s),this.items)){let i,l;if(n.isPair(e)?(i=o.toJS(e.key,"",t),l=o.toJS(e.value,i,t)):i=o.toJS(e,"",t),s.has(i))throw Error("Ordered maps must not include duplicate keys");s.set(i,l)}return s}static from(e,t,s){let n=a.createPairs(e,t,s),o=new this;return o.items=n.items,o}}r.tag="tag:yaml.org,2002:omap",t.YAMLOMap=r,t.omap={collection:"seq",identify:e=>e instanceof Map,nodeClass:r,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let s=a.resolvePairs(e,t),o=[];for(let{key:e}of s.items)n.isScalar(e)&&(o.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):o.push(e.value));return Object.assign(new r,s)},createNode:(e,t,s)=>r.from(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js");function a(e,t){if(n.isSeq(e))for(let s=0;s<e.items.length;++s){let l=e.items[s];if(!n.isPair(l)){if(n.isMap(l)){l.items.length>1&&t("Each pair must have its own sequence indicator");let e=l.items[0]||new o.Pair(new i.Scalar(null));if(l.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${l.commentBefore}
|
|
10
|
+
${e.key.commentBefore}`:l.commentBefore),l.comment){let t=e.value??e.key;t.comment=t.comment?`${l.comment}
|
|
11
|
+
${t.comment}`:l.comment}l=e}e.items[s]=n.isPair(l)?l:new o.Pair(l)}}else t("Expected a sequence for this tag");return e}function r(e,t,s){let{replacer:n}=s,i=new l.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";let a=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let l,r;if("function"==typeof n&&(e=n.call(t,String(a++),e)),Array.isArray(e))if(2===e.length)l=e[0],r=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)r=e[l=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else l=e;i.items.push(o.createPair(l,r,s))}return i}t.createPairs=r,t.pairs={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:a,createNode:r},t.resolvePairs=a},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js"),c=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"),u=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"),p=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"),f=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js"),h=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js");t.schema=[n.map,i.seq,l.string,o.nullTag,r.trueTag,r.falseTag,m.intBin,m.intOct,m.int,m.intHex,d.floatNaN,d.floatExp,d.float,a.binary,c.merge,u.omap,p.pairs,f.set,h.intTime,h.floatTime,h.timestamp]},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js");class l extends i.YAMLMap{constructor(e){super(e),this.tag=l.tag}add(e){let t;t=n.isPair(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new o.Pair(e.key,null):new o.Pair(e,null),i.findPair(this.items,t.key)||this.items.push(t)}get(e,t){let s=i.findPair(this.items,e);return!t&&n.isPair(s)?n.isScalar(s.key)?s.key.value:s.key:s}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let s=i.findPair(this.items,e);s&&!t?this.items.splice(this.items.indexOf(s),1):!s&&t&&this.items.push(new o.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,s){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,s);throw Error("Set items must all have null values")}static from(e,t,s){let{replacer:n}=s,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof n&&(e=n.call(t,e,e)),i.items.push(o.createPair(e,null,s));return i}}l.tag="tag:yaml.org,2002:set",t.YAMLSet=l,t.set={collection:"map",identify:e=>e instanceof Set,nodeClass:l,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,s)=>l.from(e,t,s),resolve(e,t){if(n.isMap(e))if(e.hasAllNullValues(!0))return Object.assign(new l,e);else t("Set items must all have null values");else t("Expected a mapping for this tag");return e}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");function o(e,t){let s=e[0],n="-"===s||"+"===s?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=n.replace(/_/g,"").split(":").reduce((e,t)=>e*o(60)+o(t),o(0));return"-"===s?o(-1)*i:i}function i(e){let{value:t}=e,s=e=>e;if("bigint"==typeof t)s=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return n.stringifyNumber(e);let o="";t<0&&(o="-",t*=s(-1));let i=s(60),l=[t%i];return t<60?l.unshift(0):(t=(t-l[0])/i,l.unshift(t%i),t>=60&&(t=(t-l[0])/i,l.unshift(t))),o+l.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let l={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(l.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,s,n,i,a,r,d]=t.map(Number),m=Date.UTC(s,n-1,i,a||0,r||0,d||0,t[7]?Number((t[7]+"00").substr(1,3)):0),c=t[8];if(c&&"Z"!==c){let e=o(c,!1);30>Math.abs(e)&&(e*=60),m-=6e4*e}return new Date(m)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};t.floatTime={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>o(e,!1),stringify:i},t.intTime={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:s})=>o(e,s),stringify:i},t.timestamp=l},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js"(e,t){let s="block",n="quoted";function o(e,t,s){let n=t,o=t+1,i=e[o];for(;" "===i||" "===i;)if(t<o+s)i=e[++t];else{do i=e[++t];while(i&&"\n"!==i);n=t,i=e[o=t+1]}return n}t.FOLD_BLOCK=s,t.FOLD_FLOW="flow",t.FOLD_QUOTED=n,t.foldFlowLines=function(e,t,i="flow",{indentAtStart:l,lineWidth:a=80,minContentWidth:r=20,onFold:d,onOverflow:m}={}){let c,u,p;if(!a||a<0)return e;a<r&&(r=0);let f=Math.max(1+r,1+a-t.length);if(e.length<=f)return e;let h=[],y={},g=a-t.length;"number"==typeof l&&(l>a-Math.max(2,r)?h.push(0):g=a-l);let _=!1,b=-1,S=-1,v=-1;for(i===s&&-1!==(b=o(e,b,t.length))&&(g=b+f);p=e[b+=1];){if(i===n&&"\\"===p){switch(S=b,e[b+1]){case"x":b+=3;break;case"u":b+=5;break;case"U":b+=9;break;default:b+=1}v=b}if("\n"===p)i===s&&(b=o(e,b,t.length)),g=b+t.length+f,c=void 0;else{if(" "===p&&u&&" "!==u&&"\n"!==u&&" "!==u){let t=e[b+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(c=b)}if(b>=g)if(c)h.push(c),g=c+f,c=void 0;else if(i===n){for(;" "===u||" "===u;)u=p,p=e[b+=1],_=!0;let t=b>v+1?b-2:S-1;if(y[t])return e;h.push(t),y[t]=!0,g=t+f,c=void 0}else _=!0}u=p}if(_&&m&&m(),0===h.length)return e;d&&d();let k=e.slice(0,h[0]);for(let s=0;s<h.length;++s){let o=h[s],l=h[s+1]||e.length;0===o?k=`
|
|
12
|
+
${t}${e.slice(0,l)}`:(i===n&&y[o]&&(k+=`${e[o]}\\`),k+=`
|
|
13
|
+
${t}${e.slice(o+1,l)}`)}return k}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");t.createStringifyContext=function(e,t){let s,n=Object.assign({blockQuote:!0,commentString:i.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(n.collectionStyle){case"block":s=!1;break;case"flow":s=!0;break;default:s=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:s,options:n}},t.stringify=function(e,t,s,i){let a;if(o.isPair(e))return e.toString(t,s,i);if(o.isAlias(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let r=o.isNode(e)?e:t.doc.createNode(e,{onTagObj:e=>a=e});a??(a=function(e,t){let s,n;if(t.tag){let s=e.filter(e=>e.tag===t.tag);if(s.length>0)return s.find(e=>e.format===t.format)??s[0]}if(o.isScalar(t)){s=t.value;let o=e.filter(e=>e.identify?.(s));if(o.length>1){let e=o.filter(e=>e.test);e.length>0&&(o=e)}n=o.find(e=>e.format===t.format)??o.find(e=>!e.format)}else s=t,n=e.find(e=>e.nodeClass&&s instanceof e.nodeClass);if(!n){let e=s?.constructor?.name??(null===s?"null":typeof s);throw Error(`Tag not resolved for ${e} value`)}return n}(t.doc.schema.tags,r));let d=function(e,t,{anchors:s,doc:i}){if(!i.directives)return"";let l=[],a=(o.isScalar(e)||o.isCollection(e))&&e.anchor;a&&n.anchorIsValid(a)&&(s.add(a),l.push(`&${a}`));let r=e.tag??(t.default?null:t.tag);return r&&l.push(i.directives.tagString(r)),l.join(" ")}(r,a,t);d.length>0&&(t.indentAtStart=(t.indentAtStart??0)+d.length+1);let m="function"==typeof a.stringify?a.stringify(r,t,s,i):o.isScalar(r)?l.stringifyString(r,t,s,i):r.toString(t,s,i);return d?o.isScalar(r)||"{"===m[0]||"["===m[0]?`${d} ${m}`:`${d}
|
|
14
|
+
${t.indent}${m}`:m}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js");function l({indent:e,options:{commentString:t}},s,n,o){if(n&&o&&(n=n.replace(/^\n+/,"")),n){let o=i.indentComment(t(n),e);s.push(o.trimStart())}}t.stringifyCollection=function(e,t,s){return(t.inFlow??e.flow?function({items:e},t,{flowChars:s,itemIndent:a}){let{indent:r,indentStep:d,flowCollectionPadding:m,options:{commentString:c}}=t,u=Object.assign({},t,{indent:a+=d,inFlow:!0,type:null}),p=!1,f=0,h=[];for(let s=0;s<e.length;++s){let r=e[s],d=null;if(n.isNode(r))r.spaceBefore&&h.push(""),l(t,h,r.commentBefore,!1),r.comment&&(d=r.comment);else if(n.isPair(r)){let e=n.isNode(r.key)?r.key:null;e&&(e.spaceBefore&&h.push(""),l(t,h,e.commentBefore,!1),e.comment&&(p=!0));let s=n.isNode(r.value)?r.value:null;s?(s.comment&&(d=s.comment),s.commentBefore&&(p=!0)):null==r.value&&e?.comment&&(d=e.comment)}d&&(p=!0);let m=o.stringify(r,u,()=>d=null);p||(p=h.length>f||m.includes("\n")),s<e.length-1?m+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(p||(p=h.reduce((e,t)=>e+t.length+2,2)+(m.length+2)>t.options.lineWidth)),p&&(m+=",")),d&&(m+=i.lineComment(m,a,c(d))),h.push(m),f=h.length}let{start:y,end:g}=s;if(0===h.length)return y+g;if(!p){let e=h.reduce((e,t)=>e+t.length+2,2);p=t.options.lineWidth>0&&e>t.options.lineWidth}if(!p)return`${y}${m}${h.join(" ")}${m}${g}`;{let e=y;for(let t of h)e+=t?`
|
|
15
|
+
${d}${r}${t}`:"\n";return`${e}
|
|
16
|
+
${r}${g}`}}:function({comment:e,items:t},s,{blockItemPrefix:a,flowChars:r,itemIndent:d,onChompKeep:m,onComment:c}){let u,{indent:p,options:{commentString:f}}=s,h=Object.assign({},s,{indent:d,type:null}),y=!1,g=[];for(let e=0;e<t.length;++e){let r=t[e],m=null;if(n.isNode(r))!y&&r.spaceBefore&&g.push(""),l(s,g,r.commentBefore,y),r.comment&&(m=r.comment);else if(n.isPair(r)){let e=n.isNode(r.key)?r.key:null;e&&(!y&&e.spaceBefore&&g.push(""),l(s,g,e.commentBefore,y))}y=!1;let c=o.stringify(r,h,()=>m=null,()=>y=!0);m&&(c+=i.lineComment(c,d,f(m))),y&&m&&(y=!1),g.push(a+c)}if(0===g.length)u=r.start+r.end;else{u=g[0];for(let e=1;e<g.length;++e){let t=g[e];u+=t?`
|
|
17
|
+
${p}${t}`:"\n"}}return e?(u+="\n"+i.indentComment(f(e),p),c&&c()):y&&m&&m(),u})(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js"(e,t){function s(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}t.indentComment=s,t.lineComment=(e,t,n)=>e.endsWith("\n")?s(n,t):n.includes("\n")?"\n"+s(n,t):(e.endsWith(" ")?"":" ")+n,t.stringifyComment=e=>e.replace(/^(?!$)(?: $)?/gm,"#")},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js");t.stringifyDocument=function(e,t){let s=[],l=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(s.push(t),l=!0):e.directives.docStart&&(l=!0)}l&&s.push("---");let a=o.createStringifyContext(e,t),{commentString:r}=a.options;if(e.commentBefore){1!==s.length&&s.unshift("");let t=r(e.commentBefore);s.unshift(i.indentComment(t,""))}let d=!1,m=null;if(e.contents){if(n.isNode(e.contents)){if(e.contents.spaceBefore&&l&&s.push(""),e.contents.commentBefore){let t=r(e.contents.commentBefore);s.push(i.indentComment(t,""))}a.forceBlockIndent=!!e.comment,m=e.contents.comment}let t=m?void 0:()=>d=!0,c=o.stringify(e.contents,a,()=>m=null,t);m&&(c+=i.lineComment(c,"",r(m))),("|"===c[0]||">"===c[0])&&"---"===s[s.length-1]?s[s.length-1]=`--- ${c}`:s.push(c)}else s.push(o.stringify(e.contents,a));if(e.directives?.docEnd)if(e.comment){let t=r(e.comment);t.includes("\n")?(s.push("..."),s.push(i.indentComment(t,""))):s.push(`... ${t}`)}else s.push("...");else{let t=e.comment;t&&d&&(t=t.replace(/^\n+/,"")),t&&((!d||m)&&""!==s[s.length-1]&&s.push(""),s.push(i.indentComment(r(t),"")))}return s.join("\n")+"\n"}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js"(e,t){t.stringifyNumber=function({format:e,minFractionDigits:t,tag:s,value:n}){if("bigint"==typeof n)return String(n);let o="number"==typeof n?n:Number(n);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let i=Object.is(n,-0)?"-0":JSON.stringify(n);if(!e&&t&&(!s||"tag:yaml.org,2002:float"===s)&&/^-?\d/.test(i)&&!i.includes("e")){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let s=t-(i.length-e-1);for(;s-- >0;)i+="0"}return i}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js");t.stringifyPair=function({key:e,value:t},s,a,r){let d,m,c,{allNullValues:u,doc:p,indent:f,indentStep:h,options:{commentString:y,indentSeq:g,simpleKeys:_}}=s,b=n.isNode(e)&&e.comment||null;if(_){if(b)throw Error("With simple keys, key nodes cannot have comments");if(n.isCollection(e)||!n.isNode(e)&&"object"==typeof e)throw Error("With simple keys, collection cannot be used as a key value")}let S=!_&&(!e||b&&null==t&&!s.inFlow||n.isCollection(e)||(n.isScalar(e)?e.type===o.Scalar.BLOCK_FOLDED||e.type===o.Scalar.BLOCK_LITERAL:"object"==typeof e));s=Object.assign({},s,{allNullValues:!1,implicitKey:!S&&(_||!u),indent:f+h});let v=!1,k=!1,w=i.stringify(e,s,()=>v=!0,()=>k=!0);if(!S&&!s.inFlow&&w.length>1024){if(_)throw Error("With simple keys, single line scalar must not span more than 1024 characters");S=!0}if(s.inFlow){if(u||null==t)return v&&a&&a(),""===w?"?":S?`? ${w}`:w}else if(u&&!_||null==t&&S)return w=`? ${w}`,b&&!v?w+=l.lineComment(w,s.indent,y(b)):k&&r&&r(),w;v&&(b=null),S?(b&&(w+=l.lineComment(w,s.indent,y(b))),w=`? ${w}
|
|
18
|
+
${f}:`):(w=`${w}:`,b&&(w+=l.lineComment(w,s.indent,y(b)))),n.isNode(t)?(d=!!t.spaceBefore,m=t.commentBefore,c=t.comment):(d=!1,m=null,c=null,t&&"object"==typeof t&&(t=p.createNode(t))),s.implicitKey=!1,!S&&!b&&n.isScalar(t)&&(s.indentAtStart=w.length+1),k=!1,!(!g&&h.length>=2&&!s.inFlow&&!S&&n.isSeq(t))||t.flow||t.tag||t.anchor||(s.indent=s.indent.substring(2));let j=!1,N=i.stringify(t,s,()=>j=!0,()=>k=!0),E=" ";if(b||d||m){if(E=d?"\n":"",m){let e=y(m);E+=`
|
|
19
|
+
${l.indentComment(e,s.indent)}`}""!==N||s.inFlow?E+=`
|
|
20
|
+
${s.indent}`:"\n"===E&&c&&(E="\n\n")}else if(!S&&n.isCollection(t)){let e=N[0],n=N.indexOf("\n"),o=-1!==n,i=s.inFlow??t.flow??0===t.items.length;if(o||!i){let t=!1;if(o&&("&"===e||"!"===e)){let s=N.indexOf(" ");"&"===e&&-1!==s&&s<n&&"!"===N[s+1]&&(s=N.indexOf(" ",s+1)),(-1===s||n<s)&&(t=!0)}t||(E=`
|
|
21
|
+
${s.indent}`)}}else(""===N||"\n"===N[0])&&(E="");return w+=E+N,s.inFlow?j&&a&&a():c&&!j?w+=l.lineComment(w,s.indent,y(c)):k&&r&&r(),w}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js"(e,t,s){let n;var o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js");let l=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth});function a(e,t){let s=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return s;let{implicitKey:n}=t,o=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(/^(%|---|\.\.\.)/m.test(e)?" ":""),r="",d=0;for(let e=0,t=s[e];t;t=s[++e])if(" "===t&&"\\"===s[e+1]&&"n"===s[e+2]&&(r+=s.slice(d,e)+"\\ ",e+=1,d=e,t="\\"),"\\"===t)switch(s[e+1]){case"u":{r+=s.slice(d,e);let t=s.substr(e+2,4);switch(t){case"0000":r+="\\0";break;case"0007":r+="\\a";break;case"000b":r+="\\v";break;case"001b":r+="\\e";break;case"0085":r+="\\N";break;case"00a0":r+="\\_";break;case"2028":r+="\\L";break;case"2029":r+="\\P";break;default:"00"===t.substr(0,2)?r+="\\x"+t.substr(2):r+=s.substr(e,6)}e+=5,d=e+1}break;case"n":if(n||'"'===s[e+2]||s.length<o)e+=1;else{for(r+=s.slice(d,e)+"\n\n";"\\"===s[e+2]&&"n"===s[e+3]&&'"'!==s[e+4];)r+="\n",e+=2;r+=a," "===s[e+2]&&(r+="\\"),e+=1,d=e+1}break;default:e+=1}return r=d?r+s.slice(d):s,n?r:i.foldFlowLines(r,a,i.FOLD_QUOTED,l(t,!1))}function r(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return a(e,t);let s=t.indent||(/^(%|---|\.\.\.)/m.test(e)?" ":""),n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
22
|
+
${s}`)+"'";return t.implicitKey?n:i.foldFlowLines(n,s,i.FOLD_FLOW,l(t,!1))}function d(e,t){let s,{singleQuote:n}=t.options;if(!1===n)s=a;else{let t=e.includes('"'),o=e.includes("'");s=t&&!o?r:o&&!t?a:n?r:a}return s(e,t)}try{n=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{n=/\n+(?!\n|$)/g}function m({comment:e,type:t,value:s},a,r,c){let u,p,f,h,{blockQuote:y,commentString:g,lineWidth:_}=a.options;if(!y||/\n[\t ]+$/.test(s))return d(s,a);let b=a.indent||(a.forceBlockIndent||(h=s,/^(%|---|\.\.\.)/m.test(h))?" ":""),S="literal"===y||"folded"!==y&&t!==o.Scalar.BLOCK_FOLDED&&(t===o.Scalar.BLOCK_LITERAL||!function(e,t,s){if(!t||t<0)return!1;let n=t-s,o=e.length;if(o<=n)return!1;for(let t=0,s=0;t<o;++t)if("\n"===e[t]){if(t-s>n)return!0;if(o-(s=t+1)<=n)return!1}return!0}(s,_,b.length));if(!s)return S?"|\n":">\n";for(p=s.length;p>0;--p){let e=s[p-1];if("\n"!==e&&" "!==e&&" "!==e)break}let v=s.substring(p),k=v.indexOf("\n");-1===k?u="-":s===v||k!==v.length-1?(u="+",c&&c()):u="",v&&(s=s.slice(0,-v.length),"\n"===v[v.length-1]&&(v=v.slice(0,-1)),v=v.replace(n,`$&${b}`));let w=!1,j=-1;for(f=0;f<s.length;++f){let e=s[f];if(" "===e)w=!0;else if("\n"===e)j=f;else break}let N=s.substring(0,j<f?j+1:f);N&&(s=s.substring(N.length),N=N.replace(/\n+/g,`$&${b}`));let E=b?"2":"1",A=(w?E:"")+u;if(e&&(A+=" "+g(e.replace(/ ?[\r\n]+/g," ")),r&&r()),!S){let e=s.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${b}`),n=!1,r=l(a,!0);"folded"!==y&&t!==o.Scalar.BLOCK_FOLDED&&(r.onOverflow=()=>{n=!0});let d=i.foldFlowLines(`${N}${e}${v}`,b,i.FOLD_BLOCK,r);if(!n)return`>${A}
|
|
23
|
+
${b}${d}`}return s=s.replace(/\n+/g,`$&${b}`),`|${A}
|
|
24
|
+
${b}${N}${s}${v}`}t.stringifyString=function(e,t,s,n){let{implicitKey:c,inFlow:u}=t,p="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:f}=e;f!==o.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(p.value)&&(f=o.Scalar.QUOTE_DOUBLE);let h=e=>{switch(e){case o.Scalar.BLOCK_FOLDED:case o.Scalar.BLOCK_LITERAL:return c||u?d(p.value,t):m(p,t,s,n);case o.Scalar.QUOTE_DOUBLE:return a(p.value,t);case o.Scalar.QUOTE_SINGLE:return r(p.value,t);case o.Scalar.PLAIN:return function(e,t,s,n){let{type:a,value:r}=e,{actualString:c,implicitKey:u,indent:p,indentStep:f,inFlow:h}=t;if(u&&r.includes("\n")||h&&/[[\]{},]/.test(r))return d(r,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(r))return u||h||!r.includes("\n")?d(r,t):m(e,t,s,n);if(!u&&!h&&a!==o.Scalar.PLAIN&&r.includes("\n"))return m(e,t,s,n);if(/^(%|---|\.\.\.)/m.test(r)){if(""===p)return t.forceBlockIndent=!0,m(e,t,s,n);else if(u&&p===f)return d(r,t)}let y=r.replace(/\n+/g,`$&
|
|
25
|
+
${p}`);if(c){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(y),{compat:s,tags:n}=t.doc.schema;if(n.some(e)||s?.some(e))return d(r,t)}return u?y:i.foldFlowLines(y,p,i.FOLD_FLOW,l(t,!1))}(p,t,s,n);default:return null}},y=h(f);if(null===y){let{defaultKeyType:e,defaultStringType:s}=t.options,n=c&&e||s;if(null===(y=h(n)))throw Error(`Unsupported default string type ${n}`)}return y}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js");let o=Symbol("break visit"),i=Symbol("skip children"),l=Symbol("remove node");function a(e,t){let s=c(t);n.isDocument(e)?r(null,e.contents,s,Object.freeze([e]))===l&&(e.contents=null):r(null,e,s,Object.freeze([]))}function r(e,t,s,i){let a=u(e,t,s,i);if(n.isNode(a)||n.isPair(a))return p(e,i,a),r(e,a,s,i);if("symbol"!=typeof a){if(n.isCollection(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){let n=r(e,t.items[e],s,i);if("number"==typeof n)e=n-1;else{if(n===o)return o;n===l&&(t.items.splice(e,1),e-=1)}}}else if(n.isPair(t)){i=Object.freeze(i.concat(t));let e=r("key",t.key,s,i);if(e===o)return o;e===l&&(t.key=null);let n=r("value",t.value,s,i);if(n===o)return o;n===l&&(t.value=null)}}return a}async function d(e,t){let s=c(t);n.isDocument(e)?await m(null,e.contents,s,Object.freeze([e]))===l&&(e.contents=null):await m(null,e,s,Object.freeze([]))}async function m(e,t,s,i){let a=await u(e,t,s,i);if(n.isNode(a)||n.isPair(a))return p(e,i,a),m(e,a,s,i);if("symbol"!=typeof a){if(n.isCollection(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){let n=await m(e,t.items[e],s,i);if("number"==typeof n)e=n-1;else{if(n===o)return o;n===l&&(t.items.splice(e,1),e-=1)}}}else if(n.isPair(t)){i=Object.freeze(i.concat(t));let e=await m("key",t.key,s,i);if(e===o)return o;e===l&&(t.key=null);let n=await m("value",t.value,s,i);if(n===o)return o;n===l&&(t.value=null)}}return a}function c(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function u(e,t,s,o){return"function"==typeof s?s(e,t,o):n.isMap(t)?s.Map?.(e,t,o):n.isSeq(t)?s.Seq?.(e,t,o):n.isPair(t)?s.Pair?.(e,t,o):n.isScalar(t)?s.Scalar?.(e,t,o):n.isAlias(t)?s.Alias?.(e,t,o):void 0}function p(e,t,s){let o=t[t.length-1];if(n.isCollection(o))o.items[e]=s;else if(n.isPair(o))"key"===e?o.key=s:o.value=s;else if(n.isDocument(o))o.contents=s;else{let e=n.isAlias(o)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}a.BREAK=o,a.SKIP=i,a.REMOVE=l,d.BREAK=o,d.SKIP=i,d.REMOVE=l,t.visit=a,t.visitAsync=d}});
|
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doubao-dev/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Doubao Dev CLI",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
6
|
"bin": {
|
|
8
7
|
"dbx": "bin/run.js",
|
|
9
8
|
"doubao-dev": "bin/run.js",
|
|
@@ -17,51 +16,50 @@
|
|
|
17
16
|
"!dist/**/*.map"
|
|
18
17
|
],
|
|
19
18
|
"dependencies": {
|
|
20
|
-
"@
|
|
21
|
-
"@lynx-js/
|
|
22
|
-
"@lynx-js/external-bundle-rsbuild-plugin": "npm:@lynx-js/external-bundle-rsbuild-plugin-canary@0.4.0-canary-20260714-dc37d603",
|
|
23
|
-
"@lynx-js/react": "npm:@lynx-js/react-canary@0.123.0-canary-20260714-dc37d603",
|
|
24
|
-
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.18.0-canary-20260714-dc37d603",
|
|
19
|
+
"@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.8.0",
|
|
20
|
+
"@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.4.1-canary-20260714-dc37d603",
|
|
25
21
|
"@lynx-js/react-rsbuild-plugin": "npm:@lynx-js/react-rsbuild-plugin-canary@0.18.0-canary-20260714-dc37d603",
|
|
26
|
-
"@lynx-js/
|
|
22
|
+
"@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.10.0-canary-20260714-dc37d603",
|
|
27
23
|
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.16.0-canary-20260714-dc37d603",
|
|
28
|
-
"@lynx-js/
|
|
29
|
-
"@manypkg/get-packages": "2.2.0",
|
|
30
|
-
"@pnpm/lockfile.fs": "1001.1.18",
|
|
24
|
+
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.12.3-canary-20260714-dc37d603",
|
|
31
25
|
"@rsbuild/core": "2.1.4",
|
|
32
26
|
"@rsbuild/plugin-less": "2.0.1",
|
|
33
27
|
"@rsbuild/plugin-sass": "2.0.1",
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"ansi-escapes": "7.2.0",
|
|
37
|
-
"archiver": "7.0.1",
|
|
38
|
-
"chalk": "5.6.2",
|
|
39
|
-
"commander": "15.0.0",
|
|
28
|
+
"@rspack/core": "2.1.3",
|
|
29
|
+
"@rspack/resolver": "0.2.8",
|
|
40
30
|
"core-js": "3.47.0",
|
|
41
|
-
"execa": "9.6.1",
|
|
42
|
-
"express": "5.2.1",
|
|
43
|
-
"ink": "7.1.0",
|
|
44
|
-
"ink-text-input": "6.0.0",
|
|
45
|
-
"inquirer": "13.1.0",
|
|
46
31
|
"inquirer-search-list": "^1.2.6",
|
|
32
|
+
"jest-worker": "27.5.1",
|
|
47
33
|
"jiti": "^2.7.0",
|
|
48
|
-
"
|
|
49
|
-
"magic-string": "^0.30.21",
|
|
34
|
+
"less": "4.6.7",
|
|
50
35
|
"moleculer": "^0.15.0",
|
|
51
|
-
"ora": "5.4.1",
|
|
52
|
-
"picocolors": "1.1.1",
|
|
53
36
|
"playwright-core": "1.61.1",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"swc-walk": "1.0.1",
|
|
57
|
-
"tapable": "2.2.1",
|
|
58
|
-
"yaml": "2.9.0"
|
|
37
|
+
"sass-embedded": "1.100.0",
|
|
38
|
+
"tinypool": "2.1.0"
|
|
59
39
|
},
|
|
60
40
|
"devDependencies": {
|
|
41
|
+
"@lynx-js/react": "npm:@lynx-js/react-canary@0.123.0-canary-20260714-dc37d603",
|
|
42
|
+
"@lynx-js/remote-debug-driver": "0.0.3",
|
|
61
43
|
"@rslib/core": "0.23.2",
|
|
62
44
|
"@types/node": "^20.11.30",
|
|
63
45
|
"node-loader": "2.1.0",
|
|
64
|
-
"rimraf": "5.0.10"
|
|
46
|
+
"rimraf": "5.0.10",
|
|
47
|
+
"typescript": "6.0.3",
|
|
48
|
+
"@byted-doubao-apps/cli": "0.0.15"
|
|
49
|
+
},
|
|
50
|
+
"optionalDependencies": {
|
|
51
|
+
"@doubao-dev/security-tasm": "0.0.22",
|
|
52
|
+
"@napi-rs/keyring": "1.3.0",
|
|
53
|
+
"@swc/core-darwin-arm64": "1.15.11",
|
|
54
|
+
"@swc/core-darwin-x64": "1.15.11",
|
|
55
|
+
"@swc/core-linux-arm-gnueabihf": "1.15.11",
|
|
56
|
+
"@swc/core-linux-arm64-gnu": "1.15.11",
|
|
57
|
+
"@swc/core-linux-arm64-musl": "1.15.11",
|
|
58
|
+
"@swc/core-linux-x64-gnu": "1.15.11",
|
|
59
|
+
"@swc/core-linux-x64-musl": "1.15.11",
|
|
60
|
+
"@swc/core-win32-arm64-msvc": "1.15.11",
|
|
61
|
+
"@swc/core-win32-ia32-msvc": "1.15.11",
|
|
62
|
+
"@swc/core-win32-x64-msvc": "1.15.11"
|
|
65
63
|
},
|
|
66
64
|
"engines": {
|
|
67
65
|
"node": ">=22.13.0"
|
|
@@ -71,10 +69,11 @@
|
|
|
71
69
|
"registry": "https://registry.npmjs.org"
|
|
72
70
|
},
|
|
73
71
|
"scripts": {
|
|
74
|
-
"
|
|
72
|
+
"bundle": "rimraf dist && tsc -p ../../cli/tsconfig.json --noEmit && tsc -p tsconfig.json --noEmit && rslib build",
|
|
73
|
+
"build": "pnpm run bundle && node ../../../scripts/configure-cli-build.cjs public",
|
|
75
74
|
"clean": "rimraf dist skills",
|
|
76
|
-
"lint": "
|
|
77
|
-
"start": "node bin/run.js",
|
|
75
|
+
"lint": "rslint src",
|
|
76
|
+
"start": "pnpm run build && node bin/run.js",
|
|
78
77
|
"test": "node --test scripts/*.test.cjs"
|
|
79
78
|
}
|
|
80
79
|
}
|