@visulima/cerebro 1.0.30 → 1.0.31

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.
@@ -2,84 +2,83 @@
2
2
 
3
3
  var chunkPWMRAKYI_cjs = require('./chunk-PWMRAKYI.cjs');
4
4
  var fs = require('fs');
5
- var child_process = require('child_process');
6
5
  var promises = require('fs/promises');
7
6
  var url = require('url');
8
7
  var process$1 = require('process');
9
8
  var zlib = require('zlib');
10
9
  var https = require('https');
11
10
 
12
- var T=chunkPWMRAKYI_cjs.b(G=>{chunkPWMRAKYI_cjs.d();var _s=Symbol.for("yaml.alias"),en=Symbol.for("yaml.document"),Dt=Symbol.for("yaml.map"),tn=Symbol.for("yaml.pair"),Ms=Symbol.for("yaml.scalar"),$t=Symbol.for("yaml.seq"),re=Symbol.for("yaml.node.type"),If=t=>!!t&&typeof t=="object"&&t[re]===_s,Tf=t=>!!t&&typeof t=="object"&&t[re]===en,Df=t=>!!t&&typeof t=="object"&&t[re]===Dt,$f=t=>!!t&&typeof t=="object"&&t[re]===tn,sn=t=>!!t&&typeof t=="object"&&t[re]===Ms,Rf=t=>!!t&&typeof t=="object"&&t[re]===$t;function rn(t){if(t&&typeof t=="object")switch(t[re]){case Dt:case $t:return !0}return !1}function Ff(t){if(t&&typeof t=="object")switch(t[re]){case _s:case Dt:case Ms:case $t:return !0}return !1}var _f=t=>(sn(t)||rn(t))&&!!t.anchor;G.ALIAS=_s;G.DOC=en;G.MAP=Dt;G.NODE_TYPE=re;G.PAIR=tn;G.SCALAR=Ms;G.SEQ=$t;G.hasAnchor=_f;G.isAlias=If;G.isCollection=rn;G.isDocument=Tf;G.isMap=Df;G.isNode=Ff;G.isPair=$f;G.isScalar=sn;G.isSeq=Rf;});var He=chunkPWMRAKYI_cjs.b(qs=>{chunkPWMRAKYI_cjs.d();var x=T(),j=Symbol("break visit"),nn=Symbol("skip children"),Q=Symbol("remove node");function Rt(t,e){let s=on(e);x.isDocument(t)?Te(null,t.contents,s,Object.freeze([t]))===Q&&(t.contents=null):Te(null,t,s,Object.freeze([]));}Rt.BREAK=j;Rt.SKIP=nn;Rt.REMOVE=Q;function Te(t,e,s,i){let r=an(t,e,s,i);if(x.isNode(r)||x.isPair(r))return ln(t,i,r),Te(t,r,s,i);if(typeof r!="symbol"){if(x.isCollection(e)){i=Object.freeze(i.concat(e));for(let n=0;n<e.items.length;++n){let o=Te(n,e.items[n],s,i);if(typeof o=="number")n=o-1;else {if(o===j)return j;o===Q&&(e.items.splice(n,1),n-=1);}}}else if(x.isPair(e)){i=Object.freeze(i.concat(e));let n=Te("key",e.key,s,i);if(n===j)return j;n===Q&&(e.key=null);let o=Te("value",e.value,s,i);if(o===j)return j;o===Q&&(e.value=null);}}return r}async function Ft(t,e){let s=on(e);x.isDocument(t)?await De(null,t.contents,s,Object.freeze([t]))===Q&&(t.contents=null):await De(null,t,s,Object.freeze([]));}Ft.BREAK=j;Ft.SKIP=nn;Ft.REMOVE=Q;async function De(t,e,s,i){let r=await an(t,e,s,i);if(x.isNode(r)||x.isPair(r))return ln(t,i,r),De(t,r,s,i);if(typeof r!="symbol"){if(x.isCollection(e)){i=Object.freeze(i.concat(e));for(let n=0;n<e.items.length;++n){let o=await De(n,e.items[n],s,i);if(typeof o=="number")n=o-1;else {if(o===j)return j;o===Q&&(e.items.splice(n,1),n-=1);}}}else if(x.isPair(e)){i=Object.freeze(i.concat(e));let n=await De("key",e.key,s,i);if(n===j)return j;n===Q&&(e.key=null);let o=await De("value",e.value,s,i);if(o===j)return j;o===Q&&(e.value=null);}}return r}function on(t){return typeof t=="object"&&(t.Collection||t.Node||t.Value)?Object.assign({Alias:t.Node,Map:t.Node,Scalar:t.Node,Seq:t.Node},t.Value&&{Map:t.Value,Scalar:t.Value,Seq:t.Value},t.Collection&&{Map:t.Collection,Seq:t.Collection},t):t}function an(t,e,s,i){if(typeof s=="function")return s(t,e,i);if(x.isMap(e))return s.Map?.(t,e,i);if(x.isSeq(e))return s.Seq?.(t,e,i);if(x.isPair(e))return s.Pair?.(t,e,i);if(x.isScalar(e))return s.Scalar?.(t,e,i);if(x.isAlias(e))return s.Alias?.(t,e,i)}function ln(t,e,s){let i=e[e.length-1];if(x.isCollection(i))i.items[t]=s;else if(x.isPair(i))t==="key"?i.key=s:i.value=s;else if(x.isDocument(i))i.contents=s;else {let r=x.isAlias(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}qs.visit=Rt;qs.visitAsync=Ft;});var xs=chunkPWMRAKYI_cjs.b(fn=>{chunkPWMRAKYI_cjs.d();var cn=T(),Mf=He(),qf={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},xf=t=>t.replace(/[!,[\]{}]/g,e=>qf[e]),Ve=class t{constructor(e,s){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},t.defaultYaml,e),this.tags=Object.assign({},t.defaultTags,s);}clone(){let e=new t(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new t(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:t.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},t.defaultTags);break}return e}add(e,s){this.atNextDocument&&(this.yaml={explicit:t.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},t.defaultTags),this.atNextDocument=!1);let i=e.trim().split(/[ \t]+/),r=i.shift();switch(r){case"%TAG":{if(i.length!==2&&(s(0,"%TAG directive should contain exactly two parts"),i.length<2))return !1;let[n,o]=i;return this.tags[n]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return s(0,"%YAML directive should contain exactly one part"),!1;let[n]=i;if(n==="1.1"||n==="1.2")return this.yaml.version=n,!0;{let o=/^\d+\.\d+$/.test(n);return s(6,`Unsupported YAML version ${n}`,o),!1}}default:return s(0,`Unknown directive ${r}`,!0),!1}}tagName(e,s){if(e==="!")return "!";if(e[0]!=="!")return s(`Not a valid tag: ${e}`),null;if(e[1]==="<"){let o=e.slice(2,-1);return o==="!"||o==="!!"?(s(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&s("Verbatim tags must end with a >"),o)}let[,i,r]=e.match(/^(.*!)([^!]*)$/s);r||s(`The ${e} tag has no suffix`);let n=this.tags[i];if(n)try{return n+decodeURIComponent(r)}catch(o){return s(String(o)),null}return i==="!"?e:(s(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[s,i]of Object.entries(this.tags))if(e.startsWith(i))return s+xf(e.substring(i.length));return e[0]==="!"?e:`!<${e}>`}toString(e){let s=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags),r;if(e&&i.length>0&&cn.isNode(e.contents)){let n={};Mf.visit(e.contents,(o,a)=>{cn.isNode(a)&&a.tag&&(n[a.tag]=!0);}),r=Object.keys(n);}else r=[];for(let[n,o]of i)n==="!!"&&o==="tag:yaml.org,2002:"||(!e||r.some(a=>a.startsWith(o)))&&s.push(`%TAG ${n} ${o}`);return s.join(`
13
- `)}};Ve.defaultYaml={explicit:!1,version:"1.2"};Ve.defaultTags={"!!":"tag:yaml.org,2002:"};fn.Directives=Ve;});var _t=chunkPWMRAKYI_cjs.b(Xe=>{chunkPWMRAKYI_cjs.d();var un=T(),Bf=He();function Uf(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){let s=`Anchor must not contain whitespace or control characters: ${JSON.stringify(t)}`;throw new Error(s)}return !0}function hn(t){let e=new Set;return Bf.visit(t,{Value(s,i){i.anchor&&e.add(i.anchor);}}),e}function pn(t,e){for(let s=1;;++s){let i=`${t}${s}`;if(!e.has(i))return i}}function Gf(t,e){let s=[],i=new Map,r=null;return {onAnchor:n=>{s.push(n),r||(r=hn(t));let o=pn(e,r);return r.add(o),o},setAnchors:()=>{for(let n of s){let o=i.get(n);if(typeof o=="object"&&o.anchor&&(un.isScalar(o.node)||un.isCollection(o.node)))o.node.anchor=o.anchor;else {let a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=n,a}}},sourceObjects:i}}Xe.anchorIsValid=Uf;Xe.anchorNames=hn;Xe.createNodeAnchors=Gf;Xe.findNewAnchor=pn;});var Bs=chunkPWMRAKYI_cjs.b(dn=>{chunkPWMRAKYI_cjs.d();function Qe(t,e,s,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let r=0,n=i.length;r<n;++r){let o=i[r],a=Qe(t,i,String(r),o);a===void 0?delete i[r]:a!==o&&(i[r]=a);}else if(i instanceof Map)for(let r of Array.from(i.keys())){let n=i.get(r),o=Qe(t,i,r,n);o===void 0?i.delete(r):o!==n&&i.set(r,o);}else if(i instanceof Set)for(let r of Array.from(i)){let n=Qe(t,i,r,r);n===void 0?i.delete(r):n!==r&&(i.delete(r),i.add(n));}else for(let[r,n]of Object.entries(i)){let o=Qe(t,i,r,n);o===void 0?delete i[r]:o!==n&&(i[r]=o);}return t.call(e,s,i)}dn.applyReviver=Qe;});var oe=chunkPWMRAKYI_cjs.b(gn=>{chunkPWMRAKYI_cjs.d();var jf=T();function mn(t,e,s){if(Array.isArray(t))return t.map((i,r)=>mn(i,String(r),s));if(t&&typeof t.toJSON=="function"){if(!s||!jf.hasAnchor(t))return t.toJSON(e,s);let i={aliasCount:0,count:1,res:void 0};s.anchors.set(t,i),s.onCreate=n=>{i.res=n,delete s.onCreate;};let r=t.toJSON(e,s);return s.onCreate&&s.onCreate(r),r}return typeof t=="bigint"&&!s?.keep?Number(t):t}gn.toJS=mn;});var Mt=chunkPWMRAKYI_cjs.b(bn=>{chunkPWMRAKYI_cjs.d();var Yf=Bs(),yn=T(),Wf=oe(),Us=class{constructor(e){Object.defineProperty(this,yn.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:s,maxAliasCount:i,onAnchor:r,reviver:n}={}){if(!yn.isDocument(e))throw new TypeError("A document argument is required");let o={anchors:new Map,doc:e,keep:!0,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},a=Wf.toJS(this,"",o);if(typeof r=="function")for(let{count:l,res:c}of o.anchors.values())r(c,l);return typeof n=="function"?Yf.applyReviver(n,{"":a},"",a):a}};bn.NodeBase=Us;});var Ze=chunkPWMRAKYI_cjs.b(Sn=>{chunkPWMRAKYI_cjs.d();var Kf=_t(),wn=He(),qt=T(),Jf=Mt(),zf=oe(),Gs=class extends Jf.NodeBase{constructor(e){super(qt.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}});}resolve(e){let s;return wn.visit(e,{Node:(i,r)=>{if(r===this)return wn.visit.BREAK;r.anchor===this.source&&(s=r);}}),s}toJSON(e,s){if(!s)return {source:this.source};let{anchors:i,doc:r,maxAliasCount:n}=s,o=this.resolve(r);if(!o){let l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let a=i.get(o);if(a||(zf.toJS(o,null,s),a=i.get(o)),!a||a.res===void 0){let l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(n>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=xt(r,o,i)),a.count*a.aliasCount>n)){let l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return a.res}toString(e,s,i){let r=`*${this.source}`;if(e){if(Kf.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let n=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(n)}if(e.implicitKey)return `${r} `}return r}};function xt(t,e,s){if(qt.isAlias(e)){let i=e.resolve(t),r=s&&i&&s.get(i);return r?r.count*r.aliasCount:0}else if(qt.isCollection(e)){let i=0;for(let r of e.items){let n=xt(t,r,s);n>i&&(i=n);}return i}else if(qt.isPair(e)){let i=xt(t,e.key,s),r=xt(t,e.value,s);return Math.max(i,r)}return 1}Sn.Alias=Gs;});var _=chunkPWMRAKYI_cjs.b(js=>{chunkPWMRAKYI_cjs.d();var Hf=T(),Vf=Mt(),Xf=oe(),Qf=t=>!t||typeof t!="function"&&typeof t!="object",ae=class extends Vf.NodeBase{constructor(e){super(Hf.SCALAR),this.value=e;}toJSON(e,s){return s?.keep?this.value:Xf.toJS(this.value,e,s)}toString(){return String(this.value)}};ae.BLOCK_FOLDED="BLOCK_FOLDED";ae.BLOCK_LITERAL="BLOCK_LITERAL";ae.PLAIN="PLAIN";ae.QUOTE_DOUBLE="QUOTE_DOUBLE";ae.QUOTE_SINGLE="QUOTE_SINGLE";js.Scalar=ae;js.isScalarValue=Qf;});var et=chunkPWMRAKYI_cjs.b(Ln=>{chunkPWMRAKYI_cjs.d();var Zf=Ze(),Ee=T(),vn=_(),eu="tag:yaml.org,2002:";function tu(t,e,s){if(e){let i=s.filter(n=>n.tag===e),r=i.find(n=>!n.format)??i[0];if(!r)throw new Error(`Tag ${e} not found`);return r}return s.find(i=>i.identify?.(t)&&!i.format)}function su(t,e,s){if(Ee.isDocument(t)&&(t=t.contents),Ee.isNode(t))return t;if(Ee.isPair(t)){let u=s.schema[Ee.MAP].createNode?.(s.schema,null,s);return u.items.push(t),u}(t instanceof String||t instanceof Number||t instanceof Boolean||typeof BigInt<"u"&&t instanceof BigInt)&&(t=t.valueOf());let{aliasDuplicateObjects:i,onAnchor:r,onTagObj:n,schema:o,sourceObjects:a}=s,l;if(i&&t&&typeof t=="object"){if(l=a.get(t),l)return l.anchor||(l.anchor=r(t)),new Zf.Alias(l.anchor);l={anchor:null,node:null},a.set(t,l);}e?.startsWith("!!")&&(e=eu+e.slice(2));let c=tu(t,e,o.tags);if(!c){if(t&&typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object"){let u=new vn.Scalar(t);return l&&(l.node=u),u}c=t instanceof Map?o[Ee.MAP]:Symbol.iterator in Object(t)?o[Ee.SEQ]:o[Ee.MAP];}n&&(n(c),delete s.onTagObj);let d=c?.createNode?c.createNode(s.schema,t,s):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(s.schema,t,s):new vn.Scalar(t);return e?d.tag=e:c.default||(d.tag=c.tag),l&&(l.node=d),d}Ln.createNode=su;});var Gt=chunkPWMRAKYI_cjs.b(Ut=>{chunkPWMRAKYI_cjs.d();var iu=et(),Z=T(),ru=Mt();function Ys(t,e,s){let i=s;for(let r=e.length-1;r>=0;--r){let n=e[r];if(typeof n=="number"&&Number.isInteger(n)&&n>=0){let o=[];o[n]=i,i=o;}else i=new Map([[n,i]]);}return iu.createNode(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}var En=t=>t==null||typeof t=="object"&&!!t[Symbol.iterator]().next().done,Bt=class extends ru.NodeBase{constructor(e,s){super(e),Object.defineProperty(this,"schema",{value:s,configurable:!0,enumerable:!1,writable:!0});}clone(e){let s=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(s.schema=e),s.items=s.items.map(i=>Z.isNode(i)||Z.isPair(i)?i.clone(e):i),this.range&&(s.range=this.range.slice()),s}addIn(e,s){if(En(e))this.add(s);else {let[i,...r]=e,n=this.get(i,!0);if(Z.isCollection(n))n.addIn(r,s);else if(n===void 0&&this.schema)this.set(i,Ys(this.schema,r,s));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}deleteIn(e){let[s,...i]=e;if(i.length===0)return this.delete(s);let r=this.get(s,!0);if(Z.isCollection(r))return r.deleteIn(i);throw new Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}getIn(e,s){let[i,...r]=e,n=this.get(i,!0);return r.length===0?!s&&Z.isScalar(n)?n.value:n:Z.isCollection(n)?n.getIn(r,s):void 0}hasAllNullValues(e){return this.items.every(s=>{if(!Z.isPair(s))return !1;let i=s.value;return i==null||e&&Z.isScalar(i)&&i.value==null&&!i.commentBefore&&!i.comment&&!i.tag})}hasIn(e){let[s,...i]=e;if(i.length===0)return this.has(s);let r=this.get(s,!0);return Z.isCollection(r)?r.hasIn(i):!1}setIn(e,s){let[i,...r]=e;if(r.length===0)this.set(i,s);else {let n=this.get(i,!0);if(Z.isCollection(n))n.setIn(r,s);else if(n===void 0&&this.schema)this.set(i,Ys(this.schema,r,s));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}};Bt.maxFlowStringSingleLineLength=60;Ut.Collection=Bt;Ut.collectionFromPath=Ys;Ut.isEmptyPath=En;});var tt=chunkPWMRAKYI_cjs.b(jt=>{chunkPWMRAKYI_cjs.d();var nu=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function Ws(t,e){return /^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}var ou=(t,e,s)=>t.endsWith(`
14
- `)?Ws(s,e):s.includes(`
11
+ var T=chunkPWMRAKYI_cjs.b(U=>{chunkPWMRAKYI_cjs.d();var Ds=Symbol.for("yaml.alias"),zr=Symbol.for("yaml.document"),Pt=Symbol.for("yaml.map"),Hr=Symbol.for("yaml.pair"),$s=Symbol.for("yaml.scalar"),It=Symbol.for("yaml.seq"),re=Symbol.for("yaml.node.type"),Sf=t=>!!t&&typeof t=="object"&&t[re]===Ds,vf=t=>!!t&&typeof t=="object"&&t[re]===zr,Lf=t=>!!t&&typeof t=="object"&&t[re]===Pt,Ef=t=>!!t&&typeof t=="object"&&t[re]===Hr,Vr=t=>!!t&&typeof t=="object"&&t[re]===$s,Af=t=>!!t&&typeof t=="object"&&t[re]===It;function Xr(t){if(t&&typeof t=="object")switch(t[re]){case Pt:case It:return !0}return !1}function Nf(t){if(t&&typeof t=="object")switch(t[re]){case Ds:case Pt:case $s:case It:return !0}return !1}var Cf=t=>(Vr(t)||Xr(t))&&!!t.anchor;U.ALIAS=Ds;U.DOC=zr;U.MAP=Pt;U.NODE_TYPE=re;U.PAIR=Hr;U.SCALAR=$s;U.SEQ=It;U.hasAnchor=Cf;U.isAlias=Sf;U.isCollection=Xr;U.isDocument=vf;U.isMap=Lf;U.isNode=Nf;U.isPair=Ef;U.isScalar=Vr;U.isSeq=Af;});var We=chunkPWMRAKYI_cjs.b(Rs=>{chunkPWMRAKYI_cjs.d();var q=T(),G=Symbol("break visit"),Qr=Symbol("skip children"),Q=Symbol("remove node");function kt(t,e){let s=Zr(e);q.isDocument(t)?Oe(null,t.contents,s,Object.freeze([t]))===Q&&(t.contents=null):Oe(null,t,s,Object.freeze([]));}kt.BREAK=G;kt.SKIP=Qr;kt.REMOVE=Q;function Oe(t,e,s,i){let r=en(t,e,s,i);if(q.isNode(r)||q.isPair(r))return tn(t,i,r),Oe(t,r,s,i);if(typeof r!="symbol"){if(q.isCollection(e)){i=Object.freeze(i.concat(e));for(let n=0;n<e.items.length;++n){let o=Oe(n,e.items[n],s,i);if(typeof o=="number")n=o-1;else {if(o===G)return G;o===Q&&(e.items.splice(n,1),n-=1);}}}else if(q.isPair(e)){i=Object.freeze(i.concat(e));let n=Oe("key",e.key,s,i);if(n===G)return G;n===Q&&(e.key=null);let o=Oe("value",e.value,s,i);if(o===G)return G;o===Q&&(e.value=null);}}return r}async function Tt(t,e){let s=Zr(e);q.isDocument(t)?await Pe(null,t.contents,s,Object.freeze([t]))===Q&&(t.contents=null):await Pe(null,t,s,Object.freeze([]));}Tt.BREAK=G;Tt.SKIP=Qr;Tt.REMOVE=Q;async function Pe(t,e,s,i){let r=await en(t,e,s,i);if(q.isNode(r)||q.isPair(r))return tn(t,i,r),Pe(t,r,s,i);if(typeof r!="symbol"){if(q.isCollection(e)){i=Object.freeze(i.concat(e));for(let n=0;n<e.items.length;++n){let o=await Pe(n,e.items[n],s,i);if(typeof o=="number")n=o-1;else {if(o===G)return G;o===Q&&(e.items.splice(n,1),n-=1);}}}else if(q.isPair(e)){i=Object.freeze(i.concat(e));let n=await Pe("key",e.key,s,i);if(n===G)return G;n===Q&&(e.key=null);let o=await Pe("value",e.value,s,i);if(o===G)return G;o===Q&&(e.value=null);}}return r}function Zr(t){return typeof t=="object"&&(t.Collection||t.Node||t.Value)?Object.assign({Alias:t.Node,Map:t.Node,Scalar:t.Node,Seq:t.Node},t.Value&&{Map:t.Value,Scalar:t.Value,Seq:t.Value},t.Collection&&{Map:t.Collection,Seq:t.Collection},t):t}function en(t,e,s,i){if(typeof s=="function")return s(t,e,i);if(q.isMap(e))return s.Map?.(t,e,i);if(q.isSeq(e))return s.Seq?.(t,e,i);if(q.isPair(e))return s.Pair?.(t,e,i);if(q.isScalar(e))return s.Scalar?.(t,e,i);if(q.isAlias(e))return s.Alias?.(t,e,i)}function tn(t,e,s){let i=e[e.length-1];if(q.isCollection(i))i.items[t]=s;else if(q.isPair(i))t==="key"?i.key=s:i.value=s;else if(q.isDocument(i))i.contents=s;else {let r=q.isAlias(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}Rs.visit=kt;Rs.visitAsync=Tt;});var Fs=chunkPWMRAKYI_cjs.b(rn=>{chunkPWMRAKYI_cjs.d();var sn=T(),Of=We(),Pf={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},If=t=>t.replace(/[!,[\]{}]/g,e=>Pf[e]),Ke=class t{constructor(e,s){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},t.defaultYaml,e),this.tags=Object.assign({},t.defaultTags,s);}clone(){let e=new t(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new t(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:t.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},t.defaultTags);break}return e}add(e,s){this.atNextDocument&&(this.yaml={explicit:t.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},t.defaultTags),this.atNextDocument=!1);let i=e.trim().split(/[ \t]+/),r=i.shift();switch(r){case"%TAG":{if(i.length!==2&&(s(0,"%TAG directive should contain exactly two parts"),i.length<2))return !1;let[n,o]=i;return this.tags[n]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return s(0,"%YAML directive should contain exactly one part"),!1;let[n]=i;if(n==="1.1"||n==="1.2")return this.yaml.version=n,!0;{let o=/^\d+\.\d+$/.test(n);return s(6,`Unsupported YAML version ${n}`,o),!1}}default:return s(0,`Unknown directive ${r}`,!0),!1}}tagName(e,s){if(e==="!")return "!";if(e[0]!=="!")return s(`Not a valid tag: ${e}`),null;if(e[1]==="<"){let o=e.slice(2,-1);return o==="!"||o==="!!"?(s(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&s("Verbatim tags must end with a >"),o)}let[,i,r]=e.match(/^(.*!)([^!]*)$/s);r||s(`The ${e} tag has no suffix`);let n=this.tags[i];if(n)try{return n+decodeURIComponent(r)}catch(o){return s(String(o)),null}return i==="!"?e:(s(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[s,i]of Object.entries(this.tags))if(e.startsWith(i))return s+If(e.substring(i.length));return e[0]==="!"?e:`!<${e}>`}toString(e){let s=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags),r;if(e&&i.length>0&&sn.isNode(e.contents)){let n={};Of.visit(e.contents,(o,a)=>{sn.isNode(a)&&a.tag&&(n[a.tag]=!0);}),r=Object.keys(n);}else r=[];for(let[n,o]of i)n==="!!"&&o==="tag:yaml.org,2002:"||(!e||r.some(a=>a.startsWith(o)))&&s.push(`%TAG ${n} ${o}`);return s.join(`
12
+ `)}};Ke.defaultYaml={explicit:!1,version:"1.2"};Ke.defaultTags={"!!":"tag:yaml.org,2002:"};rn.Directives=Ke;});var Dt=chunkPWMRAKYI_cjs.b(Je=>{chunkPWMRAKYI_cjs.d();var nn=T(),kf=We();function Tf(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){let s=`Anchor must not contain whitespace or control characters: ${JSON.stringify(t)}`;throw new Error(s)}return !0}function on(t){let e=new Set;return kf.visit(t,{Value(s,i){i.anchor&&e.add(i.anchor);}}),e}function an(t,e){for(let s=1;;++s){let i=`${t}${s}`;if(!e.has(i))return i}}function Df(t,e){let s=[],i=new Map,r=null;return {onAnchor:n=>{s.push(n),r||(r=on(t));let o=an(e,r);return r.add(o),o},setAnchors:()=>{for(let n of s){let o=i.get(n);if(typeof o=="object"&&o.anchor&&(nn.isScalar(o.node)||nn.isCollection(o.node)))o.node.anchor=o.anchor;else {let a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=n,a}}},sourceObjects:i}}Je.anchorIsValid=Tf;Je.anchorNames=on;Je.createNodeAnchors=Df;Je.findNewAnchor=an;});var _s=chunkPWMRAKYI_cjs.b(ln=>{chunkPWMRAKYI_cjs.d();function ze(t,e,s,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let r=0,n=i.length;r<n;++r){let o=i[r],a=ze(t,i,String(r),o);a===void 0?delete i[r]:a!==o&&(i[r]=a);}else if(i instanceof Map)for(let r of Array.from(i.keys())){let n=i.get(r),o=ze(t,i,r,n);o===void 0?i.delete(r):o!==n&&i.set(r,o);}else if(i instanceof Set)for(let r of Array.from(i)){let n=ze(t,i,r,r);n===void 0?i.delete(r):n!==r&&(i.delete(r),i.add(n));}else for(let[r,n]of Object.entries(i)){let o=ze(t,i,r,n);o===void 0?delete i[r]:o!==n&&(i[r]=o);}return t.call(e,s,i)}ln.applyReviver=ze;});var oe=chunkPWMRAKYI_cjs.b(fn=>{chunkPWMRAKYI_cjs.d();var $f=T();function cn(t,e,s){if(Array.isArray(t))return t.map((i,r)=>cn(i,String(r),s));if(t&&typeof t.toJSON=="function"){if(!s||!$f.hasAnchor(t))return t.toJSON(e,s);let i={aliasCount:0,count:1,res:void 0};s.anchors.set(t,i),s.onCreate=n=>{i.res=n,delete s.onCreate;};let r=t.toJSON(e,s);return s.onCreate&&s.onCreate(r),r}return typeof t=="bigint"&&!s?.keep?Number(t):t}fn.toJS=cn;});var $t=chunkPWMRAKYI_cjs.b(hn=>{chunkPWMRAKYI_cjs.d();var Rf=_s(),un=T(),Ff=oe(),qs=class{constructor(e){Object.defineProperty(this,un.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:s,maxAliasCount:i,onAnchor:r,reviver:n}={}){if(!un.isDocument(e))throw new TypeError("A document argument is required");let o={anchors:new Map,doc:e,keep:!0,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},a=Ff.toJS(this,"",o);if(typeof r=="function")for(let{count:l,res:c}of o.anchors.values())r(c,l);return typeof n=="function"?Rf.applyReviver(n,{"":a},"",a):a}};hn.NodeBase=qs;});var He=chunkPWMRAKYI_cjs.b(dn=>{chunkPWMRAKYI_cjs.d();var _f=Dt(),pn=We(),Rt=T(),qf=$t(),Mf=oe(),Ms=class extends qf.NodeBase{constructor(e){super(Rt.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}});}resolve(e){let s;return pn.visit(e,{Node:(i,r)=>{if(r===this)return pn.visit.BREAK;r.anchor===this.source&&(s=r);}}),s}toJSON(e,s){if(!s)return {source:this.source};let{anchors:i,doc:r,maxAliasCount:n}=s,o=this.resolve(r);if(!o){let l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let a=i.get(o);if(a||(Mf.toJS(o,null,s),a=i.get(o)),!a||a.res===void 0){let l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(n>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=Ft(r,o,i)),a.count*a.aliasCount>n)){let l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return a.res}toString(e,s,i){let r=`*${this.source}`;if(e){if(_f.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let n=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(n)}if(e.implicitKey)return `${r} `}return r}};function Ft(t,e,s){if(Rt.isAlias(e)){let i=e.resolve(t),r=s&&i&&s.get(i);return r?r.count*r.aliasCount:0}else if(Rt.isCollection(e)){let i=0;for(let r of e.items){let n=Ft(t,r,s);n>i&&(i=n);}return i}else if(Rt.isPair(e)){let i=Ft(t,e.key,s),r=Ft(t,e.value,s);return Math.max(i,r)}return 1}dn.Alias=Ms;});var R=chunkPWMRAKYI_cjs.b(xs=>{chunkPWMRAKYI_cjs.d();var xf=T(),Bf=$t(),Uf=oe(),Gf=t=>!t||typeof t!="function"&&typeof t!="object",ae=class extends Bf.NodeBase{constructor(e){super(xf.SCALAR),this.value=e;}toJSON(e,s){return s?.keep?this.value:Uf.toJS(this.value,e,s)}toString(){return String(this.value)}};ae.BLOCK_FOLDED="BLOCK_FOLDED";ae.BLOCK_LITERAL="BLOCK_LITERAL";ae.PLAIN="PLAIN";ae.QUOTE_DOUBLE="QUOTE_DOUBLE";ae.QUOTE_SINGLE="QUOTE_SINGLE";xs.Scalar=ae;xs.isScalarValue=Gf;});var Ve=chunkPWMRAKYI_cjs.b(gn=>{chunkPWMRAKYI_cjs.d();var jf=He(),we=T(),mn=R(),Yf="tag:yaml.org,2002:";function Wf(t,e,s){if(e){let i=s.filter(n=>n.tag===e),r=i.find(n=>!n.format)??i[0];if(!r)throw new Error(`Tag ${e} not found`);return r}return s.find(i=>i.identify?.(t)&&!i.format)}function Kf(t,e,s){if(we.isDocument(t)&&(t=t.contents),we.isNode(t))return t;if(we.isPair(t)){let u=s.schema[we.MAP].createNode?.(s.schema,null,s);return u.items.push(t),u}(t instanceof String||t instanceof Number||t instanceof Boolean||typeof BigInt<"u"&&t instanceof BigInt)&&(t=t.valueOf());let{aliasDuplicateObjects:i,onAnchor:r,onTagObj:n,schema:o,sourceObjects:a}=s,l;if(i&&t&&typeof t=="object"){if(l=a.get(t),l)return l.anchor||(l.anchor=r(t)),new jf.Alias(l.anchor);l={anchor:null,node:null},a.set(t,l);}e?.startsWith("!!")&&(e=Yf+e.slice(2));let c=Wf(t,e,o.tags);if(!c){if(t&&typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object"){let u=new mn.Scalar(t);return l&&(l.node=u),u}c=t instanceof Map?o[we.MAP]:Symbol.iterator in Object(t)?o[we.SEQ]:o[we.MAP];}n&&(n(c),delete s.onTagObj);let d=c?.createNode?c.createNode(s.schema,t,s):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(s.schema,t,s):new mn.Scalar(t);return e?d.tag=e:c.default||(d.tag=c.tag),l&&(l.node=d),d}gn.createNode=Kf;});var Mt=chunkPWMRAKYI_cjs.b(qt=>{chunkPWMRAKYI_cjs.d();var Jf=Ve(),Z=T(),zf=$t();function Bs(t,e,s){let i=s;for(let r=e.length-1;r>=0;--r){let n=e[r];if(typeof n=="number"&&Number.isInteger(n)&&n>=0){let o=[];o[n]=i,i=o;}else i=new Map([[n,i]]);}return Jf.createNode(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}var yn=t=>t==null||typeof t=="object"&&!!t[Symbol.iterator]().next().done,_t=class extends zf.NodeBase{constructor(e,s){super(e),Object.defineProperty(this,"schema",{value:s,configurable:!0,enumerable:!1,writable:!0});}clone(e){let s=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(s.schema=e),s.items=s.items.map(i=>Z.isNode(i)||Z.isPair(i)?i.clone(e):i),this.range&&(s.range=this.range.slice()),s}addIn(e,s){if(yn(e))this.add(s);else {let[i,...r]=e,n=this.get(i,!0);if(Z.isCollection(n))n.addIn(r,s);else if(n===void 0&&this.schema)this.set(i,Bs(this.schema,r,s));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}deleteIn(e){let[s,...i]=e;if(i.length===0)return this.delete(s);let r=this.get(s,!0);if(Z.isCollection(r))return r.deleteIn(i);throw new Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}getIn(e,s){let[i,...r]=e,n=this.get(i,!0);return r.length===0?!s&&Z.isScalar(n)?n.value:n:Z.isCollection(n)?n.getIn(r,s):void 0}hasAllNullValues(e){return this.items.every(s=>{if(!Z.isPair(s))return !1;let i=s.value;return i==null||e&&Z.isScalar(i)&&i.value==null&&!i.commentBefore&&!i.comment&&!i.tag})}hasIn(e){let[s,...i]=e;if(i.length===0)return this.has(s);let r=this.get(s,!0);return Z.isCollection(r)?r.hasIn(i):!1}setIn(e,s){let[i,...r]=e;if(r.length===0)this.set(i,s);else {let n=this.get(i,!0);if(Z.isCollection(n))n.setIn(r,s);else if(n===void 0&&this.schema)this.set(i,Bs(this.schema,r,s));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}};_t.maxFlowStringSingleLineLength=60;qt.Collection=_t;qt.collectionFromPath=Bs;qt.isEmptyPath=yn;});var Xe=chunkPWMRAKYI_cjs.b(xt=>{chunkPWMRAKYI_cjs.d();var Hf=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function Us(t,e){return /^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}var Vf=(t,e,s)=>t.endsWith(`
13
+ `)?Us(s,e):s.includes(`
15
14
  `)?`
16
- `+Ws(s,e):(t.endsWith(" ")?"":" ")+s;jt.indentComment=Ws;jt.lineComment=ou;jt.stringifyComment=nu;});var Nn=chunkPWMRAKYI_cjs.b(st=>{chunkPWMRAKYI_cjs.d();var au="flow",Ks="block",Yt="quoted";function lu(t,e,s="flow",{indentAtStart:i,lineWidth:r=80,minContentWidth:n=20,onFold:o,onOverflow:a}={}){if(!r||r<0)return t;let l=Math.max(1+n,1+r-e.length);if(t.length<=l)return t;let c=[],d={},u=r-e.length;typeof i=="number"&&(i>r-Math.max(2,n)?c.push(0):u=r-i);let p,g,y=!1,h=-1,m=-1,S=-1;s===Ks&&(h=An(t,h,e.length),h!==-1&&(u=h+l));for(let C;C=t[h+=1];){if(s===Yt&&C==="\\"){switch(m=h,t[h+1]){case"x":h+=3;break;case"u":h+=5;break;case"U":h+=9;break;default:h+=1;}S=h;}if(C===`
17
- `)s===Ks&&(h=An(t,h,e.length)),u=h+e.length+l,p=void 0;else {if(C===" "&&g&&g!==" "&&g!==`
15
+ `+Us(s,e):(t.endsWith(" ")?"":" ")+s;xt.indentComment=Us;xt.lineComment=Vf;xt.stringifyComment=Hf;});var wn=chunkPWMRAKYI_cjs.b(Qe=>{chunkPWMRAKYI_cjs.d();var Xf="flow",Gs="block",Bt="quoted";function Qf(t,e,s="flow",{indentAtStart:i,lineWidth:r=80,minContentWidth:n=20,onFold:o,onOverflow:a}={}){if(!r||r<0)return t;let l=Math.max(1+n,1+r-e.length);if(t.length<=l)return t;let c=[],d={},u=r-e.length;typeof i=="number"&&(i>r-Math.max(2,n)?c.push(0):u=r-i);let p,g,y=!1,h=-1,m=-1,S=-1;s===Gs&&(h=bn(t,h,e.length),h!==-1&&(u=h+l));for(let C;C=t[h+=1];){if(s===Bt&&C==="\\"){switch(m=h,t[h+1]){case"x":h+=3;break;case"u":h+=5;break;case"U":h+=9;break;default:h+=1;}S=h;}if(C===`
16
+ `)s===Gs&&(h=bn(t,h,e.length)),u=h+e.length+l,p=void 0;else {if(C===" "&&g&&g!==" "&&g!==`
18
17
  `&&g!==" "){let N=t[h+1];N&&N!==" "&&N!==`
19
- `&&N!==" "&&(p=h);}if(h>=u)if(p)c.push(p),u=p+l,p=void 0;else if(s===Yt){for(;g===" "||g===" ";)g=C,C=t[h+=1],y=!0;let N=h>S+1?h-2:m-1;if(d[N])return t;c.push(N),d[N]=!0,u=N+l,p=void 0;}else y=!0;}g=C;}if(y&&a&&a(),c.length===0)return t;o&&o();let L=t.slice(0,c[0]);for(let C=0;C<c.length;++C){let N=c[C],O=c[C+1]||t.length;N===0?L=`
20
- ${e}${t.slice(0,O)}`:(s===Yt&&d[N]&&(L+=`${t[N]}\\`),L+=`
21
- ${e}${t.slice(N+1,O)}`);}return L}function An(t,e,s){let i=e,r=e+1,n=t[r];for(;n===" "||n===" ";)if(e<r+s)n=t[++e];else {do n=t[++e];while(n&&n!==`
22
- `);i=e,r=e+1,n=t[r];}return i}st.FOLD_BLOCK=Ks;st.FOLD_FLOW=au;st.FOLD_QUOTED=Yt;st.foldFlowLines=lu;});var rt=chunkPWMRAKYI_cjs.b(Cn=>{chunkPWMRAKYI_cjs.d();var ee=_(),le=Nn(),Kt=(t,e)=>({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),Jt=t=>/^(%|---|\.\.\.)/m.test(t);function cu(t,e,s){if(!e||e<0)return !1;let i=e-s,r=t.length;if(r<=i)return !1;for(let n=0,o=0;n<r;++n)if(t[n]===`
23
- `){if(n-o>i)return !0;if(o=n+1,r-o<=i)return !1}return !0}function it(t,e){let s=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return s;let{implicitKey:i}=e,r=e.options.doubleQuotedMinMultiLineLength,n=e.indent||(Jt(t)?" ":""),o="",a=0;for(let l=0,c=s[l];c;c=s[++l])if(c===" "&&s[l+1]==="\\"&&s[l+2]==="n"&&(o+=s.slice(a,l)+"\\ ",l+=1,a=l,c="\\"),c==="\\")switch(s[l+1]){case"u":{o+=s.slice(a,l);let d=s.substr(l+2,4);switch(d){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:d.substr(0,2)==="00"?o+="\\x"+d.substr(2):o+=s.substr(l,6);}l+=5,a=l+1;}break;case"n":if(i||s[l+2]==='"'||s.length<r)l+=1;else {for(o+=s.slice(a,l)+`
18
+ `&&N!==" "&&(p=h);}if(h>=u)if(p)c.push(p),u=p+l,p=void 0;else if(s===Bt){for(;g===" "||g===" ";)g=C,C=t[h+=1],y=!0;let N=h>S+1?h-2:m-1;if(d[N])return t;c.push(N),d[N]=!0,u=N+l,p=void 0;}else y=!0;}g=C;}if(y&&a&&a(),c.length===0)return t;o&&o();let L=t.slice(0,c[0]);for(let C=0;C<c.length;++C){let N=c[C],O=c[C+1]||t.length;N===0?L=`
19
+ ${e}${t.slice(0,O)}`:(s===Bt&&d[N]&&(L+=`${t[N]}\\`),L+=`
20
+ ${e}${t.slice(N+1,O)}`);}return L}function bn(t,e,s){let i=e,r=e+1,n=t[r];for(;n===" "||n===" ";)if(e<r+s)n=t[++e];else {do n=t[++e];while(n&&n!==`
21
+ `);i=e,r=e+1,n=t[r];}return i}Qe.FOLD_BLOCK=Gs;Qe.FOLD_FLOW=Xf;Qe.FOLD_QUOTED=Bt;Qe.foldFlowLines=Qf;});var et=chunkPWMRAKYI_cjs.b(Sn=>{chunkPWMRAKYI_cjs.d();var ee=R(),le=wn(),Gt=(t,e)=>({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),jt=t=>/^(%|---|\.\.\.)/m.test(t);function Zf(t,e,s){if(!e||e<0)return !1;let i=e-s,r=t.length;if(r<=i)return !1;for(let n=0,o=0;n<r;++n)if(t[n]===`
22
+ `){if(n-o>i)return !0;if(o=n+1,r-o<=i)return !1}return !0}function Ze(t,e){let s=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return s;let{implicitKey:i}=e,r=e.options.doubleQuotedMinMultiLineLength,n=e.indent||(jt(t)?" ":""),o="",a=0;for(let l=0,c=s[l];c;c=s[++l])if(c===" "&&s[l+1]==="\\"&&s[l+2]==="n"&&(o+=s.slice(a,l)+"\\ ",l+=1,a=l,c="\\"),c==="\\")switch(s[l+1]){case"u":{o+=s.slice(a,l);let d=s.substr(l+2,4);switch(d){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:d.substr(0,2)==="00"?o+="\\x"+d.substr(2):o+=s.substr(l,6);}l+=5,a=l+1;}break;case"n":if(i||s[l+2]==='"'||s.length<r)l+=1;else {for(o+=s.slice(a,l)+`
24
23
 
25
24
  `;s[l+2]==="\\"&&s[l+3]==="n"&&s[l+4]!=='"';)o+=`
26
- `,l+=2;o+=n,s[l+2]===" "&&(o+="\\"),l+=1,a=l+1;}break;default:l+=1;}return o=a?o+s.slice(a):s,i?o:le.foldFlowLines(o,n,le.FOLD_QUOTED,Kt(e,!1))}function Js(t,e){if(e.options.singleQuote===!1||e.implicitKey&&t.includes(`
27
- `)||/[ \t]\n|\n[ \t]/.test(t))return it(t,e);let s=e.indent||(Jt(t)?" ":""),i="'"+t.replace(/'/g,"''").replace(/\n+/g,`$&
28
- ${s}`)+"'";return e.implicitKey?i:le.foldFlowLines(i,s,le.FOLD_FLOW,Kt(e,!1))}function $e(t,e){let{singleQuote:s}=e.options,i;if(s===!1)i=it;else {let r=t.includes('"'),n=t.includes("'");r&&!n?i=Js:n&&!r?i=it:i=s?Js:it;}return i(t,e)}var zs;try{zs=new RegExp(`(^|(?<!
25
+ `,l+=2;o+=n,s[l+2]===" "&&(o+="\\"),l+=1,a=l+1;}break;default:l+=1;}return o=a?o+s.slice(a):s,i?o:le.foldFlowLines(o,n,le.FOLD_QUOTED,Gt(e,!1))}function js(t,e){if(e.options.singleQuote===!1||e.implicitKey&&t.includes(`
26
+ `)||/[ \t]\n|\n[ \t]/.test(t))return Ze(t,e);let s=e.indent||(jt(t)?" ":""),i="'"+t.replace(/'/g,"''").replace(/\n+/g,`$&
27
+ ${s}`)+"'";return e.implicitKey?i:le.foldFlowLines(i,s,le.FOLD_FLOW,Gt(e,!1))}function Ie(t,e){let{singleQuote:s}=e.options,i;if(s===!1)i=Ze;else {let r=t.includes('"'),n=t.includes("'");r&&!n?i=js:n&&!r?i=Ze:i=s?js:Ze;}return i(t,e)}var Ys;try{Ys=new RegExp(`(^|(?<!
29
28
  ))
30
29
  +(?!
31
- |$)`,"g");}catch{zs=/\n+(?!\n|$)/g;}function Wt({comment:t,type:e,value:s},i,r,n){let{blockQuote:o,commentString:a,lineWidth:l}=i.options;if(!o||/\n[\t ]+$/.test(s)||/^\s*$/.test(s))return $e(s,i);let c=i.indent||(i.forceBlockIndent||Jt(s)?" ":""),d=o==="literal"?!0:o==="folded"||e===ee.Scalar.BLOCK_FOLDED?!1:e===ee.Scalar.BLOCK_LITERAL?!0:!cu(s,l,c.length);if(!s)return d?`|
30
+ |$)`,"g");}catch{Ys=/\n+(?!\n|$)/g;}function Ut({comment:t,type:e,value:s},i,r,n){let{blockQuote:o,commentString:a,lineWidth:l}=i.options;if(!o||/\n[\t ]+$/.test(s)||/^\s*$/.test(s))return Ie(s,i);let c=i.indent||(i.forceBlockIndent||jt(s)?" ":""),d=o==="literal"?!0:o==="folded"||e===ee.Scalar.BLOCK_FOLDED?!1:e===ee.Scalar.BLOCK_LITERAL?!0:!Zf(s,l,c.length);if(!s)return d?`|
32
31
  `:`>
33
32
  `;let u,p;for(p=s.length;p>0;--p){let v=s[p-1];if(v!==`
34
33
  `&&v!==" "&&v!==" ")break}let g=s.substring(p),y=g.indexOf(`
35
34
  `);y===-1?u="-":s===g||y!==g.length-1?(u="+",n&&n()):u="",g&&(s=s.slice(0,-g.length),g[g.length-1]===`
36
- `&&(g=g.slice(0,-1)),g=g.replace(zs,`$&${c}`));let h=!1,m,S=-1;for(m=0;m<s.length;++m){let v=s[m];if(v===" ")h=!0;else if(v===`
35
+ `&&(g=g.slice(0,-1)),g=g.replace(Ys,`$&${c}`));let h=!1,m,S=-1;for(m=0;m<s.length;++m){let v=s[m];if(v===" ")h=!0;else if(v===`
37
36
  `)S=m;else break}let L=s.substring(0,S<m?S+1:m);L&&(s=s.substring(L.length),L=L.replace(/\n+/g,`$&${c}`));let N=(d?"|":">")+(h?c?"2":"1":"")+u;if(t&&(N+=" "+a(t.replace(/ ?[\r\n]+/g," ")),r&&r()),d)return s=s.replace(/\n+/g,`$&${c}`),`${N}
38
37
  ${c}${L}${s}${g}`;s=s.replace(/\n+/g,`
39
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);let O=le.foldFlowLines(`${L}${s}${g}`,c,le.FOLD_BLOCK,Kt(i,!0));return `${N}
40
- ${c}${O}`}function fu(t,e,s,i){let{type:r,value:n}=t,{actualString:o,implicitKey:a,indent:l,indentStep:c,inFlow:d}=e;if(a&&n.includes(`
41
- `)||d&&/[[\]{},]/.test(n))return $e(n,e);if(!n||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(n))return a||d||!n.includes(`
42
- `)?$e(n,e):Wt(t,e,s,i);if(!a&&!d&&r!==ee.Scalar.PLAIN&&n.includes(`
43
- `))return Wt(t,e,s,i);if(Jt(n)){if(l==="")return e.forceBlockIndent=!0,Wt(t,e,s,i);if(a&&l===c)return $e(n,e)}let u=n.replace(/\n+/g,`$&
44
- ${l}`);if(o){let p=h=>h.default&&h.tag!=="tag:yaml.org,2002:str"&&h.test?.test(u),{compat:g,tags:y}=e.doc.schema;if(y.some(p)||g?.some(p))return $e(n,e)}return a?u:le.foldFlowLines(u,l,le.FOLD_FLOW,Kt(e,!1))}function uu(t,e,s,i){let{implicitKey:r,inFlow:n}=e,o=typeof t.value=="string"?t:Object.assign({},t,{value:String(t.value)}),{type:a}=t;a!==ee.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=ee.Scalar.QUOTE_DOUBLE);let l=d=>{switch(d){case ee.Scalar.BLOCK_FOLDED:case ee.Scalar.BLOCK_LITERAL:return r||n?$e(o.value,e):Wt(o,e,s,i);case ee.Scalar.QUOTE_DOUBLE:return it(o.value,e);case ee.Scalar.QUOTE_SINGLE:return Js(o.value,e);case ee.Scalar.PLAIN:return fu(o,e,s,i);default:return null}},c=l(a);if(c===null){let{defaultKeyType:d,defaultStringType:u}=e.options,p=r&&d||u;if(c=l(p),c===null)throw new Error(`Unsupported default string type ${p}`)}return c}Cn.stringifyString=uu;});var nt=chunkPWMRAKYI_cjs.b(Hs=>{chunkPWMRAKYI_cjs.d();var hu=_t(),ce=T(),pu=tt(),du=rt();function mu(t,e){let s=Object.assign({blockQuote:!0,commentString:pu.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,trueStr:"true",verifyAliasOrder:!0},t.schema.toStringOptions,e),i;switch(s.collectionStyle){case"block":i=!1;break;case"flow":i=!0;break;default:i=null;}return {anchors:new Set,doc:t,flowCollectionPadding:s.flowCollectionPadding?" ":"",indent:"",indentStep:typeof s.indent=="number"?" ".repeat(s.indent):" ",inFlow:i,options:s}}function gu(t,e){if(e.tag){let r=t.filter(n=>n.tag===e.tag);if(r.length>0)return r.find(n=>n.format===e.format)??r[0]}let s,i;if(ce.isScalar(e)){i=e.value;let r=t.filter(n=>n.identify?.(i));s=r.find(n=>n.format===e.format)??r.find(n=>!n.format);}else i=e,s=t.find(r=>r.nodeClass&&i instanceof r.nodeClass);if(!s){let r=i?.constructor?.name??typeof i;throw new Error(`Tag not resolved for ${r} value`)}return s}function yu(t,e,{anchors:s,doc:i}){if(!i.directives)return "";let r=[],n=(ce.isScalar(t)||ce.isCollection(t))&&t.anchor;n&&hu.anchorIsValid(n)&&(s.add(n),r.push(`&${n}`));let o=t.tag?t.tag:e.default?null:e.tag;return o&&r.push(i.directives.tagString(o)),r.join(" ")}function bu(t,e,s,i){if(ce.isPair(t))return t.toString(e,s,i);if(ce.isAlias(t)){if(e.doc.directives)return t.toString(e);if(e.resolvedAliases?.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc);}let r,n=ce.isNode(t)?t:e.doc.createNode(t,{onTagObj:l=>r=l});r||(r=gu(e.doc.schema.tags,n));let o=yu(n,r,e);o.length>0&&(e.indentAtStart=(e.indentAtStart??0)+o.length+1);let a=typeof r.stringify=="function"?r.stringify(n,e,s,i):ce.isScalar(n)?du.stringifyString(n,e,s,i):n.toString(e,s,i);return o?ce.isScalar(n)||a[0]==="{"||a[0]==="["?`${o} ${a}`:`${o}
45
- ${e.indent}${a}`:a}Hs.createStringifyContext=mu;Hs.stringify=bu;});var In=chunkPWMRAKYI_cjs.b(kn=>{chunkPWMRAKYI_cjs.d();var fe=T(),On=_(),Pn=nt(),ot=tt();function wu({key:t,value:e},s,i,r){let{allNullValues:n,doc:o,indent:a,indentStep:l,options:{commentString:c,indentSeq:d,simpleKeys:u}}=s,p=fe.isNode(t)&&t.comment||null;if(u){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(fe.isCollection(t)){let k="With simple keys, collection cannot be used as a key value";throw new Error(k)}}let g=!u&&(!t||p&&e==null&&!s.inFlow||fe.isCollection(t)||(fe.isScalar(t)?t.type===On.Scalar.BLOCK_FOLDED||t.type===On.Scalar.BLOCK_LITERAL:typeof t=="object"));s=Object.assign({},s,{allNullValues:!1,implicitKey:!g&&(u||!n),indent:a+l});let y=!1,h=!1,m=Pn.stringify(t,s,()=>y=!0,()=>h=!0);if(!g&&!s.inFlow&&m.length>1024){if(u)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0;}if(s.inFlow){if(n||e==null)return y&&i&&i(),m===""?"?":g?`? ${m}`:m}else if(n&&!u||e==null&&g)return m=`? ${m}`,p&&!y?m+=ot.lineComment(m,s.indent,c(p)):h&&r&&r(),m;y&&(p=null),g?(p&&(m+=ot.lineComment(m,s.indent,c(p))),m=`? ${m}
46
- ${a}:`):(m=`${m}:`,p&&(m+=ot.lineComment(m,s.indent,c(p))));let S,L,C;fe.isNode(e)?(S=!!e.spaceBefore,L=e.commentBefore,C=e.comment):(S=!1,L=null,C=null,e&&typeof e=="object"&&(e=o.createNode(e))),s.implicitKey=!1,!g&&!p&&fe.isScalar(e)&&(s.indentAtStart=m.length+1),h=!1,!d&&l.length>=2&&!s.inFlow&&!g&&fe.isSeq(e)&&!e.flow&&!e.tag&&!e.anchor&&(s.indent=s.indent.substring(2));let N=!1,O=Pn.stringify(e,s,()=>N=!0,()=>h=!0),v=" ";if(p||S||L){if(v=S?`
47
- `:"",L){let k=c(L);v+=`
48
- ${ot.indentComment(k,s.indent)}`;}O===""&&!s.inFlow?v===`
38
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);let O=le.foldFlowLines(`${L}${s}${g}`,c,le.FOLD_BLOCK,Gt(i,!0));return `${N}
39
+ ${c}${O}`}function eu(t,e,s,i){let{type:r,value:n}=t,{actualString:o,implicitKey:a,indent:l,indentStep:c,inFlow:d}=e;if(a&&n.includes(`
40
+ `)||d&&/[[\]{},]/.test(n))return Ie(n,e);if(!n||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(n))return a||d||!n.includes(`
41
+ `)?Ie(n,e):Ut(t,e,s,i);if(!a&&!d&&r!==ee.Scalar.PLAIN&&n.includes(`
42
+ `))return Ut(t,e,s,i);if(jt(n)){if(l==="")return e.forceBlockIndent=!0,Ut(t,e,s,i);if(a&&l===c)return Ie(n,e)}let u=n.replace(/\n+/g,`$&
43
+ ${l}`);if(o){let p=h=>h.default&&h.tag!=="tag:yaml.org,2002:str"&&h.test?.test(u),{compat:g,tags:y}=e.doc.schema;if(y.some(p)||g?.some(p))return Ie(n,e)}return a?u:le.foldFlowLines(u,l,le.FOLD_FLOW,Gt(e,!1))}function tu(t,e,s,i){let{implicitKey:r,inFlow:n}=e,o=typeof t.value=="string"?t:Object.assign({},t,{value:String(t.value)}),{type:a}=t;a!==ee.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=ee.Scalar.QUOTE_DOUBLE);let l=d=>{switch(d){case ee.Scalar.BLOCK_FOLDED:case ee.Scalar.BLOCK_LITERAL:return r||n?Ie(o.value,e):Ut(o,e,s,i);case ee.Scalar.QUOTE_DOUBLE:return Ze(o.value,e);case ee.Scalar.QUOTE_SINGLE:return js(o.value,e);case ee.Scalar.PLAIN:return eu(o,e,s,i);default:return null}},c=l(a);if(c===null){let{defaultKeyType:d,defaultStringType:u}=e.options,p=r&&d||u;if(c=l(p),c===null)throw new Error(`Unsupported default string type ${p}`)}return c}Sn.stringifyString=tu;});var tt=chunkPWMRAKYI_cjs.b(Ws=>{chunkPWMRAKYI_cjs.d();var su=Dt(),ce=T(),iu=Xe(),ru=et();function nu(t,e){let s=Object.assign({blockQuote:!0,commentString:iu.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,trueStr:"true",verifyAliasOrder:!0},t.schema.toStringOptions,e),i;switch(s.collectionStyle){case"block":i=!1;break;case"flow":i=!0;break;default:i=null;}return {anchors:new Set,doc:t,flowCollectionPadding:s.flowCollectionPadding?" ":"",indent:"",indentStep:typeof s.indent=="number"?" ".repeat(s.indent):" ",inFlow:i,options:s}}function ou(t,e){if(e.tag){let r=t.filter(n=>n.tag===e.tag);if(r.length>0)return r.find(n=>n.format===e.format)??r[0]}let s,i;if(ce.isScalar(e)){i=e.value;let r=t.filter(n=>n.identify?.(i));s=r.find(n=>n.format===e.format)??r.find(n=>!n.format);}else i=e,s=t.find(r=>r.nodeClass&&i instanceof r.nodeClass);if(!s){let r=i?.constructor?.name??typeof i;throw new Error(`Tag not resolved for ${r} value`)}return s}function au(t,e,{anchors:s,doc:i}){if(!i.directives)return "";let r=[],n=(ce.isScalar(t)||ce.isCollection(t))&&t.anchor;n&&su.anchorIsValid(n)&&(s.add(n),r.push(`&${n}`));let o=t.tag?t.tag:e.default?null:e.tag;return o&&r.push(i.directives.tagString(o)),r.join(" ")}function lu(t,e,s,i){if(ce.isPair(t))return t.toString(e,s,i);if(ce.isAlias(t)){if(e.doc.directives)return t.toString(e);if(e.resolvedAliases?.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc);}let r,n=ce.isNode(t)?t:e.doc.createNode(t,{onTagObj:l=>r=l});r||(r=ou(e.doc.schema.tags,n));let o=au(n,r,e);o.length>0&&(e.indentAtStart=(e.indentAtStart??0)+o.length+1);let a=typeof r.stringify=="function"?r.stringify(n,e,s,i):ce.isScalar(n)?ru.stringifyString(n,e,s,i):n.toString(e,s,i);return o?ce.isScalar(n)||a[0]==="{"||a[0]==="["?`${o} ${a}`:`${o}
44
+ ${e.indent}${a}`:a}Ws.createStringifyContext=nu;Ws.stringify=lu;});var An=chunkPWMRAKYI_cjs.b(En=>{chunkPWMRAKYI_cjs.d();var fe=T(),vn=R(),Ln=tt(),st=Xe();function cu({key:t,value:e},s,i,r){let{allNullValues:n,doc:o,indent:a,indentStep:l,options:{commentString:c,indentSeq:d,simpleKeys:u}}=s,p=fe.isNode(t)&&t.comment||null;if(u){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(fe.isCollection(t)){let I="With simple keys, collection cannot be used as a key value";throw new Error(I)}}let g=!u&&(!t||p&&e==null&&!s.inFlow||fe.isCollection(t)||(fe.isScalar(t)?t.type===vn.Scalar.BLOCK_FOLDED||t.type===vn.Scalar.BLOCK_LITERAL:typeof t=="object"));s=Object.assign({},s,{allNullValues:!1,implicitKey:!g&&(u||!n),indent:a+l});let y=!1,h=!1,m=Ln.stringify(t,s,()=>y=!0,()=>h=!0);if(!g&&!s.inFlow&&m.length>1024){if(u)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0;}if(s.inFlow){if(n||e==null)return y&&i&&i(),m===""?"?":g?`? ${m}`:m}else if(n&&!u||e==null&&g)return m=`? ${m}`,p&&!y?m+=st.lineComment(m,s.indent,c(p)):h&&r&&r(),m;y&&(p=null),g?(p&&(m+=st.lineComment(m,s.indent,c(p))),m=`? ${m}
45
+ ${a}:`):(m=`${m}:`,p&&(m+=st.lineComment(m,s.indent,c(p))));let S,L,C;fe.isNode(e)?(S=!!e.spaceBefore,L=e.commentBefore,C=e.comment):(S=!1,L=null,C=null,e&&typeof e=="object"&&(e=o.createNode(e))),s.implicitKey=!1,!g&&!p&&fe.isScalar(e)&&(s.indentAtStart=m.length+1),h=!1,!d&&l.length>=2&&!s.inFlow&&!g&&fe.isSeq(e)&&!e.flow&&!e.tag&&!e.anchor&&(s.indent=s.indent.substring(2));let N=!1,O=Ln.stringify(e,s,()=>N=!0,()=>h=!0),v=" ";if(p||S||L){if(v=S?`
46
+ `:"",L){let I=c(L);v+=`
47
+ ${st.indentComment(I,s.indent)}`;}O===""&&!s.inFlow?v===`
49
48
  `&&(v=`
50
49
 
51
50
  `):v+=`
52
- ${s.indent}`;}else if(!g&&fe.isCollection(e)){let k=O[0],F=O.indexOf(`
53
- `),q=F!==-1,H=s.inFlow??e.flow??e.items.length===0;if(q||!H){let ke=!1;if(q&&(k==="&"||k==="!")){let B=O.indexOf(" ");k==="&"&&B!==-1&&B<F&&O[B+1]==="!"&&(B=O.indexOf(" ",B+1)),(B===-1||F<B)&&(ke=!0);}ke||(v=`
51
+ ${s.indent}`;}else if(!g&&fe.isCollection(e)){let I=O[0],$=O.indexOf(`
52
+ `),_=$!==-1,H=s.inFlow??e.flow??e.items.length===0;if(_||!H){let Ne=!1;if(_&&(I==="&"||I==="!")){let M=O.indexOf(" ");I==="&"&&M!==-1&&M<$&&O[M+1]==="!"&&(M=O.indexOf(" ",M+1)),(M===-1||$<M)&&(Ne=!0);}Ne||(v=`
54
53
  ${s.indent}`);}}else (O===""||O[0]===`
55
- `)&&(v="");return m+=v+O,s.inFlow?N&&i&&i():C&&!N?m+=ot.lineComment(m,s.indent,c(C)):h&&r&&r(),m}kn.stringifyPair=wu;});var Xs=chunkPWMRAKYI_cjs.b(Vs=>{chunkPWMRAKYI_cjs.d();function Su(t,...e){t==="debug"&&console.log(...e);}function vu(t,e){(t==="debug"||t==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(e):console.warn(e));}Vs.debug=Su;Vs.warn=vu;});var ei=chunkPWMRAKYI_cjs.b(Dn=>{chunkPWMRAKYI_cjs.d();var Lu=Xs(),Eu=nt(),Re=T(),Au=_(),Qs=oe(),Tn="<<";function Nu(t,e,{key:s,value:i}){if(t?.doc.schema.merge&&Cu(s))if(i=Re.isAlias(i)?i.resolve(t.doc):i,Re.isSeq(i))for(let r of i.items)Zs(t,e,r);else if(Array.isArray(i))for(let r of i)Zs(t,e,r);else Zs(t,e,i);else {let r=Qs.toJS(s,"",t);if(e instanceof Map)e.set(r,Qs.toJS(i,r,t));else if(e instanceof Set)e.add(r);else {let n=Ou(s,r,t),o=Qs.toJS(i,n,t);n in e?Object.defineProperty(e,n,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[n]=o;}}return e}var Cu=t=>t===Tn||Re.isScalar(t)&&t.value===Tn&&(!t.type||t.type===Au.Scalar.PLAIN);function Zs(t,e,s){let i=t&&Re.isAlias(s)?s.resolve(t.doc):s;if(!Re.isMap(i))throw new Error("Merge sources must be maps or map aliases");let r=i.toJSON(null,t,Map);for(let[n,o]of r)e instanceof Map?e.has(n)||e.set(n,o):e instanceof Set?e.add(n):Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{value:o,writable:!0,enumerable:!0,configurable:!0});return e}function Ou(t,e,s){if(e===null)return "";if(typeof e!="object")return String(e);if(Re.isNode(t)&&s?.doc){let i=Eu.createStringifyContext(s.doc,{});i.anchors=new Set;for(let n of s.anchors.keys())i.anchors.add(n.anchor);i.inFlow=!0,i.inStringifyKey=!0;let r=t.toString(i);if(!s.mapKeyWarned){let n=JSON.stringify(r);n.length>40&&(n=n.substring(0,36)+'..."'),Lu.warn(s.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${n}. Set mapAsMap: true to use object keys.`),s.mapKeyWarned=!0;}return r}return JSON.stringify(e)}Dn.addPairToJSMap=Nu;});var ue=chunkPWMRAKYI_cjs.b(ti=>{chunkPWMRAKYI_cjs.d();var $n=et(),Pu=In(),ku=ei(),zt=T();function Iu(t,e,s){let i=$n.createNode(t,void 0,s),r=$n.createNode(e,void 0,s);return new Ht(i,r)}var Ht=class t{constructor(e,s=null){Object.defineProperty(this,zt.NODE_TYPE,{value:zt.PAIR}),this.key=e,this.value=s;}clone(e){let{key:s,value:i}=this;return zt.isNode(s)&&(s=s.clone(e)),zt.isNode(i)&&(i=i.clone(e)),new t(s,i)}toJSON(e,s){let i=s?.mapAsMap?new Map:{};return ku.addPairToJSMap(s,i,this)}toString(e,s,i){return e?.doc?Pu.stringifyPair(this,e,s,i):JSON.stringify(this)}};ti.Pair=Ht;ti.createPair=Iu;});var si=chunkPWMRAKYI_cjs.b(Fn=>{chunkPWMRAKYI_cjs.d();var Ae=T(),Rn=nt(),Vt=tt();function Tu(t,e,s){return (e.inFlow??t.flow?$u:Du)(t,e,s)}function Du({comment:t,items:e},s,{blockItemPrefix:i,flowChars:r,itemIndent:n,onChompKeep:o,onComment:a}){let{indent:l,options:{commentString:c}}=s,d=Object.assign({},s,{indent:n,type:null}),u=!1,p=[];for(let y=0;y<e.length;++y){let h=e[y],m=null;if(Ae.isNode(h))!u&&h.spaceBefore&&p.push(""),Xt(s,p,h.commentBefore,u),h.comment&&(m=h.comment);else if(Ae.isPair(h)){let L=Ae.isNode(h.key)?h.key:null;L&&(!u&&L.spaceBefore&&p.push(""),Xt(s,p,L.commentBefore,u));}u=!1;let S=Rn.stringify(h,d,()=>m=null,()=>u=!0);m&&(S+=Vt.lineComment(S,n,c(m))),u&&m&&(u=!1),p.push(i+S);}let g;if(p.length===0)g=r.start+r.end;else {g=p[0];for(let y=1;y<p.length;++y){let h=p[y];g+=h?`
54
+ `)&&(v="");return m+=v+O,s.inFlow?N&&i&&i():C&&!N?m+=st.lineComment(m,s.indent,c(C)):h&&r&&r(),m}En.stringifyPair=cu;});var Js=chunkPWMRAKYI_cjs.b(Ks=>{chunkPWMRAKYI_cjs.d();function fu(t,...e){t==="debug"&&console.log(...e);}function uu(t,e){(t==="debug"||t==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(e):console.warn(e));}Ks.debug=fu;Ks.warn=uu;});var Vs=chunkPWMRAKYI_cjs.b(Cn=>{chunkPWMRAKYI_cjs.d();var hu=Js(),pu=tt(),ke=T(),du=R(),zs=oe(),Nn="<<";function mu(t,e,{key:s,value:i}){if(t?.doc.schema.merge&&gu(s))if(i=ke.isAlias(i)?i.resolve(t.doc):i,ke.isSeq(i))for(let r of i.items)Hs(t,e,r);else if(Array.isArray(i))for(let r of i)Hs(t,e,r);else Hs(t,e,i);else {let r=zs.toJS(s,"",t);if(e instanceof Map)e.set(r,zs.toJS(i,r,t));else if(e instanceof Set)e.add(r);else {let n=yu(s,r,t),o=zs.toJS(i,n,t);n in e?Object.defineProperty(e,n,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[n]=o;}}return e}var gu=t=>t===Nn||ke.isScalar(t)&&t.value===Nn&&(!t.type||t.type===du.Scalar.PLAIN);function Hs(t,e,s){let i=t&&ke.isAlias(s)?s.resolve(t.doc):s;if(!ke.isMap(i))throw new Error("Merge sources must be maps or map aliases");let r=i.toJSON(null,t,Map);for(let[n,o]of r)e instanceof Map?e.has(n)||e.set(n,o):e instanceof Set?e.add(n):Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{value:o,writable:!0,enumerable:!0,configurable:!0});return e}function yu(t,e,s){if(e===null)return "";if(typeof e!="object")return String(e);if(ke.isNode(t)&&s?.doc){let i=pu.createStringifyContext(s.doc,{});i.anchors=new Set;for(let n of s.anchors.keys())i.anchors.add(n.anchor);i.inFlow=!0,i.inStringifyKey=!0;let r=t.toString(i);if(!s.mapKeyWarned){let n=JSON.stringify(r);n.length>40&&(n=n.substring(0,36)+'..."'),hu.warn(s.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${n}. Set mapAsMap: true to use object keys.`),s.mapKeyWarned=!0;}return r}return JSON.stringify(e)}Cn.addPairToJSMap=mu;});var ue=chunkPWMRAKYI_cjs.b(Xs=>{chunkPWMRAKYI_cjs.d();var On=Ve(),bu=An(),wu=Vs(),Yt=T();function Su(t,e,s){let i=On.createNode(t,void 0,s),r=On.createNode(e,void 0,s);return new Wt(i,r)}var Wt=class t{constructor(e,s=null){Object.defineProperty(this,Yt.NODE_TYPE,{value:Yt.PAIR}),this.key=e,this.value=s;}clone(e){let{key:s,value:i}=this;return Yt.isNode(s)&&(s=s.clone(e)),Yt.isNode(i)&&(i=i.clone(e)),new t(s,i)}toJSON(e,s){let i=s?.mapAsMap?new Map:{};return wu.addPairToJSMap(s,i,this)}toString(e,s,i){return e?.doc?bu.stringifyPair(this,e,s,i):JSON.stringify(this)}};Xs.Pair=Wt;Xs.createPair=Su;});var Qs=chunkPWMRAKYI_cjs.b(In=>{chunkPWMRAKYI_cjs.d();var Se=T(),Pn=tt(),Kt=Xe();function vu(t,e,s){return (e.inFlow??t.flow?Eu:Lu)(t,e,s)}function Lu({comment:t,items:e},s,{blockItemPrefix:i,flowChars:r,itemIndent:n,onChompKeep:o,onComment:a}){let{indent:l,options:{commentString:c}}=s,d=Object.assign({},s,{indent:n,type:null}),u=!1,p=[];for(let y=0;y<e.length;++y){let h=e[y],m=null;if(Se.isNode(h))!u&&h.spaceBefore&&p.push(""),Jt(s,p,h.commentBefore,u),h.comment&&(m=h.comment);else if(Se.isPair(h)){let L=Se.isNode(h.key)?h.key:null;L&&(!u&&L.spaceBefore&&p.push(""),Jt(s,p,L.commentBefore,u));}u=!1;let S=Pn.stringify(h,d,()=>m=null,()=>u=!0);m&&(S+=Kt.lineComment(S,n,c(m))),u&&m&&(u=!1),p.push(i+S);}let g;if(p.length===0)g=r.start+r.end;else {g=p[0];for(let y=1;y<p.length;++y){let h=p[y];g+=h?`
56
55
  ${l}${h}`:`
57
56
  `;}}return t?(g+=`
58
- `+Vt.indentComment(c(t),l),a&&a()):u&&o&&o(),g}function $u({items:t},e,{flowChars:s,itemIndent:i}){let{indent:r,indentStep:n,flowCollectionPadding:o,options:{commentString:a}}=e;i+=n;let l=Object.assign({},e,{indent:i,inFlow:!0,type:null}),c=!1,d=0,u=[];for(let y=0;y<t.length;++y){let h=t[y],m=null;if(Ae.isNode(h))h.spaceBefore&&u.push(""),Xt(e,u,h.commentBefore,!1),h.comment&&(m=h.comment);else if(Ae.isPair(h)){let L=Ae.isNode(h.key)?h.key:null;L&&(L.spaceBefore&&u.push(""),Xt(e,u,L.commentBefore,!1),L.comment&&(c=!0));let C=Ae.isNode(h.value)?h.value:null;C?(C.comment&&(m=C.comment),C.commentBefore&&(c=!0)):h.value==null&&L?.comment&&(m=L.comment);}m&&(c=!0);let S=Rn.stringify(h,l,()=>m=null);y<t.length-1&&(S+=","),m&&(S+=Vt.lineComment(S,i,a(m))),!c&&(u.length>d||S.includes(`
57
+ `+Kt.indentComment(c(t),l),a&&a()):u&&o&&o(),g}function Eu({items:t},e,{flowChars:s,itemIndent:i}){let{indent:r,indentStep:n,flowCollectionPadding:o,options:{commentString:a}}=e;i+=n;let l=Object.assign({},e,{indent:i,inFlow:!0,type:null}),c=!1,d=0,u=[];for(let y=0;y<t.length;++y){let h=t[y],m=null;if(Se.isNode(h))h.spaceBefore&&u.push(""),Jt(e,u,h.commentBefore,!1),h.comment&&(m=h.comment);else if(Se.isPair(h)){let L=Se.isNode(h.key)?h.key:null;L&&(L.spaceBefore&&u.push(""),Jt(e,u,L.commentBefore,!1),L.comment&&(c=!0));let C=Se.isNode(h.value)?h.value:null;C?(C.comment&&(m=C.comment),C.commentBefore&&(c=!0)):h.value==null&&L?.comment&&(m=L.comment);}m&&(c=!0);let S=Pn.stringify(h,l,()=>m=null);y<t.length-1&&(S+=","),m&&(S+=Kt.lineComment(S,i,a(m))),!c&&(u.length>d||S.includes(`
59
58
  `))&&(c=!0),u.push(S),d=u.length;}let{start:p,end:g}=s;if(u.length===0)return p+g;if(!c){let y=u.reduce((h,m)=>h+m.length+2,2);c=e.options.lineWidth>0&&y>e.options.lineWidth;}if(c){let y=p;for(let h of u)y+=h?`
60
59
  ${n}${r}${h}`:`
61
60
  `;return `${y}
62
- ${r}${g}`}else return `${p}${o}${u.join(" ")}${o}${g}`}function Xt({indent:t,options:{commentString:e}},s,i,r){if(i&&r&&(i=i.replace(/^\n+/,"")),i){let n=Vt.indentComment(e(i),t);s.push(n.trimStart());}}Fn.stringifyCollection=Tu;});var pe=chunkPWMRAKYI_cjs.b(ri=>{chunkPWMRAKYI_cjs.d();var Ru=si(),Fu=ei(),_u=Gt(),he=T(),Qt=ue(),Mu=_();function at(t,e){let s=he.isScalar(e)?e.value:e;for(let i of t)if(he.isPair(i)&&(i.key===e||i.key===s||he.isScalar(i.key)&&i.key.value===s))return i}var ii=class extends _u.Collection{static get tagName(){return "tag:yaml.org,2002:map"}constructor(e){super(he.MAP,e),this.items=[];}static from(e,s,i){let{keepUndefined:r,replacer:n}=i,o=new this(e),a=(l,c)=>{if(typeof n=="function")c=n.call(s,l,c);else if(Array.isArray(n)&&!n.includes(l))return;(c!==void 0||r)&&o.items.push(Qt.createPair(l,c,i));};if(s instanceof Map)for(let[l,c]of s)a(l,c);else if(s&&typeof s=="object")for(let l of Object.keys(s))a(l,s[l]);return typeof e.sortMapEntries=="function"&&o.items.sort(e.sortMapEntries),o}add(e,s){let i;he.isPair(e)?i=e:!e||typeof e!="object"||!("key"in e)?i=new Qt.Pair(e,e?.value):i=new Qt.Pair(e.key,e.value);let r=at(this.items,i.key),n=this.schema?.sortMapEntries;if(r){if(!s)throw new Error(`Key ${i.key} already set`);he.isScalar(r.value)&&Mu.isScalarValue(i.value)?r.value.value=i.value:r.value=i.value;}else if(n){let o=this.items.findIndex(a=>n(i,a)<0);o===-1?this.items.push(i):this.items.splice(o,0,i);}else this.items.push(i);}delete(e){let s=at(this.items,e);return s?this.items.splice(this.items.indexOf(s),1).length>0:!1}get(e,s){let r=at(this.items,e)?.value;return (!s&&he.isScalar(r)?r.value:r)??void 0}has(e){return !!at(this.items,e)}set(e,s){this.add(new Qt.Pair(e,s),!0);}toJSON(e,s,i){let r=i?new i:s?.mapAsMap?new Map:{};s?.onCreate&&s.onCreate(r);for(let n of this.items)Fu.addPairToJSMap(s,r,n);return r}toString(e,s,i){if(!e)return JSON.stringify(this);for(let r of this.items)if(!he.isPair(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return !e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),Ru.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:i,onComment:s})}};ri.YAMLMap=ii;ri.findPair=at;});var Fe=chunkPWMRAKYI_cjs.b(Mn=>{chunkPWMRAKYI_cjs.d();var qu=T(),_n=pe(),xu={collection:"map",default:!0,nodeClass:_n.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(t,e){return qu.isMap(t)||e("Expected a mapping for this tag"),t},createNode:(t,e,s)=>_n.YAMLMap.from(t,e,s)};Mn.map=xu;});var de=chunkPWMRAKYI_cjs.b(qn=>{chunkPWMRAKYI_cjs.d();var Bu=et(),Uu=si(),Gu=Gt(),es=T(),ju=_(),Yu=oe(),ni=class extends Gu.Collection{static get tagName(){return "tag:yaml.org,2002:seq"}constructor(e){super(es.SEQ,e),this.items=[];}add(e){this.items.push(e);}delete(e){let s=Zt(e);return typeof s!="number"?!1:this.items.splice(s,1).length>0}get(e,s){let i=Zt(e);if(typeof i!="number")return;let r=this.items[i];return !s&&es.isScalar(r)?r.value:r}has(e){let s=Zt(e);return typeof s=="number"&&s<this.items.length}set(e,s){let i=Zt(e);if(typeof i!="number")throw new Error(`Expected a valid index, not ${e}.`);let r=this.items[i];es.isScalar(r)&&ju.isScalarValue(s)?r.value=s:this.items[i]=s;}toJSON(e,s){let i=[];s?.onCreate&&s.onCreate(i);let r=0;for(let n of this.items)i.push(Yu.toJS(n,String(r++),s));return i}toString(e,s,i){return e?Uu.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:i,onComment:s}):JSON.stringify(this)}static from(e,s,i){let{replacer:r}=i,n=new this(e);if(s&&Symbol.iterator in Object(s)){let o=0;for(let a of s){if(typeof r=="function"){let l=s instanceof Set?a:String(o++);a=r.call(s,l,a);}n.items.push(Bu.createNode(a,void 0,i));}}return n}};function Zt(t){let e=es.isScalar(t)?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}qn.YAMLSeq=ni;});var _e=chunkPWMRAKYI_cjs.b(Bn=>{chunkPWMRAKYI_cjs.d();var Wu=T(),xn=de(),Ku={collection:"seq",default:!0,nodeClass:xn.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(t,e){return Wu.isSeq(t)||e("Expected a sequence for this tag"),t},createNode:(t,e,s)=>xn.YAMLSeq.from(t,e,s)};Bn.seq=Ku;});var lt=chunkPWMRAKYI_cjs.b(Un=>{chunkPWMRAKYI_cjs.d();var Ju=rt(),zu={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify(t,e,s,i){return e=Object.assign({actualString:!0},e),Ju.stringifyString(t,e,s,i)}};Un.string=zu;});var ts=chunkPWMRAKYI_cjs.b(Yn=>{chunkPWMRAKYI_cjs.d();var Gn=_(),jn={identify:t=>t==null,createNode:()=>new Gn.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Gn.Scalar(null),stringify:({source:t},e)=>typeof t=="string"&&jn.test.test(t)?t:e.options.nullStr};Yn.nullTag=jn;});var oi=chunkPWMRAKYI_cjs.b(Kn=>{chunkPWMRAKYI_cjs.d();var Hu=_(),Wn={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new Hu.Scalar(t[0]==="t"||t[0]==="T"),stringify({source:t,value:e},s){if(t&&Wn.test.test(t)){let i=t[0]==="t"||t[0]==="T";if(e===i)return t}return e?s.options.trueStr:s.options.falseStr}};Kn.boolTag=Wn;});var Me=chunkPWMRAKYI_cjs.b(Jn=>{chunkPWMRAKYI_cjs.d();function Vu({format:t,minFractionDigits:e,tag:s,value:i}){if(typeof i=="bigint")return String(i);let r=typeof i=="number"?i:Number(i);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let n=JSON.stringify(i);if(!t&&e&&(!s||s==="tag:yaml.org,2002:float")&&/^\d/.test(n)){let o=n.indexOf(".");o<0&&(o=n.length,n+=".");let a=e-(n.length-o-1);for(;a-- >0;)n+="0";}return n}Jn.stringifyNumber=Vu;});var li=chunkPWMRAKYI_cjs.b(ss=>{chunkPWMRAKYI_cjs.d();var Xu=_(),ai=Me(),Qu={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ai.stringifyNumber},Zu={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){let e=Number(t.value);return isFinite(e)?e.toExponential():ai.stringifyNumber(t)}},eh={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){let e=new Xu.Scalar(parseFloat(t)),s=t.indexOf(".");return s!==-1&&t[t.length-1]==="0"&&(e.minFractionDigits=t.length-s-1),e},stringify:ai.stringifyNumber};ss.float=eh;ss.floatExp=Zu;ss.floatNaN=Qu;});var fi=chunkPWMRAKYI_cjs.b(rs=>{chunkPWMRAKYI_cjs.d();var zn=Me(),is=t=>typeof t=="bigint"||Number.isInteger(t),ci=(t,e,s,{intAsBigInt:i})=>i?BigInt(t):parseInt(t.substring(e),s);function Hn(t,e,s){let{value:i}=t;return is(i)&&i>=0?s+i.toString(e):zn.stringifyNumber(t)}var th={identify:t=>is(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,e,s)=>ci(t,2,8,s),stringify:t=>Hn(t,8,"0o")},sh={identify:is,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,e,s)=>ci(t,0,10,s),stringify:zn.stringifyNumber},ih={identify:t=>is(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,e,s)=>ci(t,2,16,s),stringify:t=>Hn(t,16,"0x")};rs.int=sh;rs.intHex=ih;rs.intOct=th;});var Xn=chunkPWMRAKYI_cjs.b(Vn=>{chunkPWMRAKYI_cjs.d();var rh=Fe(),nh=ts(),oh=_e(),ah=lt(),lh=oi(),ui=li(),hi=fi(),ch=[rh.map,oh.seq,ah.string,nh.nullTag,lh.boolTag,hi.intOct,hi.int,hi.intHex,ui.floatNaN,ui.floatExp,ui.float];Vn.schema=ch;});var eo=chunkPWMRAKYI_cjs.b(Zn=>{chunkPWMRAKYI_cjs.d();var fh=_(),uh=Fe(),hh=_e();function Qn(t){return typeof t=="bigint"||Number.isInteger(t)}var ns=({value:t})=>JSON.stringify(t),ph=[{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:ns},{identify:t=>t==null,createNode:()=>new fh.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ns},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:ns},{identify:Qn,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,e,{intAsBigInt:s})=>s?BigInt(t):parseInt(t,10),stringify:({value:t})=>Qn(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:ns}],dh={default:!0,tag:"",test:/^/,resolve(t,e){return e(`Unresolved plain scalar ${JSON.stringify(t)}`),t}},mh=[uh.map,hh.seq].concat(ph,dh);Zn.schema=mh;});var di=chunkPWMRAKYI_cjs.b(to=>{chunkPWMRAKYI_cjs.d();var pi=_(),gh=rt(),yh={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(t,e){if(typeof Buffer=="function")return Buffer.from(t,"base64");if(typeof atob=="function"){let s=atob(t.replace(/[\n\r]/g,"")),i=new Uint8Array(s.length);for(let r=0;r<s.length;++r)i[r]=s.charCodeAt(r);return i}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),t},stringify({comment:t,type:e,value:s},i,r,n){let o=s,a;if(typeof Buffer=="function")a=o instanceof Buffer?o.toString("base64"):Buffer.from(o.buffer).toString("base64");else if(typeof btoa=="function"){let l="";for(let c=0;c<o.length;++c)l+=String.fromCharCode(o[c]);a=btoa(l);}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e||(e=pi.Scalar.BLOCK_LITERAL),e!==pi.Scalar.QUOTE_DOUBLE){let l=Math.max(i.options.lineWidth-i.indent.length,i.options.minContentWidth),c=Math.ceil(a.length/l),d=new Array(c);for(let u=0,p=0;u<c;++u,p+=l)d[u]=a.substr(p,l);a=d.join(e===pi.Scalar.BLOCK_LITERAL?`
63
- `:" ");}return gh.stringifyString({comment:t,type:e,value:a},i,r,n)}};to.binary=yh;});var ls=chunkPWMRAKYI_cjs.b(as=>{chunkPWMRAKYI_cjs.d();var os=T(),mi=ue(),bh=_(),wh=de();function so(t,e){if(os.isSeq(t))for(let s=0;s<t.items.length;++s){let i=t.items[s];if(!os.isPair(i)){if(os.isMap(i)){i.items.length>1&&e("Each pair must have its own sequence indicator");let r=i.items[0]||new mi.Pair(new bh.Scalar(null));if(i.commentBefore&&(r.key.commentBefore=r.key.commentBefore?`${i.commentBefore}
61
+ ${r}${g}`}else return `${p}${o}${u.join(" ")}${o}${g}`}function Jt({indent:t,options:{commentString:e}},s,i,r){if(i&&r&&(i=i.replace(/^\n+/,"")),i){let n=Kt.indentComment(e(i),t);s.push(n.trimStart());}}In.stringifyCollection=vu;});var pe=chunkPWMRAKYI_cjs.b(ei=>{chunkPWMRAKYI_cjs.d();var Au=Qs(),Nu=Vs(),Cu=Mt(),he=T(),zt=ue(),Ou=R();function it(t,e){let s=he.isScalar(e)?e.value:e;for(let i of t)if(he.isPair(i)&&(i.key===e||i.key===s||he.isScalar(i.key)&&i.key.value===s))return i}var Zs=class extends Cu.Collection{static get tagName(){return "tag:yaml.org,2002:map"}constructor(e){super(he.MAP,e),this.items=[];}static from(e,s,i){let{keepUndefined:r,replacer:n}=i,o=new this(e),a=(l,c)=>{if(typeof n=="function")c=n.call(s,l,c);else if(Array.isArray(n)&&!n.includes(l))return;(c!==void 0||r)&&o.items.push(zt.createPair(l,c,i));};if(s instanceof Map)for(let[l,c]of s)a(l,c);else if(s&&typeof s=="object")for(let l of Object.keys(s))a(l,s[l]);return typeof e.sortMapEntries=="function"&&o.items.sort(e.sortMapEntries),o}add(e,s){let i;he.isPair(e)?i=e:!e||typeof e!="object"||!("key"in e)?i=new zt.Pair(e,e?.value):i=new zt.Pair(e.key,e.value);let r=it(this.items,i.key),n=this.schema?.sortMapEntries;if(r){if(!s)throw new Error(`Key ${i.key} already set`);he.isScalar(r.value)&&Ou.isScalarValue(i.value)?r.value.value=i.value:r.value=i.value;}else if(n){let o=this.items.findIndex(a=>n(i,a)<0);o===-1?this.items.push(i):this.items.splice(o,0,i);}else this.items.push(i);}delete(e){let s=it(this.items,e);return s?this.items.splice(this.items.indexOf(s),1).length>0:!1}get(e,s){let r=it(this.items,e)?.value;return (!s&&he.isScalar(r)?r.value:r)??void 0}has(e){return !!it(this.items,e)}set(e,s){this.add(new zt.Pair(e,s),!0);}toJSON(e,s,i){let r=i?new i:s?.mapAsMap?new Map:{};s?.onCreate&&s.onCreate(r);for(let n of this.items)Nu.addPairToJSMap(s,r,n);return r}toString(e,s,i){if(!e)return JSON.stringify(this);for(let r of this.items)if(!he.isPair(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return !e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),Au.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:i,onComment:s})}};ei.YAMLMap=Zs;ei.findPair=it;});var Te=chunkPWMRAKYI_cjs.b(Tn=>{chunkPWMRAKYI_cjs.d();var Pu=T(),kn=pe(),Iu={collection:"map",default:!0,nodeClass:kn.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(t,e){return Pu.isMap(t)||e("Expected a mapping for this tag"),t},createNode:(t,e,s)=>kn.YAMLMap.from(t,e,s)};Tn.map=Iu;});var de=chunkPWMRAKYI_cjs.b(Dn=>{chunkPWMRAKYI_cjs.d();var ku=Ve(),Tu=Qs(),Du=Mt(),Vt=T(),$u=R(),Ru=oe(),ti=class extends Du.Collection{static get tagName(){return "tag:yaml.org,2002:seq"}constructor(e){super(Vt.SEQ,e),this.items=[];}add(e){this.items.push(e);}delete(e){let s=Ht(e);return typeof s!="number"?!1:this.items.splice(s,1).length>0}get(e,s){let i=Ht(e);if(typeof i!="number")return;let r=this.items[i];return !s&&Vt.isScalar(r)?r.value:r}has(e){let s=Ht(e);return typeof s=="number"&&s<this.items.length}set(e,s){let i=Ht(e);if(typeof i!="number")throw new Error(`Expected a valid index, not ${e}.`);let r=this.items[i];Vt.isScalar(r)&&$u.isScalarValue(s)?r.value=s:this.items[i]=s;}toJSON(e,s){let i=[];s?.onCreate&&s.onCreate(i);let r=0;for(let n of this.items)i.push(Ru.toJS(n,String(r++),s));return i}toString(e,s,i){return e?Tu.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:i,onComment:s}):JSON.stringify(this)}static from(e,s,i){let{replacer:r}=i,n=new this(e);if(s&&Symbol.iterator in Object(s)){let o=0;for(let a of s){if(typeof r=="function"){let l=s instanceof Set?a:String(o++);a=r.call(s,l,a);}n.items.push(ku.createNode(a,void 0,i));}}return n}};function Ht(t){let e=Vt.isScalar(t)?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}Dn.YAMLSeq=ti;});var De=chunkPWMRAKYI_cjs.b(Rn=>{chunkPWMRAKYI_cjs.d();var Fu=T(),$n=de(),_u={collection:"seq",default:!0,nodeClass:$n.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(t,e){return Fu.isSeq(t)||e("Expected a sequence for this tag"),t},createNode:(t,e,s)=>$n.YAMLSeq.from(t,e,s)};Rn.seq=_u;});var rt=chunkPWMRAKYI_cjs.b(Fn=>{chunkPWMRAKYI_cjs.d();var qu=et(),Mu={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify(t,e,s,i){return e=Object.assign({actualString:!0},e),qu.stringifyString(t,e,s,i)}};Fn.string=Mu;});var Xt=chunkPWMRAKYI_cjs.b(Mn=>{chunkPWMRAKYI_cjs.d();var _n=R(),qn={identify:t=>t==null,createNode:()=>new _n.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new _n.Scalar(null),stringify:({source:t},e)=>typeof t=="string"&&qn.test.test(t)?t:e.options.nullStr};Mn.nullTag=qn;});var si=chunkPWMRAKYI_cjs.b(Bn=>{chunkPWMRAKYI_cjs.d();var xu=R(),xn={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new xu.Scalar(t[0]==="t"||t[0]==="T"),stringify({source:t,value:e},s){if(t&&xn.test.test(t)){let i=t[0]==="t"||t[0]==="T";if(e===i)return t}return e?s.options.trueStr:s.options.falseStr}};Bn.boolTag=xn;});var $e=chunkPWMRAKYI_cjs.b(Un=>{chunkPWMRAKYI_cjs.d();function Bu({format:t,minFractionDigits:e,tag:s,value:i}){if(typeof i=="bigint")return String(i);let r=typeof i=="number"?i:Number(i);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let n=JSON.stringify(i);if(!t&&e&&(!s||s==="tag:yaml.org,2002:float")&&/^\d/.test(n)){let o=n.indexOf(".");o<0&&(o=n.length,n+=".");let a=e-(n.length-o-1);for(;a-- >0;)n+="0";}return n}Un.stringifyNumber=Bu;});var ri=chunkPWMRAKYI_cjs.b(Qt=>{chunkPWMRAKYI_cjs.d();var Uu=R(),ii=$e(),Gu={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ii.stringifyNumber},ju={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){let e=Number(t.value);return isFinite(e)?e.toExponential():ii.stringifyNumber(t)}},Yu={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){let e=new Uu.Scalar(parseFloat(t)),s=t.indexOf(".");return s!==-1&&t[t.length-1]==="0"&&(e.minFractionDigits=t.length-s-1),e},stringify:ii.stringifyNumber};Qt.float=Yu;Qt.floatExp=ju;Qt.floatNaN=Gu;});var oi=chunkPWMRAKYI_cjs.b(es=>{chunkPWMRAKYI_cjs.d();var Gn=$e(),Zt=t=>typeof t=="bigint"||Number.isInteger(t),ni=(t,e,s,{intAsBigInt:i})=>i?BigInt(t):parseInt(t.substring(e),s);function jn(t,e,s){let{value:i}=t;return Zt(i)&&i>=0?s+i.toString(e):Gn.stringifyNumber(t)}var Wu={identify:t=>Zt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,e,s)=>ni(t,2,8,s),stringify:t=>jn(t,8,"0o")},Ku={identify:Zt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,e,s)=>ni(t,0,10,s),stringify:Gn.stringifyNumber},Ju={identify:t=>Zt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,e,s)=>ni(t,2,16,s),stringify:t=>jn(t,16,"0x")};es.int=Ku;es.intHex=Ju;es.intOct=Wu;});var Wn=chunkPWMRAKYI_cjs.b(Yn=>{chunkPWMRAKYI_cjs.d();var zu=Te(),Hu=Xt(),Vu=De(),Xu=rt(),Qu=si(),ai=ri(),li=oi(),Zu=[zu.map,Vu.seq,Xu.string,Hu.nullTag,Qu.boolTag,li.intOct,li.int,li.intHex,ai.floatNaN,ai.floatExp,ai.float];Yn.schema=Zu;});var zn=chunkPWMRAKYI_cjs.b(Jn=>{chunkPWMRAKYI_cjs.d();var eh=R(),th=Te(),sh=De();function Kn(t){return typeof t=="bigint"||Number.isInteger(t)}var ts=({value:t})=>JSON.stringify(t),ih=[{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:ts},{identify:t=>t==null,createNode:()=>new eh.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ts},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:ts},{identify:Kn,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,e,{intAsBigInt:s})=>s?BigInt(t):parseInt(t,10),stringify:({value:t})=>Kn(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:ts}],rh={default:!0,tag:"",test:/^/,resolve(t,e){return e(`Unresolved plain scalar ${JSON.stringify(t)}`),t}},nh=[th.map,sh.seq].concat(ih,rh);Jn.schema=nh;});var fi=chunkPWMRAKYI_cjs.b(Hn=>{chunkPWMRAKYI_cjs.d();var ci=R(),oh=et(),ah={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(t,e){if(typeof Buffer=="function")return Buffer.from(t,"base64");if(typeof atob=="function"){let s=atob(t.replace(/[\n\r]/g,"")),i=new Uint8Array(s.length);for(let r=0;r<s.length;++r)i[r]=s.charCodeAt(r);return i}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),t},stringify({comment:t,type:e,value:s},i,r,n){let o=s,a;if(typeof Buffer=="function")a=o instanceof Buffer?o.toString("base64"):Buffer.from(o.buffer).toString("base64");else if(typeof btoa=="function"){let l="";for(let c=0;c<o.length;++c)l+=String.fromCharCode(o[c]);a=btoa(l);}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e||(e=ci.Scalar.BLOCK_LITERAL),e!==ci.Scalar.QUOTE_DOUBLE){let l=Math.max(i.options.lineWidth-i.indent.length,i.options.minContentWidth),c=Math.ceil(a.length/l),d=new Array(c);for(let u=0,p=0;u<c;++u,p+=l)d[u]=a.substr(p,l);a=d.join(e===ci.Scalar.BLOCK_LITERAL?`
62
+ `:" ");}return oh.stringifyString({comment:t,type:e,value:a},i,r,n)}};Hn.binary=ah;});var rs=chunkPWMRAKYI_cjs.b(is=>{chunkPWMRAKYI_cjs.d();var ss=T(),ui=ue(),lh=R(),ch=de();function Vn(t,e){if(ss.isSeq(t))for(let s=0;s<t.items.length;++s){let i=t.items[s];if(!ss.isPair(i)){if(ss.isMap(i)){i.items.length>1&&e("Each pair must have its own sequence indicator");let r=i.items[0]||new ui.Pair(new lh.Scalar(null));if(i.commentBefore&&(r.key.commentBefore=r.key.commentBefore?`${i.commentBefore}
64
63
  ${r.key.commentBefore}`:i.commentBefore),i.comment){let n=r.value??r.key;n.comment=n.comment?`${i.comment}
65
- ${n.comment}`:i.comment;}i=r;}t.items[s]=os.isPair(i)?i:new mi.Pair(i);}}else e("Expected a sequence for this tag");return t}function io(t,e,s){let{replacer:i}=s,r=new wh.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";let n=0;if(e&&Symbol.iterator in Object(e))for(let o of e){typeof i=="function"&&(o=i.call(e,String(n++),o));let a,l;if(Array.isArray(o))if(o.length===2)a=o[0],l=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){let c=Object.keys(o);if(c.length===1)a=c[0],l=o[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=o;r.items.push(mi.createPair(a,l,s));}return r}var Sh={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:so,createNode:io};as.createPairs=io;as.pairs=Sh;as.resolvePairs=so;});var bi=chunkPWMRAKYI_cjs.b(yi=>{chunkPWMRAKYI_cjs.d();var ro=T(),gi=oe(),ct=pe(),vh=de(),no=ls(),Ne=class t extends vh.YAMLSeq{constructor(){super(),this.add=ct.YAMLMap.prototype.add.bind(this),this.delete=ct.YAMLMap.prototype.delete.bind(this),this.get=ct.YAMLMap.prototype.get.bind(this),this.has=ct.YAMLMap.prototype.has.bind(this),this.set=ct.YAMLMap.prototype.set.bind(this),this.tag=t.tag;}toJSON(e,s){if(!s)return super.toJSON(e);let i=new Map;s?.onCreate&&s.onCreate(i);for(let r of this.items){let n,o;if(ro.isPair(r)?(n=gi.toJS(r.key,"",s),o=gi.toJS(r.value,n,s)):n=gi.toJS(r,"",s),i.has(n))throw new Error("Ordered maps must not include duplicate keys");i.set(n,o);}return i}static from(e,s,i){let r=no.createPairs(e,s,i),n=new this;return n.items=r.items,n}};Ne.tag="tag:yaml.org,2002:omap";var Lh={collection:"seq",identify:t=>t instanceof Map,nodeClass:Ne,default:!1,tag:"tag:yaml.org,2002:omap",resolve(t,e){let s=no.resolvePairs(t,e),i=[];for(let{key:r}of s.items)ro.isScalar(r)&&(i.includes(r.value)?e(`Ordered maps must not include duplicate keys: ${r.value}`):i.push(r.value));return Object.assign(new Ne,s)},createNode:(t,e,s)=>Ne.from(t,e,s)};yi.YAMLOMap=Ne;yi.omap=Lh;});var fo=chunkPWMRAKYI_cjs.b(wi=>{chunkPWMRAKYI_cjs.d();var oo=_();function ao({value:t,source:e},s){return e&&(t?lo:co).test.test(e)?e:t?s.options.trueStr:s.options.falseStr}var lo={identify:t=>t===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new oo.Scalar(!0),stringify:ao},co={identify:t=>t===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new oo.Scalar(!1),stringify:ao};wi.falseTag=co;wi.trueTag=lo;});var uo=chunkPWMRAKYI_cjs.b(cs=>{chunkPWMRAKYI_cjs.d();var Eh=_(),Si=Me(),Ah={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Si.stringifyNumber},Nh={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){let e=Number(t.value);return isFinite(e)?e.toExponential():Si.stringifyNumber(t)}},Ch={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){let e=new Eh.Scalar(parseFloat(t.replace(/_/g,""))),s=t.indexOf(".");if(s!==-1){let i=t.substring(s+1).replace(/_/g,"");i[i.length-1]==="0"&&(e.minFractionDigits=i.length);}return e},stringify:Si.stringifyNumber};cs.float=Ch;cs.floatExp=Nh;cs.floatNaN=Ah;});var po=chunkPWMRAKYI_cjs.b(ut=>{chunkPWMRAKYI_cjs.d();var ho=Me(),ft=t=>typeof t=="bigint"||Number.isInteger(t);function fs(t,e,s,{intAsBigInt:i}){let r=t[0];if((r==="-"||r==="+")&&(e+=1),t=t.substring(e).replace(/_/g,""),i){switch(s){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`;break}let o=BigInt(t);return r==="-"?BigInt(-1)*o:o}let n=parseInt(t,s);return r==="-"?-1*n:n}function vi(t,e,s){let{value:i}=t;if(ft(i)){let r=i.toString(e);return i<0?"-"+s+r.substr(1):s+r}return ho.stringifyNumber(t)}var Oh={identify:ft,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,e,s)=>fs(t,2,2,s),stringify:t=>vi(t,2,"0b")},Ph={identify:ft,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,e,s)=>fs(t,1,8,s),stringify:t=>vi(t,8,"0")},kh={identify:ft,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,e,s)=>fs(t,0,10,s),stringify:ho.stringifyNumber},Ih={identify:ft,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,e,s)=>fs(t,2,16,s),stringify:t=>vi(t,16,"0x")};ut.int=kh;ut.intBin=Oh;ut.intHex=Ih;ut.intOct=Ph;});var Ei=chunkPWMRAKYI_cjs.b(Li=>{chunkPWMRAKYI_cjs.d();var ps=T(),us=ue(),hs=pe(),Ce=class t extends hs.YAMLMap{constructor(e){super(e),this.tag=t.tag;}add(e){let s;ps.isPair(e)?s=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?s=new us.Pair(e.key,null):s=new us.Pair(e,null),hs.findPair(this.items,s.key)||this.items.push(s);}get(e,s){let i=hs.findPair(this.items,e);return !s&&ps.isPair(i)?ps.isScalar(i.key)?i.key.value:i.key:i}set(e,s){if(typeof s!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof s}`);let i=hs.findPair(this.items,e);i&&!s?this.items.splice(this.items.indexOf(i),1):!i&&s&&this.items.push(new us.Pair(e));}toJSON(e,s){return super.toJSON(e,s,Set)}toString(e,s,i){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),s,i);throw new Error("Set items must all have null values")}static from(e,s,i){let{replacer:r}=i,n=new this(e);if(s&&Symbol.iterator in Object(s))for(let o of s)typeof r=="function"&&(o=r.call(s,o,o)),n.items.push(us.createPair(o,null,i));return n}};Ce.tag="tag:yaml.org,2002:set";var Th={collection:"map",identify:t=>t instanceof Set,nodeClass:Ce,default:!1,tag:"tag:yaml.org,2002:set",createNode:(t,e,s)=>Ce.from(t,e,s),resolve(t,e){if(ps.isMap(t)){if(t.hasAllNullValues(!0))return Object.assign(new Ce,t);e("Set items must all have null values");}else e("Expected a mapping for this tag");return t}};Li.YAMLSet=Ce;Li.set=Th;});var Ni=chunkPWMRAKYI_cjs.b(ds=>{chunkPWMRAKYI_cjs.d();var Dh=Me();function Ai(t,e){let s=t[0],i=s==="-"||s==="+"?t.substring(1):t,r=o=>e?BigInt(o):Number(o),n=i.replace(/_/g,"").split(":").reduce((o,a)=>o*r(60)+r(a),r(0));return s==="-"?r(-1)*n:n}function mo(t){let{value:e}=t,s=o=>o;if(typeof e=="bigint")s=o=>BigInt(o);else if(isNaN(e)||!isFinite(e))return Dh.stringifyNumber(t);let i="";e<0&&(i="-",e*=s(-1));let r=s(60),n=[e%r];return e<60?n.unshift(0):(e=(e-n[0])/r,n.unshift(e%r),e>=60&&(e=(e-n[0])/r,n.unshift(e))),i+n.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}var $h={identify:t=>typeof t=="bigint"||Number.isInteger(t),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,e,{intAsBigInt:s})=>Ai(t,s),stringify:mo},Rh={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>Ai(t,!1),stringify:mo},go={identify:t=>t 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(t){let e=t.match(go.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,s,i,r,n,o,a]=e.map(Number),l=e[7]?Number((e[7]+"00").substr(1,3)):0,c=Date.UTC(s,i-1,r,n||0,o||0,a||0,l),d=e[8];if(d&&d!=="Z"){let u=Ai(d,!1);Math.abs(u)<30&&(u*=60),c-=6e4*u;}return new Date(c)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};ds.floatTime=Rh;ds.intTime=$h;ds.timestamp=go;});var wo=chunkPWMRAKYI_cjs.b(bo=>{chunkPWMRAKYI_cjs.d();var Fh=Fe(),_h=ts(),Mh=_e(),qh=lt(),xh=di(),yo=fo(),Ci=uo(),ms=po(),Bh=bi(),Uh=ls(),Gh=Ei(),Oi=Ni(),jh=[Fh.map,Mh.seq,qh.string,_h.nullTag,yo.trueTag,yo.falseTag,ms.intBin,ms.intOct,ms.int,ms.intHex,Ci.floatNaN,Ci.floatExp,Ci.float,xh.binary,Bh.omap,Uh.pairs,Gh.set,Oi.intTime,Oi.floatTime,Oi.timestamp];bo.schema=jh;});var ko=chunkPWMRAKYI_cjs.b(Ii=>{chunkPWMRAKYI_cjs.d();var Eo=Fe(),Yh=ts(),Ao=_e(),Wh=lt(),Kh=oi(),Pi=li(),ki=fi(),Jh=Xn(),zh=eo(),No=di(),Co=bi(),Oo=ls(),So=wo(),Po=Ei(),gs=Ni(),vo=new Map([["core",Jh.schema],["failsafe",[Eo.map,Ao.seq,Wh.string]],["json",zh.schema],["yaml11",So.schema],["yaml-1.1",So.schema]]),Lo={binary:No.binary,bool:Kh.boolTag,float:Pi.float,floatExp:Pi.floatExp,floatNaN:Pi.floatNaN,floatTime:gs.floatTime,int:ki.int,intHex:ki.intHex,intOct:ki.intOct,intTime:gs.intTime,map:Eo.map,null:Yh.nullTag,omap:Co.omap,pairs:Oo.pairs,seq:Ao.seq,set:Po.set,timestamp:gs.timestamp},Hh={"tag:yaml.org,2002:binary":No.binary,"tag:yaml.org,2002:omap":Co.omap,"tag:yaml.org,2002:pairs":Oo.pairs,"tag:yaml.org,2002:set":Po.set,"tag:yaml.org,2002:timestamp":gs.timestamp};function Vh(t,e){let s=vo.get(e);if(!s)if(Array.isArray(t))s=[];else {let i=Array.from(vo.keys()).filter(r=>r!=="yaml11").map(r=>JSON.stringify(r)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${i} or define customTags array`)}if(Array.isArray(t))for(let i of t)s=s.concat(i);else typeof t=="function"&&(s=t(s.slice()));return s.map(i=>{if(typeof i!="string")return i;let r=Lo[i];if(r)return r;let n=Object.keys(Lo).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown custom tag "${i}"; use one of ${n}`)})}Ii.coreKnownTags=Hh;Ii.getTags=Vh;});var $i=chunkPWMRAKYI_cjs.b(Io=>{chunkPWMRAKYI_cjs.d();var Ti=T(),Xh=Fe(),Qh=_e(),Zh=lt(),ys=ko(),ep=(t,e)=>t.key<e.key?-1:t.key>e.key?1:0,Di=class t{constructor({compat:e,customTags:s,merge:i,resolveKnownTags:r,schema:n,sortMapEntries:o,toStringDefaults:a}){this.compat=Array.isArray(e)?ys.getTags(e,"compat"):e?ys.getTags(null,e):null,this.merge=!!i,this.name=typeof n=="string"&&n||"core",this.knownTags=r?ys.coreKnownTags:{},this.tags=ys.getTags(s,this.name),this.toStringOptions=a??null,Object.defineProperty(this,Ti.MAP,{value:Xh.map}),Object.defineProperty(this,Ti.SCALAR,{value:Zh.string}),Object.defineProperty(this,Ti.SEQ,{value:Qh.seq}),this.sortMapEntries=typeof o=="function"?o:o===!0?ep:null;}clone(){let e=Object.create(t.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}};Io.Schema=Di;});var Do=chunkPWMRAKYI_cjs.b(To=>{chunkPWMRAKYI_cjs.d();var tp=T(),Ri=nt(),ht=tt();function sp(t,e){let s=[],i=e.directives===!0;if(e.directives!==!1&&t.directives){let l=t.directives.toString(t);l?(s.push(l),i=!0):t.directives.docStart&&(i=!0);}i&&s.push("---");let r=Ri.createStringifyContext(t,e),{commentString:n}=r.options;if(t.commentBefore){s.length!==1&&s.unshift("");let l=n(t.commentBefore);s.unshift(ht.indentComment(l,""));}let o=!1,a=null;if(t.contents){if(tp.isNode(t.contents)){if(t.contents.spaceBefore&&i&&s.push(""),t.contents.commentBefore){let d=n(t.contents.commentBefore);s.push(ht.indentComment(d,""));}r.forceBlockIndent=!!t.comment,a=t.contents.comment;}let l=a?void 0:()=>o=!0,c=Ri.stringify(t.contents,r,()=>a=null,l);a&&(c+=ht.lineComment(c,"",n(a))),(c[0]==="|"||c[0]===">")&&s[s.length-1]==="---"?s[s.length-1]=`--- ${c}`:s.push(c);}else s.push(Ri.stringify(t.contents,r));if(t.directives?.docEnd)if(t.comment){let l=n(t.comment);l.includes(`
66
- `)?(s.push("..."),s.push(ht.indentComment(l,""))):s.push(`... ${l}`);}else s.push("...");else {let l=t.comment;l&&o&&(l=l.replace(/^\n+/,"")),l&&((!o||a)&&s[s.length-1]!==""&&s.push(""),s.push(ht.indentComment(n(l),"")));}return s.join(`
64
+ ${n.comment}`:i.comment;}i=r;}t.items[s]=ss.isPair(i)?i:new ui.Pair(i);}}else e("Expected a sequence for this tag");return t}function Xn(t,e,s){let{replacer:i}=s,r=new ch.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";let n=0;if(e&&Symbol.iterator in Object(e))for(let o of e){typeof i=="function"&&(o=i.call(e,String(n++),o));let a,l;if(Array.isArray(o))if(o.length===2)a=o[0],l=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){let c=Object.keys(o);if(c.length===1)a=c[0],l=o[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=o;r.items.push(ui.createPair(a,l,s));}return r}var fh={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Vn,createNode:Xn};is.createPairs=Xn;is.pairs=fh;is.resolvePairs=Vn;});var di=chunkPWMRAKYI_cjs.b(pi=>{chunkPWMRAKYI_cjs.d();var Qn=T(),hi=oe(),nt=pe(),uh=de(),Zn=rs(),ve=class t extends uh.YAMLSeq{constructor(){super(),this.add=nt.YAMLMap.prototype.add.bind(this),this.delete=nt.YAMLMap.prototype.delete.bind(this),this.get=nt.YAMLMap.prototype.get.bind(this),this.has=nt.YAMLMap.prototype.has.bind(this),this.set=nt.YAMLMap.prototype.set.bind(this),this.tag=t.tag;}toJSON(e,s){if(!s)return super.toJSON(e);let i=new Map;s?.onCreate&&s.onCreate(i);for(let r of this.items){let n,o;if(Qn.isPair(r)?(n=hi.toJS(r.key,"",s),o=hi.toJS(r.value,n,s)):n=hi.toJS(r,"",s),i.has(n))throw new Error("Ordered maps must not include duplicate keys");i.set(n,o);}return i}static from(e,s,i){let r=Zn.createPairs(e,s,i),n=new this;return n.items=r.items,n}};ve.tag="tag:yaml.org,2002:omap";var hh={collection:"seq",identify:t=>t instanceof Map,nodeClass:ve,default:!1,tag:"tag:yaml.org,2002:omap",resolve(t,e){let s=Zn.resolvePairs(t,e),i=[];for(let{key:r}of s.items)Qn.isScalar(r)&&(i.includes(r.value)?e(`Ordered maps must not include duplicate keys: ${r.value}`):i.push(r.value));return Object.assign(new ve,s)},createNode:(t,e,s)=>ve.from(t,e,s)};pi.YAMLOMap=ve;pi.omap=hh;});var ro=chunkPWMRAKYI_cjs.b(mi=>{chunkPWMRAKYI_cjs.d();var eo=R();function to({value:t,source:e},s){return e&&(t?so:io).test.test(e)?e:t?s.options.trueStr:s.options.falseStr}var so={identify:t=>t===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new eo.Scalar(!0),stringify:to},io={identify:t=>t===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new eo.Scalar(!1),stringify:to};mi.falseTag=io;mi.trueTag=so;});var no=chunkPWMRAKYI_cjs.b(ns=>{chunkPWMRAKYI_cjs.d();var ph=R(),gi=$e(),dh={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:gi.stringifyNumber},mh={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){let e=Number(t.value);return isFinite(e)?e.toExponential():gi.stringifyNumber(t)}},gh={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){let e=new ph.Scalar(parseFloat(t.replace(/_/g,""))),s=t.indexOf(".");if(s!==-1){let i=t.substring(s+1).replace(/_/g,"");i[i.length-1]==="0"&&(e.minFractionDigits=i.length);}return e},stringify:gi.stringifyNumber};ns.float=gh;ns.floatExp=mh;ns.floatNaN=dh;});var ao=chunkPWMRAKYI_cjs.b(at=>{chunkPWMRAKYI_cjs.d();var oo=$e(),ot=t=>typeof t=="bigint"||Number.isInteger(t);function os(t,e,s,{intAsBigInt:i}){let r=t[0];if((r==="-"||r==="+")&&(e+=1),t=t.substring(e).replace(/_/g,""),i){switch(s){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`;break}let o=BigInt(t);return r==="-"?BigInt(-1)*o:o}let n=parseInt(t,s);return r==="-"?-1*n:n}function yi(t,e,s){let{value:i}=t;if(ot(i)){let r=i.toString(e);return i<0?"-"+s+r.substr(1):s+r}return oo.stringifyNumber(t)}var yh={identify:ot,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,e,s)=>os(t,2,2,s),stringify:t=>yi(t,2,"0b")},bh={identify:ot,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,e,s)=>os(t,1,8,s),stringify:t=>yi(t,8,"0")},wh={identify:ot,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,e,s)=>os(t,0,10,s),stringify:oo.stringifyNumber},Sh={identify:ot,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,e,s)=>os(t,2,16,s),stringify:t=>yi(t,16,"0x")};at.int=wh;at.intBin=yh;at.intHex=Sh;at.intOct=bh;});var wi=chunkPWMRAKYI_cjs.b(bi=>{chunkPWMRAKYI_cjs.d();var cs=T(),as=ue(),ls=pe(),Le=class t extends ls.YAMLMap{constructor(e){super(e),this.tag=t.tag;}add(e){let s;cs.isPair(e)?s=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?s=new as.Pair(e.key,null):s=new as.Pair(e,null),ls.findPair(this.items,s.key)||this.items.push(s);}get(e,s){let i=ls.findPair(this.items,e);return !s&&cs.isPair(i)?cs.isScalar(i.key)?i.key.value:i.key:i}set(e,s){if(typeof s!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof s}`);let i=ls.findPair(this.items,e);i&&!s?this.items.splice(this.items.indexOf(i),1):!i&&s&&this.items.push(new as.Pair(e));}toJSON(e,s){return super.toJSON(e,s,Set)}toString(e,s,i){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),s,i);throw new Error("Set items must all have null values")}static from(e,s,i){let{replacer:r}=i,n=new this(e);if(s&&Symbol.iterator in Object(s))for(let o of s)typeof r=="function"&&(o=r.call(s,o,o)),n.items.push(as.createPair(o,null,i));return n}};Le.tag="tag:yaml.org,2002:set";var vh={collection:"map",identify:t=>t instanceof Set,nodeClass:Le,default:!1,tag:"tag:yaml.org,2002:set",createNode:(t,e,s)=>Le.from(t,e,s),resolve(t,e){if(cs.isMap(t)){if(t.hasAllNullValues(!0))return Object.assign(new Le,t);e("Set items must all have null values");}else e("Expected a mapping for this tag");return t}};bi.YAMLSet=Le;bi.set=vh;});var vi=chunkPWMRAKYI_cjs.b(fs=>{chunkPWMRAKYI_cjs.d();var Lh=$e();function Si(t,e){let s=t[0],i=s==="-"||s==="+"?t.substring(1):t,r=o=>e?BigInt(o):Number(o),n=i.replace(/_/g,"").split(":").reduce((o,a)=>o*r(60)+r(a),r(0));return s==="-"?r(-1)*n:n}function lo(t){let{value:e}=t,s=o=>o;if(typeof e=="bigint")s=o=>BigInt(o);else if(isNaN(e)||!isFinite(e))return Lh.stringifyNumber(t);let i="";e<0&&(i="-",e*=s(-1));let r=s(60),n=[e%r];return e<60?n.unshift(0):(e=(e-n[0])/r,n.unshift(e%r),e>=60&&(e=(e-n[0])/r,n.unshift(e))),i+n.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}var Eh={identify:t=>typeof t=="bigint"||Number.isInteger(t),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,e,{intAsBigInt:s})=>Si(t,s),stringify:lo},Ah={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>Si(t,!1),stringify:lo},co={identify:t=>t 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(t){let e=t.match(co.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,s,i,r,n,o,a]=e.map(Number),l=e[7]?Number((e[7]+"00").substr(1,3)):0,c=Date.UTC(s,i-1,r,n||0,o||0,a||0,l),d=e[8];if(d&&d!=="Z"){let u=Si(d,!1);Math.abs(u)<30&&(u*=60),c-=6e4*u;}return new Date(c)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};fs.floatTime=Ah;fs.intTime=Eh;fs.timestamp=co;});var ho=chunkPWMRAKYI_cjs.b(uo=>{chunkPWMRAKYI_cjs.d();var Nh=Te(),Ch=Xt(),Oh=De(),Ph=rt(),Ih=fi(),fo=ro(),Li=no(),us=ao(),kh=di(),Th=rs(),Dh=wi(),Ei=vi(),$h=[Nh.map,Oh.seq,Ph.string,Ch.nullTag,fo.trueTag,fo.falseTag,us.intBin,us.intOct,us.int,us.intHex,Li.floatNaN,Li.floatExp,Li.float,Ih.binary,kh.omap,Th.pairs,Dh.set,Ei.intTime,Ei.floatTime,Ei.timestamp];uo.schema=$h;});var Eo=chunkPWMRAKYI_cjs.b(Ci=>{chunkPWMRAKYI_cjs.d();var yo=Te(),Rh=Xt(),bo=De(),Fh=rt(),_h=si(),Ai=ri(),Ni=oi(),qh=Wn(),Mh=zn(),wo=fi(),So=di(),vo=rs(),po=ho(),Lo=wi(),hs=vi(),mo=new Map([["core",qh.schema],["failsafe",[yo.map,bo.seq,Fh.string]],["json",Mh.schema],["yaml11",po.schema],["yaml-1.1",po.schema]]),go={binary:wo.binary,bool:_h.boolTag,float:Ai.float,floatExp:Ai.floatExp,floatNaN:Ai.floatNaN,floatTime:hs.floatTime,int:Ni.int,intHex:Ni.intHex,intOct:Ni.intOct,intTime:hs.intTime,map:yo.map,null:Rh.nullTag,omap:So.omap,pairs:vo.pairs,seq:bo.seq,set:Lo.set,timestamp:hs.timestamp},xh={"tag:yaml.org,2002:binary":wo.binary,"tag:yaml.org,2002:omap":So.omap,"tag:yaml.org,2002:pairs":vo.pairs,"tag:yaml.org,2002:set":Lo.set,"tag:yaml.org,2002:timestamp":hs.timestamp};function Bh(t,e){let s=mo.get(e);if(!s)if(Array.isArray(t))s=[];else {let i=Array.from(mo.keys()).filter(r=>r!=="yaml11").map(r=>JSON.stringify(r)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${i} or define customTags array`)}if(Array.isArray(t))for(let i of t)s=s.concat(i);else typeof t=="function"&&(s=t(s.slice()));return s.map(i=>{if(typeof i!="string")return i;let r=go[i];if(r)return r;let n=Object.keys(go).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown custom tag "${i}"; use one of ${n}`)})}Ci.coreKnownTags=xh;Ci.getTags=Bh;});var Ii=chunkPWMRAKYI_cjs.b(Ao=>{chunkPWMRAKYI_cjs.d();var Oi=T(),Uh=Te(),Gh=De(),jh=rt(),ps=Eo(),Yh=(t,e)=>t.key<e.key?-1:t.key>e.key?1:0,Pi=class t{constructor({compat:e,customTags:s,merge:i,resolveKnownTags:r,schema:n,sortMapEntries:o,toStringDefaults:a}){this.compat=Array.isArray(e)?ps.getTags(e,"compat"):e?ps.getTags(null,e):null,this.merge=!!i,this.name=typeof n=="string"&&n||"core",this.knownTags=r?ps.coreKnownTags:{},this.tags=ps.getTags(s,this.name),this.toStringOptions=a??null,Object.defineProperty(this,Oi.MAP,{value:Uh.map}),Object.defineProperty(this,Oi.SCALAR,{value:jh.string}),Object.defineProperty(this,Oi.SEQ,{value:Gh.seq}),this.sortMapEntries=typeof o=="function"?o:o===!0?Yh:null;}clone(){let e=Object.create(t.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}};Ao.Schema=Pi;});var Co=chunkPWMRAKYI_cjs.b(No=>{chunkPWMRAKYI_cjs.d();var Wh=T(),ki=tt(),lt=Xe();function Kh(t,e){let s=[],i=e.directives===!0;if(e.directives!==!1&&t.directives){let l=t.directives.toString(t);l?(s.push(l),i=!0):t.directives.docStart&&(i=!0);}i&&s.push("---");let r=ki.createStringifyContext(t,e),{commentString:n}=r.options;if(t.commentBefore){s.length!==1&&s.unshift("");let l=n(t.commentBefore);s.unshift(lt.indentComment(l,""));}let o=!1,a=null;if(t.contents){if(Wh.isNode(t.contents)){if(t.contents.spaceBefore&&i&&s.push(""),t.contents.commentBefore){let d=n(t.contents.commentBefore);s.push(lt.indentComment(d,""));}r.forceBlockIndent=!!t.comment,a=t.contents.comment;}let l=a?void 0:()=>o=!0,c=ki.stringify(t.contents,r,()=>a=null,l);a&&(c+=lt.lineComment(c,"",n(a))),(c[0]==="|"||c[0]===">")&&s[s.length-1]==="---"?s[s.length-1]=`--- ${c}`:s.push(c);}else s.push(ki.stringify(t.contents,r));if(t.directives?.docEnd)if(t.comment){let l=n(t.comment);l.includes(`
65
+ `)?(s.push("..."),s.push(lt.indentComment(l,""))):s.push(`... ${l}`);}else s.push("...");else {let l=t.comment;l&&o&&(l=l.replace(/^\n+/,"")),l&&((!o||a)&&s[s.length-1]!==""&&s.push(""),s.push(lt.indentComment(n(l),"")));}return s.join(`
67
66
  `)+`
68
- `}To.stringifyDocument=sp;});var pt=chunkPWMRAKYI_cjs.b($o=>{chunkPWMRAKYI_cjs.d();var ip=Ze(),qe=Gt(),K=T(),rp=ue(),np=oe(),op=$i(),ap=Do(),Fi=_t(),lp=Bs(),cp=et(),_i=xs(),Mi=class t{constructor(e,s,i){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,K.NODE_TYPE,{value:K.DOC});let r=null;typeof s=="function"||Array.isArray(s)?r=s:i===void 0&&s&&(i=s,s=void 0);let n=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},i);this.options=n;let{version:o}=n;i?._directives?(this.directives=i._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new _i.Directives({version:o}),this.setSchema(o,i),this.contents=e===void 0?null:this.createNode(e,r,i);}clone(){let e=Object.create(t.prototype,{[K.NODE_TYPE]:{value:K.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=K.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){xe(this.contents)&&this.contents.add(e);}addIn(e,s){xe(this.contents)&&this.contents.addIn(e,s);}createAlias(e,s){if(!e.anchor){let i=Fi.anchorNames(this);e.anchor=!s||i.has(s)?Fi.findNewAnchor(s||"a",i):s;}return new ip.Alias(e.anchor)}createNode(e,s,i){let r;if(typeof s=="function")e=s.call({"":e},"",e),r=s;else if(Array.isArray(s)){let m=L=>typeof L=="number"||L instanceof String||L instanceof Number,S=s.filter(m).map(String);S.length>0&&(s=s.concat(S)),r=s;}else i===void 0&&s&&(i=s,s=void 0);let{aliasDuplicateObjects:n,anchorPrefix:o,flow:a,keepUndefined:l,onTagObj:c,tag:d}=i??{},{onAnchor:u,setAnchors:p,sourceObjects:g}=Fi.createNodeAnchors(this,o||"a"),y={aliasDuplicateObjects:n??!0,keepUndefined:l??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:g},h=cp.createNode(e,d,y);return a&&K.isCollection(h)&&(h.flow=!0),p(),h}createPair(e,s,i={}){let r=this.createNode(e,null,i),n=this.createNode(s,null,i);return new rp.Pair(r,n)}delete(e){return xe(this.contents)?this.contents.delete(e):!1}deleteIn(e){return qe.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):xe(this.contents)?this.contents.deleteIn(e):!1}get(e,s){return K.isCollection(this.contents)?this.contents.get(e,s):void 0}getIn(e,s){return qe.isEmptyPath(e)?!s&&K.isScalar(this.contents)?this.contents.value:this.contents:K.isCollection(this.contents)?this.contents.getIn(e,s):void 0}has(e){return K.isCollection(this.contents)?this.contents.has(e):!1}hasIn(e){return qe.isEmptyPath(e)?this.contents!==void 0:K.isCollection(this.contents)?this.contents.hasIn(e):!1}set(e,s){this.contents==null?this.contents=qe.collectionFromPath(this.schema,[e],s):xe(this.contents)&&this.contents.set(e,s);}setIn(e,s){qe.isEmptyPath(e)?this.contents=s:this.contents==null?this.contents=qe.collectionFromPath(this.schema,Array.from(e),s):xe(this.contents)&&this.contents.setIn(e,s);}setSchema(e,s={}){typeof e=="number"&&(e=String(e));let i;switch(e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new _i.Directives({version:"1.1"}),i={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new _i.Directives({version:e}),i={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,i=null;break;default:{let r=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${r}`)}}if(s.schema instanceof Object)this.schema=s.schema;else if(i)this.schema=new op.Schema(Object.assign(i,s));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:s,mapAsMap:i,maxAliasCount:r,onAnchor:n,reviver:o}={}){let a={anchors:new Map,doc:this,keep:!e,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},l=np.toJS(this.contents,s??"",a);if(typeof n=="function")for(let{count:c,res:d}of a.anchors.values())n(d,c);return typeof o=="function"?lp.applyReviver(o,{"":l},"",l):l}toJSON(e,s){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:s})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let s=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${s}`)}return ap.stringifyDocument(this,e)}};function xe(t){if(K.isCollection(t))return !0;throw new Error("Expected a YAML collection as document contents")}$o.Document=Mi;});var gt=chunkPWMRAKYI_cjs.b(mt=>{chunkPWMRAKYI_cjs.d();var dt=class extends Error{constructor(e,s,i,r){super(),this.name=e,this.code=i,this.message=r,this.pos=s;}},qi=class extends dt{constructor(e,s,i){super("YAMLParseError",e,s,i);}},xi=class extends dt{constructor(e,s,i){super("YAMLWarning",e,s,i);}},fp=(t,e)=>s=>{if(s.pos[0]===-1)return;s.linePos=s.pos.map(a=>e.linePos(a));let{line:i,col:r}=s.linePos[0];s.message+=` at line ${i}, column ${r}`;let n=r-1,o=t.substring(e.lineStarts[i-1],e.lineStarts[i]).replace(/[\n\r]+$/,"");if(n>=60&&o.length>80){let a=Math.min(n-39,o.length-79);o="\u2026"+o.substring(a),n-=a-1;}if(o.length>80&&(o=o.substring(0,79)+"\u2026"),i>1&&/^ *$/.test(o.substring(0,n))){let a=t.substring(e.lineStarts[i-2],e.lineStarts[i-1]);a.length>80&&(a=a.substring(0,79)+`\u2026
67
+ `}No.stringifyDocument=Kh;});var ct=chunkPWMRAKYI_cjs.b(Oo=>{chunkPWMRAKYI_cjs.d();var Jh=He(),Re=Mt(),K=T(),zh=ue(),Hh=oe(),Vh=Ii(),Xh=Co(),Ti=Dt(),Qh=_s(),Zh=Ve(),Di=Fs(),$i=class t{constructor(e,s,i){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,K.NODE_TYPE,{value:K.DOC});let r=null;typeof s=="function"||Array.isArray(s)?r=s:i===void 0&&s&&(i=s,s=void 0);let n=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},i);this.options=n;let{version:o}=n;i?._directives?(this.directives=i._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Di.Directives({version:o}),this.setSchema(o,i),this.contents=e===void 0?null:this.createNode(e,r,i);}clone(){let e=Object.create(t.prototype,{[K.NODE_TYPE]:{value:K.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=K.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Fe(this.contents)&&this.contents.add(e);}addIn(e,s){Fe(this.contents)&&this.contents.addIn(e,s);}createAlias(e,s){if(!e.anchor){let i=Ti.anchorNames(this);e.anchor=!s||i.has(s)?Ti.findNewAnchor(s||"a",i):s;}return new Jh.Alias(e.anchor)}createNode(e,s,i){let r;if(typeof s=="function")e=s.call({"":e},"",e),r=s;else if(Array.isArray(s)){let m=L=>typeof L=="number"||L instanceof String||L instanceof Number,S=s.filter(m).map(String);S.length>0&&(s=s.concat(S)),r=s;}else i===void 0&&s&&(i=s,s=void 0);let{aliasDuplicateObjects:n,anchorPrefix:o,flow:a,keepUndefined:l,onTagObj:c,tag:d}=i??{},{onAnchor:u,setAnchors:p,sourceObjects:g}=Ti.createNodeAnchors(this,o||"a"),y={aliasDuplicateObjects:n??!0,keepUndefined:l??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:g},h=Zh.createNode(e,d,y);return a&&K.isCollection(h)&&(h.flow=!0),p(),h}createPair(e,s,i={}){let r=this.createNode(e,null,i),n=this.createNode(s,null,i);return new zh.Pair(r,n)}delete(e){return Fe(this.contents)?this.contents.delete(e):!1}deleteIn(e){return Re.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):Fe(this.contents)?this.contents.deleteIn(e):!1}get(e,s){return K.isCollection(this.contents)?this.contents.get(e,s):void 0}getIn(e,s){return Re.isEmptyPath(e)?!s&&K.isScalar(this.contents)?this.contents.value:this.contents:K.isCollection(this.contents)?this.contents.getIn(e,s):void 0}has(e){return K.isCollection(this.contents)?this.contents.has(e):!1}hasIn(e){return Re.isEmptyPath(e)?this.contents!==void 0:K.isCollection(this.contents)?this.contents.hasIn(e):!1}set(e,s){this.contents==null?this.contents=Re.collectionFromPath(this.schema,[e],s):Fe(this.contents)&&this.contents.set(e,s);}setIn(e,s){Re.isEmptyPath(e)?this.contents=s:this.contents==null?this.contents=Re.collectionFromPath(this.schema,Array.from(e),s):Fe(this.contents)&&this.contents.setIn(e,s);}setSchema(e,s={}){typeof e=="number"&&(e=String(e));let i;switch(e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Di.Directives({version:"1.1"}),i={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Di.Directives({version:e}),i={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,i=null;break;default:{let r=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${r}`)}}if(s.schema instanceof Object)this.schema=s.schema;else if(i)this.schema=new Vh.Schema(Object.assign(i,s));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:s,mapAsMap:i,maxAliasCount:r,onAnchor:n,reviver:o}={}){let a={anchors:new Map,doc:this,keep:!e,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},l=Hh.toJS(this.contents,s??"",a);if(typeof n=="function")for(let{count:c,res:d}of a.anchors.values())n(d,c);return typeof o=="function"?Qh.applyReviver(o,{"":l},"",l):l}toJSON(e,s){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:s})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let s=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${s}`)}return Xh.stringifyDocument(this,e)}};function Fe(t){if(K.isCollection(t))return !0;throw new Error("Expected a YAML collection as document contents")}Oo.Document=$i;});var ht=chunkPWMRAKYI_cjs.b(ut=>{chunkPWMRAKYI_cjs.d();var ft=class extends Error{constructor(e,s,i,r){super(),this.name=e,this.code=i,this.message=r,this.pos=s;}},Ri=class extends ft{constructor(e,s,i){super("YAMLParseError",e,s,i);}},Fi=class extends ft{constructor(e,s,i){super("YAMLWarning",e,s,i);}},ep=(t,e)=>s=>{if(s.pos[0]===-1)return;s.linePos=s.pos.map(a=>e.linePos(a));let{line:i,col:r}=s.linePos[0];s.message+=` at line ${i}, column ${r}`;let n=r-1,o=t.substring(e.lineStarts[i-1],e.lineStarts[i]).replace(/[\n\r]+$/,"");if(n>=60&&o.length>80){let a=Math.min(n-39,o.length-79);o="\u2026"+o.substring(a),n-=a-1;}if(o.length>80&&(o=o.substring(0,79)+"\u2026"),i>1&&/^ *$/.test(o.substring(0,n))){let a=t.substring(e.lineStarts[i-2],e.lineStarts[i-1]);a.length>80&&(a=a.substring(0,79)+`\u2026
69
68
  `),o=a+o;}if(/[^ ]/.test(o)){let a=1,l=s.linePos[1];l&&l.line===i&&l.col>r&&(a=Math.max(1,Math.min(l.col-r,80-n)));let c=" ".repeat(n)+"^".repeat(a);s.message+=`:
70
69
 
71
70
  ${o}
72
71
  ${c}
73
- `;}};mt.YAMLError=dt;mt.YAMLParseError=qi;mt.YAMLWarning=xi;mt.prettifyError=fp;});var yt=chunkPWMRAKYI_cjs.b(Ro=>{chunkPWMRAKYI_cjs.d();function up(t,{flow:e,indicator:s,next:i,offset:r,onError:n,startOnNewline:o}){let a=!1,l=o,c=o,d="",u="",p=!1,g=!1,y=!1,h=null,m=null,S=null,L=null,C=null;for(let v of t)switch(y&&(v.type!=="space"&&v.type!=="newline"&&v.type!=="comma"&&n(v.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),y=!1),v.type){case"space":!e&&l&&s!=="doc-start"&&v.source[0]===" "&&n(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||n(v,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let k=v.source.substring(1)||" ";d?d+=u+k:d=k,u="",l=!1;break}case"newline":l?d?d+=v.source:a=!0:u+=v.source,l=!0,p=!0,(h||m)&&(g=!0),c=!0;break;case"anchor":h&&n(v,"MULTIPLE_ANCHORS","A node can have at most one anchor"),v.source.endsWith(":")&&n(v.offset+v.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),h=v,C===null&&(C=v.offset),l=!1,c=!1,y=!0;break;case"tag":{m&&n(v,"MULTIPLE_TAGS","A node can have at most one tag"),m=v,C===null&&(C=v.offset),l=!1,c=!1,y=!0;break}case s:(h||m)&&n(v,"BAD_PROP_ORDER",`Anchors and tags must be after the ${v.source} indicator`),L&&n(v,"UNEXPECTED_TOKEN",`Unexpected ${v.source} in ${e??"collection"}`),L=v,l=!1,c=!1;break;case"comma":if(e){S&&n(v,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),S=v,l=!1,c=!1;break}default:n(v,"UNEXPECTED_TOKEN",`Unexpected ${v.type} token`),l=!1,c=!1;}let N=t[t.length-1],O=N?N.offset+N.source.length:r;return y&&i&&i.type!=="space"&&i.type!=="newline"&&i.type!=="comma"&&(i.type!=="scalar"||i.source!=="")&&n(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:S,found:L,spaceBefore:a,comment:d,hasNewline:p,hasNewlineAfterProp:g,anchor:h,tag:m,end:O,start:C??O}}Ro.resolveProps=up;});var bs=chunkPWMRAKYI_cjs.b(Fo=>{chunkPWMRAKYI_cjs.d();function Bi(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes(`
74
- `))return !0;if(t.end){for(let e of t.end)if(e.type==="newline")return !0}return !1;case"flow-collection":for(let e of t.items){for(let s of e.start)if(s.type==="newline")return !0;if(e.sep){for(let s of e.sep)if(s.type==="newline")return !0}if(Bi(e.key)||Bi(e.value))return !0}return !1;default:return !0}}Fo.containsNewline=Bi;});var Ui=chunkPWMRAKYI_cjs.b(_o=>{chunkPWMRAKYI_cjs.d();var hp=bs();function pp(t,e,s){if(e?.type==="flow-collection"){let i=e.end[0];i.indent===t&&(i.source==="]"||i.source==="}")&&hp.containsNewline(e)&&s(i,"BAD_INDENT","Flow end indicator should be more indented than parent",!0);}}_o.flowIndentCheck=pp;});var Gi=chunkPWMRAKYI_cjs.b(qo=>{chunkPWMRAKYI_cjs.d();var Mo=T();function dp(t,e,s){let{uniqueKeys:i}=t.options;if(i===!1)return !1;let r=typeof i=="function"?i:(n,o)=>n===o||Mo.isScalar(n)&&Mo.isScalar(o)&&n.value===o.value&&!(n.value==="<<"&&t.schema.merge);return e.some(n=>r(n.key,s))}qo.mapIncludes=dp;});var Yo=chunkPWMRAKYI_cjs.b(jo=>{chunkPWMRAKYI_cjs.d();var xo=ue(),mp=pe(),Bo=yt(),gp=bs(),Uo=Ui(),yp=Gi(),Go="All mapping items must start at the same column";function bp({composeNode:t,composeEmptyNode:e},s,i,r,n){let o=n?.nodeClass??mp.YAMLMap,a=new o(s.schema);s.atRoot&&(s.atRoot=!1);let l=i.offset,c=null;for(let d of i.items){let{start:u,key:p,sep:g,value:y}=d,h=Bo.resolveProps(u,{indicator:"explicit-key-ind",next:p??g?.[0],offset:l,onError:r,startOnNewline:!0}),m=!h.found;if(m){if(p&&(p.type==="block-seq"?r(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in p&&p.indent!==i.indent&&r(l,"BAD_INDENT",Go)),!h.anchor&&!h.tag&&!g){c=h.end,h.comment&&(a.comment?a.comment+=`
75
- `+h.comment:a.comment=h.comment);continue}(h.hasNewlineAfterProp||gp.containsNewline(p))&&r(p??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line");}else h.found?.indent!==i.indent&&r(l,"BAD_INDENT",Go);let S=h.end,L=p?t(s,p,h,r):e(s,S,u,null,h,r);s.schema.compat&&Uo.flowIndentCheck(i.indent,p,r),yp.mapIncludes(s,a.items,L)&&r(S,"DUPLICATE_KEY","Map keys must be unique");let C=Bo.resolveProps(g??[],{indicator:"map-value-ind",next:y,offset:L.range[2],onError:r,startOnNewline:!p||p.type==="block-scalar"});if(l=C.end,C.found){m&&(y?.type==="block-map"&&!C.hasNewline&&r(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),s.options.strict&&h.start<C.found.offset-1024&&r(L.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let N=y?t(s,y,C,r):e(s,l,g,null,C,r);s.schema.compat&&Uo.flowIndentCheck(i.indent,y,r),l=N.range[2];let O=new xo.Pair(L,N);s.options.keepSourceTokens&&(O.srcToken=d),a.items.push(O);}else {m&&r(L.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),C.comment&&(L.comment?L.comment+=`
76
- `+C.comment:L.comment=C.comment);let N=new xo.Pair(L);s.options.keepSourceTokens&&(N.srcToken=d),a.items.push(N);}}return c&&c<l&&r(c,"IMPOSSIBLE","Map comment with trailing content"),a.range=[i.offset,l,c??l],a}jo.resolveBlockMap=bp;});var Ko=chunkPWMRAKYI_cjs.b(Wo=>{chunkPWMRAKYI_cjs.d();var wp=de(),Sp=yt(),vp=Ui();function Lp({composeNode:t,composeEmptyNode:e},s,i,r,n){let o=n?.nodeClass??wp.YAMLSeq,a=new o(s.schema);s.atRoot&&(s.atRoot=!1);let l=i.offset,c=null;for(let{start:d,value:u}of i.items){let p=Sp.resolveProps(d,{indicator:"seq-item-ind",next:u,offset:l,onError:r,startOnNewline:!0});if(!p.found)if(p.anchor||p.tag||u)u&&u.type==="block-seq"?r(p.end,"BAD_INDENT","All sequence items must start at the same column"):r(l,"MISSING_CHAR","Sequence item without - indicator");else {c=p.end,p.comment&&(a.comment=p.comment);continue}let g=u?t(s,u,p,r):e(s,p.end,d,null,p,r);s.schema.compat&&vp.flowIndentCheck(i.indent,u,r),l=g.range[2],a.items.push(g);}return a.range=[i.offset,l,c??l],a}Wo.resolveBlockSeq=Lp;});var Be=chunkPWMRAKYI_cjs.b(Jo=>{chunkPWMRAKYI_cjs.d();function Ep(t,e,s,i){let r="";if(t){let n=!1,o="";for(let a of t){let{source:l,type:c}=a;switch(c){case"space":n=!0;break;case"comment":{s&&!n&&i(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let d=l.substring(1)||" ";r?r+=o+d:r=d,o="";break}case"newline":r&&(o+=l),n=!0;break;default:i(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`);}e+=l.length;}}return {comment:r,offset:e}}Jo.resolveEnd=Ep;});var Xo=chunkPWMRAKYI_cjs.b(Vo=>{chunkPWMRAKYI_cjs.d();var Ap=T(),Np=ue(),zo=pe(),Cp=de(),Op=Be(),Ho=yt(),Pp=bs(),kp=Gi(),ji="Block collections are not allowed within flow collections",Yi=t=>t&&(t.type==="block-map"||t.type==="block-seq");function Ip({composeNode:t,composeEmptyNode:e},s,i,r,n){let o=i.start.source==="{",a=o?"flow map":"flow sequence",l=n?.nodeClass??(o?zo.YAMLMap:Cp.YAMLSeq),c=new l(s.schema);c.flow=!0;let d=s.atRoot;d&&(s.atRoot=!1);let u=i.offset+i.start.source.length;for(let m=0;m<i.items.length;++m){let S=i.items[m],{start:L,key:C,sep:N,value:O}=S,v=Ho.resolveProps(L,{flow:a,indicator:"explicit-key-ind",next:C??N?.[0],offset:u,onError:r,startOnNewline:!1});if(!v.found){if(!v.anchor&&!v.tag&&!N&&!O){m===0&&v.comma?r(v.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):m<i.items.length-1&&r(v.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),v.comment&&(c.comment?c.comment+=`
77
- `+v.comment:c.comment=v.comment),u=v.end;continue}!o&&s.options.strict&&Pp.containsNewline(C)&&r(C,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");}if(m===0)v.comma&&r(v.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(v.comma||r(v.start,"MISSING_CHAR",`Missing , between ${a} items`),v.comment){let k="";e:for(let F of L)switch(F.type){case"comma":case"space":break;case"comment":k=F.source.substring(1);break e;default:break e}if(k){let F=c.items[c.items.length-1];Ap.isPair(F)&&(F=F.value??F.key),F.comment?F.comment+=`
78
- `+k:F.comment=k,v.comment=v.comment.substring(k.length+1);}}if(!o&&!N&&!v.found){let k=O?t(s,O,v,r):e(s,v.end,N,null,v,r);c.items.push(k),u=k.range[2],Yi(O)&&r(k.range,"BLOCK_IN_FLOW",ji);}else {let k=v.end,F=C?t(s,C,v,r):e(s,k,L,null,v,r);Yi(C)&&r(F.range,"BLOCK_IN_FLOW",ji);let q=Ho.resolveProps(N??[],{flow:a,indicator:"map-value-ind",next:O,offset:F.range[2],onError:r,startOnNewline:!1});if(q.found){if(!o&&!v.found&&s.options.strict){if(N)for(let B of N){if(B===q.found)break;if(B.type==="newline"){r(B,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}v.start<q.found.offset-1024&&r(q.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key");}}else O&&("source"in O&&O.source&&O.source[0]===":"?r(O,"MISSING_CHAR",`Missing space after : in ${a}`):r(q.start,"MISSING_CHAR",`Missing , or : between ${a} items`));let H=O?t(s,O,q,r):q.found?e(s,q.end,N,null,q,r):null;H?Yi(O)&&r(H.range,"BLOCK_IN_FLOW",ji):q.comment&&(F.comment?F.comment+=`
79
- `+q.comment:F.comment=q.comment);let ke=new Np.Pair(F,H);if(s.options.keepSourceTokens&&(ke.srcToken=S),o){let B=c;kp.mapIncludes(s,B.items,F)&&r(k,"DUPLICATE_KEY","Map keys must be unique"),B.items.push(ke);}else {let B=new zo.YAMLMap(s.schema);B.flow=!0,B.items.push(ke),c.items.push(B);}u=H?H.range[2]:q.end;}}let p=o?"}":"]",[g,...y]=i.end,h=u;if(g&&g.source===p)h=g.offset+g.source.length;else {let m=a[0].toUpperCase()+a.substring(1),S=d?`${m} must end with a ${p}`:`${m} in block collection must be sufficiently indented and end with a ${p}`;r(u,d?"MISSING_CHAR":"BAD_INDENT",S),g&&g.source.length!==1&&y.unshift(g);}if(y.length>0){let m=Op.resolveEnd(y,h,s.options.strict,r);m.comment&&(c.comment?c.comment+=`
80
- `+m.comment:c.comment=m.comment),c.range=[i.offset,h,m.offset];}else c.range=[i.offset,h,h];return c}Vo.resolveFlowCollection=Ip;});var Zo=chunkPWMRAKYI_cjs.b(Qo=>{chunkPWMRAKYI_cjs.d();var Tp=T(),Dp=_(),$p=pe(),Rp=de(),Fp=Yo(),_p=Ko(),Mp=Xo();function Wi(t,e,s,i,r,n){let o=s.type==="block-map"?Fp.resolveBlockMap(t,e,s,i,n):s.type==="block-seq"?_p.resolveBlockSeq(t,e,s,i,n):Mp.resolveFlowCollection(t,e,s,i,n),a=o.constructor;return r==="!"||r===a.tagName?(o.tag=a.tagName,o):(r&&(o.tag=r),o)}function qp(t,e,s,i,r){let n=i?e.directives.tagName(i.source,u=>r(i,"TAG_RESOLVE_FAILED",u)):null,o=s.type==="block-map"?"map":s.type==="block-seq"?"seq":s.start.source==="{"?"map":"seq";if(!i||!n||n==="!"||n===$p.YAMLMap.tagName&&o==="map"||n===Rp.YAMLSeq.tagName&&o==="seq"||!o)return Wi(t,e,s,r,n);let a=e.schema.tags.find(u=>u.tag===n&&u.collection===o);if(!a){let u=e.schema.knownTags[n];if(u&&u.collection===o)e.schema.tags.push(Object.assign({},u,{default:!1})),a=u;else return u?.collection?r(i,"BAD_COLLECTION_TYPE",`${u.tag} used for ${o} collection, but expects ${u.collection}`,!0):r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,!0),Wi(t,e,s,r,n)}let l=Wi(t,e,s,r,n,a),c=a.resolve?.(l,u=>r(i,"TAG_RESOLVE_FAILED",u),e.options)??l,d=Tp.isNode(c)?c:new Dp.Scalar(c);return d.range=l.range,d.tag=n,a?.format&&(d.format=a.format),d}Qo.composeCollection=qp;});var Ji=chunkPWMRAKYI_cjs.b(ea=>{chunkPWMRAKYI_cjs.d();var Ki=_();function xp(t,e,s){let i=t.offset,r=Bp(t,e,s);if(!r)return {value:"",type:null,comment:"",range:[i,i,i]};let n=r.mode===">"?Ki.Scalar.BLOCK_FOLDED:Ki.Scalar.BLOCK_LITERAL,o=t.source?Up(t.source):[],a=o.length;for(let h=o.length-1;h>=0;--h){let m=o[h][1];if(m===""||m==="\r")a=h;else break}if(a===0){let h=r.chomp==="+"&&o.length>0?`
72
+ `;}};ut.YAMLError=ft;ut.YAMLParseError=Ri;ut.YAMLWarning=Fi;ut.prettifyError=ep;});var pt=chunkPWMRAKYI_cjs.b(Po=>{chunkPWMRAKYI_cjs.d();function tp(t,{flow:e,indicator:s,next:i,offset:r,onError:n,startOnNewline:o}){let a=!1,l=o,c=o,d="",u="",p=!1,g=!1,y=!1,h=null,m=null,S=null,L=null,C=null;for(let v of t)switch(y&&(v.type!=="space"&&v.type!=="newline"&&v.type!=="comma"&&n(v.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),y=!1),v.type){case"space":!e&&l&&s!=="doc-start"&&v.source[0]===" "&&n(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||n(v,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let I=v.source.substring(1)||" ";d?d+=u+I:d=I,u="",l=!1;break}case"newline":l?d?d+=v.source:a=!0:u+=v.source,l=!0,p=!0,(h||m)&&(g=!0),c=!0;break;case"anchor":h&&n(v,"MULTIPLE_ANCHORS","A node can have at most one anchor"),v.source.endsWith(":")&&n(v.offset+v.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),h=v,C===null&&(C=v.offset),l=!1,c=!1,y=!0;break;case"tag":{m&&n(v,"MULTIPLE_TAGS","A node can have at most one tag"),m=v,C===null&&(C=v.offset),l=!1,c=!1,y=!0;break}case s:(h||m)&&n(v,"BAD_PROP_ORDER",`Anchors and tags must be after the ${v.source} indicator`),L&&n(v,"UNEXPECTED_TOKEN",`Unexpected ${v.source} in ${e??"collection"}`),L=v,l=!1,c=!1;break;case"comma":if(e){S&&n(v,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),S=v,l=!1,c=!1;break}default:n(v,"UNEXPECTED_TOKEN",`Unexpected ${v.type} token`),l=!1,c=!1;}let N=t[t.length-1],O=N?N.offset+N.source.length:r;return y&&i&&i.type!=="space"&&i.type!=="newline"&&i.type!=="comma"&&(i.type!=="scalar"||i.source!=="")&&n(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:S,found:L,spaceBefore:a,comment:d,hasNewline:p,hasNewlineAfterProp:g,anchor:h,tag:m,end:O,start:C??O}}Po.resolveProps=tp;});var ds=chunkPWMRAKYI_cjs.b(Io=>{chunkPWMRAKYI_cjs.d();function _i(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes(`
73
+ `))return !0;if(t.end){for(let e of t.end)if(e.type==="newline")return !0}return !1;case"flow-collection":for(let e of t.items){for(let s of e.start)if(s.type==="newline")return !0;if(e.sep){for(let s of e.sep)if(s.type==="newline")return !0}if(_i(e.key)||_i(e.value))return !0}return !1;default:return !0}}Io.containsNewline=_i;});var qi=chunkPWMRAKYI_cjs.b(ko=>{chunkPWMRAKYI_cjs.d();var sp=ds();function ip(t,e,s){if(e?.type==="flow-collection"){let i=e.end[0];i.indent===t&&(i.source==="]"||i.source==="}")&&sp.containsNewline(e)&&s(i,"BAD_INDENT","Flow end indicator should be more indented than parent",!0);}}ko.flowIndentCheck=ip;});var Mi=chunkPWMRAKYI_cjs.b(Do=>{chunkPWMRAKYI_cjs.d();var To=T();function rp(t,e,s){let{uniqueKeys:i}=t.options;if(i===!1)return !1;let r=typeof i=="function"?i:(n,o)=>n===o||To.isScalar(n)&&To.isScalar(o)&&n.value===o.value&&!(n.value==="<<"&&t.schema.merge);return e.some(n=>r(n.key,s))}Do.mapIncludes=rp;});var Mo=chunkPWMRAKYI_cjs.b(qo=>{chunkPWMRAKYI_cjs.d();var $o=ue(),np=pe(),Ro=pt(),op=ds(),Fo=qi(),ap=Mi(),_o="All mapping items must start at the same column";function lp({composeNode:t,composeEmptyNode:e},s,i,r,n){let o=n?.nodeClass??np.YAMLMap,a=new o(s.schema);s.atRoot&&(s.atRoot=!1);let l=i.offset,c=null;for(let d of i.items){let{start:u,key:p,sep:g,value:y}=d,h=Ro.resolveProps(u,{indicator:"explicit-key-ind",next:p??g?.[0],offset:l,onError:r,startOnNewline:!0}),m=!h.found;if(m){if(p&&(p.type==="block-seq"?r(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in p&&p.indent!==i.indent&&r(l,"BAD_INDENT",_o)),!h.anchor&&!h.tag&&!g){c=h.end,h.comment&&(a.comment?a.comment+=`
74
+ `+h.comment:a.comment=h.comment);continue}(h.hasNewlineAfterProp||op.containsNewline(p))&&r(p??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line");}else h.found?.indent!==i.indent&&r(l,"BAD_INDENT",_o);let S=h.end,L=p?t(s,p,h,r):e(s,S,u,null,h,r);s.schema.compat&&Fo.flowIndentCheck(i.indent,p,r),ap.mapIncludes(s,a.items,L)&&r(S,"DUPLICATE_KEY","Map keys must be unique");let C=Ro.resolveProps(g??[],{indicator:"map-value-ind",next:y,offset:L.range[2],onError:r,startOnNewline:!p||p.type==="block-scalar"});if(l=C.end,C.found){m&&(y?.type==="block-map"&&!C.hasNewline&&r(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),s.options.strict&&h.start<C.found.offset-1024&&r(L.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let N=y?t(s,y,C,r):e(s,l,g,null,C,r);s.schema.compat&&Fo.flowIndentCheck(i.indent,y,r),l=N.range[2];let O=new $o.Pair(L,N);s.options.keepSourceTokens&&(O.srcToken=d),a.items.push(O);}else {m&&r(L.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),C.comment&&(L.comment?L.comment+=`
75
+ `+C.comment:L.comment=C.comment);let N=new $o.Pair(L);s.options.keepSourceTokens&&(N.srcToken=d),a.items.push(N);}}return c&&c<l&&r(c,"IMPOSSIBLE","Map comment with trailing content"),a.range=[i.offset,l,c??l],a}qo.resolveBlockMap=lp;});var Bo=chunkPWMRAKYI_cjs.b(xo=>{chunkPWMRAKYI_cjs.d();var cp=de(),fp=pt(),up=qi();function hp({composeNode:t,composeEmptyNode:e},s,i,r,n){let o=n?.nodeClass??cp.YAMLSeq,a=new o(s.schema);s.atRoot&&(s.atRoot=!1);let l=i.offset,c=null;for(let{start:d,value:u}of i.items){let p=fp.resolveProps(d,{indicator:"seq-item-ind",next:u,offset:l,onError:r,startOnNewline:!0});if(!p.found)if(p.anchor||p.tag||u)u&&u.type==="block-seq"?r(p.end,"BAD_INDENT","All sequence items must start at the same column"):r(l,"MISSING_CHAR","Sequence item without - indicator");else {c=p.end,p.comment&&(a.comment=p.comment);continue}let g=u?t(s,u,p,r):e(s,p.end,d,null,p,r);s.schema.compat&&up.flowIndentCheck(i.indent,u,r),l=g.range[2],a.items.push(g);}return a.range=[i.offset,l,c??l],a}xo.resolveBlockSeq=hp;});var _e=chunkPWMRAKYI_cjs.b(Uo=>{chunkPWMRAKYI_cjs.d();function pp(t,e,s,i){let r="";if(t){let n=!1,o="";for(let a of t){let{source:l,type:c}=a;switch(c){case"space":n=!0;break;case"comment":{s&&!n&&i(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let d=l.substring(1)||" ";r?r+=o+d:r=d,o="";break}case"newline":r&&(o+=l),n=!0;break;default:i(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`);}e+=l.length;}}return {comment:r,offset:e}}Uo.resolveEnd=pp;});var Wo=chunkPWMRAKYI_cjs.b(Yo=>{chunkPWMRAKYI_cjs.d();var dp=T(),mp=ue(),Go=pe(),gp=de(),yp=_e(),jo=pt(),bp=ds(),wp=Mi(),xi="Block collections are not allowed within flow collections",Bi=t=>t&&(t.type==="block-map"||t.type==="block-seq");function Sp({composeNode:t,composeEmptyNode:e},s,i,r,n){let o=i.start.source==="{",a=o?"flow map":"flow sequence",l=n?.nodeClass??(o?Go.YAMLMap:gp.YAMLSeq),c=new l(s.schema);c.flow=!0;let d=s.atRoot;d&&(s.atRoot=!1);let u=i.offset+i.start.source.length;for(let m=0;m<i.items.length;++m){let S=i.items[m],{start:L,key:C,sep:N,value:O}=S,v=jo.resolveProps(L,{flow:a,indicator:"explicit-key-ind",next:C??N?.[0],offset:u,onError:r,startOnNewline:!1});if(!v.found){if(!v.anchor&&!v.tag&&!N&&!O){m===0&&v.comma?r(v.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):m<i.items.length-1&&r(v.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),v.comment&&(c.comment?c.comment+=`
76
+ `+v.comment:c.comment=v.comment),u=v.end;continue}!o&&s.options.strict&&bp.containsNewline(C)&&r(C,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");}if(m===0)v.comma&&r(v.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(v.comma||r(v.start,"MISSING_CHAR",`Missing , between ${a} items`),v.comment){let I="";e:for(let $ of L)switch($.type){case"comma":case"space":break;case"comment":I=$.source.substring(1);break e;default:break e}if(I){let $=c.items[c.items.length-1];dp.isPair($)&&($=$.value??$.key),$.comment?$.comment+=`
77
+ `+I:$.comment=I,v.comment=v.comment.substring(I.length+1);}}if(!o&&!N&&!v.found){let I=O?t(s,O,v,r):e(s,v.end,N,null,v,r);c.items.push(I),u=I.range[2],Bi(O)&&r(I.range,"BLOCK_IN_FLOW",xi);}else {let I=v.end,$=C?t(s,C,v,r):e(s,I,L,null,v,r);Bi(C)&&r($.range,"BLOCK_IN_FLOW",xi);let _=jo.resolveProps(N??[],{flow:a,indicator:"map-value-ind",next:O,offset:$.range[2],onError:r,startOnNewline:!1});if(_.found){if(!o&&!v.found&&s.options.strict){if(N)for(let M of N){if(M===_.found)break;if(M.type==="newline"){r(M,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}v.start<_.found.offset-1024&&r(_.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key");}}else O&&("source"in O&&O.source&&O.source[0]===":"?r(O,"MISSING_CHAR",`Missing space after : in ${a}`):r(_.start,"MISSING_CHAR",`Missing , or : between ${a} items`));let H=O?t(s,O,_,r):_.found?e(s,_.end,N,null,_,r):null;H?Bi(O)&&r(H.range,"BLOCK_IN_FLOW",xi):_.comment&&($.comment?$.comment+=`
78
+ `+_.comment:$.comment=_.comment);let Ne=new mp.Pair($,H);if(s.options.keepSourceTokens&&(Ne.srcToken=S),o){let M=c;wp.mapIncludes(s,M.items,$)&&r(I,"DUPLICATE_KEY","Map keys must be unique"),M.items.push(Ne);}else {let M=new Go.YAMLMap(s.schema);M.flow=!0,M.items.push(Ne),c.items.push(M);}u=H?H.range[2]:_.end;}}let p=o?"}":"]",[g,...y]=i.end,h=u;if(g&&g.source===p)h=g.offset+g.source.length;else {let m=a[0].toUpperCase()+a.substring(1),S=d?`${m} must end with a ${p}`:`${m} in block collection must be sufficiently indented and end with a ${p}`;r(u,d?"MISSING_CHAR":"BAD_INDENT",S),g&&g.source.length!==1&&y.unshift(g);}if(y.length>0){let m=yp.resolveEnd(y,h,s.options.strict,r);m.comment&&(c.comment?c.comment+=`
79
+ `+m.comment:c.comment=m.comment),c.range=[i.offset,h,m.offset];}else c.range=[i.offset,h,h];return c}Yo.resolveFlowCollection=Sp;});var Jo=chunkPWMRAKYI_cjs.b(Ko=>{chunkPWMRAKYI_cjs.d();var vp=T(),Lp=R(),Ep=pe(),Ap=de(),Np=Mo(),Cp=Bo(),Op=Wo();function Ui(t,e,s,i,r,n){let o=s.type==="block-map"?Np.resolveBlockMap(t,e,s,i,n):s.type==="block-seq"?Cp.resolveBlockSeq(t,e,s,i,n):Op.resolveFlowCollection(t,e,s,i,n),a=o.constructor;return r==="!"||r===a.tagName?(o.tag=a.tagName,o):(r&&(o.tag=r),o)}function Pp(t,e,s,i,r){let n=i?e.directives.tagName(i.source,u=>r(i,"TAG_RESOLVE_FAILED",u)):null,o=s.type==="block-map"?"map":s.type==="block-seq"?"seq":s.start.source==="{"?"map":"seq";if(!i||!n||n==="!"||n===Ep.YAMLMap.tagName&&o==="map"||n===Ap.YAMLSeq.tagName&&o==="seq"||!o)return Ui(t,e,s,r,n);let a=e.schema.tags.find(u=>u.tag===n&&u.collection===o);if(!a){let u=e.schema.knownTags[n];if(u&&u.collection===o)e.schema.tags.push(Object.assign({},u,{default:!1})),a=u;else return u?.collection?r(i,"BAD_COLLECTION_TYPE",`${u.tag} used for ${o} collection, but expects ${u.collection}`,!0):r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,!0),Ui(t,e,s,r,n)}let l=Ui(t,e,s,r,n,a),c=a.resolve?.(l,u=>r(i,"TAG_RESOLVE_FAILED",u),e.options)??l,d=vp.isNode(c)?c:new Lp.Scalar(c);return d.range=l.range,d.tag=n,a?.format&&(d.format=a.format),d}Ko.composeCollection=Pp;});var ji=chunkPWMRAKYI_cjs.b(zo=>{chunkPWMRAKYI_cjs.d();var Gi=R();function Ip(t,e,s){let i=t.offset,r=kp(t,e,s);if(!r)return {value:"",type:null,comment:"",range:[i,i,i]};let n=r.mode===">"?Gi.Scalar.BLOCK_FOLDED:Gi.Scalar.BLOCK_LITERAL,o=t.source?Tp(t.source):[],a=o.length;for(let h=o.length-1;h>=0;--h){let m=o[h][1];if(m===""||m==="\r")a=h;else break}if(a===0){let h=r.chomp==="+"&&o.length>0?`
81
80
  `.repeat(Math.max(1,o.length-1)):"",m=i+r.length;return t.source&&(m+=t.source.length),{value:h,type:n,comment:r.comment,range:[i,m,m]}}let l=t.indent+r.indent,c=t.offset+r.length,d=0;for(let h=0;h<a;++h){let[m,S]=o[h];if(S===""||S==="\r")r.indent===0&&m.length>l&&(l=m.length);else {m.length<l&&s(c+m.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),r.indent===0&&(l=m.length),d=h;break}c+=m.length+S.length+1;}for(let h=o.length-1;h>=a;--h)o[h][0].length>l&&(a=h+1);let u="",p="",g=!1;for(let h=0;h<d;++h)u+=o[h][0].slice(l)+`
82
- `;for(let h=d;h<a;++h){let[m,S]=o[h];c+=m.length+S.length+1;let L=S[S.length-1]==="\r";if(L&&(S=S.slice(0,-1)),S&&m.length<l){let N=`Block scalar lines must not be less indented than their ${r.indent?"explicit indentation indicator":"first line"}`;s(c-S.length-(L?2:1),"BAD_INDENT",N),m="";}n===Ki.Scalar.BLOCK_LITERAL?(u+=p+m.slice(l)+S,p=`
81
+ `;for(let h=d;h<a;++h){let[m,S]=o[h];c+=m.length+S.length+1;let L=S[S.length-1]==="\r";if(L&&(S=S.slice(0,-1)),S&&m.length<l){let N=`Block scalar lines must not be less indented than their ${r.indent?"explicit indentation indicator":"first line"}`;s(c-S.length-(L?2:1),"BAD_INDENT",N),m="";}n===Gi.Scalar.BLOCK_LITERAL?(u+=p+m.slice(l)+S,p=`
83
82
  `):m.length>l||S[0]===" "?(p===" "?p=`
84
83
  `:!g&&p===`
85
84
  `&&(p=`
@@ -92,79 +91,79 @@ ${c}
92
91
  `+o[h][0].slice(l);u[u.length-1]!==`
93
92
  `&&(u+=`
94
93
  `);break;default:u+=`
95
- `;}let y=i+r.length+t.source.length;return {value:u,type:n,comment:r.comment,range:[i,y,y]}}function Bp({offset:t,props:e},s,i){if(e[0].type!=="block-scalar-header")return i(e[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:r}=e[0],n=r[0],o=0,a="",l=-1;for(let p=1;p<r.length;++p){let g=r[p];if(!a&&(g==="-"||g==="+"))a=g;else {let y=Number(g);!o&&y?o=y:l===-1&&(l=t+p);}}l!==-1&&i(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${r}`);let c=!1,d="",u=r.length;for(let p=1;p<e.length;++p){let g=e[p];switch(g.type){case"space":c=!0;case"newline":u+=g.source.length;break;case"comment":s&&!c&&i(g,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),u+=g.source.length,d=g.source.substring(1);break;case"error":i(g,"UNEXPECTED_TOKEN",g.message),u+=g.source.length;break;default:{let y=`Unexpected token in block scalar header: ${g.type}`;i(g,"UNEXPECTED_TOKEN",y);let h=g.source;h&&typeof h=="string"&&(u+=h.length);}}}return {mode:n,indent:o,chomp:a,comment:d,length:u}}function Up(t){let e=t.split(/\n( *)/),s=e[0],i=s.match(/^( *)/),n=[i?.[1]?[i[1],s.slice(i[1].length)]:["",s]];for(let o=1;o<e.length;o+=2)n.push([e[o],e[o+1]]);return n}ea.resolveBlockScalar=xp;});var Hi=chunkPWMRAKYI_cjs.b(sa=>{chunkPWMRAKYI_cjs.d();var zi=_(),Gp=Be();function jp(t,e,s){let{offset:i,type:r,source:n,end:o}=t,a,l,c=(p,g,y)=>s(i+p,g,y);switch(r){case"scalar":a=zi.Scalar.PLAIN,l=Yp(n,c);break;case"single-quoted-scalar":a=zi.Scalar.QUOTE_SINGLE,l=Wp(n,c);break;case"double-quoted-scalar":a=zi.Scalar.QUOTE_DOUBLE,l=Kp(n,c);break;default:return s(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${r}`),{value:"",type:null,comment:"",range:[i,i+n.length,i+n.length]}}let d=i+n.length,u=Gp.resolveEnd(o,d,e,s);return {value:l,type:a,comment:u.comment,range:[i,d,u.offset]}}function Yp(t,e){let s="";switch(t[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 ${t[0]}`;break}case"@":case"`":{s=`reserved character ${t[0]}`;break}}return s&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${s}`),ta(t)}function Wp(t,e){return (t[t.length-1]!=="'"||t.length===1)&&e(t.length,"MISSING_CHAR","Missing closing 'quote"),ta(t.slice(1,-1)).replace(/''/g,"'")}function ta(t){let e,s;try{e=new RegExp(`(.*?)(?<![ ])[ ]*\r?
94
+ `;}let y=i+r.length+t.source.length;return {value:u,type:n,comment:r.comment,range:[i,y,y]}}function kp({offset:t,props:e},s,i){if(e[0].type!=="block-scalar-header")return i(e[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:r}=e[0],n=r[0],o=0,a="",l=-1;for(let p=1;p<r.length;++p){let g=r[p];if(!a&&(g==="-"||g==="+"))a=g;else {let y=Number(g);!o&&y?o=y:l===-1&&(l=t+p);}}l!==-1&&i(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${r}`);let c=!1,d="",u=r.length;for(let p=1;p<e.length;++p){let g=e[p];switch(g.type){case"space":c=!0;case"newline":u+=g.source.length;break;case"comment":s&&!c&&i(g,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),u+=g.source.length,d=g.source.substring(1);break;case"error":i(g,"UNEXPECTED_TOKEN",g.message),u+=g.source.length;break;default:{let y=`Unexpected token in block scalar header: ${g.type}`;i(g,"UNEXPECTED_TOKEN",y);let h=g.source;h&&typeof h=="string"&&(u+=h.length);}}}return {mode:n,indent:o,chomp:a,comment:d,length:u}}function Tp(t){let e=t.split(/\n( *)/),s=e[0],i=s.match(/^( *)/),n=[i?.[1]?[i[1],s.slice(i[1].length)]:["",s]];for(let o=1;o<e.length;o+=2)n.push([e[o],e[o+1]]);return n}zo.resolveBlockScalar=Ip;});var Wi=chunkPWMRAKYI_cjs.b(Vo=>{chunkPWMRAKYI_cjs.d();var Yi=R(),Dp=_e();function $p(t,e,s){let{offset:i,type:r,source:n,end:o}=t,a,l,c=(p,g,y)=>s(i+p,g,y);switch(r){case"scalar":a=Yi.Scalar.PLAIN,l=Rp(n,c);break;case"single-quoted-scalar":a=Yi.Scalar.QUOTE_SINGLE,l=Fp(n,c);break;case"double-quoted-scalar":a=Yi.Scalar.QUOTE_DOUBLE,l=_p(n,c);break;default:return s(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${r}`),{value:"",type:null,comment:"",range:[i,i+n.length,i+n.length]}}let d=i+n.length,u=Dp.resolveEnd(o,d,e,s);return {value:l,type:a,comment:u.comment,range:[i,d,u.offset]}}function Rp(t,e){let s="";switch(t[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 ${t[0]}`;break}case"@":case"`":{s=`reserved character ${t[0]}`;break}}return s&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${s}`),Ho(t)}function Fp(t,e){return (t[t.length-1]!=="'"||t.length===1)&&e(t.length,"MISSING_CHAR","Missing closing 'quote"),Ho(t.slice(1,-1)).replace(/''/g,"'")}function Ho(t){let e,s;try{e=new RegExp(`(.*?)(?<![ ])[ ]*\r?
96
95
  `,"sy"),s=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
97
96
  `,"sy");}catch{e=/(.*?)[ \t]*\r?\n/sy,s=/[ \t]*(.*?)[ \t]*\r?\n/sy;}let i=e.exec(t);if(!i)return t;let r=i[1],n=" ",o=e.lastIndex;for(s.lastIndex=o;i=s.exec(t);)i[1]===""?n===`
98
97
  `?r+=n:n=`
99
- `:(r+=n+i[1],n=" "),o=s.lastIndex;let a=/[ \t]*(.*)/sy;return a.lastIndex=o,i=a.exec(t),r+n+(i?.[1]??"")}function Kp(t,e){let s="";for(let i=1;i<t.length-1;++i){let r=t[i];if(!(r==="\r"&&t[i+1]===`
98
+ `:(r+=n+i[1],n=" "),o=s.lastIndex;let a=/[ \t]*(.*)/sy;return a.lastIndex=o,i=a.exec(t),r+n+(i?.[1]??"")}function _p(t,e){let s="";for(let i=1;i<t.length-1;++i){let r=t[i];if(!(r==="\r"&&t[i+1]===`
100
99
  `))if(r===`
101
- `){let{fold:n,offset:o}=Jp(t,i);s+=n,i=o;}else if(r==="\\"){let n=t[++i],o=zp[n];if(o)s+=o;else if(n===`
100
+ `){let{fold:n,offset:o}=qp(t,i);s+=n,i=o;}else if(r==="\\"){let n=t[++i],o=Mp[n];if(o)s+=o;else if(n===`
102
101
  `)for(n=t[i+1];n===" "||n===" ";)n=t[++i+1];else if(n==="\r"&&t[i+1]===`
103
- `)for(n=t[++i+1];n===" "||n===" ";)n=t[++i+1];else if(n==="x"||n==="u"||n==="U"){let a={x:2,u:4,U:8}[n];s+=Hp(t,i+1,a,e),i+=a;}else {let a=t.substr(i-1,2);e(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),s+=a;}}else if(r===" "||r===" "){let n=i,o=t[i+1];for(;o===" "||o===" ";)o=t[++i+1];o!==`
102
+ `)for(n=t[++i+1];n===" "||n===" ";)n=t[++i+1];else if(n==="x"||n==="u"||n==="U"){let a={x:2,u:4,U:8}[n];s+=xp(t,i+1,a,e),i+=a;}else {let a=t.substr(i-1,2);e(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),s+=a;}}else if(r===" "||r===" "){let n=i,o=t[i+1];for(;o===" "||o===" ";)o=t[++i+1];o!==`
104
103
  `&&!(o==="\r"&&t[i+2]===`
105
- `)&&(s+=i>n?t.slice(n,i+1):r);}else s+=r;}return (t[t.length-1]!=='"'||t.length===1)&&e(t.length,"MISSING_CHAR",'Missing closing "quote'),s}function Jp(t,e){let s="",i=t[e+1];for(;(i===" "||i===" "||i===`
104
+ `)&&(s+=i>n?t.slice(n,i+1):r);}else s+=r;}return (t[t.length-1]!=='"'||t.length===1)&&e(t.length,"MISSING_CHAR",'Missing closing "quote'),s}function qp(t,e){let s="",i=t[e+1];for(;(i===" "||i===" "||i===`
106
105
  `||i==="\r")&&!(i==="\r"&&t[e+2]!==`
107
106
  `);)i===`
108
107
  `&&(s+=`
109
- `),e+=1,i=t[e+1];return s||(s=" "),{fold:s,offset:e}}var zp={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
110
- `,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function Hp(t,e,s,i){let r=t.substr(e,s),o=r.length===s&&/^[0-9a-fA-F]+$/.test(r)?parseInt(r,16):NaN;if(isNaN(o)){let a=t.substr(e-2,s+2);return i(e-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(o)}sa.resolveFlowScalar=jp;});var na=chunkPWMRAKYI_cjs.b(ra=>{chunkPWMRAKYI_cjs.d();var Ue=T(),ia=_(),Vp=Ji(),Xp=Hi();function Qp(t,e,s,i){let{value:r,type:n,comment:o,range:a}=e.type==="block-scalar"?Vp.resolveBlockScalar(e,t.options.strict,i):Xp.resolveFlowScalar(e,t.options.strict,i),l=s?t.directives.tagName(s.source,u=>i(s,"TAG_RESOLVE_FAILED",u)):null,c=s&&l?Zp(t.schema,r,l,s,i):e.type==="scalar"?ed(t,r,e,i):t.schema[Ue.SCALAR],d;try{let u=c.resolve(r,p=>i(s??e,"TAG_RESOLVE_FAILED",p),t.options);d=Ue.isScalar(u)?u:new ia.Scalar(u);}catch(u){let p=u instanceof Error?u.message:String(u);i(s??e,"TAG_RESOLVE_FAILED",p),d=new ia.Scalar(r);}return d.range=a,d.source=r,n&&(d.type=n),l&&(d.tag=l),c.format&&(d.format=c.format),o&&(d.comment=o),d}function Zp(t,e,s,i,r){if(s==="!")return t[Ue.SCALAR];let n=[];for(let a of t.tags)if(!a.collection&&a.tag===s)if(a.default&&a.test)n.push(a);else return a;for(let a of n)if(a.test?.test(e))return a;let o=t.knownTags[s];return o&&!o.collection?(t.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,s!=="tag:yaml.org,2002:str"),t[Ue.SCALAR])}function ed({directives:t,schema:e},s,i,r){let n=e.tags.find(o=>o.default&&o.test?.test(s))||e[Ue.SCALAR];if(e.compat){let o=e.compat.find(a=>a.default&&a.test?.test(s))??e[Ue.SCALAR];if(n.tag!==o.tag){let a=t.tagString(n.tag),l=t.tagString(o.tag),c=`Value may be parsed as either ${a} or ${l}`;r(i,"TAG_RESOLVE_FAILED",c,!0);}}return n}ra.composeScalar=Qp;});var aa=chunkPWMRAKYI_cjs.b(oa=>{chunkPWMRAKYI_cjs.d();function td(t,e,s){if(e){s===null&&(s=e.length);for(let i=s-1;i>=0;--i){let r=e[i];switch(r.type){case"space":case"comment":case"newline":t-=r.source.length;continue}for(r=e[++i];r?.type==="space";)t+=r.source.length,r=e[++i];break}}return t}oa.emptyScalarPosition=td;});var fa=chunkPWMRAKYI_cjs.b(Xi=>{chunkPWMRAKYI_cjs.d();var sd=Ze(),id=Zo(),la=na(),rd=Be(),nd=aa(),od={composeNode:ca,composeEmptyNode:Vi};function ca(t,e,s,i){let{spaceBefore:r,comment:n,anchor:o,tag:a}=s,l,c=!0;switch(e.type){case"alias":l=ad(t,e,i),(o||a)&&i(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=la.composeScalar(t,e,a,i),o&&(l.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=id.composeCollection(od,t,e,a,i),o&&(l.anchor=o.source.substring(1));break;default:{let d=e.type==="error"?e.message:`Unsupported token (type: ${e.type})`;i(e,"UNEXPECTED_TOKEN",d),l=Vi(t,e.offset,void 0,null,s,i),c=!1;}}return o&&l.anchor===""&&i(o,"BAD_ALIAS","Anchor cannot be an empty string"),r&&(l.spaceBefore=!0),n&&(e.type==="scalar"&&e.source===""?l.comment=n:l.commentBefore=n),t.options.keepSourceTokens&&c&&(l.srcToken=e),l}function Vi(t,e,s,i,{spaceBefore:r,comment:n,anchor:o,tag:a,end:l},c){let d={type:"scalar",offset:nd.emptyScalarPosition(e,s,i),indent:-1,source:""},u=la.composeScalar(t,d,a,c);return o&&(u.anchor=o.source.substring(1),u.anchor===""&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(u.spaceBefore=!0),n&&(u.comment=n,u.range[2]=l),u}function ad({options:t},{offset:e,source:s,end:i},r){let n=new sd.Alias(s.substring(1));n.source===""&&r(e,"BAD_ALIAS","Alias cannot be an empty string"),n.source.endsWith(":")&&r(e+s.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let o=e+s.length,a=rd.resolveEnd(i,o,t.strict,r);return n.range=[e,o,a.offset],a.comment&&(n.comment=a.comment),n}Xi.composeEmptyNode=Vi;Xi.composeNode=ca;});var pa=chunkPWMRAKYI_cjs.b(ha=>{chunkPWMRAKYI_cjs.d();var ld=pt(),ua=fa(),cd=Be(),fd=yt();function ud(t,e,{offset:s,start:i,value:r,end:n},o){let a=Object.assign({_directives:e},t),l=new ld.Document(void 0,a),c={atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},d=fd.resolveProps(i,{indicator:"doc-start",next:r??n?.[0],offset:s,onError:o,startOnNewline:!0});d.found&&(l.directives.docStart=!0,r&&(r.type==="block-map"||r.type==="block-seq")&&!d.hasNewline&&o(d.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=r?ua.composeNode(c,r,d,o):ua.composeEmptyNode(c,d.end,i,null,d,o);let u=l.contents.range[2],p=cd.resolveEnd(n,u,!1,o);return p.comment&&(l.comment=p.comment),l.range=[s,u,p.offset],l}ha.composeDoc=ud;});var Zi=chunkPWMRAKYI_cjs.b(ga=>{chunkPWMRAKYI_cjs.d();var hd=xs(),pd=pt(),bt=gt(),da=T(),dd=pa(),md=Be();function wt(t){if(typeof t=="number")return [t,t+1];if(Array.isArray(t))return t.length===2?t:[t[0],t[1]];let{offset:e,source:s}=t;return [e,e+(typeof s=="string"?s.length:1)]}function ma(t){let e="",s=!1,i=!1;for(let r=0;r<t.length;++r){let n=t[r];switch(n[0]){case"#":e+=(e===""?"":i?`
108
+ `),e+=1,i=t[e+1];return s||(s=" "),{fold:s,offset:e}}var Mp={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
109
+ `,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function xp(t,e,s,i){let r=t.substr(e,s),o=r.length===s&&/^[0-9a-fA-F]+$/.test(r)?parseInt(r,16):NaN;if(isNaN(o)){let a=t.substr(e-2,s+2);return i(e-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(o)}Vo.resolveFlowScalar=$p;});var Zo=chunkPWMRAKYI_cjs.b(Qo=>{chunkPWMRAKYI_cjs.d();var qe=T(),Xo=R(),Bp=ji(),Up=Wi();function Gp(t,e,s,i){let{value:r,type:n,comment:o,range:a}=e.type==="block-scalar"?Bp.resolveBlockScalar(e,t.options.strict,i):Up.resolveFlowScalar(e,t.options.strict,i),l=s?t.directives.tagName(s.source,u=>i(s,"TAG_RESOLVE_FAILED",u)):null,c=s&&l?jp(t.schema,r,l,s,i):e.type==="scalar"?Yp(t,r,e,i):t.schema[qe.SCALAR],d;try{let u=c.resolve(r,p=>i(s??e,"TAG_RESOLVE_FAILED",p),t.options);d=qe.isScalar(u)?u:new Xo.Scalar(u);}catch(u){let p=u instanceof Error?u.message:String(u);i(s??e,"TAG_RESOLVE_FAILED",p),d=new Xo.Scalar(r);}return d.range=a,d.source=r,n&&(d.type=n),l&&(d.tag=l),c.format&&(d.format=c.format),o&&(d.comment=o),d}function jp(t,e,s,i,r){if(s==="!")return t[qe.SCALAR];let n=[];for(let a of t.tags)if(!a.collection&&a.tag===s)if(a.default&&a.test)n.push(a);else return a;for(let a of n)if(a.test?.test(e))return a;let o=t.knownTags[s];return o&&!o.collection?(t.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,s!=="tag:yaml.org,2002:str"),t[qe.SCALAR])}function Yp({directives:t,schema:e},s,i,r){let n=e.tags.find(o=>o.default&&o.test?.test(s))||e[qe.SCALAR];if(e.compat){let o=e.compat.find(a=>a.default&&a.test?.test(s))??e[qe.SCALAR];if(n.tag!==o.tag){let a=t.tagString(n.tag),l=t.tagString(o.tag),c=`Value may be parsed as either ${a} or ${l}`;r(i,"TAG_RESOLVE_FAILED",c,!0);}}return n}Qo.composeScalar=Gp;});var ta=chunkPWMRAKYI_cjs.b(ea=>{chunkPWMRAKYI_cjs.d();function Wp(t,e,s){if(e){s===null&&(s=e.length);for(let i=s-1;i>=0;--i){let r=e[i];switch(r.type){case"space":case"comment":case"newline":t-=r.source.length;continue}for(r=e[++i];r?.type==="space";)t+=r.source.length,r=e[++i];break}}return t}ea.emptyScalarPosition=Wp;});var ra=chunkPWMRAKYI_cjs.b(Ji=>{chunkPWMRAKYI_cjs.d();var Kp=He(),Jp=Jo(),sa=Zo(),zp=_e(),Hp=ta(),Vp={composeNode:ia,composeEmptyNode:Ki};function ia(t,e,s,i){let{spaceBefore:r,comment:n,anchor:o,tag:a}=s,l,c=!0;switch(e.type){case"alias":l=Xp(t,e,i),(o||a)&&i(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=sa.composeScalar(t,e,a,i),o&&(l.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=Jp.composeCollection(Vp,t,e,a,i),o&&(l.anchor=o.source.substring(1));break;default:{let d=e.type==="error"?e.message:`Unsupported token (type: ${e.type})`;i(e,"UNEXPECTED_TOKEN",d),l=Ki(t,e.offset,void 0,null,s,i),c=!1;}}return o&&l.anchor===""&&i(o,"BAD_ALIAS","Anchor cannot be an empty string"),r&&(l.spaceBefore=!0),n&&(e.type==="scalar"&&e.source===""?l.comment=n:l.commentBefore=n),t.options.keepSourceTokens&&c&&(l.srcToken=e),l}function Ki(t,e,s,i,{spaceBefore:r,comment:n,anchor:o,tag:a,end:l},c){let d={type:"scalar",offset:Hp.emptyScalarPosition(e,s,i),indent:-1,source:""},u=sa.composeScalar(t,d,a,c);return o&&(u.anchor=o.source.substring(1),u.anchor===""&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(u.spaceBefore=!0),n&&(u.comment=n,u.range[2]=l),u}function Xp({options:t},{offset:e,source:s,end:i},r){let n=new Kp.Alias(s.substring(1));n.source===""&&r(e,"BAD_ALIAS","Alias cannot be an empty string"),n.source.endsWith(":")&&r(e+s.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let o=e+s.length,a=zp.resolveEnd(i,o,t.strict,r);return n.range=[e,o,a.offset],a.comment&&(n.comment=a.comment),n}Ji.composeEmptyNode=Ki;Ji.composeNode=ia;});var aa=chunkPWMRAKYI_cjs.b(oa=>{chunkPWMRAKYI_cjs.d();var Qp=ct(),na=ra(),Zp=_e(),ed=pt();function td(t,e,{offset:s,start:i,value:r,end:n},o){let a=Object.assign({_directives:e},t),l=new Qp.Document(void 0,a),c={atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},d=ed.resolveProps(i,{indicator:"doc-start",next:r??n?.[0],offset:s,onError:o,startOnNewline:!0});d.found&&(l.directives.docStart=!0,r&&(r.type==="block-map"||r.type==="block-seq")&&!d.hasNewline&&o(d.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=r?na.composeNode(c,r,d,o):na.composeEmptyNode(c,d.end,i,null,d,o);let u=l.contents.range[2],p=Zp.resolveEnd(n,u,!1,o);return p.comment&&(l.comment=p.comment),l.range=[s,u,p.offset],l}oa.composeDoc=td;});var Hi=chunkPWMRAKYI_cjs.b(fa=>{chunkPWMRAKYI_cjs.d();var sd=Fs(),id=ct(),dt=ht(),la=T(),rd=aa(),nd=_e();function mt(t){if(typeof t=="number")return [t,t+1];if(Array.isArray(t))return t.length===2?t:[t[0],t[1]];let{offset:e,source:s}=t;return [e,e+(typeof s=="string"?s.length:1)]}function ca(t){let e="",s=!1,i=!1;for(let r=0;r<t.length;++r){let n=t[r];switch(n[0]){case"#":e+=(e===""?"":i?`
111
110
 
112
111
  `:`
113
- `)+(n.substring(1)||" "),s=!0,i=!1;break;case"%":t[r+1]?.[0]!=="#"&&(r+=1),s=!1;break;default:s||(i=!0),s=!1;}}return {comment:e,afterEmptyLine:i}}var Qi=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(s,i,r,n)=>{let o=wt(s);n?this.warnings.push(new bt.YAMLWarning(o,i,r)):this.errors.push(new bt.YAMLParseError(o,i,r));},this.directives=new hd.Directives({version:e.version||"1.2"}),this.options=e;}decorate(e,s){let{comment:i,afterEmptyLine:r}=ma(this.prelude);if(i){let n=e.contents;if(s)e.comment=e.comment?`${e.comment}
114
- ${i}`:i;else if(r||e.directives.docStart||!n)e.commentBefore=i;else if(da.isCollection(n)&&!n.flow&&n.items.length>0){let o=n.items[0];da.isPair(o)&&(o=o.key);let a=o.commentBefore;o.commentBefore=a?`${i}
112
+ `)+(n.substring(1)||" "),s=!0,i=!1;break;case"%":t[r+1]?.[0]!=="#"&&(r+=1),s=!1;break;default:s||(i=!0),s=!1;}}return {comment:e,afterEmptyLine:i}}var zi=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(s,i,r,n)=>{let o=mt(s);n?this.warnings.push(new dt.YAMLWarning(o,i,r)):this.errors.push(new dt.YAMLParseError(o,i,r));},this.directives=new sd.Directives({version:e.version||"1.2"}),this.options=e;}decorate(e,s){let{comment:i,afterEmptyLine:r}=ca(this.prelude);if(i){let n=e.contents;if(s)e.comment=e.comment?`${e.comment}
113
+ ${i}`:i;else if(r||e.directives.docStart||!n)e.commentBefore=i;else if(la.isCollection(n)&&!n.flow&&n.items.length>0){let o=n.items[0];la.isPair(o)&&(o=o.key);let a=o.commentBefore;o.commentBefore=a?`${i}
115
114
  ${a}`:i;}else {let o=n.commentBefore;n.commentBefore=o?`${i}
116
- ${o}`:i;}}s?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[];}streamInfo(){return {comment:ma(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,s=!1,i=-1){for(let r of e)yield*this.next(r);yield*this.end(s,i);}*next(e){switch(process.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,(s,i,r)=>{let n=wt(e);n[0]+=s,this.onError(n,"BAD_DIRECTIVE",i,r);}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let s=dd.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!s.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(s,!1),this.doc&&(yield this.doc),this.doc=s,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let s=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,i=new bt.YAMLParseError(wt(e),"UNEXPECTED_TOKEN",s);this.atDirectives||!this.doc?this.errors.push(i):this.doc.errors.push(i);break}case"doc-end":{if(!this.doc){let i="Unexpected doc-end without preceding document";this.errors.push(new bt.YAMLParseError(wt(e),"UNEXPECTED_TOKEN",i));break}this.doc.directives.docEnd=!0;let s=md.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),s.comment){let i=this.doc.comment;this.doc.comment=i?`${i}
117
- ${s.comment}`:s.comment;}this.doc.range[2]=s.offset;break}default:this.errors.push(new bt.YAMLParseError(wt(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`));}}*end(e=!1,s=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let i=Object.assign({_directives:this.directives},this.options),r=new pd.Document(void 0,i);this.atDirectives&&this.onError(s,"MISSING_CHAR","Missing directives-end indicator line"),r.range=[0,s,s],this.decorate(r,!1),yield r;}}};ga.Composer=Qi;});var wa=chunkPWMRAKYI_cjs.b(ws=>{chunkPWMRAKYI_cjs.d();var gd=Ji(),yd=Hi(),bd=gt(),ya=rt();function wd(t,e=!0,s){if(t){let i=(r,n,o)=>{let a=typeof r=="number"?r:Array.isArray(r)?r[0]:r.offset;if(s)s(a,n,o);else throw new bd.YAMLParseError([a,a+1],n,o)};switch(t.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yd.resolveFlowScalar(t,e,i);case"block-scalar":return gd.resolveBlockScalar(t,e,i)}}return null}function Sd(t,e){let{implicitKey:s=!1,indent:i,inFlow:r=!1,offset:n=-1,type:o="PLAIN"}=e,a=ya.stringifyString({type:o,value:t},{implicitKey:s,indent:i>0?" ".repeat(i):"",inFlow:r,options:{blockQuote:!0,lineWidth:-1}}),l=e.end??[{type:"newline",offset:-1,indent:i,source:`
115
+ ${o}`:i;}}s?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[];}streamInfo(){return {comment:ca(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,s=!1,i=-1){for(let r of e)yield*this.next(r);yield*this.end(s,i);}*next(e){switch(process.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,(s,i,r)=>{let n=mt(e);n[0]+=s,this.onError(n,"BAD_DIRECTIVE",i,r);}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let s=rd.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!s.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(s,!1),this.doc&&(yield this.doc),this.doc=s,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let s=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,i=new dt.YAMLParseError(mt(e),"UNEXPECTED_TOKEN",s);this.atDirectives||!this.doc?this.errors.push(i):this.doc.errors.push(i);break}case"doc-end":{if(!this.doc){let i="Unexpected doc-end without preceding document";this.errors.push(new dt.YAMLParseError(mt(e),"UNEXPECTED_TOKEN",i));break}this.doc.directives.docEnd=!0;let s=nd.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),s.comment){let i=this.doc.comment;this.doc.comment=i?`${i}
116
+ ${s.comment}`:s.comment;}this.doc.range[2]=s.offset;break}default:this.errors.push(new dt.YAMLParseError(mt(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`));}}*end(e=!1,s=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let i=Object.assign({_directives:this.directives},this.options),r=new id.Document(void 0,i);this.atDirectives&&this.onError(s,"MISSING_CHAR","Missing directives-end indicator line"),r.range=[0,s,s],this.decorate(r,!1),yield r;}}};fa.Composer=zi;});var pa=chunkPWMRAKYI_cjs.b(ms=>{chunkPWMRAKYI_cjs.d();var od=ji(),ad=Wi(),ld=ht(),ua=et();function cd(t,e=!0,s){if(t){let i=(r,n,o)=>{let a=typeof r=="number"?r:Array.isArray(r)?r[0]:r.offset;if(s)s(a,n,o);else throw new ld.YAMLParseError([a,a+1],n,o)};switch(t.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return ad.resolveFlowScalar(t,e,i);case"block-scalar":return od.resolveBlockScalar(t,e,i)}}return null}function fd(t,e){let{implicitKey:s=!1,indent:i,inFlow:r=!1,offset:n=-1,type:o="PLAIN"}=e,a=ua.stringifyString({type:o,value:t},{implicitKey:s,indent:i>0?" ".repeat(i):"",inFlow:r,options:{blockQuote:!0,lineWidth:-1}}),l=e.end??[{type:"newline",offset:-1,indent:i,source:`
118
117
  `}];switch(a[0]){case"|":case">":{let c=a.indexOf(`
119
118
  `),d=a.substring(0,c),u=a.substring(c+1)+`
120
- `,p=[{type:"block-scalar-header",offset:n,indent:i,source:d}];return ba(p,l)||p.push({type:"newline",offset:-1,indent:i,source:`
121
- `}),{type:"block-scalar",offset:n,indent:i,props:p,source:u}}case'"':return {type:"double-quoted-scalar",offset:n,indent:i,source:a,end:l};case"'":return {type:"single-quoted-scalar",offset:n,indent:i,source:a,end:l};default:return {type:"scalar",offset:n,indent:i,source:a,end:l}}}function vd(t,e,s={}){let{afterKey:i=!1,implicitKey:r=!1,inFlow:n=!1,type:o}=s,a="indent"in t?t.indent:null;if(i&&typeof a=="number"&&(a+=2),!o)switch(t.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{let c=t.props[0];if(c.type!=="block-scalar-header")throw new Error("Invalid block scalar header");o=c.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN";}let l=ya.stringifyString({type:o,value:e},{implicitKey:r||a===null,indent:a!==null&&a>0?" ".repeat(a):"",inFlow:n,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":Ld(t,l);break;case'"':er(t,l,"double-quoted-scalar");break;case"'":er(t,l,"single-quoted-scalar");break;default:er(t,l,"scalar");}}function Ld(t,e){let s=e.indexOf(`
119
+ `,p=[{type:"block-scalar-header",offset:n,indent:i,source:d}];return ha(p,l)||p.push({type:"newline",offset:-1,indent:i,source:`
120
+ `}),{type:"block-scalar",offset:n,indent:i,props:p,source:u}}case'"':return {type:"double-quoted-scalar",offset:n,indent:i,source:a,end:l};case"'":return {type:"single-quoted-scalar",offset:n,indent:i,source:a,end:l};default:return {type:"scalar",offset:n,indent:i,source:a,end:l}}}function ud(t,e,s={}){let{afterKey:i=!1,implicitKey:r=!1,inFlow:n=!1,type:o}=s,a="indent"in t?t.indent:null;if(i&&typeof a=="number"&&(a+=2),!o)switch(t.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{let c=t.props[0];if(c.type!=="block-scalar-header")throw new Error("Invalid block scalar header");o=c.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN";}let l=ua.stringifyString({type:o,value:e},{implicitKey:r||a===null,indent:a!==null&&a>0?" ".repeat(a):"",inFlow:n,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":hd(t,l);break;case'"':Vi(t,l,"double-quoted-scalar");break;case"'":Vi(t,l,"single-quoted-scalar");break;default:Vi(t,l,"scalar");}}function hd(t,e){let s=e.indexOf(`
122
121
  `),i=e.substring(0,s),r=e.substring(s+1)+`
123
- `;if(t.type==="block-scalar"){let n=t.props[0];if(n.type!=="block-scalar-header")throw new Error("Invalid block scalar header");n.source=i,t.source=r;}else {let{offset:n}=t,o="indent"in t?t.indent:-1,a=[{type:"block-scalar-header",offset:n,indent:o,source:i}];ba(a,"end"in t?t.end:void 0)||a.push({type:"newline",offset:-1,indent:o,source:`
124
- `});for(let l of Object.keys(t))l!=="type"&&l!=="offset"&&delete t[l];Object.assign(t,{type:"block-scalar",indent:o,props:a,source:r});}}function ba(t,e){if(e)for(let s of e)switch(s.type){case"space":case"comment":t.push(s);break;case"newline":return t.push(s),!0}return !1}function er(t,e,s){switch(t.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":t.type=s,t.source=e;break;case"block-scalar":{let i=t.props.slice(1),r=e.length;t.props[0].type==="block-scalar-header"&&(r-=t.props[0].source.length);for(let n of i)n.offset+=r;delete t.props,Object.assign(t,{type:s,source:e,end:i});break}case"block-map":case"block-seq":{let r={type:"newline",offset:t.offset+e.length,indent:t.indent,source:`
125
- `};delete t.items,Object.assign(t,{type:s,source:e,end:[r]});break}default:{let i="indent"in t?t.indent:-1,r="end"in t&&Array.isArray(t.end)?t.end.filter(n=>n.type==="space"||n.type==="comment"||n.type==="newline"):[];for(let n of Object.keys(t))n!=="type"&&n!=="offset"&&delete t[n];Object.assign(t,{type:s,indent:i,source:e,end:r});}}}ws.createScalarToken=Sd;ws.resolveAsScalar=wd;ws.setScalarValue=vd;});var va=chunkPWMRAKYI_cjs.b(Sa=>{chunkPWMRAKYI_cjs.d();var Ed=t=>"type"in t?vs(t):Ss(t);function vs(t){switch(t.type){case"block-scalar":{let e="";for(let s of t.props)e+=vs(s);return e+t.source}case"block-map":case"block-seq":{let e="";for(let s of t.items)e+=Ss(s);return e}case"flow-collection":{let e=t.start.source;for(let s of t.items)e+=Ss(s);for(let s of t.end)e+=s.source;return e}case"document":{let e=Ss(t);if(t.end)for(let s of t.end)e+=s.source;return e}default:{let e=t.source;if("end"in t&&t.end)for(let s of t.end)e+=s.source;return e}}}function Ss({start:t,key:e,sep:s,value:i}){let r="";for(let n of t)r+=n.source;if(e&&(r+=vs(e)),s)for(let n of s)r+=n.source;return i&&(r+=vs(i)),r}Sa.stringify=Ed;});var Na=chunkPWMRAKYI_cjs.b(Aa=>{chunkPWMRAKYI_cjs.d();var tr=Symbol("break visit"),Ad=Symbol("skip children"),La=Symbol("remove item");function Oe(t,e){"type"in t&&t.type==="document"&&(t={start:t.start,value:t.value}),Ea(Object.freeze([]),t,e);}Oe.BREAK=tr;Oe.SKIP=Ad;Oe.REMOVE=La;Oe.itemAtPath=(t,e)=>{let s=t;for(let[i,r]of e){let n=s?.[i];if(n&&"items"in n)s=n.items[r];else return}return s};Oe.parentCollection=(t,e)=>{let s=Oe.itemAtPath(t,e.slice(0,-1)),i=e[e.length-1][0],r=s?.[i];if(r&&"items"in r)return r;throw new Error("Parent collection not found")};function Ea(t,e,s){let i=s(e,t);if(typeof i=="symbol")return i;for(let r of ["key","value"]){let n=e[r];if(n&&"items"in n){for(let o=0;o<n.items.length;++o){let a=Ea(Object.freeze(t.concat([[r,o]])),n.items[o],s);if(typeof a=="number")o=a-1;else {if(a===tr)return tr;a===La&&(n.items.splice(o,1),o-=1);}}typeof i=="function"&&r==="key"&&(i=i(e,t));}}return typeof i=="function"?i(e,t):i}Aa.visit=Oe;});var Ls=chunkPWMRAKYI_cjs.b(Y=>{chunkPWMRAKYI_cjs.d();var sr=wa(),Nd=va(),Cd=Na(),ir="\uFEFF",rr="",nr="",or="",Od=t=>!!t&&"items"in t,Pd=t=>!!t&&(t.type==="scalar"||t.type==="single-quoted-scalar"||t.type==="double-quoted-scalar"||t.type==="block-scalar");function kd(t){switch(t){case ir:return "<BOM>";case rr:return "<DOC>";case nr:return "<FLOW_END>";case or:return "<SCALAR>";default:return JSON.stringify(t)}}function Id(t){switch(t){case ir:return "byte-order-mark";case rr:return "doc-mode";case nr:return "flow-error-end";case or:return "scalar";case"---":return "doc-start";case"...":return "doc-end";case"":case`
122
+ `;if(t.type==="block-scalar"){let n=t.props[0];if(n.type!=="block-scalar-header")throw new Error("Invalid block scalar header");n.source=i,t.source=r;}else {let{offset:n}=t,o="indent"in t?t.indent:-1,a=[{type:"block-scalar-header",offset:n,indent:o,source:i}];ha(a,"end"in t?t.end:void 0)||a.push({type:"newline",offset:-1,indent:o,source:`
123
+ `});for(let l of Object.keys(t))l!=="type"&&l!=="offset"&&delete t[l];Object.assign(t,{type:"block-scalar",indent:o,props:a,source:r});}}function ha(t,e){if(e)for(let s of e)switch(s.type){case"space":case"comment":t.push(s);break;case"newline":return t.push(s),!0}return !1}function Vi(t,e,s){switch(t.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":t.type=s,t.source=e;break;case"block-scalar":{let i=t.props.slice(1),r=e.length;t.props[0].type==="block-scalar-header"&&(r-=t.props[0].source.length);for(let n of i)n.offset+=r;delete t.props,Object.assign(t,{type:s,source:e,end:i});break}case"block-map":case"block-seq":{let r={type:"newline",offset:t.offset+e.length,indent:t.indent,source:`
124
+ `};delete t.items,Object.assign(t,{type:s,source:e,end:[r]});break}default:{let i="indent"in t?t.indent:-1,r="end"in t&&Array.isArray(t.end)?t.end.filter(n=>n.type==="space"||n.type==="comment"||n.type==="newline"):[];for(let n of Object.keys(t))n!=="type"&&n!=="offset"&&delete t[n];Object.assign(t,{type:s,indent:i,source:e,end:r});}}}ms.createScalarToken=fd;ms.resolveAsScalar=cd;ms.setScalarValue=ud;});var ma=chunkPWMRAKYI_cjs.b(da=>{chunkPWMRAKYI_cjs.d();var pd=t=>"type"in t?ys(t):gs(t);function ys(t){switch(t.type){case"block-scalar":{let e="";for(let s of t.props)e+=ys(s);return e+t.source}case"block-map":case"block-seq":{let e="";for(let s of t.items)e+=gs(s);return e}case"flow-collection":{let e=t.start.source;for(let s of t.items)e+=gs(s);for(let s of t.end)e+=s.source;return e}case"document":{let e=gs(t);if(t.end)for(let s of t.end)e+=s.source;return e}default:{let e=t.source;if("end"in t&&t.end)for(let s of t.end)e+=s.source;return e}}}function gs({start:t,key:e,sep:s,value:i}){let r="";for(let n of t)r+=n.source;if(e&&(r+=ys(e)),s)for(let n of s)r+=n.source;return i&&(r+=ys(i)),r}da.stringify=pd;});var wa=chunkPWMRAKYI_cjs.b(ba=>{chunkPWMRAKYI_cjs.d();var Xi=Symbol("break visit"),dd=Symbol("skip children"),ga=Symbol("remove item");function Ee(t,e){"type"in t&&t.type==="document"&&(t={start:t.start,value:t.value}),ya(Object.freeze([]),t,e);}Ee.BREAK=Xi;Ee.SKIP=dd;Ee.REMOVE=ga;Ee.itemAtPath=(t,e)=>{let s=t;for(let[i,r]of e){let n=s?.[i];if(n&&"items"in n)s=n.items[r];else return}return s};Ee.parentCollection=(t,e)=>{let s=Ee.itemAtPath(t,e.slice(0,-1)),i=e[e.length-1][0],r=s?.[i];if(r&&"items"in r)return r;throw new Error("Parent collection not found")};function ya(t,e,s){let i=s(e,t);if(typeof i=="symbol")return i;for(let r of ["key","value"]){let n=e[r];if(n&&"items"in n){for(let o=0;o<n.items.length;++o){let a=ya(Object.freeze(t.concat([[r,o]])),n.items[o],s);if(typeof a=="number")o=a-1;else {if(a===Xi)return Xi;a===ga&&(n.items.splice(o,1),o-=1);}}typeof i=="function"&&r==="key"&&(i=i(e,t));}}return typeof i=="function"?i(e,t):i}ba.visit=Ee;});var bs=chunkPWMRAKYI_cjs.b(j=>{chunkPWMRAKYI_cjs.d();var Qi=pa(),md=ma(),gd=wa(),Zi="\uFEFF",er="",tr="",sr="",yd=t=>!!t&&"items"in t,bd=t=>!!t&&(t.type==="scalar"||t.type==="single-quoted-scalar"||t.type==="double-quoted-scalar"||t.type==="block-scalar");function wd(t){switch(t){case Zi:return "<BOM>";case er:return "<DOC>";case tr:return "<FLOW_END>";case sr:return "<SCALAR>";default:return JSON.stringify(t)}}function Sd(t){switch(t){case Zi:return "byte-order-mark";case er:return "doc-mode";case tr:return "flow-error-end";case sr:return "scalar";case"---":return "doc-start";case"...":return "doc-end";case"":case`
126
125
  `:case`\r
127
- `: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(t[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}Y.createScalarToken=sr.createScalarToken;Y.resolveAsScalar=sr.resolveAsScalar;Y.setScalarValue=sr.setScalarValue;Y.stringify=Nd.stringify;Y.visit=Cd.visit;Y.BOM=ir;Y.DOCUMENT=rr;Y.FLOW_END=nr;Y.SCALAR=or;Y.isCollection=Od;Y.isScalar=Pd;Y.prettyToken=kd;Y.tokenType=Id;});var fr=chunkPWMRAKYI_cjs.b(Oa=>{chunkPWMRAKYI_cjs.d();var St=Ls();function J(t){switch(t){case void 0:case" ":case`
128
- `:case"\r":case" ":return !0;default:return !1}}var Ca="0123456789ABCDEFabcdef".split(""),Td="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),ar=",[]{}".split(""),Dd=` ,[]{}
129
- \r `.split(""),lr=t=>!t||Dd.includes(t),cr=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,s=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!s;let i=this.next??"stream";for(;i&&(s||this.hasChars(1));)i=yield*this.parseNext(i);}atLineEnd(){let e=this.pos,s=this.buffer[e];for(;s===" "||s===" ";)s=this.buffer[++e];return !s||s==="#"||s===`
126
+ `: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(t[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}j.createScalarToken=Qi.createScalarToken;j.resolveAsScalar=Qi.resolveAsScalar;j.setScalarValue=Qi.setScalarValue;j.stringify=md.stringify;j.visit=gd.visit;j.BOM=Zi;j.DOCUMENT=er;j.FLOW_END=tr;j.SCALAR=sr;j.isCollection=yd;j.isScalar=bd;j.prettyToken=wd;j.tokenType=Sd;});var or=chunkPWMRAKYI_cjs.b(va=>{chunkPWMRAKYI_cjs.d();var gt=bs();function J(t){switch(t){case void 0:case" ":case`
127
+ `:case"\r":case" ":return !0;default:return !1}}var Sa="0123456789ABCDEFabcdef".split(""),vd="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),ir=",[]{}".split(""),Ld=` ,[]{}
128
+ \r `.split(""),rr=t=>!t||Ld.includes(t),nr=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,s=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!s;let i=this.next??"stream";for(;i&&(s||this.hasChars(1));)i=yield*this.parseNext(i);}atLineEnd(){let e=this.pos,s=this.buffer[e];for(;s===" "||s===" ";)s=this.buffer[++e];return !s||s==="#"||s===`
130
129
  `?!0:s==="\r"?this.buffer[e+1]===`
131
130
  `:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let s=this.buffer[e];if(this.indentNext>0){let i=0;for(;s===" ";)s=this.buffer[++i+e];if(s==="\r"){let r=this.buffer[i+e+1];if(r===`
132
131
  `||!r&&!this.atEnd)return e+i+1}return s===`
133
132
  `||i>=this.indentNext||!s&&!this.atEnd?e+i:-1}if(s==="-"||s==="."){let i=this.buffer.substr(e,3);if((i==="---"||i==="...")&&J(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return (typeof e!="number"||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
134
- `,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]==="\r"&&(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(e===null)return this.setNext("stream");if(e[0]===St.BOM&&(yield*this.pushCount(1),e=e.substring(1)),e[0]==="%"){let s=e.length,i=e.indexOf("#");if(i!==-1){let n=e[i-1];(n===" "||n===" ")&&(s=i-1);}for(;;){let n=e[s-1];if(n===" "||n===" ")s-=1;else break}let r=(yield*this.pushCount(s))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){let s=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-s),yield*this.pushNewline(),"stream"}return yield St.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 s=this.peek(3);if(s==="---"&&J(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(s==="..."&&J(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!J(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,s]=this.peek(2);if(!s&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&J(s)){let i=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=i,yield*this.parseBlockStart()}return "doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(e===null)return this.setNext("doc");let s=yield*this.pushIndicators();switch(e[s]){case"#":yield*this.pushCount(e.length-s);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(lr),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return s+=yield*this.parseBlockScalarHeader(),s+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-s),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,s,i=-1;do e=yield*this.pushNewline(),e>0?(s=yield*this.pushSpaces(!1),this.indentValue=i=s):s=0,s+=yield*this.pushSpaces(!0);while(e+s>0);let r=this.getLine();if(r===null)return this.setNext("flow");if((i!==-1&&i<this.indentNext&&r[0]!=="#"||i===0&&(r.startsWith("---")||r.startsWith("..."))&&J(r[3]))&&!(i===this.indentNext-1&&this.flowLevel===1&&(r[0]==="]"||r[0]==="}")))return this.flowLevel=0,yield St.FLOW_END,yield*this.parseLineStart();let n=0;for(;r[n]===",";)n+=yield*this.pushCount(1),n+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(n+=yield*this.pushIndicators(),r[n]){case void 0:return "flow";case"#":return yield*this.pushCount(r.length-n),"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(lr),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let o=this.charAt(1);if(this.flowKey||J(o)||o===",")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),s=this.buffer.indexOf(e,this.pos+1);if(e==="'")for(;s!==-1&&this.buffer[s+1]==="'";)s=this.buffer.indexOf("'",s+2);else for(;s!==-1;){let n=0;for(;this.buffer[s-1-n]==="\\";)n+=1;if(n%2===0)break;s=this.buffer.indexOf('"',s+1);}let i=this.buffer.substring(0,s),r=i.indexOf(`
133
+ `,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]==="\r"&&(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(e===null)return this.setNext("stream");if(e[0]===gt.BOM&&(yield*this.pushCount(1),e=e.substring(1)),e[0]==="%"){let s=e.length,i=e.indexOf("#");if(i!==-1){let n=e[i-1];(n===" "||n===" ")&&(s=i-1);}for(;;){let n=e[s-1];if(n===" "||n===" ")s-=1;else break}let r=(yield*this.pushCount(s))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){let s=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-s),yield*this.pushNewline(),"stream"}return yield gt.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 s=this.peek(3);if(s==="---"&&J(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(s==="..."&&J(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!J(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,s]=this.peek(2);if(!s&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&J(s)){let i=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=i,yield*this.parseBlockStart()}return "doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(e===null)return this.setNext("doc");let s=yield*this.pushIndicators();switch(e[s]){case"#":yield*this.pushCount(e.length-s);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(rr),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return s+=yield*this.parseBlockScalarHeader(),s+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-s),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,s,i=-1;do e=yield*this.pushNewline(),e>0?(s=yield*this.pushSpaces(!1),this.indentValue=i=s):s=0,s+=yield*this.pushSpaces(!0);while(e+s>0);let r=this.getLine();if(r===null)return this.setNext("flow");if((i!==-1&&i<this.indentNext&&r[0]!=="#"||i===0&&(r.startsWith("---")||r.startsWith("..."))&&J(r[3]))&&!(i===this.indentNext-1&&this.flowLevel===1&&(r[0]==="]"||r[0]==="}")))return this.flowLevel=0,yield gt.FLOW_END,yield*this.parseLineStart();let n=0;for(;r[n]===",";)n+=yield*this.pushCount(1),n+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(n+=yield*this.pushIndicators(),r[n]){case void 0:return "flow";case"#":return yield*this.pushCount(r.length-n),"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(rr),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let o=this.charAt(1);if(this.flowKey||J(o)||o===",")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),s=this.buffer.indexOf(e,this.pos+1);if(e==="'")for(;s!==-1&&this.buffer[s+1]==="'";)s=this.buffer.indexOf("'",s+2);else for(;s!==-1;){let n=0;for(;this.buffer[s-1-n]==="\\";)n+=1;if(n%2===0)break;s=this.buffer.indexOf('"',s+1);}let i=this.buffer.substring(0,s),r=i.indexOf(`
135
134
  `,this.pos);if(r!==-1){for(;r!==-1;){let n=this.continueScalar(r+1);if(n===-1)break;r=i.indexOf(`
136
135
  `,n);}r!==-1&&(s=r-(i[r-1]==="\r"?2:1));}if(s===-1){if(!this.atEnd)return this.setNext("quoted-scalar");s=this.buffer.length;}return yield*this.pushToIndex(s+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let s=this.buffer[++e];if(s==="+")this.blockScalarKeep=!0;else if(s>"0"&&s<="9")this.blockScalarIndent=Number(s)-1;else if(s!=="-")break}return yield*this.pushUntil(s=>J(s)||s==="#")}*parseBlockScalar(){let e=this.pos-1,s=0,i;e:for(let r=this.pos;i=this.buffer[r];++r)switch(i){case" ":s+=1;break;case`
137
136
  `:e=r,s=0;break;case"\r":{let n=this.buffer[r+1];if(!n&&!this.atEnd)return this.setNext("block-scalar");if(n===`
138
137
  `)break}default:break e}if(!i&&!this.atEnd)return this.setNext("block-scalar");if(s>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=s:this.indentNext+=this.blockScalarIndent;do{let r=this.continueScalar(e+1);if(r===-1)break;e=this.buffer.indexOf(`
139
138
  `,r);}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length;}}if(!this.blockScalarKeep)do{let r=e-1,n=this.buffer[r];n==="\r"&&(n=this.buffer[--r]);let o=r;for(;n===" "||n===" ";)n=this.buffer[--r];if(n===`
140
- `&&r>=this.pos&&r+1+s>o)e=r;else break}while(!0);return yield St.SCALAR,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e=this.flowLevel>0,s=this.pos-1,i=this.pos-1,r;for(;r=this.buffer[++i];)if(r===":"){let n=this.buffer[i+1];if(J(n)||e&&n===",")break;s=i;}else if(J(r)){let n=this.buffer[i+1];if(r==="\r"&&(n===`
139
+ `&&r>=this.pos&&r+1+s>o)e=r;else break}while(!0);return yield gt.SCALAR,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e=this.flowLevel>0,s=this.pos-1,i=this.pos-1,r;for(;r=this.buffer[++i];)if(r===":"){let n=this.buffer[i+1];if(J(n)||e&&n===",")break;s=i;}else if(J(r)){let n=this.buffer[i+1];if(r==="\r"&&(n===`
141
140
  `?(i+=1,r=`
142
- `,n=this.buffer[i+1]):s=i),n==="#"||e&&ar.includes(n))break;if(r===`
143
- `){let o=this.continueScalar(i+1);if(o===-1)break;i=Math.max(i,o-2);}}else {if(e&&ar.includes(r))break;s=i;}return !r&&!this.atEnd?this.setNext("plain-scalar"):(yield St.SCALAR,yield*this.pushToIndex(s+1,!0),e?"flow":"doc")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,s){let i=this.buffer.slice(this.pos,e);return i?(yield i,this.pos+=i.length,i.length):(s&&(yield ""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return (yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return (yield*this.pushUntil(lr))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,s=this.charAt(1);if(J(s)||e&&ar.includes(s))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let e=this.pos+2,s=this.buffer[e];for(;!J(s)&&s!==">";)s=this.buffer[++e];return yield*this.pushToIndex(s===">"?e+1:e,!1)}else {let e=this.pos+1,s=this.buffer[e];for(;s;)if(Td.includes(s))s=this.buffer[++e];else if(s==="%"&&Ca.includes(this.buffer[e+1])&&Ca.includes(this.buffer[e+2]))s=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return e===`
141
+ `,n=this.buffer[i+1]):s=i),n==="#"||e&&ir.includes(n))break;if(r===`
142
+ `){let o=this.continueScalar(i+1);if(o===-1)break;i=Math.max(i,o-2);}}else {if(e&&ir.includes(r))break;s=i;}return !r&&!this.atEnd?this.setNext("plain-scalar"):(yield gt.SCALAR,yield*this.pushToIndex(s+1,!0),e?"flow":"doc")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,s){let i=this.buffer.slice(this.pos,e);return i?(yield i,this.pos+=i.length,i.length):(s&&(yield ""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return (yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return (yield*this.pushUntil(rr))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,s=this.charAt(1);if(J(s)||e&&ir.includes(s))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let e=this.pos+2,s=this.buffer[e];for(;!J(s)&&s!==">";)s=this.buffer[++e];return yield*this.pushToIndex(s===">"?e+1:e,!1)}else {let e=this.pos+1,s=this.buffer[e];for(;s;)if(vd.includes(s))s=this.buffer[++e];else if(s==="%"&&Sa.includes(this.buffer[e+1])&&Sa.includes(this.buffer[e+2]))s=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return e===`
144
143
  `?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
145
- `?yield*this.pushCount(2):0}*pushSpaces(e){let s=this.pos-1,i;do i=this.buffer[++s];while(i===" "||e&&i===" ");let r=s-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=s),r}*pushUntil(e){let s=this.pos,i=this.buffer[s];for(;!e(i);)i=this.buffer[++s];return yield*this.pushToIndex(s,!1)}};Oa.Lexer=cr;});var hr=chunkPWMRAKYI_cjs.b(Pa=>{chunkPWMRAKYI_cjs.d();var ur=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let s=0,i=this.lineStarts.length;for(;s<i;){let n=s+i>>1;this.lineStarts[n]<e?s=n+1:i=n;}if(this.lineStarts[s]===e)return {line:s+1,col:1};if(s===0)return {line:0,col:e};let r=this.lineStarts[s-1];return {line:s,col:e-r+1}};}};Pa.LineCounter=ur;});var dr=chunkPWMRAKYI_cjs.b($a=>{chunkPWMRAKYI_cjs.d();var ka=Ls(),$d=fr();function z(t,e){for(let s=0;s<t.length;++s)if(t[s].type===e)return !0;return !1}function Ia(t){for(let e=0;e<t.length;++e)switch(t[e].type){case"space":case"comment":case"newline":break;default:return e}return -1}function Da(t){switch(t?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return !0;default:return !1}}function Es(t){switch(t.type){case"document":return t.start;case"block-map":{let e=t.items[t.items.length-1];return e.sep??e.start}case"block-seq":return t.items[t.items.length-1].start;default:return []}}function Ge(t){if(t.length===0)return [];let e=t.length;e:for(;--e>=0;)switch(t[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;t[++e]?.type==="space";);return t.splice(e,t.length)}function Ta(t){if(t.start.type==="flow-seq-start")for(let e of t.items)e.sep&&!e.value&&!z(e.start,"explicit-key-ind")&&!z(e.sep,"map-value-ind")&&(e.key&&(e.value=e.key),delete e.key,Da(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep);}var pr=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 $d.Lexer,this.onNewLine=e;}*parse(e,s=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let i of this.lexer.lex(e,s))yield*this.next(i);s||(yield*this.end());}*next(e){if(this.source=e,process.env.LOG_TOKENS&&console.log("|",ka.prettyToken(e)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let s=ka.tokenType(e);if(s)if(s==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else {switch(this.type=s,yield*this.step(),s){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 i=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:i,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(this.type==="doc-end"&&(!e||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 s=e??this.stack.pop();if(!s)yield {type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield s;else {let i=this.peek(1);switch(s.type==="block-scalar"?s.indent="indent"in i?i.indent:0:s.type==="flow-collection"&&i.type==="document"&&(s.indent=0),s.type==="flow-collection"&&Ta(s),i.type){case"document":i.value=s;break;case"block-scalar":i.props.push(s);break;case"block-map":{let r=i.items[i.items.length-1];if(r.value){i.items.push({start:[],key:s,sep:[]}),this.onKeyLine=!0;return}else if(r.sep)r.value=s;else {Object.assign(r,{key:s,sep:[]}),this.onKeyLine=!z(r.start,"explicit-key-ind");return}break}case"block-seq":{let r=i.items[i.items.length-1];r.value?i.items.push({start:[],value:s}):r.value=s;break}case"flow-collection":{let r=i.items[i.items.length-1];!r||r.value?i.items.push({start:[],key:s,sep:[]}):r.sep?r.value=s:Object.assign(r,{key:s,sep:[]});return}default:yield*this.pop(),yield*this.pop(s);}if((i.type==="document"||i.type==="block-map"||i.type==="block-seq")&&(s.type==="block-map"||s.type==="block-seq")){let r=s.items[s.items.length-1];r&&!r.sep&&!r.value&&r.start.length>0&&Ia(r.start)===-1&&(s.indent===0||r.start.every(n=>n.type!=="comment"||n.indent<s.indent))&&(i.type==="document"?i.end=r.start:i.items.push({start:r.start}),s.items.splice(-1,1));}}}*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:[]};this.type==="doc-start"&&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":{Ia(e.start)!==-1?(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 s=this.startBlockValue(e);s?this.stack.push(s):yield {type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source};}*scalar(e){if(this.type==="map-value-ind"){let s=Es(this.peek(2)),i=Ge(s),r;e.end?(r=e.end,r.push(this.sourceToken),delete e.end):r=[this.sourceToken];let n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:i,key:e,sep:r}]};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 s=this.source.indexOf(`
144
+ `?yield*this.pushCount(2):0}*pushSpaces(e){let s=this.pos-1,i;do i=this.buffer[++s];while(i===" "||e&&i===" ");let r=s-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=s),r}*pushUntil(e){let s=this.pos,i=this.buffer[s];for(;!e(i);)i=this.buffer[++s];return yield*this.pushToIndex(s,!1)}};va.Lexer=nr;});var lr=chunkPWMRAKYI_cjs.b(La=>{chunkPWMRAKYI_cjs.d();var ar=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let s=0,i=this.lineStarts.length;for(;s<i;){let n=s+i>>1;this.lineStarts[n]<e?s=n+1:i=n;}if(this.lineStarts[s]===e)return {line:s+1,col:1};if(s===0)return {line:0,col:e};let r=this.lineStarts[s-1];return {line:s,col:e-r+1}};}};La.LineCounter=ar;});var fr=chunkPWMRAKYI_cjs.b(Oa=>{chunkPWMRAKYI_cjs.d();var Ea=bs(),Ed=or();function z(t,e){for(let s=0;s<t.length;++s)if(t[s].type===e)return !0;return !1}function Aa(t){for(let e=0;e<t.length;++e)switch(t[e].type){case"space":case"comment":case"newline":break;default:return e}return -1}function Ca(t){switch(t?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return !0;default:return !1}}function ws(t){switch(t.type){case"document":return t.start;case"block-map":{let e=t.items[t.items.length-1];return e.sep??e.start}case"block-seq":return t.items[t.items.length-1].start;default:return []}}function Me(t){if(t.length===0)return [];let e=t.length;e:for(;--e>=0;)switch(t[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;t[++e]?.type==="space";);return t.splice(e,t.length)}function Na(t){if(t.start.type==="flow-seq-start")for(let e of t.items)e.sep&&!e.value&&!z(e.start,"explicit-key-ind")&&!z(e.sep,"map-value-ind")&&(e.key&&(e.value=e.key),delete e.key,Ca(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep);}var cr=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 Ed.Lexer,this.onNewLine=e;}*parse(e,s=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let i of this.lexer.lex(e,s))yield*this.next(i);s||(yield*this.end());}*next(e){if(this.source=e,process.env.LOG_TOKENS&&console.log("|",Ea.prettyToken(e)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let s=Ea.tokenType(e);if(s)if(s==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else {switch(this.type=s,yield*this.step(),s){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 i=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:i,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(this.type==="doc-end"&&(!e||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 s=e??this.stack.pop();if(!s)yield {type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield s;else {let i=this.peek(1);switch(s.type==="block-scalar"?s.indent="indent"in i?i.indent:0:s.type==="flow-collection"&&i.type==="document"&&(s.indent=0),s.type==="flow-collection"&&Na(s),i.type){case"document":i.value=s;break;case"block-scalar":i.props.push(s);break;case"block-map":{let r=i.items[i.items.length-1];if(r.value){i.items.push({start:[],key:s,sep:[]}),this.onKeyLine=!0;return}else if(r.sep)r.value=s;else {Object.assign(r,{key:s,sep:[]}),this.onKeyLine=!z(r.start,"explicit-key-ind");return}break}case"block-seq":{let r=i.items[i.items.length-1];r.value?i.items.push({start:[],value:s}):r.value=s;break}case"flow-collection":{let r=i.items[i.items.length-1];!r||r.value?i.items.push({start:[],key:s,sep:[]}):r.sep?r.value=s:Object.assign(r,{key:s,sep:[]});return}default:yield*this.pop(),yield*this.pop(s);}if((i.type==="document"||i.type==="block-map"||i.type==="block-seq")&&(s.type==="block-map"||s.type==="block-seq")){let r=s.items[s.items.length-1];r&&!r.sep&&!r.value&&r.start.length>0&&Aa(r.start)===-1&&(s.indent===0||r.start.every(n=>n.type!=="comment"||n.indent<s.indent))&&(i.type==="document"?i.end=r.start:i.items.push({start:r.start}),s.items.splice(-1,1));}}}*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:[]};this.type==="doc-start"&&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":{Aa(e.start)!==-1?(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 s=this.startBlockValue(e);s?this.stack.push(s):yield {type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source};}*scalar(e){if(this.type==="map-value-ind"){let s=ws(this.peek(2)),i=Me(s),r;e.end?(r=e.end,r.push(this.sourceToken),delete e.end):r=[this.sourceToken];let n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:i,key:e,sep:r}]};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 s=this.source.indexOf(`
146
145
  `)+1;for(;s!==0;)this.onNewLine(this.offset+s),s=this.source.indexOf(`
147
- `,s)+1;}yield*this.pop();break;default:yield*this.pop(),yield*this.step();}}*blockMap(e){let s=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,s.value){let i="end"in s.value?s.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):e.items.push({start:[this.sourceToken]});}else s.sep?s.sep.push(this.sourceToken):s.start.push(this.sourceToken);return;case"space":case"comment":if(s.value)e.items.push({start:[this.sourceToken]});else if(s.sep)s.sep.push(this.sourceToken);else {if(this.atIndentedComment(s.start,e.indent)){let r=e.items[e.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,s.start),r.push(this.sourceToken),e.items.pop();return}}s.start.push(this.sourceToken);}return}if(this.indent>=e.indent){let i=!this.onKeyLine&&this.indent===e.indent&&s.sep&&this.type!=="seq-item-ind",r=[];if(i&&s.sep&&!s.value){let n=[];for(let o=0;o<s.sep.length;++o){let a=s.sep[o];switch(a.type){case"newline":n.push(o);break;case"space":break;case"comment":a.indent>e.indent&&(n.length=0);break;default:n.length=0;}}n.length>=2&&(r=s.sep.splice(n[1]));}switch(this.type){case"anchor":case"tag":i||s.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):s.sep?s.sep.push(this.sourceToken):s.start.push(this.sourceToken);return;case"explicit-key-ind":!s.sep&&!z(s.start,"explicit-key-ind")?s.start.push(this.sourceToken):i||s.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}),this.onKeyLine=!0;return;case"map-value-ind":if(z(s.start,"explicit-key-ind"))if(s.sep)if(s.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(z(s.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(Da(s.key)&&!z(s.sep,"newline")){let n=Ge(s.start),o=s.key,a=s.sep;a.push(this.sourceToken),delete s.key,delete s.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:o,sep:a}]});}else r.length>0?s.sep=s.sep.concat(r,this.sourceToken):s.sep.push(this.sourceToken);else if(z(s.start,"newline"))Object.assign(s,{key:null,sep:[this.sourceToken]});else {let n=Ge(s.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]});}else s.sep?s.value||i?e.items.push({start:r,key:null,sep:[this.sourceToken]}):z(s.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):s.sep.push(this.sourceToken):Object.assign(s,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);i||s.value?(e.items.push({start:r,key:n,sep:[]}),this.onKeyLine=!0):s.sep?this.stack.push(n):(Object.assign(s,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let n=this.startBlockValue(e);if(n){i&&n.type!=="block-seq"&&z(s.start,"explicit-key-ind")&&e.items.push({start:r}),this.stack.push(n);return}}}}yield*this.pop(),yield*this.step();}*blockSequence(e){let s=e.items[e.items.length-1];switch(this.type){case"newline":if(s.value){let i="end"in s.value?s.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):e.items.push({start:[this.sourceToken]});}else s.start.push(this.sourceToken);return;case"space":case"comment":if(s.value)e.items.push({start:[this.sourceToken]});else {if(this.atIndentedComment(s.start,e.indent)){let r=e.items[e.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,s.start),r.push(this.sourceToken),e.items.pop();return}}s.start.push(this.sourceToken);}return;case"anchor":case"tag":if(s.value||this.indent<=e.indent)break;s.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;s.value||z(s.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):s.start.push(this.sourceToken);return}if(this.indent>e.indent){let i=this.startBlockValue(e);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step();}*flowCollection(e){let s=e.items[e.items.length-1];if(this.type==="flow-error-end"){let i;do yield*this.pop(),i=this.peek(1);while(i&&i.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!s||s.sep?e.items.push({start:[this.sourceToken]}):s.start.push(this.sourceToken);return;case"map-value-ind":!s||s.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):s.sep?s.sep.push(this.sourceToken):Object.assign(s,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!s||s.value?e.items.push({start:[this.sourceToken]}):s.sep?s.sep.push(this.sourceToken):s.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let r=this.flowScalar(this.type);!s||s.value?e.items.push({start:[],key:r,sep:[]}):s.sep?this.stack.push(r):Object.assign(s,{key:r,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let i=this.startBlockValue(e);i?this.stack.push(i):(yield*this.pop(),yield*this.step());}else {let i=this.peek(2);if(i.type==="block-map"&&(this.type==="map-value-ind"&&i.indent===e.indent||this.type==="newline"&&!i.items[i.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&i.type!=="flow-collection"){let r=Es(i),n=Ge(r);Ta(e);let o=e.end.splice(1,e.end.length);o.push(this.sourceToken);let a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a;}else yield*this.lineEnd(e);}}flowScalar(e){if(this.onNewLine){let s=this.source.indexOf(`
146
+ `,s)+1;}yield*this.pop();break;default:yield*this.pop(),yield*this.step();}}*blockMap(e){let s=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,s.value){let i="end"in s.value?s.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):e.items.push({start:[this.sourceToken]});}else s.sep?s.sep.push(this.sourceToken):s.start.push(this.sourceToken);return;case"space":case"comment":if(s.value)e.items.push({start:[this.sourceToken]});else if(s.sep)s.sep.push(this.sourceToken);else {if(this.atIndentedComment(s.start,e.indent)){let r=e.items[e.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,s.start),r.push(this.sourceToken),e.items.pop();return}}s.start.push(this.sourceToken);}return}if(this.indent>=e.indent){let i=!this.onKeyLine&&this.indent===e.indent&&s.sep&&this.type!=="seq-item-ind",r=[];if(i&&s.sep&&!s.value){let n=[];for(let o=0;o<s.sep.length;++o){let a=s.sep[o];switch(a.type){case"newline":n.push(o);break;case"space":break;case"comment":a.indent>e.indent&&(n.length=0);break;default:n.length=0;}}n.length>=2&&(r=s.sep.splice(n[1]));}switch(this.type){case"anchor":case"tag":i||s.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):s.sep?s.sep.push(this.sourceToken):s.start.push(this.sourceToken);return;case"explicit-key-ind":!s.sep&&!z(s.start,"explicit-key-ind")?s.start.push(this.sourceToken):i||s.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}),this.onKeyLine=!0;return;case"map-value-ind":if(z(s.start,"explicit-key-ind"))if(s.sep)if(s.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(z(s.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(Ca(s.key)&&!z(s.sep,"newline")){let n=Me(s.start),o=s.key,a=s.sep;a.push(this.sourceToken),delete s.key,delete s.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:o,sep:a}]});}else r.length>0?s.sep=s.sep.concat(r,this.sourceToken):s.sep.push(this.sourceToken);else if(z(s.start,"newline"))Object.assign(s,{key:null,sep:[this.sourceToken]});else {let n=Me(s.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]});}else s.sep?s.value||i?e.items.push({start:r,key:null,sep:[this.sourceToken]}):z(s.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):s.sep.push(this.sourceToken):Object.assign(s,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);i||s.value?(e.items.push({start:r,key:n,sep:[]}),this.onKeyLine=!0):s.sep?this.stack.push(n):(Object.assign(s,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let n=this.startBlockValue(e);if(n){i&&n.type!=="block-seq"&&z(s.start,"explicit-key-ind")&&e.items.push({start:r}),this.stack.push(n);return}}}}yield*this.pop(),yield*this.step();}*blockSequence(e){let s=e.items[e.items.length-1];switch(this.type){case"newline":if(s.value){let i="end"in s.value?s.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):e.items.push({start:[this.sourceToken]});}else s.start.push(this.sourceToken);return;case"space":case"comment":if(s.value)e.items.push({start:[this.sourceToken]});else {if(this.atIndentedComment(s.start,e.indent)){let r=e.items[e.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,s.start),r.push(this.sourceToken),e.items.pop();return}}s.start.push(this.sourceToken);}return;case"anchor":case"tag":if(s.value||this.indent<=e.indent)break;s.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;s.value||z(s.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):s.start.push(this.sourceToken);return}if(this.indent>e.indent){let i=this.startBlockValue(e);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step();}*flowCollection(e){let s=e.items[e.items.length-1];if(this.type==="flow-error-end"){let i;do yield*this.pop(),i=this.peek(1);while(i&&i.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!s||s.sep?e.items.push({start:[this.sourceToken]}):s.start.push(this.sourceToken);return;case"map-value-ind":!s||s.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):s.sep?s.sep.push(this.sourceToken):Object.assign(s,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!s||s.value?e.items.push({start:[this.sourceToken]}):s.sep?s.sep.push(this.sourceToken):s.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let r=this.flowScalar(this.type);!s||s.value?e.items.push({start:[],key:r,sep:[]}):s.sep?this.stack.push(r):Object.assign(s,{key:r,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let i=this.startBlockValue(e);i?this.stack.push(i):(yield*this.pop(),yield*this.step());}else {let i=this.peek(2);if(i.type==="block-map"&&(this.type==="map-value-ind"&&i.indent===e.indent||this.type==="newline"&&!i.items[i.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&i.type!=="flow-collection"){let r=ws(i),n=Me(r);Na(e);let o=e.end.splice(1,e.end.length);o.push(this.sourceToken);let a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a;}else yield*this.lineEnd(e);}}flowScalar(e){if(this.onNewLine){let s=this.source.indexOf(`
148
147
  `)+1;for(;s!==0;)this.onNewLine(this.offset+s),s=this.source.indexOf(`
149
- `,s)+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 s=Es(e),i=Ge(s);return i.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i}]}}case"map-value-ind":{this.onKeyLine=!0;let s=Es(e),i=Ge(s);return {type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,s){return this.type!=="comment"||this.indent<=s?!1:e.every(i=>i.type==="newline"||i.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(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;case"space":case"comment":default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop());}}};$a.Parser=pr;});var qa=chunkPWMRAKYI_cjs.b(Lt=>{chunkPWMRAKYI_cjs.d();var Ra=Zi(),Rd=pt(),vt=gt(),Fd=Xs(),_d=hr(),Fa=dr();function _a(t){let e=t.prettyErrors!==!1;return {lineCounter:t.lineCounter||e&&new _d.LineCounter||null,prettyErrors:e}}function Md(t,e={}){let{lineCounter:s,prettyErrors:i}=_a(e),r=new Fa.Parser(s?.addNewLine),n=new Ra.Composer(e),o=Array.from(n.compose(r.parse(t)));if(i&&s)for(let a of o)a.errors.forEach(vt.prettifyError(t,s)),a.warnings.forEach(vt.prettifyError(t,s));return o.length>0?o:Object.assign([],{empty:!0},n.streamInfo())}function Ma(t,e={}){let{lineCounter:s,prettyErrors:i}=_a(e),r=new Fa.Parser(s?.addNewLine),n=new Ra.Composer(e),o=null;for(let a of n.compose(r.parse(t),!0,t.length))if(!o)o=a;else if(o.options.logLevel!=="silent"){o.errors.push(new vt.YAMLParseError(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return i&&s&&(o.errors.forEach(vt.prettifyError(t,s)),o.warnings.forEach(vt.prettifyError(t,s))),o}function qd(t,e,s){let i;typeof e=="function"?i=e:s===void 0&&e&&typeof e=="object"&&(s=e);let r=Ma(t,s);if(!r)return null;if(r.warnings.forEach(n=>Fd.warn(r.options.logLevel,n)),r.errors.length>0){if(r.options.logLevel!=="silent")throw r.errors[0];r.errors=[];}return r.toJS(Object.assign({reviver:i},s))}function xd(t,e,s){let i=null;if(typeof e=="function"||Array.isArray(e)?i=e:s===void 0&&e&&(s=e),typeof s=="string"&&(s=s.length),typeof s=="number"){let r=Math.round(s);s=r<1?void 0:r>8?{indent:8}:{indent:r};}if(t===void 0){let{keepUndefined:r}=s??e??{};if(!r)return}return new Rd.Document(t,i,s).toString(s)}Lt.parse=qd;Lt.parseAllDocuments=Md;Lt.parseDocument=Ma;Lt.stringify=xd;});var Ba=chunkPWMRAKYI_cjs.b(D=>{chunkPWMRAKYI_cjs.d();var Bd=Zi(),Ud=pt(),Gd=$i(),mr=gt(),jd=Ze(),me=T(),Yd=ue(),Wd=_(),Kd=pe(),Jd=de(),zd=Ls(),Hd=fr(),Vd=hr(),Xd=dr(),As=qa(),xa=He();D.Composer=Bd.Composer;D.Document=Ud.Document;D.Schema=Gd.Schema;D.YAMLError=mr.YAMLError;D.YAMLParseError=mr.YAMLParseError;D.YAMLWarning=mr.YAMLWarning;D.Alias=jd.Alias;D.isAlias=me.isAlias;D.isCollection=me.isCollection;D.isDocument=me.isDocument;D.isMap=me.isMap;D.isNode=me.isNode;D.isPair=me.isPair;D.isScalar=me.isScalar;D.isSeq=me.isSeq;D.Pair=Yd.Pair;D.Scalar=Wd.Scalar;D.YAMLMap=Kd.YAMLMap;D.YAMLSeq=Jd.YAMLSeq;D.CST=zd;D.Lexer=Hd.Lexer;D.LineCounter=Vd.LineCounter;D.Parser=Xd.Parser;D.parse=As.parse;D.parseAllDocuments=As.parseAllDocuments;D.parseDocument=As.parseDocument;D.stringify=As.stringify;D.visit=xa.visit;D.visitAsync=xa.visitAsync;});var gr=chunkPWMRAKYI_cjs.b((O1,ol)=>{chunkPWMRAKYI_cjs.d();var Um=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};ol.exports=Um;});var yr=chunkPWMRAKYI_cjs.b((k1,al)=>{chunkPWMRAKYI_cjs.d();var Gm="2.0.0",jm=Number.MAX_SAFE_INTEGER||9007199254740991,Ym=16,Wm=250,Km=["major","premajor","minor","preminor","patch","prepatch","prerelease"];al.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Ym,MAX_SAFE_BUILD_LENGTH:Wm,MAX_SAFE_INTEGER:jm,RELEASE_TYPES:Km,SEMVER_SPEC_VERSION:Gm,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};});var cl=chunkPWMRAKYI_cjs.b((ne,ll)=>{chunkPWMRAKYI_cjs.d();var{MAX_SAFE_COMPONENT_LENGTH:br,MAX_SAFE_BUILD_LENGTH:Jm,MAX_LENGTH:zm}=yr(),Hm=gr();ne=ll.exports={};var Vm=ne.re=[],Xm=ne.safeRe=[],E=ne.src=[],A=ne.t={},Qm=0,wr="[a-zA-Z0-9-]",Zm=[["\\s",1],["\\d",zm],[wr,Jm]],eg=t=>{for(let[e,s]of Zm)t=t.split(`${e}*`).join(`${e}{0,${s}}`).split(`${e}+`).join(`${e}{1,${s}}`);return t},P=(t,e,s)=>{let i=eg(e),r=Qm++;Hm(t,r,e),A[t]=r,E[r]=e,Vm[r]=new RegExp(e,s?"g":void 0),Xm[r]=new RegExp(i,s?"g":void 0);};P("NUMERICIDENTIFIER","0|[1-9]\\d*");P("NUMERICIDENTIFIERLOOSE","\\d+");P("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${wr}*`);P("MAINVERSION",`(${E[A.NUMERICIDENTIFIER]})\\.(${E[A.NUMERICIDENTIFIER]})\\.(${E[A.NUMERICIDENTIFIER]})`);P("MAINVERSIONLOOSE",`(${E[A.NUMERICIDENTIFIERLOOSE]})\\.(${E[A.NUMERICIDENTIFIERLOOSE]})\\.(${E[A.NUMERICIDENTIFIERLOOSE]})`);P("PRERELEASEIDENTIFIER",`(?:${E[A.NUMERICIDENTIFIER]}|${E[A.NONNUMERICIDENTIFIER]})`);P("PRERELEASEIDENTIFIERLOOSE",`(?:${E[A.NUMERICIDENTIFIERLOOSE]}|${E[A.NONNUMERICIDENTIFIER]})`);P("PRERELEASE",`(?:-(${E[A.PRERELEASEIDENTIFIER]}(?:\\.${E[A.PRERELEASEIDENTIFIER]})*))`);P("PRERELEASELOOSE",`(?:-?(${E[A.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${E[A.PRERELEASEIDENTIFIERLOOSE]})*))`);P("BUILDIDENTIFIER",`${wr}+`);P("BUILD",`(?:\\+(${E[A.BUILDIDENTIFIER]}(?:\\.${E[A.BUILDIDENTIFIER]})*))`);P("FULLPLAIN",`v?${E[A.MAINVERSION]}${E[A.PRERELEASE]}?${E[A.BUILD]}?`);P("FULL",`^${E[A.FULLPLAIN]}$`);P("LOOSEPLAIN",`[v=\\s]*${E[A.MAINVERSIONLOOSE]}${E[A.PRERELEASELOOSE]}?${E[A.BUILD]}?`);P("LOOSE",`^${E[A.LOOSEPLAIN]}$`);P("GTLT","((?:<|>)?=?)");P("XRANGEIDENTIFIERLOOSE",`${E[A.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);P("XRANGEIDENTIFIER",`${E[A.NUMERICIDENTIFIER]}|x|X|\\*`);P("XRANGEPLAIN",`[v=\\s]*(${E[A.XRANGEIDENTIFIER]})(?:\\.(${E[A.XRANGEIDENTIFIER]})(?:\\.(${E[A.XRANGEIDENTIFIER]})(?:${E[A.PRERELEASE]})?${E[A.BUILD]}?)?)?`);P("XRANGEPLAINLOOSE",`[v=\\s]*(${E[A.XRANGEIDENTIFIERLOOSE]})(?:\\.(${E[A.XRANGEIDENTIFIERLOOSE]})(?:\\.(${E[A.XRANGEIDENTIFIERLOOSE]})(?:${E[A.PRERELEASELOOSE]})?${E[A.BUILD]}?)?)?`);P("XRANGE",`^${E[A.GTLT]}\\s*${E[A.XRANGEPLAIN]}$`);P("XRANGELOOSE",`^${E[A.GTLT]}\\s*${E[A.XRANGEPLAINLOOSE]}$`);P("COERCEPLAIN",`(^|[^\\d])(\\d{1,${br}})(?:\\.(\\d{1,${br}}))?(?:\\.(\\d{1,${br}}))?`);P("COERCE",`${E[A.COERCEPLAIN]}(?:$|[^\\d])`);P("COERCEFULL",E[A.COERCEPLAIN]+`(?:${E[A.PRERELEASE]})?(?:${E[A.BUILD]})?(?:$|[^\\d])`);P("COERCERTL",E[A.COERCE],!0);P("COERCERTLFULL",E[A.COERCEFULL],!0);P("LONETILDE","(?:~>?)");P("TILDETRIM",`(\\s*)${E[A.LONETILDE]}\\s+`,!0);ne.tildeTrimReplace="$1~";P("TILDE",`^${E[A.LONETILDE]}${E[A.XRANGEPLAIN]}$`);P("TILDELOOSE",`^${E[A.LONETILDE]}${E[A.XRANGEPLAINLOOSE]}$`);P("LONECARET","(?:\\^)");P("CARETTRIM",`(\\s*)${E[A.LONECARET]}\\s+`,!0);ne.caretTrimReplace="$1^";P("CARET",`^${E[A.LONECARET]}${E[A.XRANGEPLAIN]}$`);P("CARETLOOSE",`^${E[A.LONECARET]}${E[A.XRANGEPLAINLOOSE]}$`);P("COMPARATORLOOSE",`^${E[A.GTLT]}\\s*(${E[A.LOOSEPLAIN]})$|^$`);P("COMPARATOR",`^${E[A.GTLT]}\\s*(${E[A.FULLPLAIN]})$|^$`);P("COMPARATORTRIM",`(\\s*)${E[A.GTLT]}\\s*(${E[A.LOOSEPLAIN]}|${E[A.XRANGEPLAIN]})`,!0);ne.comparatorTrimReplace="$1$2$3";P("HYPHENRANGE",`^\\s*(${E[A.XRANGEPLAIN]})\\s+-\\s+(${E[A.XRANGEPLAIN]})\\s*$`);P("HYPHENRANGELOOSE",`^\\s*(${E[A.XRANGEPLAINLOOSE]})\\s+-\\s+(${E[A.XRANGEPLAINLOOSE]})\\s*$`);P("STAR","(<|>)?=?\\s*\\*");P("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");P("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");});var ul=chunkPWMRAKYI_cjs.b((D1,fl)=>{chunkPWMRAKYI_cjs.d();var tg=Object.freeze({loose:!0}),sg=Object.freeze({}),ig=t=>t?typeof t!="object"?tg:t:sg;fl.exports=ig;});var ml=chunkPWMRAKYI_cjs.b((R1,dl)=>{chunkPWMRAKYI_cjs.d();var hl=/^[0-9]+$/,pl=(t,e)=>{let s=hl.test(t),i=hl.test(e);return s&&i&&(t=+t,e=+e),t===e?0:s&&!i?-1:i&&!s?1:t<e?-1:1},rg=(t,e)=>pl(e,t);dl.exports={compareIdentifiers:pl,rcompareIdentifiers:rg};});var Sl=chunkPWMRAKYI_cjs.b((_1,wl)=>{chunkPWMRAKYI_cjs.d();var Ns=gr(),{MAX_LENGTH:gl,MAX_SAFE_INTEGER:Cs}=yr(),{safeRe:yl,t:bl}=cl(),ng=ul(),{compareIdentifiers:je}=ml(),Sr=class t{constructor(e,s){if(s=ng(s),e instanceof t){if(e.loose===!!s.loose&&e.includePrerelease===!!s.includePrerelease)return e;e=e.version;}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>gl)throw new TypeError(`version is longer than ${gl} characters`);Ns("SemVer",e,s),this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease;let i=e.trim().match(s.loose?yl[bl.LOOSE]:yl[bl.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>Cs||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Cs||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Cs||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let n=+r;if(n>=0&&n<Cs)return n}return r}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format();}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Ns("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options);}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),je(this.major,e.major)||je(this.minor,e.minor)||je(this.patch,e.patch)}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return -1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let s=0;do{let i=this.prerelease[s],r=e.prerelease[s];if(Ns("prerelease compare",s,i,r),i===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(i===void 0)return -1;if(i===r)continue;return je(i,r)}while(++s)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let s=0;do{let i=this.build[s],r=e.build[s];if(Ns("prerelease compare",s,i,r),i===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(i===void 0)return -1;if(i===r)continue;return je(i,r)}while(++s)}inc(e,s,i){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",s,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",s,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",s,i),this.inc("pre",s,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",s,i),this.inc("pre",s,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let r=Number(i)?1:0;if(!s&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[r];else {let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);if(n===-1){if(s===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r);}}if(s){let n=[s,r];i===!1&&(n=[s]),je(this.prerelease[0],s)===0?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};wl.exports=Sr;});var vr=chunkPWMRAKYI_cjs.b((q1,Ll)=>{chunkPWMRAKYI_cjs.d();var vl=Sl(),og=(t,e,s=!1)=>{if(t instanceof vl)return t;try{return new vl(t,e)}catch(i){if(!s)return null;throw i}};Ll.exports=og;});var Al=chunkPWMRAKYI_cjs.b((B1,El)=>{chunkPWMRAKYI_cjs.d();var ag=vr(),lg=(t,e)=>{let s=ag(t,e);return s?s.version:null};El.exports=lg;});var Cl=chunkPWMRAKYI_cjs.b((G1,Nl)=>{chunkPWMRAKYI_cjs.d();var cg=vr(),fg=(t,e)=>{let s=cg(t.trim().replace(/^[=v]+/,""),e);return s?s.version:null};Nl.exports=fg;});var Lr=chunkPWMRAKYI_cjs.b((Y1,ug)=>{ug.exports=["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Glyph","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Protection","BSD-Source-Code","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Borceux","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Crossword","CrystalStacker","Cube","D-FSL-1.0","DL-DE-BY-2.0","DOC","DRL-1.0","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FDK-AAC","FSFAP","FSFUL","FSFULLR","FSFULLRWD","FTL","Fair","Frameworx-1.0","FreeBSD-DOC","FreeImage","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","Graphics-Gems","HP-1986","HPND","HPND-Markus-Kuhn","HPND-export-US","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ImageMagick","Imlib2","Info-ZIP","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-copyleft","MIT","MIT-0","MIT-CMU","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MITNFA","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","MakeIndex","Martin-Birgmeier","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OML","OPL-1.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TU-Berlin-1.0","TU-Berlin-2.0","UCAR","UCL-1.0","UPL-1.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Wsuipa","X11","X11-distribute-modifications-variant","XFree86-1.1","XSkat","Xerox","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","blessing","bzip2-1.0.6","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dvipdfm","eGenix","etalab-2.0","gSOAP-1.3b","gnuplot","iMatix","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","mpi-permissive","mpich2","mplus","psfrag","psutils","snprintf","w3m","xinetd","xlock","xpp","zlib-acknowledgement"];});var Ol=chunkPWMRAKYI_cjs.b((W1,hg)=>{hg.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Nunit","StandardML-NJ","bzip2-1.0.5","eCos-2.0","wxWindows"];});var Pl=chunkPWMRAKYI_cjs.b((K1,pg)=>{pg.exports=["389-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-3.1","gnu-javamail-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","i2p-gpl-java-exception","Libtool-exception","Linux-syscall-note","LLVM-exception","LZMA-exception","mif-exception","Nokia-Qt-exception-1.1","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","Swift-exception","u-boot-exception-2.0","Universal-FOSS-exception-1.0","WxWindows-exception-3.1"];});var Il=chunkPWMRAKYI_cjs.b((J1,kl)=>{chunkPWMRAKYI_cjs.d();var dg=[].concat(Lr()).concat(Ol()),mg=Pl();kl.exports=function(t){var e=0;function s(){return e<t.length}function i(y){if(y instanceof RegExp){var h=t.slice(e),m=h.match(y);if(m)return e+=m[0].length,m[0]}else if(t.indexOf(y,e)===e)return e+=y.length,y}function r(){i(/[ ]*/);}function n(){for(var y,h=["WITH","AND","OR","(",")",":","+"],m=0;m<h.length&&(y=i(h[m]),!y);m++);if(y==="+"&&e>1&&t[e-2]===" ")throw new Error("Space before `+`");return y&&{type:"OPERATOR",string:y}}function o(){return i(/[A-Za-z0-9-.]+/)}function a(){var y=o();if(!y)throw new Error("Expected idstring at offset "+e);return y}function l(){if(i("DocumentRef-")){var y=a();return {type:"DOCUMENTREF",string:y}}}function c(){if(i("LicenseRef-")){var y=a();return {type:"LICENSEREF",string:y}}}function d(){var y=e,h=o();if(dg.indexOf(h)!==-1)return {type:"LICENSE",string:h};if(mg.indexOf(h)!==-1)return {type:"EXCEPTION",string:h};e=y;}function u(){return n()||l()||c()||d()}for(var p=[];s()&&(r(),!!s());){var g=u();if(!g)throw new Error("Unexpected `"+t[e]+"` at offset "+e);p.push(g);}return p};});var Dl=chunkPWMRAKYI_cjs.b((H1,Tl)=>{chunkPWMRAKYI_cjs.d();Tl.exports=function(t){var e=0;function s(){return e<t.length}function i(){return s()?t[e]:null}function r(){if(!s())throw new Error;e++;}function n(h){var m=i();if(m&&m.type==="OPERATOR"&&h===m.string)return r(),m.string}function o(){if(n("WITH")){var h=i();if(h&&h.type==="EXCEPTION")return r(),h.string;throw new Error("Expected exception after `WITH`")}}function a(){var h=e,m="",S=i();if(S.type==="DOCUMENTREF"&&(r(),m+="DocumentRef-"+S.string+":",!n(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(S=i(),S.type==="LICENSEREF")return r(),m+="LicenseRef-"+S.string,{license:m};e=h;}function l(){var h=i();if(h&&h.type==="LICENSE"){r();var m={license:h.string};n("+")&&(m.plus=!0);var S=o();return S&&(m.exception=S),m}}function c(){var h=n("(");if(h){var m=g();if(!n(")"))throw new Error("Expected `)`");return m}}function d(){return c()||a()||l()}function u(h,m){return function S(){var L=m();if(L){if(!n(h))return L;var C=S();if(!C)throw new Error("Expected expression");return {left:L,conjunction:h.toLowerCase(),right:C}}}}var p=u("AND",d),g=u("OR",p),y=g();if(!y||s())throw new Error("Syntax error");return y};});var Er=chunkPWMRAKYI_cjs.b((X1,$l)=>{chunkPWMRAKYI_cjs.d();var gg=Il(),yg=Dl();$l.exports=function(t){return yg(gg(t))};});var Gl=chunkPWMRAKYI_cjs.b((Z1,Ul)=>{chunkPWMRAKYI_cjs.d();var bg=Er(),wg=Lr();function Os(t){try{return bg(t),!0}catch{return !1}}function Bl(t,e){var s=e[0].length-t[0].length;return s!==0?s:t[0].toUpperCase().localeCompare(e[0].toUpperCase())}var Rl=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU LGPL","LGPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL"],["GNU Lesser General Public License","LGPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["GNU Lesser General Public License","LGPL-2.1"],["LESSER GENERAL PUBLIC LICENSE","LGPL"],["Lesser General Public License","LGPL"],["LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["Lesser General Public License","LGPL-2.1"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["WTFGPL","WTFPL"],["-License",""]].sort(Bl),Sg=0,vg=1,Fl=[function(t){return t.toUpperCase()},function(t){return t.trim()},function(t){return t.replace(/\./g,"")},function(t){return t.replace(/\s+/g,"")},function(t){return t.replace(/\s+/g,"-")},function(t){return t.replace("v","-")},function(t){return t.replace(/,?\s*(\d)/,"-$1")},function(t){return t.replace(/,?\s*(\d)/,"-$1.0")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(t){return t[0].toUpperCase()+t.slice(1)},function(t){return t.replace("/","-")},function(t){return t.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(t){return t.indexOf("3.0")!==-1?t+"-or-later":t+"-only"},function(t){return t+"only"},function(t){return t.replace(/(\d)$/,"-$1.0")},function(t){return t.replace(/(-| )?(\d)$/,"-$2-Clause")},function(t){return t.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(t){return t.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(t){return t.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(t){return t.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(t){return t.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(t){return t.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(t){return "CC-"+t},function(t){return "CC-"+t+"-4.0"},function(t){return t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(t){return "CC-"+t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],Ar=wg.map(function(t){var e=/^(.*)-\d+\.\d+$/.exec(t);return e?[e[0],e[1]]:[t,null]}).reduce(function(t,e){var s=e[1];return t[s]=t[s]||[],t[s].push(e[0]),t},{}),Lg=Object.keys(Ar).map(function(e){return [e,Ar[e]]}).filter(function(e){return e[1].length===1&&e[0]!==null&&e[0]!=="APL"}).map(function(e){return [e[0],e[1][0]]});Ar=void 0;var _l=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(Lg).sort(Bl),Eg=0,Ag=1,Ml=function(t){for(var e=0;e<Fl.length;e++){var s=Fl[e](t).trim();if(s!==t&&Os(s))return s}return null},ql=function(t){for(var e=t.toUpperCase(),s=0;s<_l.length;s++){var i=_l[s];if(e.indexOf(i[Eg])>-1)return i[Ag]}return null},xl=function(t,e){for(var s=0;s<Rl.length;s++){var i=Rl[s],r=i[Sg];if(t.indexOf(r)>-1){var n=t.replace(r,i[vg]),o=e(n);if(o!==null)return o}}return null};Ul.exports=function(t,e){e=e||{};var s=e.upgrade===void 0?!0:!!e.upgrade;function i(a){return s?Ng(a):a}var r=typeof t=="string"&&t.trim().length!==0;if(!r)throw Error("Invalid argument. Expected non-empty string.");if(t=t.trim(),Os(t))return i(t);var n=t.replace(/\+$/,"").trim();if(Os(n))return i(n);var o=Ml(t);return o!==null||(o=xl(t,function(a){return Os(a)?a:Ml(a)}),o!==null)||(o=ql(t),o!==null)||(o=xl(t,ql),o!==null)?i(o):null};function Ng(t){return ["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(t)!==-1?t+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(t)!==-1?t.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(t)!==-1?t+"-or-later":t}});var Kl=chunkPWMRAKYI_cjs.b((t0,Wl)=>{chunkPWMRAKYI_cjs.d();var Cg=Er(),Og=Gl(),jl='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"',Pg=/^SEE LICEN[CS]E IN (.+)$/;function Yl(t,e){return e.slice(0,t.length)===t}function Nr(t){if(t.hasOwnProperty("license")){var e=t.license;return Yl("LicenseRef",e)||Yl("DocumentRef",e)}else return Nr(t.left)||Nr(t.right)}Wl.exports=function(t){var e;try{e=Cg(t);}catch{var s;if(t==="UNLICENSED"||t==="UNLICENCED")return {validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(s=Pg.exec(t))return {validForOldPackages:!0,validForNewPackages:!0,inFile:s[1]};var i={validForOldPackages:!1,validForNewPackages:!1,warnings:[jl]};if(t.trim().length!==0){var r=Og(t);r&&i.warnings.push('license is similar to the valid expression "'+r+'"');}return i}return Nr(e)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[jl]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}};});var Xl=chunkPWMRAKYI_cjs.b(ks=>{chunkPWMRAKYI_cjs.d();Object.defineProperty(ks,"__esModule",{value:!0});ks.LRUCache=void 0;var Nt=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,zl=new Set,Cr=typeof process=="object"&&process?process:{},Hl=(t,e,s,i)=>{typeof Cr.emitWarning=="function"?Cr.emitWarning(t,e,s,i):console.error(`[${s}] ${e}: ${t}`);},Ps=globalThis.AbortController,Jl=globalThis.AbortSignal;if(typeof Ps>"u"){Jl=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,r){this._onabort.push(r);}},Ps=class{constructor(){e();}signal=new Jl;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let r of this.signal._onabort)r(i);this.signal.onabort?.(i);}}};let t=Cr.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,Hl("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e));};}var kg=t=>!zl.has(t),be=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),Vl=t=>be(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Ye:null:null,Ye=class extends Array{constructor(e){super(e),this.fill(0);}},Or=class t{heap;length;static#i=!1;static create(e){let s=Vl(e);if(!s)return [];t.#i=!0;let i=new t(e,s);return t.#i=!1,i}constructor(e,s){if(!t.#i)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new s(e),this.length=0;}push(e){this.heap[this.length++]=e;}pop(){return this.heap[--this.length]}},Pr=class t{#i;#c;#t;#m;#k;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#g;#o;#r;#e;#u;#p;#f;#a;#y;#l;#L;#E;#b;#w;#N;#h;static unsafeExposeInternals(e){return {starts:e.#E,ttls:e.#b,sizes:e.#L,keyMap:e.#o,keyList:e.#r,valList:e.#e,next:e.#u,prev:e.#p,get head(){return e.#f},get tail(){return e.#a},free:e.#y,isBackgroundFetch:s=>e.#s(s),backgroundFetch:(s,i,r,n)=>e.#D(s,i,r,n),moveToTail:s=>e.#P(s),indexes:s=>e.#S(s),rindexes:s=>e.#v(s),isStale:s=>e.#d(s)}}get max(){return this.#i}get maxSize(){return this.#c}get calculatedSize(){return this.#g}get size(){return this.#n}get fetchMethod(){return this.#k}get dispose(){return this.#t}get disposeAfter(){return this.#m}constructor(e){let{max:s=0,ttl:i,ttlResolution:r=1,ttlAutopurge:n,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:l,dispose:c,disposeAfter:d,noDisposeOnSet:u,noUpdateTTL:p,maxSize:g=0,maxEntrySize:y=0,sizeCalculation:h,fetchMethod:m,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:L,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:N,ignoreFetchAbort:O}=e;if(s!==0&&!be(s))throw new TypeError("max option must be a nonnegative integer");let v=s?Vl(s):Array;if(!v)throw new Error("invalid max value: "+s);if(this.#i=s,this.#c=g,this.maxEntrySize=y||this.#c,this.sizeCalculation=h,this.sizeCalculation){if(!this.#c&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(m!==void 0&&typeof m!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#k=m,this.#N=!!m,this.#o=new Map,this.#r=new Array(s).fill(void 0),this.#e=new Array(s).fill(void 0),this.#u=new v(s),this.#p=new v(s),this.#f=0,this.#a=0,this.#y=Or.create(s),this.#n=0,this.#g=0,typeof c=="function"&&(this.#t=c),typeof d=="function"?(this.#m=d,this.#l=[]):(this.#m=void 0,this.#l=void 0),this.#w=!!this.#t,this.#h=!!this.#m,this.noDisposeOnSet=!!u,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!N,this.ignoreFetchAbort=!!O,this.maxEntrySize!==0){if(this.#c!==0&&!be(this.#c))throw new TypeError("maxSize must be a positive integer if specified");if(!be(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#q();}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!L,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=be(r)||r===0?r:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!be(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#$();}if(this.#i===0&&this.ttl===0&&this.#c===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#i&&!this.#c){let k="LRU_CACHE_UNBOUNDED";kg(k)&&(zl.add(k),Hl("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",k,t));}}getRemainingTTL(e){return this.#o.has(e)?1/0:0}#$(){let e=new Ye(this.#i),s=new Ye(this.#i);this.#b=e,this.#E=s,this.#R=(n,o,a=Nt.now())=>{if(s[n]=o!==0?a:0,e[n]=o,o!==0&&this.ttlAutopurge){let l=setTimeout(()=>{this.#d(n)&&this.delete(this.#r[n]);},o+1);l.unref&&l.unref();}},this.#C=n=>{s[n]=e[n]!==0?Nt.now():0;},this.#A=(n,o)=>{if(e[o]){let a=e[o],l=s[o];n.ttl=a,n.start=l,n.now=i||r();let c=n.now-l;n.remainingTTL=a-c;}};let i=0,r=()=>{let n=Nt.now();if(this.ttlResolution>0){i=n;let o=setTimeout(()=>i=0,this.ttlResolution);o.unref&&o.unref();}return n};this.getRemainingTTL=n=>{let o=this.#o.get(n);if(o===void 0)return 0;let a=e[o],l=s[o];if(a===0||l===0)return 1/0;let c=(i||r())-l;return a-c},this.#d=n=>e[n]!==0&&s[n]!==0&&(i||r())-s[n]>e[n];}#C=()=>{};#A=()=>{};#R=()=>{};#d=()=>!1;#q(){let e=new Ye(this.#i);this.#g=0,this.#L=e,this.#O=s=>{this.#g-=e[s],e[s]=0;},this.#F=(s,i,r,n)=>{if(this.#s(i))return 0;if(!be(r))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(r=n(i,s),!be(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r},this.#I=(s,i,r)=>{if(e[s]=i,this.#c){let n=this.#c-e[s];for(;this.#g>n;)this.#T(!0);}this.#g+=e[s],r&&(r.entrySize=i,r.totalCalculatedSize=this.#g);};}#O=e=>{};#I=(e,s,i)=>{};#F=(e,s,i,r)=>{if(i||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#S({allowStale:e=this.allowStale}={}){if(this.#n)for(let s=this.#a;!(!this.#_(s)||((e||!this.#d(s))&&(yield s),s===this.#f));)s=this.#p[s];}*#v({allowStale:e=this.allowStale}={}){if(this.#n)for(let s=this.#f;!(!this.#_(s)||((e||!this.#d(s))&&(yield s),s===this.#a));)s=this.#u[s];}#_(e){return e!==void 0&&this.#o.get(this.#r[e])===e}*entries(){for(let e of this.#S())this.#e[e]!==void 0&&this.#r[e]!==void 0&&!this.#s(this.#e[e])&&(yield [this.#r[e],this.#e[e]]);}*rentries(){for(let e of this.#v())this.#e[e]!==void 0&&this.#r[e]!==void 0&&!this.#s(this.#e[e])&&(yield [this.#r[e],this.#e[e]]);}*keys(){for(let e of this.#S()){let s=this.#r[e];s!==void 0&&!this.#s(this.#e[e])&&(yield s);}}*rkeys(){for(let e of this.#v()){let s=this.#r[e];s!==void 0&&!this.#s(this.#e[e])&&(yield s);}}*values(){for(let e of this.#S())this.#e[e]!==void 0&&!this.#s(this.#e[e])&&(yield this.#e[e]);}*rvalues(){for(let e of this.#v())this.#e[e]!==void 0&&!this.#s(this.#e[e])&&(yield this.#e[e]);}[Symbol.iterator](){return this.entries()}find(e,s={}){for(let i of this.#S()){let r=this.#e[i],n=this.#s(r)?r.__staleWhileFetching:r;if(n!==void 0&&e(n,this.#r[i],this))return this.get(this.#r[i],s)}}forEach(e,s=this){for(let i of this.#S()){let r=this.#e[i],n=this.#s(r)?r.__staleWhileFetching:r;n!==void 0&&e.call(s,n,this.#r[i],this);}}rforEach(e,s=this){for(let i of this.#v()){let r=this.#e[i],n=this.#s(r)?r.__staleWhileFetching:r;n!==void 0&&e.call(s,n,this.#r[i],this);}}purgeStale(){let e=!1;for(let s of this.#v({allowStale:!0}))this.#d(s)&&(this.delete(this.#r[s]),e=!0);return e}dump(){let e=[];for(let s of this.#S({allowStale:!0})){let i=this.#r[s],r=this.#e[s],n=this.#s(r)?r.__staleWhileFetching:r;if(n===void 0||i===void 0)continue;let o={value:n};if(this.#b&&this.#E){o.ttl=this.#b[s];let a=Nt.now()-this.#E[s];o.start=Math.floor(Date.now()-a);}this.#L&&(o.size=this.#L[s]),e.unshift([i,o]);}return e}load(e){this.clear();for(let[s,i]of e){if(i.start){let r=Date.now()-i.start;i.start=Nt.now()-r;}this.set(s,i.value,i);}}set(e,s,i={}){if(s===void 0)return this.delete(e),this;let{ttl:r=this.ttl,start:n,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:l}=i,{noUpdateTTL:c=this.noUpdateTTL}=i,d=this.#F(e,s,i.size||0,a);if(this.maxEntrySize&&d>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(e),this;let u=this.#n===0?void 0:this.#o.get(e);if(u===void 0)u=this.#n===0?this.#a:this.#y.length!==0?this.#y.pop():this.#n===this.#i?this.#T(!1):this.#n,this.#r[u]=e,this.#e[u]=s,this.#o.set(e,u),this.#u[this.#a]=u,this.#p[u]=this.#a,this.#a=u,this.#n++,this.#I(u,d,l),l&&(l.set="add"),c=!1;else {this.#P(u);let p=this.#e[u];if(s!==p){if(this.#N&&this.#s(p)){p.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:g}=p;g!==void 0&&!o&&(this.#w&&this.#t?.(g,e,"set"),this.#h&&this.#l?.push([g,e,"set"]));}else o||(this.#w&&this.#t?.(p,e,"set"),this.#h&&this.#l?.push([p,e,"set"]));if(this.#O(u),this.#I(u,d,l),this.#e[u]=s,l){l.set="replace";let g=p&&this.#s(p)?p.__staleWhileFetching:p;g!==void 0&&(l.oldValue=g);}}else l&&(l.set="update");}if(r!==0&&!this.#b&&this.#$(),this.#b&&(c||this.#R(u,r,n),l&&this.#A(l,u)),!o&&this.#h&&this.#l){let p=this.#l,g;for(;g=p?.shift();)this.#m?.(...g);}return this}pop(){try{for(;this.#n;){let e=this.#e[this.#f];if(this.#T(!0),this.#s(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#h&&this.#l){let e=this.#l,s;for(;s=e?.shift();)this.#m?.(...s);}}}#T(e){let s=this.#f,i=this.#r[s],r=this.#e[s];return this.#N&&this.#s(r)?r.__abortController.abort(new Error("evicted")):(this.#w||this.#h)&&(this.#w&&this.#t?.(r,i,"evict"),this.#h&&this.#l?.push([r,i,"evict"])),this.#O(s),e&&(this.#r[s]=void 0,this.#e[s]=void 0,this.#y.push(s)),this.#n===1?(this.#f=this.#a=0,this.#y.length=0):this.#f=this.#u[s],this.#o.delete(i),this.#n--,s}has(e,s={}){let{updateAgeOnHas:i=this.updateAgeOnHas,status:r}=s,n=this.#o.get(e);if(n!==void 0){let o=this.#e[n];if(this.#s(o)&&o.__staleWhileFetching===void 0)return !1;if(this.#d(n))r&&(r.has="stale",this.#A(r,n));else return i&&this.#C(n),r&&(r.has="hit",this.#A(r,n)),!0}else r&&(r.has="miss");return !1}peek(e,s={}){let{allowStale:i=this.allowStale}=s,r=this.#o.get(e);if(r!==void 0&&(i||!this.#d(r))){let n=this.#e[r];return this.#s(n)?n.__staleWhileFetching:n}}#D(e,s,i,r){let n=s===void 0?void 0:this.#e[s];if(this.#s(n))return n;let o=new Ps,{signal:a}=i;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let l={signal:o.signal,options:i,context:r},c=(h,m=!1)=>{let{aborted:S}=o.signal,L=i.ignoreFetchAbort&&h!==void 0;if(i.status&&(S&&!m?(i.status.fetchAborted=!0,i.status.fetchError=o.signal.reason,L&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),S&&!L&&!m)return u(o.signal.reason);let C=g;return this.#e[s]===g&&(h===void 0?C.__staleWhileFetching?this.#e[s]=C.__staleWhileFetching:this.delete(e):(i.status&&(i.status.fetchUpdated=!0),this.set(e,h,l.options))),h},d=h=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=h),u(h)),u=h=>{let{aborted:m}=o.signal,S=m&&i.allowStaleOnFetchAbort,L=S||i.allowStaleOnFetchRejection,C=L||i.noDeleteOnFetchRejection,N=g;if(this.#e[s]===g&&(!C||N.__staleWhileFetching===void 0?this.delete(e):S||(this.#e[s]=N.__staleWhileFetching)),L)return i.status&&N.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),N.__staleWhileFetching;if(N.__returned===N)throw h},p=(h,m)=>{let S=this.#k?.(e,n,l);S&&S instanceof Promise&&S.then(L=>h(L===void 0?void 0:L),m),o.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(h(void 0),i.allowStaleOnFetchAbort&&(h=L=>c(L,!0)));});};i.status&&(i.status.fetchDispatched=!0);let g=new Promise(p).then(c,d),y=Object.assign(g,{__abortController:o,__staleWhileFetching:n,__returned:void 0});return s===void 0?(this.set(e,y,{...l.options,status:void 0}),s=this.#o.get(e)):this.#e[s]=y,y}#s(e){if(!this.#N)return !1;let s=e;return !!s&&s instanceof Promise&&s.hasOwnProperty("__staleWhileFetching")&&s.__abortController instanceof Ps}async fetch(e,s={}){let{allowStale:i=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:l=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:u=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:g=this.ignoreFetchAbort,allowStaleOnFetchAbort:y=this.allowStaleOnFetchAbort,context:h,forceRefresh:m=!1,status:S,signal:L}=s;if(!this.#N)return S&&(S.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:r,noDeleteOnStaleGet:n,status:S});let C={allowStale:i,updateAgeOnGet:r,noDeleteOnStaleGet:n,ttl:o,noDisposeOnSet:a,size:l,sizeCalculation:c,noUpdateTTL:d,noDeleteOnFetchRejection:u,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:y,ignoreFetchAbort:g,status:S,signal:L},N=this.#o.get(e);if(N===void 0){S&&(S.fetch="miss");let O=this.#D(e,N,C,h);return O.__returned=O}else {let O=this.#e[N];if(this.#s(O)){let H=i&&O.__staleWhileFetching!==void 0;return S&&(S.fetch="inflight",H&&(S.returnedStale=!0)),H?O.__staleWhileFetching:O.__returned=O}let v=this.#d(N);if(!m&&!v)return S&&(S.fetch="hit"),this.#P(N),r&&this.#C(N),S&&this.#A(S,N),O;let k=this.#D(e,N,C,h),q=k.__staleWhileFetching!==void 0&&i;return S&&(S.fetch=v?"stale":"refresh",q&&v&&(S.returnedStale=!0)),q?k.__staleWhileFetching:k.__returned=k}}get(e,s={}){let{allowStale:i=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:o}=s,a=this.#o.get(e);if(a!==void 0){let l=this.#e[a],c=this.#s(l);return o&&this.#A(o,a),this.#d(a)?(o&&(o.get="stale"),c?(o&&i&&l.__staleWhileFetching!==void 0&&(o.returnedStale=!0),i?l.__staleWhileFetching:void 0):(n||this.delete(e),o&&i&&(o.returnedStale=!0),i?l:void 0)):(o&&(o.get="hit"),c?l.__staleWhileFetching:(this.#P(a),r&&this.#C(a),l))}else o&&(o.get="miss");}#M(e,s){this.#p[s]=e,this.#u[e]=s;}#P(e){e!==this.#a&&(e===this.#f?this.#f=this.#u[e]:this.#M(this.#p[e],this.#u[e]),this.#M(this.#a,e),this.#a=e);}delete(e){let s=!1;if(this.#n!==0){let i=this.#o.get(e);if(i!==void 0)if(s=!0,this.#n===1)this.clear();else {this.#O(i);let r=this.#e[i];this.#s(r)?r.__abortController.abort(new Error("deleted")):(this.#w||this.#h)&&(this.#w&&this.#t?.(r,e,"delete"),this.#h&&this.#l?.push([r,e,"delete"])),this.#o.delete(e),this.#r[i]=void 0,this.#e[i]=void 0,i===this.#a?this.#a=this.#p[i]:i===this.#f?this.#f=this.#u[i]:(this.#u[this.#p[i]]=this.#u[i],this.#p[this.#u[i]]=this.#p[i]),this.#n--,this.#y.push(i);}}if(this.#h&&this.#l?.length){let i=this.#l,r;for(;r=i?.shift();)this.#m?.(...r);}return s}clear(){for(let e of this.#v({allowStale:!0})){let s=this.#e[e];if(this.#s(s))s.__abortController.abort(new Error("deleted"));else {let i=this.#r[e];this.#w&&this.#t?.(s,i,"delete"),this.#h&&this.#l?.push([s,i,"delete"]);}}if(this.#o.clear(),this.#e.fill(void 0),this.#r.fill(void 0),this.#b&&this.#E&&(this.#b.fill(0),this.#E.fill(0)),this.#L&&this.#L.fill(0),this.#f=0,this.#a=0,this.#y.length=0,this.#g=0,this.#n=0,this.#h&&this.#l){let e=this.#l,s;for(;s=e?.shift();)this.#m?.(...s);}}};ks.LRUCache=Pr;});var ec=chunkPWMRAKYI_cjs.b((l0,Zl)=>{chunkPWMRAKYI_cjs.d();var I=(...t)=>t.every(e=>e)?t.join(""):"",M=t=>t?encodeURIComponent(t):"",Ql=t=>t.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),Ig={sshtemplate:({domain:t,user:e,project:s,committish:i})=>`git@${t}:${e}/${s}.git${I("#",i)}`,sshurltemplate:({domain:t,user:e,project:s,committish:i})=>`git+ssh://git@${t}/${e}/${s}.git${I("#",i)}`,edittemplate:({domain:t,user:e,project:s,committish:i,editpath:r,path:n})=>`https://${t}/${e}/${s}${I("/",r,"/",M(i||"HEAD"),"/",n)}`,browsetemplate:({domain:t,user:e,project:s,committish:i,treepath:r})=>`https://${t}/${e}/${s}${I("/",r,"/",M(i))}`,browsetreetemplate:({domain:t,user:e,project:s,committish:i,treepath:r,path:n,fragment:o,hashformat:a})=>`https://${t}/${e}/${s}/${r}/${M(i||"HEAD")}/${n}${I("#",a(o||""))}`,browseblobtemplate:({domain:t,user:e,project:s,committish:i,blobpath:r,path:n,fragment:o,hashformat:a})=>`https://${t}/${e}/${s}/${r}/${M(i||"HEAD")}/${n}${I("#",a(o||""))}`,docstemplate:({domain:t,user:e,project:s,treepath:i,committish:r})=>`https://${t}/${e}/${s}${I("/",i,"/",M(r))}#readme`,httpstemplate:({auth:t,domain:e,user:s,project:i,committish:r})=>`git+https://${I(t,"@")}${e}/${s}/${i}.git${I("#",r)}`,filetemplate:({domain:t,user:e,project:s,committish:i,path:r})=>`https://${t}/${e}/${s}/raw/${M(i||"HEAD")}/${r}`,shortcuttemplate:({type:t,user:e,project:s,committish:i})=>`${t}:${e}/${s}${I("#",i)}`,pathtemplate:({user:t,project:e,committish:s})=>`${t}/${e}${I("#",s)}`,bugstemplate:({domain:t,user:e,project:s})=>`https://${t}/${e}/${s}/issues`,hashformat:Ql},we={};we.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:t,user:e,project:s,committish:i,path:r})=>`https://${I(t,"@")}raw.githubusercontent.com/${e}/${s}/${M(i||"HEAD")}/${r}`,gittemplate:({auth:t,domain:e,user:s,project:i,committish:r})=>`git://${I(t,"@")}${e}/${s}/${i}.git${I("#",r)}`,tarballtemplate:({domain:t,user:e,project:s,committish:i})=>`https://codeload.${t}/${e}/${s}/tar.gz/${M(i||"HEAD")}`,extract:t=>{let[,e,s,i,r]=t.pathname.split("/",5);if(!(i&&i!=="tree")&&(i||(r=t.hash.slice(1)),s&&s.endsWith(".git")&&(s=s.slice(0,-4)),!(!e||!s)))return {user:e,project:s,committish:r}}};we.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:t,user:e,project:s,committish:i,treepath:r,path:n,editpath:o})=>`https://${t}/${e}/${s}${I("/",r,"/",M(i||"HEAD"),"/",n,o)}`,tarballtemplate:({domain:t,user:e,project:s,committish:i})=>`https://${t}/${e}/${s}/get/${M(i||"HEAD")}.tar.gz`,extract:t=>{let[,e,s,i]=t.pathname.split("/",4);if(!["get"].includes(i)&&(s&&s.endsWith(".git")&&(s=s.slice(0,-4)),!(!e||!s)))return {user:e,project:s,committish:t.hash.slice(1)}}};we.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:t,domain:e,user:s,project:i,committish:r})=>`git+https://${I(t,"@")}${e}/${s}/${i}.git${I("#",r)}`,tarballtemplate:({domain:t,user:e,project:s,committish:i})=>`https://${t}/${e}/${s}/repository/archive.tar.gz?ref=${M(i||"HEAD")}`,extract:t=>{let e=t.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;let s=e.split("/"),i=s.pop();i.endsWith(".git")&&(i=i.slice(0,-4));let r=s.join("/");if(!(!r||!i))return {user:r,project:i,committish:t.hash.slice(1)}}};we.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:t,project:e,committish:s})=>`git@${t}:${e}.git${I("#",s)}`,sshurltemplate:({domain:t,project:e,committish:s})=>`git+ssh://git@${t}/${e}.git${I("#",s)}`,edittemplate:({domain:t,user:e,project:s,committish:i,editpath:r})=>`https://${t}/${e}/${s}${I("/",M(i))}/${r}`,browsetemplate:({domain:t,project:e,committish:s})=>`https://${t}/${e}${I("/",M(s))}`,browsetreetemplate:({domain:t,project:e,committish:s,path:i,hashformat:r})=>`https://${t}/${e}${I("/",M(s))}${I("#",r(i))}`,browseblobtemplate:({domain:t,project:e,committish:s,path:i,hashformat:r})=>`https://${t}/${e}${I("/",M(s))}${I("#",r(i))}`,docstemplate:({domain:t,project:e,committish:s})=>`https://${t}/${e}${I("/",M(s))}`,httpstemplate:({domain:t,project:e,committish:s})=>`git+https://${t}/${e}.git${I("#",s)}`,filetemplate:({user:t,project:e,committish:s,path:i})=>`https://gist.githubusercontent.com/${t}/${e}/raw${I("/",M(s))}/${i}`,shortcuttemplate:({type:t,project:e,committish:s})=>`${t}:${e}${I("#",s)}`,pathtemplate:({project:t,committish:e})=>`${t}${I("#",e)}`,bugstemplate:({domain:t,project:e})=>`https://${t}/${e}`,gittemplate:({domain:t,project:e,committish:s})=>`git://${t}/${e}.git${I("#",s)}`,tarballtemplate:({project:t,committish:e})=>`https://codeload.github.com/gist/${t}/tar.gz/${M(e||"HEAD")}`,extract:t=>{let[,e,s,i]=t.pathname.split("/",4);if(i!=="raw"){if(!s){if(!e)return;s=e,e=null;}return s.endsWith(".git")&&(s=s.slice(0,-4)),{user:e,project:s,committish:t.hash.slice(1)}}},hashformat:function(t){return t&&"file-"+Ql(t)}};we.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:t,user:e,project:s,committish:i,path:r})=>`https://${t}/${e}/${s}/blob/${M(i)||"HEAD"}/${r}`,httpstemplate:({domain:t,user:e,project:s,committish:i})=>`https://${t}/${e}/${s}.git${I("#",i)}`,tarballtemplate:({domain:t,user:e,project:s,committish:i})=>`https://${t}/${e}/${s}/archive/${M(i)||"HEAD"}.tar.gz`,bugstemplate:({user:t,project:e})=>`https://todo.sr.ht/${t}/${e}`,extract:t=>{let[,e,s,i]=t.pathname.split("/",4);if(!["archive"].includes(i)&&(s&&s.endsWith(".git")&&(s=s.slice(0,-4)),!(!e||!s)))return {user:e,project:s,committish:t.hash.slice(1)}}};for(let[t,e]of Object.entries(we))we[t]=Object.assign({},Ig,e);Zl.exports=we;});var Ir=chunkPWMRAKYI_cjs.b((f0,sc)=>{chunkPWMRAKYI_cjs.d();var Tg=chunkPWMRAKYI_cjs.a("url"),kr=(t,e,s)=>{let i=t.indexOf(s);return t.lastIndexOf(e,i>-1?i:1/0)},tc=t=>{try{return new Tg.URL(t)}catch{}},Dg=(t,e)=>{let s=t.indexOf(":"),i=t.slice(0,s+1);if(Object.prototype.hasOwnProperty.call(e,i))return t;let r=t.indexOf("@");return r>-1?r>s?`git+ssh://${t}`:t:t.indexOf("//")===s+1?t:`${t.slice(0,s+1)}//${t.slice(s+1)}`},$g=t=>{let e=kr(t,"@","#"),s=kr(t,":","#");return s>e&&(t=t.slice(0,s)+"/"+t.slice(s+1)),kr(t,":","#")===-1&&t.indexOf("//")===-1&&(t=`git+ssh://${t}`),t};sc.exports=(t,e)=>{let s=e?Dg(t,e):t;return tc(s)||tc($g(s))};});var rc=chunkPWMRAKYI_cjs.b((h0,ic)=>{chunkPWMRAKYI_cjs.d();var Rg=Ir(),Fg=t=>{let e=t.indexOf("#"),s=t.indexOf("/"),i=t.indexOf("/",s+1),r=t.indexOf(":"),n=/\s/.exec(t),o=t.indexOf("@"),a=!n||e>-1&&n.index>e,l=o===-1||e>-1&&o>e,c=r===-1||e>-1&&r>e,d=i===-1||e>-1&&i>e,u=s>0,p=e>-1?t[e-1]!=="/":!t.endsWith("/"),g=!t.startsWith(".");return a&&u&&p&&g&&l&&c&&d};ic.exports=(t,e,{gitHosts:s,protocols:i})=>{if(!t)return;let r=Fg(t)?`github:${t}`:t,n=Rg(r,i);if(!n)return;let o=s.byShortcut[n.protocol],a=s.byDomain[n.hostname.startsWith("www.")?n.hostname.slice(4):n.hostname],l=o||a;if(!l)return;let c=s[o||a],d=null;i[n.protocol]?.auth&&(n.username||n.password)&&(d=`${n.username}${n.password?":"+n.password:""}`);let u=null,p=null,g=null,y=null;try{if(o){let h=n.pathname.startsWith("/")?n.pathname.slice(1):n.pathname,m=h.indexOf("@");m>-1&&(h=h.slice(m+1));let S=h.lastIndexOf("/");S>-1?(p=decodeURIComponent(h.slice(0,S)),p||(p=null),g=decodeURIComponent(h.slice(S+1))):g=decodeURIComponent(h),g.endsWith(".git")&&(g=g.slice(0,-4)),n.hash&&(u=decodeURIComponent(n.hash.slice(1))),y="shortcut";}else {if(!c.protocols.includes(n.protocol))return;let h=c.extract(n);if(!h)return;p=h.user&&decodeURIComponent(h.user),g=decodeURIComponent(h.project),u=decodeURIComponent(h.committish),y=i[n.protocol]?.name||n.protocol.slice(0,-1);}}catch(h){if(h instanceof URIError)return;throw h}return [l,p,d,g,u,y,e]};});var oc=chunkPWMRAKYI_cjs.b((d0,nc)=>{chunkPWMRAKYI_cjs.d();var{LRUCache:_g}=Xl(),Mg=ec(),qg=rc(),xg=Ir(),Tr=new _g({max:1e3}),Is=class t{constructor(e,s,i,r,n,o,a={}){Object.assign(this,t.#i[e],{type:e,user:s,auth:i,project:r,committish:n,default:o,opts:a});}static#i={byShortcut:{},byDomain:{}};static#c={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(e,s){t.#i[e]=s,t.#i.byDomain[s.domain]=e,t.#i.byShortcut[`${e}:`]=e,t.#c[`${e}:`]={name:e};}static fromUrl(e,s){if(typeof e!="string")return;let i=e+JSON.stringify(s||{});if(!Tr.has(i)){let r=qg(e,s,{gitHosts:t.#i,protocols:t.#c});Tr.set(i,r?new t(...r):void 0);}return Tr.get(i)}static parseUrl(e){return xg(e)}#t(e,s){if(typeof e!="function")return null;let i={...this,...this.opts,...s};i.path||(i.path=""),i.path.startsWith("/")&&(i.path=i.path.slice(1)),i.noCommittish&&(i.committish=null);let r=e(i);return i.noGitPlus&&r.startsWith("git+")?r.slice(4):r}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#t(this.sshtemplate,e)}sshurl(e){return this.#t(this.sshurltemplate,e)}browse(e,...s){return typeof e!="string"?this.#t(this.browsetemplate,e):typeof s[0]!="string"?this.#t(this.browsetreetemplate,{...s[0],path:e}):this.#t(this.browsetreetemplate,{...s[1],fragment:s[0],path:e})}browseFile(e,...s){return typeof s[0]!="string"?this.#t(this.browseblobtemplate,{...s[0],path:e}):this.#t(this.browseblobtemplate,{...s[1],fragment:s[0],path:e})}docs(e){return this.#t(this.docstemplate,e)}bugs(e){return this.#t(this.bugstemplate,e)}https(e){return this.#t(this.httpstemplate,e)}git(e){return this.#t(this.gittemplate,e)}shortcut(e){return this.#t(this.shortcuttemplate,e)}path(e){return this.#t(this.pathtemplate,e)}tarball(e){return this.#t(this.tarballtemplate,{...e,noCommittish:!1})}file(e,s){return this.#t(this.filetemplate,{...s,path:e})}edit(e,s){return this.#t(this.edittemplate,{...s,path:e})}getDefaultRepresentation(){return this.default}toString(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)}};for(let[t,e]of Object.entries(Mg))Is.addHost(t,e);nc.exports=Is;});var cc=chunkPWMRAKYI_cjs.b((g0,lc)=>{chunkPWMRAKYI_cjs.d();var Bg="Function.prototype.bind called on incompatible ",Ug=Object.prototype.toString,Gg=Math.max,jg="[object Function]",ac=function(e,s){for(var i=[],r=0;r<e.length;r+=1)i[r]=e[r];for(var n=0;n<s.length;n+=1)i[n+e.length]=s[n];return i},Yg=function(e,s){for(var i=[],r=s||0,n=0;r<e.length;r+=1,n+=1)i[n]=e[r];return i},Wg=function(t,e){for(var s="",i=0;i<t.length;i+=1)s+=t[i],i+1<t.length&&(s+=e);return s};lc.exports=function(e){var s=this;if(typeof s!="function"||Ug.apply(s)!==jg)throw new TypeError(Bg+s);for(var i=Yg(arguments,1),r,n=function(){if(this instanceof r){var d=s.apply(this,ac(i,arguments));return Object(d)===d?d:this}return s.apply(e,ac(i,arguments))},o=Gg(0,s.length-i.length),a=[],l=0;l<o;l++)a[l]="$"+l;if(r=Function("binder","return function ("+Wg(a,",")+"){ return binder.apply(this,arguments); }")(n),s.prototype){var c=function(){};c.prototype=s.prototype,r.prototype=new c,c.prototype=null;}return r};});var uc=chunkPWMRAKYI_cjs.b((b0,fc)=>{chunkPWMRAKYI_cjs.d();var Kg=cc();fc.exports=Function.prototype.bind||Kg;});var pc=chunkPWMRAKYI_cjs.b((S0,hc)=>{chunkPWMRAKYI_cjs.d();var Jg=uc();hc.exports=Jg.call(Function.call,Object.prototype.hasOwnProperty);});var dc=chunkPWMRAKYI_cjs.b((L0,zg)=>{zg.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]};});var bc=chunkPWMRAKYI_cjs.b((E0,yc)=>{chunkPWMRAKYI_cjs.d();var Hg=pc();function Vg(t,e){for(var s=t.split("."),i=e.split(" "),r=i.length>1?i[0]:"=",n=(i.length>1?i[1]:i[0]).split("."),o=0;o<3;++o){var a=parseInt(s[o]||0,10),l=parseInt(n[o]||0,10);if(a!==l)return r==="<"?a<l:r===">="?a>=l:!1}return r===">="}function mc(t,e){var s=e.split(/ ?&& ?/);if(s.length===0)return !1;for(var i=0;i<s.length;++i)if(!Vg(t,s[i]))return !1;return !0}function Xg(t,e){if(typeof e=="boolean")return e;var s=typeof t>"u"?process.versions&&process.versions.node:t;if(typeof s!="string")throw new TypeError(typeof t>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(e&&typeof e=="object"){for(var i=0;i<e.length;++i)if(mc(s,e[i]))return !0;return !1}return mc(s,e)}var gc=dc();yc.exports=function(e,s){return Hg(gc,e)&&Xg(s,gc[e])};});var Sc=chunkPWMRAKYI_cjs.b((N0,wc)=>{chunkPWMRAKYI_cjs.d();wc.exports=Qg;function Qg(t){if(!t||t==="ERROR: No README data found!")return;t=t.trim().split(`
150
- `);let e=0;for(;t[e]&&t[e].trim().match(/^(#|$)/);)e++;let s=t.length,i=e+1;for(;i<s&&t[i].trim();)i++;return t.slice(e,i).join(" ").trim()}});var vc=chunkPWMRAKYI_cjs.b((O0,Zg)=>{Zg.exports={topLevel:{dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},bugs:{web:"url",name:"url"},script:{server:"start",tests:"test"}};});var Nc=chunkPWMRAKYI_cjs.b((P0,Ac)=>{chunkPWMRAKYI_cjs.d();var ey=Al(),ty=Cl(),sy=Kl(),Ts=oc(),iy=bc(),ry=["dependencies","devDependencies","optionalDependencies"],ny=Sc(),Dr=chunkPWMRAKYI_cjs.a("url"),Se=vc(),Lc=t=>t.includes("@")&&t.indexOf("@")<t.lastIndexOf(".");Ac.exports={warn:function(){},fixRepositoryField:function(t){if(t.repositories&&(this.warn("repositories"),t.repository=t.repositories[0]),!t.repository)return this.warn("missingRepository");typeof t.repository=="string"&&(t.repository={type:"git",url:t.repository});var e=t.repository.url||"";if(e){var s=Ts.fromUrl(e);s&&(e=t.repository.url=s.getDefaultRepresentation()==="shortcut"?s.https():s.toString());}e.match(/github.com\/[^/]+\/[^/]+\.git\.git$/)&&this.warn("brokenGitUrl",e);},fixTypos:function(t){Object.keys(Se.topLevel).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&this.warn("typo",e,Se.topLevel[e]);},this);},fixScriptsField:function(t){if(t.scripts){if(typeof t.scripts!="object"){this.warn("nonObjectScripts"),delete t.scripts;return}Object.keys(t.scripts).forEach(function(e){typeof t.scripts[e]!="string"?(this.warn("nonStringScript"),delete t.scripts[e]):Se.script[e]&&!t.scripts[Se.script[e]]&&this.warn("typo",e,Se.script[e],"scripts");},this);}},fixFilesField:function(t){var e=t.files;e&&!Array.isArray(e)?(this.warn("nonArrayFiles"),delete t.files):t.files&&(t.files=t.files.filter(function(s){return !s||typeof s!="string"?(this.warn("invalidFilename",s),!1):!0},this));},fixBinField:function(t){if(t.bin&&typeof t.bin=="string"){var e={},s;(s=t.name.match(/^@[^/]+[/](.*)$/))?e[s[1]]=t.bin:e[t.name]=t.bin,t.bin=e;}},fixManField:function(t){t.man&&typeof t.man=="string"&&(t.man=[t.man]);},fixBundleDependenciesField:function(t){var e="bundledDependencies",s="bundleDependencies";t[e]&&!t[s]&&(t[s]=t[e],delete t[e]),t[s]&&!Array.isArray(t[s])?(this.warn("nonArrayBundleDependencies"),delete t[s]):t[s]&&(t[s]=t[s].filter(function(i){return !i||typeof i!="string"?(this.warn("nonStringBundleDependency",i),!1):(t.dependencies||(t.dependencies={}),Object.prototype.hasOwnProperty.call(t.dependencies,i)||(this.warn("nonDependencyBundleDependency",i),t.dependencies[i]="*"),!0)},this));},fixDependencies:function(t){py(t,this.warn),uy(t,this.warn),this.fixBundleDependenciesField(t),["dependencies","devDependencies"].forEach(function(e){if(e in t){if(!t[e]||typeof t[e]!="object"){this.warn("nonObjectDependencies",e),delete t[e];return}Object.keys(t[e]).forEach(function(s){var i=t[e][s];typeof i!="string"&&(this.warn("nonStringDependency",s,JSON.stringify(i)),delete t[e][s]);var r=Ts.fromUrl(t[e][s]);r&&(t[e][s]=r.toString());},this);}},this);},fixModulesField:function(t){t.modules&&(this.warn("deprecatedModules"),delete t.modules);},fixKeywordsField:function(t){typeof t.keywords=="string"&&(t.keywords=t.keywords.split(/,\s+/)),t.keywords&&!Array.isArray(t.keywords)?(delete t.keywords,this.warn("nonArrayKeywords")):t.keywords&&(t.keywords=t.keywords.filter(function(e){return typeof e!="string"||!e?(this.warn("nonStringKeyword"),!1):!0},this));},fixVersionField:function(t,e){var s=!e;if(!t.version)return t.version="",!0;if(!ey(t.version,s))throw new Error('Invalid version: "'+t.version+'"');return t.version=ty(t.version,s),!0},fixPeople:function(t){Ec(t,cy),Ec(t,fy);},fixNameField:function(t,e){typeof e=="boolean"?e={strict:e}:typeof e>"u"&&(e={});var s=e.strict;if(!t.name&&!s){t.name="";return}if(typeof t.name!="string")throw new Error("name field must be a string.");s||(t.name=t.name.trim()),ly(t.name,s,e.allowLegacyCase),iy(t.name)&&this.warn("conflictingName",t.name);},fixDescriptionField:function(t){t.description&&typeof t.description!="string"&&(this.warn("nonStringDescription"),delete t.description),t.readme&&!t.description&&(t.description=ny(t.readme)),t.description===void 0&&delete t.description,t.description||this.warn("missingDescription");},fixReadmeField:function(t){t.readme||(this.warn("missingReadme"),t.readme="ERROR: No README data found!");},fixBugsField:function(t){if(!t.bugs&&t.repository&&t.repository.url){var e=Ts.fromUrl(t.repository.url);e&&e.bugs()&&(t.bugs={url:e.bugs()});}else if(t.bugs){if(typeof t.bugs=="string")Lc(t.bugs)?t.bugs={email:t.bugs}:Dr.parse(t.bugs).protocol?t.bugs={url:t.bugs}:this.warn("nonEmailUrlBugsString");else {dy(t.bugs,this.warn);var s=t.bugs;t.bugs={},s.url&&(typeof s.url=="string"&&Dr.parse(s.url).protocol?t.bugs.url=s.url:this.warn("nonUrlBugsUrlField")),s.email&&(typeof s.email=="string"&&Lc(s.email)?t.bugs.email=s.email:this.warn("nonEmailBugsEmailField"));}!t.bugs.email&&!t.bugs.url&&(delete t.bugs,this.warn("emptyNormalizedBugs"));}},fixHomepageField:function(t){if(!t.homepage&&t.repository&&t.repository.url){var e=Ts.fromUrl(t.repository.url);e&&e.docs()&&(t.homepage=e.docs());}if(t.homepage){if(typeof t.homepage!="string")return this.warn("nonUrlHomepage"),delete t.homepage;Dr.parse(t.homepage).protocol||(t.homepage="http://"+t.homepage);}},fixLicenseField:function(t){let e=t.license||t.licence;if(!e)return this.warn("missingLicense");if(typeof e!="string"||e.length<1||e.trim()==="")return this.warn("invalidLicense");if(!sy(e).validForNewPackages)return this.warn("invalidLicense")}};function oy(t){if(t.charAt(0)!=="@")return !1;var e=t.slice(1).split("/");return e.length!==2?!1:e[0]&&e[1]&&e[0]===encodeURIComponent(e[0])&&e[1]===encodeURIComponent(e[1])}function ay(t){return !t.match(/[/@\s+%:]/)&&t===encodeURIComponent(t)}function ly(t,e,s){if(t.charAt(0)==="."||!(oy(t)||ay(t))||e&&!s&&t!==t.toLowerCase()||t.toLowerCase()==="node_modules"||t.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(t))}function Ec(t,e){return t.author&&(t.author=e(t.author)),["maintainers","contributors"].forEach(function(s){Array.isArray(t[s])&&(t[s]=t[s].map(e));}),t}function cy(t){if(typeof t=="string")return t;var e=t.name||"",s=t.url||t.web,i=s?" ("+s+")":"",r=t.email||t.mail,n=r?" <"+r+">":"";return e+n+i}function fy(t){if(typeof t!="string")return t;var e=t.match(/^([^(<]+)/),s=t.match(/\(([^()]+)\)/),i=t.match(/<([^<>]+)>/),r={};return e&&e[0].trim()&&(r.name=e[0].trim()),i&&(r.email=i[1]),s&&(r.url=s[1]),r}function uy(t){var e=t.optionalDependencies;if(e){var s=t.dependencies||{};Object.keys(e).forEach(function(i){s[i]=e[i];}),t.dependencies=s;}}function hy(t,e,s){if(!t)return {};if(typeof t=="string"&&(t=t.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(t))return t;s("deprecatedArrayDependencies",e);var i={};return t.filter(function(r){return typeof r=="string"}).forEach(function(r){r=r.trim().split(/(:?[@\s><=])/);var n=r.shift(),o=r.join("");o=o.trim(),o=o.replace(/^@/,""),i[n]=o;}),i}function py(t,e){ry.forEach(function(s){t[s]&&(t[s]=hy(t[s],s,e));});}function dy(t,e){t&&Object.keys(t).forEach(function(s){Se.bugs[s]&&(e("typo",s,Se.bugs[s],"bugs"),t[Se.bugs[s]]=t[s],delete t[s]);});}});var Cc=chunkPWMRAKYI_cjs.b((I0,my)=>{my.exports={repositories:"'repositories' (plural) Not supported. Please pick one as the 'repository' field",missingRepository:"No repository field.",brokenGitUrl:"Probably broken git url: %s",nonObjectScripts:"scripts must be an object",nonStringScript:"script values must be string commands",nonArrayFiles:"Invalid 'files' member",invalidFilename:"Invalid filename in 'files' list: %s",nonArrayBundleDependencies:"Invalid 'bundleDependencies' list. Must be array of package names",nonStringBundleDependency:"Invalid bundleDependencies member: %s",nonDependencyBundleDependency:"Non-dependency in bundleDependencies: %s",nonObjectDependencies:"%s field must be an object",nonStringDependency:"Invalid dependency: %s %s",deprecatedArrayDependencies:"specifying %s as array is deprecated",deprecatedModules:"modules field is deprecated",nonArrayKeywords:"keywords should be an array of strings",nonStringKeyword:"keywords should be an array of strings",conflictingName:"%s is also the name of a node core module.",nonStringDescription:"'description' field should be a string",missingDescription:"No description",missingReadme:"No README data",missingLicense:"No license field.",nonEmailUrlBugsString:"Bug string field must be url, email, or {email,url}",nonUrlBugsUrlField:"bugs.url field must be a string url. Deleted.",nonEmailBugsEmailField:"bugs.email field must be a string email. Deleted.",emptyNormalizedBugs:"Normalized value of bugs field is an empty object. Deleted.",nonUrlHomepage:"homepage field must be a string url. Deleted.",invalidLicense:"license should be a valid SPDX license expression",typo:"%s should probably be %s."};});var kc=chunkPWMRAKYI_cjs.b((T0,Pc)=>{chunkPWMRAKYI_cjs.d();var Oc=chunkPWMRAKYI_cjs.a("util"),$r=Cc();Pc.exports=function(){var t=Array.prototype.slice.call(arguments,0),e=t.shift();if(e==="typo")return gy.apply(null,t);var s=$r[e]?$r[e]:e+": '%s'";return t.unshift(s),Oc.format.apply(null,t)};function gy(t,e,s){return s&&(t=s+"['"+t+"']",e=s+"['"+e+"']"),Oc.format($r.typo,t,e)}});var $c=chunkPWMRAKYI_cjs.b(($0,Dc)=>{chunkPWMRAKYI_cjs.d();Dc.exports=Ic;var Rr=Nc();Ic.fixer=Rr;var yy=kc(),by=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],wy=["dependencies","people","typos"],Fr=by.map(function(t){return Tc(t)+"Field"});Fr=Fr.concat(wy);function Ic(t,e,s){e===!0&&(e=null,s=!0),s||(s=!1),(!e||t.private)&&(e=function(){}),t.scripts&&t.scripts.install==="node-gyp rebuild"&&!t.scripts.preinstall&&(t.gypfile=!0),Rr.warn=function(){e(yy.apply(null,arguments));},Fr.forEach(function(i){Rr["fix"+Tc(i)](t,s);}),t._id=t.name+"@"+t.version;}function Tc(t){return t.charAt(0).toUpperCase()+t.slice(1)}});chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var Vc=(t,e)=>{let s=t.split(".").map(Number),i=e.split(".").map(Number);for(let[r,n]of s.entries()){if(n>i[r])return !0;if(n<i[r])return !1}return !1},Ur=Vc;chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var Xc=class extends Error{constructor(t){super(`ENOENT: ${t}`);}get code(){return "ENOENT"}set code(t){throw new Error("Cannot overwrite code ENOENT")}get name(){return "NotFoundError"}set name(t){throw new Error("Cannot overwrite name of NotFoundError")}},Le=Xc,Qc=class extends Error{constructor(t){super(`EPERM: Operation not permitted, ${t}`);}get code(){return "EPERM"}set code(t){throw new Error("Cannot overwrite code EPERM")}get name(){return "PermissionError"}set name(t){throw new Error("Cannot overwrite name of PermissionError")}},Je=Qc;chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var Zc=class Gr extends Error{fileName;codeFrame;name="JSONError";#i;constructor(e){super(),this.#i=e,Error.captureStackTrace(this,Gr);}get message(){return `${this.#i}${this.fileName?` in ${this.fileName}`:""}${this.codeFrame?`
148
+ `,s)+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 s=ws(e),i=Me(s);return i.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i}]}}case"map-value-ind":{this.onKeyLine=!0;let s=ws(e),i=Me(s);return {type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,s){return this.type!=="comment"||this.indent<=s?!1:e.every(i=>i.type==="newline"||i.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(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;case"space":case"comment":default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop());}}};Oa.Parser=cr;});var Da=chunkPWMRAKYI_cjs.b(bt=>{chunkPWMRAKYI_cjs.d();var Pa=Hi(),Ad=ct(),yt=ht(),Nd=Js(),Cd=lr(),Ia=fr();function ka(t){let e=t.prettyErrors!==!1;return {lineCounter:t.lineCounter||e&&new Cd.LineCounter||null,prettyErrors:e}}function Od(t,e={}){let{lineCounter:s,prettyErrors:i}=ka(e),r=new Ia.Parser(s?.addNewLine),n=new Pa.Composer(e),o=Array.from(n.compose(r.parse(t)));if(i&&s)for(let a of o)a.errors.forEach(yt.prettifyError(t,s)),a.warnings.forEach(yt.prettifyError(t,s));return o.length>0?o:Object.assign([],{empty:!0},n.streamInfo())}function Ta(t,e={}){let{lineCounter:s,prettyErrors:i}=ka(e),r=new Ia.Parser(s?.addNewLine),n=new Pa.Composer(e),o=null;for(let a of n.compose(r.parse(t),!0,t.length))if(!o)o=a;else if(o.options.logLevel!=="silent"){o.errors.push(new yt.YAMLParseError(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return i&&s&&(o.errors.forEach(yt.prettifyError(t,s)),o.warnings.forEach(yt.prettifyError(t,s))),o}function Pd(t,e,s){let i;typeof e=="function"?i=e:s===void 0&&e&&typeof e=="object"&&(s=e);let r=Ta(t,s);if(!r)return null;if(r.warnings.forEach(n=>Nd.warn(r.options.logLevel,n)),r.errors.length>0){if(r.options.logLevel!=="silent")throw r.errors[0];r.errors=[];}return r.toJS(Object.assign({reviver:i},s))}function Id(t,e,s){let i=null;if(typeof e=="function"||Array.isArray(e)?i=e:s===void 0&&e&&(s=e),typeof s=="string"&&(s=s.length),typeof s=="number"){let r=Math.round(s);s=r<1?void 0:r>8?{indent:8}:{indent:r};}if(t===void 0){let{keepUndefined:r}=s??e??{};if(!r)return}return new Ad.Document(t,i,s).toString(s)}bt.parse=Pd;bt.parseAllDocuments=Od;bt.parseDocument=Ta;bt.stringify=Id;});var Ra=chunkPWMRAKYI_cjs.b(D=>{chunkPWMRAKYI_cjs.d();var kd=Hi(),Td=ct(),Dd=Ii(),ur=ht(),$d=He(),me=T(),Rd=ue(),Fd=R(),_d=pe(),qd=de(),Md=bs(),xd=or(),Bd=lr(),Ud=fr(),Ss=Da(),$a=We();D.Composer=kd.Composer;D.Document=Td.Document;D.Schema=Dd.Schema;D.YAMLError=ur.YAMLError;D.YAMLParseError=ur.YAMLParseError;D.YAMLWarning=ur.YAMLWarning;D.Alias=$d.Alias;D.isAlias=me.isAlias;D.isCollection=me.isCollection;D.isDocument=me.isDocument;D.isMap=me.isMap;D.isNode=me.isNode;D.isPair=me.isPair;D.isScalar=me.isScalar;D.isSeq=me.isSeq;D.Pair=Rd.Pair;D.Scalar=Fd.Scalar;D.YAMLMap=_d.YAMLMap;D.YAMLSeq=qd.YAMLSeq;D.CST=Md;D.Lexer=xd.Lexer;D.LineCounter=Bd.LineCounter;D.Parser=Ud.Parser;D.parse=Ss.parse;D.parseAllDocuments=Ss.parseAllDocuments;D.parseDocument=Ss.parseDocument;D.stringify=Ss.stringify;D.visit=$a.visit;D.visitAsync=$a.visitAsync;});var pr=chunkPWMRAKYI_cjs.b((l1,sl)=>{chunkPWMRAKYI_cjs.d();var Tm=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};sl.exports=Tm;});var dr=chunkPWMRAKYI_cjs.b((f1,il)=>{chunkPWMRAKYI_cjs.d();var Dm="2.0.0",$m=Number.MAX_SAFE_INTEGER||9007199254740991,Rm=16,Fm=250,_m=["major","premajor","minor","preminor","patch","prepatch","prerelease"];il.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Rm,MAX_SAFE_BUILD_LENGTH:Fm,MAX_SAFE_INTEGER:$m,RELEASE_TYPES:_m,SEMVER_SPEC_VERSION:Dm,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};});var nl=chunkPWMRAKYI_cjs.b((ne,rl)=>{chunkPWMRAKYI_cjs.d();var{MAX_SAFE_COMPONENT_LENGTH:mr,MAX_SAFE_BUILD_LENGTH:qm,MAX_LENGTH:Mm}=dr(),xm=pr();ne=rl.exports={};var Bm=ne.re=[],Um=ne.safeRe=[],E=ne.src=[],A=ne.t={},Gm=0,gr="[a-zA-Z0-9-]",jm=[["\\s",1],["\\d",Mm],[gr,qm]],Ym=t=>{for(let[e,s]of jm)t=t.split(`${e}*`).join(`${e}{0,${s}}`).split(`${e}+`).join(`${e}{1,${s}}`);return t},P=(t,e,s)=>{let i=Ym(e),r=Gm++;xm(t,r,e),A[t]=r,E[r]=e,Bm[r]=new RegExp(e,s?"g":void 0),Um[r]=new RegExp(i,s?"g":void 0);};P("NUMERICIDENTIFIER","0|[1-9]\\d*");P("NUMERICIDENTIFIERLOOSE","\\d+");P("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${gr}*`);P("MAINVERSION",`(${E[A.NUMERICIDENTIFIER]})\\.(${E[A.NUMERICIDENTIFIER]})\\.(${E[A.NUMERICIDENTIFIER]})`);P("MAINVERSIONLOOSE",`(${E[A.NUMERICIDENTIFIERLOOSE]})\\.(${E[A.NUMERICIDENTIFIERLOOSE]})\\.(${E[A.NUMERICIDENTIFIERLOOSE]})`);P("PRERELEASEIDENTIFIER",`(?:${E[A.NUMERICIDENTIFIER]}|${E[A.NONNUMERICIDENTIFIER]})`);P("PRERELEASEIDENTIFIERLOOSE",`(?:${E[A.NUMERICIDENTIFIERLOOSE]}|${E[A.NONNUMERICIDENTIFIER]})`);P("PRERELEASE",`(?:-(${E[A.PRERELEASEIDENTIFIER]}(?:\\.${E[A.PRERELEASEIDENTIFIER]})*))`);P("PRERELEASELOOSE",`(?:-?(${E[A.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${E[A.PRERELEASEIDENTIFIERLOOSE]})*))`);P("BUILDIDENTIFIER",`${gr}+`);P("BUILD",`(?:\\+(${E[A.BUILDIDENTIFIER]}(?:\\.${E[A.BUILDIDENTIFIER]})*))`);P("FULLPLAIN",`v?${E[A.MAINVERSION]}${E[A.PRERELEASE]}?${E[A.BUILD]}?`);P("FULL",`^${E[A.FULLPLAIN]}$`);P("LOOSEPLAIN",`[v=\\s]*${E[A.MAINVERSIONLOOSE]}${E[A.PRERELEASELOOSE]}?${E[A.BUILD]}?`);P("LOOSE",`^${E[A.LOOSEPLAIN]}$`);P("GTLT","((?:<|>)?=?)");P("XRANGEIDENTIFIERLOOSE",`${E[A.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);P("XRANGEIDENTIFIER",`${E[A.NUMERICIDENTIFIER]}|x|X|\\*`);P("XRANGEPLAIN",`[v=\\s]*(${E[A.XRANGEIDENTIFIER]})(?:\\.(${E[A.XRANGEIDENTIFIER]})(?:\\.(${E[A.XRANGEIDENTIFIER]})(?:${E[A.PRERELEASE]})?${E[A.BUILD]}?)?)?`);P("XRANGEPLAINLOOSE",`[v=\\s]*(${E[A.XRANGEIDENTIFIERLOOSE]})(?:\\.(${E[A.XRANGEIDENTIFIERLOOSE]})(?:\\.(${E[A.XRANGEIDENTIFIERLOOSE]})(?:${E[A.PRERELEASELOOSE]})?${E[A.BUILD]}?)?)?`);P("XRANGE",`^${E[A.GTLT]}\\s*${E[A.XRANGEPLAIN]}$`);P("XRANGELOOSE",`^${E[A.GTLT]}\\s*${E[A.XRANGEPLAINLOOSE]}$`);P("COERCEPLAIN",`(^|[^\\d])(\\d{1,${mr}})(?:\\.(\\d{1,${mr}}))?(?:\\.(\\d{1,${mr}}))?`);P("COERCE",`${E[A.COERCEPLAIN]}(?:$|[^\\d])`);P("COERCEFULL",E[A.COERCEPLAIN]+`(?:${E[A.PRERELEASE]})?(?:${E[A.BUILD]})?(?:$|[^\\d])`);P("COERCERTL",E[A.COERCE],!0);P("COERCERTLFULL",E[A.COERCEFULL],!0);P("LONETILDE","(?:~>?)");P("TILDETRIM",`(\\s*)${E[A.LONETILDE]}\\s+`,!0);ne.tildeTrimReplace="$1~";P("TILDE",`^${E[A.LONETILDE]}${E[A.XRANGEPLAIN]}$`);P("TILDELOOSE",`^${E[A.LONETILDE]}${E[A.XRANGEPLAINLOOSE]}$`);P("LONECARET","(?:\\^)");P("CARETTRIM",`(\\s*)${E[A.LONECARET]}\\s+`,!0);ne.caretTrimReplace="$1^";P("CARET",`^${E[A.LONECARET]}${E[A.XRANGEPLAIN]}$`);P("CARETLOOSE",`^${E[A.LONECARET]}${E[A.XRANGEPLAINLOOSE]}$`);P("COMPARATORLOOSE",`^${E[A.GTLT]}\\s*(${E[A.LOOSEPLAIN]})$|^$`);P("COMPARATOR",`^${E[A.GTLT]}\\s*(${E[A.FULLPLAIN]})$|^$`);P("COMPARATORTRIM",`(\\s*)${E[A.GTLT]}\\s*(${E[A.LOOSEPLAIN]}|${E[A.XRANGEPLAIN]})`,!0);ne.comparatorTrimReplace="$1$2$3";P("HYPHENRANGE",`^\\s*(${E[A.XRANGEPLAIN]})\\s+-\\s+(${E[A.XRANGEPLAIN]})\\s*$`);P("HYPHENRANGELOOSE",`^\\s*(${E[A.XRANGEPLAINLOOSE]})\\s+-\\s+(${E[A.XRANGEPLAINLOOSE]})\\s*$`);P("STAR","(<|>)?=?\\s*\\*");P("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");P("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");});var al=chunkPWMRAKYI_cjs.b((p1,ol)=>{chunkPWMRAKYI_cjs.d();var Wm=Object.freeze({loose:!0}),Km=Object.freeze({}),Jm=t=>t?typeof t!="object"?Wm:t:Km;ol.exports=Jm;});var ul=chunkPWMRAKYI_cjs.b((m1,fl)=>{chunkPWMRAKYI_cjs.d();var ll=/^[0-9]+$/,cl=(t,e)=>{let s=ll.test(t),i=ll.test(e);return s&&i&&(t=+t,e=+e),t===e?0:s&&!i?-1:i&&!s?1:t<e?-1:1},zm=(t,e)=>cl(e,t);fl.exports={compareIdentifiers:cl,rcompareIdentifiers:zm};});var gl=chunkPWMRAKYI_cjs.b((y1,ml)=>{chunkPWMRAKYI_cjs.d();var vs=pr(),{MAX_LENGTH:hl,MAX_SAFE_INTEGER:Ls}=dr(),{safeRe:pl,t:dl}=nl(),Hm=al(),{compareIdentifiers:xe}=ul(),yr=class t{constructor(e,s){if(s=Hm(s),e instanceof t){if(e.loose===!!s.loose&&e.includePrerelease===!!s.includePrerelease)return e;e=e.version;}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>hl)throw new TypeError(`version is longer than ${hl} characters`);vs("SemVer",e,s),this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease;let i=e.trim().match(s.loose?pl[dl.LOOSE]:pl[dl.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>Ls||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ls||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ls||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let n=+r;if(n>=0&&n<Ls)return n}return r}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format();}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(vs("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options);}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),xe(this.major,e.major)||xe(this.minor,e.minor)||xe(this.patch,e.patch)}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return -1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let s=0;do{let i=this.prerelease[s],r=e.prerelease[s];if(vs("prerelease compare",s,i,r),i===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(i===void 0)return -1;if(i===r)continue;return xe(i,r)}while(++s)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let s=0;do{let i=this.build[s],r=e.build[s];if(vs("prerelease compare",s,i,r),i===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(i===void 0)return -1;if(i===r)continue;return xe(i,r)}while(++s)}inc(e,s,i){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",s,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",s,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",s,i),this.inc("pre",s,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",s,i),this.inc("pre",s,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let r=Number(i)?1:0;if(!s&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[r];else {let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);if(n===-1){if(s===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r);}}if(s){let n=[s,r];i===!1&&(n=[s]),xe(this.prerelease[0],s)===0?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};ml.exports=yr;});var br=chunkPWMRAKYI_cjs.b((w1,bl)=>{chunkPWMRAKYI_cjs.d();var yl=gl(),Vm=(t,e,s=!1)=>{if(t instanceof yl)return t;try{return new yl(t,e)}catch(i){if(!s)return null;throw i}};bl.exports=Vm;});var Sl=chunkPWMRAKYI_cjs.b((v1,wl)=>{chunkPWMRAKYI_cjs.d();var Xm=br(),Qm=(t,e)=>{let s=Xm(t,e);return s?s.version:null};wl.exports=Qm;});var Ll=chunkPWMRAKYI_cjs.b((E1,vl)=>{chunkPWMRAKYI_cjs.d();var Zm=br(),eg=(t,e)=>{let s=Zm(t.trim().replace(/^[=v]+/,""),e);return s?s.version:null};vl.exports=eg;});var wr=chunkPWMRAKYI_cjs.b((N1,tg)=>{tg.exports=["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Glyph","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Protection","BSD-Source-Code","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Borceux","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Crossword","CrystalStacker","Cube","D-FSL-1.0","DL-DE-BY-2.0","DOC","DRL-1.0","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FDK-AAC","FSFAP","FSFUL","FSFULLR","FSFULLRWD","FTL","Fair","Frameworx-1.0","FreeBSD-DOC","FreeImage","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","Graphics-Gems","HP-1986","HPND","HPND-Markus-Kuhn","HPND-export-US","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ImageMagick","Imlib2","Info-ZIP","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-copyleft","MIT","MIT-0","MIT-CMU","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MITNFA","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","MakeIndex","Martin-Birgmeier","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OML","OPL-1.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TU-Berlin-1.0","TU-Berlin-2.0","UCAR","UCL-1.0","UPL-1.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Wsuipa","X11","X11-distribute-modifications-variant","XFree86-1.1","XSkat","Xerox","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","blessing","bzip2-1.0.6","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dvipdfm","eGenix","etalab-2.0","gSOAP-1.3b","gnuplot","iMatix","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","mpi-permissive","mpich2","mplus","psfrag","psutils","snprintf","w3m","xinetd","xlock","xpp","zlib-acknowledgement"];});var El=chunkPWMRAKYI_cjs.b((C1,sg)=>{sg.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Nunit","StandardML-NJ","bzip2-1.0.5","eCos-2.0","wxWindows"];});var Al=chunkPWMRAKYI_cjs.b((O1,ig)=>{ig.exports=["389-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-3.1","gnu-javamail-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","i2p-gpl-java-exception","Libtool-exception","Linux-syscall-note","LLVM-exception","LZMA-exception","mif-exception","Nokia-Qt-exception-1.1","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","Swift-exception","u-boot-exception-2.0","Universal-FOSS-exception-1.0","WxWindows-exception-3.1"];});var Cl=chunkPWMRAKYI_cjs.b((P1,Nl)=>{chunkPWMRAKYI_cjs.d();var rg=[].concat(wr()).concat(El()),ng=Al();Nl.exports=function(t){var e=0;function s(){return e<t.length}function i(y){if(y instanceof RegExp){var h=t.slice(e),m=h.match(y);if(m)return e+=m[0].length,m[0]}else if(t.indexOf(y,e)===e)return e+=y.length,y}function r(){i(/[ ]*/);}function n(){for(var y,h=["WITH","AND","OR","(",")",":","+"],m=0;m<h.length&&(y=i(h[m]),!y);m++);if(y==="+"&&e>1&&t[e-2]===" ")throw new Error("Space before `+`");return y&&{type:"OPERATOR",string:y}}function o(){return i(/[A-Za-z0-9-.]+/)}function a(){var y=o();if(!y)throw new Error("Expected idstring at offset "+e);return y}function l(){if(i("DocumentRef-")){var y=a();return {type:"DOCUMENTREF",string:y}}}function c(){if(i("LicenseRef-")){var y=a();return {type:"LICENSEREF",string:y}}}function d(){var y=e,h=o();if(rg.indexOf(h)!==-1)return {type:"LICENSE",string:h};if(ng.indexOf(h)!==-1)return {type:"EXCEPTION",string:h};e=y;}function u(){return n()||l()||c()||d()}for(var p=[];s()&&(r(),!!s());){var g=u();if(!g)throw new Error("Unexpected `"+t[e]+"` at offset "+e);p.push(g);}return p};});var Pl=chunkPWMRAKYI_cjs.b((k1,Ol)=>{chunkPWMRAKYI_cjs.d();Ol.exports=function(t){var e=0;function s(){return e<t.length}function i(){return s()?t[e]:null}function r(){if(!s())throw new Error;e++;}function n(h){var m=i();if(m&&m.type==="OPERATOR"&&h===m.string)return r(),m.string}function o(){if(n("WITH")){var h=i();if(h&&h.type==="EXCEPTION")return r(),h.string;throw new Error("Expected exception after `WITH`")}}function a(){var h=e,m="",S=i();if(S.type==="DOCUMENTREF"&&(r(),m+="DocumentRef-"+S.string+":",!n(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(S=i(),S.type==="LICENSEREF")return r(),m+="LicenseRef-"+S.string,{license:m};e=h;}function l(){var h=i();if(h&&h.type==="LICENSE"){r();var m={license:h.string};n("+")&&(m.plus=!0);var S=o();return S&&(m.exception=S),m}}function c(){var h=n("(");if(h){var m=g();if(!n(")"))throw new Error("Expected `)`");return m}}function d(){return c()||a()||l()}function u(h,m){return function S(){var L=m();if(L){if(!n(h))return L;var C=S();if(!C)throw new Error("Expected expression");return {left:L,conjunction:h.toLowerCase(),right:C}}}}var p=u("AND",d),g=u("OR",p),y=g();if(!y||s())throw new Error("Syntax error");return y};});var Sr=chunkPWMRAKYI_cjs.b((D1,Il)=>{chunkPWMRAKYI_cjs.d();var og=Cl(),ag=Pl();Il.exports=function(t){return ag(og(t))};});var Ml=chunkPWMRAKYI_cjs.b((R1,ql)=>{chunkPWMRAKYI_cjs.d();var lg=Sr(),cg=wr();function Es(t){try{return lg(t),!0}catch{return !1}}function _l(t,e){var s=e[0].length-t[0].length;return s!==0?s:t[0].toUpperCase().localeCompare(e[0].toUpperCase())}var kl=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU LGPL","LGPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL"],["GNU Lesser General Public License","LGPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["GNU Lesser General Public License","LGPL-2.1"],["LESSER GENERAL PUBLIC LICENSE","LGPL"],["Lesser General Public License","LGPL"],["LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["Lesser General Public License","LGPL-2.1"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["WTFGPL","WTFPL"],["-License",""]].sort(_l),fg=0,ug=1,Tl=[function(t){return t.toUpperCase()},function(t){return t.trim()},function(t){return t.replace(/\./g,"")},function(t){return t.replace(/\s+/g,"")},function(t){return t.replace(/\s+/g,"-")},function(t){return t.replace("v","-")},function(t){return t.replace(/,?\s*(\d)/,"-$1")},function(t){return t.replace(/,?\s*(\d)/,"-$1.0")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(t){return t[0].toUpperCase()+t.slice(1)},function(t){return t.replace("/","-")},function(t){return t.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(t){return t.indexOf("3.0")!==-1?t+"-or-later":t+"-only"},function(t){return t+"only"},function(t){return t.replace(/(\d)$/,"-$1.0")},function(t){return t.replace(/(-| )?(\d)$/,"-$2-Clause")},function(t){return t.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(t){return t.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(t){return t.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(t){return t.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(t){return t.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(t){return t.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(t){return "CC-"+t},function(t){return "CC-"+t+"-4.0"},function(t){return t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(t){return "CC-"+t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],vr=cg.map(function(t){var e=/^(.*)-\d+\.\d+$/.exec(t);return e?[e[0],e[1]]:[t,null]}).reduce(function(t,e){var s=e[1];return t[s]=t[s]||[],t[s].push(e[0]),t},{}),hg=Object.keys(vr).map(function(e){return [e,vr[e]]}).filter(function(e){return e[1].length===1&&e[0]!==null&&e[0]!=="APL"}).map(function(e){return [e[0],e[1][0]]});vr=void 0;var Dl=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(hg).sort(_l),pg=0,dg=1,$l=function(t){for(var e=0;e<Tl.length;e++){var s=Tl[e](t).trim();if(s!==t&&Es(s))return s}return null},Rl=function(t){for(var e=t.toUpperCase(),s=0;s<Dl.length;s++){var i=Dl[s];if(e.indexOf(i[pg])>-1)return i[dg]}return null},Fl=function(t,e){for(var s=0;s<kl.length;s++){var i=kl[s],r=i[fg];if(t.indexOf(r)>-1){var n=t.replace(r,i[ug]),o=e(n);if(o!==null)return o}}return null};ql.exports=function(t,e){e=e||{};var s=e.upgrade===void 0?!0:!!e.upgrade;function i(a){return s?mg(a):a}var r=typeof t=="string"&&t.trim().length!==0;if(!r)throw Error("Invalid argument. Expected non-empty string.");if(t=t.trim(),Es(t))return i(t);var n=t.replace(/\+$/,"").trim();if(Es(n))return i(n);var o=$l(t);return o!==null||(o=Fl(t,function(a){return Es(a)?a:$l(a)}),o!==null)||(o=Rl(t),o!==null)||(o=Fl(t,Rl),o!==null)?i(o):null};function mg(t){return ["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(t)!==-1?t+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(t)!==-1?t.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(t)!==-1?t+"-or-later":t}});var Gl=chunkPWMRAKYI_cjs.b((_1,Ul)=>{chunkPWMRAKYI_cjs.d();var gg=Sr(),yg=Ml(),xl='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"',bg=/^SEE LICEN[CS]E IN (.+)$/;function Bl(t,e){return e.slice(0,t.length)===t}function Lr(t){if(t.hasOwnProperty("license")){var e=t.license;return Bl("LicenseRef",e)||Bl("DocumentRef",e)}else return Lr(t.left)||Lr(t.right)}Ul.exports=function(t){var e;try{e=gg(t);}catch{var s;if(t==="UNLICENSED"||t==="UNLICENCED")return {validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(s=bg.exec(t))return {validForOldPackages:!0,validForNewPackages:!0,inFile:s[1]};var i={validForOldPackages:!1,validForNewPackages:!1,warnings:[xl]};if(t.trim().length!==0){var r=yg(t);r&&i.warnings.push('license is similar to the valid expression "'+r+'"');}return i}return Lr(e)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[xl]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}};});var Jl=chunkPWMRAKYI_cjs.b(Ns=>{chunkPWMRAKYI_cjs.d();Object.defineProperty(Ns,"__esModule",{value:!0});Ns.LRUCache=void 0;var St=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Yl=new Set,Er=typeof process=="object"&&process?process:{},Wl=(t,e,s,i)=>{typeof Er.emitWarning=="function"?Er.emitWarning(t,e,s,i):console.error(`[${s}] ${e}: ${t}`);},As=globalThis.AbortController,jl=globalThis.AbortSignal;if(typeof As>"u"){jl=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,r){this._onabort.push(r);}},As=class{constructor(){e();}signal=new jl;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let r of this.signal._onabort)r(i);this.signal.onabort?.(i);}}};let t=Er.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,Wl("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e));};}var wg=t=>!Yl.has(t),ge=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),Kl=t=>ge(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Be:null:null,Be=class extends Array{constructor(e){super(e),this.fill(0);}},Ar=class t{heap;length;static#i=!1;static create(e){let s=Kl(e);if(!s)return [];t.#i=!0;let i=new t(e,s);return t.#i=!1,i}constructor(e,s){if(!t.#i)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new s(e),this.length=0;}push(e){this.heap[this.length++]=e;}pop(){return this.heap[--this.length]}},Nr=class t{#i;#c;#t;#m;#I;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#g;#o;#r;#e;#u;#p;#f;#a;#y;#l;#L;#E;#b;#w;#N;#h;static unsafeExposeInternals(e){return {starts:e.#E,ttls:e.#b,sizes:e.#L,keyMap:e.#o,keyList:e.#r,valList:e.#e,next:e.#u,prev:e.#p,get head(){return e.#f},get tail(){return e.#a},free:e.#y,isBackgroundFetch:s=>e.#s(s),backgroundFetch:(s,i,r,n)=>e.#D(s,i,r,n),moveToTail:s=>e.#P(s),indexes:s=>e.#S(s),rindexes:s=>e.#v(s),isStale:s=>e.#d(s)}}get max(){return this.#i}get maxSize(){return this.#c}get calculatedSize(){return this.#g}get size(){return this.#n}get fetchMethod(){return this.#I}get dispose(){return this.#t}get disposeAfter(){return this.#m}constructor(e){let{max:s=0,ttl:i,ttlResolution:r=1,ttlAutopurge:n,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:l,dispose:c,disposeAfter:d,noDisposeOnSet:u,noUpdateTTL:p,maxSize:g=0,maxEntrySize:y=0,sizeCalculation:h,fetchMethod:m,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:L,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:N,ignoreFetchAbort:O}=e;if(s!==0&&!ge(s))throw new TypeError("max option must be a nonnegative integer");let v=s?Kl(s):Array;if(!v)throw new Error("invalid max value: "+s);if(this.#i=s,this.#c=g,this.maxEntrySize=y||this.#c,this.sizeCalculation=h,this.sizeCalculation){if(!this.#c&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(m!==void 0&&typeof m!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#I=m,this.#N=!!m,this.#o=new Map,this.#r=new Array(s).fill(void 0),this.#e=new Array(s).fill(void 0),this.#u=new v(s),this.#p=new v(s),this.#f=0,this.#a=0,this.#y=Ar.create(s),this.#n=0,this.#g=0,typeof c=="function"&&(this.#t=c),typeof d=="function"?(this.#m=d,this.#l=[]):(this.#m=void 0,this.#l=void 0),this.#w=!!this.#t,this.#h=!!this.#m,this.noDisposeOnSet=!!u,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!N,this.ignoreFetchAbort=!!O,this.maxEntrySize!==0){if(this.#c!==0&&!ge(this.#c))throw new TypeError("maxSize must be a positive integer if specified");if(!ge(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#M();}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!L,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=ge(r)||r===0?r:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!ge(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#$();}if(this.#i===0&&this.ttl===0&&this.#c===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#i&&!this.#c){let I="LRU_CACHE_UNBOUNDED";wg(I)&&(Yl.add(I),Wl("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",I,t));}}getRemainingTTL(e){return this.#o.has(e)?1/0:0}#$(){let e=new Be(this.#i),s=new Be(this.#i);this.#b=e,this.#E=s,this.#R=(n,o,a=St.now())=>{if(s[n]=o!==0?a:0,e[n]=o,o!==0&&this.ttlAutopurge){let l=setTimeout(()=>{this.#d(n)&&this.delete(this.#r[n]);},o+1);l.unref&&l.unref();}},this.#C=n=>{s[n]=e[n]!==0?St.now():0;},this.#A=(n,o)=>{if(e[o]){let a=e[o],l=s[o];n.ttl=a,n.start=l,n.now=i||r();let c=n.now-l;n.remainingTTL=a-c;}};let i=0,r=()=>{let n=St.now();if(this.ttlResolution>0){i=n;let o=setTimeout(()=>i=0,this.ttlResolution);o.unref&&o.unref();}return n};this.getRemainingTTL=n=>{let o=this.#o.get(n);if(o===void 0)return 0;let a=e[o],l=s[o];if(a===0||l===0)return 1/0;let c=(i||r())-l;return a-c},this.#d=n=>e[n]!==0&&s[n]!==0&&(i||r())-s[n]>e[n];}#C=()=>{};#A=()=>{};#R=()=>{};#d=()=>!1;#M(){let e=new Be(this.#i);this.#g=0,this.#L=e,this.#O=s=>{this.#g-=e[s],e[s]=0;},this.#F=(s,i,r,n)=>{if(this.#s(i))return 0;if(!ge(r))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(r=n(i,s),!ge(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r},this.#k=(s,i,r)=>{if(e[s]=i,this.#c){let n=this.#c-e[s];for(;this.#g>n;)this.#T(!0);}this.#g+=e[s],r&&(r.entrySize=i,r.totalCalculatedSize=this.#g);};}#O=e=>{};#k=(e,s,i)=>{};#F=(e,s,i,r)=>{if(i||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#S({allowStale:e=this.allowStale}={}){if(this.#n)for(let s=this.#a;!(!this.#_(s)||((e||!this.#d(s))&&(yield s),s===this.#f));)s=this.#p[s];}*#v({allowStale:e=this.allowStale}={}){if(this.#n)for(let s=this.#f;!(!this.#_(s)||((e||!this.#d(s))&&(yield s),s===this.#a));)s=this.#u[s];}#_(e){return e!==void 0&&this.#o.get(this.#r[e])===e}*entries(){for(let e of this.#S())this.#e[e]!==void 0&&this.#r[e]!==void 0&&!this.#s(this.#e[e])&&(yield [this.#r[e],this.#e[e]]);}*rentries(){for(let e of this.#v())this.#e[e]!==void 0&&this.#r[e]!==void 0&&!this.#s(this.#e[e])&&(yield [this.#r[e],this.#e[e]]);}*keys(){for(let e of this.#S()){let s=this.#r[e];s!==void 0&&!this.#s(this.#e[e])&&(yield s);}}*rkeys(){for(let e of this.#v()){let s=this.#r[e];s!==void 0&&!this.#s(this.#e[e])&&(yield s);}}*values(){for(let e of this.#S())this.#e[e]!==void 0&&!this.#s(this.#e[e])&&(yield this.#e[e]);}*rvalues(){for(let e of this.#v())this.#e[e]!==void 0&&!this.#s(this.#e[e])&&(yield this.#e[e]);}[Symbol.iterator](){return this.entries()}find(e,s={}){for(let i of this.#S()){let r=this.#e[i],n=this.#s(r)?r.__staleWhileFetching:r;if(n!==void 0&&e(n,this.#r[i],this))return this.get(this.#r[i],s)}}forEach(e,s=this){for(let i of this.#S()){let r=this.#e[i],n=this.#s(r)?r.__staleWhileFetching:r;n!==void 0&&e.call(s,n,this.#r[i],this);}}rforEach(e,s=this){for(let i of this.#v()){let r=this.#e[i],n=this.#s(r)?r.__staleWhileFetching:r;n!==void 0&&e.call(s,n,this.#r[i],this);}}purgeStale(){let e=!1;for(let s of this.#v({allowStale:!0}))this.#d(s)&&(this.delete(this.#r[s]),e=!0);return e}dump(){let e=[];for(let s of this.#S({allowStale:!0})){let i=this.#r[s],r=this.#e[s],n=this.#s(r)?r.__staleWhileFetching:r;if(n===void 0||i===void 0)continue;let o={value:n};if(this.#b&&this.#E){o.ttl=this.#b[s];let a=St.now()-this.#E[s];o.start=Math.floor(Date.now()-a);}this.#L&&(o.size=this.#L[s]),e.unshift([i,o]);}return e}load(e){this.clear();for(let[s,i]of e){if(i.start){let r=Date.now()-i.start;i.start=St.now()-r;}this.set(s,i.value,i);}}set(e,s,i={}){if(s===void 0)return this.delete(e),this;let{ttl:r=this.ttl,start:n,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:l}=i,{noUpdateTTL:c=this.noUpdateTTL}=i,d=this.#F(e,s,i.size||0,a);if(this.maxEntrySize&&d>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(e),this;let u=this.#n===0?void 0:this.#o.get(e);if(u===void 0)u=this.#n===0?this.#a:this.#y.length!==0?this.#y.pop():this.#n===this.#i?this.#T(!1):this.#n,this.#r[u]=e,this.#e[u]=s,this.#o.set(e,u),this.#u[this.#a]=u,this.#p[u]=this.#a,this.#a=u,this.#n++,this.#k(u,d,l),l&&(l.set="add"),c=!1;else {this.#P(u);let p=this.#e[u];if(s!==p){if(this.#N&&this.#s(p)){p.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:g}=p;g!==void 0&&!o&&(this.#w&&this.#t?.(g,e,"set"),this.#h&&this.#l?.push([g,e,"set"]));}else o||(this.#w&&this.#t?.(p,e,"set"),this.#h&&this.#l?.push([p,e,"set"]));if(this.#O(u),this.#k(u,d,l),this.#e[u]=s,l){l.set="replace";let g=p&&this.#s(p)?p.__staleWhileFetching:p;g!==void 0&&(l.oldValue=g);}}else l&&(l.set="update");}if(r!==0&&!this.#b&&this.#$(),this.#b&&(c||this.#R(u,r,n),l&&this.#A(l,u)),!o&&this.#h&&this.#l){let p=this.#l,g;for(;g=p?.shift();)this.#m?.(...g);}return this}pop(){try{for(;this.#n;){let e=this.#e[this.#f];if(this.#T(!0),this.#s(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#h&&this.#l){let e=this.#l,s;for(;s=e?.shift();)this.#m?.(...s);}}}#T(e){let s=this.#f,i=this.#r[s],r=this.#e[s];return this.#N&&this.#s(r)?r.__abortController.abort(new Error("evicted")):(this.#w||this.#h)&&(this.#w&&this.#t?.(r,i,"evict"),this.#h&&this.#l?.push([r,i,"evict"])),this.#O(s),e&&(this.#r[s]=void 0,this.#e[s]=void 0,this.#y.push(s)),this.#n===1?(this.#f=this.#a=0,this.#y.length=0):this.#f=this.#u[s],this.#o.delete(i),this.#n--,s}has(e,s={}){let{updateAgeOnHas:i=this.updateAgeOnHas,status:r}=s,n=this.#o.get(e);if(n!==void 0){let o=this.#e[n];if(this.#s(o)&&o.__staleWhileFetching===void 0)return !1;if(this.#d(n))r&&(r.has="stale",this.#A(r,n));else return i&&this.#C(n),r&&(r.has="hit",this.#A(r,n)),!0}else r&&(r.has="miss");return !1}peek(e,s={}){let{allowStale:i=this.allowStale}=s,r=this.#o.get(e);if(r!==void 0&&(i||!this.#d(r))){let n=this.#e[r];return this.#s(n)?n.__staleWhileFetching:n}}#D(e,s,i,r){let n=s===void 0?void 0:this.#e[s];if(this.#s(n))return n;let o=new As,{signal:a}=i;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let l={signal:o.signal,options:i,context:r},c=(h,m=!1)=>{let{aborted:S}=o.signal,L=i.ignoreFetchAbort&&h!==void 0;if(i.status&&(S&&!m?(i.status.fetchAborted=!0,i.status.fetchError=o.signal.reason,L&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),S&&!L&&!m)return u(o.signal.reason);let C=g;return this.#e[s]===g&&(h===void 0?C.__staleWhileFetching?this.#e[s]=C.__staleWhileFetching:this.delete(e):(i.status&&(i.status.fetchUpdated=!0),this.set(e,h,l.options))),h},d=h=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=h),u(h)),u=h=>{let{aborted:m}=o.signal,S=m&&i.allowStaleOnFetchAbort,L=S||i.allowStaleOnFetchRejection,C=L||i.noDeleteOnFetchRejection,N=g;if(this.#e[s]===g&&(!C||N.__staleWhileFetching===void 0?this.delete(e):S||(this.#e[s]=N.__staleWhileFetching)),L)return i.status&&N.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),N.__staleWhileFetching;if(N.__returned===N)throw h},p=(h,m)=>{let S=this.#I?.(e,n,l);S&&S instanceof Promise&&S.then(L=>h(L===void 0?void 0:L),m),o.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(h(void 0),i.allowStaleOnFetchAbort&&(h=L=>c(L,!0)));});};i.status&&(i.status.fetchDispatched=!0);let g=new Promise(p).then(c,d),y=Object.assign(g,{__abortController:o,__staleWhileFetching:n,__returned:void 0});return s===void 0?(this.set(e,y,{...l.options,status:void 0}),s=this.#o.get(e)):this.#e[s]=y,y}#s(e){if(!this.#N)return !1;let s=e;return !!s&&s instanceof Promise&&s.hasOwnProperty("__staleWhileFetching")&&s.__abortController instanceof As}async fetch(e,s={}){let{allowStale:i=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:l=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:u=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:g=this.ignoreFetchAbort,allowStaleOnFetchAbort:y=this.allowStaleOnFetchAbort,context:h,forceRefresh:m=!1,status:S,signal:L}=s;if(!this.#N)return S&&(S.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:r,noDeleteOnStaleGet:n,status:S});let C={allowStale:i,updateAgeOnGet:r,noDeleteOnStaleGet:n,ttl:o,noDisposeOnSet:a,size:l,sizeCalculation:c,noUpdateTTL:d,noDeleteOnFetchRejection:u,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:y,ignoreFetchAbort:g,status:S,signal:L},N=this.#o.get(e);if(N===void 0){S&&(S.fetch="miss");let O=this.#D(e,N,C,h);return O.__returned=O}else {let O=this.#e[N];if(this.#s(O)){let H=i&&O.__staleWhileFetching!==void 0;return S&&(S.fetch="inflight",H&&(S.returnedStale=!0)),H?O.__staleWhileFetching:O.__returned=O}let v=this.#d(N);if(!m&&!v)return S&&(S.fetch="hit"),this.#P(N),r&&this.#C(N),S&&this.#A(S,N),O;let I=this.#D(e,N,C,h),_=I.__staleWhileFetching!==void 0&&i;return S&&(S.fetch=v?"stale":"refresh",_&&v&&(S.returnedStale=!0)),_?I.__staleWhileFetching:I.__returned=I}}get(e,s={}){let{allowStale:i=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:o}=s,a=this.#o.get(e);if(a!==void 0){let l=this.#e[a],c=this.#s(l);return o&&this.#A(o,a),this.#d(a)?(o&&(o.get="stale"),c?(o&&i&&l.__staleWhileFetching!==void 0&&(o.returnedStale=!0),i?l.__staleWhileFetching:void 0):(n||this.delete(e),o&&i&&(o.returnedStale=!0),i?l:void 0)):(o&&(o.get="hit"),c?l.__staleWhileFetching:(this.#P(a),r&&this.#C(a),l))}else o&&(o.get="miss");}#q(e,s){this.#p[s]=e,this.#u[e]=s;}#P(e){e!==this.#a&&(e===this.#f?this.#f=this.#u[e]:this.#q(this.#p[e],this.#u[e]),this.#q(this.#a,e),this.#a=e);}delete(e){let s=!1;if(this.#n!==0){let i=this.#o.get(e);if(i!==void 0)if(s=!0,this.#n===1)this.clear();else {this.#O(i);let r=this.#e[i];this.#s(r)?r.__abortController.abort(new Error("deleted")):(this.#w||this.#h)&&(this.#w&&this.#t?.(r,e,"delete"),this.#h&&this.#l?.push([r,e,"delete"])),this.#o.delete(e),this.#r[i]=void 0,this.#e[i]=void 0,i===this.#a?this.#a=this.#p[i]:i===this.#f?this.#f=this.#u[i]:(this.#u[this.#p[i]]=this.#u[i],this.#p[this.#u[i]]=this.#p[i]),this.#n--,this.#y.push(i);}}if(this.#h&&this.#l?.length){let i=this.#l,r;for(;r=i?.shift();)this.#m?.(...r);}return s}clear(){for(let e of this.#v({allowStale:!0})){let s=this.#e[e];if(this.#s(s))s.__abortController.abort(new Error("deleted"));else {let i=this.#r[e];this.#w&&this.#t?.(s,i,"delete"),this.#h&&this.#l?.push([s,i,"delete"]);}}if(this.#o.clear(),this.#e.fill(void 0),this.#r.fill(void 0),this.#b&&this.#E&&(this.#b.fill(0),this.#E.fill(0)),this.#L&&this.#L.fill(0),this.#f=0,this.#a=0,this.#y.length=0,this.#g=0,this.#n=0,this.#h&&this.#l){let e=this.#l,s;for(;s=e?.shift();)this.#m?.(...s);}}};Ns.LRUCache=Nr;});var Vl=chunkPWMRAKYI_cjs.b((j1,Hl)=>{chunkPWMRAKYI_cjs.d();var k=(...t)=>t.every(e=>e)?t.join(""):"",F=t=>t?encodeURIComponent(t):"",zl=t=>t.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),Sg={sshtemplate:({domain:t,user:e,project:s,committish:i})=>`git@${t}:${e}/${s}.git${k("#",i)}`,sshurltemplate:({domain:t,user:e,project:s,committish:i})=>`git+ssh://git@${t}/${e}/${s}.git${k("#",i)}`,edittemplate:({domain:t,user:e,project:s,committish:i,editpath:r,path:n})=>`https://${t}/${e}/${s}${k("/",r,"/",F(i||"HEAD"),"/",n)}`,browsetemplate:({domain:t,user:e,project:s,committish:i,treepath:r})=>`https://${t}/${e}/${s}${k("/",r,"/",F(i))}`,browsetreetemplate:({domain:t,user:e,project:s,committish:i,treepath:r,path:n,fragment:o,hashformat:a})=>`https://${t}/${e}/${s}/${r}/${F(i||"HEAD")}/${n}${k("#",a(o||""))}`,browseblobtemplate:({domain:t,user:e,project:s,committish:i,blobpath:r,path:n,fragment:o,hashformat:a})=>`https://${t}/${e}/${s}/${r}/${F(i||"HEAD")}/${n}${k("#",a(o||""))}`,docstemplate:({domain:t,user:e,project:s,treepath:i,committish:r})=>`https://${t}/${e}/${s}${k("/",i,"/",F(r))}#readme`,httpstemplate:({auth:t,domain:e,user:s,project:i,committish:r})=>`git+https://${k(t,"@")}${e}/${s}/${i}.git${k("#",r)}`,filetemplate:({domain:t,user:e,project:s,committish:i,path:r})=>`https://${t}/${e}/${s}/raw/${F(i||"HEAD")}/${r}`,shortcuttemplate:({type:t,user:e,project:s,committish:i})=>`${t}:${e}/${s}${k("#",i)}`,pathtemplate:({user:t,project:e,committish:s})=>`${t}/${e}${k("#",s)}`,bugstemplate:({domain:t,user:e,project:s})=>`https://${t}/${e}/${s}/issues`,hashformat:zl},ye={};ye.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:t,user:e,project:s,committish:i,path:r})=>`https://${k(t,"@")}raw.githubusercontent.com/${e}/${s}/${F(i||"HEAD")}/${r}`,gittemplate:({auth:t,domain:e,user:s,project:i,committish:r})=>`git://${k(t,"@")}${e}/${s}/${i}.git${k("#",r)}`,tarballtemplate:({domain:t,user:e,project:s,committish:i})=>`https://codeload.${t}/${e}/${s}/tar.gz/${F(i||"HEAD")}`,extract:t=>{let[,e,s,i,r]=t.pathname.split("/",5);if(!(i&&i!=="tree")&&(i||(r=t.hash.slice(1)),s&&s.endsWith(".git")&&(s=s.slice(0,-4)),!(!e||!s)))return {user:e,project:s,committish:r}}};ye.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:t,user:e,project:s,committish:i,treepath:r,path:n,editpath:o})=>`https://${t}/${e}/${s}${k("/",r,"/",F(i||"HEAD"),"/",n,o)}`,tarballtemplate:({domain:t,user:e,project:s,committish:i})=>`https://${t}/${e}/${s}/get/${F(i||"HEAD")}.tar.gz`,extract:t=>{let[,e,s,i]=t.pathname.split("/",4);if(!["get"].includes(i)&&(s&&s.endsWith(".git")&&(s=s.slice(0,-4)),!(!e||!s)))return {user:e,project:s,committish:t.hash.slice(1)}}};ye.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:t,domain:e,user:s,project:i,committish:r})=>`git+https://${k(t,"@")}${e}/${s}/${i}.git${k("#",r)}`,tarballtemplate:({domain:t,user:e,project:s,committish:i})=>`https://${t}/${e}/${s}/repository/archive.tar.gz?ref=${F(i||"HEAD")}`,extract:t=>{let e=t.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;let s=e.split("/"),i=s.pop();i.endsWith(".git")&&(i=i.slice(0,-4));let r=s.join("/");if(!(!r||!i))return {user:r,project:i,committish:t.hash.slice(1)}}};ye.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:t,project:e,committish:s})=>`git@${t}:${e}.git${k("#",s)}`,sshurltemplate:({domain:t,project:e,committish:s})=>`git+ssh://git@${t}/${e}.git${k("#",s)}`,edittemplate:({domain:t,user:e,project:s,committish:i,editpath:r})=>`https://${t}/${e}/${s}${k("/",F(i))}/${r}`,browsetemplate:({domain:t,project:e,committish:s})=>`https://${t}/${e}${k("/",F(s))}`,browsetreetemplate:({domain:t,project:e,committish:s,path:i,hashformat:r})=>`https://${t}/${e}${k("/",F(s))}${k("#",r(i))}`,browseblobtemplate:({domain:t,project:e,committish:s,path:i,hashformat:r})=>`https://${t}/${e}${k("/",F(s))}${k("#",r(i))}`,docstemplate:({domain:t,project:e,committish:s})=>`https://${t}/${e}${k("/",F(s))}`,httpstemplate:({domain:t,project:e,committish:s})=>`git+https://${t}/${e}.git${k("#",s)}`,filetemplate:({user:t,project:e,committish:s,path:i})=>`https://gist.githubusercontent.com/${t}/${e}/raw${k("/",F(s))}/${i}`,shortcuttemplate:({type:t,project:e,committish:s})=>`${t}:${e}${k("#",s)}`,pathtemplate:({project:t,committish:e})=>`${t}${k("#",e)}`,bugstemplate:({domain:t,project:e})=>`https://${t}/${e}`,gittemplate:({domain:t,project:e,committish:s})=>`git://${t}/${e}.git${k("#",s)}`,tarballtemplate:({project:t,committish:e})=>`https://codeload.github.com/gist/${t}/tar.gz/${F(e||"HEAD")}`,extract:t=>{let[,e,s,i]=t.pathname.split("/",4);if(i!=="raw"){if(!s){if(!e)return;s=e,e=null;}return s.endsWith(".git")&&(s=s.slice(0,-4)),{user:e,project:s,committish:t.hash.slice(1)}}},hashformat:function(t){return t&&"file-"+zl(t)}};ye.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:t,user:e,project:s,committish:i,path:r})=>`https://${t}/${e}/${s}/blob/${F(i)||"HEAD"}/${r}`,httpstemplate:({domain:t,user:e,project:s,committish:i})=>`https://${t}/${e}/${s}.git${k("#",i)}`,tarballtemplate:({domain:t,user:e,project:s,committish:i})=>`https://${t}/${e}/${s}/archive/${F(i)||"HEAD"}.tar.gz`,bugstemplate:({user:t,project:e})=>`https://todo.sr.ht/${t}/${e}`,extract:t=>{let[,e,s,i]=t.pathname.split("/",4);if(!["archive"].includes(i)&&(s&&s.endsWith(".git")&&(s=s.slice(0,-4)),!(!e||!s)))return {user:e,project:s,committish:t.hash.slice(1)}}};for(let[t,e]of Object.entries(ye))ye[t]=Object.assign({},Sg,e);Hl.exports=ye;});var Or=chunkPWMRAKYI_cjs.b((W1,Ql)=>{chunkPWMRAKYI_cjs.d();var vg=chunkPWMRAKYI_cjs.a("url"),Cr=(t,e,s)=>{let i=t.indexOf(s);return t.lastIndexOf(e,i>-1?i:1/0)},Xl=t=>{try{return new vg.URL(t)}catch{}},Lg=(t,e)=>{let s=t.indexOf(":"),i=t.slice(0,s+1);if(Object.prototype.hasOwnProperty.call(e,i))return t;let r=t.indexOf("@");return r>-1?r>s?`git+ssh://${t}`:t:t.indexOf("//")===s+1?t:`${t.slice(0,s+1)}//${t.slice(s+1)}`},Eg=t=>{let e=Cr(t,"@","#"),s=Cr(t,":","#");return s>e&&(t=t.slice(0,s)+"/"+t.slice(s+1)),Cr(t,":","#")===-1&&t.indexOf("//")===-1&&(t=`git+ssh://${t}`),t};Ql.exports=(t,e)=>{let s=e?Lg(t,e):t;return Xl(s)||Xl(Eg(s))};});var ec=chunkPWMRAKYI_cjs.b((J1,Zl)=>{chunkPWMRAKYI_cjs.d();var Ag=Or(),Ng=t=>{let e=t.indexOf("#"),s=t.indexOf("/"),i=t.indexOf("/",s+1),r=t.indexOf(":"),n=/\s/.exec(t),o=t.indexOf("@"),a=!n||e>-1&&n.index>e,l=o===-1||e>-1&&o>e,c=r===-1||e>-1&&r>e,d=i===-1||e>-1&&i>e,u=s>0,p=e>-1?t[e-1]!=="/":!t.endsWith("/"),g=!t.startsWith(".");return a&&u&&p&&g&&l&&c&&d};Zl.exports=(t,e,{gitHosts:s,protocols:i})=>{if(!t)return;let r=Ng(t)?`github:${t}`:t,n=Ag(r,i);if(!n)return;let o=s.byShortcut[n.protocol],a=s.byDomain[n.hostname.startsWith("www.")?n.hostname.slice(4):n.hostname],l=o||a;if(!l)return;let c=s[o||a],d=null;i[n.protocol]?.auth&&(n.username||n.password)&&(d=`${n.username}${n.password?":"+n.password:""}`);let u=null,p=null,g=null,y=null;try{if(o){let h=n.pathname.startsWith("/")?n.pathname.slice(1):n.pathname,m=h.indexOf("@");m>-1&&(h=h.slice(m+1));let S=h.lastIndexOf("/");S>-1?(p=decodeURIComponent(h.slice(0,S)),p||(p=null),g=decodeURIComponent(h.slice(S+1))):g=decodeURIComponent(h),g.endsWith(".git")&&(g=g.slice(0,-4)),n.hash&&(u=decodeURIComponent(n.hash.slice(1))),y="shortcut";}else {if(!c.protocols.includes(n.protocol))return;let h=c.extract(n);if(!h)return;p=h.user&&decodeURIComponent(h.user),g=decodeURIComponent(h.project),u=decodeURIComponent(h.committish),y=i[n.protocol]?.name||n.protocol.slice(0,-1);}}catch(h){if(h instanceof URIError)return;throw h}return [l,p,d,g,u,y,e]};});var sc=chunkPWMRAKYI_cjs.b((H1,tc)=>{chunkPWMRAKYI_cjs.d();var{LRUCache:Cg}=Jl(),Og=Vl(),Pg=ec(),Ig=Or(),Pr=new Cg({max:1e3}),Cs=class t{constructor(e,s,i,r,n,o,a={}){Object.assign(this,t.#i[e],{type:e,user:s,auth:i,project:r,committish:n,default:o,opts:a});}static#i={byShortcut:{},byDomain:{}};static#c={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(e,s){t.#i[e]=s,t.#i.byDomain[s.domain]=e,t.#i.byShortcut[`${e}:`]=e,t.#c[`${e}:`]={name:e};}static fromUrl(e,s){if(typeof e!="string")return;let i=e+JSON.stringify(s||{});if(!Pr.has(i)){let r=Pg(e,s,{gitHosts:t.#i,protocols:t.#c});Pr.set(i,r?new t(...r):void 0);}return Pr.get(i)}static parseUrl(e){return Ig(e)}#t(e,s){if(typeof e!="function")return null;let i={...this,...this.opts,...s};i.path||(i.path=""),i.path.startsWith("/")&&(i.path=i.path.slice(1)),i.noCommittish&&(i.committish=null);let r=e(i);return i.noGitPlus&&r.startsWith("git+")?r.slice(4):r}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#t(this.sshtemplate,e)}sshurl(e){return this.#t(this.sshurltemplate,e)}browse(e,...s){return typeof e!="string"?this.#t(this.browsetemplate,e):typeof s[0]!="string"?this.#t(this.browsetreetemplate,{...s[0],path:e}):this.#t(this.browsetreetemplate,{...s[1],fragment:s[0],path:e})}browseFile(e,...s){return typeof s[0]!="string"?this.#t(this.browseblobtemplate,{...s[0],path:e}):this.#t(this.browseblobtemplate,{...s[1],fragment:s[0],path:e})}docs(e){return this.#t(this.docstemplate,e)}bugs(e){return this.#t(this.bugstemplate,e)}https(e){return this.#t(this.httpstemplate,e)}git(e){return this.#t(this.gittemplate,e)}shortcut(e){return this.#t(this.shortcuttemplate,e)}path(e){return this.#t(this.pathtemplate,e)}tarball(e){return this.#t(this.tarballtemplate,{...e,noCommittish:!1})}file(e,s){return this.#t(this.filetemplate,{...s,path:e})}edit(e,s){return this.#t(this.edittemplate,{...s,path:e})}getDefaultRepresentation(){return this.default}toString(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)}};for(let[t,e]of Object.entries(Og))Cs.addHost(t,e);tc.exports=Cs;});var nc=chunkPWMRAKYI_cjs.b((X1,rc)=>{chunkPWMRAKYI_cjs.d();var kg="Function.prototype.bind called on incompatible ",Tg=Object.prototype.toString,Dg=Math.max,$g="[object Function]",ic=function(e,s){for(var i=[],r=0;r<e.length;r+=1)i[r]=e[r];for(var n=0;n<s.length;n+=1)i[n+e.length]=s[n];return i},Rg=function(e,s){for(var i=[],r=s||0,n=0;r<e.length;r+=1,n+=1)i[n]=e[r];return i},Fg=function(t,e){for(var s="",i=0;i<t.length;i+=1)s+=t[i],i+1<t.length&&(s+=e);return s};rc.exports=function(e){var s=this;if(typeof s!="function"||Tg.apply(s)!==$g)throw new TypeError(kg+s);for(var i=Rg(arguments,1),r,n=function(){if(this instanceof r){var d=s.apply(this,ic(i,arguments));return Object(d)===d?d:this}return s.apply(e,ic(i,arguments))},o=Dg(0,s.length-i.length),a=[],l=0;l<o;l++)a[l]="$"+l;if(r=Function("binder","return function ("+Fg(a,",")+"){ return binder.apply(this,arguments); }")(n),s.prototype){var c=function(){};c.prototype=s.prototype,r.prototype=new c,c.prototype=null;}return r};});var ac=chunkPWMRAKYI_cjs.b((Z1,oc)=>{chunkPWMRAKYI_cjs.d();var _g=nc();oc.exports=Function.prototype.bind||_g;});var cc=chunkPWMRAKYI_cjs.b((t0,lc)=>{chunkPWMRAKYI_cjs.d();var qg=ac();lc.exports=qg.call(Function.call,Object.prototype.hasOwnProperty);});var fc=chunkPWMRAKYI_cjs.b((i0,Mg)=>{Mg.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]};});var dc=chunkPWMRAKYI_cjs.b((r0,pc)=>{chunkPWMRAKYI_cjs.d();var xg=cc();function Bg(t,e){for(var s=t.split("."),i=e.split(" "),r=i.length>1?i[0]:"=",n=(i.length>1?i[1]:i[0]).split("."),o=0;o<3;++o){var a=parseInt(s[o]||0,10),l=parseInt(n[o]||0,10);if(a!==l)return r==="<"?a<l:r===">="?a>=l:!1}return r===">="}function uc(t,e){var s=e.split(/ ?&& ?/);if(s.length===0)return !1;for(var i=0;i<s.length;++i)if(!Bg(t,s[i]))return !1;return !0}function Ug(t,e){if(typeof e=="boolean")return e;var s=typeof t>"u"?process.versions&&process.versions.node:t;if(typeof s!="string")throw new TypeError(typeof t>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(e&&typeof e=="object"){for(var i=0;i<e.length;++i)if(uc(s,e[i]))return !0;return !1}return uc(s,e)}var hc=fc();pc.exports=function(e,s){return xg(hc,e)&&Ug(s,hc[e])};});var gc=chunkPWMRAKYI_cjs.b((o0,mc)=>{chunkPWMRAKYI_cjs.d();mc.exports=Gg;function Gg(t){if(!t||t==="ERROR: No README data found!")return;t=t.trim().split(`
149
+ `);let e=0;for(;t[e]&&t[e].trim().match(/^(#|$)/);)e++;let s=t.length,i=e+1;for(;i<s&&t[i].trim();)i++;return t.slice(e,i).join(" ").trim()}});var yc=chunkPWMRAKYI_cjs.b((l0,jg)=>{jg.exports={topLevel:{dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},bugs:{web:"url",name:"url"},script:{server:"start",tests:"test"}};});var vc=chunkPWMRAKYI_cjs.b((c0,Sc)=>{chunkPWMRAKYI_cjs.d();var Yg=Sl(),Wg=Ll(),Kg=Gl(),Os=sc(),Jg=dc(),zg=["dependencies","devDependencies","optionalDependencies"],Hg=gc(),Ir=chunkPWMRAKYI_cjs.a("url"),be=yc(),bc=t=>t.includes("@")&&t.indexOf("@")<t.lastIndexOf(".");Sc.exports={warn:function(){},fixRepositoryField:function(t){if(t.repositories&&(this.warn("repositories"),t.repository=t.repositories[0]),!t.repository)return this.warn("missingRepository");typeof t.repository=="string"&&(t.repository={type:"git",url:t.repository});var e=t.repository.url||"";if(e){var s=Os.fromUrl(e);s&&(e=t.repository.url=s.getDefaultRepresentation()==="shortcut"?s.https():s.toString());}e.match(/github.com\/[^/]+\/[^/]+\.git\.git$/)&&this.warn("brokenGitUrl",e);},fixTypos:function(t){Object.keys(be.topLevel).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&this.warn("typo",e,be.topLevel[e]);},this);},fixScriptsField:function(t){if(t.scripts){if(typeof t.scripts!="object"){this.warn("nonObjectScripts"),delete t.scripts;return}Object.keys(t.scripts).forEach(function(e){typeof t.scripts[e]!="string"?(this.warn("nonStringScript"),delete t.scripts[e]):be.script[e]&&!t.scripts[be.script[e]]&&this.warn("typo",e,be.script[e],"scripts");},this);}},fixFilesField:function(t){var e=t.files;e&&!Array.isArray(e)?(this.warn("nonArrayFiles"),delete t.files):t.files&&(t.files=t.files.filter(function(s){return !s||typeof s!="string"?(this.warn("invalidFilename",s),!1):!0},this));},fixBinField:function(t){if(t.bin&&typeof t.bin=="string"){var e={},s;(s=t.name.match(/^@[^/]+[/](.*)$/))?e[s[1]]=t.bin:e[t.name]=t.bin,t.bin=e;}},fixManField:function(t){t.man&&typeof t.man=="string"&&(t.man=[t.man]);},fixBundleDependenciesField:function(t){var e="bundledDependencies",s="bundleDependencies";t[e]&&!t[s]&&(t[s]=t[e],delete t[e]),t[s]&&!Array.isArray(t[s])?(this.warn("nonArrayBundleDependencies"),delete t[s]):t[s]&&(t[s]=t[s].filter(function(i){return !i||typeof i!="string"?(this.warn("nonStringBundleDependency",i),!1):(t.dependencies||(t.dependencies={}),Object.prototype.hasOwnProperty.call(t.dependencies,i)||(this.warn("nonDependencyBundleDependency",i),t.dependencies[i]="*"),!0)},this));},fixDependencies:function(t){iy(t,this.warn),ty(t,this.warn),this.fixBundleDependenciesField(t),["dependencies","devDependencies"].forEach(function(e){if(e in t){if(!t[e]||typeof t[e]!="object"){this.warn("nonObjectDependencies",e),delete t[e];return}Object.keys(t[e]).forEach(function(s){var i=t[e][s];typeof i!="string"&&(this.warn("nonStringDependency",s,JSON.stringify(i)),delete t[e][s]);var r=Os.fromUrl(t[e][s]);r&&(t[e][s]=r.toString());},this);}},this);},fixModulesField:function(t){t.modules&&(this.warn("deprecatedModules"),delete t.modules);},fixKeywordsField:function(t){typeof t.keywords=="string"&&(t.keywords=t.keywords.split(/,\s+/)),t.keywords&&!Array.isArray(t.keywords)?(delete t.keywords,this.warn("nonArrayKeywords")):t.keywords&&(t.keywords=t.keywords.filter(function(e){return typeof e!="string"||!e?(this.warn("nonStringKeyword"),!1):!0},this));},fixVersionField:function(t,e){var s=!e;if(!t.version)return t.version="",!0;if(!Yg(t.version,s))throw new Error('Invalid version: "'+t.version+'"');return t.version=Wg(t.version,s),!0},fixPeople:function(t){wc(t,Zg),wc(t,ey);},fixNameField:function(t,e){typeof e=="boolean"?e={strict:e}:typeof e>"u"&&(e={});var s=e.strict;if(!t.name&&!s){t.name="";return}if(typeof t.name!="string")throw new Error("name field must be a string.");s||(t.name=t.name.trim()),Qg(t.name,s,e.allowLegacyCase),Jg(t.name)&&this.warn("conflictingName",t.name);},fixDescriptionField:function(t){t.description&&typeof t.description!="string"&&(this.warn("nonStringDescription"),delete t.description),t.readme&&!t.description&&(t.description=Hg(t.readme)),t.description===void 0&&delete t.description,t.description||this.warn("missingDescription");},fixReadmeField:function(t){t.readme||(this.warn("missingReadme"),t.readme="ERROR: No README data found!");},fixBugsField:function(t){if(!t.bugs&&t.repository&&t.repository.url){var e=Os.fromUrl(t.repository.url);e&&e.bugs()&&(t.bugs={url:e.bugs()});}else if(t.bugs){if(typeof t.bugs=="string")bc(t.bugs)?t.bugs={email:t.bugs}:Ir.parse(t.bugs).protocol?t.bugs={url:t.bugs}:this.warn("nonEmailUrlBugsString");else {ry(t.bugs,this.warn);var s=t.bugs;t.bugs={},s.url&&(typeof s.url=="string"&&Ir.parse(s.url).protocol?t.bugs.url=s.url:this.warn("nonUrlBugsUrlField")),s.email&&(typeof s.email=="string"&&bc(s.email)?t.bugs.email=s.email:this.warn("nonEmailBugsEmailField"));}!t.bugs.email&&!t.bugs.url&&(delete t.bugs,this.warn("emptyNormalizedBugs"));}},fixHomepageField:function(t){if(!t.homepage&&t.repository&&t.repository.url){var e=Os.fromUrl(t.repository.url);e&&e.docs()&&(t.homepage=e.docs());}if(t.homepage){if(typeof t.homepage!="string")return this.warn("nonUrlHomepage"),delete t.homepage;Ir.parse(t.homepage).protocol||(t.homepage="http://"+t.homepage);}},fixLicenseField:function(t){let e=t.license||t.licence;if(!e)return this.warn("missingLicense");if(typeof e!="string"||e.length<1||e.trim()==="")return this.warn("invalidLicense");if(!Kg(e).validForNewPackages)return this.warn("invalidLicense")}};function Vg(t){if(t.charAt(0)!=="@")return !1;var e=t.slice(1).split("/");return e.length!==2?!1:e[0]&&e[1]&&e[0]===encodeURIComponent(e[0])&&e[1]===encodeURIComponent(e[1])}function Xg(t){return !t.match(/[/@\s+%:]/)&&t===encodeURIComponent(t)}function Qg(t,e,s){if(t.charAt(0)==="."||!(Vg(t)||Xg(t))||e&&!s&&t!==t.toLowerCase()||t.toLowerCase()==="node_modules"||t.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(t))}function wc(t,e){return t.author&&(t.author=e(t.author)),["maintainers","contributors"].forEach(function(s){Array.isArray(t[s])&&(t[s]=t[s].map(e));}),t}function Zg(t){if(typeof t=="string")return t;var e=t.name||"",s=t.url||t.web,i=s?" ("+s+")":"",r=t.email||t.mail,n=r?" <"+r+">":"";return e+n+i}function ey(t){if(typeof t!="string")return t;var e=t.match(/^([^(<]+)/),s=t.match(/\(([^()]+)\)/),i=t.match(/<([^<>]+)>/),r={};return e&&e[0].trim()&&(r.name=e[0].trim()),i&&(r.email=i[1]),s&&(r.url=s[1]),r}function ty(t){var e=t.optionalDependencies;if(e){var s=t.dependencies||{};Object.keys(e).forEach(function(i){s[i]=e[i];}),t.dependencies=s;}}function sy(t,e,s){if(!t)return {};if(typeof t=="string"&&(t=t.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(t))return t;s("deprecatedArrayDependencies",e);var i={};return t.filter(function(r){return typeof r=="string"}).forEach(function(r){r=r.trim().split(/(:?[@\s><=])/);var n=r.shift(),o=r.join("");o=o.trim(),o=o.replace(/^@/,""),i[n]=o;}),i}function iy(t,e){zg.forEach(function(s){t[s]&&(t[s]=sy(t[s],s,e));});}function ry(t,e){t&&Object.keys(t).forEach(function(s){be.bugs[s]&&(e("typo",s,be.bugs[s],"bugs"),t[be.bugs[s]]=t[s],delete t[s]);});}});var Lc=chunkPWMRAKYI_cjs.b((u0,ny)=>{ny.exports={repositories:"'repositories' (plural) Not supported. Please pick one as the 'repository' field",missingRepository:"No repository field.",brokenGitUrl:"Probably broken git url: %s",nonObjectScripts:"scripts must be an object",nonStringScript:"script values must be string commands",nonArrayFiles:"Invalid 'files' member",invalidFilename:"Invalid filename in 'files' list: %s",nonArrayBundleDependencies:"Invalid 'bundleDependencies' list. Must be array of package names",nonStringBundleDependency:"Invalid bundleDependencies member: %s",nonDependencyBundleDependency:"Non-dependency in bundleDependencies: %s",nonObjectDependencies:"%s field must be an object",nonStringDependency:"Invalid dependency: %s %s",deprecatedArrayDependencies:"specifying %s as array is deprecated",deprecatedModules:"modules field is deprecated",nonArrayKeywords:"keywords should be an array of strings",nonStringKeyword:"keywords should be an array of strings",conflictingName:"%s is also the name of a node core module.",nonStringDescription:"'description' field should be a string",missingDescription:"No description",missingReadme:"No README data",missingLicense:"No license field.",nonEmailUrlBugsString:"Bug string field must be url, email, or {email,url}",nonUrlBugsUrlField:"bugs.url field must be a string url. Deleted.",nonEmailBugsEmailField:"bugs.email field must be a string email. Deleted.",emptyNormalizedBugs:"Normalized value of bugs field is an empty object. Deleted.",nonUrlHomepage:"homepage field must be a string url. Deleted.",invalidLicense:"license should be a valid SPDX license expression",typo:"%s should probably be %s."};});var Nc=chunkPWMRAKYI_cjs.b((h0,Ac)=>{chunkPWMRAKYI_cjs.d();var Ec=chunkPWMRAKYI_cjs.a("util"),kr=Lc();Ac.exports=function(){var t=Array.prototype.slice.call(arguments,0),e=t.shift();if(e==="typo")return oy.apply(null,t);var s=kr[e]?kr[e]:e+": '%s'";return t.unshift(s),Ec.format.apply(null,t)};function oy(t,e,s){return s&&(t=s+"['"+t+"']",e=s+"['"+e+"']"),Ec.format(kr.typo,t,e)}});var Ic=chunkPWMRAKYI_cjs.b((d0,Pc)=>{chunkPWMRAKYI_cjs.d();Pc.exports=Cc;var Tr=vc();Cc.fixer=Tr;var ay=Nc(),ly=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],cy=["dependencies","people","typos"],Dr=ly.map(function(t){return Oc(t)+"Field"});Dr=Dr.concat(cy);function Cc(t,e,s){e===!0&&(e=null,s=!0),s||(s=!1),(!e||t.private)&&(e=function(){}),t.scripts&&t.scripts.install==="node-gyp rebuild"&&!t.scripts.preinstall&&(t.gypfile=!0),Tr.warn=function(){e(ay.apply(null,arguments));},Dr.forEach(function(i){Tr["fix"+Oc(i)](t,s);}),t._id=t.name+"@"+t.version;}function Oc(t){return t.charAt(0).toUpperCase()+t.slice(1)}});chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var Bc=(t,e)=>{let s=t.split(".").map(Number),i=e.split(".").map(Number);for(let[r,n]of s.entries()){if(n>i[r])return !0;if(n<i[r])return !1}return !1},Fr=Bc;chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var Uc=class extends Error{constructor(t){super(`ENOENT: ${t}`);}get code(){return "ENOENT"}set code(t){throw new Error("Cannot overwrite code ENOENT")}get name(){return "NotFoundError"}set name(t){throw new Error("Cannot overwrite name of NotFoundError")}},Lt=Uc,Gc=class extends Error{constructor(t){super(`EPERM: Operation not permitted, ${t}`);}get code(){return "EPERM"}set code(t){throw new Error("Cannot overwrite code EPERM")}get name(){return "PermissionError"}set name(t){throw new Error("Cannot overwrite name of PermissionError")}},je=Gc;chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var jc=class _r extends Error{fileName;codeFrame;name="JSONError";#i;constructor(e){super(),this.#i=e,Error.captureStackTrace(this,_r);}get message(){return `${this.#i}${this.fileName?` in ${this.fileName}`:""}${this.codeFrame?`
151
150
 
152
151
  ${this.codeFrame}
153
- `:""}`}set message(e){this.#i=e;}},jr=Zc;var ef=t=>{if(!t||!(t instanceof URL)&&typeof t!="string")throw new TypeError("Path must be a non-empty string or URL.")},ie=ef,tf=t=>t.replaceAll(/\r\n|\r(?!\n)|\n/gu,`
154
- `),sf=tf,rf=globalThis.process||Object.create(null),Yr={versions:{}},nf=new Proxy(rf,{get(t,e){if(e in t)return t[e];if(e in Yr)return Yr[e]}}),Wr=nf,of=(t,e,s,i)=>{let r={column:0,line:-1,...t.start},n={...r,...t.end},o=r.line,a=r.column,l=n.line,c=n.column,d=Math.max(o-(s+1),0),u=Math.min(e.length,l+i);o===-1&&(d=0),l===-1&&(u=e.length);let p=l-o,g={};if(p)for(let y=0;y<=p;y++){let h=y+o;if(!a)g[h]=!0;else if(y===0){let m=e[h-1]?.length;g[h]=[a,(m??0)-a+1];}else if(y===p)g[h]=[0,c];else {let m=e[h-y]?.length;g[h]=[0,m];}}else a===c?g[o]=a?[a,0]:!0:g[o]=[a,(c??0)-(a??0)];return {end:u,markerLines:g,start:d}},af=of,lf=Wr.platform==="win32"&&!Wr.env?.WT_SESSION?">":"\u276F",cf=(t,e,s)=>{let i={linesAbove:2,linesBelow:3,showGutter:!0,showLineNumbers:!0,tabWidth:4,...s,color:{gutter:y=>y,marker:y=>y,message:y=>y,...s?.color}},r=e.start&&typeof e.start.column=="number",n=sf(t).split(`
155
- `);typeof i?.tabWidth=="number"&&(n=n.map(y=>y.replaceAll(" "," ".repeat(i.tabWidth))));let{end:o,markerLines:a,start:l}=af(e,n,i.linesAbove,i.linesBelow),c=String(o).length,{gutter:d,marker:u,message:p}=i.color,g=n.slice(l,o).map((y,h)=>{let m=l+1+h,S=a[m],L=` ${m}`.slice(-c),C=!a[m+1],N=` ${L}${i.showGutter?" |":""}`;if(S){let O="";if(Array.isArray(S)){let v=y.replaceAll(/[^\t]/g," ").slice(0,Math.max(S[0]-1,0)),k=S[1]||1;O=[`
156
- `,d(N.replaceAll(/\d/g," "))," ",v,u("^").repeat(k)].join(""),C&&i.message&&(O+=` ${p(i.message)}`);}return [u(lf),d(N),y.length>0?` ${y}`:"",O].join("")}return ` ${d(N)}${y.length>0?` ${y}`:""}`}).join(`
152
+ `:""}`}set message(e){this.#i=e;}},qr=jc;var Yc=t=>{if(!t||!(t instanceof URL)&&typeof t!="string")throw new TypeError("Path must be a non-empty string or URL.")},ie=Yc,Wc=t=>t.replaceAll(/\r\n|\r(?!\n)|\n/gu,`
153
+ `),Kc=Wc,Jc=globalThis.process||Object.create(null),Mr={versions:{}},zc=new Proxy(Jc,{get(t,e){if(e in t)return t[e];if(e in Mr)return Mr[e]}}),xr=zc,Hc=(t,e,s,i)=>{let r={column:0,line:-1,...t.start},n={...r,...t.end},o=r.line,a=r.column,l=n.line,c=n.column,d=Math.max(o-(s+1),0),u=Math.min(e.length,l+i);o===-1&&(d=0),l===-1&&(u=e.length);let p=l-o,g={};if(p)for(let y=0;y<=p;y++){let h=y+o;if(!a)g[h]=!0;else if(y===0){let m=e[h-1]?.length;g[h]=[a,(m??0)-a+1];}else if(y===p)g[h]=[0,c];else {let m=e[h-y]?.length;g[h]=[0,m];}}else a===c?g[o]=a?[a,0]:!0:g[o]=[a,(c??0)-(a??0)];return {end:u,markerLines:g,start:d}},Vc=Hc,Xc=xr.platform==="win32"&&!xr.env?.WT_SESSION?">":"\u276F",Qc=(t,e,s)=>{let i={linesAbove:2,linesBelow:3,showGutter:!0,showLineNumbers:!0,tabWidth:4,...s,color:{gutter:y=>y,marker:y=>y,message:y=>y,...s?.color}},r=e.start&&typeof e.start.column=="number",n=Kc(t).split(`
154
+ `);typeof i?.tabWidth=="number"&&(n=n.map(y=>y.replaceAll(" "," ".repeat(i.tabWidth))));let{end:o,markerLines:a,start:l}=Vc(e,n,i.linesAbove,i.linesBelow),c=String(o).length,{gutter:d,marker:u,message:p}=i.color,g=n.slice(l,o).map((y,h)=>{let m=l+1+h,S=a[m],L=` ${m}`.slice(-c),C=!a[m+1],N=` ${L}${i.showGutter?" |":""}`;if(S){let O="";if(Array.isArray(S)){let v=y.replaceAll(/[^\t]/g," ").slice(0,Math.max(S[0]-1,0)),I=S[1]||1;O=[`
155
+ `,d(N.replaceAll(/\d/g," "))," ",v,u("^").repeat(I)].join(""),C&&i.message&&(O+=` ${p(i.message)}`);}return [u(Xc),d(N),y.length>0?` ${y}`:"",O].join("")}return ` ${d(N)}${y.length>0?` ${y}`:""}`}).join(`
157
156
  `);return i.message&&!r&&(g=`${" ".repeat(c+1)}${i.message}
158
- ${g}`),g},Kr=(t,e)=>{let s=0,i=e.length-2;for(;s<i;){let r=s+(i-s>>1);if(t<e[r])i=r-1;else if(t>=e[r+1])s=r+1;else {s=r;break}}return s},ff=t=>t.split(/\n|\r(?!\n)/).reduce((e,s)=>(e.push(e.at(-1)+s.length+1),e),[0]),uf=(t,e,s)=>{let i=s?.skipChecks??!1;if(!i&&(!Array.isArray(t)&&typeof t!="string"||(typeof t=="string"||Array.isArray(t))&&t.length===0))return {column:0,line:0};if(!i&&(typeof e!="number"||typeof t=="string"&&e>=t.length||Array.isArray(t)&&e+1>=t.at(-1)))return {column:0,line:0};if(typeof t=="string"){let n=ff(t),o=Kr(e,n);return {column:e-n[o]+1,line:o+1}}let r=Kr(e,t);return {column:e-t[r]+1,line:r+1}},hf=uf,pf=t=>`\\u{${t.codePointAt(0).toString(16)}}`,df=(t,e,s)=>cf(t,{start:e},{tabWidth:!1,...s}),mf=(t,e)=>{let s=/in JSON at position (?<index>\d+)(?: \(line (?<line>\d+) column (?<column>\d+)\))?$/.exec(e);if(!s)return;let{column:i,index:r,line:n}=s.groups;return n&&i?{column:Number(i),line:Number(n)}:(r=Number(r),r===t.length&&(r=t.length-1),hf(t,r))},gf=t=>t.replace(/(?<=^Unexpected token )(?<quote>')?(.)\k<quote>/,(e,s,i)=>`"${i}"(${pf(i)})`);function yf(t,e,s,i){typeof e=="string"&&(typeof s=="object"&&(i=s),s=e,e=void 0);let r;try{return JSON.parse(t,e)}catch(a){r=a.message;}let n;t?(n=mf(t,r),r=gf(r)):r+=" while parsing empty string";let o=new jr(r);throw o.fileName=s,n&&(o.codeFrame=df(t,n,i)),o}var Ie=yf,bf=t=>{if(typeof t!="string"&&!(t instanceof ArrayBuffer)&&!ArrayBuffer.isView(t))throw new TypeError("File contents must be a string, ArrayBuffer, or ArrayBuffer view.")},Ot=bf;chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var wf=Object.defineProperty,Sf=(t,e)=>{for(var s in e)wf(t,s,{get:e[s],enumerable:!0});},vf=/^[A-Z]:\//i,Lf=(t="")=>t&&t.replaceAll("\\","/").replace(vf,e=>e.toUpperCase()),X=Lf,zr={};Sf(zr,{basename:()=>Tt,delimiter:()=>Xr,dirname:()=>R,extname:()=>It,format:()=>Zr,isAbsolute:()=>V,join:()=>$,normalize:()=>kt,normalizeString:()=>Pt,parse:()=>ze,relative:()=>Qr,resolve:()=>W,sep:()=>Vr,toNamespacedPath:()=>Fs});var Ef=/^[/\\]{2}/,Af=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i,Hr=/^[A-Z]:$/i,Jr=/^\/([A-Z]:)?$/i,Nf=/.(\.[^./]+)$/,Cf=()=>typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replaceAll("\\","/"):"/",Vr="/",Xr=":",Pt=(t,e)=>{let s="",i=0,r=-1,n=0,o=null;for(let a=0;a<=t.length;++a){if(a<t.length)o=t[a];else {if(o==="/")break;o="/";}if(o==="/"){if(!(r===a-1||n===1))if(n===2){if(s.length<2||i!==2||!s.endsWith(".")||s.at(-2)!=="."){if(s.length>2){let l=s.lastIndexOf("/");l===-1?(s="",i=0):(s=s.slice(0,l),i=s.length-1-s.lastIndexOf("/")),r=a,n=0;continue}else if(s.length>0){s="",i=0,r=a,n=0;continue}}e&&(s+=s.length>0?"/..":"..",i=2);}else s.length>0?s+=`/${t.slice(r+1,a)}`:s=t.slice(r+1,a),i=a-r-1;r=a,n=0;}else o==="."&&n!==-1?++n:n=-1;}return s},V=t=>Af.test(t),kt=function(t){if(t.length===0)return ".";t=X(t);let e=Ef.exec(t),s=V(t),i=t.at(-1)==="/";return t=Pt(t,!s),t.length===0?s?"/":i?"./":".":(i&&(t+="/"),Hr.test(t)&&(t+="/"),e?s?`//${t}`:`//./${t}`:s&&!V(t)?`/${t}`:t)},$=function(...t){if(t.length===0)return ".";let e;for(let s of t)s&&s.length>0&&(e===void 0?e=s:e+=`/${s}`);return e===void 0?".":kt(e.replaceAll(/\/{2,}/g,"/"))},W=function(...t){t=t.map(i=>X(i));let e="",s=!1;for(let i=t.length-1;i>=-1&&!s;i--){let r=i>=0?t[i]:Cf();!r||r.length===0||(e=`${r}/${e}`,s=V(r));}return e=Pt(e,!s),s&&!V(e)?`/${e}`:e.length>0?e:"."},Fs=function(t){return X(t)},It=function(t){return Nf.exec(X(t))?.[1]??""},Qr=function(t,e){let s=W(t).replace(Jr,"$1").split("/"),i=W(e).replace(Jr,"$1").split("/");if(i[0][1]===":"&&s[0][1]===":"&&s[0]!==i[0])return i.join("/");let r=[...s];for(let n of r){if(i[0]!==n)break;s.shift(),i.shift();}return [...s.map(()=>".."),...i].join("/")},R=t=>{let e=X(t).replace(/\/$/,"").split("/").slice(0,-1);return e.length===1&&Hr.test(e[0])&&(e[0]+="/"),e.join("/")||(V(t)?"/":".")},Zr=function(t){let e=[t.root,t.dir,t.base??t.name+t.ext].filter(Boolean);return X(t.root?W(...e):e.join("/"))},Tt=(t,e)=>{let s=X(t).split("/").pop();return e&&s.endsWith(e)?s.slice(0,-e.length):s},ze=function(t){let e=X(t).split("/").shift();e===""?e="/":e+="/";let s=Tt(t),i=It(s);return {base:s,dir:R(t),ext:i,name:s.slice(0,s.length-i.length),root:e}};chunkPWMRAKYI_cjs.d();var Pf=["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"],kf=Pf;new Set(kf);var U=t=>X(t instanceof URL?url.fileURLToPath(t):t);chunkPWMRAKYI_cjs.c(Ba(),1);var Pe=2;var Qa=Symbol("findUpStop"),Ya=t=>{if(t.isFile())return "file";if(t.isDirectory())return "dir";if(t.isSymbolicLink())return "symlink"};var mm=t=>{ie(t);try{let e=fs.lstatSync(t);if(!e.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${Ya(e)}'`);return}catch(e){if(e.code!=="ENOENT")throw e}try{fs.mkdirSync(t,{recursive:!0});}catch(e){if(e.code!=="EEXIST")throw e;let s=fs.lstatSync(t);if(!s.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${Ya(s)}'`)}},Za=mm;process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE);process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE);var gm=async(t,e={})=>{if(typeof t!="string"&&!Array.isArray(t)&&typeof t!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");let s=e.cwd?U(e.cwd):process.cwd(),i=W(s),{root:r}=ze(i),n=U(e.stopAt??r),o=W(i,n),a=e.type??"file",l=async function(c){return typeof t=="function"?[await t(c)]:typeof t=="string"?[t]:Array.isArray(t)?t:[t]};for(;i&&i!==o&&i!==r;){for await(let c of await l(i)){if(c===Qa)return;if(c===void 0)continue;let d=V(c)?c:W(i,c);try{let u=await promises.stat(d);if(a==="file"&&u.isFile()||a==="directory"&&u.isDirectory())return d}catch{}}i=R(i);}},ge=gm,ym=(t,e={})=>{if(typeof t!="string"&&!Array.isArray(t)&&typeof t!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");let s=e.cwd?U(e.cwd):process.cwd(),i=W(s),{root:r}=ze(i),n=U(e.stopAt??r),o=W(i,n),a=e.type??"file",l=function(c){return typeof t=="function"?[t(c)]:typeof t=="string"?[t]:Array.isArray(t)?t:[t]};for(;i&&i!==o&&i!==r;){for(let c of l(i)){if(c===Qa)return;if(c===void 0)continue;let d=V(c)?c:W(i,c);try{let u=fs.statSync(d);if(a==="file"&&u.isFile()||a==="directory"&&u.isDirectory())return d}catch{}}i=R(i);}},ye=ym;async function bm(t,e=0){ie(t),t=U(t);try{return await promises.access(t,e),!0}catch{return !1}}var te=bm;function wm(t,e=0){ie(t),t=U(t);try{return fs.accessSync(t,e),!0}catch{return !1}}var se=wm,Sm={brotli:zlib.brotliDecompress,gzip:zlib.unzip,none:(t,e)=>{e(null,t);}},vm=async(t,e)=>{if(ie(t),t=U(t),!await te(t))throw new Je(`unable to read the non-accessible file: ${t}`);if(!await te(t,4))throw new Error(`Unable to read the non-readable file: ${t}`);let{buffer:s,compression:i,encoding:r,flag:n}=e??{};return await promises.readFile(t,n?{encoding:r,flag:n}:{encoding:r}).then(async o=>await new Promise((a,l)=>{Sm[i??"none"](o,(c,d)=>{c?l(c):a(s?d:d.toString());});})).catch(o=>{throw o})},Lm=vm,Em={brotli:zlib.brotliDecompressSync,gzip:zlib.unzipSync,none:t=>t},Am=(t,e)=>{if(ie(t),t=U(t),!se(t))throw new Je(`unable to read the non-accessible file: ${t}`);if(!se(t,4))throw new Je(`invalid access to read file at: ${t}`);let{buffer:s,compression:i,encoding:r,flag:n}=e??{},o=fs.readFileSync(t,n?{encoding:r,flag:n}:{encoding:r}),a=Em[i??"none"](o);return s?a:a.toString()},Nm=Am;async function Cm(t,e,s){typeof e=="object"&&(s=e,e=void 0);let i=await Lm(t,{buffer:!0,encoding:void 0}),r=new TextDecoder().decode(i),{beforeParse:n,color:o}=s??{};return typeof n=="function"&&(r=n(r)),Ie(r,e,U(t),{color:o})}var el=Cm;function Om(t,e,s){typeof e=="object"&&(s=e,e=void 0);let i=Nm(t,{buffer:!0,encoding:void 0}),r=new TextDecoder().decode(i),{beforeParse:n,color:o}=s??{};return typeof n=="function"&&(r=n(r)),Ie(r,e,U(t),{color:o})}var At=Om;var Pm=new TextEncoder,km=t=>{if(t instanceof Uint8Array)return t;if(typeof t=="string")return Pm.encode(t);if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t)){let e=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength);return new Uint8Array(e)}throw new TypeError("Invalid contents type. Expected string or ArrayBuffer.")},tl=km,Im=async(t,e,s)=>{s={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...s},ie(t),Ot(e),t=U(t);try{let i=await te(t,0);if(!i&&s.recursive){let o=R(t);await te(o,0)||await promises.mkdir(o,{recursive:!0});}let r;await promises.writeFile(`${t}.tmp`,tl(e),{encoding:s.encoding,flag:s.flag}),i&&!s.overwrite&&(r=await promises.stat(t),s.chown===void 0&&(s.chown={gid:r.gid,uid:r.uid}),await promises.rename(t,`${t}.bak`));let n=`${t}.tmp`;if(s.chown)try{await promises.chown(n,s.chown.uid,s.chown.gid);}catch{}await promises.chmod(n,r&&!s.mode?r.mode:s.mode??438),await promises.rename(n,t);}catch(i){throw new Error(`Failed to write file at: ${t} - ${i.message}`,{cause:i})}finally{await te(`${t}.tmp`)&&await promises.unlink(`${t}.tmp`);}},Tm=Im,Dm=(t,e,s)=>{s={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...s},ie(t),Ot(e),t=U(t);try{let i=se(t,0);if(!i&&s.recursive){let o=R(t);se(o,0)||fs.mkdirSync(o,{recursive:!0});}let r;fs.writeFileSync(`${t}.tmp`,tl(e),{encoding:s.encoding,flag:s.flag}),i&&!s.overwrite&&(r=fs.statSync(t),s.chown===void 0&&(s.chown={gid:r.gid,uid:r.uid}),fs.renameSync(t,`${t}.bak`));let n=`${t}.tmp`;if(s.chown)try{fs.chownSync(n,s.chown.uid,s.chown.gid);}catch{}fs.chmodSync(n,r&&!s.mode?r.mode:s.mode??438),fs.renameSync(n,t);}catch(i){throw new Error(`Failed to write file at: ${t} - ${i.message}`,{cause:i})}finally{se(`${t}.tmp`)&&fs.unlinkSync(`${t}.tmp`);}},$m=Dm,Rm=/^(?:( )+|\t+)/,Et="space",sl="tab";function Wa(t,e){let s=new Map,i=0,r,n;for(let o of t.split(/\n/g)){if(!o)continue;let a,l,c,d,u,p=o.match(Rm);if(p===null)i=0,r="";else {if(a=p[0].length,l=p[1]?Et:sl,e&&l===Et&&a===1)continue;l!==r&&(i=0),r=l,c=1,d=0;let g=a-i;if(i=a,g===0)c=0,d=1;else {let y=g>0?g:-g;n=Fm(l,y);}u=s.get(n),u=u===void 0?[1,0]:[u[0]+c,u[1]+d],s.set(n,u);}}return s}function Fm(t,e){return (t===Et?"s":"t")+String(e)}function _m(t){let e=t[0]==="s"?Et:sl,s=Number(t.slice(1));return {type:e,amount:s}}function Mm(t){let e,s=0,i=0;for(let[r,[n,o]]of t)(n>s||n===s&&o>i)&&(s=n,i=o,e=r);return e}function qm(t,e){return (t===Et?" ":" ").repeat(e)}function il(t){if(typeof t!="string")throw new TypeError("Expected a string");let e=Wa(t,!0);e.size===0&&(e=Wa(t,!1));let s=Mm(e),i,r=0,n="";return s!==void 0&&({type:i,amount:r}=_m(s),n=qm(i,r)),{amount:r,type:i,indent:n}}var xm=async(t,e,s={})=>{let{detectIndent:i,indent:r,replacer:n,stringify:o=JSON.stringify,...a}={indent:" ",...s},l=r,c=`
159
- `;if(await te(t,4))try{let u=await promises.readFile(t,"utf8");if(i){let{indent:p}=il(u);l=p;}c=u.endsWith(`
157
+ ${g}`),g},Br=(t,e)=>{let s=0,i=e.length-2;for(;s<i;){let r=s+(i-s>>1);if(t<e[r])i=r-1;else if(t>=e[r+1])s=r+1;else {s=r;break}}return s},Zc=t=>t.split(/\n|\r(?!\n)/).reduce((e,s)=>(e.push(e.at(-1)+s.length+1),e),[0]),ef=(t,e,s)=>{let i=s?.skipChecks??!1;if(!i&&(!Array.isArray(t)&&typeof t!="string"||(typeof t=="string"||Array.isArray(t))&&t.length===0))return {column:0,line:0};if(!i&&(typeof e!="number"||typeof t=="string"&&e>=t.length||Array.isArray(t)&&e+1>=t.at(-1)))return {column:0,line:0};if(typeof t=="string"){let n=Zc(t),o=Br(e,n);return {column:e-n[o]+1,line:o+1}}let r=Br(e,t);return {column:e-t[r]+1,line:r+1}},tf=ef,sf=t=>`\\u{${t.codePointAt(0).toString(16)}}`,rf=(t,e,s)=>Qc(t,{start:e},{tabWidth:!1,...s}),nf=(t,e)=>{let s=/in JSON at position (?<index>\d+)(?: \(line (?<line>\d+) column (?<column>\d+)\))?$/.exec(e);if(!s)return;let{column:i,index:r,line:n}=s.groups;return n&&i?{column:Number(i),line:Number(n)}:(r=Number(r),r===t.length&&(r=t.length-1),tf(t,r))},of=t=>t.replace(/(?<=^Unexpected token )(?<quote>')?(.)\k<quote>/,(e,s,i)=>`"${i}"(${sf(i)})`);function af(t,e,s,i){typeof e=="string"&&(typeof s=="object"&&(i=s),s=e,e=void 0);let r;try{return JSON.parse(t,e)}catch(a){r=a.message;}let n;t?(n=nf(t,r),r=of(r)):r+=" while parsing empty string";let o=new qr(r);throw o.fileName=s,n&&(o.codeFrame=rf(t,n,i)),o}var Ce=af,lf=t=>{if(typeof t!="string"&&!(t instanceof ArrayBuffer)&&!ArrayBuffer.isView(t))throw new TypeError("File contents must be a string, ArrayBuffer, or ArrayBuffer view.")},Et=lf;chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var cf=Object.defineProperty,ff=(t,e)=>{for(var s in e)cf(t,s,{get:e[s],enumerable:!0});},uf=/^[A-Z]:\//i,hf=(t="")=>t&&t.replaceAll("\\","/").replace(uf,e=>e.toUpperCase()),X=hf,Gr={};ff(Gr,{basename:()=>Ot,delimiter:()=>Wr,dirname:()=>Y,extname:()=>Ct,format:()=>Jr,isAbsolute:()=>V,join:()=>x,normalize:()=>Nt,normalizeString:()=>At,parse:()=>Ye,relative:()=>Kr,resolve:()=>W,sep:()=>Yr,toNamespacedPath:()=>Ts});var pf=/^[/\\]{2}/,df=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i,jr=/^[A-Z]:$/i,Ur=/^\/([A-Z]:)?$/i,mf=/.(\.[^./]+)$/,gf=()=>typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replaceAll("\\","/"):"/",Yr="/",Wr=":",At=(t,e)=>{let s="",i=0,r=-1,n=0,o=null;for(let a=0;a<=t.length;++a){if(a<t.length)o=t[a];else {if(o==="/")break;o="/";}if(o==="/"){if(!(r===a-1||n===1))if(n===2){if(s.length<2||i!==2||!s.endsWith(".")||s.at(-2)!=="."){if(s.length>2){let l=s.lastIndexOf("/");l===-1?(s="",i=0):(s=s.slice(0,l),i=s.length-1-s.lastIndexOf("/")),r=a,n=0;continue}else if(s.length>0){s="",i=0,r=a,n=0;continue}}e&&(s+=s.length>0?"/..":"..",i=2);}else s.length>0?s+=`/${t.slice(r+1,a)}`:s=t.slice(r+1,a),i=a-r-1;r=a,n=0;}else o==="."&&n!==-1?++n:n=-1;}return s},V=t=>df.test(t),Nt=function(t){if(t.length===0)return ".";t=X(t);let e=pf.exec(t),s=V(t),i=t.at(-1)==="/";return t=At(t,!s),t.length===0?s?"/":i?"./":".":(i&&(t+="/"),jr.test(t)&&(t+="/"),e?s?`//${t}`:`//./${t}`:s&&!V(t)?`/${t}`:t)},x=function(...t){if(t.length===0)return ".";let e;for(let s of t)s&&s.length>0&&(e===void 0?e=s:e+=`/${s}`);return e===void 0?".":Nt(e.replaceAll(/\/{2,}/g,"/"))},W=function(...t){t=t.map(i=>X(i));let e="",s=!1;for(let i=t.length-1;i>=-1&&!s;i--){let r=i>=0?t[i]:gf();!r||r.length===0||(e=`${r}/${e}`,s=V(r));}return e=At(e,!s),s&&!V(e)?`/${e}`:e.length>0?e:"."},Ts=function(t){return X(t)},Ct=function(t){return mf.exec(X(t))?.[1]??""},Kr=function(t,e){let s=W(t).replace(Ur,"$1").split("/"),i=W(e).replace(Ur,"$1").split("/");if(i[0][1]===":"&&s[0][1]===":"&&s[0]!==i[0])return i.join("/");let r=[...s];for(let n of r){if(i[0]!==n)break;s.shift(),i.shift();}return [...s.map(()=>".."),...i].join("/")},Y=t=>{let e=X(t).replace(/\/$/,"").split("/").slice(0,-1);return e.length===1&&jr.test(e[0])&&(e[0]+="/"),e.join("/")||(V(t)?"/":".")},Jr=function(t){let e=[t.root,t.dir,t.base??t.name+t.ext].filter(Boolean);return X(t.root?W(...e):e.join("/"))},Ot=(t,e)=>{let s=X(t).split("/").pop();return e&&s.endsWith(e)?s.slice(0,-e.length):s},Ye=function(t){let e=X(t).split("/").shift();e===""?e="/":e+="/";let s=Ot(t),i=Ct(s);return {base:s,dir:Y(t),ext:i,name:s.slice(0,s.length-i.length),root:e}};chunkPWMRAKYI_cjs.d();var bf=["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"],wf=bf;new Set(wf);var B=t=>X(t instanceof URL?url.fileURLToPath(t):t);chunkPWMRAKYI_cjs.c(Ra(),1);var Ae=2;var Ka=Symbol("findUpStop"),Ma=t=>{if(t.isFile())return "file";if(t.isDirectory())return "dir";if(t.isSymbolicLink())return "symlink"};var nm=t=>{ie(t);try{let e=fs.lstatSync(t);if(!e.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${Ma(e)}'`);return}catch(e){if(e.code!=="ENOENT")throw e}try{fs.mkdirSync(t,{recursive:!0});}catch(e){if(e.code!=="EEXIST")throw e;let s=fs.lstatSync(t);if(!s.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${Ma(s)}'`)}},Ja=nm;process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE);process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE);var om=async(t,e={})=>{if(typeof t!="string"&&!Array.isArray(t)&&typeof t!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");let s=e.cwd?B(e.cwd):process.cwd(),i=W(s),{root:r}=Ye(i),n=B(e.stopAt??r),o=W(i,n),a=e.type??"file",l=async function(c){return typeof t=="function"?[await t(c)]:typeof t=="string"?[t]:Array.isArray(t)?t:[t]};for(;i&&i!==o&&i!==r;){for await(let c of await l(i)){if(c===Ka)return;if(c===void 0)continue;let d=V(c)?c:W(i,c);try{let u=await promises.stat(d);if(a==="file"&&u.isFile()||a==="directory"&&u.isDirectory())return d}catch{}}i=Y(i);}},za=om,am=(t,e={})=>{if(typeof t!="string"&&!Array.isArray(t)&&typeof t!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");let s=e.cwd?B(e.cwd):process.cwd(),i=W(s),{root:r}=Ye(i),n=B(e.stopAt??r),o=W(i,n),a=e.type??"file",l=function(c){return typeof t=="function"?[t(c)]:typeof t=="string"?[t]:Array.isArray(t)?t:[t]};for(;i&&i!==o&&i!==r;){for(let c of l(i)){if(c===Ka)return;if(c===void 0)continue;let d=V(c)?c:W(i,c);try{let u=fs.statSync(d);if(a==="file"&&u.isFile()||a==="directory"&&u.isDirectory())return d}catch{}}i=Y(i);}},Ha=am;async function lm(t,e=0){ie(t),t=B(t);try{return await promises.access(t,e),!0}catch{return !1}}var te=lm;function cm(t,e=0){ie(t),t=B(t);try{return fs.accessSync(t,e),!0}catch{return !1}}var se=cm,fm={brotli:zlib.brotliDecompress,gzip:zlib.unzip,none:(t,e)=>{e(null,t);}},um=async(t,e)=>{if(ie(t),t=B(t),!await te(t))throw new je(`unable to read the non-accessible file: ${t}`);if(!await te(t,4))throw new Error(`Unable to read the non-readable file: ${t}`);let{buffer:s,compression:i,encoding:r,flag:n}=e??{};return await promises.readFile(t,n?{encoding:r,flag:n}:{encoding:r}).then(async o=>await new Promise((a,l)=>{fm[i??"none"](o,(c,d)=>{c?l(c):a(s?d:d.toString());});})).catch(o=>{throw o})},hm=um,pm={brotli:zlib.brotliDecompressSync,gzip:zlib.unzipSync,none:t=>t},dm=(t,e)=>{if(ie(t),t=B(t),!se(t))throw new je(`unable to read the non-accessible file: ${t}`);if(!se(t,4))throw new je(`invalid access to read file at: ${t}`);let{buffer:s,compression:i,encoding:r,flag:n}=e??{},o=fs.readFileSync(t,n?{encoding:r,flag:n}:{encoding:r}),a=pm[i??"none"](o);return s?a:a.toString()},mm=dm;async function gm(t,e,s){typeof e=="object"&&(s=e,e=void 0);let i=await hm(t,{buffer:!0,encoding:void 0}),r=new TextDecoder().decode(i),{beforeParse:n,color:o}=s??{};return typeof n=="function"&&(r=n(r)),Ce(r,e,B(t),{color:o})}var Va=gm;function ym(t,e,s){typeof e=="object"&&(s=e,e=void 0);let i=mm(t,{buffer:!0,encoding:void 0}),r=new TextDecoder().decode(i),{beforeParse:n,color:o}=s??{};return typeof n=="function"&&(r=n(r)),Ce(r,e,B(t),{color:o})}var hr=ym;var bm=new TextEncoder,wm=t=>{if(t instanceof Uint8Array)return t;if(typeof t=="string")return bm.encode(t);if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t)){let e=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength);return new Uint8Array(e)}throw new TypeError("Invalid contents type. Expected string or ArrayBuffer.")},Xa=wm,Sm=async(t,e,s)=>{s={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...s},ie(t),Et(e),t=B(t);try{let i=await te(t,0);if(!i&&s.recursive){let o=Y(t);await te(o,0)||await promises.mkdir(o,{recursive:!0});}let r;await promises.writeFile(`${t}.tmp`,Xa(e),{encoding:s.encoding,flag:s.flag}),i&&!s.overwrite&&(r=await promises.stat(t),s.chown===void 0&&(s.chown={gid:r.gid,uid:r.uid}),await promises.rename(t,`${t}.bak`));let n=`${t}.tmp`;if(s.chown)try{await promises.chown(n,s.chown.uid,s.chown.gid);}catch{}await promises.chmod(n,r&&!s.mode?r.mode:s.mode??438),await promises.rename(n,t);}catch(i){throw new Error(`Failed to write file at: ${t} - ${i.message}`,{cause:i})}finally{await te(`${t}.tmp`)&&await promises.unlink(`${t}.tmp`);}},vm=Sm,Lm=(t,e,s)=>{s={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...s},ie(t),Et(e),t=B(t);try{let i=se(t,0);if(!i&&s.recursive){let o=Y(t);se(o,0)||fs.mkdirSync(o,{recursive:!0});}let r;fs.writeFileSync(`${t}.tmp`,Xa(e),{encoding:s.encoding,flag:s.flag}),i&&!s.overwrite&&(r=fs.statSync(t),s.chown===void 0&&(s.chown={gid:r.gid,uid:r.uid}),fs.renameSync(t,`${t}.bak`));let n=`${t}.tmp`;if(s.chown)try{fs.chownSync(n,s.chown.uid,s.chown.gid);}catch{}fs.chmodSync(n,r&&!s.mode?r.mode:s.mode??438),fs.renameSync(n,t);}catch(i){throw new Error(`Failed to write file at: ${t} - ${i.message}`,{cause:i})}finally{se(`${t}.tmp`)&&fs.unlinkSync(`${t}.tmp`);}},Em=Lm,Am=/^(?:( )+|\t+)/,wt="space",Qa="tab";function xa(t,e){let s=new Map,i=0,r,n;for(let o of t.split(/\n/g)){if(!o)continue;let a,l,c,d,u,p=o.match(Am);if(p===null)i=0,r="";else {if(a=p[0].length,l=p[1]?wt:Qa,e&&l===wt&&a===1)continue;l!==r&&(i=0),r=l,c=1,d=0;let g=a-i;if(i=a,g===0)c=0,d=1;else {let y=g>0?g:-g;n=Nm(l,y);}u=s.get(n),u=u===void 0?[1,0]:[u[0]+c,u[1]+d],s.set(n,u);}}return s}function Nm(t,e){return (t===wt?"s":"t")+String(e)}function Cm(t){let e=t[0]==="s"?wt:Qa,s=Number(t.slice(1));return {type:e,amount:s}}function Om(t){let e,s=0,i=0;for(let[r,[n,o]]of t)(n>s||n===s&&o>i)&&(s=n,i=o,e=r);return e}function Pm(t,e){return (t===wt?" ":" ").repeat(e)}function Za(t){if(typeof t!="string")throw new TypeError("Expected a string");let e=xa(t,!0);e.size===0&&(e=xa(t,!1));let s=Om(e),i,r=0,n="";return s!==void 0&&({type:i,amount:r}=Cm(s),n=Pm(i,r)),{amount:r,type:i,indent:n}}var Im=async(t,e,s={})=>{let{detectIndent:i,indent:r,replacer:n,stringify:o=JSON.stringify,...a}={indent:" ",...s},l=r,c=`
158
+ `;if(await te(t,4))try{let u=await promises.readFile(t,"utf8");if(i){let{indent:p}=Za(u);l=p;}c=u.endsWith(`
160
159
  `)?`
161
- `:"";}catch(u){if(u.code!=="ENOENT")throw u}let d=o(e,n,l);await Tm(t,`${d}${c}`,a);},rl=xm,Bm=(t,e,s={})=>{let{detectIndent:i,indent:r,replacer:n,stringify:o=JSON.stringify,...a}={indent:" ",...s},l=r,c=`
162
- `;if(se(t,4))try{let u=fs.readFileSync(t,"utf8");if(i){let{indent:p}=il(u);l=p;}c=u.endsWith(`
160
+ `:"";}catch(u){if(u.code!=="ENOENT")throw u}let d=o(e,n,l);await vm(t,`${d}${c}`,a);},el=Im,km=(t,e,s={})=>{let{detectIndent:i,indent:r,replacer:n,stringify:o=JSON.stringify,...a}={indent:" ",...s},l=r,c=`
161
+ `;if(se(t,4))try{let u=fs.readFileSync(t,"utf8");if(i){let{indent:p}=Za(u);l=p;}c=u.endsWith(`
163
162
  `)?`
164
- `:"";}catch(u){if(u.code!=="ENOENT")throw u}let d=o(e,n,l);$m(t,`${d}${c}`,a);},nl=Bm;chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var Ds=chunkPWMRAKYI_cjs.c($c(),1),Sy=Object.defineProperty,vy=(t,e)=>Sy(t,"name",{value:e,configurable:!0}),Ey=Object.defineProperty,Ct=vy((t,e)=>Ey(t,"name",{value:e,configurable:!0}),"r"),Rc=new Map;Ct(async(t,e={})=>{let s=await ge("package.json",{...t&&{cwd:t},type:"file"});if(!s)throw new Le("No such file or directory, for package.json found.");let i=e.cache&&typeof e.cache!="boolean"?e.cache:Rc;if(e.cache&&i.has(s))return i.get(s);let r=await el(s);(0, Ds.default)(r);let n={packageJson:r,path:s};return i.set(s,n),n},"findPackageJson");Ct((t,e={})=>{let s=ye("package.json",{...t&&{cwd:t},type:"file"});if(!s)throw new Le("No such file or directory, for package.json found.");let i=e.cache&&typeof e.cache!="boolean"?e.cache:Rc;if(e.cache&&i.has(s))return i.get(s);let r=At(s);(0, Ds.default)(r);let n={packageJson:r,path:s};return i.set(s,n),n},"findPackageJsonSync");Ct(async(t,e={})=>{let{cwd:s,...i}=e,r=U(e.cwd??process.cwd());await rl($(r,"package.json"),t,i);},"writePackageJson");Ct((t,e={})=>{let{cwd:s,...i}=e,r=U(e.cwd??process.cwd());nl($(r,"package.json"),t,i);},"writePackageJsonSync");var _r=Ct(t=>{let e=t!==null&&typeof t=="object"&&!Array.isArray(t);if(!e&&typeof t!="string")throw new TypeError("`packageFile` should be either an `object` or a `string`.");let s=e?structuredClone(t):fs.existsSync(t)?At(t):Ie(t);return (0, Ds.default)(s),s},"parsePackageJson");var Ay=Object.defineProperty,Ny=(t,e)=>Ay(t,"name",{value:e,configurable:!0}),Py=Object.defineProperty,ve=Ny((t,e)=>Py(t,"name",{value:e,configurable:!0}),"e"),Mr=["yarn.lock","package-lock.json","pnpm-lock.yaml","npm-shrinkwrap.json","bun.lockb"],_c=ve(t=>{let e;if(Mr.forEach(i=>{!e&&fs.existsSync($(t,i))&&(e=$(t,i));}),e)return e;let s=$(t,"package.json");if(fs.existsSync(s)&&_r(fs.readFileSync(s,"utf8")).packageManager!==void 0)return s},"packageMangerFindUpMatcher"),Mc=ve(t=>{if(!t)throw new Le("Could not find a package manager");if(t.endsWith("package.json")){let e=_r(t);if(e.packageManager){let s=["npm","yarn","pnpm","bun"].find(i=>e.packageManager.startsWith(i));if(s)return {packageManager:s,path:R(t)}}}if(t.endsWith("yarn.lock"))return {packageManager:"yarn",path:R(t)};if(t.endsWith("package-lock.json")||t.endsWith("npm-shrinkwrap.json"))return {packageManager:"npm",path:R(t)};if(t.endsWith("pnpm-lock.yaml"))return {packageManager:"pnpm",path:R(t)};if(t.endsWith("bun.lockb"))return {packageManager:"bun",path:R(t)};throw new Le("Could not find a package manager")},"findPackageManagerOnFile"),qc=ve(async t=>{let e=await ge(Mr,{type:"file",...t&&{cwd:t}});if(!e)throw new Error("Could not find lock file");return e},"findLockFile"),xc=ve(t=>{let e=ye(Mr,{type:"file",...t&&{cwd:t}});if(!e)throw new Error("Could not find lock file");return e},"findLockFileSync");ve(async t=>{let e=await ge(_c,{...t&&{cwd:t}});return Mc(e)},"findPackageManager");ve(t=>{let e=ye(_c,{...t&&{cwd:t}});return Mc(e)},"findPackageManagerSync");ve(t=>child_process.execSync(`${t} --version`).toString("utf8").trim(),"getPackageManagerVersion");ve(async()=>{if(!process.env.npm_config_user_agent)return;let t=process.env.npm_config_user_agent.split(" ")[0],e=t.lastIndexOf("/"),s=t.slice(0,Math.max(0,e));return {name:s==="npminstall"?"cnpm":s,version:t.slice(Math.max(0,e+1))}},"identifyInitiatingPackageManager");chunkPWMRAKYI_cjs.d();var ky=Object.defineProperty,Iy=(t,e)=>ky(t,"name",{value:e,configurable:!0}),Dy=Object.defineProperty,qr=Iy((t,e)=>Dy(t,"name",{value:e,configurable:!0}),"i"),Bc=qr(t=>{if(fs.existsSync($(t,"package.json"))){let e=At($(t,"package.json"));if(e.name&&e.private!==!0)return "package.json"}},"packageJsonMatcher"),Uc=qr(async t=>{try{let i=await qc(t);return R(i)}catch{}let e=await ge(".git/config",{...t&&{cwd:t},type:"file"});if(e)return R(R(e));let s=await ge(Bc,{...t&&{cwd:t},type:"file"});if(s)return R(s);throw new Error("Could not find root directory")},"findPackageRoot"),Gc=qr(t=>{try{let i=xc(t);return R(i)}catch{}let e=ye(".git/config",{...t&&{cwd:t},type:"file"});if(e)return R(R(e));let s=ye(Bc,{...t&&{cwd:t},type:"file"});if(s)return R(s);throw new Error("Could not find root directory")},"findPackageRootSync");var $y=Object.defineProperty,Ry=(t,e)=>$y(t,"name",{value:e,configurable:!0}),Fy=Object.defineProperty,xr=Ry((t,e)=>Fy(t,"name",{value:e,configurable:!0}),"f"),$s=xr((t,e)=>(e?.create&&Za(t),t),"useDirectory");xr(async(t,e)=>{if(process$1.env.CACHE_DIR&&!["0","1","false","true"].includes(process$1.env.CACHE_DIR))return $s($(process$1.env.CACHE_DIR,t),e);let s=await Uc(e?.cwd??process$1.cwd());if(!s)return;let i=$(s,"node_modules"),r=$(i,".cache"),n=$(r,t);if(!(fs.existsSync(n)&&!await te(n,Pe))&&!(fs.existsSync(r)&&!await te(r,Pe))&&!(fs.existsSync(i)&&!await te(i,Pe)))return $s(n,e)},"findCacheDirectory");var Yc=xr((t,e)=>{if(process$1.env.CACHE_DIR&&!["0","1","false","true"].includes(process$1.env.CACHE_DIR))return $s($(process$1.env.CACHE_DIR,t),e);let s=Gc(e?.cwd??process$1.cwd());if(!s)return;let i=$(s,"node_modules"),r=$(i,".cache"),n=$(r,t);if(!(fs.existsSync(n)&&!se(n,Pe))&&!(fs.existsSync(r)&&!se(r,Pe))&&!(fs.existsSync(i)&&!se(i,Pe)))return $s(n,e)},"findCacheDirectorySync");var xy="last-update-check.json",Kc=t=>{let e=Yc(t);if(e===void 0)throw new Error("Could not find cache directory");return $(e,xy)},Jc=t=>{let e=Kc(t);try{if(!fs.existsSync(e))return;let{lastUpdateCheck:s}=JSON.parse(fs.readFileSync(e,"utf8"));return s}catch{return}},zc=t=>{let e=Kc(t),s=R(e);fs.existsSync(s)||fs.mkdirSync(s,{recursive:!0}),fs.writeFileSync(e,JSON.stringify({lastUpdateCheck:Date.now()}));};chunkPWMRAKYI_cjs.d();var Uy=async(t,e,s)=>{let i=s.replace("__NAME__",t);return await new Promise((r,n)=>{https.get(i,o=>{let a="";o.on("data",l=>a+=l),o.on("end",()=>{try{let c=JSON.parse(a)[e];c||n(new Error("Error getting version")),r(c);}catch{n(new Error("Could not parse version response"));}});}).on("error",o=>n(o));})},Hc=Uy;var Gy=async({alwaysRun:t,debug:e,distTag:s="latest",pkg:i,registryUrl:r="https://registry.npmjs.org/-/package/__NAME__/dist-tags",updateCheckInterval:n=1e3*60*60*24})=>{let o=Jc(i.name);if(t||!o||o<Date.now()-n){let a=await Hc(i.name,s,r);if(zc(i.name),Ur(a,i.version))return a;e&&console.error(`Latest version (${a}) not newer than current version (${i.version})`);}else e&&console.error(`Too recent to check for a new update. simpleUpdateNotifier() interval set to ${n}ms but only ${Date.now()-o}ms since last check.`);return null},kv=Gy;
163
+ `:"";}catch(u){if(u.code!=="ENOENT")throw u}let d=o(e,n,l);Em(t,`${d}${c}`,a);},tl=km;chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();chunkPWMRAKYI_cjs.d();var Ps=chunkPWMRAKYI_cjs.c(Ic(),1),fy=Object.defineProperty,uy=(t,e)=>fy(t,"name",{value:e,configurable:!0}),py=Object.defineProperty,vt=uy((t,e)=>py(t,"name",{value:e,configurable:!0}),"s"),kc=new Map,Tc=vt(async(t,e={})=>{let s={type:"file"};t&&(s.cwd=t);let i=await za("package.json",s);if(!i)throw new Lt("No such file or directory, for package.json found.");let r=e.cache&&typeof e.cache!="boolean"?e.cache:kc;if(e.cache&&r.has(i))return r.get(i);let n=await Va(i);(0, Ps.default)(n);let o={packageJson:n,path:i};return r.set(i,o),o},"findPackageJson"),Dc=vt((t,e={})=>{let s={type:"file"};t&&(s.cwd=t);let i=Ha("package.json",s);if(!i)throw new Lt("No such file or directory, for package.json found.");let r=e.cache&&typeof e.cache!="boolean"?e.cache:kc;if(e.cache&&r.has(i))return r.get(i);let n=hr(i);(0, Ps.default)(n);let o={packageJson:n,path:i};return r.set(i,o),o},"findPackageJsonSync");vt(async(t,e={})=>{let{cwd:s,...i}=e,r=B(e.cwd??process.cwd());await el(x(r,"package.json"),t,i);},"writePackageJson");vt((t,e={})=>{let{cwd:s,...i}=e,r=B(e.cwd??process.cwd());tl(x(r,"package.json"),t,i);},"writePackageJsonSync");vt(t=>{let e=t!==null&&typeof t=="object"&&!Array.isArray(t);if(!e&&typeof t!="string")throw new TypeError("`packageFile` should be either an `object` or a `string`.");let s=e?structuredClone(t):fs.existsSync(t)?hr(t):Ce(t);return (0, Ps.default)(s),s},"parsePackageJson");var dy=Object.defineProperty,my=(t,e)=>dy(t,"name",{value:e,configurable:!0}),gy=Object.defineProperty,$r=my((t,e)=>gy(t,"name",{value:e,configurable:!0}),"f"),Is=$r((t,e)=>(e?.create&&Ja(t),t),"useDirectory");$r(async(t,e)=>{if(process$1.env.CACHE_DIR&&!["0","1","false","true"].includes(process$1.env.CACHE_DIR))return Is(x(process$1.env.CACHE_DIR,t),e);let s;try{let{path:o}=await Tc(e?.cwd??process$1.cwd());s=Y(o);}catch(o){if(e?.throwError)throw o;return}let i=x(s,"node_modules"),r=x(i,".cache"),n=x(r,t);if(!(fs.existsSync(n)&&!await te(n,Ae))&&!(fs.existsSync(r)&&!await te(r,Ae))&&!(fs.existsSync(i)&&!await te(i,Ae)))return Is(n,e)},"findCacheDirectory");var Rc=$r((t,e)=>{if(process$1.env.CACHE_DIR&&!["0","1","false","true"].includes(process$1.env.CACHE_DIR))return Is(x(process$1.env.CACHE_DIR,t),e);let s;try{let{path:o}=Dc(e?.cwd??process$1.cwd());s=Y(o);}catch(o){if(e?.throwError)throw o;return}let i=x(s,"node_modules"),r=x(i,".cache"),n=x(r,t);if(!(fs.existsSync(n)&&!se(n,Ae))&&!(fs.existsSync(r)&&!se(r,Ae))&&!(fs.existsSync(i)&&!se(i,Ae)))return Is(n,e)},"findCacheDirectorySync");var Sy="last-update-check.json",_c=t=>{let e=Rc(t);if(e===void 0)throw new Error("Could not find cache directory");return x(e,Sy)},qc=t=>{let e=_c(t);try{if(!fs.existsSync(e))return;let{lastUpdateCheck:s}=JSON.parse(fs.readFileSync(e,"utf8"));return s}catch{return}},Mc=t=>{let e=_c(t),s=Y(e);fs.existsSync(s)||fs.mkdirSync(s,{recursive:!0}),fs.writeFileSync(e,JSON.stringify({lastUpdateCheck:Date.now()}));};chunkPWMRAKYI_cjs.d();var Ly=async(t,e,s)=>{let i=s.replace("__NAME__",t);return await new Promise((r,n)=>{https.get(i,o=>{let a="";o.on("data",l=>a+=l),o.on("end",()=>{try{let c=JSON.parse(a)[e];c||n(new Error("Error getting version")),r(c);}catch{n(new Error("Could not parse version response"));}});}).on("error",o=>n(o));})},xc=Ly;var Ey=async({alwaysRun:t,debug:e,distTag:s="latest",pkg:i,registryUrl:r="https://registry.npmjs.org/-/package/__NAME__/dist-tags",updateCheckInterval:n=1e3*60*60*24})=>{let o=qc(i.name);if(t||!o||o<Date.now()-n){let a=await xc(i.name,s,r);if(Mc(i.name),Fr(a,i.version))return a;e&&console.error(`Latest version (${a}) not newer than current version (${i.version})`);}else e&&console.error(`Too recent to check for a new update. simpleUpdateNotifier() interval set to ${n}ms but only ${Date.now()-o}ms since last check.`);return null},W0=Ey;
165
164
 
166
- module.exports = kv;
165
+ module.exports = W0;
167
166
  //# sourceMappingURL=out.js.map
168
167
 
169
168
  module.exports = module.exports;
170
- //# sourceMappingURL=has-new-version-7HVFGBV7.cjs.map
169
+ //# sourceMappingURL=has-new-version-UQ55JQ2B.cjs.map