@storybook/addon-vitest 0.0.0-pr-31819-sha-646e0253 → 0.0.0-pr-31819-sha-8b7e5823

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.
@@ -8,19 +8,23 @@ const require = CJS_COMPAT_NODE_MODULE.createRequire(import.meta.url);
8
8
  // ------------------------------------------------------------
9
9
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
10
10
  // ------------------------------------------------------------
11
+ import {
12
+ c as Ge,
13
+ f as ke
14
+ } from "./chunk-W26ZMSD3.js";
11
15
  import {
12
16
  a as o,
13
17
  b as S,
14
18
  c as h,
15
- e as Ge
19
+ e as Re
16
20
  } from "./chunk-KVKHJ5OL.js";
17
21
 
18
22
  // ../../node_modules/isexe/windows.js
19
- var je = h((no, ke) => {
20
- ke.exports = Ne;
21
- Ne.sync = fn;
22
- var Re = S("fs");
23
- function un(e, t) {
23
+ var Be = h((ao, Ne) => {
24
+ Ne.exports = Le;
25
+ Le.sync = dn;
26
+ var je = S("fs");
27
+ function ln(e, t) {
24
28
  var n = t.pathExt !== void 0 ? t.pathExt : process.env.PATHEXT;
25
29
  if (!n || (n = n.split(";"), n.indexOf("") !== -1))
26
30
  return !0;
@@ -31,55 +35,55 @@ var je = h((no, ke) => {
31
35
  }
32
36
  return !1;
33
37
  }
34
- o(un, "checkPathExt");
38
+ o(ln, "checkPathExt");
35
39
  function $e(e, t, n) {
36
- return !e.isSymbolicLink() && !e.isFile() ? !1 : un(t, n);
40
+ return !e.isSymbolicLink() && !e.isFile() ? !1 : ln(t, n);
37
41
  }
38
42
  o($e, "checkStat");
39
- function Ne(e, t, n) {
40
- Re.stat(e, function(r, i) {
43
+ function Le(e, t, n) {
44
+ je.stat(e, function(r, i) {
41
45
  n(r, r ? !1 : $e(i, e, t));
42
46
  });
43
47
  }
44
- o(Ne, "isexe");
45
- function fn(e, t) {
46
- return $e(Re.statSync(e), e, t);
48
+ o(Le, "isexe");
49
+ function dn(e, t) {
50
+ return $e(je.statSync(e), e, t);
47
51
  }
48
- o(fn, "sync");
52
+ o(dn, "sync");
49
53
  });
50
54
 
51
55
  // ../../node_modules/isexe/mode.js
52
- var Me = h((oo, Fe) => {
53
- Fe.exports = Le;
54
- Le.sync = ln;
55
- var Be = S("fs");
56
- function Le(e, t, n) {
57
- Be.stat(e, function(r, i) {
58
- n(r, r ? !1 : Ue(i, t));
56
+ var De = h((uo, _e) => {
57
+ _e.exports = Ue;
58
+ Ue.sync = pn;
59
+ var Me = S("fs");
60
+ function Ue(e, t, n) {
61
+ Me.stat(e, function(r, i) {
62
+ n(r, r ? !1 : Fe(i, t));
59
63
  });
60
64
  }
61
- o(Le, "isexe");
62
- function ln(e, t) {
63
- return Ue(Be.statSync(e), t);
65
+ o(Ue, "isexe");
66
+ function pn(e, t) {
67
+ return Fe(Me.statSync(e), t);
64
68
  }
65
- o(ln, "sync");
66
- function Ue(e, t) {
67
- return e.isFile() && dn(e, t);
69
+ o(pn, "sync");
70
+ function Fe(e, t) {
71
+ return e.isFile() && mn(e, t);
68
72
  }
69
- o(Ue, "checkStat");
70
- function dn(e, t) {
73
+ o(Fe, "checkStat");
74
+ function mn(e, t) {
71
75
  var n = e.mode, r = e.uid, i = e.gid, s = t.uid !== void 0 ? t.uid : process.getuid && process.getuid(), a = t.gid !== void 0 ? t.gid : process.getgid && process.getgid(), c = parseInt("100", 8), u = parseInt("010", 8), f = parseInt("001", 8), l = c | u, p = n & f || n & u && i === a || n & c && r === s || n & l && s === 0;
72
76
  return p;
73
77
  }
74
- o(dn, "checkMode");
78
+ o(mn, "checkMode");
75
79
  });
76
80
 
77
81
  // ../../node_modules/isexe/index.js
78
- var De = h((ao, _e) => {
79
- var so = S("fs"), R;
80
- process.platform === "win32" || global.TESTING_WINDOWS ? R = je() : R = Me();
81
- _e.exports = W;
82
- W.sync = pn;
82
+ var ze = h((po, qe) => {
83
+ var lo = S("fs"), G;
84
+ process.platform === "win32" || global.TESTING_WINDOWS ? G = Be() : G = De();
85
+ qe.exports = W;
86
+ W.sync = hn;
83
87
  function W(e, t, n) {
84
88
  if (typeof t == "function" && (n = t, t = {}), !n) {
85
89
  if (typeof Promise != "function")
@@ -90,27 +94,27 @@ var De = h((ao, _e) => {
90
94
  });
91
95
  });
92
96
  }
93
- R(e, t || {}, function(r, i) {
97
+ G(e, t || {}, function(r, i) {
94
98
  r && (r.code === "EACCES" || t && t.ignoreErrors) && (r = null, i = !1), n(r, i);
95
99
  });
96
100
  }
97
101
  o(W, "isexe");
98
- function pn(e, t) {
102
+ function hn(e, t) {
99
103
  try {
100
- return R.sync(e, t || {});
104
+ return G.sync(e, t || {});
101
105
  } catch (n) {
102
106
  if (t && t.ignoreErrors || n.code === "EACCES")
103
107
  return !1;
104
108
  throw n;
105
109
  }
106
110
  }
107
- o(pn, "sync");
111
+ o(hn, "sync");
108
112
  });
109
113
 
110
114
  // ../../node_modules/which/which.js
111
- var Ve = h((uo, Xe) => {
112
- var w = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", ze = S("path"), mn = w ? ";" : ":", qe = De(), We = /* @__PURE__ */ o((e) => Object.assign(new Error(`not found: ${e}`), { code: "ENOENT" }), "getNotFoundError"), He = /* @__PURE__ */ o((e, t) => {
113
- let n = t.colon || mn, r = e.match(/\//) || w && e.match(/\\/) ? [""] : [
115
+ var Ze = h((ho, Ye) => {
116
+ var w = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", We = S("path"), yn = w ? ";" : ":", He = ze(), Ke = /* @__PURE__ */ o((e) => Object.assign(new Error(`not found: ${e}`), { code: "ENOENT" }), "getNotFoundError"), Ve = /* @__PURE__ */ o((e, t) => {
117
+ let n = t.colon || yn, r = e.match(/\//) || w && e.match(/\\/) ? [""] : [
114
118
  // windows always checks the cwd first
115
119
  ...w ? [process.cwd()] : [],
116
120
  ...(t.path || process.env.PATH || /* istanbul ignore next: very unusual */
@@ -121,18 +125,18 @@ var Ve = h((uo, Xe) => {
121
125
  pathExt: s,
122
126
  pathExtExe: i
123
127
  };
124
- }, "getPathInfo"), Ke = /* @__PURE__ */ o((e, t, n) => {
128
+ }, "getPathInfo"), Xe = /* @__PURE__ */ o((e, t, n) => {
125
129
  typeof t == "function" && (n = t, t = {}), t || (t = {});
126
- let { pathEnv: r, pathExt: i, pathExtExe: s } = He(e, t), a = [], c = /* @__PURE__ */ o((f) => new Promise((l, p) => {
130
+ let { pathEnv: r, pathExt: i, pathExtExe: s } = Ve(e, t), a = [], c = /* @__PURE__ */ o((f) => new Promise((l, p) => {
127
131
  if (f === r.length)
128
- return t.all && a.length ? l(a) : p(We(e));
129
- let d = r[f], y = /^".*"$/.test(d) ? d.slice(1, -1) : d, m = ze.join(y, e), g = !y && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + m : m;
132
+ return t.all && a.length ? l(a) : p(Ke(e));
133
+ let d = r[f], y = /^".*"$/.test(d) ? d.slice(1, -1) : d, m = We.join(y, e), g = !y && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + m : m;
130
134
  l(u(g, f, 0));
131
135
  }), "step"), u = /* @__PURE__ */ o((f, l, p) => new Promise((d, y) => {
132
136
  if (p === i.length)
133
137
  return d(c(l + 1));
134
138
  let m = i[p];
135
- qe(f + m, { pathExt: s }, (g, x) => {
139
+ He(f + m, { pathExt: s }, (g, x) => {
136
140
  if (!g && x)
137
141
  if (t.all)
138
142
  a.push(f + m);
@@ -142,15 +146,15 @@ var Ve = h((uo, Xe) => {
142
146
  });
143
147
  }), "subStep");
144
148
  return n ? c(0).then((f) => n(null, f), n) : c(0);
145
- }, "which"), hn = /* @__PURE__ */ o((e, t) => {
149
+ }, "which"), gn = /* @__PURE__ */ o((e, t) => {
146
150
  t = t || {};
147
- let { pathEnv: n, pathExt: r, pathExtExe: i } = He(e, t), s = [];
151
+ let { pathEnv: n, pathExt: r, pathExtExe: i } = Ve(e, t), s = [];
148
152
  for (let a = 0; a < n.length; a++) {
149
- let c = n[a], u = /^".*"$/.test(c) ? c.slice(1, -1) : c, f = ze.join(u, e), l = !u && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + f : f;
153
+ let c = n[a], u = /^".*"$/.test(c) ? c.slice(1, -1) : c, f = We.join(u, e), l = !u && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + f : f;
150
154
  for (let p = 0; p < r.length; p++) {
151
155
  let d = l + r[p];
152
156
  try {
153
- if (qe.sync(d, { pathExt: i }))
157
+ if (He.sync(d, { pathExt: i }))
154
158
  if (t.all)
155
159
  s.push(d);
156
160
  else
@@ -163,28 +167,28 @@ var Ve = h((uo, Xe) => {
163
167
  return s;
164
168
  if (t.nothrow)
165
169
  return null;
166
- throw We(e);
170
+ throw Ke(e);
167
171
  }, "whichSync");
168
- Xe.exports = Ke;
169
- Ke.sync = hn;
172
+ Ye.exports = Xe;
173
+ Xe.sync = gn;
170
174
  });
171
175
 
172
176
  // ../../node_modules/path-key/index.js
173
- var Ze = h((lo, H) => {
177
+ var Je = h((go, H) => {
174
178
  "use strict";
175
- var Ye = /* @__PURE__ */ o((e = {}) => {
179
+ var Qe = /* @__PURE__ */ o((e = {}) => {
176
180
  let t = e.env || process.env;
177
181
  return (e.platform || process.platform) !== "win32" ? "PATH" : Object.keys(t).reverse().find((r) => r.toUpperCase() === "PATH") || "Path";
178
182
  }, "pathKey");
179
- H.exports = Ye;
180
- H.exports.default = Ye;
183
+ H.exports = Qe;
184
+ H.exports.default = Qe;
181
185
  });
182
186
 
183
187
  // ../../node_modules/cross-spawn/lib/util/resolveCommand.js
184
- var tt = h((mo, et) => {
188
+ var rt = h((bo, nt) => {
185
189
  "use strict";
186
- var Qe = S("path"), yn = Ve(), gn = Ze();
187
- function Je(e, t) {
190
+ var et = S("path"), Sn = Ze(), bn = Je();
191
+ function tt(e, t) {
188
192
  let n = e.options.env || process.env, r = process.cwd(), i = e.options.cwd != null, s = i && process.chdir !== void 0 && !process.chdir.disabled;
189
193
  if (s)
190
194
  try {
@@ -193,52 +197,52 @@ var tt = h((mo, et) => {
193
197
  }
194
198
  let a;
195
199
  try {
196
- a = yn.sync(e.command, {
197
- path: n[gn({ env: n })],
198
- pathExt: t ? Qe.delimiter : void 0
200
+ a = Sn.sync(e.command, {
201
+ path: n[bn({ env: n })],
202
+ pathExt: t ? et.delimiter : void 0
199
203
  });
200
204
  } catch {
201
205
  } finally {
202
206
  s && process.chdir(r);
203
207
  }
204
- return a && (a = Qe.resolve(i ? e.options.cwd : "", a)), a;
208
+ return a && (a = et.resolve(i ? e.options.cwd : "", a)), a;
205
209
  }
206
- o(Je, "resolveCommandAttempt");
207
- function Sn(e) {
208
- return Je(e) || Je(e, !0);
210
+ o(tt, "resolveCommandAttempt");
211
+ function xn(e) {
212
+ return tt(e) || tt(e, !0);
209
213
  }
210
- o(Sn, "resolveCommand");
211
- et.exports = Sn;
214
+ o(xn, "resolveCommand");
215
+ nt.exports = xn;
212
216
  });
213
217
 
214
218
  // ../../node_modules/cross-spawn/lib/util/escape.js
215
- var nt = h((yo, X) => {
219
+ var ot = h((wo, V) => {
216
220
  "use strict";
217
221
  var K = /([()\][%!^"`<>&|;, *?])/g;
218
- function bn(e) {
222
+ function wn(e) {
219
223
  return e = e.replace(K, "^$1"), e;
220
224
  }
221
- o(bn, "escapeCommand");
222
- function xn(e, t) {
225
+ o(wn, "escapeCommand");
226
+ function En(e, t) {
223
227
  return e = `${e}`, e = e.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"'), e = e.replace(/(?=(\\+?)?)\1$/, "$1$1"), e = `"${e}"`, e = e.replace(K, "^$1"), t && (e = e.replace(K, "^$1")), e;
224
228
  }
225
- o(xn, "escapeArgument");
226
- X.exports.command = bn;
227
- X.exports.argument = xn;
229
+ o(En, "escapeArgument");
230
+ V.exports.command = wn;
231
+ V.exports.argument = En;
228
232
  });
229
233
 
230
234
  // ../../node_modules/shebang-regex/index.js
231
- var ot = h((So, rt) => {
235
+ var st = h((To, it) => {
232
236
  "use strict";
233
- rt.exports = /^#!(.*)/;
237
+ it.exports = /^#!(.*)/;
234
238
  });
235
239
 
236
240
  // ../../node_modules/shebang-command/index.js
237
- var st = h((bo, it) => {
241
+ var ct = h((Io, at) => {
238
242
  "use strict";
239
- var wn = ot();
240
- it.exports = (e = "") => {
241
- let t = e.match(wn);
243
+ var Tn = st();
244
+ at.exports = (e = "") => {
245
+ let t = e.match(Tn);
242
246
  if (!t)
243
247
  return null;
244
248
  let [n, r] = t[0].replace(/#! ?/, "").split(" "), i = n.split("/").pop();
@@ -247,45 +251,45 @@ var st = h((bo, it) => {
247
251
  });
248
252
 
249
253
  // ../../node_modules/cross-spawn/lib/util/readShebang.js
250
- var ct = h((xo, at) => {
254
+ var ft = h((Po, ut) => {
251
255
  "use strict";
252
- var V = S("fs"), En = st();
253
- function Tn(e) {
256
+ var X = S("fs"), In = ct();
257
+ function Pn(e) {
254
258
  let n = Buffer.alloc(150), r;
255
259
  try {
256
- r = V.openSync(e, "r"), V.readSync(r, n, 0, 150, 0), V.closeSync(r);
260
+ r = X.openSync(e, "r"), X.readSync(r, n, 0, 150, 0), X.closeSync(r);
257
261
  } catch {
258
262
  }
259
- return En(n.toString());
263
+ return In(n.toString());
260
264
  }
261
- o(Tn, "readShebang");
262
- at.exports = Tn;
265
+ o(Pn, "readShebang");
266
+ ut.exports = Pn;
263
267
  });
264
268
 
265
269
  // ../../node_modules/cross-spawn/lib/parse.js
266
- var dt = h((Eo, lt) => {
270
+ var mt = h((Co, pt) => {
267
271
  "use strict";
268
- var An = S("path"), ut = tt(), ft = nt(), Cn = ct(), In = process.platform === "win32", Pn = /\.(?:com|exe)$/i, vn = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
269
- function On(e) {
270
- e.file = ut(e);
272
+ var An = S("path"), lt = rt(), dt = ot(), Cn = ft(), vn = process.platform === "win32", On = /\.(?:com|exe)$/i, Rn = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
273
+ function Gn(e) {
274
+ e.file = lt(e);
271
275
  let t = e.file && Cn(e.file);
272
- return t ? (e.args.unshift(e.file), e.command = t, ut(e)) : e.file;
276
+ return t ? (e.args.unshift(e.file), e.command = t, lt(e)) : e.file;
273
277
  }
274
- o(On, "detectShebang");
275
- function Gn(e) {
276
- if (!In)
278
+ o(Gn, "detectShebang");
279
+ function kn(e) {
280
+ if (!vn)
277
281
  return e;
278
- let t = On(e), n = !Pn.test(t);
282
+ let t = Gn(e), n = !On.test(t);
279
283
  if (e.options.forceShell || n) {
280
- let r = vn.test(t);
281
- e.command = An.normalize(e.command), e.command = ft.command(e.command), e.args = e.args.map((s) => ft.argument(s, r));
284
+ let r = Rn.test(t);
285
+ e.command = An.normalize(e.command), e.command = dt.command(e.command), e.args = e.args.map((s) => dt.argument(s, r));
282
286
  let i = [e.command].concat(e.args).join(" ");
283
287
  e.args = ["/d", "/s", "/c", `"${i}"`], e.command = process.env.comspec || "cmd.exe", e.options.windowsVerbatimArguments = !0;
284
288
  }
285
289
  return e;
286
290
  }
287
- o(Gn, "parseNonShell");
288
- function Rn(e, t, n) {
291
+ o(kn, "parseNonShell");
292
+ function jn(e, t, n) {
289
293
  t && !Array.isArray(t) && (n = t, t = null), t = t ? t.slice(0) : [], n = Object.assign({}, n);
290
294
  let r = {
291
295
  command: e,
@@ -297,14 +301,14 @@ var dt = h((Eo, lt) => {
297
301
  args: t
298
302
  }
299
303
  };
300
- return n.shell ? r : Gn(r);
304
+ return n.shell ? r : kn(r);
301
305
  }
302
- o(Rn, "parse");
303
- lt.exports = Rn;
306
+ o(jn, "parse");
307
+ pt.exports = jn;
304
308
  });
305
309
 
306
310
  // ../../node_modules/cross-spawn/lib/enoent.js
307
- var ht = h((Ao, mt) => {
311
+ var gt = h((Oo, yt) => {
308
312
  "use strict";
309
313
  var Y = process.platform === "win32";
310
314
  function Z(e, t) {
@@ -323,7 +327,7 @@ var ht = h((Ao, mt) => {
323
327
  let n = e.emit;
324
328
  e.emit = function(r, i) {
325
329
  if (r === "exit") {
326
- let s = pt(i, t);
330
+ let s = ht(i, t);
327
331
  if (s)
328
332
  return n.call(e, "error", s);
329
333
  }
@@ -331,48 +335,48 @@ var ht = h((Ao, mt) => {
331
335
  };
332
336
  }
333
337
  o($n, "hookChildProcess");
334
- function pt(e, t) {
338
+ function ht(e, t) {
335
339
  return Y && e === 1 && !t.file ? Z(t.original, "spawn") : null;
336
340
  }
337
- o(pt, "verifyENOENT");
338
- function Nn(e, t) {
341
+ o(ht, "verifyENOENT");
342
+ function Ln(e, t) {
339
343
  return Y && e === 1 && !t.file ? Z(t.original, "spawnSync") : null;
340
344
  }
341
- o(Nn, "verifyENOENTSync");
342
- mt.exports = {
345
+ o(Ln, "verifyENOENTSync");
346
+ yt.exports = {
343
347
  hookChildProcess: $n,
344
- verifyENOENT: pt,
345
- verifyENOENTSync: Nn,
348
+ verifyENOENT: ht,
349
+ verifyENOENTSync: Ln,
346
350
  notFoundError: Z
347
351
  };
348
352
  });
349
353
 
350
354
  // ../../node_modules/cross-spawn/index.js
351
- var St = h((Io, E) => {
355
+ var xt = h((Go, E) => {
352
356
  "use strict";
353
- var yt = S("child_process"), Q = dt(), J = ht();
354
- function gt(e, t, n) {
355
- let r = Q(e, t, n), i = yt.spawn(r.command, r.args, r.options);
357
+ var St = S("child_process"), Q = mt(), J = gt();
358
+ function bt(e, t, n) {
359
+ let r = Q(e, t, n), i = St.spawn(r.command, r.args, r.options);
356
360
  return J.hookChildProcess(i, r), i;
357
361
  }
358
- o(gt, "spawn");
359
- function kn(e, t, n) {
360
- let r = Q(e, t, n), i = yt.spawnSync(r.command, r.args, r.options);
362
+ o(bt, "spawn");
363
+ function Nn(e, t, n) {
364
+ let r = Q(e, t, n), i = St.spawnSync(r.command, r.args, r.options);
361
365
  return i.error = i.error || J.verifyENOENTSync(i.status, r), i;
362
366
  }
363
- o(kn, "spawnSync");
364
- E.exports = gt;
365
- E.exports.spawn = gt;
366
- E.exports.sync = kn;
367
+ o(Nn, "spawnSync");
368
+ E.exports = bt;
369
+ E.exports.spawn = bt;
370
+ E.exports.sync = Nn;
367
371
  E.exports._parse = Q;
368
372
  E.exports._enoent = J;
369
373
  });
370
374
 
371
375
  // ../../node_modules/merge-stream/index.js
372
- var Wt = h((Qi, qt) => {
376
+ var Kt = h((rs, Ht) => {
373
377
  "use strict";
374
378
  var { PassThrough: $r } = S("stream");
375
- qt.exports = function() {
379
+ Ht.exports = function() {
376
380
  var e = [], t = new $r({ objectMode: !0 });
377
381
  return t.setMaxListeners(0), t.add = n, t.isEmpty = r, t.on("unpipe", i), Array.prototype.slice.call(arguments).forEach(n), t;
378
382
  function n(s) {
@@ -393,10 +397,10 @@ var Wt = h((Qi, qt) => {
393
397
  });
394
398
 
395
399
  // node_modules/execa/index.js
396
- var on = Ge(St(), 1);
397
- import { Buffer as Yr } from "node:buffer";
398
- import Zr from "node:path";
399
- import Ce from "node:child_process";
400
+ var an = Re(xt(), 1);
401
+ import { Buffer as Qr } from "node:buffer";
402
+ import Jr from "node:path";
403
+ import Pe from "node:child_process";
400
404
  import T from "node:process";
401
405
 
402
406
  // ../../node_modules/strip-final-newline/index.js
@@ -408,98 +412,98 @@ function ee(e) {
408
412
  o(ee, "stripFinalNewline");
409
413
 
410
414
  // node_modules/npm-run-path/index.js
411
- import N from "node:process";
412
- import A from "node:path";
413
- import { fileURLToPath as bt } from "node:url";
415
+ import j from "node:process";
416
+ import I from "node:path";
417
+ import { fileURLToPath as wt } from "node:url";
414
418
 
415
419
  // node_modules/path-key/index.js
416
- function $(e = {}) {
420
+ function k(e = {}) {
417
421
  let {
418
422
  env: t = process.env,
419
423
  platform: n = process.platform
420
424
  } = e;
421
425
  return n !== "win32" ? "PATH" : Object.keys(t).reverse().find((r) => r.toUpperCase() === "PATH") || "Path";
422
426
  }
423
- o($, "pathKey");
427
+ o(k, "pathKey");
424
428
 
425
429
  // node_modules/npm-run-path/index.js
426
- var jn = /* @__PURE__ */ o(({
427
- cwd: e = N.cwd(),
428
- path: t = N.env[$()],
430
+ var Bn = /* @__PURE__ */ o(({
431
+ cwd: e = j.cwd(),
432
+ path: t = j.env[k()],
429
433
  preferLocal: n = !0,
430
- execPath: r = N.execPath,
434
+ execPath: r = j.execPath,
431
435
  addExecPath: i = !0
432
436
  } = {}) => {
433
- let s = e instanceof URL ? bt(e) : e, a = A.resolve(s), c = [];
434
- return n && Bn(c, a), i && Ln(c, r, a), [...c, t].join(A.delimiter);
435
- }, "npmRunPath"), Bn = /* @__PURE__ */ o((e, t) => {
437
+ let s = e instanceof URL ? wt(e) : e, a = I.resolve(s), c = [];
438
+ return n && Mn(c, a), i && Un(c, r, a), [...c, t].join(I.delimiter);
439
+ }, "npmRunPath"), Mn = /* @__PURE__ */ o((e, t) => {
436
440
  let n;
437
441
  for (; n !== t; )
438
- e.push(A.join(t, "node_modules/.bin")), n = t, t = A.resolve(t, "..");
439
- }, "applyPreferLocal"), Ln = /* @__PURE__ */ o((e, t, n) => {
440
- let r = t instanceof URL ? bt(t) : t;
441
- e.push(A.resolve(n, r, ".."));
442
- }, "applyExecPath"), xt = /* @__PURE__ */ o(({ env: e = N.env, ...t } = {}) => {
442
+ e.push(I.join(t, "node_modules/.bin")), n = t, t = I.resolve(t, "..");
443
+ }, "applyPreferLocal"), Un = /* @__PURE__ */ o((e, t, n) => {
444
+ let r = t instanceof URL ? wt(t) : t;
445
+ e.push(I.resolve(n, r, ".."));
446
+ }, "applyExecPath"), Et = /* @__PURE__ */ o(({ env: e = j.env, ...t } = {}) => {
443
447
  e = { ...e };
444
- let n = $({ env: e });
445
- return t.path = e[n], e[n] = jn(t), e;
448
+ let n = k({ env: e });
449
+ return t.path = e[n], e[n] = Bn(t), e;
446
450
  }, "npmRunPathEnv");
447
451
 
448
452
  // node_modules/mimic-fn/index.js
449
- var Un = /* @__PURE__ */ o((e, t, n, r) => {
453
+ var Fn = /* @__PURE__ */ o((e, t, n, r) => {
450
454
  if (n === "length" || n === "prototype" || n === "arguments" || n === "caller")
451
455
  return;
452
456
  let i = Object.getOwnPropertyDescriptor(e, n), s = Object.getOwnPropertyDescriptor(t, n);
453
- !Fn(i, s) && r || Object.defineProperty(e, n, s);
454
- }, "copyProperty"), Fn = /* @__PURE__ */ o(function(e, t) {
457
+ !_n(i, s) && r || Object.defineProperty(e, n, s);
458
+ }, "copyProperty"), _n = /* @__PURE__ */ o(function(e, t) {
455
459
  return e === void 0 || e.configurable || e.writable === t.writable && e.enumerable === t.enumerable && e.configurable === t.configurable && (e.writable || e.value === t.value);
456
- }, "canCopyProperty"), Mn = /* @__PURE__ */ o((e, t) => {
460
+ }, "canCopyProperty"), Dn = /* @__PURE__ */ o((e, t) => {
457
461
  let n = Object.getPrototypeOf(t);
458
462
  n !== Object.getPrototypeOf(e) && Object.setPrototypeOf(e, n);
459
- }, "changePrototype"), _n = /* @__PURE__ */ o((e, t) => `/* Wrapped ${e}*/
460
- ${t}`, "wrappedToString"), Dn = Object.getOwnPropertyDescriptor(Function.prototype, "toString"), zn = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name"), qn = /* @__PURE__ */ o((e, t, n) => {
461
- let r = n === "" ? "" : `with ${n.trim()}() `, i = _n.bind(null, r, t.toString());
462
- Object.defineProperty(i, "name", zn), Object.defineProperty(e, "toString", { ...Dn, value: i });
463
+ }, "changePrototype"), qn = /* @__PURE__ */ o((e, t) => `/* Wrapped ${e}*/
464
+ ${t}`, "wrappedToString"), zn = Object.getOwnPropertyDescriptor(Function.prototype, "toString"), Wn = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name"), Hn = /* @__PURE__ */ o((e, t, n) => {
465
+ let r = n === "" ? "" : `with ${n.trim()}() `, i = qn.bind(null, r, t.toString());
466
+ Object.defineProperty(i, "name", Wn), Object.defineProperty(e, "toString", { ...zn, value: i });
463
467
  }, "changeToString");
464
468
  function te(e, t, { ignoreNonConfigurable: n = !1 } = {}) {
465
469
  let { name: r } = e;
466
470
  for (let i of Reflect.ownKeys(t))
467
- Un(e, t, i, n);
468
- return Mn(e, t), qn(e, t, r), e;
471
+ Fn(e, t, i, n);
472
+ return Dn(e, t), Hn(e, t, r), e;
469
473
  }
470
474
  o(te, "mimicFunction");
471
475
 
472
476
  // node_modules/onetime/index.js
473
- var k = /* @__PURE__ */ new WeakMap(), wt = /* @__PURE__ */ o((e, t = {}) => {
477
+ var $ = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ o((e, t = {}) => {
474
478
  if (typeof e != "function")
475
479
  throw new TypeError("Expected a function");
476
480
  let n, r = 0, i = e.displayName || e.name || "<anonymous>", s = /* @__PURE__ */ o(function(...a) {
477
- if (k.set(s, ++r), r === 1)
481
+ if ($.set(s, ++r), r === 1)
478
482
  n = e.apply(this, a), e = null;
479
483
  else if (t.throw === !0)
480
484
  throw new Error(`Function \`${i}\` can only be called once`);
481
485
  return n;
482
486
  }, "onetime");
483
- return te(s, e), k.set(s, r), s;
487
+ return te(s, e), $.set(s, r), s;
484
488
  }, "onetime");
485
- wt.callCount = (e) => {
486
- if (!k.has(e))
489
+ Tt.callCount = (e) => {
490
+ if (!$.has(e))
487
491
  throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);
488
- return k.get(e);
492
+ return $.get(e);
489
493
  };
490
- var Et = wt;
494
+ var It = Tt;
491
495
 
492
496
  // node_modules/execa/lib/error.js
493
- import er from "node:process";
497
+ import nr from "node:process";
494
498
 
495
499
  // node_modules/human-signals/build/src/main.js
496
- import { constants as Xn } from "node:os";
500
+ import { constants as Yn } from "node:os";
497
501
 
498
502
  // node_modules/human-signals/build/src/realtime.js
499
- var Tt = /* @__PURE__ */ o(() => {
503
+ var Pt = /* @__PURE__ */ o(() => {
500
504
  let e = ne - At + 1;
501
- return Array.from({ length: e }, Wn);
502
- }, "getRealtimeSignals"), Wn = /* @__PURE__ */ o((e, t) => ({
505
+ return Array.from({ length: e }, Kn);
506
+ }, "getRealtimeSignals"), Kn = /* @__PURE__ */ o((e, t) => ({
503
507
  name: `SIGRT${t + 1}`,
504
508
  number: At + t,
505
509
  action: "terminate",
@@ -508,7 +512,7 @@ var Tt = /* @__PURE__ */ o(() => {
508
512
  }), "getRealtimeSignal"), At = 34, ne = 64;
509
513
 
510
514
  // node_modules/human-signals/build/src/signals.js
511
- import { constants as Hn } from "node:os";
515
+ import { constants as Vn } from "node:os";
512
516
 
513
517
  // node_modules/human-signals/build/src/core.js
514
518
  var Ct = [
@@ -785,9 +789,9 @@ var Ct = [
785
789
 
786
790
  // node_modules/human-signals/build/src/signals.js
787
791
  var re = /* @__PURE__ */ o(() => {
788
- let e = Tt();
789
- return [...Ct, ...e].map(Kn);
790
- }, "getSignals"), Kn = /* @__PURE__ */ o(({
792
+ let e = Pt();
793
+ return [...Ct, ...e].map(Xn);
794
+ }, "getSignals"), Xn = /* @__PURE__ */ o(({
791
795
  name: e,
792
796
  number: t,
793
797
  description: n,
@@ -797,15 +801,15 @@ var re = /* @__PURE__ */ o(() => {
797
801
  }) => {
798
802
  let {
799
803
  signals: { [e]: a }
800
- } = Hn, c = a !== void 0;
804
+ } = Vn, c = a !== void 0;
801
805
  return { name: e, number: c ? a : t, description: n, supported: c, action: r, forced: i, standard: s };
802
806
  }, "normalizeSignal");
803
807
 
804
808
  // node_modules/human-signals/build/src/main.js
805
- var Vn = /* @__PURE__ */ o(() => {
809
+ var Zn = /* @__PURE__ */ o(() => {
806
810
  let e = re();
807
- return Object.fromEntries(e.map(Yn));
808
- }, "getSignalsByName"), Yn = /* @__PURE__ */ o(({
811
+ return Object.fromEntries(e.map(Qn));
812
+ }, "getSignalsByName"), Qn = /* @__PURE__ */ o(({
809
813
  name: e,
810
814
  number: t,
811
815
  description: n,
@@ -813,14 +817,14 @@ var Vn = /* @__PURE__ */ o(() => {
813
817
  action: i,
814
818
  forced: s,
815
819
  standard: a
816
- }) => [e, { name: e, number: t, description: n, supported: r, action: i, forced: s, standard: a }], "getSignalByName"), It = Vn(), Zn = /* @__PURE__ */ o(() => {
820
+ }) => [e, { name: e, number: t, description: n, supported: r, action: i, forced: s, standard: a }], "getSignalByName"), vt = Zn(), Jn = /* @__PURE__ */ o(() => {
817
821
  let e = re(), t = ne + 1, n = Array.from(
818
822
  { length: t },
819
- (r, i) => Qn(i, e)
823
+ (r, i) => er(i, e)
820
824
  );
821
825
  return Object.assign({}, ...n);
822
- }, "getSignalsByNumber"), Qn = /* @__PURE__ */ o((e, t) => {
823
- let n = Jn(e, t);
826
+ }, "getSignalsByNumber"), er = /* @__PURE__ */ o((e, t) => {
827
+ let n = tr(e, t);
824
828
  if (n === void 0)
825
829
  return {};
826
830
  let { name: r, description: i, supported: s, action: a, forced: c, standard: u } = n;
@@ -835,13 +839,13 @@ var Vn = /* @__PURE__ */ o(() => {
835
839
  standard: u
836
840
  }
837
841
  };
838
- }, "getSignalByNumber"), Jn = /* @__PURE__ */ o((e, t) => {
839
- let n = t.find(({ name: r }) => Xn.signals[r] === e);
842
+ }, "getSignalByNumber"), tr = /* @__PURE__ */ o((e, t) => {
843
+ let n = t.find(({ name: r }) => Yn.signals[r] === e);
840
844
  return n !== void 0 ? n : t.find((r) => r.number === e);
841
- }, "findSignalByNumber"), ei = Zn();
845
+ }, "findSignalByNumber"), ii = Jn();
842
846
 
843
847
  // node_modules/execa/lib/error.js
844
- var tr = /* @__PURE__ */ o(({ timedOut: e, timeout: t, errorCode: n, signal: r, signalDescription: i, exitCode: s, isCanceled: a }) => e ? `timed out after ${t} milliseconds` : a ? "was canceled" : n !== void 0 ? `failed with ${n}` : r !== void 0 ? `was killed with ${r} (${i})` : s !== void 0 ? `failed with exit code ${s}` : "failed", "getErrorPrefix"), C = /* @__PURE__ */ o(({
848
+ var rr = /* @__PURE__ */ o(({ timedOut: e, timeout: t, errorCode: n, signal: r, signalDescription: i, exitCode: s, isCanceled: a }) => e ? `timed out after ${t} milliseconds` : a ? "was canceled" : n !== void 0 ? `failed with ${n}` : r !== void 0 ? `was killed with ${r} (${i})` : s !== void 0 ? `failed with exit code ${s}` : "failed", "getErrorPrefix"), P = /* @__PURE__ */ o(({
845
849
  stdout: e,
846
850
  stderr: t,
847
851
  all: n,
@@ -853,37 +857,37 @@ var tr = /* @__PURE__ */ o(({ timedOut: e, timeout: t, errorCode: n, signal: r,
853
857
  timedOut: u,
854
858
  isCanceled: f,
855
859
  killed: l,
856
- parsed: { options: { timeout: p, cwd: d = er.cwd() } }
860
+ parsed: { options: { timeout: p, cwd: d = nr.cwd() } }
857
861
  }) => {
858
862
  s = s === null ? void 0 : s, i = i === null ? void 0 : i;
859
- let y = i === void 0 ? void 0 : It[i].description, m = r && r.code, x = `Command ${tr({ timedOut: u, timeout: p, errorCode: m, signal: i, signalDescription: y, exitCode: s, isCanceled: f })}: ${a}`, v = Object.prototype.toString.call(r) === "[object Error]", O = v ? `${x}
860
- ${r.message}` : x, G = [O, t, e].filter(Boolean).join(`
863
+ let y = i === void 0 ? void 0 : vt[i].description, m = r && r.code, x = `Command ${rr({ timedOut: u, timeout: p, errorCode: m, signal: i, signalDescription: y, exitCode: s, isCanceled: f })}: ${a}`, v = Object.prototype.toString.call(r) === "[object Error]", O = v ? `${x}
864
+ ${r.message}` : x, R = [O, t, e].filter(Boolean).join(`
861
865
  `);
862
- return v ? (r.originalMessage = r.message, r.message = G) : r = new Error(G), r.shortMessage = O, r.command = a, r.escapedCommand = c, r.exitCode = s, r.signal = i, r.signalDescription = y, r.stdout = e, r.stderr = t, r.cwd = d, n !== void 0 && (r.all = n), "bufferedData" in r && delete r.bufferedData, r.failed = !0, r.timedOut = !!u, r.isCanceled = f, r.killed = l && !u, r;
866
+ return v ? (r.originalMessage = r.message, r.message = R) : r = new Error(R), r.shortMessage = O, r.command = a, r.escapedCommand = c, r.exitCode = s, r.signal = i, r.signalDescription = y, r.stdout = e, r.stderr = t, r.cwd = d, n !== void 0 && (r.all = n), "bufferedData" in r && delete r.bufferedData, r.failed = !0, r.timedOut = !!u, r.isCanceled = f, r.killed = l && !u, r;
863
867
  }, "makeError");
864
868
 
865
869
  // node_modules/execa/lib/stdio.js
866
- var j = ["stdin", "stdout", "stderr"], nr = /* @__PURE__ */ o((e) => j.some((t) => e[t] !== void 0), "hasAlias"), oe = /* @__PURE__ */ o((e) => {
870
+ var L = ["stdin", "stdout", "stderr"], or = /* @__PURE__ */ o((e) => L.some((t) => e[t] !== void 0), "hasAlias"), oe = /* @__PURE__ */ o((e) => {
867
871
  if (!e)
868
872
  return;
869
873
  let { stdio: t } = e;
870
874
  if (t === void 0)
871
- return j.map((r) => e[r]);
872
- if (nr(e))
873
- throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${j.map((r) => `\`${r}\``).join(", ")}`);
875
+ return L.map((r) => e[r]);
876
+ if (or(e))
877
+ throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${L.map((r) => `\`${r}\``).join(", ")}`);
874
878
  if (typeof t == "string")
875
879
  return t;
876
880
  if (!Array.isArray(t))
877
881
  throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);
878
- let n = Math.max(t.length, j.length);
882
+ let n = Math.max(t.length, L.length);
879
883
  return Array.from({ length: n }, (r, i) => t[i]);
880
- }, "normalizeStdio"), Pt = /* @__PURE__ */ o((e) => {
884
+ }, "normalizeStdio"), Ot = /* @__PURE__ */ o((e) => {
881
885
  let t = oe(e);
882
886
  return t === "ipc" ? "ipc" : t === void 0 || typeof t == "string" ? [t, t, t, "ipc"] : t.includes("ipc") ? t : [...t, "ipc"];
883
887
  }, "normalizeStdioNode");
884
888
 
885
889
  // node_modules/execa/lib/kill.js
886
- import ir from "node:os";
890
+ import ar from "node:os";
887
891
 
888
892
  // node_modules/signal-exit/dist/mjs/signals.js
889
893
  var b = [];
@@ -906,7 +910,7 @@ process.platform !== "win32" && b.push(
906
910
  process.platform === "linux" && b.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
907
911
 
908
912
  // node_modules/signal-exit/dist/mjs/index.js
909
- var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeListener == "function" && typeof e.emit == "function" && typeof e.reallyExit == "function" && typeof e.listeners == "function" && typeof e.kill == "function" && typeof e.pid == "number" && typeof e.on == "function", "processOk"), ie = Symbol.for("signal-exit emitter"), se = globalThis, rr = Object.defineProperty.bind(Object), ae = class {
913
+ var N = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeListener == "function" && typeof e.emit == "function" && typeof e.reallyExit == "function" && typeof e.listeners == "function" && typeof e.kill == "function" && typeof e.pid == "number" && typeof e.on == "function", "processOk"), ie = Symbol.for("signal-exit emitter"), se = globalThis, ir = Object.defineProperty.bind(Object), ae = class {
910
914
  static {
911
915
  o(this, "Emitter");
912
916
  }
@@ -923,7 +927,7 @@ var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeL
923
927
  constructor() {
924
928
  if (se[ie])
925
929
  return se[ie];
926
- rr(se, ie, {
930
+ ir(se, ie, {
927
931
  value: this,
928
932
  writable: !1,
929
933
  enumerable: !1,
@@ -946,11 +950,11 @@ var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeL
946
950
  i = s(n, r) === !0 || i;
947
951
  return t === "exit" && (i = this.emit("afterExit", n, r) || i), i;
948
952
  }
949
- }, L = class {
953
+ }, B = class {
950
954
  static {
951
955
  o(this, "SignalExitBase");
952
956
  }
953
- }, or = /* @__PURE__ */ o((e) => ({
957
+ }, sr = /* @__PURE__ */ o((e) => ({
954
958
  onExit(t, n) {
955
959
  return e.onExit(t, n);
956
960
  },
@@ -960,7 +964,7 @@ var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeL
960
964
  unload() {
961
965
  return e.unload();
962
966
  }
963
- }), "signalExitWrap"), ce = class extends L {
967
+ }), "signalExitWrap"), ce = class extends B {
964
968
  static {
965
969
  o(this, "SignalExitFallback");
966
970
  }
@@ -972,7 +976,7 @@ var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeL
972
976
  }
973
977
  unload() {
974
978
  }
975
- }, ue = class extends L {
979
+ }, ue = class extends B {
976
980
  static {
977
981
  o(this, "SignalExit");
978
982
  }
@@ -1001,7 +1005,7 @@ var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeL
1001
1005
  this.#i = t.reallyExit, this.#o = t.emit;
1002
1006
  }
1003
1007
  onExit(t, n) {
1004
- if (!B(this.#e))
1008
+ if (!N(this.#e))
1005
1009
  return () => {
1006
1010
  };
1007
1011
  this.#n === !1 && this.load();
@@ -1034,11 +1038,11 @@ var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeL
1034
1038
  }), this.#e.emit = this.#o, this.#e.reallyExit = this.#i, this.#t.count -= 1);
1035
1039
  }
1036
1040
  #a(t) {
1037
- return B(this.#e) ? (this.#e.exitCode = t || 0, this.#t.emit("exit", this.#e.exitCode, null), this.#i.call(this.#e, this.#e.exitCode)) : 0;
1041
+ return N(this.#e) ? (this.#e.exitCode = t || 0, this.#t.emit("exit", this.#e.exitCode, null), this.#i.call(this.#e, this.#e.exitCode)) : 0;
1038
1042
  }
1039
1043
  #c(t, ...n) {
1040
1044
  let r = this.#o;
1041
- if (t === "exit" && B(this.#e)) {
1045
+ if (t === "exit" && N(this.#e)) {
1042
1046
  typeof n[0] == "number" && (this.#e.exitCode = n[0]);
1043
1047
  let i = r.call(this.#e, t, ...n);
1044
1048
  return this.#t.emit("exit", this.#e.exitCode, null), i;
@@ -1055,7 +1059,7 @@ var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeL
1055
1059
  *
1056
1060
  * Returns a function that may be used to unload signal-exit.
1057
1061
  */
1058
- onExit: vt,
1062
+ onExit: Rt,
1059
1063
  /**
1060
1064
  * Load the listeners. Likely you never need to call this, unless
1061
1065
  * doing a rather deep integration with signal-exit functionality.
@@ -1063,7 +1067,7 @@ var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeL
1063
1067
  *
1064
1068
  * @internal
1065
1069
  */
1066
- load: li,
1070
+ load: yi,
1067
1071
  /**
1068
1072
  * Unload the listeners. Likely you never need to call this, unless
1069
1073
  * doing a rather deep integration with signal-exit functionality.
@@ -1071,36 +1075,36 @@ var B = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeL
1071
1075
  *
1072
1076
  * @internal
1073
1077
  */
1074
- unload: di
1075
- } = or(B(fe) ? new ue(fe) : new ce());
1078
+ unload: gi
1079
+ } = sr(N(fe) ? new ue(fe) : new ce());
1076
1080
 
1077
1081
  // node_modules/execa/lib/kill.js
1078
- var sr = 1e3 * 5, Ot = /* @__PURE__ */ o((e, t = "SIGTERM", n = {}) => {
1082
+ var cr = 1e3 * 5, Gt = /* @__PURE__ */ o((e, t = "SIGTERM", n = {}) => {
1079
1083
  let r = e(t);
1080
- return ar(e, t, n, r), r;
1081
- }, "spawnedKill"), ar = /* @__PURE__ */ o((e, t, n, r) => {
1082
- if (!cr(t, n, r))
1084
+ return ur(e, t, n, r), r;
1085
+ }, "spawnedKill"), ur = /* @__PURE__ */ o((e, t, n, r) => {
1086
+ if (!fr(t, n, r))
1083
1087
  return;
1084
- let i = fr(n), s = setTimeout(() => {
1088
+ let i = dr(n), s = setTimeout(() => {
1085
1089
  e("SIGKILL");
1086
1090
  }, i);
1087
1091
  s.unref && s.unref();
1088
- }, "setKillTimeout"), cr = /* @__PURE__ */ o((e, { forceKillAfterTimeout: t }, n) => ur(e) && t !== !1 && n, "shouldForceKill"), ur = /* @__PURE__ */ o((e) => e === ir.constants.signals.SIGTERM || typeof e == "string" && e.toUpperCase() === "SIGTERM", "isSigterm"), fr = /* @__PURE__ */ o(({ forceKillAfterTimeout: e = !0 }) => {
1092
+ }, "setKillTimeout"), fr = /* @__PURE__ */ o((e, { forceKillAfterTimeout: t }, n) => lr(e) && t !== !1 && n, "shouldForceKill"), lr = /* @__PURE__ */ o((e) => e === ar.constants.signals.SIGTERM || typeof e == "string" && e.toUpperCase() === "SIGTERM", "isSigterm"), dr = /* @__PURE__ */ o(({ forceKillAfterTimeout: e = !0 }) => {
1089
1093
  if (e === !0)
1090
- return sr;
1094
+ return cr;
1091
1095
  if (!Number.isFinite(e) || e < 0)
1092
1096
  throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);
1093
1097
  return e;
1094
- }, "getForceKillAfterTimeout"), Gt = /* @__PURE__ */ o((e, t) => {
1098
+ }, "getForceKillAfterTimeout"), kt = /* @__PURE__ */ o((e, t) => {
1095
1099
  e.kill() && (t.isCanceled = !0);
1096
- }, "spawnedCancel"), lr = /* @__PURE__ */ o((e, t, n) => {
1100
+ }, "spawnedCancel"), pr = /* @__PURE__ */ o((e, t, n) => {
1097
1101
  e.kill(t), n(Object.assign(new Error("Timed out"), { timedOut: !0, signal: t }));
1098
- }, "timeoutKill"), Rt = /* @__PURE__ */ o((e, { timeout: t, killSignal: n = "SIGTERM" }, r) => {
1102
+ }, "timeoutKill"), jt = /* @__PURE__ */ o((e, { timeout: t, killSignal: n = "SIGTERM" }, r) => {
1099
1103
  if (t === 0 || t === void 0)
1100
1104
  return r;
1101
1105
  let i, s = new Promise((c, u) => {
1102
1106
  i = setTimeout(() => {
1103
- lr(e, n, u);
1107
+ pr(e, n, u);
1104
1108
  }, t);
1105
1109
  }), a = r.finally(() => {
1106
1110
  clearTimeout(i);
@@ -1109,10 +1113,10 @@ var sr = 1e3 * 5, Ot = /* @__PURE__ */ o((e, t = "SIGTERM", n = {}) => {
1109
1113
  }, "setupTimeout"), $t = /* @__PURE__ */ o(({ timeout: e }) => {
1110
1114
  if (e !== void 0 && (!Number.isFinite(e) || e < 0))
1111
1115
  throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);
1112
- }, "validateTimeout"), Nt = /* @__PURE__ */ o(async (e, { cleanup: t, detached: n }, r) => {
1116
+ }, "validateTimeout"), Lt = /* @__PURE__ */ o(async (e, { cleanup: t, detached: n }, r) => {
1113
1117
  if (!t || n)
1114
1118
  return r;
1115
- let i = vt(() => {
1119
+ let i = Rt(() => {
1116
1120
  e.kill();
1117
1121
  });
1118
1122
  return r.finally(() => {
@@ -1121,67 +1125,67 @@ var sr = 1e3 * 5, Ot = /* @__PURE__ */ o((e, t = "SIGTERM", n = {}) => {
1121
1125
  }, "setExitHandler");
1122
1126
 
1123
1127
  // node_modules/execa/lib/pipe.js
1124
- import { createWriteStream as dr } from "node:fs";
1125
- import { ChildProcess as pr } from "node:child_process";
1128
+ import { createWriteStream as mr } from "node:fs";
1129
+ import { ChildProcess as hr } from "node:child_process";
1126
1130
 
1127
1131
  // node_modules/is-stream/index.js
1128
- function U(e) {
1132
+ function M(e) {
1129
1133
  return e !== null && typeof e == "object" && typeof e.pipe == "function";
1130
1134
  }
1131
- o(U, "isStream");
1135
+ o(M, "isStream");
1132
1136
  function le(e) {
1133
- return U(e) && e.writable !== !1 && typeof e._write == "function" && typeof e._writableState == "object";
1137
+ return M(e) && e.writable !== !1 && typeof e._write == "function" && typeof e._writableState == "object";
1134
1138
  }
1135
1139
  o(le, "isWritableStream");
1136
1140
 
1137
1141
  // node_modules/execa/lib/pipe.js
1138
- var mr = /* @__PURE__ */ o((e) => e instanceof pr && typeof e.then == "function", "isExecaChildProcess"), de = /* @__PURE__ */ o((e, t, n) => {
1142
+ var yr = /* @__PURE__ */ o((e) => e instanceof hr && typeof e.then == "function", "isExecaChildProcess"), de = /* @__PURE__ */ o((e, t, n) => {
1139
1143
  if (typeof n == "string")
1140
- return e[t].pipe(dr(n)), e;
1144
+ return e[t].pipe(mr(n)), e;
1141
1145
  if (le(n))
1142
1146
  return e[t].pipe(n), e;
1143
- if (!mr(n))
1147
+ if (!yr(n))
1144
1148
  throw new TypeError("The second argument must be a string, a stream or an Execa child process.");
1145
1149
  if (!le(n.stdin))
1146
1150
  throw new TypeError("The target child process's stdin must be available.");
1147
1151
  return e[t].pipe(n.stdin), n;
1148
- }, "pipeToTarget"), kt = /* @__PURE__ */ o((e) => {
1152
+ }, "pipeToTarget"), Nt = /* @__PURE__ */ o((e) => {
1149
1153
  e.stdout !== null && (e.pipeStdout = de.bind(void 0, e, "stdout")), e.stderr !== null && (e.pipeStderr = de.bind(void 0, e, "stderr")), e.all !== void 0 && (e.pipeAll = de.bind(void 0, e, "all"));
1150
1154
  }, "addPipeMethods");
1151
1155
 
1152
1156
  // node_modules/execa/lib/stream.js
1153
- import { createReadStream as Nr, readFileSync as kr } from "node:fs";
1154
- import { setTimeout as jr } from "node:timers/promises";
1157
+ import { createReadStream as Lr, readFileSync as Nr } from "node:fs";
1158
+ import { setTimeout as Br } from "node:timers/promises";
1155
1159
 
1156
1160
  // node_modules/get-stream/source/contents.js
1157
- var I = /* @__PURE__ */ o(async (e, { init: t, convertChunk: n, getSize: r, truncateChunk: i, addChunk: s, getFinalChunk: a, finalize: c }, { maxBuffer: u = Number.POSITIVE_INFINITY } = {}) => {
1158
- if (!yr(e))
1161
+ var A = /* @__PURE__ */ o(async (e, { init: t, convertChunk: n, getSize: r, truncateChunk: i, addChunk: s, getFinalChunk: a, finalize: c }, { maxBuffer: u = Number.POSITIVE_INFINITY } = {}) => {
1162
+ if (!Sr(e))
1159
1163
  throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");
1160
1164
  let f = t();
1161
1165
  f.length = 0;
1162
1166
  try {
1163
1167
  for await (let l of e) {
1164
- let p = gr(l), d = n[p](l, f);
1165
- Lt({ convertedChunk: d, state: f, getSize: r, truncateChunk: i, addChunk: s, maxBuffer: u });
1168
+ let p = br(l), d = n[p](l, f);
1169
+ Ut({ convertedChunk: d, state: f, getSize: r, truncateChunk: i, addChunk: s, maxBuffer: u });
1166
1170
  }
1167
- return hr({ state: f, convertChunk: n, getSize: r, truncateChunk: i, addChunk: s, getFinalChunk: a, maxBuffer: u }), c(f);
1171
+ return gr({ state: f, convertChunk: n, getSize: r, truncateChunk: i, addChunk: s, getFinalChunk: a, maxBuffer: u }), c(f);
1168
1172
  } catch (l) {
1169
1173
  throw l.bufferedData = c(f), l;
1170
1174
  }
1171
- }, "getStreamContents"), hr = /* @__PURE__ */ o(({ state: e, getSize: t, truncateChunk: n, addChunk: r, getFinalChunk: i, maxBuffer: s }) => {
1175
+ }, "getStreamContents"), gr = /* @__PURE__ */ o(({ state: e, getSize: t, truncateChunk: n, addChunk: r, getFinalChunk: i, maxBuffer: s }) => {
1172
1176
  let a = i(e);
1173
- a !== void 0 && Lt({ convertedChunk: a, state: e, getSize: t, truncateChunk: n, addChunk: r, maxBuffer: s });
1174
- }, "appendFinalChunk"), Lt = /* @__PURE__ */ o(({ convertedChunk: e, state: t, getSize: n, truncateChunk: r, addChunk: i, maxBuffer: s }) => {
1177
+ a !== void 0 && Ut({ convertedChunk: a, state: e, getSize: t, truncateChunk: n, addChunk: r, maxBuffer: s });
1178
+ }, "appendFinalChunk"), Ut = /* @__PURE__ */ o(({ convertedChunk: e, state: t, getSize: n, truncateChunk: r, addChunk: i, maxBuffer: s }) => {
1175
1179
  let a = n(e), c = t.length + a;
1176
1180
  if (c <= s) {
1177
- jt(e, t, i, c);
1181
+ Bt(e, t, i, c);
1178
1182
  return;
1179
1183
  }
1180
1184
  let u = r(e, s - t.length);
1181
- throw u !== void 0 && jt(u, t, i, s), new F();
1182
- }, "appendChunk"), jt = /* @__PURE__ */ o((e, t, n, r) => {
1185
+ throw u !== void 0 && Bt(u, t, i, s), new U();
1186
+ }, "appendChunk"), Bt = /* @__PURE__ */ o((e, t, n, r) => {
1183
1187
  t.contents = n(e, t, r), t.length = r;
1184
- }, "addNewChunk"), yr = /* @__PURE__ */ o((e) => typeof e == "object" && e !== null && typeof e[Symbol.asyncIterator] == "function", "isAsyncIterable"), gr = /* @__PURE__ */ o((e) => {
1188
+ }, "addNewChunk"), Sr = /* @__PURE__ */ o((e) => typeof e == "object" && e !== null && typeof e[Symbol.asyncIterator] == "function", "isAsyncIterable"), br = /* @__PURE__ */ o((e) => {
1185
1189
  let t = typeof e;
1186
1190
  if (t === "string")
1187
1191
  return "string";
@@ -1189,9 +1193,9 @@ var I = /* @__PURE__ */ o(async (e, { init: t, convertChunk: n, getSize: r, trun
1189
1193
  return "others";
1190
1194
  if (globalThis.Buffer?.isBuffer(e))
1191
1195
  return "buffer";
1192
- let n = Bt.call(e);
1193
- return n === "[object ArrayBuffer]" ? "arrayBuffer" : n === "[object DataView]" ? "dataView" : Number.isInteger(e.byteLength) && Number.isInteger(e.byteOffset) && Bt.call(e.buffer) === "[object ArrayBuffer]" ? "typedArray" : "others";
1194
- }, "getChunkType"), { toString: Bt } = Object.prototype, F = class extends Error {
1196
+ let n = Mt.call(e);
1197
+ return n === "[object ArrayBuffer]" ? "arrayBuffer" : n === "[object DataView]" ? "dataView" : Number.isInteger(e.byteLength) && Number.isInteger(e.byteOffset) && Mt.call(e.buffer) === "[object ArrayBuffer]" ? "typedArray" : "others";
1198
+ }, "getChunkType"), { toString: Mt } = Object.prototype, U = class extends Error {
1195
1199
  static {
1196
1200
  o(this, "MaxBufferError");
1197
1201
  }
@@ -1203,41 +1207,41 @@ var I = /* @__PURE__ */ o(async (e, { init: t, convertChunk: n, getSize: r, trun
1203
1207
 
1204
1208
  // node_modules/get-stream/source/utils.js
1205
1209
  var pe = /* @__PURE__ */ o((e) => e, "identity"), me = /* @__PURE__ */ o(() => {
1206
- }, "noop"), he = /* @__PURE__ */ o(({ contents: e }) => e, "getContentsProp"), M = /* @__PURE__ */ o((e) => {
1210
+ }, "noop"), he = /* @__PURE__ */ o(({ contents: e }) => e, "getContentsProp"), F = /* @__PURE__ */ o((e) => {
1207
1211
  throw new Error(`Streams in object mode are not supported: ${String(e)}`);
1208
1212
  }, "throwObjectStream"), _ = /* @__PURE__ */ o((e) => e.length, "getLengthProp");
1209
1213
 
1210
1214
  // node_modules/get-stream/source/array-buffer.js
1211
1215
  async function ye(e, t) {
1212
- return I(e, Ir, t);
1216
+ return A(e, vr, t);
1213
1217
  }
1214
1218
  o(ye, "getStreamAsArrayBuffer");
1215
- var Sr = /* @__PURE__ */ o(() => ({ contents: new ArrayBuffer(0) }), "initArrayBuffer"), br = /* @__PURE__ */ o((e) => xr.encode(e), "useTextEncoder"), xr = new TextEncoder(), Ut = /* @__PURE__ */ o((e) => new Uint8Array(e), "useUint8Array"), Ft = /* @__PURE__ */ o((e) => new Uint8Array(e.buffer, e.byteOffset, e.byteLength), "useUint8ArrayWithOffset"), wr = /* @__PURE__ */ o((e, t) => e.slice(0, t), "truncateArrayBufferChunk"), Er = /* @__PURE__ */ o((e, { contents: t, length: n }, r) => {
1216
- let i = Dt() ? Ar(t, r) : Tr(t, r);
1219
+ var xr = /* @__PURE__ */ o(() => ({ contents: new ArrayBuffer(0) }), "initArrayBuffer"), wr = /* @__PURE__ */ o((e) => Er.encode(e), "useTextEncoder"), Er = new TextEncoder(), Ft = /* @__PURE__ */ o((e) => new Uint8Array(e), "useUint8Array"), _t = /* @__PURE__ */ o((e) => new Uint8Array(e.buffer, e.byteOffset, e.byteLength), "useUint8ArrayWithOffset"), Tr = /* @__PURE__ */ o((e, t) => e.slice(0, t), "truncateArrayBufferChunk"), Ir = /* @__PURE__ */ o((e, { contents: t, length: n }, r) => {
1220
+ let i = zt() ? Ar(t, r) : Pr(t, r);
1217
1221
  return new Uint8Array(i).set(e, n), i;
1218
- }, "addArrayBufferChunk"), Tr = /* @__PURE__ */ o((e, t) => {
1222
+ }, "addArrayBufferChunk"), Pr = /* @__PURE__ */ o((e, t) => {
1219
1223
  if (t <= e.byteLength)
1220
1224
  return e;
1221
- let n = new ArrayBuffer(_t(t));
1225
+ let n = new ArrayBuffer(qt(t));
1222
1226
  return new Uint8Array(n).set(new Uint8Array(e), 0), n;
1223
1227
  }, "resizeArrayBufferSlow"), Ar = /* @__PURE__ */ o((e, t) => {
1224
1228
  if (t <= e.maxByteLength)
1225
1229
  return e.resize(t), e;
1226
- let n = new ArrayBuffer(t, { maxByteLength: _t(t) });
1230
+ let n = new ArrayBuffer(t, { maxByteLength: qt(t) });
1227
1231
  return new Uint8Array(n).set(new Uint8Array(e), 0), n;
1228
- }, "resizeArrayBuffer"), _t = /* @__PURE__ */ o((e) => Mt ** Math.ceil(Math.log(e) / Math.log(Mt)), "getNewContentsLength"), Mt = 2, Cr = /* @__PURE__ */ o(({ contents: e, length: t }) => Dt() ? e : e.slice(0, t), "finalizeArrayBuffer"), Dt = /* @__PURE__ */ o(() => "resize" in ArrayBuffer.prototype, "hasArrayBufferResize"), Ir = {
1229
- init: Sr,
1232
+ }, "resizeArrayBuffer"), qt = /* @__PURE__ */ o((e) => Dt ** Math.ceil(Math.log(e) / Math.log(Dt)), "getNewContentsLength"), Dt = 2, Cr = /* @__PURE__ */ o(({ contents: e, length: t }) => zt() ? e : e.slice(0, t), "finalizeArrayBuffer"), zt = /* @__PURE__ */ o(() => "resize" in ArrayBuffer.prototype, "hasArrayBufferResize"), vr = {
1233
+ init: xr,
1230
1234
  convertChunk: {
1231
- string: br,
1232
- buffer: Ut,
1233
- arrayBuffer: Ut,
1234
- dataView: Ft,
1235
- typedArray: Ft,
1236
- others: M
1235
+ string: wr,
1236
+ buffer: Ft,
1237
+ arrayBuffer: Ft,
1238
+ dataView: _t,
1239
+ typedArray: _t,
1240
+ others: F
1237
1241
  },
1238
1242
  getSize: _,
1239
- truncateChunk: wr,
1240
- addChunk: Er,
1243
+ truncateChunk: Tr,
1244
+ addChunk: Ir,
1241
1245
  getFinalChunk: me,
1242
1246
  finalize: Cr
1243
1247
  };
@@ -1247,60 +1251,60 @@ async function D(e, t) {
1247
1251
  if (!("Buffer" in globalThis))
1248
1252
  throw new Error("getStreamAsBuffer() is only supported in Node.js");
1249
1253
  try {
1250
- return zt(await ye(e, t));
1254
+ return Wt(await ye(e, t));
1251
1255
  } catch (n) {
1252
- throw n.bufferedData !== void 0 && (n.bufferedData = zt(n.bufferedData)), n;
1256
+ throw n.bufferedData !== void 0 && (n.bufferedData = Wt(n.bufferedData)), n;
1253
1257
  }
1254
1258
  }
1255
1259
  o(D, "getStreamAsBuffer");
1256
- var zt = /* @__PURE__ */ o((e) => globalThis.Buffer.from(e), "arrayBufferToNodeBuffer");
1260
+ var Wt = /* @__PURE__ */ o((e) => globalThis.Buffer.from(e), "arrayBufferToNodeBuffer");
1257
1261
 
1258
1262
  // node_modules/get-stream/source/string.js
1259
1263
  async function ge(e, t) {
1260
- return I(e, Rr, t);
1264
+ return A(e, jr, t);
1261
1265
  }
1262
1266
  o(ge, "getStreamAsString");
1263
- var Pr = /* @__PURE__ */ o(() => ({ contents: "", textDecoder: new TextDecoder() }), "initString"), z = /* @__PURE__ */ o((e, { textDecoder: t }) => t.decode(e, { stream: !0 }), "useTextDecoder"), vr = /* @__PURE__ */ o((e, { contents: t }) => t + e, "addStringChunk"), Or = /* @__PURE__ */ o((e, t) => e.slice(0, t), "truncateStringChunk"), Gr = /* @__PURE__ */ o(({ textDecoder: e }) => {
1267
+ var Or = /* @__PURE__ */ o(() => ({ contents: "", textDecoder: new TextDecoder() }), "initString"), q = /* @__PURE__ */ o((e, { textDecoder: t }) => t.decode(e, { stream: !0 }), "useTextDecoder"), Rr = /* @__PURE__ */ o((e, { contents: t }) => t + e, "addStringChunk"), Gr = /* @__PURE__ */ o((e, t) => e.slice(0, t), "truncateStringChunk"), kr = /* @__PURE__ */ o(({ textDecoder: e }) => {
1264
1268
  let t = e.decode();
1265
1269
  return t === "" ? void 0 : t;
1266
- }, "getFinalStringChunk"), Rr = {
1267
- init: Pr,
1270
+ }, "getFinalStringChunk"), jr = {
1271
+ init: Or,
1268
1272
  convertChunk: {
1269
1273
  string: pe,
1270
- buffer: z,
1271
- arrayBuffer: z,
1272
- dataView: z,
1273
- typedArray: z,
1274
- others: M
1274
+ buffer: q,
1275
+ arrayBuffer: q,
1276
+ dataView: q,
1277
+ typedArray: q,
1278
+ others: F
1275
1279
  },
1276
1280
  getSize: _,
1277
- truncateChunk: Or,
1278
- addChunk: vr,
1279
- getFinalChunk: Gr,
1281
+ truncateChunk: Gr,
1282
+ addChunk: Rr,
1283
+ getFinalChunk: kr,
1280
1284
  finalize: he
1281
1285
  };
1282
1286
 
1283
1287
  // node_modules/execa/lib/stream.js
1284
- var Ht = Ge(Wt(), 1);
1285
- var Kt = /* @__PURE__ */ o((e) => {
1288
+ var Vt = Re(Kt(), 1);
1289
+ var Xt = /* @__PURE__ */ o((e) => {
1286
1290
  if (e !== void 0)
1287
1291
  throw new TypeError("The `input` and `inputFile` options cannot be both set.");
1288
- }, "validateInputOptions"), Br = /* @__PURE__ */ o(({ input: e, inputFile: t }) => typeof t != "string" ? e : (Kt(e), kr(t)), "getInputSync"), Xt = /* @__PURE__ */ o((e) => {
1289
- let t = Br(e);
1290
- if (U(t))
1292
+ }, "validateInputOptions"), Mr = /* @__PURE__ */ o(({ input: e, inputFile: t }) => typeof t != "string" ? e : (Xt(e), Nr(t)), "getInputSync"), Yt = /* @__PURE__ */ o((e) => {
1293
+ let t = Mr(e);
1294
+ if (M(t))
1291
1295
  throw new TypeError("The `input` option cannot be a stream in sync mode");
1292
1296
  return t;
1293
- }, "handleInputSync"), Lr = /* @__PURE__ */ o(({ input: e, inputFile: t }) => typeof t != "string" ? e : (Kt(e), Nr(t)), "getInput"), Vt = /* @__PURE__ */ o((e, t) => {
1294
- let n = Lr(t);
1295
- n !== void 0 && (U(n) ? n.pipe(e.stdin) : e.stdin.end(n));
1296
- }, "handleInput"), Yt = /* @__PURE__ */ o((e, { all: t }) => {
1297
+ }, "handleInputSync"), Ur = /* @__PURE__ */ o(({ input: e, inputFile: t }) => typeof t != "string" ? e : (Xt(e), Lr(t)), "getInput"), Zt = /* @__PURE__ */ o((e, t) => {
1298
+ let n = Ur(t);
1299
+ n !== void 0 && (M(n) ? n.pipe(e.stdin) : e.stdin.end(n));
1300
+ }, "handleInput"), Qt = /* @__PURE__ */ o((e, { all: t }) => {
1297
1301
  if (!t || !e.stdout && !e.stderr)
1298
1302
  return;
1299
- let n = (0, Ht.default)();
1303
+ let n = (0, Vt.default)();
1300
1304
  return e.stdout && n.add(e.stdout), e.stderr && n.add(e.stderr), n;
1301
1305
  }, "makeAllStream"), Se = /* @__PURE__ */ o(async (e, t) => {
1302
1306
  if (!(!e || t === void 0)) {
1303
- await jr(0), e.destroy();
1307
+ await Br(0), e.destroy();
1304
1308
  try {
1305
1309
  return await t;
1306
1310
  } catch (n) {
@@ -1309,8 +1313,8 @@ var Kt = /* @__PURE__ */ o((e) => {
1309
1313
  }
1310
1314
  }, "getBufferedData"), be = /* @__PURE__ */ o((e, { encoding: t, buffer: n, maxBuffer: r }) => {
1311
1315
  if (!(!e || !n))
1312
- return t === "utf8" || t === "utf-8" ? ge(e, { maxBuffer: r }) : t === null || t === "buffer" ? D(e, { maxBuffer: r }) : Ur(e, r, t);
1313
- }, "getStreamPromise"), Ur = /* @__PURE__ */ o(async (e, t, n) => (await D(e, { maxBuffer: t })).toString(n), "applyEncoding"), Zt = /* @__PURE__ */ o(async ({ stdout: e, stderr: t, all: n }, { encoding: r, buffer: i, maxBuffer: s }, a) => {
1316
+ return t === "utf8" || t === "utf-8" ? ge(e, { maxBuffer: r }) : t === null || t === "buffer" ? D(e, { maxBuffer: r }) : Fr(e, r, t);
1317
+ }, "getStreamPromise"), Fr = /* @__PURE__ */ o(async (e, t, n) => (await D(e, { maxBuffer: t })).toString(n), "applyEncoding"), Jt = /* @__PURE__ */ o(async ({ stdout: e, stderr: t, all: n }, { encoding: r, buffer: i, maxBuffer: s }, a) => {
1314
1318
  let c = be(e, { encoding: r, buffer: i, maxBuffer: s }), u = be(t, { encoding: r, buffer: i, maxBuffer: s }), f = be(n, { encoding: r, buffer: i, maxBuffer: s * 2 });
1315
1319
  try {
1316
1320
  return await Promise.all([a, c, u, f]);
@@ -1325,16 +1329,16 @@ var Kt = /* @__PURE__ */ o((e) => {
1325
1329
  }, "getSpawnedResult");
1326
1330
 
1327
1331
  // node_modules/execa/lib/promise.js
1328
- var Fr = (async () => {
1329
- })().constructor.prototype, Mr = ["then", "catch", "finally"].map((e) => [
1332
+ var _r = (async () => {
1333
+ })().constructor.prototype, Dr = ["then", "catch", "finally"].map((e) => [
1330
1334
  e,
1331
- Reflect.getOwnPropertyDescriptor(Fr, e)
1335
+ Reflect.getOwnPropertyDescriptor(_r, e)
1332
1336
  ]), xe = /* @__PURE__ */ o((e, t) => {
1333
- for (let [n, r] of Mr) {
1337
+ for (let [n, r] of Dr) {
1334
1338
  let i = typeof t == "function" ? (...s) => Reflect.apply(r.value, t(), s) : r.value.bind(t);
1335
1339
  Reflect.defineProperty(e, n, { ...r, value: i });
1336
1340
  }
1337
- }, "mergePromise"), Qt = /* @__PURE__ */ o((e) => new Promise((t, n) => {
1341
+ }, "mergePromise"), en = /* @__PURE__ */ o((e) => new Promise((t, n) => {
1338
1342
  e.on("exit", (r, i) => {
1339
1343
  t({ exitCode: r, signal: i });
1340
1344
  }), e.on("error", (r) => {
@@ -1345,38 +1349,38 @@ var Fr = (async () => {
1345
1349
  }), "getSpawnedPromise");
1346
1350
 
1347
1351
  // node_modules/execa/lib/command.js
1348
- import { Buffer as _r } from "node:buffer";
1349
- import { ChildProcess as Dr } from "node:child_process";
1350
- var tn = /* @__PURE__ */ o((e, t = []) => Array.isArray(t) ? [e, ...t] : [e], "normalizeArgs"), zr = /^[\w.-]+$/, qr = /* @__PURE__ */ o((e) => typeof e != "string" || zr.test(e) ? e : `"${e.replaceAll('"', '\\"')}"`, "escapeArg"), we = /* @__PURE__ */ o((e, t) => tn(e, t).join(" "), "joinCommand"), Ee = /* @__PURE__ */ o((e, t) => tn(e, t).map((n) => qr(n)).join(" "), "getEscapedCommand"), Wr = / +/g;
1351
- var Jt = /* @__PURE__ */ o((e) => {
1352
+ import { Buffer as qr } from "node:buffer";
1353
+ import { ChildProcess as zr } from "node:child_process";
1354
+ var rn = /* @__PURE__ */ o((e, t = []) => Array.isArray(t) ? [e, ...t] : [e], "normalizeArgs"), Wr = /^[\w.-]+$/, Hr = /* @__PURE__ */ o((e) => typeof e != "string" || Wr.test(e) ? e : `"${e.replaceAll('"', '\\"')}"`, "escapeArg"), we = /* @__PURE__ */ o((e, t) => rn(e, t).join(" "), "joinCommand"), Ee = /* @__PURE__ */ o((e, t) => rn(e, t).map((n) => Hr(n)).join(" "), "getEscapedCommand"), Kr = / +/g;
1355
+ var tn = /* @__PURE__ */ o((e) => {
1352
1356
  let t = typeof e;
1353
1357
  if (t === "string")
1354
1358
  return e;
1355
1359
  if (t === "number")
1356
1360
  return String(e);
1357
- if (t === "object" && e !== null && !(e instanceof Dr) && "stdout" in e) {
1361
+ if (t === "object" && e !== null && !(e instanceof zr) && "stdout" in e) {
1358
1362
  let n = typeof e.stdout;
1359
1363
  if (n === "string")
1360
1364
  return e.stdout;
1361
- if (_r.isBuffer(e.stdout))
1365
+ if (qr.isBuffer(e.stdout))
1362
1366
  return e.stdout.toString();
1363
1367
  throw new TypeError(`Unexpected "${n}" stdout in template expression`);
1364
1368
  }
1365
1369
  throw new TypeError(`Unexpected "${t}" in template expression`);
1366
- }, "parseExpression"), en = /* @__PURE__ */ o((e, t, n) => n || e.length === 0 || t.length === 0 ? [...e, ...t] : [
1370
+ }, "parseExpression"), nn = /* @__PURE__ */ o((e, t, n) => n || e.length === 0 || t.length === 0 ? [...e, ...t] : [
1367
1371
  ...e.slice(0, -1),
1368
1372
  `${e.at(-1)}${t[0]}`,
1369
1373
  ...t.slice(1)
1370
- ], "concatTokens"), Hr = /* @__PURE__ */ o(({ templates: e, expressions: t, tokens: n, index: r, template: i }) => {
1371
- let s = i ?? e.raw[r], a = s.split(Wr).filter(Boolean), c = en(
1374
+ ], "concatTokens"), Vr = /* @__PURE__ */ o(({ templates: e, expressions: t, tokens: n, index: r, template: i }) => {
1375
+ let s = i ?? e.raw[r], a = s.split(Kr).filter(Boolean), c = nn(
1372
1376
  n,
1373
1377
  a,
1374
1378
  s.startsWith(" ")
1375
1379
  );
1376
1380
  if (r === t.length)
1377
1381
  return c;
1378
- let u = t[r], f = Array.isArray(u) ? u.map((l) => Jt(l)) : [Jt(u)];
1379
- return en(
1382
+ let u = t[r], f = Array.isArray(u) ? u.map((l) => tn(l)) : [tn(u)];
1383
+ return nn(
1380
1384
  c,
1381
1385
  f,
1382
1386
  s.endsWith(" ")
@@ -1384,29 +1388,29 @@ var Jt = /* @__PURE__ */ o((e) => {
1384
1388
  }, "parseTemplate"), Te = /* @__PURE__ */ o((e, t) => {
1385
1389
  let n = [];
1386
1390
  for (let [r, i] of e.entries())
1387
- n = Hr({ templates: e, expressions: t, tokens: n, index: r, template: i });
1391
+ n = Vr({ templates: e, expressions: t, tokens: n, index: r, template: i });
1388
1392
  return n;
1389
1393
  }, "parseTemplates");
1390
1394
 
1391
1395
  // node_modules/execa/lib/verbose.js
1392
- import { debuglog as Kr } from "node:util";
1393
- import Xr from "node:process";
1394
- var nn = Kr("execa").enabled, q = /* @__PURE__ */ o((e, t) => String(e).padStart(t, "0"), "padField"), Vr = /* @__PURE__ */ o(() => {
1396
+ import { debuglog as Xr } from "node:util";
1397
+ import Yr from "node:process";
1398
+ var on = Xr("execa").enabled, z = /* @__PURE__ */ o((e, t) => String(e).padStart(t, "0"), "padField"), Zr = /* @__PURE__ */ o(() => {
1395
1399
  let e = /* @__PURE__ */ new Date();
1396
- return `${q(e.getHours(), 2)}:${q(e.getMinutes(), 2)}:${q(e.getSeconds(), 2)}.${q(e.getMilliseconds(), 3)}`;
1397
- }, "getTimestamp"), Ae = /* @__PURE__ */ o((e, { verbose: t }) => {
1398
- t && Xr.stderr.write(`[${Vr()}] ${e}
1400
+ return `${z(e.getHours(), 2)}:${z(e.getMinutes(), 2)}:${z(e.getSeconds(), 2)}.${z(e.getMilliseconds(), 3)}`;
1401
+ }, "getTimestamp"), Ie = /* @__PURE__ */ o((e, { verbose: t }) => {
1402
+ t && Yr.stderr.write(`[${Zr()}] ${e}
1399
1403
  `);
1400
1404
  }, "logCommand");
1401
1405
 
1402
1406
  // node_modules/execa/index.js
1403
- var Qr = 1e3 * 1e3 * 100, Jr = /* @__PURE__ */ o(({ env: e, extendEnv: t, preferLocal: n, localDir: r, execPath: i }) => {
1407
+ var eo = 1e3 * 1e3 * 100, to = /* @__PURE__ */ o(({ env: e, extendEnv: t, preferLocal: n, localDir: r, execPath: i }) => {
1404
1408
  let s = t ? { ...T.env, ...e } : e;
1405
- return n ? xt({ env: s, cwd: r, execPath: i }) : s;
1406
- }, "getEnv"), sn = /* @__PURE__ */ o((e, t, n = {}) => {
1407
- let r = on.default._parse(e, t, n);
1409
+ return n ? Et({ env: s, cwd: r, execPath: i }) : s;
1410
+ }, "getEnv"), cn = /* @__PURE__ */ o((e, t, n = {}) => {
1411
+ let r = an.default._parse(e, t, n);
1408
1412
  return e = r.command, t = r.args, n = r.options, n = {
1409
- maxBuffer: Qr,
1413
+ maxBuffer: eo,
1410
1414
  buffer: !0,
1411
1415
  stripFinalNewline: !0,
1412
1416
  extendEnv: !0,
@@ -1418,18 +1422,18 @@ var Qr = 1e3 * 1e3 * 100, Jr = /* @__PURE__ */ o(({ env: e, extendEnv: t, prefer
1418
1422
  cleanup: !0,
1419
1423
  all: !1,
1420
1424
  windowsHide: !0,
1421
- verbose: nn,
1425
+ verbose: on,
1422
1426
  ...n
1423
- }, n.env = Jr(n), n.stdio = oe(n), T.platform === "win32" && Zr.basename(e, ".exe") === "cmd" && t.unshift("/q"), { file: e, args: t, options: n, parsed: r };
1424
- }, "handleArguments"), P = /* @__PURE__ */ o((e, t, n) => typeof t != "string" && !Yr.isBuffer(t) ? n === void 0 ? void 0 : "" : e.stripFinalNewline ? ee(t) : t, "handleOutput");
1425
- function an(e, t, n) {
1426
- let r = sn(e, t, n), i = we(e, t), s = Ee(e, t);
1427
- Ae(s, r.options), $t(r.options);
1427
+ }, n.env = to(n), n.stdio = oe(n), T.platform === "win32" && Jr.basename(e, ".exe") === "cmd" && t.unshift("/q"), { file: e, args: t, options: n, parsed: r };
1428
+ }, "handleArguments"), C = /* @__PURE__ */ o((e, t, n) => typeof t != "string" && !Qr.isBuffer(t) ? n === void 0 ? void 0 : "" : e.stripFinalNewline ? ee(t) : t, "handleOutput");
1429
+ function un(e, t, n) {
1430
+ let r = cn(e, t, n), i = we(e, t), s = Ee(e, t);
1431
+ Ie(s, r.options), $t(r.options);
1428
1432
  let a;
1429
1433
  try {
1430
- a = Ce.spawn(r.file, r.args, r.options);
1434
+ a = Pe.spawn(r.file, r.args, r.options);
1431
1435
  } catch (y) {
1432
- let m = new Ce.ChildProcess(), g = Promise.reject(C({
1436
+ let m = new Pe.ChildProcess(), g = Promise.reject(P({
1433
1437
  error: y,
1434
1438
  stdout: "",
1435
1439
  stderr: "",
@@ -1443,17 +1447,17 @@ function an(e, t, n) {
1443
1447
  }));
1444
1448
  return xe(m, g), m;
1445
1449
  }
1446
- let c = Qt(a), u = Rt(a, r.options, c), f = Nt(a, r.options, u), l = { isCanceled: !1 };
1447
- a.kill = Ot.bind(null, a.kill.bind(a)), a.cancel = Gt.bind(null, a, l);
1448
- let d = Et(/* @__PURE__ */ o(async () => {
1449
- let [{ error: y, exitCode: m, signal: g, timedOut: x }, v, O, G] = await Zt(a, r.options, f), Ie = P(r.options, v), Pe = P(r.options, O), ve = P(r.options, G);
1450
+ let c = en(a), u = jt(a, r.options, c), f = Lt(a, r.options, u), l = { isCanceled: !1 };
1451
+ a.kill = Gt.bind(null, a.kill.bind(a)), a.cancel = kt.bind(null, a, l);
1452
+ let d = It(/* @__PURE__ */ o(async () => {
1453
+ let [{ error: y, exitCode: m, signal: g, timedOut: x }, v, O, R] = await Jt(a, r.options, f), Ae = C(r.options, v), Ce = C(r.options, O), ve = C(r.options, R);
1450
1454
  if (y || m !== 0 || g !== null) {
1451
- let Oe = C({
1455
+ let Oe = P({
1452
1456
  error: y,
1453
1457
  exitCode: m,
1454
1458
  signal: g,
1455
- stdout: Ie,
1456
- stderr: Pe,
1459
+ stdout: Ae,
1460
+ stderr: Ce,
1457
1461
  all: ve,
1458
1462
  command: i,
1459
1463
  escapedCommand: s,
@@ -1470,8 +1474,8 @@ function an(e, t, n) {
1470
1474
  command: i,
1471
1475
  escapedCommand: s,
1472
1476
  exitCode: 0,
1473
- stdout: Ie,
1474
- stderr: Pe,
1477
+ stdout: Ae,
1478
+ stderr: Ce,
1475
1479
  all: ve,
1476
1480
  failed: !1,
1477
1481
  timedOut: !1,
@@ -1479,17 +1483,17 @@ function an(e, t, n) {
1479
1483
  killed: !1
1480
1484
  };
1481
1485
  }, "handlePromise"));
1482
- return Vt(a, r.options), a.all = Yt(a, r.options), kt(a), xe(a, d), a;
1486
+ return Zt(a, r.options), a.all = Qt(a, r.options), Nt(a), xe(a, d), a;
1483
1487
  }
1484
- o(an, "execa");
1485
- function eo(e, t, n) {
1486
- let r = sn(e, t, n), i = we(e, t), s = Ee(e, t);
1487
- Ae(s, r.options);
1488
- let a = Xt(r.options), c;
1488
+ o(un, "execa");
1489
+ function no(e, t, n) {
1490
+ let r = cn(e, t, n), i = we(e, t), s = Ee(e, t);
1491
+ Ie(s, r.options);
1492
+ let a = Yt(r.options), c;
1489
1493
  try {
1490
- c = Ce.spawnSync(r.file, r.args, { ...r.options, input: a });
1494
+ c = Pe.spawnSync(r.file, r.args, { ...r.options, input: a });
1491
1495
  } catch (l) {
1492
- throw C({
1496
+ throw P({
1493
1497
  error: l,
1494
1498
  stdout: "",
1495
1499
  stderr: "",
@@ -1502,9 +1506,9 @@ function eo(e, t, n) {
1502
1506
  killed: !1
1503
1507
  });
1504
1508
  }
1505
- let u = P(r.options, c.stdout, c.error), f = P(r.options, c.stderr, c.error);
1509
+ let u = C(r.options, c.stdout, c.error), f = C(r.options, c.stderr, c.error);
1506
1510
  if (c.error || c.status !== 0 || c.signal !== null) {
1507
- let l = C({
1511
+ let l = P({
1508
1512
  stdout: u,
1509
1513
  stderr: f,
1510
1514
  error: c.error,
@@ -1533,35 +1537,35 @@ function eo(e, t, n) {
1533
1537
  killed: !1
1534
1538
  };
1535
1539
  }
1536
- o(eo, "execaSync");
1537
- var to = /* @__PURE__ */ o(({ input: e, inputFile: t, stdio: n }) => e === void 0 && t === void 0 && n === void 0 ? { stdin: "inherit" } : {}, "normalizeScriptStdin"), rn = /* @__PURE__ */ o((e = {}) => ({
1540
+ o(no, "execaSync");
1541
+ var ro = /* @__PURE__ */ o(({ input: e, inputFile: t, stdio: n }) => e === void 0 && t === void 0 && n === void 0 ? { stdin: "inherit" } : {}, "normalizeScriptStdin"), sn = /* @__PURE__ */ o((e = {}) => ({
1538
1542
  preferLocal: !0,
1539
- ...to(e),
1543
+ ...ro(e),
1540
1544
  ...e
1541
1545
  }), "normalizeScriptOptions");
1542
- function cn(e) {
1546
+ function fn(e) {
1543
1547
  function t(n, ...r) {
1544
1548
  if (!Array.isArray(n))
1545
- return cn({ ...e, ...n });
1549
+ return fn({ ...e, ...n });
1546
1550
  let [i, ...s] = Te(n, r);
1547
- return an(i, s, rn(e));
1551
+ return un(i, s, sn(e));
1548
1552
  }
1549
1553
  return o(t, "$"), t.sync = (n, ...r) => {
1550
1554
  if (!Array.isArray(n))
1551
1555
  throw new TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");
1552
1556
  let [i, ...s] = Te(n, r);
1553
- return eo(i, s, rn(e));
1557
+ return no(i, s, sn(e));
1554
1558
  }, t;
1555
1559
  }
1556
- o(cn, "create$");
1557
- var $s = cn();
1558
- function Ns(e, t, n = {}) {
1560
+ o(fn, "create$");
1561
+ var Bs = fn();
1562
+ function Ms(e, t, n = {}) {
1559
1563
  t && !Array.isArray(t) && typeof t == "object" && (n = t, t = []);
1560
- let r = Pt(n), i = T.execArgv.filter((c) => !c.startsWith("--inspect")), {
1564
+ let r = Ot(n), i = T.execArgv.filter((c) => !c.startsWith("--inspect")), {
1561
1565
  nodePath: s = T.execPath,
1562
1566
  nodeOptions: a = i
1563
1567
  } = n;
1564
- return an(
1568
+ return un(
1565
1569
  s,
1566
1570
  [
1567
1571
  ...a,
@@ -1578,9 +1582,17 @@ function Ns(e, t, n = {}) {
1578
1582
  }
1579
1583
  );
1580
1584
  }
1581
- o(Ns, "execaNode");
1585
+ o(Ms, "execaNode");
1586
+
1587
+ // ../../core/src/shared/utils/module.ts
1588
+ import { fileURLToPath as oo, pathToFileURL as io } from "node:url";
1589
+ var so = /* @__PURE__ */ o((...e) => typeof import.meta.resolve != "function" && process.env.VITEST === "true" ? (console.warn(
1590
+ "importMetaResolve from within Storybook is being used in a Vitest test, but it shouldn't be. Please report this at https://github.com/storybookjs/storybook/issues/new?template=bug_report.yml"
1591
+ ), io(e[0]).href) : import.meta.resolve(...e), "importMetaResolve"), qs = /* @__PURE__ */ o((e, t) => ke(oo(so(Ge(e, "package.json"), t))), "resolvePackageDir");
1582
1592
 
1583
1593
  export {
1584
- an as a,
1585
- Ns as b
1594
+ un as a,
1595
+ Ms as b,
1596
+ so as c,
1597
+ qs as d
1586
1598
  };