diff --git a/.pnp.cjs b/.pnp.cjs
index 6486d129..51b78ff5 100755
--- a/.pnp.cjs
+++ b/.pnp.cjs
@@ -1486,7 +1486,7 @@ const RAW_RUNTIME_STATE =
["@atls/config-jest", "virtual:4dd3a47489ffaa2662e93eb0cac31099615af9672a15bd10809e22f91d8688e254bcd0de7eb018b0b25babd4e1919045f67a5863737414004da01911639aafa4#workspace:config/jest"],\
["@atls/jest-resolver", "workspace:jest/jest-resolver"],\
["@emotion/jest", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:11.13.0"],\
- ["@swc/core", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.14"],\
+ ["@swc/core", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.22"],\
["@swc/jest", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:0.2.36"],\
["@types/jest", null],\
["@types/node", "npm:22.5.1"],\
@@ -1510,7 +1510,7 @@ const RAW_RUNTIME_STATE =
["@atls/config-jest", "workspace:config/jest"],\
["@atls/jest-resolver", "workspace:jest/jest-resolver"],\
["@emotion/jest", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:11.13.0"],\
- ["@swc/core", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.14"],\
+ ["@swc/core", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.22"],\
["@swc/jest", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:0.2.36"],\
["@types/node", "npm:22.5.1"],\
["@vanilla-extract/jest-transform", "npm:1.1.9"],\
@@ -5920,27 +5920,27 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@swc/core", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-virtual-0fcf6bc342/node_modules/@swc/core/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-virtual-efcb379594/node_modules/@swc/core/",\
"packageDependencies": [\
- ["@swc/core", "npm:1.7.14"]\
+ ["@swc/core", "npm:1.7.22"]\
],\
"linkType": "SOFT"\
}],\
- ["virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-virtual-0fcf6bc342/node_modules/@swc/core/",\
- "packageDependencies": [\
- ["@swc/core", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.14"],\
- ["@swc/core-darwin-arm64", "npm:1.7.14"],\
- ["@swc/core-darwin-x64", "npm:1.7.14"],\
- ["@swc/core-linux-arm-gnueabihf", "npm:1.7.14"],\
- ["@swc/core-linux-arm64-gnu", "npm:1.7.14"],\
- ["@swc/core-linux-arm64-musl", "npm:1.7.14"],\
- ["@swc/core-linux-x64-gnu", "npm:1.7.14"],\
- ["@swc/core-linux-x64-musl", "npm:1.7.14"],\
- ["@swc/core-win32-arm64-msvc", "npm:1.7.14"],\
- ["@swc/core-win32-ia32-msvc", "npm:1.7.14"],\
- ["@swc/core-win32-x64-msvc", "npm:1.7.14"],\
+ ["virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-virtual-efcb379594/node_modules/@swc/core/",\
+ "packageDependencies": [\
+ ["@swc/core", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.22"],\
+ ["@swc/core-darwin-arm64", "npm:1.7.22"],\
+ ["@swc/core-darwin-x64", "npm:1.7.22"],\
+ ["@swc/core-linux-arm-gnueabihf", "npm:1.7.22"],\
+ ["@swc/core-linux-arm64-gnu", "npm:1.7.22"],\
+ ["@swc/core-linux-arm64-musl", "npm:1.7.22"],\
+ ["@swc/core-linux-x64-gnu", "npm:1.7.22"],\
+ ["@swc/core-linux-x64-musl", "npm:1.7.22"],\
+ ["@swc/core-win32-arm64-msvc", "npm:1.7.22"],\
+ ["@swc/core-win32-ia32-msvc", "npm:1.7.22"],\
+ ["@swc/core-win32-x64-msvc", "npm:1.7.22"],\
["@swc/counter", "npm:0.1.3"],\
["@swc/helpers", null],\
["@swc/types", "npm:0.1.12"],\
@@ -5954,91 +5954,91 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@swc/core-darwin-arm64", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-darwin-arm64-npm-1.7.14-52e1c2ad4b/node_modules/@swc/core-darwin-arm64/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-darwin-arm64-npm-1.7.22-6ebcac948c/node_modules/@swc/core-darwin-arm64/",\
"packageDependencies": [\
- ["@swc/core-darwin-arm64", "npm:1.7.14"]\
+ ["@swc/core-darwin-arm64", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
]],\
["@swc/core-darwin-x64", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-darwin-x64-npm-1.7.14-bdfbccabd0/node_modules/@swc/core-darwin-x64/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-darwin-x64-npm-1.7.22-9a3bce4f02/node_modules/@swc/core-darwin-x64/",\
"packageDependencies": [\
- ["@swc/core-darwin-x64", "npm:1.7.14"]\
+ ["@swc/core-darwin-x64", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
]],\
["@swc/core-linux-arm-gnueabihf", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-linux-arm-gnueabihf-npm-1.7.14-400da44fda/node_modules/@swc/core-linux-arm-gnueabihf/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-linux-arm-gnueabihf-npm-1.7.22-099fe6b8c7/node_modules/@swc/core-linux-arm-gnueabihf/",\
"packageDependencies": [\
- ["@swc/core-linux-arm-gnueabihf", "npm:1.7.14"]\
+ ["@swc/core-linux-arm-gnueabihf", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
]],\
["@swc/core-linux-arm64-gnu", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-linux-arm64-gnu-npm-1.7.14-dddcd76582/node_modules/@swc/core-linux-arm64-gnu/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-linux-arm64-gnu-npm-1.7.22-ef90817cd1/node_modules/@swc/core-linux-arm64-gnu/",\
"packageDependencies": [\
- ["@swc/core-linux-arm64-gnu", "npm:1.7.14"]\
+ ["@swc/core-linux-arm64-gnu", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
]],\
["@swc/core-linux-arm64-musl", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-linux-arm64-musl-npm-1.7.14-d1221d10fd/node_modules/@swc/core-linux-arm64-musl/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-linux-arm64-musl-npm-1.7.22-fdf62ad15d/node_modules/@swc/core-linux-arm64-musl/",\
"packageDependencies": [\
- ["@swc/core-linux-arm64-musl", "npm:1.7.14"]\
+ ["@swc/core-linux-arm64-musl", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
]],\
["@swc/core-linux-x64-gnu", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-linux-x64-gnu-npm-1.7.14-e562e06737/node_modules/@swc/core-linux-x64-gnu/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-linux-x64-gnu-npm-1.7.22-4821d2944e/node_modules/@swc/core-linux-x64-gnu/",\
"packageDependencies": [\
- ["@swc/core-linux-x64-gnu", "npm:1.7.14"]\
+ ["@swc/core-linux-x64-gnu", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
]],\
["@swc/core-linux-x64-musl", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-linux-x64-musl-npm-1.7.14-d718fcd7e3/node_modules/@swc/core-linux-x64-musl/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-linux-x64-musl-npm-1.7.22-90d0cd778c/node_modules/@swc/core-linux-x64-musl/",\
"packageDependencies": [\
- ["@swc/core-linux-x64-musl", "npm:1.7.14"]\
+ ["@swc/core-linux-x64-musl", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
]],\
["@swc/core-win32-arm64-msvc", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-win32-arm64-msvc-npm-1.7.14-bdb21ed8ba/node_modules/@swc/core-win32-arm64-msvc/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-win32-arm64-msvc-npm-1.7.22-f668ec3bd6/node_modules/@swc/core-win32-arm64-msvc/",\
"packageDependencies": [\
- ["@swc/core-win32-arm64-msvc", "npm:1.7.14"]\
+ ["@swc/core-win32-arm64-msvc", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
]],\
["@swc/core-win32-ia32-msvc", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-win32-ia32-msvc-npm-1.7.14-c1ae4469a2/node_modules/@swc/core-win32-ia32-msvc/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-win32-ia32-msvc-npm-1.7.22-56c6307aeb/node_modules/@swc/core-win32-ia32-msvc/",\
"packageDependencies": [\
- ["@swc/core-win32-ia32-msvc", "npm:1.7.14"]\
+ ["@swc/core-win32-ia32-msvc", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
]],\
["@swc/core-win32-x64-msvc", [\
- ["npm:1.7.14", {\
- "packageLocation": "./.yarn/unplugged/@swc-core-win32-x64-msvc-npm-1.7.14-e7f003abe1/node_modules/@swc/core-win32-x64-msvc/",\
+ ["npm:1.7.22", {\
+ "packageLocation": "./.yarn/unplugged/@swc-core-win32-x64-msvc-npm-1.7.22-80985adfad/node_modules/@swc/core-win32-x64-msvc/",\
"packageDependencies": [\
- ["@swc/core-win32-x64-msvc", "npm:1.7.14"]\
+ ["@swc/core-win32-x64-msvc", "npm:1.7.22"]\
],\
"linkType": "HARD"\
}]\
@@ -6065,7 +6065,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@swc/jest", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:0.2.36"],\
["@jest/create-cache-key-function", "npm:29.7.0"],\
- ["@swc/core", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.14"],\
+ ["@swc/core", "virtual:73f78220b762a8b3f9959c25380f5a194f70a3105d93910529610ef7171947ce75988011e7be7fd6a88382aeebcfeb82a2e9b5c224d60b8fa1e12fcd622c5a96#npm:1.7.22"],\
["@swc/counter", "npm:0.1.3"],\
["@types/swc__core", null],\
["jsonc-parser", "npm:3.3.1"]\
diff --git a/.yarn/cache/@swc-core-darwin-arm64-npm-1.7.14-52e1c2ad4b-10.zip b/.yarn/cache/@swc-core-darwin-arm64-npm-1.7.22-6ebcac948c-10.zip
similarity index 60%
rename from .yarn/cache/@swc-core-darwin-arm64-npm-1.7.14-52e1c2ad4b-10.zip
rename to .yarn/cache/@swc-core-darwin-arm64-npm-1.7.22-6ebcac948c-10.zip
index e1fad6cc..2ef4d6c8 100644
Binary files a/.yarn/cache/@swc-core-darwin-arm64-npm-1.7.14-52e1c2ad4b-10.zip and b/.yarn/cache/@swc-core-darwin-arm64-npm-1.7.22-6ebcac948c-10.zip differ
diff --git a/.yarn/cache/@swc-core-npm-1.7.14-1ddb940c82-75cc386a75.zip b/.yarn/cache/@swc-core-npm-1.7.22-8e40ea308a-9b1a1323fa.zip
similarity index 59%
rename from .yarn/cache/@swc-core-npm-1.7.14-1ddb940c82-75cc386a75.zip
rename to .yarn/cache/@swc-core-npm-1.7.22-8e40ea308a-9b1a1323fa.zip
index 675fc54f..ae2c2d5f 100644
Binary files a/.yarn/cache/@swc-core-npm-1.7.14-1ddb940c82-75cc386a75.zip and b/.yarn/cache/@swc-core-npm-1.7.22-8e40ea308a-9b1a1323fa.zip differ
diff --git a/.yarn/releases/yarn.cjs b/.yarn/releases/yarn.cjs
index b647ba49..a31bf2a1 100755
--- a/.yarn/releases/yarn.cjs
+++ b/.yarn/releases/yarn.cjs
@@ -168,7 +168,7 @@ Please report this to https://github.com/szmarczak/http2-wrapper/`);L(oe)}return
`),et.end()}),et});break;case"<&":L(()=>nDr(Number(t[Te]),tT.Readable,n));break;case">":case">>":{let et=D5.ppath.resolve(n.cwd,D5.npath.toPortablePath(t[Te]));oe(et==="/dev/null"?new o3.Writable({autoDestroy:!0,emitClose:!0,write(at,Ft,Bt){setImmediate(Bt)}}):e.baseFs.createWriteStream(et,G===">>"?{flags:"a"}:void 0))}break;case">&":oe(nDr(Number(t[Te]),tT.Writable,n));break;default:throw new Error(`Assertion failed: Unsupported redirection type: "${G}"`)}}if(p.length>0){let P=new o3.PassThrough;o=P;let G=K=>{if(K===p.length)P.end();else{let L=p[K]();L.pipe(P,{end:!1}),L.on("end",()=>{G(K+1)})}};G(0)}if(_.length>0){let P=new o3.PassThrough;c=P;for(let G of _)P.pipe(G)}if(C.length>0){let P=new o3.PassThrough;a=P;for(let G of C)P.pipe(G)}let D=await(0,H2.start)(N2e(t.slice(v+1),e,n),{stdin:new H2.ProtectedStream(o),stdout:new H2.ProtectedStream(c),stderr:new H2.ProtectedStream(a)}).run();return await Promise.all(_.map(P=>new Promise((G,K)=>{P.on("error",L=>{K(L)}),P.on("close",()=>{G()}),P.end()}))),await Promise.all(C.map(P=>new Promise((G,K)=>{P.on("error",L=>{K(L)}),P.on("close",()=>{G()}),P.end()}))),D}]]);async function rOi(t,e,n){let o=[],c=new o3.PassThrough;return c.on("data",a=>o.push(a)),await AGe(t,e,fGe(n,{stdout:c})),Buffer.concat(o).toString().replace(/[\r\n]+$/,"")}async function iDr(t,e,n){let o=t.map(async a=>{let p=await xne(a.args,e,n);return{name:a.name,value:p.join(" ")}});return(await Promise.all(o)).reduce((a,p)=>(a[p.name]=p.value,a),{})}function uGe(t){return t.match(/[^ \r\n\t]+/g)||[]}async function cDr(t,e,n,o,c=o){switch(t.name){case"$":o(String(process.pid));break;case"#":o(String(e.args.length));break;case"@":if(t.quoted)for(let a of e.args)c(a);else for(let a of e.args){let p=uGe(a);for(let _=0;_
=0&&a"u"&&(t.defaultValue?p=(await xne(t.defaultValue,e,n)).join(" "):t.alternativeValue&&(p="")),typeof p>"u")throw _?new T5.ShellError(`Unbound argument #${a}`):new T5.ShellError(`Unbound variable "${t.name}"`);if(t.quoted)o(p);else{let C=uGe(p);for(let D=0;Dt+e,subtraction:(t,e)=>t-e,multiplication:(t,e)=>t*e,division:(t,e)=>Math.trunc(t/e)};async function Q2e(t,e,n){if(t.type==="number"){if(Number.isInteger(t.value))return t.value;throw new Error(`Invalid number: "${t.value}", only integers are allowed`)}else if(t.type==="variable"){let o=[];await cDr({...t,quoted:!0},e,n,a=>o.push(a));let c=Number(o.join(" "));return Number.isNaN(c)?Q2e({type:"variable",name:o.join(" ")},e,n):Q2e({type:"number",value:c},e,n)}else return nOi[t.type](await Q2e(t.left,e,n),await Q2e(t.right,e,n))}async function xne(t,e,n){let o=new Map,c=[],a=[],p=D=>{a.push(D)},_=()=>{a.length>0&&c.push(a.join("")),a=[]},C=D=>{p(D),_()},v=(D,P,G)=>{let K=JSON.stringify({type:D,fd:P}),L=o.get(K);typeof L>"u"&&o.set(K,L=[]),L.push(G)};for(let D of t){let P=!1;switch(D.type){case"redirection":{let G=await xne(D.args,e,n);for(let K of G)v(D.subtype,D.fd,K)}break;case"argument":for(let G of D.segments)switch(G.type){case"text":p(G.text);break;case"glob":p(G.pattern),P=!0;break;case"shell":{let K=await rOi(G.shell,e,n);if(G.quoted)p(K);else{let L=uGe(K);for(let oe=0;oe"u")throw new Error("Assertion failed: Expected a glob pattern to have been set");let K=await e.glob.match(G,{cwd:n.cwd,baseFs:e.baseFs});if(K.length===0){let L=GSt.isBraceExpansion(G)?". Note: Brace expansion of arbitrary strings isn't currently supported. For more details, please read this issue: https://github.com/yarnpkg/berry/issues/22":"";throw new T5.ShellError(`No matches found: "${G}"${L}`)}for(let L of K.sort())C(L)}}if(o.size>0){let D=[];for(let[P,G]of o.entries())D.splice(D.length,0,P,String(G.length),...G);c.splice(0,0,"__ysh_set_redirects",...D,"--")}return c}function N2e(t,e,n){e.builtins.has(t[0])||(t=["command",...t]);let o=D5.npath.fromPortablePath(n.cwd),c=n.environment;typeof c.PWD<"u"&&(c={...c,PWD:o});let[a,...p]=t;if(a==="command")return(0,USt.makeProcess)(p[0],p.slice(1),e,{cwd:o,env:c});let _=e.builtins.get(a);if(typeof _>"u")throw new Error(`Assertion failed: A builtin should exist for "${a}"`);return(0,USt.makeBuiltin)(async({stdin:C,stdout:v,stderr:D})=>{let{stdin:P,stdout:G,stderr:K}=n;n.stdin=C,n.stdout=v,n.stderr=D;try{return await _(p,e,n)}finally{n.stdin=P,n.stdout=G,n.stderr=K}})}function iOi(t,e,n){return o=>{let c=new o3.PassThrough,a=AGe(t,e,fGe(n,{stdin:c}));return{stdin:c,promise:a}}}function sOi(t,e,n){return o=>{let c=new o3.PassThrough,a=AGe(t,e,n);return{stdin:c,promise:a}}}function sDr(t,e,n,o){if(e.length===0)return t;{let c;do c=String(Math.random());while(Object.hasOwn(o.procedures,c));return o.procedures={...o.procedures},o.procedures[c]=t,N2e([...e,"__ysh_run_procedure",c],n,o)}}async function oDr(t,e,n){let o=t,c=null,a=null;for(;o;){let p=o.then?{...n}:n,_;switch(o.type){case"command":{let C=await xne(o.args,e,n),v=await iDr(o.envs,e,n);_=o.envs.length?N2e(C,e,fGe(p,{environment:v})):N2e(C,e,p)}break;case"subshell":{let C=await xne(o.args,e,n),v=iOi(o.subshell,e,p);_=sDr(v,C,e,p)}break;case"group":{let C=await xne(o.args,e,n),v=sOi(o.group,e,p);_=sDr(v,C,e,p)}break;case"envs":{let C=await iDr(o.envs,e,n);p.environment={...p.environment,...C},_=N2e(["true"],e,p)}break}if(typeof _>"u")throw new Error("Assertion failed: An action should have been generated");if(c===null)a=(0,H2.start)(_,{stdin:new H2.ProtectedStream(p.stdin),stdout:new H2.ProtectedStream(p.stdout),stderr:new H2.ProtectedStream(p.stderr)});else{if(a===null)throw new Error("Assertion failed: The execution pipeline should have been setup");switch(c){case"|":a=a.pipeTo(_,H2.Pipe.STDOUT);break;case"|&":a=a.pipeTo(_,H2.Pipe.STDOUT|H2.Pipe.STDERR);break}}o.then?(c=o.then.type,o=o.then.chain):o=null}if(a===null)throw new Error("Assertion failed: The execution pipeline should have been setup");return await a.run()}async function oOi(t,e,n,{background:o=!1}={}){function c(a){let p=["#2E86AB","#A23B72","#F18F01","#C73E1D","#CCE2A3"],_=p[a%p.length];return XLi.default.hex(_)}if(o){let a=n.nextBackgroundJobIndex++,p=c(a),_=`[${a}]`,C=p(_),{stdout:v,stderr:D}=(0,USt.createOutputStreamsWithPrefix)(n,{prefix:C});return n.backgroundJobs.push(oDr(t,e,fGe(n,{stdout:v,stderr:D})).catch(P=>D.write(`${P.message}
`)).finally(()=>{n.stdout.isTTY&&n.stdout.write(`Job ${C}, '${p((0,aDr.stringifyCommandChain)(t))}' has ended
`)})),0}return await oDr(t,e,n)}async function aOi(t,e,n,{background:o=!1}={}){let c,a=_=>{c=_,n.variables["?"]=String(_)},p=async _=>{try{return await oOi(_.chain,e,n,{background:o&&typeof _.then>"u"})}catch(C){if(!(C instanceof T5.ShellError))throw C;return n.stderr.write(`${C.message}
-`),1}};for(a(await p(t));t.then;){if(n.exitCode!==null)return n.exitCode;switch(t.then.type){case"&&":c===0&&a(await p(t.then.line));break;case"||":c!==0&&a(await p(t.then.line));break;default:throw new Error(`Assertion failed: Unsupported command type: "${t.then.type}"`)}t=t.then.line}return c}async function AGe(t,e,n){let o=n.backgroundJobs;n.backgroundJobs=[];let c=0;for(let{command:a,type:p}of t){if(c=await aOi(a,e,n,{background:p==="&"}),n.exitCode!==null)return n.exitCode;n.variables["?"]=String(c)}return await Promise.all(n.backgroundJobs),n.backgroundJobs=o,c}function lDr(t){switch(t.type){case"variable":return t.name==="@"||t.name==="#"||t.name==="*"||Number.isFinite(parseInt(t.name,10))||"defaultValue"in t&&!!t.defaultValue&&t.defaultValue.some(e=>R2e(e))||"alternativeValue"in t&&!!t.alternativeValue&&t.alternativeValue.some(e=>R2e(e));case"arithmetic":return qSt(t.arithmetic);case"shell":return HSt(t.shell);default:return!1}}function R2e(t){switch(t.type){case"redirection":return t.args.some(e=>R2e(e));case"argument":return t.segments.some(e=>lDr(e));default:throw new Error(`Assertion failed: Unsupported argument type: "${t.type}"`)}}function qSt(t){switch(t.type){case"variable":return lDr(t);case"number":return!1;default:return qSt(t.left)||qSt(t.right)}}function HSt(t){return t.some(({command:e})=>{for(;e;){let n=e.chain;for(;n;){let o;switch(n.type){case"subshell":o=HSt(n.subshell);break;case"command":o=n.envs.some(c=>c.args.some(a=>R2e(a)))||n.args.some(c=>R2e(c));break}if(o)return!0;if(!n.then)break;n=n.then.chain}if(!e.then)break;e=e.then.line}return!1})}async function cOi(t,e=[],{baseFs:n=new D5.NodeFS,builtins:o={},cwd:c=D5.npath.toPortablePath(process.cwd()),env:a=process.env,stdin:p=process.stdin,stdout:_=process.stdout,stderr:C=process.stderr,variables:v={},glob:D=GSt}={}){let P={};for(let[L,oe]of Object.entries(a))typeof oe<"u"&&(P[L]=oe);let G=new Map(tOi);for(let[L,oe]of Object.entries(o))G.set(L,oe);p===null&&(p=new o3.PassThrough,p.end());let K=(0,aDr.parseShell)(t,D);if(!HSt(K)&&K.length>0&&e.length>0){let{command:L}=K[K.length-1];for(;L.then;)L=L.then.line;let oe=L.chain;for(;oe.then;)oe=oe.then.chain;oe.type==="command"&&(oe.args=oe.args.concat(e.map(ce=>({type:"argument",segments:[{type:"text",text:ce}]}))))}return await AGe(K,{args:e,baseFs:n,builtins:G,initialStdin:p,initialStdout:_,initialStderr:C,glob:D},{cwd:c,environment:P,exitCode:null,procedures:{},stdin:p,stdout:_,stderr:C,variables:Object.assign({},v,{"?":0}),nextBackgroundJobIndex:1,backgroundJobs:[]})}});var JSt=te((cAo,uDr)=>{function lOi(t,e){for(var n=-1,o=t==null?0:t.length,c=Array(o);++n{var fDr=une(),uOi=JSt(),fOi=Z4(),AOi=u2e(),pOi=1/0,ADr=fDr?fDr.prototype:void 0,pDr=ADr?ADr.toString:void 0;function dDr(t){if(typeof t=="string")return t;if(fOi(t))return uOi(t,dDr)+"";if(AOi(t))return pDr?pDr.call(t):"";var e=t+"";return e=="0"&&1/t==-pOi?"-0":e}hDr.exports=dDr});var pGe=te((uAo,mDr)=>{var dOi=gDr();function hOi(t){return t==null?"":dOi(t)}mDr.exports=hOi});var VSt=te((fAo,_Dr)=>{function gOi(t,e,n){var o=-1,c=t.length;e<0&&(e=-e>c?0:c+e),n=n>c?c:n,n<0&&(n+=c),c=e>n?0:n-e>>>0,e>>>=0;for(var a=Array(c);++o{var mOi=VSt();function _Oi(t,e,n){var o=t.length;return n=n===void 0?o:n,!e&&n>=o?t:mOi(t,e,n)}EDr.exports=_Oi});var WSt=te((pAo,CDr)=>{var EOi="\\ud800-\\udfff",yOi="\\u0300-\\u036f",COi="\\ufe20-\\ufe2f",IOi="\\u20d0-\\u20ff",vOi=yOi+COi+IOi,SOi="\\ufe0e\\ufe0f",BOi="\\u200d",wOi=RegExp("["+BOi+EOi+vOi+SOi+"]");function bOi(t){return wOi.test(t)}CDr.exports=bOi});var vDr=te((dAo,IDr)=>{function DOi(t){return t.split("")}IDr.exports=DOi});var kDr=te((hAo,xDr)=>{var SDr="\\ud800-\\udfff",TOi="\\u0300-\\u036f",xOi="\\ufe20-\\ufe2f",kOi="\\u20d0-\\u20ff",QOi=TOi+xOi+kOi,NOi="\\ufe0e\\ufe0f",ROi="["+SDr+"]",YSt="["+QOi+"]",zSt="\\ud83c[\\udffb-\\udfff]",POi="(?:"+YSt+"|"+zSt+")",BDr="[^"+SDr+"]",wDr="(?:\\ud83c[\\udde6-\\uddff]){2}",bDr="[\\ud800-\\udbff][\\udc00-\\udfff]",FOi="\\u200d",DDr=POi+"?",TDr="["+NOi+"]?",LOi="(?:"+FOi+"(?:"+[BDr,wDr,bDr].join("|")+")"+TDr+DDr+")*",OOi=TDr+DDr+LOi,MOi="(?:"+[BDr+YSt+"?",YSt,wDr,bDr,ROi].join("|")+")",UOi=RegExp(zSt+"(?="+zSt+")|"+MOi+OOi,"g");function qOi(t){return t.match(UOi)||[]}xDr.exports=qOi});var NDr=te((gAo,QDr)=>{var jOi=vDr(),GOi=WSt(),HOi=kDr();function JOi(t){return GOi(t)?HOi(t):jOi(t)}QDr.exports=JOi});var PDr=te((mAo,RDr)=>{var VOi=yDr(),WOi=WSt(),YOi=NDr(),zOi=pGe();function KOi(t){return function(e){e=zOi(e);var n=WOi(e)?YOi(e):void 0,o=n?n[0]:e.charAt(0),c=n?VOi(n,1).join(""):e.slice(1);return o[t]()+c}}RDr.exports=KOi});var LDr=te((_Ao,FDr)=>{var XOi=PDr(),ZOi=XOi("toUpperCase");FDr.exports=ZOi});var KSt=te((EAo,ODr)=>{var $Oi=pGe(),eMi=LDr();function tMi(t){return eMi($Oi(t).toLowerCase())}ODr.exports=tMi});var MDr=te((yAo,dGe)=>{function rMi(){var t=0,e=1,n=2,o=3,c=4,a=5,p=6,_=7,C=8,v=9,D=10,P=11,G=12,K=13,L=14,oe=15,ce=16,pe=17,Te=0,et=1,at=2,Ft=3,Bt=4;function Rt(R,yr){return 55296<=R.charCodeAt(yr)&&R.charCodeAt(yr)<=56319&&56320<=R.charCodeAt(yr+1)&&R.charCodeAt(yr+1)<=57343}function rr(R,yr){yr===void 0&&(yr=0);var cr=R.charCodeAt(yr);if(55296<=cr&&cr<=56319&&yr=1){var ft=R.charCodeAt(yr-1),Kt=cr;return 55296<=ft&&ft<=56319?(ft-55296)*1024+(Kt-56320)+65536:Kt}return cr}function nr(R,yr,cr){var ft=[R].concat(yr).concat([cr]),Kt=ft[ft.length-2],jt=cr,wn=ft.lastIndexOf(L);if(wn>1&&ft.slice(1,wn).every(function(as){return as==o})&&[o,K,pe].indexOf(R)==-1)return at;var Wr=ft.lastIndexOf(c);if(Wr>0&&ft.slice(1,Wr).every(function(as){return as==c})&&[G,c].indexOf(Kt)==-1)return ft.filter(function(as){return as==c}).length%2==1?Ft:Bt;if(Kt==t&&jt==e)return Te;if(Kt==n||Kt==t||Kt==e)return jt==L&&yr.every(function(as){return as==o})?at:et;if(jt==n||jt==t||jt==e)return et;if(Kt==p&&(jt==p||jt==_||jt==v||jt==D))return Te;if((Kt==v||Kt==_)&&(jt==_||jt==C))return Te;if((Kt==D||Kt==C)&&jt==C)return Te;if(jt==o||jt==oe)return Te;if(jt==a)return Te;if(Kt==G)return Te;var Ai=ft.indexOf(o)!=-1?ft.lastIndexOf(o)-1:ft.length-2;return[K,pe].indexOf(ft[Ai])!=-1&&ft.slice(Ai+1,-1).every(function(as){return as==o})&&jt==L||Kt==oe&&[ce,pe].indexOf(jt)!=-1?Te:yr.indexOf(c)!=-1?at:Kt==c&&jt==c?Te:et}this.nextBreak=function(R,yr){if(yr===void 0&&(yr=0),yr<0)return 0;if(yr>=R.length-1)return R.length;for(var cr=wr(rr(R,yr)),ft=[],Kt=yr+1;Kt{var nMi=/^(.*?)(\x1b\[[^m]+m|\x1b\]8;;.*?(\x1b\\|\u0007))/,hGe;function iMi(){if(hGe)return hGe;if(typeof Intl.Segmenter<"u"){let t=new Intl.Segmenter("en",{granularity:"grapheme"});return hGe=e=>Array.from(t.segment(e),({segment:n})=>n)}else{let t=MDr(),e=new t;return hGe=n=>e.splitGraphemes(n)}}UDr.exports=(t,e=0,n=t.length)=>{if(e<0||n<0)throw new RangeError("Negative indices aren't supported by this implementation");let o=n-e,c="",a=0,p=0;for(;t.length>0;){let _=t.match(nMi)||[t,t,void 0],C=iMi()(_[1]),v=Math.min(e-a,C.length);C=C.slice(v);let D=Math.min(o-p,C.length);c+=C.slice(0,D).join(""),a+=v,p+=D,typeof _[2]<"u"&&(c+=_[2]),t=t.slice(_[0].length)}return c}});var P2e=te(gGe=>{"use strict";Object.defineProperty(gGe,"__esModule",{value:!0});gGe.YarnVersion=void 0;gGe.YarnVersion=process.env.YARN_IS_TEST_ENV?"0.0.0":"1.0.0-git.20240831.hash-7670d055"});var F2e=te(XL=>{"use strict";Object.defineProperty(XL,"__esModule",{value:!0});XL.StreamReport=XL.SUPPORTS_GROUPS=XL.SINGLE_LINE_CHAR=void 0;XL.formatName=$St;XL.formatNameWithHyperlink=JDr;XL.reportOptionDeprecations=fMi;var ZSt=(po(),hn(Ao)),sMi=ZSt.__importDefault(qDr()),XSt=ZSt.__importDefault(ine()),x5=PQ(),oMi=jL(),aMi=P2e(),a3=ZSt.__importStar(ML());XL.SINGLE_LINE_CHAR="\xB7";var jDr=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],GDr=80,bz=XSt.default.GITHUB_ACTIONS?{start:t=>`::group::${t}
+`),1}};for(a(await p(t));t.then;){if(n.exitCode!==null)return n.exitCode;switch(t.then.type){case"&&":c===0&&a(await p(t.then.line));break;case"||":c!==0&&a(await p(t.then.line));break;default:throw new Error(`Assertion failed: Unsupported command type: "${t.then.type}"`)}t=t.then.line}return c}async function AGe(t,e,n){let o=n.backgroundJobs;n.backgroundJobs=[];let c=0;for(let{command:a,type:p}of t){if(c=await aOi(a,e,n,{background:p==="&"}),n.exitCode!==null)return n.exitCode;n.variables["?"]=String(c)}return await Promise.all(n.backgroundJobs),n.backgroundJobs=o,c}function lDr(t){switch(t.type){case"variable":return t.name==="@"||t.name==="#"||t.name==="*"||Number.isFinite(parseInt(t.name,10))||"defaultValue"in t&&!!t.defaultValue&&t.defaultValue.some(e=>R2e(e))||"alternativeValue"in t&&!!t.alternativeValue&&t.alternativeValue.some(e=>R2e(e));case"arithmetic":return qSt(t.arithmetic);case"shell":return HSt(t.shell);default:return!1}}function R2e(t){switch(t.type){case"redirection":return t.args.some(e=>R2e(e));case"argument":return t.segments.some(e=>lDr(e));default:throw new Error(`Assertion failed: Unsupported argument type: "${t.type}"`)}}function qSt(t){switch(t.type){case"variable":return lDr(t);case"number":return!1;default:return qSt(t.left)||qSt(t.right)}}function HSt(t){return t.some(({command:e})=>{for(;e;){let n=e.chain;for(;n;){let o;switch(n.type){case"subshell":o=HSt(n.subshell);break;case"command":o=n.envs.some(c=>c.args.some(a=>R2e(a)))||n.args.some(c=>R2e(c));break}if(o)return!0;if(!n.then)break;n=n.then.chain}if(!e.then)break;e=e.then.line}return!1})}async function cOi(t,e=[],{baseFs:n=new D5.NodeFS,builtins:o={},cwd:c=D5.npath.toPortablePath(process.cwd()),env:a=process.env,stdin:p=process.stdin,stdout:_=process.stdout,stderr:C=process.stderr,variables:v={},glob:D=GSt}={}){let P={};for(let[L,oe]of Object.entries(a))typeof oe<"u"&&(P[L]=oe);let G=new Map(tOi);for(let[L,oe]of Object.entries(o))G.set(L,oe);p===null&&(p=new o3.PassThrough,p.end());let K=(0,aDr.parseShell)(t,D);if(!HSt(K)&&K.length>0&&e.length>0){let{command:L}=K[K.length-1];for(;L.then;)L=L.then.line;let oe=L.chain;for(;oe.then;)oe=oe.then.chain;oe.type==="command"&&(oe.args=oe.args.concat(e.map(ce=>({type:"argument",segments:[{type:"text",text:ce}]}))))}return await AGe(K,{args:e,baseFs:n,builtins:G,initialStdin:p,initialStdout:_,initialStderr:C,glob:D},{cwd:c,environment:P,exitCode:null,procedures:{},stdin:p,stdout:_,stderr:C,variables:Object.assign({},v,{"?":0}),nextBackgroundJobIndex:1,backgroundJobs:[]})}});var JSt=te((cAo,uDr)=>{function lOi(t,e){for(var n=-1,o=t==null?0:t.length,c=Array(o);++n{var fDr=une(),uOi=JSt(),fOi=Z4(),AOi=u2e(),pOi=1/0,ADr=fDr?fDr.prototype:void 0,pDr=ADr?ADr.toString:void 0;function dDr(t){if(typeof t=="string")return t;if(fOi(t))return uOi(t,dDr)+"";if(AOi(t))return pDr?pDr.call(t):"";var e=t+"";return e=="0"&&1/t==-pOi?"-0":e}hDr.exports=dDr});var pGe=te((uAo,mDr)=>{var dOi=gDr();function hOi(t){return t==null?"":dOi(t)}mDr.exports=hOi});var VSt=te((fAo,_Dr)=>{function gOi(t,e,n){var o=-1,c=t.length;e<0&&(e=-e>c?0:c+e),n=n>c?c:n,n<0&&(n+=c),c=e>n?0:n-e>>>0,e>>>=0;for(var a=Array(c);++o{var mOi=VSt();function _Oi(t,e,n){var o=t.length;return n=n===void 0?o:n,!e&&n>=o?t:mOi(t,e,n)}EDr.exports=_Oi});var WSt=te((pAo,CDr)=>{var EOi="\\ud800-\\udfff",yOi="\\u0300-\\u036f",COi="\\ufe20-\\ufe2f",IOi="\\u20d0-\\u20ff",vOi=yOi+COi+IOi,SOi="\\ufe0e\\ufe0f",BOi="\\u200d",wOi=RegExp("["+BOi+EOi+vOi+SOi+"]");function bOi(t){return wOi.test(t)}CDr.exports=bOi});var vDr=te((dAo,IDr)=>{function DOi(t){return t.split("")}IDr.exports=DOi});var kDr=te((hAo,xDr)=>{var SDr="\\ud800-\\udfff",TOi="\\u0300-\\u036f",xOi="\\ufe20-\\ufe2f",kOi="\\u20d0-\\u20ff",QOi=TOi+xOi+kOi,NOi="\\ufe0e\\ufe0f",ROi="["+SDr+"]",YSt="["+QOi+"]",zSt="\\ud83c[\\udffb-\\udfff]",POi="(?:"+YSt+"|"+zSt+")",BDr="[^"+SDr+"]",wDr="(?:\\ud83c[\\udde6-\\uddff]){2}",bDr="[\\ud800-\\udbff][\\udc00-\\udfff]",FOi="\\u200d",DDr=POi+"?",TDr="["+NOi+"]?",LOi="(?:"+FOi+"(?:"+[BDr,wDr,bDr].join("|")+")"+TDr+DDr+")*",OOi=TDr+DDr+LOi,MOi="(?:"+[BDr+YSt+"?",YSt,wDr,bDr,ROi].join("|")+")",UOi=RegExp(zSt+"(?="+zSt+")|"+MOi+OOi,"g");function qOi(t){return t.match(UOi)||[]}xDr.exports=qOi});var NDr=te((gAo,QDr)=>{var jOi=vDr(),GOi=WSt(),HOi=kDr();function JOi(t){return GOi(t)?HOi(t):jOi(t)}QDr.exports=JOi});var PDr=te((mAo,RDr)=>{var VOi=yDr(),WOi=WSt(),YOi=NDr(),zOi=pGe();function KOi(t){return function(e){e=zOi(e);var n=WOi(e)?YOi(e):void 0,o=n?n[0]:e.charAt(0),c=n?VOi(n,1).join(""):e.slice(1);return o[t]()+c}}RDr.exports=KOi});var LDr=te((_Ao,FDr)=>{var XOi=PDr(),ZOi=XOi("toUpperCase");FDr.exports=ZOi});var KSt=te((EAo,ODr)=>{var $Oi=pGe(),eMi=LDr();function tMi(t){return eMi($Oi(t).toLowerCase())}ODr.exports=tMi});var MDr=te((yAo,dGe)=>{function rMi(){var t=0,e=1,n=2,o=3,c=4,a=5,p=6,_=7,C=8,v=9,D=10,P=11,G=12,K=13,L=14,oe=15,ce=16,pe=17,Te=0,et=1,at=2,Ft=3,Bt=4;function Rt(R,yr){return 55296<=R.charCodeAt(yr)&&R.charCodeAt(yr)<=56319&&56320<=R.charCodeAt(yr+1)&&R.charCodeAt(yr+1)<=57343}function rr(R,yr){yr===void 0&&(yr=0);var cr=R.charCodeAt(yr);if(55296<=cr&&cr<=56319&&yr=1){var ft=R.charCodeAt(yr-1),Kt=cr;return 55296<=ft&&ft<=56319?(ft-55296)*1024+(Kt-56320)+65536:Kt}return cr}function nr(R,yr,cr){var ft=[R].concat(yr).concat([cr]),Kt=ft[ft.length-2],jt=cr,wn=ft.lastIndexOf(L);if(wn>1&&ft.slice(1,wn).every(function(as){return as==o})&&[o,K,pe].indexOf(R)==-1)return at;var Wr=ft.lastIndexOf(c);if(Wr>0&&ft.slice(1,Wr).every(function(as){return as==c})&&[G,c].indexOf(Kt)==-1)return ft.filter(function(as){return as==c}).length%2==1?Ft:Bt;if(Kt==t&&jt==e)return Te;if(Kt==n||Kt==t||Kt==e)return jt==L&&yr.every(function(as){return as==o})?at:et;if(jt==n||jt==t||jt==e)return et;if(Kt==p&&(jt==p||jt==_||jt==v||jt==D))return Te;if((Kt==v||Kt==_)&&(jt==_||jt==C))return Te;if((Kt==D||Kt==C)&&jt==C)return Te;if(jt==o||jt==oe)return Te;if(jt==a)return Te;if(Kt==G)return Te;var Ai=ft.indexOf(o)!=-1?ft.lastIndexOf(o)-1:ft.length-2;return[K,pe].indexOf(ft[Ai])!=-1&&ft.slice(Ai+1,-1).every(function(as){return as==o})&&jt==L||Kt==oe&&[ce,pe].indexOf(jt)!=-1?Te:yr.indexOf(c)!=-1?at:Kt==c&&jt==c?Te:et}this.nextBreak=function(R,yr){if(yr===void 0&&(yr=0),yr<0)return 0;if(yr>=R.length-1)return R.length;for(var cr=wr(rr(R,yr)),ft=[],Kt=yr+1;Kt{var nMi=/^(.*?)(\x1b\[[^m]+m|\x1b\]8;;.*?(\x1b\\|\u0007))/,hGe;function iMi(){if(hGe)return hGe;if(typeof Intl.Segmenter<"u"){let t=new Intl.Segmenter("en",{granularity:"grapheme"});return hGe=e=>Array.from(t.segment(e),({segment:n})=>n)}else{let t=MDr(),e=new t;return hGe=n=>e.splitGraphemes(n)}}UDr.exports=(t,e=0,n=t.length)=>{if(e<0||n<0)throw new RangeError("Negative indices aren't supported by this implementation");let o=n-e,c="",a=0,p=0;for(;t.length>0;){let _=t.match(nMi)||[t,t,void 0],C=iMi()(_[1]),v=Math.min(e-a,C.length);C=C.slice(v);let D=Math.min(o-p,C.length);c+=C.slice(0,D).join(""),a+=v,p+=D,typeof _[2]<"u"&&(c+=_[2]),t=t.slice(_[0].length)}return c}});var P2e=te(gGe=>{"use strict";Object.defineProperty(gGe,"__esModule",{value:!0});gGe.YarnVersion=void 0;gGe.YarnVersion=process.env.YARN_IS_TEST_ENV?"0.0.0":"1.0.0-git.20240831.hash-0bd49cf5"});var F2e=te(XL=>{"use strict";Object.defineProperty(XL,"__esModule",{value:!0});XL.StreamReport=XL.SUPPORTS_GROUPS=XL.SINGLE_LINE_CHAR=void 0;XL.formatName=$St;XL.formatNameWithHyperlink=JDr;XL.reportOptionDeprecations=fMi;var ZSt=(po(),hn(Ao)),sMi=ZSt.__importDefault(qDr()),XSt=ZSt.__importDefault(ine()),x5=PQ(),oMi=jL(),aMi=P2e(),a3=ZSt.__importStar(ML());XL.SINGLE_LINE_CHAR="\xB7";var jDr=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],GDr=80,bz=XSt.default.GITHUB_ACTIONS?{start:t=>`::group::${t}
`,end:t=>`::endgroup::
`}:XSt.default.TRAVIS?{start:t=>`travis_fold:start:${t}
`,end:t=>`travis_fold:end:${t}
diff --git a/config/jest/package.json b/config/jest/package.json
index 1c65fdc8..0ea7ad6a 100644
--- a/config/jest/package.json
+++ b/config/jest/package.json
@@ -19,7 +19,7 @@
"dependencies": {
"@atls/jest-resolver": "workspace:*",
"@emotion/jest": "11.13.0",
- "@swc/core": "1.7.14",
+ "@swc/core": "1.7.22",
"@swc/jest": "0.2.36",
"@vanilla-extract/jest-transform": "1.1.9",
"jest-static-stubs": "0.0.1"
diff --git a/yarn.lock b/yarn.lock
index 0c91b2c3..553044b3 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -765,7 +765,7 @@ __metadata:
dependencies:
"@atls/jest-resolver": "workspace:*"
"@emotion/jest": "npm:11.13.0"
- "@swc/core": "npm:1.7.14"
+ "@swc/core": "npm:1.7.22"
"@swc/jest": "npm:0.2.36"
"@types/node": "npm:22.5.1"
"@vanilla-extract/jest-transform": "npm:1.1.9"
@@ -3632,90 +3632,90 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-darwin-arm64@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-darwin-arm64@npm:1.7.14"
+"@swc/core-darwin-arm64@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-darwin-arm64@npm:1.7.22"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
-"@swc/core-darwin-x64@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-darwin-x64@npm:1.7.14"
+"@swc/core-darwin-x64@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-darwin-x64@npm:1.7.22"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
-"@swc/core-linux-arm-gnueabihf@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.14"
+"@swc/core-linux-arm-gnueabihf@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.22"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
-"@swc/core-linux-arm64-gnu@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-linux-arm64-gnu@npm:1.7.14"
+"@swc/core-linux-arm64-gnu@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-linux-arm64-gnu@npm:1.7.22"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
-"@swc/core-linux-arm64-musl@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-linux-arm64-musl@npm:1.7.14"
+"@swc/core-linux-arm64-musl@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-linux-arm64-musl@npm:1.7.22"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
-"@swc/core-linux-x64-gnu@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-linux-x64-gnu@npm:1.7.14"
+"@swc/core-linux-x64-gnu@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-linux-x64-gnu@npm:1.7.22"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
-"@swc/core-linux-x64-musl@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-linux-x64-musl@npm:1.7.14"
+"@swc/core-linux-x64-musl@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-linux-x64-musl@npm:1.7.22"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
-"@swc/core-win32-arm64-msvc@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-win32-arm64-msvc@npm:1.7.14"
+"@swc/core-win32-arm64-msvc@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-win32-arm64-msvc@npm:1.7.22"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
-"@swc/core-win32-ia32-msvc@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-win32-ia32-msvc@npm:1.7.14"
+"@swc/core-win32-ia32-msvc@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-win32-ia32-msvc@npm:1.7.22"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
-"@swc/core-win32-x64-msvc@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core-win32-x64-msvc@npm:1.7.14"
+"@swc/core-win32-x64-msvc@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core-win32-x64-msvc@npm:1.7.22"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
-"@swc/core@npm:1.7.14":
- version: 1.7.14
- resolution: "@swc/core@npm:1.7.14"
+"@swc/core@npm:1.7.22":
+ version: 1.7.22
+ resolution: "@swc/core@npm:1.7.22"
dependencies:
- "@swc/core-darwin-arm64": "npm:1.7.14"
- "@swc/core-darwin-x64": "npm:1.7.14"
- "@swc/core-linux-arm-gnueabihf": "npm:1.7.14"
- "@swc/core-linux-arm64-gnu": "npm:1.7.14"
- "@swc/core-linux-arm64-musl": "npm:1.7.14"
- "@swc/core-linux-x64-gnu": "npm:1.7.14"
- "@swc/core-linux-x64-musl": "npm:1.7.14"
- "@swc/core-win32-arm64-msvc": "npm:1.7.14"
- "@swc/core-win32-ia32-msvc": "npm:1.7.14"
- "@swc/core-win32-x64-msvc": "npm:1.7.14"
+ "@swc/core-darwin-arm64": "npm:1.7.22"
+ "@swc/core-darwin-x64": "npm:1.7.22"
+ "@swc/core-linux-arm-gnueabihf": "npm:1.7.22"
+ "@swc/core-linux-arm64-gnu": "npm:1.7.22"
+ "@swc/core-linux-arm64-musl": "npm:1.7.22"
+ "@swc/core-linux-x64-gnu": "npm:1.7.22"
+ "@swc/core-linux-x64-musl": "npm:1.7.22"
+ "@swc/core-win32-arm64-msvc": "npm:1.7.22"
+ "@swc/core-win32-ia32-msvc": "npm:1.7.22"
+ "@swc/core-win32-x64-msvc": "npm:1.7.22"
"@swc/counter": "npm:^0.1.3"
"@swc/types": "npm:^0.1.12"
peerDependencies:
@@ -3744,7 +3744,7 @@ __metadata:
peerDependenciesMeta:
"@swc/helpers":
optional: true
- checksum: 10/75cc386a7538da58fd2c8e141503b6efc9d1fddda4fa87c0e54e32422b5e5276eac259fc6a6a83d5f6758480f739d178a5c36d1209127c0459ca006f7075b0a6
+ checksum: 10/9b1a1323fa67e12edb933fa8f526f90bf59ed3a44fa2322cbc7888d57d8cbd1f31c06cf4c794b9236d9dbda26c05793ea3a5f6d2d059442c465e86f56317d97e
languageName: node
linkType: hard
diff --git a/yarn/cli/dist/yarn.cjs b/yarn/cli/dist/yarn.cjs
index b647ba49..a31bf2a1 100755
--- a/yarn/cli/dist/yarn.cjs
+++ b/yarn/cli/dist/yarn.cjs
@@ -168,7 +168,7 @@ Please report this to https://github.com/szmarczak/http2-wrapper/`);L(oe)}return
`),et.end()}),et});break;case"<&":L(()=>nDr(Number(t[Te]),tT.Readable,n));break;case">":case">>":{let et=D5.ppath.resolve(n.cwd,D5.npath.toPortablePath(t[Te]));oe(et==="/dev/null"?new o3.Writable({autoDestroy:!0,emitClose:!0,write(at,Ft,Bt){setImmediate(Bt)}}):e.baseFs.createWriteStream(et,G===">>"?{flags:"a"}:void 0))}break;case">&":oe(nDr(Number(t[Te]),tT.Writable,n));break;default:throw new Error(`Assertion failed: Unsupported redirection type: "${G}"`)}}if(p.length>0){let P=new o3.PassThrough;o=P;let G=K=>{if(K===p.length)P.end();else{let L=p[K]();L.pipe(P,{end:!1}),L.on("end",()=>{G(K+1)})}};G(0)}if(_.length>0){let P=new o3.PassThrough;c=P;for(let G of _)P.pipe(G)}if(C.length>0){let P=new o3.PassThrough;a=P;for(let G of C)P.pipe(G)}let D=await(0,H2.start)(N2e(t.slice(v+1),e,n),{stdin:new H2.ProtectedStream(o),stdout:new H2.ProtectedStream(c),stderr:new H2.ProtectedStream(a)}).run();return await Promise.all(_.map(P=>new Promise((G,K)=>{P.on("error",L=>{K(L)}),P.on("close",()=>{G()}),P.end()}))),await Promise.all(C.map(P=>new Promise((G,K)=>{P.on("error",L=>{K(L)}),P.on("close",()=>{G()}),P.end()}))),D}]]);async function rOi(t,e,n){let o=[],c=new o3.PassThrough;return c.on("data",a=>o.push(a)),await AGe(t,e,fGe(n,{stdout:c})),Buffer.concat(o).toString().replace(/[\r\n]+$/,"")}async function iDr(t,e,n){let o=t.map(async a=>{let p=await xne(a.args,e,n);return{name:a.name,value:p.join(" ")}});return(await Promise.all(o)).reduce((a,p)=>(a[p.name]=p.value,a),{})}function uGe(t){return t.match(/[^ \r\n\t]+/g)||[]}async function cDr(t,e,n,o,c=o){switch(t.name){case"$":o(String(process.pid));break;case"#":o(String(e.args.length));break;case"@":if(t.quoted)for(let a of e.args)c(a);else for(let a of e.args){let p=uGe(a);for(let _=0;_=0&&a"u"&&(t.defaultValue?p=(await xne(t.defaultValue,e,n)).join(" "):t.alternativeValue&&(p="")),typeof p>"u")throw _?new T5.ShellError(`Unbound argument #${a}`):new T5.ShellError(`Unbound variable "${t.name}"`);if(t.quoted)o(p);else{let C=uGe(p);for(let D=0;Dt+e,subtraction:(t,e)=>t-e,multiplication:(t,e)=>t*e,division:(t,e)=>Math.trunc(t/e)};async function Q2e(t,e,n){if(t.type==="number"){if(Number.isInteger(t.value))return t.value;throw new Error(`Invalid number: "${t.value}", only integers are allowed`)}else if(t.type==="variable"){let o=[];await cDr({...t,quoted:!0},e,n,a=>o.push(a));let c=Number(o.join(" "));return Number.isNaN(c)?Q2e({type:"variable",name:o.join(" ")},e,n):Q2e({type:"number",value:c},e,n)}else return nOi[t.type](await Q2e(t.left,e,n),await Q2e(t.right,e,n))}async function xne(t,e,n){let o=new Map,c=[],a=[],p=D=>{a.push(D)},_=()=>{a.length>0&&c.push(a.join("")),a=[]},C=D=>{p(D),_()},v=(D,P,G)=>{let K=JSON.stringify({type:D,fd:P}),L=o.get(K);typeof L>"u"&&o.set(K,L=[]),L.push(G)};for(let D of t){let P=!1;switch(D.type){case"redirection":{let G=await xne(D.args,e,n);for(let K of G)v(D.subtype,D.fd,K)}break;case"argument":for(let G of D.segments)switch(G.type){case"text":p(G.text);break;case"glob":p(G.pattern),P=!0;break;case"shell":{let K=await rOi(G.shell,e,n);if(G.quoted)p(K);else{let L=uGe(K);for(let oe=0;oe"u")throw new Error("Assertion failed: Expected a glob pattern to have been set");let K=await e.glob.match(G,{cwd:n.cwd,baseFs:e.baseFs});if(K.length===0){let L=GSt.isBraceExpansion(G)?". Note: Brace expansion of arbitrary strings isn't currently supported. For more details, please read this issue: https://github.com/yarnpkg/berry/issues/22":"";throw new T5.ShellError(`No matches found: "${G}"${L}`)}for(let L of K.sort())C(L)}}if(o.size>0){let D=[];for(let[P,G]of o.entries())D.splice(D.length,0,P,String(G.length),...G);c.splice(0,0,"__ysh_set_redirects",...D,"--")}return c}function N2e(t,e,n){e.builtins.has(t[0])||(t=["command",...t]);let o=D5.npath.fromPortablePath(n.cwd),c=n.environment;typeof c.PWD<"u"&&(c={...c,PWD:o});let[a,...p]=t;if(a==="command")return(0,USt.makeProcess)(p[0],p.slice(1),e,{cwd:o,env:c});let _=e.builtins.get(a);if(typeof _>"u")throw new Error(`Assertion failed: A builtin should exist for "${a}"`);return(0,USt.makeBuiltin)(async({stdin:C,stdout:v,stderr:D})=>{let{stdin:P,stdout:G,stderr:K}=n;n.stdin=C,n.stdout=v,n.stderr=D;try{return await _(p,e,n)}finally{n.stdin=P,n.stdout=G,n.stderr=K}})}function iOi(t,e,n){return o=>{let c=new o3.PassThrough,a=AGe(t,e,fGe(n,{stdin:c}));return{stdin:c,promise:a}}}function sOi(t,e,n){return o=>{let c=new o3.PassThrough,a=AGe(t,e,n);return{stdin:c,promise:a}}}function sDr(t,e,n,o){if(e.length===0)return t;{let c;do c=String(Math.random());while(Object.hasOwn(o.procedures,c));return o.procedures={...o.procedures},o.procedures[c]=t,N2e([...e,"__ysh_run_procedure",c],n,o)}}async function oDr(t,e,n){let o=t,c=null,a=null;for(;o;){let p=o.then?{...n}:n,_;switch(o.type){case"command":{let C=await xne(o.args,e,n),v=await iDr(o.envs,e,n);_=o.envs.length?N2e(C,e,fGe(p,{environment:v})):N2e(C,e,p)}break;case"subshell":{let C=await xne(o.args,e,n),v=iOi(o.subshell,e,p);_=sDr(v,C,e,p)}break;case"group":{let C=await xne(o.args,e,n),v=sOi(o.group,e,p);_=sDr(v,C,e,p)}break;case"envs":{let C=await iDr(o.envs,e,n);p.environment={...p.environment,...C},_=N2e(["true"],e,p)}break}if(typeof _>"u")throw new Error("Assertion failed: An action should have been generated");if(c===null)a=(0,H2.start)(_,{stdin:new H2.ProtectedStream(p.stdin),stdout:new H2.ProtectedStream(p.stdout),stderr:new H2.ProtectedStream(p.stderr)});else{if(a===null)throw new Error("Assertion failed: The execution pipeline should have been setup");switch(c){case"|":a=a.pipeTo(_,H2.Pipe.STDOUT);break;case"|&":a=a.pipeTo(_,H2.Pipe.STDOUT|H2.Pipe.STDERR);break}}o.then?(c=o.then.type,o=o.then.chain):o=null}if(a===null)throw new Error("Assertion failed: The execution pipeline should have been setup");return await a.run()}async function oOi(t,e,n,{background:o=!1}={}){function c(a){let p=["#2E86AB","#A23B72","#F18F01","#C73E1D","#CCE2A3"],_=p[a%p.length];return XLi.default.hex(_)}if(o){let a=n.nextBackgroundJobIndex++,p=c(a),_=`[${a}]`,C=p(_),{stdout:v,stderr:D}=(0,USt.createOutputStreamsWithPrefix)(n,{prefix:C});return n.backgroundJobs.push(oDr(t,e,fGe(n,{stdout:v,stderr:D})).catch(P=>D.write(`${P.message}
`)).finally(()=>{n.stdout.isTTY&&n.stdout.write(`Job ${C}, '${p((0,aDr.stringifyCommandChain)(t))}' has ended
`)})),0}return await oDr(t,e,n)}async function aOi(t,e,n,{background:o=!1}={}){let c,a=_=>{c=_,n.variables["?"]=String(_)},p=async _=>{try{return await oOi(_.chain,e,n,{background:o&&typeof _.then>"u"})}catch(C){if(!(C instanceof T5.ShellError))throw C;return n.stderr.write(`${C.message}
-`),1}};for(a(await p(t));t.then;){if(n.exitCode!==null)return n.exitCode;switch(t.then.type){case"&&":c===0&&a(await p(t.then.line));break;case"||":c!==0&&a(await p(t.then.line));break;default:throw new Error(`Assertion failed: Unsupported command type: "${t.then.type}"`)}t=t.then.line}return c}async function AGe(t,e,n){let o=n.backgroundJobs;n.backgroundJobs=[];let c=0;for(let{command:a,type:p}of t){if(c=await aOi(a,e,n,{background:p==="&"}),n.exitCode!==null)return n.exitCode;n.variables["?"]=String(c)}return await Promise.all(n.backgroundJobs),n.backgroundJobs=o,c}function lDr(t){switch(t.type){case"variable":return t.name==="@"||t.name==="#"||t.name==="*"||Number.isFinite(parseInt(t.name,10))||"defaultValue"in t&&!!t.defaultValue&&t.defaultValue.some(e=>R2e(e))||"alternativeValue"in t&&!!t.alternativeValue&&t.alternativeValue.some(e=>R2e(e));case"arithmetic":return qSt(t.arithmetic);case"shell":return HSt(t.shell);default:return!1}}function R2e(t){switch(t.type){case"redirection":return t.args.some(e=>R2e(e));case"argument":return t.segments.some(e=>lDr(e));default:throw new Error(`Assertion failed: Unsupported argument type: "${t.type}"`)}}function qSt(t){switch(t.type){case"variable":return lDr(t);case"number":return!1;default:return qSt(t.left)||qSt(t.right)}}function HSt(t){return t.some(({command:e})=>{for(;e;){let n=e.chain;for(;n;){let o;switch(n.type){case"subshell":o=HSt(n.subshell);break;case"command":o=n.envs.some(c=>c.args.some(a=>R2e(a)))||n.args.some(c=>R2e(c));break}if(o)return!0;if(!n.then)break;n=n.then.chain}if(!e.then)break;e=e.then.line}return!1})}async function cOi(t,e=[],{baseFs:n=new D5.NodeFS,builtins:o={},cwd:c=D5.npath.toPortablePath(process.cwd()),env:a=process.env,stdin:p=process.stdin,stdout:_=process.stdout,stderr:C=process.stderr,variables:v={},glob:D=GSt}={}){let P={};for(let[L,oe]of Object.entries(a))typeof oe<"u"&&(P[L]=oe);let G=new Map(tOi);for(let[L,oe]of Object.entries(o))G.set(L,oe);p===null&&(p=new o3.PassThrough,p.end());let K=(0,aDr.parseShell)(t,D);if(!HSt(K)&&K.length>0&&e.length>0){let{command:L}=K[K.length-1];for(;L.then;)L=L.then.line;let oe=L.chain;for(;oe.then;)oe=oe.then.chain;oe.type==="command"&&(oe.args=oe.args.concat(e.map(ce=>({type:"argument",segments:[{type:"text",text:ce}]}))))}return await AGe(K,{args:e,baseFs:n,builtins:G,initialStdin:p,initialStdout:_,initialStderr:C,glob:D},{cwd:c,environment:P,exitCode:null,procedures:{},stdin:p,stdout:_,stderr:C,variables:Object.assign({},v,{"?":0}),nextBackgroundJobIndex:1,backgroundJobs:[]})}});var JSt=te((cAo,uDr)=>{function lOi(t,e){for(var n=-1,o=t==null?0:t.length,c=Array(o);++n{var fDr=une(),uOi=JSt(),fOi=Z4(),AOi=u2e(),pOi=1/0,ADr=fDr?fDr.prototype:void 0,pDr=ADr?ADr.toString:void 0;function dDr(t){if(typeof t=="string")return t;if(fOi(t))return uOi(t,dDr)+"";if(AOi(t))return pDr?pDr.call(t):"";var e=t+"";return e=="0"&&1/t==-pOi?"-0":e}hDr.exports=dDr});var pGe=te((uAo,mDr)=>{var dOi=gDr();function hOi(t){return t==null?"":dOi(t)}mDr.exports=hOi});var VSt=te((fAo,_Dr)=>{function gOi(t,e,n){var o=-1,c=t.length;e<0&&(e=-e>c?0:c+e),n=n>c?c:n,n<0&&(n+=c),c=e>n?0:n-e>>>0,e>>>=0;for(var a=Array(c);++o{var mOi=VSt();function _Oi(t,e,n){var o=t.length;return n=n===void 0?o:n,!e&&n>=o?t:mOi(t,e,n)}EDr.exports=_Oi});var WSt=te((pAo,CDr)=>{var EOi="\\ud800-\\udfff",yOi="\\u0300-\\u036f",COi="\\ufe20-\\ufe2f",IOi="\\u20d0-\\u20ff",vOi=yOi+COi+IOi,SOi="\\ufe0e\\ufe0f",BOi="\\u200d",wOi=RegExp("["+BOi+EOi+vOi+SOi+"]");function bOi(t){return wOi.test(t)}CDr.exports=bOi});var vDr=te((dAo,IDr)=>{function DOi(t){return t.split("")}IDr.exports=DOi});var kDr=te((hAo,xDr)=>{var SDr="\\ud800-\\udfff",TOi="\\u0300-\\u036f",xOi="\\ufe20-\\ufe2f",kOi="\\u20d0-\\u20ff",QOi=TOi+xOi+kOi,NOi="\\ufe0e\\ufe0f",ROi="["+SDr+"]",YSt="["+QOi+"]",zSt="\\ud83c[\\udffb-\\udfff]",POi="(?:"+YSt+"|"+zSt+")",BDr="[^"+SDr+"]",wDr="(?:\\ud83c[\\udde6-\\uddff]){2}",bDr="[\\ud800-\\udbff][\\udc00-\\udfff]",FOi="\\u200d",DDr=POi+"?",TDr="["+NOi+"]?",LOi="(?:"+FOi+"(?:"+[BDr,wDr,bDr].join("|")+")"+TDr+DDr+")*",OOi=TDr+DDr+LOi,MOi="(?:"+[BDr+YSt+"?",YSt,wDr,bDr,ROi].join("|")+")",UOi=RegExp(zSt+"(?="+zSt+")|"+MOi+OOi,"g");function qOi(t){return t.match(UOi)||[]}xDr.exports=qOi});var NDr=te((gAo,QDr)=>{var jOi=vDr(),GOi=WSt(),HOi=kDr();function JOi(t){return GOi(t)?HOi(t):jOi(t)}QDr.exports=JOi});var PDr=te((mAo,RDr)=>{var VOi=yDr(),WOi=WSt(),YOi=NDr(),zOi=pGe();function KOi(t){return function(e){e=zOi(e);var n=WOi(e)?YOi(e):void 0,o=n?n[0]:e.charAt(0),c=n?VOi(n,1).join(""):e.slice(1);return o[t]()+c}}RDr.exports=KOi});var LDr=te((_Ao,FDr)=>{var XOi=PDr(),ZOi=XOi("toUpperCase");FDr.exports=ZOi});var KSt=te((EAo,ODr)=>{var $Oi=pGe(),eMi=LDr();function tMi(t){return eMi($Oi(t).toLowerCase())}ODr.exports=tMi});var MDr=te((yAo,dGe)=>{function rMi(){var t=0,e=1,n=2,o=3,c=4,a=5,p=6,_=7,C=8,v=9,D=10,P=11,G=12,K=13,L=14,oe=15,ce=16,pe=17,Te=0,et=1,at=2,Ft=3,Bt=4;function Rt(R,yr){return 55296<=R.charCodeAt(yr)&&R.charCodeAt(yr)<=56319&&56320<=R.charCodeAt(yr+1)&&R.charCodeAt(yr+1)<=57343}function rr(R,yr){yr===void 0&&(yr=0);var cr=R.charCodeAt(yr);if(55296<=cr&&cr<=56319&&yr=1){var ft=R.charCodeAt(yr-1),Kt=cr;return 55296<=ft&&ft<=56319?(ft-55296)*1024+(Kt-56320)+65536:Kt}return cr}function nr(R,yr,cr){var ft=[R].concat(yr).concat([cr]),Kt=ft[ft.length-2],jt=cr,wn=ft.lastIndexOf(L);if(wn>1&&ft.slice(1,wn).every(function(as){return as==o})&&[o,K,pe].indexOf(R)==-1)return at;var Wr=ft.lastIndexOf(c);if(Wr>0&&ft.slice(1,Wr).every(function(as){return as==c})&&[G,c].indexOf(Kt)==-1)return ft.filter(function(as){return as==c}).length%2==1?Ft:Bt;if(Kt==t&&jt==e)return Te;if(Kt==n||Kt==t||Kt==e)return jt==L&&yr.every(function(as){return as==o})?at:et;if(jt==n||jt==t||jt==e)return et;if(Kt==p&&(jt==p||jt==_||jt==v||jt==D))return Te;if((Kt==v||Kt==_)&&(jt==_||jt==C))return Te;if((Kt==D||Kt==C)&&jt==C)return Te;if(jt==o||jt==oe)return Te;if(jt==a)return Te;if(Kt==G)return Te;var Ai=ft.indexOf(o)!=-1?ft.lastIndexOf(o)-1:ft.length-2;return[K,pe].indexOf(ft[Ai])!=-1&&ft.slice(Ai+1,-1).every(function(as){return as==o})&&jt==L||Kt==oe&&[ce,pe].indexOf(jt)!=-1?Te:yr.indexOf(c)!=-1?at:Kt==c&&jt==c?Te:et}this.nextBreak=function(R,yr){if(yr===void 0&&(yr=0),yr<0)return 0;if(yr>=R.length-1)return R.length;for(var cr=wr(rr(R,yr)),ft=[],Kt=yr+1;Kt{var nMi=/^(.*?)(\x1b\[[^m]+m|\x1b\]8;;.*?(\x1b\\|\u0007))/,hGe;function iMi(){if(hGe)return hGe;if(typeof Intl.Segmenter<"u"){let t=new Intl.Segmenter("en",{granularity:"grapheme"});return hGe=e=>Array.from(t.segment(e),({segment:n})=>n)}else{let t=MDr(),e=new t;return hGe=n=>e.splitGraphemes(n)}}UDr.exports=(t,e=0,n=t.length)=>{if(e<0||n<0)throw new RangeError("Negative indices aren't supported by this implementation");let o=n-e,c="",a=0,p=0;for(;t.length>0;){let _=t.match(nMi)||[t,t,void 0],C=iMi()(_[1]),v=Math.min(e-a,C.length);C=C.slice(v);let D=Math.min(o-p,C.length);c+=C.slice(0,D).join(""),a+=v,p+=D,typeof _[2]<"u"&&(c+=_[2]),t=t.slice(_[0].length)}return c}});var P2e=te(gGe=>{"use strict";Object.defineProperty(gGe,"__esModule",{value:!0});gGe.YarnVersion=void 0;gGe.YarnVersion=process.env.YARN_IS_TEST_ENV?"0.0.0":"1.0.0-git.20240831.hash-7670d055"});var F2e=te(XL=>{"use strict";Object.defineProperty(XL,"__esModule",{value:!0});XL.StreamReport=XL.SUPPORTS_GROUPS=XL.SINGLE_LINE_CHAR=void 0;XL.formatName=$St;XL.formatNameWithHyperlink=JDr;XL.reportOptionDeprecations=fMi;var ZSt=(po(),hn(Ao)),sMi=ZSt.__importDefault(qDr()),XSt=ZSt.__importDefault(ine()),x5=PQ(),oMi=jL(),aMi=P2e(),a3=ZSt.__importStar(ML());XL.SINGLE_LINE_CHAR="\xB7";var jDr=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],GDr=80,bz=XSt.default.GITHUB_ACTIONS?{start:t=>`::group::${t}
+`),1}};for(a(await p(t));t.then;){if(n.exitCode!==null)return n.exitCode;switch(t.then.type){case"&&":c===0&&a(await p(t.then.line));break;case"||":c!==0&&a(await p(t.then.line));break;default:throw new Error(`Assertion failed: Unsupported command type: "${t.then.type}"`)}t=t.then.line}return c}async function AGe(t,e,n){let o=n.backgroundJobs;n.backgroundJobs=[];let c=0;for(let{command:a,type:p}of t){if(c=await aOi(a,e,n,{background:p==="&"}),n.exitCode!==null)return n.exitCode;n.variables["?"]=String(c)}return await Promise.all(n.backgroundJobs),n.backgroundJobs=o,c}function lDr(t){switch(t.type){case"variable":return t.name==="@"||t.name==="#"||t.name==="*"||Number.isFinite(parseInt(t.name,10))||"defaultValue"in t&&!!t.defaultValue&&t.defaultValue.some(e=>R2e(e))||"alternativeValue"in t&&!!t.alternativeValue&&t.alternativeValue.some(e=>R2e(e));case"arithmetic":return qSt(t.arithmetic);case"shell":return HSt(t.shell);default:return!1}}function R2e(t){switch(t.type){case"redirection":return t.args.some(e=>R2e(e));case"argument":return t.segments.some(e=>lDr(e));default:throw new Error(`Assertion failed: Unsupported argument type: "${t.type}"`)}}function qSt(t){switch(t.type){case"variable":return lDr(t);case"number":return!1;default:return qSt(t.left)||qSt(t.right)}}function HSt(t){return t.some(({command:e})=>{for(;e;){let n=e.chain;for(;n;){let o;switch(n.type){case"subshell":o=HSt(n.subshell);break;case"command":o=n.envs.some(c=>c.args.some(a=>R2e(a)))||n.args.some(c=>R2e(c));break}if(o)return!0;if(!n.then)break;n=n.then.chain}if(!e.then)break;e=e.then.line}return!1})}async function cOi(t,e=[],{baseFs:n=new D5.NodeFS,builtins:o={},cwd:c=D5.npath.toPortablePath(process.cwd()),env:a=process.env,stdin:p=process.stdin,stdout:_=process.stdout,stderr:C=process.stderr,variables:v={},glob:D=GSt}={}){let P={};for(let[L,oe]of Object.entries(a))typeof oe<"u"&&(P[L]=oe);let G=new Map(tOi);for(let[L,oe]of Object.entries(o))G.set(L,oe);p===null&&(p=new o3.PassThrough,p.end());let K=(0,aDr.parseShell)(t,D);if(!HSt(K)&&K.length>0&&e.length>0){let{command:L}=K[K.length-1];for(;L.then;)L=L.then.line;let oe=L.chain;for(;oe.then;)oe=oe.then.chain;oe.type==="command"&&(oe.args=oe.args.concat(e.map(ce=>({type:"argument",segments:[{type:"text",text:ce}]}))))}return await AGe(K,{args:e,baseFs:n,builtins:G,initialStdin:p,initialStdout:_,initialStderr:C,glob:D},{cwd:c,environment:P,exitCode:null,procedures:{},stdin:p,stdout:_,stderr:C,variables:Object.assign({},v,{"?":0}),nextBackgroundJobIndex:1,backgroundJobs:[]})}});var JSt=te((cAo,uDr)=>{function lOi(t,e){for(var n=-1,o=t==null?0:t.length,c=Array(o);++n{var fDr=une(),uOi=JSt(),fOi=Z4(),AOi=u2e(),pOi=1/0,ADr=fDr?fDr.prototype:void 0,pDr=ADr?ADr.toString:void 0;function dDr(t){if(typeof t=="string")return t;if(fOi(t))return uOi(t,dDr)+"";if(AOi(t))return pDr?pDr.call(t):"";var e=t+"";return e=="0"&&1/t==-pOi?"-0":e}hDr.exports=dDr});var pGe=te((uAo,mDr)=>{var dOi=gDr();function hOi(t){return t==null?"":dOi(t)}mDr.exports=hOi});var VSt=te((fAo,_Dr)=>{function gOi(t,e,n){var o=-1,c=t.length;e<0&&(e=-e>c?0:c+e),n=n>c?c:n,n<0&&(n+=c),c=e>n?0:n-e>>>0,e>>>=0;for(var a=Array(c);++o{var mOi=VSt();function _Oi(t,e,n){var o=t.length;return n=n===void 0?o:n,!e&&n>=o?t:mOi(t,e,n)}EDr.exports=_Oi});var WSt=te((pAo,CDr)=>{var EOi="\\ud800-\\udfff",yOi="\\u0300-\\u036f",COi="\\ufe20-\\ufe2f",IOi="\\u20d0-\\u20ff",vOi=yOi+COi+IOi,SOi="\\ufe0e\\ufe0f",BOi="\\u200d",wOi=RegExp("["+BOi+EOi+vOi+SOi+"]");function bOi(t){return wOi.test(t)}CDr.exports=bOi});var vDr=te((dAo,IDr)=>{function DOi(t){return t.split("")}IDr.exports=DOi});var kDr=te((hAo,xDr)=>{var SDr="\\ud800-\\udfff",TOi="\\u0300-\\u036f",xOi="\\ufe20-\\ufe2f",kOi="\\u20d0-\\u20ff",QOi=TOi+xOi+kOi,NOi="\\ufe0e\\ufe0f",ROi="["+SDr+"]",YSt="["+QOi+"]",zSt="\\ud83c[\\udffb-\\udfff]",POi="(?:"+YSt+"|"+zSt+")",BDr="[^"+SDr+"]",wDr="(?:\\ud83c[\\udde6-\\uddff]){2}",bDr="[\\ud800-\\udbff][\\udc00-\\udfff]",FOi="\\u200d",DDr=POi+"?",TDr="["+NOi+"]?",LOi="(?:"+FOi+"(?:"+[BDr,wDr,bDr].join("|")+")"+TDr+DDr+")*",OOi=TDr+DDr+LOi,MOi="(?:"+[BDr+YSt+"?",YSt,wDr,bDr,ROi].join("|")+")",UOi=RegExp(zSt+"(?="+zSt+")|"+MOi+OOi,"g");function qOi(t){return t.match(UOi)||[]}xDr.exports=qOi});var NDr=te((gAo,QDr)=>{var jOi=vDr(),GOi=WSt(),HOi=kDr();function JOi(t){return GOi(t)?HOi(t):jOi(t)}QDr.exports=JOi});var PDr=te((mAo,RDr)=>{var VOi=yDr(),WOi=WSt(),YOi=NDr(),zOi=pGe();function KOi(t){return function(e){e=zOi(e);var n=WOi(e)?YOi(e):void 0,o=n?n[0]:e.charAt(0),c=n?VOi(n,1).join(""):e.slice(1);return o[t]()+c}}RDr.exports=KOi});var LDr=te((_Ao,FDr)=>{var XOi=PDr(),ZOi=XOi("toUpperCase");FDr.exports=ZOi});var KSt=te((EAo,ODr)=>{var $Oi=pGe(),eMi=LDr();function tMi(t){return eMi($Oi(t).toLowerCase())}ODr.exports=tMi});var MDr=te((yAo,dGe)=>{function rMi(){var t=0,e=1,n=2,o=3,c=4,a=5,p=6,_=7,C=8,v=9,D=10,P=11,G=12,K=13,L=14,oe=15,ce=16,pe=17,Te=0,et=1,at=2,Ft=3,Bt=4;function Rt(R,yr){return 55296<=R.charCodeAt(yr)&&R.charCodeAt(yr)<=56319&&56320<=R.charCodeAt(yr+1)&&R.charCodeAt(yr+1)<=57343}function rr(R,yr){yr===void 0&&(yr=0);var cr=R.charCodeAt(yr);if(55296<=cr&&cr<=56319&&yr=1){var ft=R.charCodeAt(yr-1),Kt=cr;return 55296<=ft&&ft<=56319?(ft-55296)*1024+(Kt-56320)+65536:Kt}return cr}function nr(R,yr,cr){var ft=[R].concat(yr).concat([cr]),Kt=ft[ft.length-2],jt=cr,wn=ft.lastIndexOf(L);if(wn>1&&ft.slice(1,wn).every(function(as){return as==o})&&[o,K,pe].indexOf(R)==-1)return at;var Wr=ft.lastIndexOf(c);if(Wr>0&&ft.slice(1,Wr).every(function(as){return as==c})&&[G,c].indexOf(Kt)==-1)return ft.filter(function(as){return as==c}).length%2==1?Ft:Bt;if(Kt==t&&jt==e)return Te;if(Kt==n||Kt==t||Kt==e)return jt==L&&yr.every(function(as){return as==o})?at:et;if(jt==n||jt==t||jt==e)return et;if(Kt==p&&(jt==p||jt==_||jt==v||jt==D))return Te;if((Kt==v||Kt==_)&&(jt==_||jt==C))return Te;if((Kt==D||Kt==C)&&jt==C)return Te;if(jt==o||jt==oe)return Te;if(jt==a)return Te;if(Kt==G)return Te;var Ai=ft.indexOf(o)!=-1?ft.lastIndexOf(o)-1:ft.length-2;return[K,pe].indexOf(ft[Ai])!=-1&&ft.slice(Ai+1,-1).every(function(as){return as==o})&&jt==L||Kt==oe&&[ce,pe].indexOf(jt)!=-1?Te:yr.indexOf(c)!=-1?at:Kt==c&&jt==c?Te:et}this.nextBreak=function(R,yr){if(yr===void 0&&(yr=0),yr<0)return 0;if(yr>=R.length-1)return R.length;for(var cr=wr(rr(R,yr)),ft=[],Kt=yr+1;Kt{var nMi=/^(.*?)(\x1b\[[^m]+m|\x1b\]8;;.*?(\x1b\\|\u0007))/,hGe;function iMi(){if(hGe)return hGe;if(typeof Intl.Segmenter<"u"){let t=new Intl.Segmenter("en",{granularity:"grapheme"});return hGe=e=>Array.from(t.segment(e),({segment:n})=>n)}else{let t=MDr(),e=new t;return hGe=n=>e.splitGraphemes(n)}}UDr.exports=(t,e=0,n=t.length)=>{if(e<0||n<0)throw new RangeError("Negative indices aren't supported by this implementation");let o=n-e,c="",a=0,p=0;for(;t.length>0;){let _=t.match(nMi)||[t,t,void 0],C=iMi()(_[1]),v=Math.min(e-a,C.length);C=C.slice(v);let D=Math.min(o-p,C.length);c+=C.slice(0,D).join(""),a+=v,p+=D,typeof _[2]<"u"&&(c+=_[2]),t=t.slice(_[0].length)}return c}});var P2e=te(gGe=>{"use strict";Object.defineProperty(gGe,"__esModule",{value:!0});gGe.YarnVersion=void 0;gGe.YarnVersion=process.env.YARN_IS_TEST_ENV?"0.0.0":"1.0.0-git.20240831.hash-0bd49cf5"});var F2e=te(XL=>{"use strict";Object.defineProperty(XL,"__esModule",{value:!0});XL.StreamReport=XL.SUPPORTS_GROUPS=XL.SINGLE_LINE_CHAR=void 0;XL.formatName=$St;XL.formatNameWithHyperlink=JDr;XL.reportOptionDeprecations=fMi;var ZSt=(po(),hn(Ao)),sMi=ZSt.__importDefault(qDr()),XSt=ZSt.__importDefault(ine()),x5=PQ(),oMi=jL(),aMi=P2e(),a3=ZSt.__importStar(ML());XL.SINGLE_LINE_CHAR="\xB7";var jDr=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],GDr=80,bz=XSt.default.GITHUB_ACTIONS?{start:t=>`::group::${t}
`,end:t=>`::endgroup::
`}:XSt.default.TRAVIS?{start:t=>`travis_fold:start:${t}
`,end:t=>`travis_fold:end:${t}