@yamada-ui/cli 1.0.6 → 1.1.0-dev-20240806133333

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/utils/cli.js CHANGED
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.2.3_@swc+core@1.7.2_tsx@4.16.2_typescript@5.5.4/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.2.3_@swc+core@1.7.3_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.40_tsx@4.16.2_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
37
37
  var getImportMetaUrl, importMetaUrl;
38
38
  var init_cjs_shims = __esm({
39
- "../../node_modules/.pnpm/tsup@8.2.3_@swc+core@1.7.2_tsx@4.16.2_typescript@5.5.4/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@8.2.3_@swc+core@1.7.3_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.40_tsx@4.16.2_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js"() {
40
40
  "use strict";
41
41
  getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
42
42
  importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
@@ -71,54 +71,54 @@ var require_polyfills = __commonJS({
71
71
  }
72
72
  var chdir;
73
73
  module2.exports = patch;
74
- function patch(fs4) {
74
+ function patch(fs5) {
75
75
  if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
76
- patchLchmod(fs4);
77
- }
78
- if (!fs4.lutimes) {
79
- patchLutimes(fs4);
80
- }
81
- fs4.chown = chownFix(fs4.chown);
82
- fs4.fchown = chownFix(fs4.fchown);
83
- fs4.lchown = chownFix(fs4.lchown);
84
- fs4.chmod = chmodFix(fs4.chmod);
85
- fs4.fchmod = chmodFix(fs4.fchmod);
86
- fs4.lchmod = chmodFix(fs4.lchmod);
87
- fs4.chownSync = chownFixSync(fs4.chownSync);
88
- fs4.fchownSync = chownFixSync(fs4.fchownSync);
89
- fs4.lchownSync = chownFixSync(fs4.lchownSync);
90
- fs4.chmodSync = chmodFixSync(fs4.chmodSync);
91
- fs4.fchmodSync = chmodFixSync(fs4.fchmodSync);
92
- fs4.lchmodSync = chmodFixSync(fs4.lchmodSync);
93
- fs4.stat = statFix(fs4.stat);
94
- fs4.fstat = statFix(fs4.fstat);
95
- fs4.lstat = statFix(fs4.lstat);
96
- fs4.statSync = statFixSync(fs4.statSync);
97
- fs4.fstatSync = statFixSync(fs4.fstatSync);
98
- fs4.lstatSync = statFixSync(fs4.lstatSync);
99
- if (fs4.chmod && !fs4.lchmod) {
100
- fs4.lchmod = function(path7, mode, cb) {
76
+ patchLchmod(fs5);
77
+ }
78
+ if (!fs5.lutimes) {
79
+ patchLutimes(fs5);
80
+ }
81
+ fs5.chown = chownFix(fs5.chown);
82
+ fs5.fchown = chownFix(fs5.fchown);
83
+ fs5.lchown = chownFix(fs5.lchown);
84
+ fs5.chmod = chmodFix(fs5.chmod);
85
+ fs5.fchmod = chmodFix(fs5.fchmod);
86
+ fs5.lchmod = chmodFix(fs5.lchmod);
87
+ fs5.chownSync = chownFixSync(fs5.chownSync);
88
+ fs5.fchownSync = chownFixSync(fs5.fchownSync);
89
+ fs5.lchownSync = chownFixSync(fs5.lchownSync);
90
+ fs5.chmodSync = chmodFixSync(fs5.chmodSync);
91
+ fs5.fchmodSync = chmodFixSync(fs5.fchmodSync);
92
+ fs5.lchmodSync = chmodFixSync(fs5.lchmodSync);
93
+ fs5.stat = statFix(fs5.stat);
94
+ fs5.fstat = statFix(fs5.fstat);
95
+ fs5.lstat = statFix(fs5.lstat);
96
+ fs5.statSync = statFixSync(fs5.statSync);
97
+ fs5.fstatSync = statFixSync(fs5.fstatSync);
98
+ fs5.lstatSync = statFixSync(fs5.lstatSync);
99
+ if (fs5.chmod && !fs5.lchmod) {
100
+ fs5.lchmod = function(path9, mode, cb) {
101
101
  if (cb) process.nextTick(cb);
102
102
  };
103
- fs4.lchmodSync = function() {
103
+ fs5.lchmodSync = function() {
104
104
  };
105
105
  }
106
- if (fs4.chown && !fs4.lchown) {
107
- fs4.lchown = function(path7, uid, gid, cb) {
106
+ if (fs5.chown && !fs5.lchown) {
107
+ fs5.lchown = function(path9, uid, gid, cb) {
108
108
  if (cb) process.nextTick(cb);
109
109
  };
110
- fs4.lchownSync = function() {
110
+ fs5.lchownSync = function() {
111
111
  };
112
112
  }
113
113
  if (platform === "win32") {
114
- fs4.rename = typeof fs4.rename !== "function" ? fs4.rename : function(fs$rename) {
114
+ fs5.rename = typeof fs5.rename !== "function" ? fs5.rename : function(fs$rename) {
115
115
  function rename(from, to, cb) {
116
116
  var start = Date.now();
117
117
  var backoff = 0;
118
118
  fs$rename(from, to, function CB(er) {
119
119
  if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
120
120
  setTimeout(function() {
121
- fs4.stat(to, function(stater, st) {
121
+ fs5.stat(to, function(stater, st) {
122
122
  if (stater && stater.code === "ENOENT")
123
123
  fs$rename(from, to, CB);
124
124
  else
@@ -134,9 +134,9 @@ var require_polyfills = __commonJS({
134
134
  }
135
135
  if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename);
136
136
  return rename;
137
- }(fs4.rename);
137
+ }(fs5.rename);
138
138
  }
139
- fs4.read = typeof fs4.read !== "function" ? fs4.read : function(fs$read) {
139
+ fs5.read = typeof fs5.read !== "function" ? fs5.read : function(fs$read) {
140
140
  function read(fd, buffer, offset, length, position, callback_) {
141
141
  var callback;
142
142
  if (callback_ && typeof callback_ === "function") {
@@ -144,22 +144,22 @@ var require_polyfills = __commonJS({
144
144
  callback = function(er, _, __) {
145
145
  if (er && er.code === "EAGAIN" && eagCounter < 10) {
146
146
  eagCounter++;
147
- return fs$read.call(fs4, fd, buffer, offset, length, position, callback);
147
+ return fs$read.call(fs5, fd, buffer, offset, length, position, callback);
148
148
  }
149
149
  callback_.apply(this, arguments);
150
150
  };
151
151
  }
152
- return fs$read.call(fs4, fd, buffer, offset, length, position, callback);
152
+ return fs$read.call(fs5, fd, buffer, offset, length, position, callback);
153
153
  }
154
154
  if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read);
155
155
  return read;
156
- }(fs4.read);
157
- fs4.readSync = typeof fs4.readSync !== "function" ? fs4.readSync : /* @__PURE__ */ function(fs$readSync) {
156
+ }(fs5.read);
157
+ fs5.readSync = typeof fs5.readSync !== "function" ? fs5.readSync : /* @__PURE__ */ function(fs$readSync) {
158
158
  return function(fd, buffer, offset, length, position) {
159
159
  var eagCounter = 0;
160
160
  while (true) {
161
161
  try {
162
- return fs$readSync.call(fs4, fd, buffer, offset, length, position);
162
+ return fs$readSync.call(fs5, fd, buffer, offset, length, position);
163
163
  } catch (er) {
164
164
  if (er.code === "EAGAIN" && eagCounter < 10) {
165
165
  eagCounter++;
@@ -169,11 +169,11 @@ var require_polyfills = __commonJS({
169
169
  }
170
170
  }
171
171
  };
172
- }(fs4.readSync);
173
- function patchLchmod(fs5) {
174
- fs5.lchmod = function(path7, mode, callback) {
175
- fs5.open(
176
- path7,
172
+ }(fs5.readSync);
173
+ function patchLchmod(fs6) {
174
+ fs6.lchmod = function(path9, mode, callback) {
175
+ fs6.open(
176
+ path9,
177
177
  constants.O_WRONLY | constants.O_SYMLINK,
178
178
  mode,
179
179
  function(err, fd) {
@@ -181,80 +181,80 @@ var require_polyfills = __commonJS({
181
181
  if (callback) callback(err);
182
182
  return;
183
183
  }
184
- fs5.fchmod(fd, mode, function(err2) {
185
- fs5.close(fd, function(err22) {
184
+ fs6.fchmod(fd, mode, function(err2) {
185
+ fs6.close(fd, function(err22) {
186
186
  if (callback) callback(err2 || err22);
187
187
  });
188
188
  });
189
189
  }
190
190
  );
191
191
  };
192
- fs5.lchmodSync = function(path7, mode) {
193
- var fd = fs5.openSync(path7, constants.O_WRONLY | constants.O_SYMLINK, mode);
192
+ fs6.lchmodSync = function(path9, mode) {
193
+ var fd = fs6.openSync(path9, constants.O_WRONLY | constants.O_SYMLINK, mode);
194
194
  var threw = true;
195
195
  var ret;
196
196
  try {
197
- ret = fs5.fchmodSync(fd, mode);
197
+ ret = fs6.fchmodSync(fd, mode);
198
198
  threw = false;
199
199
  } finally {
200
200
  if (threw) {
201
201
  try {
202
- fs5.closeSync(fd);
202
+ fs6.closeSync(fd);
203
203
  } catch (er) {
204
204
  }
205
205
  } else {
206
- fs5.closeSync(fd);
206
+ fs6.closeSync(fd);
207
207
  }
208
208
  }
209
209
  return ret;
210
210
  };
211
211
  }
212
- function patchLutimes(fs5) {
213
- if (constants.hasOwnProperty("O_SYMLINK") && fs5.futimes) {
214
- fs5.lutimes = function(path7, at, mt, cb) {
215
- fs5.open(path7, constants.O_SYMLINK, function(er, fd) {
212
+ function patchLutimes(fs6) {
213
+ if (constants.hasOwnProperty("O_SYMLINK") && fs6.futimes) {
214
+ fs6.lutimes = function(path9, at, mt, cb) {
215
+ fs6.open(path9, constants.O_SYMLINK, function(er, fd) {
216
216
  if (er) {
217
217
  if (cb) cb(er);
218
218
  return;
219
219
  }
220
- fs5.futimes(fd, at, mt, function(er2) {
221
- fs5.close(fd, function(er22) {
220
+ fs6.futimes(fd, at, mt, function(er2) {
221
+ fs6.close(fd, function(er22) {
222
222
  if (cb) cb(er2 || er22);
223
223
  });
224
224
  });
225
225
  });
226
226
  };
227
- fs5.lutimesSync = function(path7, at, mt) {
228
- var fd = fs5.openSync(path7, constants.O_SYMLINK);
227
+ fs6.lutimesSync = function(path9, at, mt) {
228
+ var fd = fs6.openSync(path9, constants.O_SYMLINK);
229
229
  var ret;
230
230
  var threw = true;
231
231
  try {
232
- ret = fs5.futimesSync(fd, at, mt);
232
+ ret = fs6.futimesSync(fd, at, mt);
233
233
  threw = false;
234
234
  } finally {
235
235
  if (threw) {
236
236
  try {
237
- fs5.closeSync(fd);
237
+ fs6.closeSync(fd);
238
238
  } catch (er) {
239
239
  }
240
240
  } else {
241
- fs5.closeSync(fd);
241
+ fs6.closeSync(fd);
242
242
  }
243
243
  }
244
244
  return ret;
245
245
  };
246
- } else if (fs5.futimes) {
247
- fs5.lutimes = function(_a, _b, _c, cb) {
246
+ } else if (fs6.futimes) {
247
+ fs6.lutimes = function(_a, _b, _c, cb) {
248
248
  if (cb) process.nextTick(cb);
249
249
  };
250
- fs5.lutimesSync = function() {
250
+ fs6.lutimesSync = function() {
251
251
  };
252
252
  }
253
253
  }
254
254
  function chmodFix(orig) {
255
255
  if (!orig) return orig;
256
256
  return function(target, mode, cb) {
257
- return orig.call(fs4, target, mode, function(er) {
257
+ return orig.call(fs5, target, mode, function(er) {
258
258
  if (chownErOk(er)) er = null;
259
259
  if (cb) cb.apply(this, arguments);
260
260
  });
@@ -264,7 +264,7 @@ var require_polyfills = __commonJS({
264
264
  if (!orig) return orig;
265
265
  return function(target, mode) {
266
266
  try {
267
- return orig.call(fs4, target, mode);
267
+ return orig.call(fs5, target, mode);
268
268
  } catch (er) {
269
269
  if (!chownErOk(er)) throw er;
270
270
  }
@@ -273,7 +273,7 @@ var require_polyfills = __commonJS({
273
273
  function chownFix(orig) {
274
274
  if (!orig) return orig;
275
275
  return function(target, uid, gid, cb) {
276
- return orig.call(fs4, target, uid, gid, function(er) {
276
+ return orig.call(fs5, target, uid, gid, function(er) {
277
277
  if (chownErOk(er)) er = null;
278
278
  if (cb) cb.apply(this, arguments);
279
279
  });
@@ -283,7 +283,7 @@ var require_polyfills = __commonJS({
283
283
  if (!orig) return orig;
284
284
  return function(target, uid, gid) {
285
285
  try {
286
- return orig.call(fs4, target, uid, gid);
286
+ return orig.call(fs5, target, uid, gid);
287
287
  } catch (er) {
288
288
  if (!chownErOk(er)) throw er;
289
289
  }
@@ -303,13 +303,13 @@ var require_polyfills = __commonJS({
303
303
  }
304
304
  if (cb) cb.apply(this, arguments);
305
305
  }
306
- return options ? orig.call(fs4, target, options, callback) : orig.call(fs4, target, callback);
306
+ return options ? orig.call(fs5, target, options, callback) : orig.call(fs5, target, callback);
307
307
  };
308
308
  }
309
309
  function statFixSync(orig) {
310
310
  if (!orig) return orig;
311
311
  return function(target, options) {
312
- var stats = options ? orig.call(fs4, target, options) : orig.call(fs4, target);
312
+ var stats = options ? orig.call(fs5, target, options) : orig.call(fs5, target);
313
313
  if (stats) {
314
314
  if (stats.uid < 0) stats.uid += 4294967296;
315
315
  if (stats.gid < 0) stats.gid += 4294967296;
@@ -340,16 +340,16 @@ var require_legacy_streams = __commonJS({
340
340
  init_cjs_shims();
341
341
  var Stream = require("stream").Stream;
342
342
  module2.exports = legacy;
343
- function legacy(fs4) {
343
+ function legacy(fs5) {
344
344
  return {
345
345
  ReadStream,
346
346
  WriteStream
347
347
  };
348
- function ReadStream(path7, options) {
349
- if (!(this instanceof ReadStream)) return new ReadStream(path7, options);
348
+ function ReadStream(path9, options) {
349
+ if (!(this instanceof ReadStream)) return new ReadStream(path9, options);
350
350
  Stream.call(this);
351
351
  var self = this;
352
- this.path = path7;
352
+ this.path = path9;
353
353
  this.fd = null;
354
354
  this.readable = true;
355
355
  this.paused = false;
@@ -383,7 +383,7 @@ var require_legacy_streams = __commonJS({
383
383
  });
384
384
  return;
385
385
  }
386
- fs4.open(this.path, this.flags, this.mode, function(err, fd) {
386
+ fs5.open(this.path, this.flags, this.mode, function(err, fd) {
387
387
  if (err) {
388
388
  self.emit("error", err);
389
389
  self.readable = false;
@@ -394,10 +394,10 @@ var require_legacy_streams = __commonJS({
394
394
  self._read();
395
395
  });
396
396
  }
397
- function WriteStream(path7, options) {
398
- if (!(this instanceof WriteStream)) return new WriteStream(path7, options);
397
+ function WriteStream(path9, options) {
398
+ if (!(this instanceof WriteStream)) return new WriteStream(path9, options);
399
399
  Stream.call(this);
400
- this.path = path7;
400
+ this.path = path9;
401
401
  this.fd = null;
402
402
  this.writable = true;
403
403
  this.flags = "w";
@@ -422,7 +422,7 @@ var require_legacy_streams = __commonJS({
422
422
  this.busy = false;
423
423
  this._queue = [];
424
424
  if (this.fd === null) {
425
- this._open = fs4.open;
425
+ this._open = fs5.open;
426
426
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
427
427
  this.flush();
428
428
  }
@@ -460,7 +460,7 @@ var require_graceful_fs = __commonJS({
460
460
  "../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports2, module2) {
461
461
  "use strict";
462
462
  init_cjs_shims();
463
- var fs4 = require("fs");
463
+ var fs5 = require("fs");
464
464
  var polyfills = require_polyfills();
465
465
  var legacy = require_legacy_streams();
466
466
  var clone = require_clone();
@@ -492,12 +492,12 @@ var require_graceful_fs = __commonJS({
492
492
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
493
493
  console.error(m);
494
494
  };
495
- if (!fs4[gracefulQueue]) {
495
+ if (!fs5[gracefulQueue]) {
496
496
  queue = global[gracefulQueue] || [];
497
- publishQueue(fs4, queue);
498
- fs4.close = function(fs$close) {
497
+ publishQueue(fs5, queue);
498
+ fs5.close = function(fs$close) {
499
499
  function close(fd, cb) {
500
- return fs$close.call(fs4, fd, function(err) {
500
+ return fs$close.call(fs5, fd, function(err) {
501
501
  if (!err) {
502
502
  resetQueue();
503
503
  }
@@ -509,48 +509,48 @@ var require_graceful_fs = __commonJS({
509
509
  value: fs$close
510
510
  });
511
511
  return close;
512
- }(fs4.close);
513
- fs4.closeSync = function(fs$closeSync) {
512
+ }(fs5.close);
513
+ fs5.closeSync = function(fs$closeSync) {
514
514
  function closeSync(fd) {
515
- fs$closeSync.apply(fs4, arguments);
515
+ fs$closeSync.apply(fs5, arguments);
516
516
  resetQueue();
517
517
  }
518
518
  Object.defineProperty(closeSync, previousSymbol, {
519
519
  value: fs$closeSync
520
520
  });
521
521
  return closeSync;
522
- }(fs4.closeSync);
522
+ }(fs5.closeSync);
523
523
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
524
524
  process.on("exit", function() {
525
- debug(fs4[gracefulQueue]);
526
- require("assert").equal(fs4[gracefulQueue].length, 0);
525
+ debug(fs5[gracefulQueue]);
526
+ require("assert").equal(fs5[gracefulQueue].length, 0);
527
527
  });
528
528
  }
529
529
  }
530
530
  var queue;
531
531
  if (!global[gracefulQueue]) {
532
- publishQueue(global, fs4[gracefulQueue]);
533
- }
534
- module2.exports = patch(clone(fs4));
535
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs4.__patched) {
536
- module2.exports = patch(fs4);
537
- fs4.__patched = true;
538
- }
539
- function patch(fs5) {
540
- polyfills(fs5);
541
- fs5.gracefulify = patch;
542
- fs5.createReadStream = createReadStream;
543
- fs5.createWriteStream = createWriteStream;
544
- var fs$readFile = fs5.readFile;
545
- fs5.readFile = readFile;
546
- function readFile(path7, options, cb) {
532
+ publishQueue(global, fs5[gracefulQueue]);
533
+ }
534
+ module2.exports = patch(clone(fs5));
535
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs5.__patched) {
536
+ module2.exports = patch(fs5);
537
+ fs5.__patched = true;
538
+ }
539
+ function patch(fs6) {
540
+ polyfills(fs6);
541
+ fs6.gracefulify = patch;
542
+ fs6.createReadStream = createReadStream;
543
+ fs6.createWriteStream = createWriteStream;
544
+ var fs$readFile = fs6.readFile;
545
+ fs6.readFile = readFile;
546
+ function readFile(path9, options, cb) {
547
547
  if (typeof options === "function")
548
548
  cb = options, options = null;
549
- return go$readFile(path7, options, cb);
550
- function go$readFile(path8, options2, cb2, startTime) {
551
- return fs$readFile(path8, options2, function(err) {
549
+ return go$readFile(path9, options, cb);
550
+ function go$readFile(path10, options2, cb2, startTime) {
551
+ return fs$readFile(path10, options2, function(err) {
552
552
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
553
- enqueue([go$readFile, [path8, options2, cb2], err, startTime || Date.now(), Date.now()]);
553
+ enqueue([go$readFile, [path10, options2, cb2], err, startTime || Date.now(), Date.now()]);
554
554
  else {
555
555
  if (typeof cb2 === "function")
556
556
  cb2.apply(this, arguments);
@@ -558,16 +558,16 @@ var require_graceful_fs = __commonJS({
558
558
  });
559
559
  }
560
560
  }
561
- var fs$writeFile = fs5.writeFile;
562
- fs5.writeFile = writeFile;
563
- function writeFile(path7, data, options, cb) {
561
+ var fs$writeFile = fs6.writeFile;
562
+ fs6.writeFile = writeFile;
563
+ function writeFile(path9, data, options, cb) {
564
564
  if (typeof options === "function")
565
565
  cb = options, options = null;
566
- return go$writeFile(path7, data, options, cb);
567
- function go$writeFile(path8, data2, options2, cb2, startTime) {
568
- return fs$writeFile(path8, data2, options2, function(err) {
566
+ return go$writeFile(path9, data, options, cb);
567
+ function go$writeFile(path10, data2, options2, cb2, startTime) {
568
+ return fs$writeFile(path10, data2, options2, function(err) {
569
569
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
570
- enqueue([go$writeFile, [path8, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
570
+ enqueue([go$writeFile, [path10, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
571
571
  else {
572
572
  if (typeof cb2 === "function")
573
573
  cb2.apply(this, arguments);
@@ -575,17 +575,17 @@ var require_graceful_fs = __commonJS({
575
575
  });
576
576
  }
577
577
  }
578
- var fs$appendFile = fs5.appendFile;
578
+ var fs$appendFile = fs6.appendFile;
579
579
  if (fs$appendFile)
580
- fs5.appendFile = appendFile;
581
- function appendFile(path7, data, options, cb) {
580
+ fs6.appendFile = appendFile;
581
+ function appendFile(path9, data, options, cb) {
582
582
  if (typeof options === "function")
583
583
  cb = options, options = null;
584
- return go$appendFile(path7, data, options, cb);
585
- function go$appendFile(path8, data2, options2, cb2, startTime) {
586
- return fs$appendFile(path8, data2, options2, function(err) {
584
+ return go$appendFile(path9, data, options, cb);
585
+ function go$appendFile(path10, data2, options2, cb2, startTime) {
586
+ return fs$appendFile(path10, data2, options2, function(err) {
587
587
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
588
- enqueue([go$appendFile, [path8, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
588
+ enqueue([go$appendFile, [path10, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
589
589
  else {
590
590
  if (typeof cb2 === "function")
591
591
  cb2.apply(this, arguments);
@@ -593,9 +593,9 @@ var require_graceful_fs = __commonJS({
593
593
  });
594
594
  }
595
595
  }
596
- var fs$copyFile = fs5.copyFile;
596
+ var fs$copyFile = fs6.copyFile;
597
597
  if (fs$copyFile)
598
- fs5.copyFile = copyFile;
598
+ fs6.copyFile = copyFile;
599
599
  function copyFile(src, dest, flags, cb) {
600
600
  if (typeof flags === "function") {
601
601
  cb = flags;
@@ -613,34 +613,34 @@ var require_graceful_fs = __commonJS({
613
613
  });
614
614
  }
615
615
  }
616
- var fs$readdir = fs5.readdir;
617
- fs5.readdir = readdir;
616
+ var fs$readdir = fs6.readdir;
617
+ fs6.readdir = readdir;
618
618
  var noReaddirOptionVersions = /^v[0-5]\./;
619
- function readdir(path7, options, cb) {
619
+ function readdir(path9, options, cb) {
620
620
  if (typeof options === "function")
621
621
  cb = options, options = null;
622
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path8, options2, cb2, startTime) {
623
- return fs$readdir(path8, fs$readdirCallback(
624
- path8,
622
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path10, options2, cb2, startTime) {
623
+ return fs$readdir(path10, fs$readdirCallback(
624
+ path10,
625
625
  options2,
626
626
  cb2,
627
627
  startTime
628
628
  ));
629
- } : function go$readdir2(path8, options2, cb2, startTime) {
630
- return fs$readdir(path8, options2, fs$readdirCallback(
631
- path8,
629
+ } : function go$readdir2(path10, options2, cb2, startTime) {
630
+ return fs$readdir(path10, options2, fs$readdirCallback(
631
+ path10,
632
632
  options2,
633
633
  cb2,
634
634
  startTime
635
635
  ));
636
636
  };
637
- return go$readdir(path7, options, cb);
638
- function fs$readdirCallback(path8, options2, cb2, startTime) {
637
+ return go$readdir(path9, options, cb);
638
+ function fs$readdirCallback(path10, options2, cb2, startTime) {
639
639
  return function(err, files) {
640
640
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
641
641
  enqueue([
642
642
  go$readdir,
643
- [path8, options2, cb2],
643
+ [path10, options2, cb2],
644
644
  err,
645
645
  startTime || Date.now(),
646
646
  Date.now()
@@ -655,21 +655,21 @@ var require_graceful_fs = __commonJS({
655
655
  }
656
656
  }
657
657
  if (process.version.substr(0, 4) === "v0.8") {
658
- var legStreams = legacy(fs5);
658
+ var legStreams = legacy(fs6);
659
659
  ReadStream = legStreams.ReadStream;
660
660
  WriteStream = legStreams.WriteStream;
661
661
  }
662
- var fs$ReadStream = fs5.ReadStream;
662
+ var fs$ReadStream = fs6.ReadStream;
663
663
  if (fs$ReadStream) {
664
664
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
665
665
  ReadStream.prototype.open = ReadStream$open;
666
666
  }
667
- var fs$WriteStream = fs5.WriteStream;
667
+ var fs$WriteStream = fs6.WriteStream;
668
668
  if (fs$WriteStream) {
669
669
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
670
670
  WriteStream.prototype.open = WriteStream$open;
671
671
  }
672
- Object.defineProperty(fs5, "ReadStream", {
672
+ Object.defineProperty(fs6, "ReadStream", {
673
673
  get: function() {
674
674
  return ReadStream;
675
675
  },
@@ -679,7 +679,7 @@ var require_graceful_fs = __commonJS({
679
679
  enumerable: true,
680
680
  configurable: true
681
681
  });
682
- Object.defineProperty(fs5, "WriteStream", {
682
+ Object.defineProperty(fs6, "WriteStream", {
683
683
  get: function() {
684
684
  return WriteStream;
685
685
  },
@@ -690,7 +690,7 @@ var require_graceful_fs = __commonJS({
690
690
  configurable: true
691
691
  });
692
692
  var FileReadStream = ReadStream;
693
- Object.defineProperty(fs5, "FileReadStream", {
693
+ Object.defineProperty(fs6, "FileReadStream", {
694
694
  get: function() {
695
695
  return FileReadStream;
696
696
  },
@@ -701,7 +701,7 @@ var require_graceful_fs = __commonJS({
701
701
  configurable: true
702
702
  });
703
703
  var FileWriteStream = WriteStream;
704
- Object.defineProperty(fs5, "FileWriteStream", {
704
+ Object.defineProperty(fs6, "FileWriteStream", {
705
705
  get: function() {
706
706
  return FileWriteStream;
707
707
  },
@@ -711,7 +711,7 @@ var require_graceful_fs = __commonJS({
711
711
  enumerable: true,
712
712
  configurable: true
713
713
  });
714
- function ReadStream(path7, options) {
714
+ function ReadStream(path9, options) {
715
715
  if (this instanceof ReadStream)
716
716
  return fs$ReadStream.apply(this, arguments), this;
717
717
  else
@@ -731,7 +731,7 @@ var require_graceful_fs = __commonJS({
731
731
  }
732
732
  });
733
733
  }
734
- function WriteStream(path7, options) {
734
+ function WriteStream(path9, options) {
735
735
  if (this instanceof WriteStream)
736
736
  return fs$WriteStream.apply(this, arguments), this;
737
737
  else
@@ -749,22 +749,22 @@ var require_graceful_fs = __commonJS({
749
749
  }
750
750
  });
751
751
  }
752
- function createReadStream(path7, options) {
753
- return new fs5.ReadStream(path7, options);
752
+ function createReadStream(path9, options) {
753
+ return new fs6.ReadStream(path9, options);
754
754
  }
755
- function createWriteStream(path7, options) {
756
- return new fs5.WriteStream(path7, options);
755
+ function createWriteStream(path9, options) {
756
+ return new fs6.WriteStream(path9, options);
757
757
  }
758
- var fs$open = fs5.open;
759
- fs5.open = open;
760
- function open(path7, flags, mode, cb) {
758
+ var fs$open = fs6.open;
759
+ fs6.open = open;
760
+ function open(path9, flags, mode, cb) {
761
761
  if (typeof mode === "function")
762
762
  cb = mode, mode = null;
763
- return go$open(path7, flags, mode, cb);
764
- function go$open(path8, flags2, mode2, cb2, startTime) {
765
- return fs$open(path8, flags2, mode2, function(err, fd) {
763
+ return go$open(path9, flags, mode, cb);
764
+ function go$open(path10, flags2, mode2, cb2, startTime) {
765
+ return fs$open(path10, flags2, mode2, function(err, fd) {
766
766
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
767
- enqueue([go$open, [path8, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
767
+ enqueue([go$open, [path10, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
768
768
  else {
769
769
  if (typeof cb2 === "function")
770
770
  cb2.apply(this, arguments);
@@ -772,20 +772,20 @@ var require_graceful_fs = __commonJS({
772
772
  });
773
773
  }
774
774
  }
775
- return fs5;
775
+ return fs6;
776
776
  }
777
777
  function enqueue(elem) {
778
778
  debug("ENQUEUE", elem[0].name, elem[1]);
779
- fs4[gracefulQueue].push(elem);
779
+ fs5[gracefulQueue].push(elem);
780
780
  retry();
781
781
  }
782
782
  var retryTimer;
783
783
  function resetQueue() {
784
784
  var now = Date.now();
785
- for (var i = 0; i < fs4[gracefulQueue].length; ++i) {
786
- if (fs4[gracefulQueue][i].length > 2) {
787
- fs4[gracefulQueue][i][3] = now;
788
- fs4[gracefulQueue][i][4] = now;
785
+ for (var i = 0; i < fs5[gracefulQueue].length; ++i) {
786
+ if (fs5[gracefulQueue][i].length > 2) {
787
+ fs5[gracefulQueue][i][3] = now;
788
+ fs5[gracefulQueue][i][4] = now;
789
789
  }
790
790
  }
791
791
  retry();
@@ -793,9 +793,9 @@ var require_graceful_fs = __commonJS({
793
793
  function retry() {
794
794
  clearTimeout(retryTimer);
795
795
  retryTimer = void 0;
796
- if (fs4[gracefulQueue].length === 0)
796
+ if (fs5[gracefulQueue].length === 0)
797
797
  return;
798
- var elem = fs4[gracefulQueue].shift();
798
+ var elem = fs5[gracefulQueue].shift();
799
799
  var fn = elem[0];
800
800
  var args = elem[1];
801
801
  var err = elem[2];
@@ -817,7 +817,7 @@ var require_graceful_fs = __commonJS({
817
817
  debug("RETRY", fn.name, args);
818
818
  fn.apply(null, args.concat([startTime]));
819
819
  } else {
820
- fs4[gracefulQueue].push(elem);
820
+ fs5[gracefulQueue].push(elem);
821
821
  }
822
822
  }
823
823
  if (retryTimer === void 0) {
@@ -827,696 +827,6 @@ var require_graceful_fs = __commonJS({
827
827
  }
828
828
  });
829
829
 
830
- // ../../node_modules/.pnpm/imurmurhash@0.1.4/node_modules/imurmurhash/imurmurhash.js
831
- var require_imurmurhash = __commonJS({
832
- "../../node_modules/.pnpm/imurmurhash@0.1.4/node_modules/imurmurhash/imurmurhash.js"(exports2, module2) {
833
- "use strict";
834
- init_cjs_shims();
835
- (function() {
836
- var cache;
837
- function MurmurHash3(key, seed) {
838
- var m = this instanceof MurmurHash3 ? this : cache;
839
- m.reset(seed);
840
- if (typeof key === "string" && key.length > 0) {
841
- m.hash(key);
842
- }
843
- if (m !== this) {
844
- return m;
845
- }
846
- }
847
- ;
848
- MurmurHash3.prototype.hash = function(key) {
849
- var h1, k1, i, top, len;
850
- len = key.length;
851
- this.len += len;
852
- k1 = this.k1;
853
- i = 0;
854
- switch (this.rem) {
855
- case 0:
856
- k1 ^= len > i ? key.charCodeAt(i++) & 65535 : 0;
857
- case 1:
858
- k1 ^= len > i ? (key.charCodeAt(i++) & 65535) << 8 : 0;
859
- case 2:
860
- k1 ^= len > i ? (key.charCodeAt(i++) & 65535) << 16 : 0;
861
- case 3:
862
- k1 ^= len > i ? (key.charCodeAt(i) & 255) << 24 : 0;
863
- k1 ^= len > i ? (key.charCodeAt(i++) & 65280) >> 8 : 0;
864
- }
865
- this.rem = len + this.rem & 3;
866
- len -= this.rem;
867
- if (len > 0) {
868
- h1 = this.h1;
869
- while (1) {
870
- k1 = k1 * 11601 + (k1 & 65535) * 3432906752 & 4294967295;
871
- k1 = k1 << 15 | k1 >>> 17;
872
- k1 = k1 * 13715 + (k1 & 65535) * 461832192 & 4294967295;
873
- h1 ^= k1;
874
- h1 = h1 << 13 | h1 >>> 19;
875
- h1 = h1 * 5 + 3864292196 & 4294967295;
876
- if (i >= len) {
877
- break;
878
- }
879
- k1 = key.charCodeAt(i++) & 65535 ^ (key.charCodeAt(i++) & 65535) << 8 ^ (key.charCodeAt(i++) & 65535) << 16;
880
- top = key.charCodeAt(i++);
881
- k1 ^= (top & 255) << 24 ^ (top & 65280) >> 8;
882
- }
883
- k1 = 0;
884
- switch (this.rem) {
885
- case 3:
886
- k1 ^= (key.charCodeAt(i + 2) & 65535) << 16;
887
- case 2:
888
- k1 ^= (key.charCodeAt(i + 1) & 65535) << 8;
889
- case 1:
890
- k1 ^= key.charCodeAt(i) & 65535;
891
- }
892
- this.h1 = h1;
893
- }
894
- this.k1 = k1;
895
- return this;
896
- };
897
- MurmurHash3.prototype.result = function() {
898
- var k1, h1;
899
- k1 = this.k1;
900
- h1 = this.h1;
901
- if (k1 > 0) {
902
- k1 = k1 * 11601 + (k1 & 65535) * 3432906752 & 4294967295;
903
- k1 = k1 << 15 | k1 >>> 17;
904
- k1 = k1 * 13715 + (k1 & 65535) * 461832192 & 4294967295;
905
- h1 ^= k1;
906
- }
907
- h1 ^= this.len;
908
- h1 ^= h1 >>> 16;
909
- h1 = h1 * 51819 + (h1 & 65535) * 2246770688 & 4294967295;
910
- h1 ^= h1 >>> 13;
911
- h1 = h1 * 44597 + (h1 & 65535) * 3266445312 & 4294967295;
912
- h1 ^= h1 >>> 16;
913
- return h1 >>> 0;
914
- };
915
- MurmurHash3.prototype.reset = function(seed) {
916
- this.h1 = typeof seed === "number" ? seed : 0;
917
- this.rem = this.k1 = this.len = 0;
918
- return this;
919
- };
920
- cache = new MurmurHash3();
921
- if (typeof module2 != "undefined") {
922
- module2.exports = MurmurHash3;
923
- } else {
924
- this.MurmurHash3 = MurmurHash3;
925
- }
926
- })();
927
- }
928
- });
929
-
930
- // ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
931
- var require_signals = __commonJS({
932
- "../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports2, module2) {
933
- "use strict";
934
- init_cjs_shims();
935
- module2.exports = [
936
- "SIGABRT",
937
- "SIGALRM",
938
- "SIGHUP",
939
- "SIGINT",
940
- "SIGTERM"
941
- ];
942
- if (process.platform !== "win32") {
943
- module2.exports.push(
944
- "SIGVTALRM",
945
- "SIGXCPU",
946
- "SIGXFSZ",
947
- "SIGUSR2",
948
- "SIGTRAP",
949
- "SIGSYS",
950
- "SIGQUIT",
951
- "SIGIOT"
952
- // should detect profiler and enable/disable accordingly.
953
- // see #21
954
- // 'SIGPROF'
955
- );
956
- }
957
- if (process.platform === "linux") {
958
- module2.exports.push(
959
- "SIGIO",
960
- "SIGPOLL",
961
- "SIGPWR",
962
- "SIGSTKFLT",
963
- "SIGUNUSED"
964
- );
965
- }
966
- }
967
- });
968
-
969
- // ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
970
- var require_signal_exit = __commonJS({
971
- "../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports2, module2) {
972
- "use strict";
973
- init_cjs_shims();
974
- var process7 = global.process;
975
- var processOk = function(process8) {
976
- return process8 && typeof process8 === "object" && typeof process8.removeListener === "function" && typeof process8.emit === "function" && typeof process8.reallyExit === "function" && typeof process8.listeners === "function" && typeof process8.kill === "function" && typeof process8.pid === "number" && typeof process8.on === "function";
977
- };
978
- if (!processOk(process7)) {
979
- module2.exports = function() {
980
- return function() {
981
- };
982
- };
983
- } else {
984
- assert = require("assert");
985
- signals = require_signals();
986
- isWin = /^win/i.test(process7.platform);
987
- EE = require("events");
988
- if (typeof EE !== "function") {
989
- EE = EE.EventEmitter;
990
- }
991
- if (process7.__signal_exit_emitter__) {
992
- emitter = process7.__signal_exit_emitter__;
993
- } else {
994
- emitter = process7.__signal_exit_emitter__ = new EE();
995
- emitter.count = 0;
996
- emitter.emitted = {};
997
- }
998
- if (!emitter.infinite) {
999
- emitter.setMaxListeners(Infinity);
1000
- emitter.infinite = true;
1001
- }
1002
- module2.exports = function(cb, opts) {
1003
- if (!processOk(global.process)) {
1004
- return function() {
1005
- };
1006
- }
1007
- assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
1008
- if (loaded === false) {
1009
- load();
1010
- }
1011
- var ev = "exit";
1012
- if (opts && opts.alwaysLast) {
1013
- ev = "afterexit";
1014
- }
1015
- var remove = function() {
1016
- emitter.removeListener(ev, cb);
1017
- if (emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0) {
1018
- unload();
1019
- }
1020
- };
1021
- emitter.on(ev, cb);
1022
- return remove;
1023
- };
1024
- unload = function unload2() {
1025
- if (!loaded || !processOk(global.process)) {
1026
- return;
1027
- }
1028
- loaded = false;
1029
- signals.forEach(function(sig) {
1030
- try {
1031
- process7.removeListener(sig, sigListeners[sig]);
1032
- } catch (er) {
1033
- }
1034
- });
1035
- process7.emit = originalProcessEmit;
1036
- process7.reallyExit = originalProcessReallyExit;
1037
- emitter.count -= 1;
1038
- };
1039
- module2.exports.unload = unload;
1040
- emit = function emit2(event, code, signal) {
1041
- if (emitter.emitted[event]) {
1042
- return;
1043
- }
1044
- emitter.emitted[event] = true;
1045
- emitter.emit(event, code, signal);
1046
- };
1047
- sigListeners = {};
1048
- signals.forEach(function(sig) {
1049
- sigListeners[sig] = function listener() {
1050
- if (!processOk(global.process)) {
1051
- return;
1052
- }
1053
- var listeners = process7.listeners(sig);
1054
- if (listeners.length === emitter.count) {
1055
- unload();
1056
- emit("exit", null, sig);
1057
- emit("afterexit", null, sig);
1058
- if (isWin && sig === "SIGHUP") {
1059
- sig = "SIGINT";
1060
- }
1061
- process7.kill(process7.pid, sig);
1062
- }
1063
- };
1064
- });
1065
- module2.exports.signals = function() {
1066
- return signals;
1067
- };
1068
- loaded = false;
1069
- load = function load2() {
1070
- if (loaded || !processOk(global.process)) {
1071
- return;
1072
- }
1073
- loaded = true;
1074
- emitter.count += 1;
1075
- signals = signals.filter(function(sig) {
1076
- try {
1077
- process7.on(sig, sigListeners[sig]);
1078
- return true;
1079
- } catch (er) {
1080
- return false;
1081
- }
1082
- });
1083
- process7.emit = processEmit;
1084
- process7.reallyExit = processReallyExit;
1085
- };
1086
- module2.exports.load = load;
1087
- originalProcessReallyExit = process7.reallyExit;
1088
- processReallyExit = function processReallyExit2(code) {
1089
- if (!processOk(global.process)) {
1090
- return;
1091
- }
1092
- process7.exitCode = code || /* istanbul ignore next */
1093
- 0;
1094
- emit("exit", process7.exitCode, null);
1095
- emit("afterexit", process7.exitCode, null);
1096
- originalProcessReallyExit.call(process7, process7.exitCode);
1097
- };
1098
- originalProcessEmit = process7.emit;
1099
- processEmit = function processEmit2(ev, arg) {
1100
- if (ev === "exit" && processOk(global.process)) {
1101
- if (arg !== void 0) {
1102
- process7.exitCode = arg;
1103
- }
1104
- var ret = originalProcessEmit.apply(this, arguments);
1105
- emit("exit", process7.exitCode, null);
1106
- emit("afterexit", process7.exitCode, null);
1107
- return ret;
1108
- } else {
1109
- return originalProcessEmit.apply(this, arguments);
1110
- }
1111
- };
1112
- }
1113
- var assert;
1114
- var signals;
1115
- var isWin;
1116
- var EE;
1117
- var emitter;
1118
- var unload;
1119
- var emit;
1120
- var sigListeners;
1121
- var loaded;
1122
- var load;
1123
- var originalProcessReallyExit;
1124
- var processReallyExit;
1125
- var originalProcessEmit;
1126
- var processEmit;
1127
- }
1128
- });
1129
-
1130
- // ../../node_modules/.pnpm/is-typedarray@1.0.0/node_modules/is-typedarray/index.js
1131
- var require_is_typedarray = __commonJS({
1132
- "../../node_modules/.pnpm/is-typedarray@1.0.0/node_modules/is-typedarray/index.js"(exports2, module2) {
1133
- "use strict";
1134
- init_cjs_shims();
1135
- module2.exports = isTypedArray;
1136
- isTypedArray.strict = isStrictTypedArray;
1137
- isTypedArray.loose = isLooseTypedArray;
1138
- var toString = Object.prototype.toString;
1139
- var names = {
1140
- "[object Int8Array]": true,
1141
- "[object Int16Array]": true,
1142
- "[object Int32Array]": true,
1143
- "[object Uint8Array]": true,
1144
- "[object Uint8ClampedArray]": true,
1145
- "[object Uint16Array]": true,
1146
- "[object Uint32Array]": true,
1147
- "[object Float32Array]": true,
1148
- "[object Float64Array]": true
1149
- };
1150
- function isTypedArray(arr) {
1151
- return isStrictTypedArray(arr) || isLooseTypedArray(arr);
1152
- }
1153
- function isStrictTypedArray(arr) {
1154
- return arr instanceof Int8Array || arr instanceof Int16Array || arr instanceof Int32Array || arr instanceof Uint8Array || arr instanceof Uint8ClampedArray || arr instanceof Uint16Array || arr instanceof Uint32Array || arr instanceof Float32Array || arr instanceof Float64Array;
1155
- }
1156
- function isLooseTypedArray(arr) {
1157
- return names[toString.call(arr)];
1158
- }
1159
- }
1160
- });
1161
-
1162
- // ../../node_modules/.pnpm/typedarray-to-buffer@3.1.5/node_modules/typedarray-to-buffer/index.js
1163
- var require_typedarray_to_buffer = __commonJS({
1164
- "../../node_modules/.pnpm/typedarray-to-buffer@3.1.5/node_modules/typedarray-to-buffer/index.js"(exports2, module2) {
1165
- "use strict";
1166
- init_cjs_shims();
1167
- var isTypedArray = require_is_typedarray().strict;
1168
- module2.exports = function typedarrayToBuffer(arr) {
1169
- if (isTypedArray(arr)) {
1170
- var buf = Buffer.from(arr.buffer);
1171
- if (arr.byteLength !== arr.buffer.byteLength) {
1172
- buf = buf.slice(arr.byteOffset, arr.byteOffset + arr.byteLength);
1173
- }
1174
- return buf;
1175
- } else {
1176
- return Buffer.from(arr);
1177
- }
1178
- };
1179
- }
1180
- });
1181
-
1182
- // ../../node_modules/.pnpm/write-file-atomic@3.0.3/node_modules/write-file-atomic/index.js
1183
- var require_write_file_atomic = __commonJS({
1184
- "../../node_modules/.pnpm/write-file-atomic@3.0.3/node_modules/write-file-atomic/index.js"(exports2, module2) {
1185
- "use strict";
1186
- init_cjs_shims();
1187
- module2.exports = writeFile;
1188
- module2.exports.sync = writeFileSync;
1189
- module2.exports._getTmpname = getTmpname;
1190
- module2.exports._cleanupOnExit = cleanupOnExit;
1191
- var fs4 = require("fs");
1192
- var MurmurHash3 = require_imurmurhash();
1193
- var onExit = require_signal_exit();
1194
- var path7 = require("path");
1195
- var isTypedArray = require_is_typedarray();
1196
- var typedArrayToBuffer = require_typedarray_to_buffer();
1197
- var { promisify: promisify2 } = require("util");
1198
- var activeFiles = {};
1199
- var threadId = function getId() {
1200
- try {
1201
- const workerThreads = require("worker_threads");
1202
- return workerThreads.threadId;
1203
- } catch (e) {
1204
- return 0;
1205
- }
1206
- }();
1207
- var invocations = 0;
1208
- function getTmpname(filename) {
1209
- return filename + "." + MurmurHash3(__filename).hash(String(process.pid)).hash(String(threadId)).hash(String(++invocations)).result();
1210
- }
1211
- function cleanupOnExit(tmpfile) {
1212
- return () => {
1213
- try {
1214
- fs4.unlinkSync(typeof tmpfile === "function" ? tmpfile() : tmpfile);
1215
- } catch (_) {
1216
- }
1217
- };
1218
- }
1219
- function serializeActiveFile(absoluteName) {
1220
- return new Promise((resolve) => {
1221
- if (!activeFiles[absoluteName]) activeFiles[absoluteName] = [];
1222
- activeFiles[absoluteName].push(resolve);
1223
- if (activeFiles[absoluteName].length === 1) resolve();
1224
- });
1225
- }
1226
- function isChownErrOk(err) {
1227
- if (err.code === "ENOSYS") {
1228
- return true;
1229
- }
1230
- const nonroot = !process.getuid || process.getuid() !== 0;
1231
- if (nonroot) {
1232
- if (err.code === "EINVAL" || err.code === "EPERM") {
1233
- return true;
1234
- }
1235
- }
1236
- return false;
1237
- }
1238
- async function writeFileAsync(filename, data, options = {}) {
1239
- if (typeof options === "string") {
1240
- options = { encoding: options };
1241
- }
1242
- let fd;
1243
- let tmpfile;
1244
- const removeOnExitHandler = onExit(cleanupOnExit(() => tmpfile));
1245
- const absoluteName = path7.resolve(filename);
1246
- try {
1247
- await serializeActiveFile(absoluteName);
1248
- const truename = await promisify2(fs4.realpath)(filename).catch(() => filename);
1249
- tmpfile = getTmpname(truename);
1250
- if (!options.mode || !options.chown) {
1251
- const stats = await promisify2(fs4.stat)(truename).catch(() => {
1252
- });
1253
- if (stats) {
1254
- if (options.mode == null) {
1255
- options.mode = stats.mode;
1256
- }
1257
- if (options.chown == null && process.getuid) {
1258
- options.chown = { uid: stats.uid, gid: stats.gid };
1259
- }
1260
- }
1261
- }
1262
- fd = await promisify2(fs4.open)(tmpfile, "w", options.mode);
1263
- if (options.tmpfileCreated) {
1264
- await options.tmpfileCreated(tmpfile);
1265
- }
1266
- if (isTypedArray(data)) {
1267
- data = typedArrayToBuffer(data);
1268
- }
1269
- if (Buffer.isBuffer(data)) {
1270
- await promisify2(fs4.write)(fd, data, 0, data.length, 0);
1271
- } else if (data != null) {
1272
- await promisify2(fs4.write)(fd, String(data), 0, String(options.encoding || "utf8"));
1273
- }
1274
- if (options.fsync !== false) {
1275
- await promisify2(fs4.fsync)(fd);
1276
- }
1277
- await promisify2(fs4.close)(fd);
1278
- fd = null;
1279
- if (options.chown) {
1280
- await promisify2(fs4.chown)(tmpfile, options.chown.uid, options.chown.gid).catch((err) => {
1281
- if (!isChownErrOk(err)) {
1282
- throw err;
1283
- }
1284
- });
1285
- }
1286
- if (options.mode) {
1287
- await promisify2(fs4.chmod)(tmpfile, options.mode).catch((err) => {
1288
- if (!isChownErrOk(err)) {
1289
- throw err;
1290
- }
1291
- });
1292
- }
1293
- await promisify2(fs4.rename)(tmpfile, truename);
1294
- } finally {
1295
- if (fd) {
1296
- await promisify2(fs4.close)(fd).catch(
1297
- /* istanbul ignore next */
1298
- () => {
1299
- }
1300
- );
1301
- }
1302
- removeOnExitHandler();
1303
- await promisify2(fs4.unlink)(tmpfile).catch(() => {
1304
- });
1305
- activeFiles[absoluteName].shift();
1306
- if (activeFiles[absoluteName].length > 0) {
1307
- activeFiles[absoluteName][0]();
1308
- } else delete activeFiles[absoluteName];
1309
- }
1310
- }
1311
- function writeFile(filename, data, options, callback) {
1312
- if (options instanceof Function) {
1313
- callback = options;
1314
- options = {};
1315
- }
1316
- const promise = writeFileAsync(filename, data, options);
1317
- if (callback) {
1318
- promise.then(callback, callback);
1319
- }
1320
- return promise;
1321
- }
1322
- function writeFileSync(filename, data, options) {
1323
- if (typeof options === "string") options = { encoding: options };
1324
- else if (!options) options = {};
1325
- try {
1326
- filename = fs4.realpathSync(filename);
1327
- } catch (ex) {
1328
- }
1329
- const tmpfile = getTmpname(filename);
1330
- if (!options.mode || !options.chown) {
1331
- try {
1332
- const stats = fs4.statSync(filename);
1333
- options = Object.assign({}, options);
1334
- if (!options.mode) {
1335
- options.mode = stats.mode;
1336
- }
1337
- if (!options.chown && process.getuid) {
1338
- options.chown = { uid: stats.uid, gid: stats.gid };
1339
- }
1340
- } catch (ex) {
1341
- }
1342
- }
1343
- let fd;
1344
- const cleanup = cleanupOnExit(tmpfile);
1345
- const removeOnExitHandler = onExit(cleanup);
1346
- let threw = true;
1347
- try {
1348
- fd = fs4.openSync(tmpfile, "w", options.mode || 438);
1349
- if (options.tmpfileCreated) {
1350
- options.tmpfileCreated(tmpfile);
1351
- }
1352
- if (isTypedArray(data)) {
1353
- data = typedArrayToBuffer(data);
1354
- }
1355
- if (Buffer.isBuffer(data)) {
1356
- fs4.writeSync(fd, data, 0, data.length, 0);
1357
- } else if (data != null) {
1358
- fs4.writeSync(fd, String(data), 0, String(options.encoding || "utf8"));
1359
- }
1360
- if (options.fsync !== false) {
1361
- fs4.fsyncSync(fd);
1362
- }
1363
- fs4.closeSync(fd);
1364
- fd = null;
1365
- if (options.chown) {
1366
- try {
1367
- fs4.chownSync(tmpfile, options.chown.uid, options.chown.gid);
1368
- } catch (err) {
1369
- if (!isChownErrOk(err)) {
1370
- throw err;
1371
- }
1372
- }
1373
- }
1374
- if (options.mode) {
1375
- try {
1376
- fs4.chmodSync(tmpfile, options.mode);
1377
- } catch (err) {
1378
- if (!isChownErrOk(err)) {
1379
- throw err;
1380
- }
1381
- }
1382
- }
1383
- fs4.renameSync(tmpfile, filename);
1384
- threw = false;
1385
- } finally {
1386
- if (fd) {
1387
- try {
1388
- fs4.closeSync(fd);
1389
- } catch (ex) {
1390
- }
1391
- }
1392
- removeOnExitHandler();
1393
- if (threw) {
1394
- cleanup();
1395
- }
1396
- }
1397
- }
1398
- }
1399
- });
1400
-
1401
- // ../../node_modules/.pnpm/is-obj@2.0.0/node_modules/is-obj/index.js
1402
- var require_is_obj = __commonJS({
1403
- "../../node_modules/.pnpm/is-obj@2.0.0/node_modules/is-obj/index.js"(exports2, module2) {
1404
- "use strict";
1405
- init_cjs_shims();
1406
- module2.exports = (value) => {
1407
- const type = typeof value;
1408
- return value !== null && (type === "object" || type === "function");
1409
- };
1410
- }
1411
- });
1412
-
1413
- // ../../node_modules/.pnpm/dot-prop@6.0.1/node_modules/dot-prop/index.js
1414
- var require_dot_prop = __commonJS({
1415
- "../../node_modules/.pnpm/dot-prop@6.0.1/node_modules/dot-prop/index.js"(exports2, module2) {
1416
- "use strict";
1417
- init_cjs_shims();
1418
- var isObj = require_is_obj();
1419
- var disallowedKeys = /* @__PURE__ */ new Set([
1420
- "__proto__",
1421
- "prototype",
1422
- "constructor"
1423
- ]);
1424
- var isValidPath = (pathSegments) => !pathSegments.some((segment) => disallowedKeys.has(segment));
1425
- function getPathSegments(path7) {
1426
- const pathArray = path7.split(".");
1427
- const parts = [];
1428
- for (let i = 0; i < pathArray.length; i++) {
1429
- let p = pathArray[i];
1430
- while (p[p.length - 1] === "\\" && pathArray[i + 1] !== void 0) {
1431
- p = p.slice(0, -1) + ".";
1432
- p += pathArray[++i];
1433
- }
1434
- parts.push(p);
1435
- }
1436
- if (!isValidPath(parts)) {
1437
- return [];
1438
- }
1439
- return parts;
1440
- }
1441
- module2.exports = {
1442
- get(object, path7, value) {
1443
- if (!isObj(object) || typeof path7 !== "string") {
1444
- return value === void 0 ? object : value;
1445
- }
1446
- const pathArray = getPathSegments(path7);
1447
- if (pathArray.length === 0) {
1448
- return;
1449
- }
1450
- for (let i = 0; i < pathArray.length; i++) {
1451
- object = object[pathArray[i]];
1452
- if (object === void 0 || object === null) {
1453
- if (i !== pathArray.length - 1) {
1454
- return value;
1455
- }
1456
- break;
1457
- }
1458
- }
1459
- return object === void 0 ? value : object;
1460
- },
1461
- set(object, path7, value) {
1462
- if (!isObj(object) || typeof path7 !== "string") {
1463
- return object;
1464
- }
1465
- const root = object;
1466
- const pathArray = getPathSegments(path7);
1467
- for (let i = 0; i < pathArray.length; i++) {
1468
- const p = pathArray[i];
1469
- if (!isObj(object[p])) {
1470
- object[p] = {};
1471
- }
1472
- if (i === pathArray.length - 1) {
1473
- object[p] = value;
1474
- }
1475
- object = object[p];
1476
- }
1477
- return root;
1478
- },
1479
- delete(object, path7) {
1480
- if (!isObj(object) || typeof path7 !== "string") {
1481
- return false;
1482
- }
1483
- const pathArray = getPathSegments(path7);
1484
- for (let i = 0; i < pathArray.length; i++) {
1485
- const p = pathArray[i];
1486
- if (i === pathArray.length - 1) {
1487
- delete object[p];
1488
- return true;
1489
- }
1490
- object = object[p];
1491
- if (!isObj(object)) {
1492
- return false;
1493
- }
1494
- }
1495
- },
1496
- has(object, path7) {
1497
- if (!isObj(object) || typeof path7 !== "string") {
1498
- return false;
1499
- }
1500
- const pathArray = getPathSegments(path7);
1501
- if (pathArray.length === 0) {
1502
- return false;
1503
- }
1504
- for (let i = 0; i < pathArray.length; i++) {
1505
- if (isObj(object)) {
1506
- if (!(pathArray[i] in object)) {
1507
- return false;
1508
- }
1509
- object = object[pathArray[i]];
1510
- } else {
1511
- return false;
1512
- }
1513
- }
1514
- return true;
1515
- }
1516
- };
1517
- }
1518
- });
1519
-
1520
830
  // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js
1521
831
  var require_constants = __commonJS({
1522
832
  "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"(exports2, module2) {
@@ -3686,9 +2996,9 @@ var require_utils = __commonJS({
3686
2996
  "../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js"(exports2) {
3687
2997
  "use strict";
3688
2998
  init_cjs_shims();
3689
- var fs4 = require("fs");
2999
+ var fs5 = require("fs");
3690
3000
  var ini2 = require_ini();
3691
- var path7 = require("path");
3001
+ var path9 = require("path");
3692
3002
  var stripJsonComments = require_strip_json_comments();
3693
3003
  var parse = exports2.parse = function(content) {
3694
3004
  if (/^\s*{/.test(content))
@@ -3702,10 +3012,10 @@ var require_utils = __commonJS({
3702
3012
  for (var i in args)
3703
3013
  if ("string" !== typeof args[i])
3704
3014
  return;
3705
- var file2 = path7.join.apply(null, args);
3015
+ var file2 = path9.join.apply(null, args);
3706
3016
  var content;
3707
3017
  try {
3708
- return fs4.readFileSync(file2, "utf-8");
3018
+ return fs5.readFileSync(file2, "utf-8");
3709
3019
  } catch (err) {
3710
3020
  return;
3711
3021
  }
@@ -3740,15 +3050,15 @@ var require_utils = __commonJS({
3740
3050
  return obj;
3741
3051
  };
3742
3052
  var find = exports2.find = function() {
3743
- var rel = path7.join.apply(null, [].slice.call(arguments));
3053
+ var rel = path9.join.apply(null, [].slice.call(arguments));
3744
3054
  function find2(start, rel2) {
3745
- var file2 = path7.join(start, rel2);
3055
+ var file2 = path9.join(start, rel2);
3746
3056
  try {
3747
- fs4.statSync(file2);
3057
+ fs5.statSync(file2);
3748
3058
  return file2;
3749
3059
  } catch (err) {
3750
- if (path7.dirname(start) !== start)
3751
- return find2(path7.dirname(start), rel2);
3060
+ if (path9.dirname(start) !== start)
3061
+ return find2(path9.dirname(start), rel2);
3752
3062
  }
3753
3063
  }
3754
3064
  return find2(process.cwd(), rel);
@@ -4143,54 +3453,54 @@ var require_polyfills2 = __commonJS({
4143
3453
  }
4144
3454
  var chdir;
4145
3455
  module2.exports = patch;
4146
- function patch(fs4) {
3456
+ function patch(fs5) {
4147
3457
  if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
4148
- patchLchmod(fs4);
4149
- }
4150
- if (!fs4.lutimes) {
4151
- patchLutimes(fs4);
4152
- }
4153
- fs4.chown = chownFix(fs4.chown);
4154
- fs4.fchown = chownFix(fs4.fchown);
4155
- fs4.lchown = chownFix(fs4.lchown);
4156
- fs4.chmod = chmodFix(fs4.chmod);
4157
- fs4.fchmod = chmodFix(fs4.fchmod);
4158
- fs4.lchmod = chmodFix(fs4.lchmod);
4159
- fs4.chownSync = chownFixSync(fs4.chownSync);
4160
- fs4.fchownSync = chownFixSync(fs4.fchownSync);
4161
- fs4.lchownSync = chownFixSync(fs4.lchownSync);
4162
- fs4.chmodSync = chmodFixSync(fs4.chmodSync);
4163
- fs4.fchmodSync = chmodFixSync(fs4.fchmodSync);
4164
- fs4.lchmodSync = chmodFixSync(fs4.lchmodSync);
4165
- fs4.stat = statFix(fs4.stat);
4166
- fs4.fstat = statFix(fs4.fstat);
4167
- fs4.lstat = statFix(fs4.lstat);
4168
- fs4.statSync = statFixSync(fs4.statSync);
4169
- fs4.fstatSync = statFixSync(fs4.fstatSync);
4170
- fs4.lstatSync = statFixSync(fs4.lstatSync);
4171
- if (fs4.chmod && !fs4.lchmod) {
4172
- fs4.lchmod = function(path7, mode, cb) {
3458
+ patchLchmod(fs5);
3459
+ }
3460
+ if (!fs5.lutimes) {
3461
+ patchLutimes(fs5);
3462
+ }
3463
+ fs5.chown = chownFix(fs5.chown);
3464
+ fs5.fchown = chownFix(fs5.fchown);
3465
+ fs5.lchown = chownFix(fs5.lchown);
3466
+ fs5.chmod = chmodFix(fs5.chmod);
3467
+ fs5.fchmod = chmodFix(fs5.fchmod);
3468
+ fs5.lchmod = chmodFix(fs5.lchmod);
3469
+ fs5.chownSync = chownFixSync(fs5.chownSync);
3470
+ fs5.fchownSync = chownFixSync(fs5.fchownSync);
3471
+ fs5.lchownSync = chownFixSync(fs5.lchownSync);
3472
+ fs5.chmodSync = chmodFixSync(fs5.chmodSync);
3473
+ fs5.fchmodSync = chmodFixSync(fs5.fchmodSync);
3474
+ fs5.lchmodSync = chmodFixSync(fs5.lchmodSync);
3475
+ fs5.stat = statFix(fs5.stat);
3476
+ fs5.fstat = statFix(fs5.fstat);
3477
+ fs5.lstat = statFix(fs5.lstat);
3478
+ fs5.statSync = statFixSync(fs5.statSync);
3479
+ fs5.fstatSync = statFixSync(fs5.fstatSync);
3480
+ fs5.lstatSync = statFixSync(fs5.lstatSync);
3481
+ if (fs5.chmod && !fs5.lchmod) {
3482
+ fs5.lchmod = function(path9, mode, cb) {
4173
3483
  if (cb) process.nextTick(cb);
4174
3484
  };
4175
- fs4.lchmodSync = function() {
3485
+ fs5.lchmodSync = function() {
4176
3486
  };
4177
3487
  }
4178
- if (fs4.chown && !fs4.lchown) {
4179
- fs4.lchown = function(path7, uid, gid, cb) {
3488
+ if (fs5.chown && !fs5.lchown) {
3489
+ fs5.lchown = function(path9, uid, gid, cb) {
4180
3490
  if (cb) process.nextTick(cb);
4181
3491
  };
4182
- fs4.lchownSync = function() {
3492
+ fs5.lchownSync = function() {
4183
3493
  };
4184
3494
  }
4185
3495
  if (platform === "win32") {
4186
- fs4.rename = typeof fs4.rename !== "function" ? fs4.rename : function(fs$rename) {
3496
+ fs5.rename = typeof fs5.rename !== "function" ? fs5.rename : function(fs$rename) {
4187
3497
  function rename(from, to, cb) {
4188
3498
  var start = Date.now();
4189
3499
  var backoff = 0;
4190
3500
  fs$rename(from, to, function CB(er) {
4191
3501
  if (er && (er.code === "EACCES" || er.code === "EPERM") && Date.now() - start < 6e4) {
4192
3502
  setTimeout(function() {
4193
- fs4.stat(to, function(stater, st) {
3503
+ fs5.stat(to, function(stater, st) {
4194
3504
  if (stater && stater.code === "ENOENT")
4195
3505
  fs$rename(from, to, CB);
4196
3506
  else
@@ -4206,9 +3516,9 @@ var require_polyfills2 = __commonJS({
4206
3516
  }
4207
3517
  if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename);
4208
3518
  return rename;
4209
- }(fs4.rename);
3519
+ }(fs5.rename);
4210
3520
  }
4211
- fs4.read = typeof fs4.read !== "function" ? fs4.read : function(fs$read) {
3521
+ fs5.read = typeof fs5.read !== "function" ? fs5.read : function(fs$read) {
4212
3522
  function read(fd, buffer, offset, length, position, callback_) {
4213
3523
  var callback;
4214
3524
  if (callback_ && typeof callback_ === "function") {
@@ -4216,22 +3526,22 @@ var require_polyfills2 = __commonJS({
4216
3526
  callback = function(er, _, __) {
4217
3527
  if (er && er.code === "EAGAIN" && eagCounter < 10) {
4218
3528
  eagCounter++;
4219
- return fs$read.call(fs4, fd, buffer, offset, length, position, callback);
3529
+ return fs$read.call(fs5, fd, buffer, offset, length, position, callback);
4220
3530
  }
4221
3531
  callback_.apply(this, arguments);
4222
3532
  };
4223
3533
  }
4224
- return fs$read.call(fs4, fd, buffer, offset, length, position, callback);
3534
+ return fs$read.call(fs5, fd, buffer, offset, length, position, callback);
4225
3535
  }
4226
3536
  if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read);
4227
3537
  return read;
4228
- }(fs4.read);
4229
- fs4.readSync = typeof fs4.readSync !== "function" ? fs4.readSync : /* @__PURE__ */ function(fs$readSync) {
3538
+ }(fs5.read);
3539
+ fs5.readSync = typeof fs5.readSync !== "function" ? fs5.readSync : /* @__PURE__ */ function(fs$readSync) {
4230
3540
  return function(fd, buffer, offset, length, position) {
4231
3541
  var eagCounter = 0;
4232
3542
  while (true) {
4233
3543
  try {
4234
- return fs$readSync.call(fs4, fd, buffer, offset, length, position);
3544
+ return fs$readSync.call(fs5, fd, buffer, offset, length, position);
4235
3545
  } catch (er) {
4236
3546
  if (er.code === "EAGAIN" && eagCounter < 10) {
4237
3547
  eagCounter++;
@@ -4241,11 +3551,11 @@ var require_polyfills2 = __commonJS({
4241
3551
  }
4242
3552
  }
4243
3553
  };
4244
- }(fs4.readSync);
4245
- function patchLchmod(fs5) {
4246
- fs5.lchmod = function(path7, mode, callback) {
4247
- fs5.open(
4248
- path7,
3554
+ }(fs5.readSync);
3555
+ function patchLchmod(fs6) {
3556
+ fs6.lchmod = function(path9, mode, callback) {
3557
+ fs6.open(
3558
+ path9,
4249
3559
  constants.O_WRONLY | constants.O_SYMLINK,
4250
3560
  mode,
4251
3561
  function(err, fd) {
@@ -4253,80 +3563,80 @@ var require_polyfills2 = __commonJS({
4253
3563
  if (callback) callback(err);
4254
3564
  return;
4255
3565
  }
4256
- fs5.fchmod(fd, mode, function(err2) {
4257
- fs5.close(fd, function(err22) {
3566
+ fs6.fchmod(fd, mode, function(err2) {
3567
+ fs6.close(fd, function(err22) {
4258
3568
  if (callback) callback(err2 || err22);
4259
3569
  });
4260
3570
  });
4261
3571
  }
4262
3572
  );
4263
3573
  };
4264
- fs5.lchmodSync = function(path7, mode) {
4265
- var fd = fs5.openSync(path7, constants.O_WRONLY | constants.O_SYMLINK, mode);
3574
+ fs6.lchmodSync = function(path9, mode) {
3575
+ var fd = fs6.openSync(path9, constants.O_WRONLY | constants.O_SYMLINK, mode);
4266
3576
  var threw = true;
4267
3577
  var ret;
4268
3578
  try {
4269
- ret = fs5.fchmodSync(fd, mode);
3579
+ ret = fs6.fchmodSync(fd, mode);
4270
3580
  threw = false;
4271
3581
  } finally {
4272
3582
  if (threw) {
4273
3583
  try {
4274
- fs5.closeSync(fd);
3584
+ fs6.closeSync(fd);
4275
3585
  } catch (er) {
4276
3586
  }
4277
3587
  } else {
4278
- fs5.closeSync(fd);
3588
+ fs6.closeSync(fd);
4279
3589
  }
4280
3590
  }
4281
3591
  return ret;
4282
3592
  };
4283
3593
  }
4284
- function patchLutimes(fs5) {
4285
- if (constants.hasOwnProperty("O_SYMLINK") && fs5.futimes) {
4286
- fs5.lutimes = function(path7, at, mt, cb) {
4287
- fs5.open(path7, constants.O_SYMLINK, function(er, fd) {
3594
+ function patchLutimes(fs6) {
3595
+ if (constants.hasOwnProperty("O_SYMLINK") && fs6.futimes) {
3596
+ fs6.lutimes = function(path9, at, mt, cb) {
3597
+ fs6.open(path9, constants.O_SYMLINK, function(er, fd) {
4288
3598
  if (er) {
4289
3599
  if (cb) cb(er);
4290
3600
  return;
4291
3601
  }
4292
- fs5.futimes(fd, at, mt, function(er2) {
4293
- fs5.close(fd, function(er22) {
3602
+ fs6.futimes(fd, at, mt, function(er2) {
3603
+ fs6.close(fd, function(er22) {
4294
3604
  if (cb) cb(er2 || er22);
4295
3605
  });
4296
3606
  });
4297
3607
  });
4298
3608
  };
4299
- fs5.lutimesSync = function(path7, at, mt) {
4300
- var fd = fs5.openSync(path7, constants.O_SYMLINK);
3609
+ fs6.lutimesSync = function(path9, at, mt) {
3610
+ var fd = fs6.openSync(path9, constants.O_SYMLINK);
4301
3611
  var ret;
4302
3612
  var threw = true;
4303
3613
  try {
4304
- ret = fs5.futimesSync(fd, at, mt);
3614
+ ret = fs6.futimesSync(fd, at, mt);
4305
3615
  threw = false;
4306
3616
  } finally {
4307
3617
  if (threw) {
4308
3618
  try {
4309
- fs5.closeSync(fd);
3619
+ fs6.closeSync(fd);
4310
3620
  } catch (er) {
4311
3621
  }
4312
3622
  } else {
4313
- fs5.closeSync(fd);
3623
+ fs6.closeSync(fd);
4314
3624
  }
4315
3625
  }
4316
3626
  return ret;
4317
3627
  };
4318
- } else if (fs5.futimes) {
4319
- fs5.lutimes = function(_a, _b, _c, cb) {
3628
+ } else if (fs6.futimes) {
3629
+ fs6.lutimes = function(_a, _b, _c, cb) {
4320
3630
  if (cb) process.nextTick(cb);
4321
3631
  };
4322
- fs5.lutimesSync = function() {
3632
+ fs6.lutimesSync = function() {
4323
3633
  };
4324
3634
  }
4325
3635
  }
4326
3636
  function chmodFix(orig) {
4327
3637
  if (!orig) return orig;
4328
3638
  return function(target, mode, cb) {
4329
- return orig.call(fs4, target, mode, function(er) {
3639
+ return orig.call(fs5, target, mode, function(er) {
4330
3640
  if (chownErOk(er)) er = null;
4331
3641
  if (cb) cb.apply(this, arguments);
4332
3642
  });
@@ -4336,7 +3646,7 @@ var require_polyfills2 = __commonJS({
4336
3646
  if (!orig) return orig;
4337
3647
  return function(target, mode) {
4338
3648
  try {
4339
- return orig.call(fs4, target, mode);
3649
+ return orig.call(fs5, target, mode);
4340
3650
  } catch (er) {
4341
3651
  if (!chownErOk(er)) throw er;
4342
3652
  }
@@ -4345,7 +3655,7 @@ var require_polyfills2 = __commonJS({
4345
3655
  function chownFix(orig) {
4346
3656
  if (!orig) return orig;
4347
3657
  return function(target, uid, gid, cb) {
4348
- return orig.call(fs4, target, uid, gid, function(er) {
3658
+ return orig.call(fs5, target, uid, gid, function(er) {
4349
3659
  if (chownErOk(er)) er = null;
4350
3660
  if (cb) cb.apply(this, arguments);
4351
3661
  });
@@ -4355,7 +3665,7 @@ var require_polyfills2 = __commonJS({
4355
3665
  if (!orig) return orig;
4356
3666
  return function(target, uid, gid) {
4357
3667
  try {
4358
- return orig.call(fs4, target, uid, gid);
3668
+ return orig.call(fs5, target, uid, gid);
4359
3669
  } catch (er) {
4360
3670
  if (!chownErOk(er)) throw er;
4361
3671
  }
@@ -4375,13 +3685,13 @@ var require_polyfills2 = __commonJS({
4375
3685
  }
4376
3686
  if (cb) cb.apply(this, arguments);
4377
3687
  }
4378
- return options ? orig.call(fs4, target, options, callback) : orig.call(fs4, target, callback);
3688
+ return options ? orig.call(fs5, target, options, callback) : orig.call(fs5, target, callback);
4379
3689
  };
4380
3690
  }
4381
3691
  function statFixSync(orig) {
4382
3692
  if (!orig) return orig;
4383
3693
  return function(target, options) {
4384
- var stats = options ? orig.call(fs4, target, options) : orig.call(fs4, target);
3694
+ var stats = options ? orig.call(fs5, target, options) : orig.call(fs5, target);
4385
3695
  if (stats) {
4386
3696
  if (stats.uid < 0) stats.uid += 4294967296;
4387
3697
  if (stats.gid < 0) stats.gid += 4294967296;
@@ -4412,16 +3722,16 @@ var require_legacy_streams2 = __commonJS({
4412
3722
  init_cjs_shims();
4413
3723
  var Stream = require("stream").Stream;
4414
3724
  module2.exports = legacy;
4415
- function legacy(fs4) {
3725
+ function legacy(fs5) {
4416
3726
  return {
4417
3727
  ReadStream,
4418
3728
  WriteStream
4419
3729
  };
4420
- function ReadStream(path7, options) {
4421
- if (!(this instanceof ReadStream)) return new ReadStream(path7, options);
3730
+ function ReadStream(path9, options) {
3731
+ if (!(this instanceof ReadStream)) return new ReadStream(path9, options);
4422
3732
  Stream.call(this);
4423
3733
  var self = this;
4424
- this.path = path7;
3734
+ this.path = path9;
4425
3735
  this.fd = null;
4426
3736
  this.readable = true;
4427
3737
  this.paused = false;
@@ -4455,7 +3765,7 @@ var require_legacy_streams2 = __commonJS({
4455
3765
  });
4456
3766
  return;
4457
3767
  }
4458
- fs4.open(this.path, this.flags, this.mode, function(err, fd) {
3768
+ fs5.open(this.path, this.flags, this.mode, function(err, fd) {
4459
3769
  if (err) {
4460
3770
  self.emit("error", err);
4461
3771
  self.readable = false;
@@ -4466,10 +3776,10 @@ var require_legacy_streams2 = __commonJS({
4466
3776
  self._read();
4467
3777
  });
4468
3778
  }
4469
- function WriteStream(path7, options) {
4470
- if (!(this instanceof WriteStream)) return new WriteStream(path7, options);
3779
+ function WriteStream(path9, options) {
3780
+ if (!(this instanceof WriteStream)) return new WriteStream(path9, options);
4471
3781
  Stream.call(this);
4472
- this.path = path7;
3782
+ this.path = path9;
4473
3783
  this.fd = null;
4474
3784
  this.writable = true;
4475
3785
  this.flags = "w";
@@ -4494,7 +3804,7 @@ var require_legacy_streams2 = __commonJS({
4494
3804
  this.busy = false;
4495
3805
  this._queue = [];
4496
3806
  if (this.fd === null) {
4497
- this._open = fs4.open;
3807
+ this._open = fs5.open;
4498
3808
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
4499
3809
  this.flush();
4500
3810
  }
@@ -4532,7 +3842,7 @@ var require_graceful_fs2 = __commonJS({
4532
3842
  "../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js"(exports2, module2) {
4533
3843
  "use strict";
4534
3844
  init_cjs_shims();
4535
- var fs4 = require("fs");
3845
+ var fs5 = require("fs");
4536
3846
  var polyfills = require_polyfills2();
4537
3847
  var legacy = require_legacy_streams2();
4538
3848
  var clone = require_clone2();
@@ -4564,12 +3874,12 @@ var require_graceful_fs2 = __commonJS({
4564
3874
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
4565
3875
  console.error(m);
4566
3876
  };
4567
- if (!fs4[gracefulQueue]) {
3877
+ if (!fs5[gracefulQueue]) {
4568
3878
  queue = global[gracefulQueue] || [];
4569
- publishQueue(fs4, queue);
4570
- fs4.close = function(fs$close) {
3879
+ publishQueue(fs5, queue);
3880
+ fs5.close = function(fs$close) {
4571
3881
  function close(fd, cb) {
4572
- return fs$close.call(fs4, fd, function(err) {
3882
+ return fs$close.call(fs5, fd, function(err) {
4573
3883
  if (!err) {
4574
3884
  resetQueue();
4575
3885
  }
@@ -4581,48 +3891,48 @@ var require_graceful_fs2 = __commonJS({
4581
3891
  value: fs$close
4582
3892
  });
4583
3893
  return close;
4584
- }(fs4.close);
4585
- fs4.closeSync = function(fs$closeSync) {
3894
+ }(fs5.close);
3895
+ fs5.closeSync = function(fs$closeSync) {
4586
3896
  function closeSync(fd) {
4587
- fs$closeSync.apply(fs4, arguments);
3897
+ fs$closeSync.apply(fs5, arguments);
4588
3898
  resetQueue();
4589
3899
  }
4590
3900
  Object.defineProperty(closeSync, previousSymbol, {
4591
3901
  value: fs$closeSync
4592
3902
  });
4593
3903
  return closeSync;
4594
- }(fs4.closeSync);
3904
+ }(fs5.closeSync);
4595
3905
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
4596
3906
  process.on("exit", function() {
4597
- debug(fs4[gracefulQueue]);
4598
- require("assert").equal(fs4[gracefulQueue].length, 0);
3907
+ debug(fs5[gracefulQueue]);
3908
+ require("assert").equal(fs5[gracefulQueue].length, 0);
4599
3909
  });
4600
3910
  }
4601
3911
  }
4602
3912
  var queue;
4603
3913
  if (!global[gracefulQueue]) {
4604
- publishQueue(global, fs4[gracefulQueue]);
4605
- }
4606
- module2.exports = patch(clone(fs4));
4607
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs4.__patched) {
4608
- module2.exports = patch(fs4);
4609
- fs4.__patched = true;
4610
- }
4611
- function patch(fs5) {
4612
- polyfills(fs5);
4613
- fs5.gracefulify = patch;
4614
- fs5.createReadStream = createReadStream;
4615
- fs5.createWriteStream = createWriteStream;
4616
- var fs$readFile = fs5.readFile;
4617
- fs5.readFile = readFile;
4618
- function readFile(path7, options, cb) {
3914
+ publishQueue(global, fs5[gracefulQueue]);
3915
+ }
3916
+ module2.exports = patch(clone(fs5));
3917
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs5.__patched) {
3918
+ module2.exports = patch(fs5);
3919
+ fs5.__patched = true;
3920
+ }
3921
+ function patch(fs6) {
3922
+ polyfills(fs6);
3923
+ fs6.gracefulify = patch;
3924
+ fs6.createReadStream = createReadStream;
3925
+ fs6.createWriteStream = createWriteStream;
3926
+ var fs$readFile = fs6.readFile;
3927
+ fs6.readFile = readFile;
3928
+ function readFile(path9, options, cb) {
4619
3929
  if (typeof options === "function")
4620
3930
  cb = options, options = null;
4621
- return go$readFile(path7, options, cb);
4622
- function go$readFile(path8, options2, cb2, startTime) {
4623
- return fs$readFile(path8, options2, function(err) {
3931
+ return go$readFile(path9, options, cb);
3932
+ function go$readFile(path10, options2, cb2, startTime) {
3933
+ return fs$readFile(path10, options2, function(err) {
4624
3934
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4625
- enqueue([go$readFile, [path8, options2, cb2], err, startTime || Date.now(), Date.now()]);
3935
+ enqueue([go$readFile, [path10, options2, cb2], err, startTime || Date.now(), Date.now()]);
4626
3936
  else {
4627
3937
  if (typeof cb2 === "function")
4628
3938
  cb2.apply(this, arguments);
@@ -4630,16 +3940,16 @@ var require_graceful_fs2 = __commonJS({
4630
3940
  });
4631
3941
  }
4632
3942
  }
4633
- var fs$writeFile = fs5.writeFile;
4634
- fs5.writeFile = writeFile;
4635
- function writeFile(path7, data, options, cb) {
3943
+ var fs$writeFile = fs6.writeFile;
3944
+ fs6.writeFile = writeFile;
3945
+ function writeFile(path9, data, options, cb) {
4636
3946
  if (typeof options === "function")
4637
3947
  cb = options, options = null;
4638
- return go$writeFile(path7, data, options, cb);
4639
- function go$writeFile(path8, data2, options2, cb2, startTime) {
4640
- return fs$writeFile(path8, data2, options2, function(err) {
3948
+ return go$writeFile(path9, data, options, cb);
3949
+ function go$writeFile(path10, data2, options2, cb2, startTime) {
3950
+ return fs$writeFile(path10, data2, options2, function(err) {
4641
3951
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4642
- enqueue([go$writeFile, [path8, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3952
+ enqueue([go$writeFile, [path10, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
4643
3953
  else {
4644
3954
  if (typeof cb2 === "function")
4645
3955
  cb2.apply(this, arguments);
@@ -4647,17 +3957,17 @@ var require_graceful_fs2 = __commonJS({
4647
3957
  });
4648
3958
  }
4649
3959
  }
4650
- var fs$appendFile = fs5.appendFile;
3960
+ var fs$appendFile = fs6.appendFile;
4651
3961
  if (fs$appendFile)
4652
- fs5.appendFile = appendFile;
4653
- function appendFile(path7, data, options, cb) {
3962
+ fs6.appendFile = appendFile;
3963
+ function appendFile(path9, data, options, cb) {
4654
3964
  if (typeof options === "function")
4655
3965
  cb = options, options = null;
4656
- return go$appendFile(path7, data, options, cb);
4657
- function go$appendFile(path8, data2, options2, cb2, startTime) {
4658
- return fs$appendFile(path8, data2, options2, function(err) {
3966
+ return go$appendFile(path9, data, options, cb);
3967
+ function go$appendFile(path10, data2, options2, cb2, startTime) {
3968
+ return fs$appendFile(path10, data2, options2, function(err) {
4659
3969
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4660
- enqueue([go$appendFile, [path8, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3970
+ enqueue([go$appendFile, [path10, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
4661
3971
  else {
4662
3972
  if (typeof cb2 === "function")
4663
3973
  cb2.apply(this, arguments);
@@ -4665,9 +3975,9 @@ var require_graceful_fs2 = __commonJS({
4665
3975
  });
4666
3976
  }
4667
3977
  }
4668
- var fs$copyFile = fs5.copyFile;
3978
+ var fs$copyFile = fs6.copyFile;
4669
3979
  if (fs$copyFile)
4670
- fs5.copyFile = copyFile;
3980
+ fs6.copyFile = copyFile;
4671
3981
  function copyFile(src, dest, flags, cb) {
4672
3982
  if (typeof flags === "function") {
4673
3983
  cb = flags;
@@ -4685,34 +3995,34 @@ var require_graceful_fs2 = __commonJS({
4685
3995
  });
4686
3996
  }
4687
3997
  }
4688
- var fs$readdir = fs5.readdir;
4689
- fs5.readdir = readdir;
3998
+ var fs$readdir = fs6.readdir;
3999
+ fs6.readdir = readdir;
4690
4000
  var noReaddirOptionVersions = /^v[0-5]\./;
4691
- function readdir(path7, options, cb) {
4001
+ function readdir(path9, options, cb) {
4692
4002
  if (typeof options === "function")
4693
4003
  cb = options, options = null;
4694
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path8, options2, cb2, startTime) {
4695
- return fs$readdir(path8, fs$readdirCallback(
4696
- path8,
4004
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path10, options2, cb2, startTime) {
4005
+ return fs$readdir(path10, fs$readdirCallback(
4006
+ path10,
4697
4007
  options2,
4698
4008
  cb2,
4699
4009
  startTime
4700
4010
  ));
4701
- } : function go$readdir2(path8, options2, cb2, startTime) {
4702
- return fs$readdir(path8, options2, fs$readdirCallback(
4703
- path8,
4011
+ } : function go$readdir2(path10, options2, cb2, startTime) {
4012
+ return fs$readdir(path10, options2, fs$readdirCallback(
4013
+ path10,
4704
4014
  options2,
4705
4015
  cb2,
4706
4016
  startTime
4707
4017
  ));
4708
4018
  };
4709
- return go$readdir(path7, options, cb);
4710
- function fs$readdirCallback(path8, options2, cb2, startTime) {
4019
+ return go$readdir(path9, options, cb);
4020
+ function fs$readdirCallback(path10, options2, cb2, startTime) {
4711
4021
  return function(err, files) {
4712
4022
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4713
4023
  enqueue([
4714
4024
  go$readdir,
4715
- [path8, options2, cb2],
4025
+ [path10, options2, cb2],
4716
4026
  err,
4717
4027
  startTime || Date.now(),
4718
4028
  Date.now()
@@ -4727,21 +4037,21 @@ var require_graceful_fs2 = __commonJS({
4727
4037
  }
4728
4038
  }
4729
4039
  if (process.version.substr(0, 4) === "v0.8") {
4730
- var legStreams = legacy(fs5);
4040
+ var legStreams = legacy(fs6);
4731
4041
  ReadStream = legStreams.ReadStream;
4732
4042
  WriteStream = legStreams.WriteStream;
4733
4043
  }
4734
- var fs$ReadStream = fs5.ReadStream;
4044
+ var fs$ReadStream = fs6.ReadStream;
4735
4045
  if (fs$ReadStream) {
4736
4046
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
4737
4047
  ReadStream.prototype.open = ReadStream$open;
4738
4048
  }
4739
- var fs$WriteStream = fs5.WriteStream;
4049
+ var fs$WriteStream = fs6.WriteStream;
4740
4050
  if (fs$WriteStream) {
4741
4051
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
4742
4052
  WriteStream.prototype.open = WriteStream$open;
4743
4053
  }
4744
- Object.defineProperty(fs5, "ReadStream", {
4054
+ Object.defineProperty(fs6, "ReadStream", {
4745
4055
  get: function() {
4746
4056
  return ReadStream;
4747
4057
  },
@@ -4751,7 +4061,7 @@ var require_graceful_fs2 = __commonJS({
4751
4061
  enumerable: true,
4752
4062
  configurable: true
4753
4063
  });
4754
- Object.defineProperty(fs5, "WriteStream", {
4064
+ Object.defineProperty(fs6, "WriteStream", {
4755
4065
  get: function() {
4756
4066
  return WriteStream;
4757
4067
  },
@@ -4762,7 +4072,7 @@ var require_graceful_fs2 = __commonJS({
4762
4072
  configurable: true
4763
4073
  });
4764
4074
  var FileReadStream = ReadStream;
4765
- Object.defineProperty(fs5, "FileReadStream", {
4075
+ Object.defineProperty(fs6, "FileReadStream", {
4766
4076
  get: function() {
4767
4077
  return FileReadStream;
4768
4078
  },
@@ -4773,7 +4083,7 @@ var require_graceful_fs2 = __commonJS({
4773
4083
  configurable: true
4774
4084
  });
4775
4085
  var FileWriteStream = WriteStream;
4776
- Object.defineProperty(fs5, "FileWriteStream", {
4086
+ Object.defineProperty(fs6, "FileWriteStream", {
4777
4087
  get: function() {
4778
4088
  return FileWriteStream;
4779
4089
  },
@@ -4783,7 +4093,7 @@ var require_graceful_fs2 = __commonJS({
4783
4093
  enumerable: true,
4784
4094
  configurable: true
4785
4095
  });
4786
- function ReadStream(path7, options) {
4096
+ function ReadStream(path9, options) {
4787
4097
  if (this instanceof ReadStream)
4788
4098
  return fs$ReadStream.apply(this, arguments), this;
4789
4099
  else
@@ -4803,7 +4113,7 @@ var require_graceful_fs2 = __commonJS({
4803
4113
  }
4804
4114
  });
4805
4115
  }
4806
- function WriteStream(path7, options) {
4116
+ function WriteStream(path9, options) {
4807
4117
  if (this instanceof WriteStream)
4808
4118
  return fs$WriteStream.apply(this, arguments), this;
4809
4119
  else
@@ -4821,22 +4131,22 @@ var require_graceful_fs2 = __commonJS({
4821
4131
  }
4822
4132
  });
4823
4133
  }
4824
- function createReadStream(path7, options) {
4825
- return new fs5.ReadStream(path7, options);
4134
+ function createReadStream(path9, options) {
4135
+ return new fs6.ReadStream(path9, options);
4826
4136
  }
4827
- function createWriteStream(path7, options) {
4828
- return new fs5.WriteStream(path7, options);
4137
+ function createWriteStream(path9, options) {
4138
+ return new fs6.WriteStream(path9, options);
4829
4139
  }
4830
- var fs$open = fs5.open;
4831
- fs5.open = open;
4832
- function open(path7, flags, mode, cb) {
4140
+ var fs$open = fs6.open;
4141
+ fs6.open = open;
4142
+ function open(path9, flags, mode, cb) {
4833
4143
  if (typeof mode === "function")
4834
4144
  cb = mode, mode = null;
4835
- return go$open(path7, flags, mode, cb);
4836
- function go$open(path8, flags2, mode2, cb2, startTime) {
4837
- return fs$open(path8, flags2, mode2, function(err, fd) {
4145
+ return go$open(path9, flags, mode, cb);
4146
+ function go$open(path10, flags2, mode2, cb2, startTime) {
4147
+ return fs$open(path10, flags2, mode2, function(err, fd) {
4838
4148
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4839
- enqueue([go$open, [path8, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
4149
+ enqueue([go$open, [path10, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
4840
4150
  else {
4841
4151
  if (typeof cb2 === "function")
4842
4152
  cb2.apply(this, arguments);
@@ -4844,20 +4154,20 @@ var require_graceful_fs2 = __commonJS({
4844
4154
  });
4845
4155
  }
4846
4156
  }
4847
- return fs5;
4157
+ return fs6;
4848
4158
  }
4849
4159
  function enqueue(elem) {
4850
4160
  debug("ENQUEUE", elem[0].name, elem[1]);
4851
- fs4[gracefulQueue].push(elem);
4161
+ fs5[gracefulQueue].push(elem);
4852
4162
  retry();
4853
4163
  }
4854
4164
  var retryTimer;
4855
4165
  function resetQueue() {
4856
4166
  var now = Date.now();
4857
- for (var i = 0; i < fs4[gracefulQueue].length; ++i) {
4858
- if (fs4[gracefulQueue][i].length > 2) {
4859
- fs4[gracefulQueue][i][3] = now;
4860
- fs4[gracefulQueue][i][4] = now;
4167
+ for (var i = 0; i < fs5[gracefulQueue].length; ++i) {
4168
+ if (fs5[gracefulQueue][i].length > 2) {
4169
+ fs5[gracefulQueue][i][3] = now;
4170
+ fs5[gracefulQueue][i][4] = now;
4861
4171
  }
4862
4172
  }
4863
4173
  retry();
@@ -4865,9 +4175,9 @@ var require_graceful_fs2 = __commonJS({
4865
4175
  function retry() {
4866
4176
  clearTimeout(retryTimer);
4867
4177
  retryTimer = void 0;
4868
- if (fs4[gracefulQueue].length === 0)
4178
+ if (fs5[gracefulQueue].length === 0)
4869
4179
  return;
4870
- var elem = fs4[gracefulQueue].shift();
4180
+ var elem = fs5[gracefulQueue].shift();
4871
4181
  var fn = elem[0];
4872
4182
  var args = elem[1];
4873
4183
  var err = elem[2];
@@ -4889,7 +4199,7 @@ var require_graceful_fs2 = __commonJS({
4889
4199
  debug("RETRY", fn.name, args);
4890
4200
  fn.apply(null, args.concat([startTime]));
4891
4201
  } else {
4892
- fs4[gracefulQueue].push(elem);
4202
+ fs5[gracefulQueue].push(elem);
4893
4203
  }
4894
4204
  }
4895
4205
  if (retryTimer === void 0) {
@@ -5055,8 +4365,8 @@ var require_config_chain = __commonJS({
5055
4365
  "use strict";
5056
4366
  init_cjs_shims();
5057
4367
  var ProtoList = require_proto_list();
5058
- var path7 = require("path");
5059
- var fs4 = require("fs");
4368
+ var path9 = require("path");
4369
+ var fs5 = require("fs");
5060
4370
  var ini2 = require_ini();
5061
4371
  var EE = require("events").EventEmitter;
5062
4372
  var url = require("url");
@@ -5070,15 +4380,15 @@ var require_config_chain = __commonJS({
5070
4380
  return conf;
5071
4381
  };
5072
4382
  var find = exports2.find = function() {
5073
- var rel = path7.join.apply(null, [].slice.call(arguments));
4383
+ var rel = path9.join.apply(null, [].slice.call(arguments));
5074
4384
  function find2(start, rel2) {
5075
- var file = path7.join(start, rel2);
4385
+ var file = path9.join(start, rel2);
5076
4386
  try {
5077
- fs4.statSync(file);
4387
+ fs5.statSync(file);
5078
4388
  return file;
5079
4389
  } catch (err) {
5080
- if (path7.dirname(start) !== start)
5081
- return find2(path7.dirname(start), rel2);
4390
+ if (path9.dirname(start) !== start)
4391
+ return find2(path9.dirname(start), rel2);
5082
4392
  }
5083
4393
  }
5084
4394
  return find2(__dirname, rel);
@@ -5109,10 +4419,10 @@ var require_config_chain = __commonJS({
5109
4419
  var args = [].slice.call(arguments).filter(function(arg) {
5110
4420
  return arg != null;
5111
4421
  });
5112
- var file = path7.join.apply(null, args);
4422
+ var file = path9.join.apply(null, args);
5113
4423
  var content;
5114
4424
  try {
5115
- content = fs4.readFileSync(file, "utf-8");
4425
+ content = fs5.readFileSync(file, "utf-8");
5116
4426
  } catch (err) {
5117
4427
  return;
5118
4428
  }
@@ -5205,7 +4515,7 @@ var require_config_chain = __commonJS({
5205
4515
  data = ini2.stringify(data);
5206
4516
  }
5207
4517
  this._saving++;
5208
- fs4.writeFile(target.path, data, "utf8", function(er) {
4518
+ fs5.writeFile(target.path, data, "utf8", function(er) {
5209
4519
  this._saving--;
5210
4520
  if (er) {
5211
4521
  if (cb) return cb(er);
@@ -5224,7 +4534,7 @@ var require_config_chain = __commonJS({
5224
4534
  this.sources[name] = { path: file, type };
5225
4535
  this.push(marker);
5226
4536
  this._await();
5227
- fs4.readFile(file, "utf8", function(er, data) {
4537
+ fs5.readFile(file, "utf8", function(er, data) {
5228
4538
  if (er) this.emit("error", er);
5229
4539
  this.addString(data, file, type, marker);
5230
4540
  }.bind(this));
@@ -5375,17 +4685,17 @@ var require_util = __commonJS({
5375
4685
  "../../node_modules/.pnpm/@pnpm+npm-conf@2.2.2/node_modules/@pnpm/npm-conf/lib/util.js"(exports2) {
5376
4686
  "use strict";
5377
4687
  init_cjs_shims();
5378
- var fs4 = require("fs");
5379
- var path7 = require("path");
4688
+ var fs5 = require("fs");
4689
+ var path9 = require("path");
5380
4690
  var { envReplace } = require_dist2();
5381
4691
  var parseField = (types, field, key) => {
5382
4692
  if (typeof field !== "string") {
5383
4693
  return field;
5384
4694
  }
5385
4695
  const typeList = [].concat(types[key]);
5386
- const isPath = typeList.indexOf(path7) !== -1;
4696
+ const isPath = typeList.indexOf(path9) !== -1;
5387
4697
  const isBool = typeList.indexOf(Boolean) !== -1;
5388
- const isString = typeList.indexOf(String) !== -1;
4698
+ const isString2 = typeList.indexOf(String) !== -1;
5389
4699
  const isNumber = typeList.indexOf(Number) !== -1;
5390
4700
  field = `${field}`.trim();
5391
4701
  if (/^".*"$/.test(field)) {
@@ -5395,7 +4705,7 @@ var require_util = __commonJS({
5395
4705
  throw new Error(`Failed parsing JSON config key ${key}: ${field}`);
5396
4706
  }
5397
4707
  }
5398
- if (isBool && !isString && field === "") {
4708
+ if (isBool && !isString2 && field === "") {
5399
4709
  return true;
5400
4710
  }
5401
4711
  switch (field) {
@@ -5416,9 +4726,9 @@ var require_util = __commonJS({
5416
4726
  if (isPath) {
5417
4727
  const regex2 = process.platform === "win32" ? /^~(\/|\\)/ : /^~\//;
5418
4728
  if (regex2.test(field) && process.env.HOME) {
5419
- field = path7.resolve(process.env.HOME, field.substr(2));
4729
+ field = path9.resolve(process.env.HOME, field.substr(2));
5420
4730
  }
5421
- field = path7.resolve(field);
4731
+ field = path9.resolve(field);
5422
4732
  }
5423
4733
  if (isNumber && !isNaN(field)) {
5424
4734
  field = Number(field);
@@ -5426,10 +4736,10 @@ var require_util = __commonJS({
5426
4736
  return field;
5427
4737
  };
5428
4738
  var findPrefix = (name) => {
5429
- name = path7.resolve(name);
4739
+ name = path9.resolve(name);
5430
4740
  let walkedUp = false;
5431
- while (path7.basename(name) === "node_modules") {
5432
- name = path7.dirname(name);
4741
+ while (path9.basename(name) === "node_modules") {
4742
+ name = path9.dirname(name);
5433
4743
  walkedUp = true;
5434
4744
  }
5435
4745
  if (walkedUp) {
@@ -5441,11 +4751,11 @@ var require_util = __commonJS({
5441
4751
  return original;
5442
4752
  }
5443
4753
  try {
5444
- const files = fs4.readdirSync(name2);
4754
+ const files = fs5.readdirSync(name2);
5445
4755
  if (files.includes("node_modules") || files.includes("package.json") || files.includes("package.json5") || files.includes("package.yaml") || files.includes("pnpm-workspace.yaml")) {
5446
4756
  return name2;
5447
4757
  }
5448
- const dirname = path7.dirname(name2);
4758
+ const dirname = path9.dirname(name2);
5449
4759
  if (dirname === name2) {
5450
4760
  return original;
5451
4761
  }
@@ -5473,7 +4783,7 @@ var require_types = __commonJS({
5473
4783
  "../../node_modules/.pnpm/@pnpm+npm-conf@2.2.2/node_modules/@pnpm/npm-conf/lib/types.js"(exports2) {
5474
4784
  "use strict";
5475
4785
  init_cjs_shims();
5476
- var path7 = require("path");
4786
+ var path9 = require("path");
5477
4787
  var Stream = require("stream").Stream;
5478
4788
  var url = require("url");
5479
4789
  var Umask = () => {
@@ -5491,8 +4801,8 @@ var require_types = __commonJS({
5491
4801
  "bin-links": Boolean,
5492
4802
  browser: [null, String],
5493
4803
  ca: [null, String, Array],
5494
- cafile: path7,
5495
- cache: path7,
4804
+ cafile: path9,
4805
+ cache: path9,
5496
4806
  "cache-lock-stale": Number,
5497
4807
  "cache-lock-retries": Number,
5498
4808
  "cache-lock-wait": Number,
@@ -5516,7 +4826,7 @@ var require_types = __commonJS({
5516
4826
  "git-tag-version": Boolean,
5517
4827
  "commit-hooks": Boolean,
5518
4828
  global: Boolean,
5519
- globalconfig: path7,
4829
+ globalconfig: path9,
5520
4830
  "global-style": Boolean,
5521
4831
  group: [Number, String],
5522
4832
  "https-proxy": [null, url],
@@ -5526,7 +4836,7 @@ var require_types = __commonJS({
5526
4836
  "if-present": Boolean,
5527
4837
  "ignore-prepublish": Boolean,
5528
4838
  "ignore-scripts": Boolean,
5529
- "init-module": path7,
4839
+ "init-module": path9,
5530
4840
  "init-author-name": String,
5531
4841
  "init-author-email": String,
5532
4842
  "init-author-url": ["", url],
@@ -5559,7 +4869,7 @@ var require_types = __commonJS({
5559
4869
  parseable: Boolean,
5560
4870
  "prefer-offline": Boolean,
5561
4871
  "prefer-online": Boolean,
5562
- prefix: path7,
4872
+ prefix: path9,
5563
4873
  production: Boolean,
5564
4874
  progress: Boolean,
5565
4875
  proxy: [null, false, url],
@@ -5592,12 +4902,12 @@ var require_types = __commonJS({
5592
4902
  "strict-ssl": Boolean,
5593
4903
  tag: String,
5594
4904
  timing: Boolean,
5595
- tmp: path7,
4905
+ tmp: path9,
5596
4906
  unicode: Boolean,
5597
4907
  "unsafe-perm": Boolean,
5598
4908
  usage: Boolean,
5599
4909
  user: [Number, String],
5600
- userconfig: path7,
4910
+ userconfig: path9,
5601
4911
  umask: Umask,
5602
4912
  version: Boolean,
5603
4913
  "tag-version-prefix": String,
@@ -5614,8 +4924,8 @@ var require_conf = __commonJS({
5614
4924
  "use strict";
5615
4925
  init_cjs_shims();
5616
4926
  var { readCAFileSync } = require_dist();
5617
- var fs4 = require("fs");
5618
- var path7 = require("path");
4927
+ var fs5 = require("fs");
4928
+ var path9 = require("path");
5619
4929
  var { ConfigChain } = require_config_chain();
5620
4930
  var envKeyToSetting = require_envKeyToSetting();
5621
4931
  var util = require_util();
@@ -5645,7 +4955,7 @@ var require_conf = __commonJS({
5645
4955
  this.push(marker);
5646
4956
  this._await();
5647
4957
  try {
5648
- const contents = fs4.readFileSync(file, "utf8");
4958
+ const contents = fs5.readFileSync(file, "utf8");
5649
4959
  this.addString(contents, file, "ini", marker);
5650
4960
  } catch (error) {
5651
4961
  if (error.code === "ENOENT") {
@@ -5687,7 +4997,7 @@ var require_conf = __commonJS({
5687
4997
  this.set("prefix", prefix);
5688
4998
  },
5689
4999
  get: () => {
5690
- return path7.resolve(this.get("prefix"));
5000
+ return path9.resolve(this.get("prefix"));
5691
5001
  }
5692
5002
  });
5693
5003
  let p;
@@ -5701,7 +5011,7 @@ var require_conf = __commonJS({
5701
5011
  }
5702
5012
  });
5703
5013
  if (Object.prototype.hasOwnProperty.call(cli, "prefix")) {
5704
- p = path7.resolve(cli.prefix);
5014
+ p = path9.resolve(cli.prefix);
5705
5015
  } else {
5706
5016
  try {
5707
5017
  const prefix = util.findPrefix(process.cwd());
@@ -5732,9 +5042,9 @@ var require_conf = __commonJS({
5732
5042
  defConf.user = Number(process.env.SUDO_UID);
5733
5043
  return;
5734
5044
  }
5735
- const prefix = path7.resolve(this.get("prefix"));
5045
+ const prefix = path9.resolve(this.get("prefix"));
5736
5046
  try {
5737
- const stats = fs4.statSync(prefix);
5047
+ const stats = fs5.statSync(prefix);
5738
5048
  defConf.user = stats.uid;
5739
5049
  } catch (error) {
5740
5050
  if (error.code === "ENOENT") {
@@ -5753,9 +5063,9 @@ var require_defaults = __commonJS({
5753
5063
  "../../node_modules/.pnpm/@pnpm+npm-conf@2.2.2/node_modules/@pnpm/npm-conf/lib/defaults.js"(exports2) {
5754
5064
  "use strict";
5755
5065
  init_cjs_shims();
5756
- var os5 = require("os");
5757
- var path7 = require("path");
5758
- var temp = os5.tmpdir();
5066
+ var os6 = require("os");
5067
+ var path9 = require("path");
5068
+ var temp = os6.tmpdir();
5759
5069
  var uidOrPid = process.getuid ? process.getuid() : process.pid;
5760
5070
  var hasUnicode = () => true;
5761
5071
  var isWindows2 = process.platform === "win32";
@@ -5766,15 +5076,15 @@ var require_defaults = __commonJS({
5766
5076
  var umask = {
5767
5077
  fromString: () => process.umask()
5768
5078
  };
5769
- var home = os5.homedir();
5079
+ var home = os6.homedir();
5770
5080
  if (home) {
5771
5081
  process.env.HOME = home;
5772
5082
  } else {
5773
- home = path7.resolve(temp, "npm-" + uidOrPid);
5083
+ home = path9.resolve(temp, "npm-" + uidOrPid);
5774
5084
  }
5775
5085
  var cacheExtra = process.platform === "win32" ? "npm-cache" : ".npm";
5776
5086
  var cacheRoot = process.platform === "win32" && process.env.APPDATA || home;
5777
- var cache = path7.resolve(cacheRoot, cacheExtra);
5087
+ var cache = path9.resolve(cacheRoot, cacheExtra);
5778
5088
  var defaults;
5779
5089
  var globalPrefix;
5780
5090
  Object.defineProperty(exports2, "defaults", {
@@ -5783,11 +5093,11 @@ var require_defaults = __commonJS({
5783
5093
  if (process.env.PREFIX) {
5784
5094
  globalPrefix = process.env.PREFIX;
5785
5095
  } else if (process.platform === "win32") {
5786
- globalPrefix = path7.dirname(process.execPath);
5096
+ globalPrefix = path9.dirname(process.execPath);
5787
5097
  } else {
5788
- globalPrefix = path7.dirname(path7.dirname(process.execPath));
5098
+ globalPrefix = path9.dirname(path9.dirname(process.execPath));
5789
5099
  if (process.env.DESTDIR) {
5790
- globalPrefix = path7.join(process.env.DESTDIR, globalPrefix);
5100
+ globalPrefix = path9.join(process.env.DESTDIR, globalPrefix);
5791
5101
  }
5792
5102
  }
5793
5103
  defaults = {
@@ -5825,7 +5135,7 @@ var require_defaults = __commonJS({
5825
5135
  "git-tag-version": true,
5826
5136
  "commit-hooks": true,
5827
5137
  global: false,
5828
- globalconfig: path7.resolve(globalPrefix, "etc", "npmrc"),
5138
+ globalconfig: path9.resolve(globalPrefix, "etc", "npmrc"),
5829
5139
  "global-style": false,
5830
5140
  group: process.platform === "win32" ? 0 : process.env.SUDO_GID || process.getgid && process.getgid(),
5831
5141
  "ham-it-up": false,
@@ -5833,7 +5143,7 @@ var require_defaults = __commonJS({
5833
5143
  "if-present": false,
5834
5144
  "ignore-prepublish": false,
5835
5145
  "ignore-scripts": false,
5836
- "init-module": path7.resolve(home, ".npm-init.js"),
5146
+ "init-module": path9.resolve(home, ".npm-init.js"),
5837
5147
  "init-author-name": "",
5838
5148
  "init-author-email": "",
5839
5149
  "init-author-url": "",
@@ -5904,7 +5214,7 @@ var require_defaults = __commonJS({
5904
5214
  "unsafe-perm": process.platform === "win32" || process.platform === "cygwin" || !(process.getuid && process.setuid && process.getgid && process.setgid) || process.getuid() !== 0,
5905
5215
  usage: false,
5906
5216
  user: process.platform === "win32" ? 0 : "nobody",
5907
- userconfig: path7.resolve(home, ".npmrc"),
5217
+ userconfig: path9.resolve(home, ".npmrc"),
5908
5218
  umask: process.umask ? process.umask() : umask.fromString("022"),
5909
5219
  version: false,
5910
5220
  versions: false,
@@ -5922,7 +5232,7 @@ var require_npm_conf = __commonJS({
5922
5232
  "../../node_modules/.pnpm/@pnpm+npm-conf@2.2.2/node_modules/@pnpm/npm-conf/index.js"(exports2, module2) {
5923
5233
  "use strict";
5924
5234
  init_cjs_shims();
5925
- var path7 = require("path");
5235
+ var path9 = require("path");
5926
5236
  var Conf = require_conf();
5927
5237
  var _defaults = require_defaults();
5928
5238
  module2.exports = (opts, types, defaults) => {
@@ -5939,12 +5249,12 @@ var require_npm_conf = __commonJS({
5939
5249
  failedToLoadBuiltInConfig = true;
5940
5250
  }
5941
5251
  if (npmPath) {
5942
- warnings.push(conf.addFile(path7.resolve(path7.dirname(npmPath), "..", "npmrc"), "builtin"));
5252
+ warnings.push(conf.addFile(path9.resolve(path9.dirname(npmPath), "..", "npmrc"), "builtin"));
5943
5253
  }
5944
5254
  }
5945
5255
  conf.addEnv();
5946
5256
  conf.loadPrefix();
5947
- const projectConf = path7.resolve(conf.localPrefix, ".npmrc");
5257
+ const projectConf = path9.resolve(conf.localPrefix, ".npmrc");
5948
5258
  const userConf = conf.get("userconfig");
5949
5259
  if (!conf.get("global") && projectConf !== userConf) {
5950
5260
  warnings.push(conf.addFile(projectConf, "project"));
@@ -5952,14 +5262,14 @@ var require_npm_conf = __commonJS({
5952
5262
  conf.add({}, "project");
5953
5263
  }
5954
5264
  if (conf.get("workspace-prefix") && conf.get("workspace-prefix") !== projectConf) {
5955
- const workspaceConf = path7.resolve(conf.get("workspace-prefix"), ".npmrc");
5265
+ const workspaceConf = path9.resolve(conf.get("workspace-prefix"), ".npmrc");
5956
5266
  warnings.push(conf.addFile(workspaceConf, "workspace"));
5957
5267
  }
5958
5268
  warnings.push(conf.addFile(conf.get("userconfig"), "user"));
5959
5269
  if (conf.get("prefix")) {
5960
- const etc = path7.resolve(conf.get("prefix"), "etc");
5961
- conf.root.globalconfig = path7.resolve(etc, "npmrc");
5962
- conf.root.globalignorefile = path7.resolve(etc, "npmignore");
5270
+ const etc = path9.resolve(conf.get("prefix"), "etc");
5271
+ conf.root.globalconfig = path9.resolve(etc, "npmrc");
5272
+ conf.root.globalignorefile = path9.resolve(etc, "npmignore");
5963
5273
  }
5964
5274
  warnings.push(conf.addFile(conf.get("globalconfig"), "global"));
5965
5275
  conf.loadUser();
@@ -6038,8 +5348,8 @@ var require_registry_auth_token = __commonJS({
6038
5348
  const token = replaceEnvironmentVariable(npmrc.get("_auth"));
6039
5349
  return { token, type: "Basic" };
6040
5350
  }
6041
- function normalizePath(path7) {
6042
- return path7[path7.length - 1] === "/" ? path7 : path7 + "/";
5351
+ function normalizePath(path9) {
5352
+ return path9[path9.length - 1] === "/" ? path9 : path9 + "/";
6043
5353
  }
6044
5354
  function getAuthInfoForUrl(regUrl, npmrc) {
6045
5355
  const bearerAuth = getBearerToken(npmrc.get(regUrl + tokenKey) || npmrc.get(regUrl + "/" + tokenKey));
@@ -6307,214 +5617,17 @@ var require_ini2 = __commonJS({
6307
5617
  }
6308
5618
  });
6309
5619
 
6310
- // ../../node_modules/.pnpm/eastasianwidth@0.2.0/node_modules/eastasianwidth/eastasianwidth.js
6311
- var require_eastasianwidth = __commonJS({
6312
- "../../node_modules/.pnpm/eastasianwidth@0.2.0/node_modules/eastasianwidth/eastasianwidth.js"(exports2, module2) {
5620
+ // ../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js
5621
+ var require_ansi_regex = __commonJS({
5622
+ "../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports2, module2) {
6313
5623
  "use strict";
6314
5624
  init_cjs_shims();
6315
- var eaw = {};
6316
- if ("undefined" == typeof module2) {
6317
- window.eastasianwidth = eaw;
6318
- } else {
6319
- module2.exports = eaw;
6320
- }
6321
- eaw.eastAsianWidth = function(character) {
6322
- var x = character.charCodeAt(0);
6323
- var y = character.length == 2 ? character.charCodeAt(1) : 0;
6324
- var codePoint = x;
6325
- if (55296 <= x && x <= 56319 && (56320 <= y && y <= 57343)) {
6326
- x &= 1023;
6327
- y &= 1023;
6328
- codePoint = x << 10 | y;
6329
- codePoint += 65536;
6330
- }
6331
- if (12288 == codePoint || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510) {
6332
- return "F";
6333
- }
6334
- if (8361 == codePoint || 65377 <= codePoint && codePoint <= 65470 || 65474 <= codePoint && codePoint <= 65479 || 65482 <= codePoint && codePoint <= 65487 || 65490 <= codePoint && codePoint <= 65495 || 65498 <= codePoint && codePoint <= 65500 || 65512 <= codePoint && codePoint <= 65518) {
6335
- return "H";
6336
- }
6337
- if (4352 <= codePoint && codePoint <= 4447 || 4515 <= codePoint && codePoint <= 4519 || 4602 <= codePoint && codePoint <= 4607 || 9001 <= codePoint && codePoint <= 9002 || 11904 <= codePoint && codePoint <= 11929 || 11931 <= codePoint && codePoint <= 12019 || 12032 <= codePoint && codePoint <= 12245 || 12272 <= codePoint && codePoint <= 12283 || 12289 <= codePoint && codePoint <= 12350 || 12353 <= codePoint && codePoint <= 12438 || 12441 <= codePoint && codePoint <= 12543 || 12549 <= codePoint && codePoint <= 12589 || 12593 <= codePoint && codePoint <= 12686 || 12688 <= codePoint && codePoint <= 12730 || 12736 <= codePoint && codePoint <= 12771 || 12784 <= codePoint && codePoint <= 12830 || 12832 <= codePoint && codePoint <= 12871 || 12880 <= codePoint && codePoint <= 13054 || 13056 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42124 || 42128 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 55216 <= codePoint && codePoint <= 55238 || 55243 <= codePoint && codePoint <= 55291 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65106 || 65108 <= codePoint && codePoint <= 65126 || 65128 <= codePoint && codePoint <= 65131 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127490 || 127504 <= codePoint && codePoint <= 127546 || 127552 <= codePoint && codePoint <= 127560 || 127568 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 194367 || 177984 <= codePoint && codePoint <= 196605 || 196608 <= codePoint && codePoint <= 262141) {
6338
- return "W";
6339
- }
6340
- if (32 <= codePoint && codePoint <= 126 || 162 <= codePoint && codePoint <= 163 || 165 <= codePoint && codePoint <= 166 || 172 == codePoint || 175 == codePoint || 10214 <= codePoint && codePoint <= 10221 || 10629 <= codePoint && codePoint <= 10630) {
6341
- return "Na";
6342
- }
6343
- if (161 == codePoint || 164 == codePoint || 167 <= codePoint && codePoint <= 168 || 170 == codePoint || 173 <= codePoint && codePoint <= 174 || 176 <= codePoint && codePoint <= 180 || 182 <= codePoint && codePoint <= 186 || 188 <= codePoint && codePoint <= 191 || 198 == codePoint || 208 == codePoint || 215 <= codePoint && codePoint <= 216 || 222 <= codePoint && codePoint <= 225 || 230 == codePoint || 232 <= codePoint && codePoint <= 234 || 236 <= codePoint && codePoint <= 237 || 240 == codePoint || 242 <= codePoint && codePoint <= 243 || 247 <= codePoint && codePoint <= 250 || 252 == codePoint || 254 == codePoint || 257 == codePoint || 273 == codePoint || 275 == codePoint || 283 == codePoint || 294 <= codePoint && codePoint <= 295 || 299 == codePoint || 305 <= codePoint && codePoint <= 307 || 312 == codePoint || 319 <= codePoint && codePoint <= 322 || 324 == codePoint || 328 <= codePoint && codePoint <= 331 || 333 == codePoint || 338 <= codePoint && codePoint <= 339 || 358 <= codePoint && codePoint <= 359 || 363 == codePoint || 462 == codePoint || 464 == codePoint || 466 == codePoint || 468 == codePoint || 470 == codePoint || 472 == codePoint || 474 == codePoint || 476 == codePoint || 593 == codePoint || 609 == codePoint || 708 == codePoint || 711 == codePoint || 713 <= codePoint && codePoint <= 715 || 717 == codePoint || 720 == codePoint || 728 <= codePoint && codePoint <= 731 || 733 == codePoint || 735 == codePoint || 768 <= codePoint && codePoint <= 879 || 913 <= codePoint && codePoint <= 929 || 931 <= codePoint && codePoint <= 937 || 945 <= codePoint && codePoint <= 961 || 963 <= codePoint && codePoint <= 969 || 1025 == codePoint || 1040 <= codePoint && codePoint <= 1103 || 1105 == codePoint || 8208 == codePoint || 8211 <= codePoint && codePoint <= 8214 || 8216 <= codePoint && codePoint <= 8217 || 8220 <= codePoint && codePoint <= 8221 || 8224 <= codePoint && codePoint <= 8226 || 8228 <= codePoint && codePoint <= 8231 || 8240 == codePoint || 8242 <= codePoint && codePoint <= 8243 || 8245 == codePoint || 8251 == codePoint || 8254 == codePoint || 8308 == codePoint || 8319 == codePoint || 8321 <= codePoint && codePoint <= 8324 || 8364 == codePoint || 8451 == codePoint || 8453 == codePoint || 8457 == codePoint || 8467 == codePoint || 8470 == codePoint || 8481 <= codePoint && codePoint <= 8482 || 8486 == codePoint || 8491 == codePoint || 8531 <= codePoint && codePoint <= 8532 || 8539 <= codePoint && codePoint <= 8542 || 8544 <= codePoint && codePoint <= 8555 || 8560 <= codePoint && codePoint <= 8569 || 8585 == codePoint || 8592 <= codePoint && codePoint <= 8601 || 8632 <= codePoint && codePoint <= 8633 || 8658 == codePoint || 8660 == codePoint || 8679 == codePoint || 8704 == codePoint || 8706 <= codePoint && codePoint <= 8707 || 8711 <= codePoint && codePoint <= 8712 || 8715 == codePoint || 8719 == codePoint || 8721 == codePoint || 8725 == codePoint || 8730 == codePoint || 8733 <= codePoint && codePoint <= 8736 || 8739 == codePoint || 8741 == codePoint || 8743 <= codePoint && codePoint <= 8748 || 8750 == codePoint || 8756 <= codePoint && codePoint <= 8759 || 8764 <= codePoint && codePoint <= 8765 || 8776 == codePoint || 8780 == codePoint || 8786 == codePoint || 8800 <= codePoint && codePoint <= 8801 || 8804 <= codePoint && codePoint <= 8807 || 8810 <= codePoint && codePoint <= 8811 || 8814 <= codePoint && codePoint <= 8815 || 8834 <= codePoint && codePoint <= 8835 || 8838 <= codePoint && codePoint <= 8839 || 8853 == codePoint || 8857 == codePoint || 8869 == codePoint || 8895 == codePoint || 8978 == codePoint || 9312 <= codePoint && codePoint <= 9449 || 9451 <= codePoint && codePoint <= 9547 || 9552 <= codePoint && codePoint <= 9587 || 9600 <= codePoint && codePoint <= 9615 || 9618 <= codePoint && codePoint <= 9621 || 9632 <= codePoint && codePoint <= 9633 || 9635 <= codePoint && codePoint <= 9641 || 9650 <= codePoint && codePoint <= 9651 || 9654 <= codePoint && codePoint <= 9655 || 9660 <= codePoint && codePoint <= 9661 || 9664 <= codePoint && codePoint <= 9665 || 9670 <= codePoint && codePoint <= 9672 || 9675 == codePoint || 9678 <= codePoint && codePoint <= 9681 || 9698 <= codePoint && codePoint <= 9701 || 9711 == codePoint || 9733 <= codePoint && codePoint <= 9734 || 9737 == codePoint || 9742 <= codePoint && codePoint <= 9743 || 9748 <= codePoint && codePoint <= 9749 || 9756 == codePoint || 9758 == codePoint || 9792 == codePoint || 9794 == codePoint || 9824 <= codePoint && codePoint <= 9825 || 9827 <= codePoint && codePoint <= 9829 || 9831 <= codePoint && codePoint <= 9834 || 9836 <= codePoint && codePoint <= 9837 || 9839 == codePoint || 9886 <= codePoint && codePoint <= 9887 || 9918 <= codePoint && codePoint <= 9919 || 9924 <= codePoint && codePoint <= 9933 || 9935 <= codePoint && codePoint <= 9953 || 9955 == codePoint || 9960 <= codePoint && codePoint <= 9983 || 10045 == codePoint || 10071 == codePoint || 10102 <= codePoint && codePoint <= 10111 || 11093 <= codePoint && codePoint <= 11097 || 12872 <= codePoint && codePoint <= 12879 || 57344 <= codePoint && codePoint <= 63743 || 65024 <= codePoint && codePoint <= 65039 || 65533 == codePoint || 127232 <= codePoint && codePoint <= 127242 || 127248 <= codePoint && codePoint <= 127277 || 127280 <= codePoint && codePoint <= 127337 || 127344 <= codePoint && codePoint <= 127386 || 917760 <= codePoint && codePoint <= 917999 || 983040 <= codePoint && codePoint <= 1048573 || 1048576 <= codePoint && codePoint <= 1114109) {
6344
- return "A";
6345
- }
6346
- return "N";
6347
- };
6348
- eaw.characterLength = function(character) {
6349
- var code = this.eastAsianWidth(character);
6350
- if (code == "F" || code == "W" || code == "A") {
6351
- return 2;
6352
- } else {
6353
- return 1;
6354
- }
6355
- };
6356
- function stringToArray(string) {
6357
- return string.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
6358
- }
6359
- eaw.length = function(string) {
6360
- var characters = stringToArray(string);
6361
- var len = 0;
6362
- for (var i = 0; i < characters.length; i++) {
6363
- len = len + this.characterLength(characters[i]);
6364
- }
6365
- return len;
6366
- };
6367
- eaw.slice = function(text, start, end) {
6368
- textLen = eaw.length(text);
6369
- start = start ? start : 0;
6370
- end = end ? end : 1;
6371
- if (start < 0) {
6372
- start = textLen + start;
6373
- }
6374
- if (end < 0) {
6375
- end = textLen + end;
6376
- }
6377
- var result = "";
6378
- var eawLen = 0;
6379
- var chars = stringToArray(text);
6380
- for (var i = 0; i < chars.length; i++) {
6381
- var char = chars[i];
6382
- var charLen = eaw.length(char);
6383
- if (eawLen >= start - (charLen == 2 ? 1 : 0)) {
6384
- if (eawLen + charLen <= end) {
6385
- result += char;
6386
- } else {
6387
- break;
6388
- }
6389
- }
6390
- eawLen += charLen;
6391
- }
6392
- return result;
6393
- };
6394
- }
6395
- });
6396
-
6397
- // ../../node_modules/.pnpm/emoji-regex@9.2.2/node_modules/emoji-regex/index.js
6398
- var require_emoji_regex = __commonJS({
6399
- "../../node_modules/.pnpm/emoji-regex@9.2.2/node_modules/emoji-regex/index.js"(exports2, module2) {
6400
- "use strict";
6401
- init_cjs_shims();
6402
- module2.exports = function() {
6403
- return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
6404
- };
6405
- }
6406
- });
6407
-
6408
- // ../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json
6409
- var require_boxes = __commonJS({
6410
- "../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json"(exports2, module2) {
6411
- module2.exports = {
6412
- single: {
6413
- topLeft: "\u250C",
6414
- top: "\u2500",
6415
- topRight: "\u2510",
6416
- right: "\u2502",
6417
- bottomRight: "\u2518",
6418
- bottom: "\u2500",
6419
- bottomLeft: "\u2514",
6420
- left: "\u2502"
6421
- },
6422
- double: {
6423
- topLeft: "\u2554",
6424
- top: "\u2550",
6425
- topRight: "\u2557",
6426
- right: "\u2551",
6427
- bottomRight: "\u255D",
6428
- bottom: "\u2550",
6429
- bottomLeft: "\u255A",
6430
- left: "\u2551"
6431
- },
6432
- round: {
6433
- topLeft: "\u256D",
6434
- top: "\u2500",
6435
- topRight: "\u256E",
6436
- right: "\u2502",
6437
- bottomRight: "\u256F",
6438
- bottom: "\u2500",
6439
- bottomLeft: "\u2570",
6440
- left: "\u2502"
6441
- },
6442
- bold: {
6443
- topLeft: "\u250F",
6444
- top: "\u2501",
6445
- topRight: "\u2513",
6446
- right: "\u2503",
6447
- bottomRight: "\u251B",
6448
- bottom: "\u2501",
6449
- bottomLeft: "\u2517",
6450
- left: "\u2503"
6451
- },
6452
- singleDouble: {
6453
- topLeft: "\u2553",
6454
- top: "\u2500",
6455
- topRight: "\u2556",
6456
- right: "\u2551",
6457
- bottomRight: "\u255C",
6458
- bottom: "\u2500",
6459
- bottomLeft: "\u2559",
6460
- left: "\u2551"
6461
- },
6462
- doubleSingle: {
6463
- topLeft: "\u2552",
6464
- top: "\u2550",
6465
- topRight: "\u2555",
6466
- right: "\u2502",
6467
- bottomRight: "\u255B",
6468
- bottom: "\u2550",
6469
- bottomLeft: "\u2558",
6470
- left: "\u2502"
6471
- },
6472
- classic: {
6473
- topLeft: "+",
6474
- top: "-",
6475
- topRight: "+",
6476
- right: "|",
6477
- bottomRight: "+",
6478
- bottom: "-",
6479
- bottomLeft: "+",
6480
- left: "|"
6481
- },
6482
- arrow: {
6483
- topLeft: "\u2198",
6484
- top: "\u2193",
6485
- topRight: "\u2199",
6486
- right: "\u2190",
6487
- bottomRight: "\u2196",
6488
- bottom: "\u2191",
6489
- bottomLeft: "\u2197",
6490
- left: "\u2192"
6491
- }
6492
- };
6493
- }
6494
- });
6495
-
6496
- // ../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js
6497
- var require_cli_boxes = __commonJS({
6498
- "../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js"(exports2, module2) {
6499
- "use strict";
6500
- init_cjs_shims();
6501
- var cliBoxes2 = require_boxes();
6502
- module2.exports = cliBoxes2;
6503
- module2.exports.default = cliBoxes2;
6504
- }
6505
- });
6506
-
6507
- // ../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js
6508
- var require_ansi_regex = __commonJS({
6509
- "../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports2, module2) {
6510
- "use strict";
6511
- init_cjs_shims();
6512
- module2.exports = ({ onlyFirst = false } = {}) => {
6513
- const pattern = [
6514
- "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
6515
- "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
6516
- ].join("|");
6517
- return new RegExp(pattern, onlyFirst ? void 0 : "g");
5625
+ module2.exports = ({ onlyFirst = false } = {}) => {
5626
+ const pattern = [
5627
+ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
5628
+ "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
5629
+ ].join("|");
5630
+ return new RegExp(pattern, onlyFirst ? void 0 : "g");
6518
5631
  };
6519
5632
  }
6520
5633
  });
@@ -6564,7 +5677,7 @@ var require_is_fullwidth_code_point = __commonJS({
6564
5677
  });
6565
5678
 
6566
5679
  // ../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js
6567
- var require_emoji_regex2 = __commonJS({
5680
+ var require_emoji_regex = __commonJS({
6568
5681
  "../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js"(exports2, module2) {
6569
5682
  "use strict";
6570
5683
  init_cjs_shims();
@@ -6581,7 +5694,7 @@ var require_string_width = __commonJS({
6581
5694
  init_cjs_shims();
6582
5695
  var stripAnsi2 = require_strip_ansi();
6583
5696
  var isFullwidthCodePoint = require_is_fullwidth_code_point();
6584
- var emojiRegex2 = require_emoji_regex2();
5697
+ var emojiRegex = require_emoji_regex();
6585
5698
  var stringWidth2 = (string) => {
6586
5699
  if (typeof string !== "string" || string.length === 0) {
6587
5700
  return 0;
@@ -6590,7 +5703,7 @@ var require_string_width = __commonJS({
6590
5703
  if (string.length === 0) {
6591
5704
  return 0;
6592
5705
  }
6593
- string = string.replace(emojiRegex2(), " ");
5706
+ string = string.replace(emojiRegex(), " ");
6594
5707
  let width = 0;
6595
5708
  for (let i = 0; i < string.length; i++) {
6596
5709
  const code = string.codePointAt(i);
@@ -6676,21 +5789,21 @@ var import_cli_check_node = __toESM(require("cli-check-node"));
6676
5789
  var import_cli_handle_unhandled = __toESM(require("cli-handle-unhandled"));
6677
5790
  var import_cli_welcome = __toESM(require("cli-welcome"));
6678
5791
 
6679
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/index.js
5792
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/index.js
6680
5793
  init_cjs_shims();
6681
5794
 
6682
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/update-notifier.js
5795
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/update-notifier.js
6683
5796
  init_cjs_shims();
6684
- var import_node_process6 = __toESM(require("process"), 1);
5797
+ var import_node_process10 = __toESM(require("process"), 1);
6685
5798
  var import_node_child_process = require("child_process");
6686
5799
  var import_node_url2 = require("url");
6687
- var import_node_path4 = __toESM(require("path"), 1);
6688
- var import_node_util = require("util");
5800
+ var import_node_path7 = __toESM(require("path"), 1);
5801
+ var import_node_util2 = require("util");
6689
5802
 
6690
- // ../../node_modules/.pnpm/configstore@6.0.0/node_modules/configstore/index.js
5803
+ // ../../node_modules/.pnpm/configstore@7.0.0/node_modules/configstore/index.js
6691
5804
  init_cjs_shims();
6692
- var import_path2 = __toESM(require("path"), 1);
6693
- var import_os2 = __toESM(require("os"), 1);
5805
+ var import_node_path3 = __toESM(require("path"), 1);
5806
+ var import_node_os2 = __toESM(require("os"), 1);
6694
5807
  var import_graceful_fs = __toESM(require_graceful_fs(), 1);
6695
5808
 
6696
5809
  // ../../node_modules/.pnpm/xdg-basedir@5.1.0/node_modules/xdg-basedir/index.js
@@ -6713,143 +5826,680 @@ if (xdgConfig) {
6713
5826
  xdgConfigDirectories.unshift(xdgConfig);
6714
5827
  }
6715
5828
 
6716
- // ../../node_modules/.pnpm/configstore@6.0.0/node_modules/configstore/index.js
6717
- var import_write_file_atomic = __toESM(require_write_file_atomic(), 1);
6718
- var import_dot_prop = __toESM(require_dot_prop(), 1);
5829
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/index.js
5830
+ init_cjs_shims();
5831
+ var import_node_path2 = __toESM(require("path"), 1);
6719
5832
 
6720
- // ../../node_modules/.pnpm/unique-string@3.0.0/node_modules/unique-string/index.js
5833
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/index.js
6721
5834
  init_cjs_shims();
5835
+ var import_node_fs = __toESM(require("fs"), 1);
5836
+ var import_node_util = require("util");
6722
5837
 
6723
- // ../../node_modules/.pnpm/crypto-random-string@4.0.0/node_modules/crypto-random-string/index.js
5838
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/attemptify.js
6724
5839
  init_cjs_shims();
6725
- var import_util = require("util");
6726
- var import_crypto = __toESM(require("crypto"), 1);
6727
- var randomBytesAsync = (0, import_util.promisify)(import_crypto.default.randomBytes);
6728
- var urlSafeCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~".split("");
6729
- var numericCharacters = "0123456789".split("");
6730
- var distinguishableCharacters = "CDEHKMPRTUWXY012458".split("");
6731
- var asciiPrintableCharacters = "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~".split("");
6732
- var alphanumericCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");
6733
- var generateForCustomCharacters = (length, characters) => {
6734
- const characterCount = characters.length;
6735
- const maxValidSelector = Math.floor(65536 / characterCount) * characterCount - 1;
6736
- const entropyLength = 2 * Math.ceil(1.1 * length);
6737
- let string = "";
6738
- let stringLength = 0;
6739
- while (stringLength < length) {
6740
- const entropy = import_crypto.default.randomBytes(entropyLength);
6741
- let entropyPosition = 0;
6742
- while (entropyPosition < entropyLength && stringLength < length) {
6743
- const entropyValue = entropy.readUInt16LE(entropyPosition);
6744
- entropyPosition += 2;
6745
- if (entropyValue > maxValidSelector) {
6746
- continue;
6747
- }
6748
- string += characters[entropyValue % characterCount];
6749
- stringLength++;
5840
+ var attemptifyAsync = (fn, onError) => {
5841
+ return function attemptified(...args) {
5842
+ return fn.apply(void 0, args).catch(onError);
5843
+ };
5844
+ };
5845
+ var attemptifySync = (fn, onError) => {
5846
+ return function attemptified(...args) {
5847
+ try {
5848
+ return fn.apply(void 0, args);
5849
+ } catch (error) {
5850
+ return onError(error);
6750
5851
  }
5852
+ };
5853
+ };
5854
+
5855
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/constants.js
5856
+ init_cjs_shims();
5857
+ var import_node_process = __toESM(require("process"), 1);
5858
+ var IS_USER_ROOT = import_node_process.default.getuid ? !import_node_process.default.getuid() : false;
5859
+ var LIMIT_FILES_DESCRIPTORS = 1e4;
5860
+ var NOOP = () => void 0;
5861
+
5862
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/handlers.js
5863
+ init_cjs_shims();
5864
+ var Handlers = {
5865
+ /* API */
5866
+ isChangeErrorOk: (error) => {
5867
+ if (!Handlers.isNodeError(error))
5868
+ return false;
5869
+ const { code } = error;
5870
+ if (code === "ENOSYS")
5871
+ return true;
5872
+ if (!IS_USER_ROOT && (code === "EINVAL" || code === "EPERM"))
5873
+ return true;
5874
+ return false;
5875
+ },
5876
+ isNodeError: (error) => {
5877
+ return error instanceof Error;
5878
+ },
5879
+ isRetriableError: (error) => {
5880
+ if (!Handlers.isNodeError(error))
5881
+ return false;
5882
+ const { code } = error;
5883
+ if (code === "EMFILE" || code === "ENFILE" || code === "EAGAIN" || code === "EBUSY" || code === "EACCESS" || code === "EACCES" || code === "EACCS" || code === "EPERM")
5884
+ return true;
5885
+ return false;
5886
+ },
5887
+ onChangeError: (error) => {
5888
+ if (!Handlers.isNodeError(error))
5889
+ throw error;
5890
+ if (Handlers.isChangeErrorOk(error))
5891
+ return;
5892
+ throw error;
6751
5893
  }
6752
- return string;
6753
5894
  };
6754
- var generateForCustomCharactersAsync = async (length, characters) => {
6755
- const characterCount = characters.length;
6756
- const maxValidSelector = Math.floor(65536 / characterCount) * characterCount - 1;
6757
- const entropyLength = 2 * Math.ceil(1.1 * length);
6758
- let string = "";
6759
- let stringLength = 0;
6760
- while (stringLength < length) {
6761
- const entropy = await randomBytesAsync(entropyLength);
6762
- let entropyPosition = 0;
6763
- while (entropyPosition < entropyLength && stringLength < length) {
6764
- const entropyValue = entropy.readUInt16LE(entropyPosition);
6765
- entropyPosition += 2;
6766
- if (entropyValue > maxValidSelector) {
6767
- continue;
5895
+ var handlers_default = Handlers;
5896
+
5897
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/retryify.js
5898
+ init_cjs_shims();
5899
+
5900
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/retryify_queue.js
5901
+ init_cjs_shims();
5902
+ var RetryfyQueue = class {
5903
+ constructor() {
5904
+ this.interval = 25;
5905
+ this.intervalId = void 0;
5906
+ this.limit = LIMIT_FILES_DESCRIPTORS;
5907
+ this.queueActive = /* @__PURE__ */ new Set();
5908
+ this.queueWaiting = /* @__PURE__ */ new Set();
5909
+ this.init = () => {
5910
+ if (this.intervalId)
5911
+ return;
5912
+ this.intervalId = setInterval(this.tick, this.interval);
5913
+ };
5914
+ this.reset = () => {
5915
+ if (!this.intervalId)
5916
+ return;
5917
+ clearInterval(this.intervalId);
5918
+ delete this.intervalId;
5919
+ };
5920
+ this.add = (fn) => {
5921
+ this.queueWaiting.add(fn);
5922
+ if (this.queueActive.size < this.limit / 2) {
5923
+ this.tick();
5924
+ } else {
5925
+ this.init();
6768
5926
  }
6769
- string += characters[entropyValue % characterCount];
6770
- stringLength++;
6771
- }
5927
+ };
5928
+ this.remove = (fn) => {
5929
+ this.queueWaiting.delete(fn);
5930
+ this.queueActive.delete(fn);
5931
+ };
5932
+ this.schedule = () => {
5933
+ return new Promise((resolve) => {
5934
+ const cleanup = () => this.remove(resolver);
5935
+ const resolver = () => resolve(cleanup);
5936
+ this.add(resolver);
5937
+ });
5938
+ };
5939
+ this.tick = () => {
5940
+ if (this.queueActive.size >= this.limit)
5941
+ return;
5942
+ if (!this.queueWaiting.size)
5943
+ return this.reset();
5944
+ for (const fn of this.queueWaiting) {
5945
+ if (this.queueActive.size >= this.limit)
5946
+ break;
5947
+ this.queueWaiting.delete(fn);
5948
+ this.queueActive.add(fn);
5949
+ fn();
5950
+ }
5951
+ };
6772
5952
  }
6773
- return string;
6774
5953
  };
6775
- var generateRandomBytes = (byteLength, type, length) => import_crypto.default.randomBytes(byteLength).toString(type).slice(0, length);
6776
- var generateRandomBytesAsync = async (byteLength, type, length) => {
6777
- const buffer = await randomBytesAsync(byteLength);
6778
- return buffer.toString(type).slice(0, length);
5954
+ var retryify_queue_default = new RetryfyQueue();
5955
+
5956
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/retryify.js
5957
+ var retryifyAsync = (fn, isRetriableError) => {
5958
+ return function retrified(timestamp) {
5959
+ return function attempt(...args) {
5960
+ return retryify_queue_default.schedule().then((cleanup) => {
5961
+ const onResolve = (result) => {
5962
+ cleanup();
5963
+ return result;
5964
+ };
5965
+ const onReject = (error) => {
5966
+ cleanup();
5967
+ if (Date.now() >= timestamp)
5968
+ throw error;
5969
+ if (isRetriableError(error)) {
5970
+ const delay2 = Math.round(100 * Math.random());
5971
+ const delayPromise = new Promise((resolve) => setTimeout(resolve, delay2));
5972
+ return delayPromise.then(() => attempt.apply(void 0, args));
5973
+ }
5974
+ throw error;
5975
+ };
5976
+ return fn.apply(void 0, args).then(onResolve, onReject);
5977
+ });
5978
+ };
5979
+ };
6779
5980
  };
6780
- var allowedTypes = /* @__PURE__ */ new Set([
6781
- void 0,
6782
- "hex",
6783
- "base64",
6784
- "url-safe",
6785
- "numeric",
6786
- "distinguishable",
6787
- "ascii-printable",
6788
- "alphanumeric"
6789
- ]);
6790
- var createGenerator = (generateForCustomCharacters2, generateRandomBytes2) => ({ length, type, characters }) => {
6791
- if (!(length >= 0 && Number.isFinite(length))) {
6792
- throw new TypeError("Expected a `length` to be a non-negative finite number");
5981
+ var retryifySync = (fn, isRetriableError) => {
5982
+ return function retrified(timestamp) {
5983
+ return function attempt(...args) {
5984
+ try {
5985
+ return fn.apply(void 0, args);
5986
+ } catch (error) {
5987
+ if (Date.now() > timestamp)
5988
+ throw error;
5989
+ if (isRetriableError(error))
5990
+ return attempt.apply(void 0, args);
5991
+ throw error;
5992
+ }
5993
+ };
5994
+ };
5995
+ };
5996
+
5997
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/index.js
5998
+ var FS = {
5999
+ attempt: {
6000
+ /* ASYNC */
6001
+ chmod: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.chmod), handlers_default.onChangeError),
6002
+ chown: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.chown), handlers_default.onChangeError),
6003
+ close: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.close), NOOP),
6004
+ fsync: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.fsync), NOOP),
6005
+ mkdir: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.mkdir), NOOP),
6006
+ realpath: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.realpath), NOOP),
6007
+ stat: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.stat), NOOP),
6008
+ unlink: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.unlink), NOOP),
6009
+ /* SYNC */
6010
+ chmodSync: attemptifySync(import_node_fs.default.chmodSync, handlers_default.onChangeError),
6011
+ chownSync: attemptifySync(import_node_fs.default.chownSync, handlers_default.onChangeError),
6012
+ closeSync: attemptifySync(import_node_fs.default.closeSync, NOOP),
6013
+ existsSync: attemptifySync(import_node_fs.default.existsSync, NOOP),
6014
+ fsyncSync: attemptifySync(import_node_fs.default.fsync, NOOP),
6015
+ mkdirSync: attemptifySync(import_node_fs.default.mkdirSync, NOOP),
6016
+ realpathSync: attemptifySync(import_node_fs.default.realpathSync, NOOP),
6017
+ statSync: attemptifySync(import_node_fs.default.statSync, NOOP),
6018
+ unlinkSync: attemptifySync(import_node_fs.default.unlinkSync, NOOP)
6019
+ },
6020
+ retry: {
6021
+ /* ASYNC */
6022
+ close: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.close), handlers_default.isRetriableError),
6023
+ fsync: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.fsync), handlers_default.isRetriableError),
6024
+ open: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.open), handlers_default.isRetriableError),
6025
+ readFile: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.readFile), handlers_default.isRetriableError),
6026
+ rename: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.rename), handlers_default.isRetriableError),
6027
+ stat: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.stat), handlers_default.isRetriableError),
6028
+ write: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.write), handlers_default.isRetriableError),
6029
+ writeFile: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.writeFile), handlers_default.isRetriableError),
6030
+ /* SYNC */
6031
+ closeSync: retryifySync(import_node_fs.default.closeSync, handlers_default.isRetriableError),
6032
+ fsyncSync: retryifySync(import_node_fs.default.fsyncSync, handlers_default.isRetriableError),
6033
+ openSync: retryifySync(import_node_fs.default.openSync, handlers_default.isRetriableError),
6034
+ readFileSync: retryifySync(import_node_fs.default.readFileSync, handlers_default.isRetriableError),
6035
+ renameSync: retryifySync(import_node_fs.default.renameSync, handlers_default.isRetriableError),
6036
+ statSync: retryifySync(import_node_fs.default.statSync, handlers_default.isRetriableError),
6037
+ writeSync: retryifySync(import_node_fs.default.writeSync, handlers_default.isRetriableError),
6038
+ writeFileSync: retryifySync(import_node_fs.default.writeFileSync, handlers_default.isRetriableError)
6793
6039
  }
6794
- if (type !== void 0 && characters !== void 0) {
6795
- throw new TypeError("Expected either `type` or `characters`");
6040
+ };
6041
+ var dist_default = FS;
6042
+
6043
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/constants.js
6044
+ init_cjs_shims();
6045
+ var import_node_os = __toESM(require("os"), 1);
6046
+ var import_node_process2 = __toESM(require("process"), 1);
6047
+ var DEFAULT_ENCODING = "utf8";
6048
+ var DEFAULT_FILE_MODE = 438;
6049
+ var DEFAULT_FOLDER_MODE = 511;
6050
+ var DEFAULT_WRITE_OPTIONS = {};
6051
+ var DEFAULT_USER_UID = import_node_os.default.userInfo().uid;
6052
+ var DEFAULT_USER_GID = import_node_os.default.userInfo().gid;
6053
+ var DEFAULT_TIMEOUT_SYNC = 1e3;
6054
+ var IS_POSIX = !!import_node_process2.default.getuid;
6055
+ var IS_USER_ROOT2 = import_node_process2.default.getuid ? !import_node_process2.default.getuid() : false;
6056
+ var LIMIT_BASENAME_LENGTH = 128;
6057
+
6058
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/utils/lang.js
6059
+ init_cjs_shims();
6060
+ var isException = (value) => {
6061
+ return value instanceof Error && "code" in value;
6062
+ };
6063
+ var isString = (value) => {
6064
+ return typeof value === "string";
6065
+ };
6066
+ var isUndefined = (value) => {
6067
+ return value === void 0;
6068
+ };
6069
+
6070
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/utils/scheduler.js
6071
+ init_cjs_shims();
6072
+
6073
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/utils/temp.js
6074
+ init_cjs_shims();
6075
+ var import_node_path = __toESM(require("path"), 1);
6076
+
6077
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/index.js
6078
+ init_cjs_shims();
6079
+
6080
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/interceptor.js
6081
+ init_cjs_shims();
6082
+ var import_node_process4 = __toESM(require("process"), 1);
6083
+
6084
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/constants.js
6085
+ init_cjs_shims();
6086
+ var import_node_process3 = __toESM(require("process"), 1);
6087
+ var IS_LINUX = import_node_process3.default.platform === "linux";
6088
+ var IS_WINDOWS = import_node_process3.default.platform === "win32";
6089
+
6090
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/signals.js
6091
+ init_cjs_shims();
6092
+ var Signals = ["SIGABRT", "SIGALRM", "SIGHUP", "SIGINT", "SIGTERM"];
6093
+ if (!IS_WINDOWS) {
6094
+ Signals.push("SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
6095
+ }
6096
+ if (IS_LINUX) {
6097
+ Signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT", "SIGUNUSED");
6098
+ }
6099
+ var signals_default = Signals;
6100
+
6101
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/interceptor.js
6102
+ var Interceptor = class {
6103
+ /* CONSTRUCTOR */
6104
+ constructor() {
6105
+ this.callbacks = /* @__PURE__ */ new Set();
6106
+ this.exited = false;
6107
+ this.exit = (signal) => {
6108
+ if (this.exited)
6109
+ return;
6110
+ this.exited = true;
6111
+ for (const callback of this.callbacks) {
6112
+ callback();
6113
+ }
6114
+ if (signal) {
6115
+ if (IS_WINDOWS && (signal !== "SIGINT" && signal !== "SIGTERM" && signal !== "SIGKILL")) {
6116
+ import_node_process4.default.kill(import_node_process4.default.pid, "SIGTERM");
6117
+ } else {
6118
+ import_node_process4.default.kill(import_node_process4.default.pid, signal);
6119
+ }
6120
+ }
6121
+ };
6122
+ this.hook = () => {
6123
+ import_node_process4.default.once("exit", () => this.exit());
6124
+ for (const signal of signals_default) {
6125
+ try {
6126
+ import_node_process4.default.once(signal, () => this.exit(signal));
6127
+ } catch {
6128
+ }
6129
+ }
6130
+ };
6131
+ this.register = (callback) => {
6132
+ this.callbacks.add(callback);
6133
+ return () => {
6134
+ this.callbacks.delete(callback);
6135
+ };
6136
+ };
6137
+ this.hook();
6796
6138
  }
6797
- if (characters !== void 0 && typeof characters !== "string") {
6798
- throw new TypeError("Expected `characters` to be string");
6139
+ };
6140
+ var interceptor_default = new Interceptor();
6141
+
6142
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/index.js
6143
+ var whenExit = interceptor_default.register;
6144
+ var node_default = whenExit;
6145
+
6146
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/utils/temp.js
6147
+ var Temp = {
6148
+ /* VARIABLES */
6149
+ store: {},
6150
+ /* API */
6151
+ create: (filePath) => {
6152
+ const randomness = `000000${Math.floor(Math.random() * 16777215).toString(16)}`.slice(-6);
6153
+ const timestamp = Date.now().toString().slice(-10);
6154
+ const prefix = "tmp-";
6155
+ const suffix = `.${prefix}${timestamp}${randomness}`;
6156
+ const tempPath = `${filePath}${suffix}`;
6157
+ return tempPath;
6158
+ },
6159
+ get: (filePath, creator, purge = true) => {
6160
+ const tempPath = Temp.truncate(creator(filePath));
6161
+ if (tempPath in Temp.store)
6162
+ return Temp.get(filePath, creator, purge);
6163
+ Temp.store[tempPath] = purge;
6164
+ const disposer = () => delete Temp.store[tempPath];
6165
+ return [tempPath, disposer];
6166
+ },
6167
+ purge: (filePath) => {
6168
+ if (!Temp.store[filePath])
6169
+ return;
6170
+ delete Temp.store[filePath];
6171
+ dist_default.attempt.unlink(filePath);
6172
+ },
6173
+ purgeSync: (filePath) => {
6174
+ if (!Temp.store[filePath])
6175
+ return;
6176
+ delete Temp.store[filePath];
6177
+ dist_default.attempt.unlinkSync(filePath);
6178
+ },
6179
+ purgeSyncAll: () => {
6180
+ for (const filePath in Temp.store) {
6181
+ Temp.purgeSync(filePath);
6182
+ }
6183
+ },
6184
+ truncate: (filePath) => {
6185
+ const basename = import_node_path.default.basename(filePath);
6186
+ if (basename.length <= LIMIT_BASENAME_LENGTH)
6187
+ return filePath;
6188
+ const truncable = /^(\.?)(.*?)((?:\.[^.]+)?(?:\.tmp-\d{10}[a-f0-9]{6})?)$/.exec(basename);
6189
+ if (!truncable)
6190
+ return filePath;
6191
+ const truncationLength = basename.length - LIMIT_BASENAME_LENGTH;
6192
+ return `${filePath.slice(0, -basename.length)}${truncable[1]}${truncable[2].slice(0, -truncationLength)}${truncable[3]}`;
6799
6193
  }
6800
- if (!allowedTypes.has(type)) {
6801
- throw new TypeError(`Unknown type: ${type}`);
6194
+ };
6195
+ node_default(Temp.purgeSyncAll);
6196
+ var temp_default = Temp;
6197
+
6198
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/index.js
6199
+ function writeFileSync(filePath, data, options = DEFAULT_WRITE_OPTIONS) {
6200
+ if (isString(options))
6201
+ return writeFileSync(filePath, data, { encoding: options });
6202
+ const timeout2 = Date.now() + ((options.timeout ?? DEFAULT_TIMEOUT_SYNC) || -1);
6203
+ let tempDisposer = null;
6204
+ let tempPath = null;
6205
+ let fd = null;
6206
+ try {
6207
+ const filePathReal = dist_default.attempt.realpathSync(filePath);
6208
+ const filePathExists = !!filePathReal;
6209
+ filePath = filePathReal || filePath;
6210
+ [tempPath, tempDisposer] = temp_default.get(filePath, options.tmpCreate || temp_default.create, !(options.tmpPurge === false));
6211
+ const useStatChown = IS_POSIX && isUndefined(options.chown);
6212
+ const useStatMode = isUndefined(options.mode);
6213
+ if (filePathExists && (useStatChown || useStatMode)) {
6214
+ const stats = dist_default.attempt.statSync(filePath);
6215
+ if (stats) {
6216
+ options = { ...options };
6217
+ if (useStatChown) {
6218
+ options.chown = { uid: stats.uid, gid: stats.gid };
6219
+ }
6220
+ if (useStatMode) {
6221
+ options.mode = stats.mode;
6222
+ }
6223
+ }
6224
+ }
6225
+ if (!filePathExists) {
6226
+ const parentPath = import_node_path2.default.dirname(filePath);
6227
+ dist_default.attempt.mkdirSync(parentPath, {
6228
+ mode: DEFAULT_FOLDER_MODE,
6229
+ recursive: true
6230
+ });
6231
+ }
6232
+ fd = dist_default.retry.openSync(timeout2)(tempPath, "w", options.mode || DEFAULT_FILE_MODE);
6233
+ if (options.tmpCreated) {
6234
+ options.tmpCreated(tempPath);
6235
+ }
6236
+ if (isString(data)) {
6237
+ dist_default.retry.writeSync(timeout2)(fd, data, 0, options.encoding || DEFAULT_ENCODING);
6238
+ } else if (!isUndefined(data)) {
6239
+ dist_default.retry.writeSync(timeout2)(fd, data, 0, data.length, 0);
6240
+ }
6241
+ if (options.fsync !== false) {
6242
+ if (options.fsyncWait !== false) {
6243
+ dist_default.retry.fsyncSync(timeout2)(fd);
6244
+ } else {
6245
+ dist_default.attempt.fsync(fd);
6246
+ }
6247
+ }
6248
+ dist_default.retry.closeSync(timeout2)(fd);
6249
+ fd = null;
6250
+ if (options.chown && (options.chown.uid !== DEFAULT_USER_UID || options.chown.gid !== DEFAULT_USER_GID)) {
6251
+ dist_default.attempt.chownSync(tempPath, options.chown.uid, options.chown.gid);
6252
+ }
6253
+ if (options.mode && options.mode !== DEFAULT_FILE_MODE) {
6254
+ dist_default.attempt.chmodSync(tempPath, options.mode);
6255
+ }
6256
+ try {
6257
+ dist_default.retry.renameSync(timeout2)(tempPath, filePath);
6258
+ } catch (error) {
6259
+ if (!isException(error))
6260
+ throw error;
6261
+ if (error.code !== "ENAMETOOLONG")
6262
+ throw error;
6263
+ dist_default.retry.renameSync(timeout2)(tempPath, temp_default.truncate(filePath));
6264
+ }
6265
+ tempDisposer();
6266
+ tempPath = null;
6267
+ } finally {
6268
+ if (fd)
6269
+ dist_default.attempt.closeSync(fd);
6270
+ if (tempPath)
6271
+ temp_default.purge(tempPath);
6802
6272
  }
6803
- if (type === void 0 && characters === void 0) {
6804
- type = "hex";
6273
+ }
6274
+
6275
+ // ../../node_modules/.pnpm/dot-prop@9.0.0/node_modules/dot-prop/index.js
6276
+ init_cjs_shims();
6277
+ var isObject = (value) => {
6278
+ const type = typeof value;
6279
+ return value !== null && (type === "object" || type === "function");
6280
+ };
6281
+ var disallowedKeys = /* @__PURE__ */ new Set([
6282
+ "__proto__",
6283
+ "prototype",
6284
+ "constructor"
6285
+ ]);
6286
+ var digits = new Set("0123456789");
6287
+ function getPathSegments(path9) {
6288
+ const parts = [];
6289
+ let currentSegment = "";
6290
+ let currentPart = "start";
6291
+ let isIgnoring = false;
6292
+ for (const character of path9) {
6293
+ switch (character) {
6294
+ case "\\": {
6295
+ if (currentPart === "index") {
6296
+ throw new Error("Invalid character in an index");
6297
+ }
6298
+ if (currentPart === "indexEnd") {
6299
+ throw new Error("Invalid character after an index");
6300
+ }
6301
+ if (isIgnoring) {
6302
+ currentSegment += character;
6303
+ }
6304
+ currentPart = "property";
6305
+ isIgnoring = !isIgnoring;
6306
+ break;
6307
+ }
6308
+ case ".": {
6309
+ if (currentPart === "index") {
6310
+ throw new Error("Invalid character in an index");
6311
+ }
6312
+ if (currentPart === "indexEnd") {
6313
+ currentPart = "property";
6314
+ break;
6315
+ }
6316
+ if (isIgnoring) {
6317
+ isIgnoring = false;
6318
+ currentSegment += character;
6319
+ break;
6320
+ }
6321
+ if (disallowedKeys.has(currentSegment)) {
6322
+ return [];
6323
+ }
6324
+ parts.push(currentSegment);
6325
+ currentSegment = "";
6326
+ currentPart = "property";
6327
+ break;
6328
+ }
6329
+ case "[": {
6330
+ if (currentPart === "index") {
6331
+ throw new Error("Invalid character in an index");
6332
+ }
6333
+ if (currentPart === "indexEnd") {
6334
+ currentPart = "index";
6335
+ break;
6336
+ }
6337
+ if (isIgnoring) {
6338
+ isIgnoring = false;
6339
+ currentSegment += character;
6340
+ break;
6341
+ }
6342
+ if (currentPart === "property") {
6343
+ if (disallowedKeys.has(currentSegment)) {
6344
+ return [];
6345
+ }
6346
+ parts.push(currentSegment);
6347
+ currentSegment = "";
6348
+ }
6349
+ currentPart = "index";
6350
+ break;
6351
+ }
6352
+ case "]": {
6353
+ if (currentPart === "index") {
6354
+ parts.push(Number.parseInt(currentSegment, 10));
6355
+ currentSegment = "";
6356
+ currentPart = "indexEnd";
6357
+ break;
6358
+ }
6359
+ if (currentPart === "indexEnd") {
6360
+ throw new Error("Invalid character after an index");
6361
+ }
6362
+ }
6363
+ default: {
6364
+ if (currentPart === "index" && !digits.has(character)) {
6365
+ throw new Error("Invalid character in an index");
6366
+ }
6367
+ if (currentPart === "indexEnd") {
6368
+ throw new Error("Invalid character after an index");
6369
+ }
6370
+ if (currentPart === "start") {
6371
+ currentPart = "property";
6372
+ }
6373
+ if (isIgnoring) {
6374
+ isIgnoring = false;
6375
+ currentSegment += "\\";
6376
+ }
6377
+ currentSegment += character;
6378
+ }
6379
+ }
6380
+ }
6381
+ if (isIgnoring) {
6382
+ currentSegment += "\\";
6805
6383
  }
6806
- if (type === "hex" || type === void 0 && characters === void 0) {
6807
- return generateRandomBytes2(Math.ceil(length * 0.5), "hex", length);
6384
+ switch (currentPart) {
6385
+ case "property": {
6386
+ if (disallowedKeys.has(currentSegment)) {
6387
+ return [];
6388
+ }
6389
+ parts.push(currentSegment);
6390
+ break;
6391
+ }
6392
+ case "index": {
6393
+ throw new Error("Index was not closed");
6394
+ }
6395
+ case "start": {
6396
+ parts.push("");
6397
+ break;
6398
+ }
6808
6399
  }
6809
- if (type === "base64") {
6810
- return generateRandomBytes2(Math.ceil(length * 0.75), "base64", length);
6400
+ return parts;
6401
+ }
6402
+ function isStringIndex(object, key) {
6403
+ if (typeof key !== "number" && Array.isArray(object)) {
6404
+ const index = Number.parseInt(key, 10);
6405
+ return Number.isInteger(index) && object[index] === object[key];
6811
6406
  }
6812
- if (type === "url-safe") {
6813
- return generateForCustomCharacters2(length, urlSafeCharacters);
6407
+ return false;
6408
+ }
6409
+ function assertNotStringIndex(object, key) {
6410
+ if (isStringIndex(object, key)) {
6411
+ throw new Error("Cannot use string index");
6814
6412
  }
6815
- if (type === "numeric") {
6816
- return generateForCustomCharacters2(length, numericCharacters);
6413
+ }
6414
+ function getProperty(object, path9, value) {
6415
+ if (!isObject(object) || typeof path9 !== "string") {
6416
+ return value === void 0 ? object : value;
6417
+ }
6418
+ const pathArray = getPathSegments(path9);
6419
+ if (pathArray.length === 0) {
6420
+ return value;
6421
+ }
6422
+ for (let index = 0; index < pathArray.length; index++) {
6423
+ const key = pathArray[index];
6424
+ if (isStringIndex(object, key)) {
6425
+ object = index === pathArray.length - 1 ? void 0 : null;
6426
+ } else {
6427
+ object = object[key];
6428
+ }
6429
+ if (object === void 0 || object === null) {
6430
+ if (index !== pathArray.length - 1) {
6431
+ return value;
6432
+ }
6433
+ break;
6434
+ }
6817
6435
  }
6818
- if (type === "distinguishable") {
6819
- return generateForCustomCharacters2(length, distinguishableCharacters);
6436
+ return object === void 0 ? value : object;
6437
+ }
6438
+ function setProperty(object, path9, value) {
6439
+ if (!isObject(object) || typeof path9 !== "string") {
6440
+ return object;
6441
+ }
6442
+ const root = object;
6443
+ const pathArray = getPathSegments(path9);
6444
+ for (let index = 0; index < pathArray.length; index++) {
6445
+ const key = pathArray[index];
6446
+ assertNotStringIndex(object, key);
6447
+ if (index === pathArray.length - 1) {
6448
+ object[key] = value;
6449
+ } else if (!isObject(object[key])) {
6450
+ object[key] = typeof pathArray[index + 1] === "number" ? [] : {};
6451
+ }
6452
+ object = object[key];
6453
+ }
6454
+ return root;
6455
+ }
6456
+ function deleteProperty(object, path9) {
6457
+ if (!isObject(object) || typeof path9 !== "string") {
6458
+ return false;
6820
6459
  }
6821
- if (type === "ascii-printable") {
6822
- return generateForCustomCharacters2(length, asciiPrintableCharacters);
6460
+ const pathArray = getPathSegments(path9);
6461
+ for (let index = 0; index < pathArray.length; index++) {
6462
+ const key = pathArray[index];
6463
+ assertNotStringIndex(object, key);
6464
+ if (index === pathArray.length - 1) {
6465
+ delete object[key];
6466
+ return true;
6467
+ }
6468
+ object = object[key];
6469
+ if (!isObject(object)) {
6470
+ return false;
6471
+ }
6823
6472
  }
6824
- if (type === "alphanumeric") {
6825
- return generateForCustomCharacters2(length, alphanumericCharacters);
6473
+ }
6474
+ function hasProperty(object, path9) {
6475
+ if (!isObject(object) || typeof path9 !== "string") {
6476
+ return false;
6826
6477
  }
6827
- if (characters.length === 0) {
6828
- throw new TypeError("Expected `characters` string length to be greater than or equal to 1");
6478
+ const pathArray = getPathSegments(path9);
6479
+ if (pathArray.length === 0) {
6480
+ return false;
6829
6481
  }
6830
- if (characters.length > 65536) {
6831
- throw new TypeError("Expected `characters` string length to be less or equal to 65536");
6482
+ for (const key of pathArray) {
6483
+ if (!isObject(object) || !(key in object) || isStringIndex(object, key)) {
6484
+ return false;
6485
+ }
6486
+ object = object[key];
6832
6487
  }
6833
- return generateForCustomCharacters2(length, characters.split(""));
6834
- };
6835
- var cryptoRandomString = createGenerator(generateForCustomCharacters, generateRandomBytes);
6836
- cryptoRandomString.async = createGenerator(generateForCustomCharactersAsync, generateRandomBytesAsync);
6837
- var crypto_random_string_default = cryptoRandomString;
6838
-
6839
- // ../../node_modules/.pnpm/unique-string@3.0.0/node_modules/unique-string/index.js
6840
- function uniqueString() {
6841
- return crypto_random_string_default({ length: 32 });
6488
+ return true;
6842
6489
  }
6843
6490
 
6844
- // ../../node_modules/.pnpm/configstore@6.0.0/node_modules/configstore/index.js
6845
- var configDirectory = xdgConfig || import_path2.default.join(import_os2.default.tmpdir(), uniqueString());
6491
+ // ../../node_modules/.pnpm/configstore@7.0.0/node_modules/configstore/index.js
6492
+ function getConfigDirectory(id, globalConfigPath) {
6493
+ const pathPrefix = globalConfigPath ? import_node_path3.default.join(id, "config.json") : import_node_path3.default.join("configstore", `${id}.json`);
6494
+ const configDirectory = xdgConfig ?? import_graceful_fs.default.mkdtempSync(import_graceful_fs.default.realpathSync(import_node_os2.default.tmpdir()) + import_node_path3.default.sep);
6495
+ return import_node_path3.default.join(configDirectory, pathPrefix);
6496
+ }
6846
6497
  var permissionError = "You don't have access to this file.";
6847
6498
  var mkdirOptions = { mode: 448, recursive: true };
6848
6499
  var writeFileOptions = { mode: 384 };
6849
6500
  var Configstore = class {
6850
6501
  constructor(id, defaults, options = {}) {
6851
- const pathPrefix = options.globalConfigPath ? import_path2.default.join(id, "config.json") : import_path2.default.join("configstore", `${id}.json`);
6852
- this._path = options.configPath || import_path2.default.join(configDirectory, pathPrefix);
6502
+ this._path = options.configPath ?? getConfigDirectory(id, options.globalConfigPath);
6853
6503
  if (defaults) {
6854
6504
  this.all = {
6855
6505
  ...defaults,
@@ -6870,7 +6520,7 @@ ${permissionError}
6870
6520
  `;
6871
6521
  }
6872
6522
  if (error.name === "SyntaxError") {
6873
- import_write_file_atomic.default.sync(this._path, "", writeFileOptions);
6523
+ writeFileSync(this._path, "", writeFileOptions);
6874
6524
  return {};
6875
6525
  }
6876
6526
  throw error;
@@ -6878,8 +6528,8 @@ ${permissionError}
6878
6528
  }
6879
6529
  set all(value) {
6880
6530
  try {
6881
- import_graceful_fs.default.mkdirSync(import_path2.default.dirname(this._path), mkdirOptions);
6882
- import_write_file_atomic.default.sync(this._path, JSON.stringify(value, void 0, " "), writeFileOptions);
6531
+ import_graceful_fs.default.mkdirSync(import_node_path3.default.dirname(this._path), mkdirOptions);
6532
+ writeFileSync(this._path, JSON.stringify(value, void 0, " "), writeFileOptions);
6883
6533
  } catch (error) {
6884
6534
  if (error.code === "EACCES") {
6885
6535
  error.message = `${error.message}
@@ -6893,25 +6543,25 @@ ${permissionError}
6893
6543
  return Object.keys(this.all || {}).length;
6894
6544
  }
6895
6545
  get(key) {
6896
- return import_dot_prop.default.get(this.all, key);
6546
+ return getProperty(this.all, key);
6897
6547
  }
6898
6548
  set(key, value) {
6899
6549
  const config = this.all;
6900
6550
  if (arguments.length === 1) {
6901
6551
  for (const k of Object.keys(key)) {
6902
- import_dot_prop.default.set(config, k, key[k]);
6552
+ setProperty(config, k, key[k]);
6903
6553
  }
6904
6554
  } else {
6905
- import_dot_prop.default.set(config, key, value);
6555
+ setProperty(config, key, value);
6906
6556
  }
6907
6557
  this.all = config;
6908
6558
  }
6909
6559
  has(key) {
6910
- return import_dot_prop.default.has(this.all, key);
6560
+ return hasProperty(this.all, key);
6911
6561
  }
6912
6562
  delete(key) {
6913
6563
  const config = this.all;
6914
- import_dot_prop.default.delete(config, key);
6564
+ deleteProperty(config, key);
6915
6565
  this.all = config;
6916
6566
  }
6917
6567
  clear() {
@@ -7114,16 +6764,16 @@ var ansi_styles_default = ansiStyles;
7114
6764
 
7115
6765
  // ../../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
7116
6766
  init_cjs_shims();
7117
- var import_node_process = __toESM(require("process"), 1);
7118
- var import_node_os = __toESM(require("os"), 1);
6767
+ var import_node_process5 = __toESM(require("process"), 1);
6768
+ var import_node_os3 = __toESM(require("os"), 1);
7119
6769
  var import_node_tty = __toESM(require("tty"), 1);
7120
- function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
6770
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process5.default.argv) {
7121
6771
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
7122
6772
  const position = argv.indexOf(prefix + flag);
7123
6773
  const terminatorPosition = argv.indexOf("--");
7124
6774
  return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
7125
6775
  }
7126
- var { env: env2 } = import_node_process.default;
6776
+ var { env: env2 } = import_node_process5.default;
7127
6777
  var flagForceColor;
7128
6778
  if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
7129
6779
  flagForceColor = 0;
@@ -7179,8 +6829,8 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
7179
6829
  if (env2.TERM === "dumb") {
7180
6830
  return min;
7181
6831
  }
7182
- if (import_node_process.default.platform === "win32") {
7183
- const osRelease = import_node_os.default.release().split(".");
6832
+ if (import_node_process5.default.platform === "win32") {
6833
+ const osRelease = import_node_os3.default.release().split(".");
7184
6834
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
7185
6835
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
7186
6836
  }
@@ -7417,7 +7067,7 @@ var chalk = createChalk();
7417
7067
  var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
7418
7068
  var source_default = chalk;
7419
7069
 
7420
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/update-notifier.js
7070
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/update-notifier.js
7421
7071
  var import_semver3 = __toESM(require_semver2(), 1);
7422
7072
 
7423
7073
  // ../../node_modules/.pnpm/semver-diff@4.0.0/node_modules/semver-diff/index.js
@@ -7479,12 +7129,12 @@ init_cjs_shims();
7479
7129
 
7480
7130
  // ../../node_modules/.pnpm/ky@1.5.0/node_modules/ky/distribution/utils/is.js
7481
7131
  init_cjs_shims();
7482
- var isObject = (value) => value !== null && typeof value === "object";
7132
+ var isObject2 = (value) => value !== null && typeof value === "object";
7483
7133
 
7484
7134
  // ../../node_modules/.pnpm/ky@1.5.0/node_modules/ky/distribution/utils/merge.js
7485
7135
  var validateAndMerge = (...sources) => {
7486
7136
  for (const source of sources) {
7487
- if ((!isObject(source) || Array.isArray(source)) && source !== void 0) {
7137
+ if ((!isObject2(source) || Array.isArray(source)) && source !== void 0) {
7488
7138
  throw new TypeError("The `options` argument must be an object");
7489
7139
  }
7490
7140
  }
@@ -7512,14 +7162,14 @@ var deepMerge = (...sources) => {
7512
7162
  returnValue = [];
7513
7163
  }
7514
7164
  returnValue = [...returnValue, ...source];
7515
- } else if (isObject(source)) {
7165
+ } else if (isObject2(source)) {
7516
7166
  for (let [key, value] of Object.entries(source)) {
7517
- if (isObject(value) && key in returnValue) {
7167
+ if (isObject2(value) && key in returnValue) {
7518
7168
  value = deepMerge(returnValue[key], value);
7519
7169
  }
7520
7170
  returnValue = { ...returnValue, [key]: value };
7521
7171
  }
7522
- if (isObject(source.headers)) {
7172
+ if (isObject2(source.headers)) {
7523
7173
  headers = mergeHeaders(headers, source.headers);
7524
7174
  returnValue.headers = headers;
7525
7175
  }
@@ -8040,9 +7690,9 @@ async function latestVersion(packageName, options) {
8040
7690
 
8041
7691
  // ../../node_modules/.pnpm/is-npm@6.0.0/node_modules/is-npm/index.js
8042
7692
  init_cjs_shims();
8043
- var import_node_process2 = __toESM(require("process"), 1);
8044
- var packageJson2 = import_node_process2.default.env.npm_package_json;
8045
- var userAgent = import_node_process2.default.env.npm_config_user_agent;
7693
+ var import_node_process6 = __toESM(require("process"), 1);
7694
+ var packageJson2 = import_node_process6.default.env.npm_package_json;
7695
+ var userAgent = import_node_process6.default.env.npm_config_user_agent;
8046
7696
  var isNpm6 = Boolean(userAgent && userAgent.startsWith("npm"));
8047
7697
  var isNpm7 = Boolean(packageJson2 && packageJson2.endsWith("package.json"));
8048
7698
  var isNpm = isNpm6 || isNpm7;
@@ -8051,56 +7701,56 @@ var isNpmOrYarn = isNpm || isYarn;
8051
7701
 
8052
7702
  // ../../node_modules/.pnpm/is-installed-globally@1.0.0/node_modules/is-installed-globally/index.js
8053
7703
  init_cjs_shims();
8054
- var import_node_fs2 = __toESM(require("fs"), 1);
8055
- var import_node_path3 = __toESM(require("path"), 1);
7704
+ var import_node_fs3 = __toESM(require("fs"), 1);
7705
+ var import_node_path6 = __toESM(require("path"), 1);
8056
7706
  var import_node_url = require("url");
8057
7707
 
8058
7708
  // ../../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js
8059
7709
  init_cjs_shims();
8060
- var import_node_process3 = __toESM(require("process"), 1);
8061
- var import_node_path = __toESM(require("path"), 1);
8062
- var import_node_os2 = __toESM(require("os"), 1);
8063
- var import_node_fs = __toESM(require("fs"), 1);
7710
+ var import_node_process7 = __toESM(require("process"), 1);
7711
+ var import_node_path4 = __toESM(require("path"), 1);
7712
+ var import_node_os4 = __toESM(require("os"), 1);
7713
+ var import_node_fs2 = __toESM(require("fs"), 1);
8064
7714
  var import_ini = __toESM(require_ini2(), 1);
8065
- var isWindows = import_node_process3.default.platform === "win32";
7715
+ var isWindows = import_node_process7.default.platform === "win32";
8066
7716
  var readRc = (filePath) => {
8067
7717
  try {
8068
- return import_ini.default.parse(import_node_fs.default.readFileSync(filePath, "utf8")).prefix;
7718
+ return import_ini.default.parse(import_node_fs2.default.readFileSync(filePath, "utf8")).prefix;
8069
7719
  } catch {
8070
7720
  }
8071
7721
  };
8072
- var getEnvNpmPrefix = () => Object.keys(import_node_process3.default.env).reduce((prefix, name) => /^npm_config_prefix$/i.test(name) ? import_node_process3.default.env[name] : prefix, void 0);
7722
+ var getEnvNpmPrefix = () => Object.keys(import_node_process7.default.env).reduce((prefix, name) => /^npm_config_prefix$/i.test(name) ? import_node_process7.default.env[name] : prefix, void 0);
8073
7723
  var getGlobalNpmrc = () => {
8074
- if (isWindows && import_node_process3.default.env.APPDATA) {
8075
- return import_node_path.default.join(import_node_process3.default.env.APPDATA, "/npm/etc/npmrc");
7724
+ if (isWindows && import_node_process7.default.env.APPDATA) {
7725
+ return import_node_path4.default.join(import_node_process7.default.env.APPDATA, "/npm/etc/npmrc");
8076
7726
  }
8077
- if (import_node_process3.default.execPath.includes("/Cellar/node")) {
8078
- const homebrewPrefix = import_node_process3.default.execPath.slice(0, import_node_process3.default.execPath.indexOf("/Cellar/node"));
8079
- return import_node_path.default.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
7727
+ if (import_node_process7.default.execPath.includes("/Cellar/node")) {
7728
+ const homebrewPrefix = import_node_process7.default.execPath.slice(0, import_node_process7.default.execPath.indexOf("/Cellar/node"));
7729
+ return import_node_path4.default.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
8080
7730
  }
8081
- if (import_node_process3.default.execPath.endsWith("/bin/node")) {
8082
- const installDir = import_node_path.default.dirname(import_node_path.default.dirname(import_node_process3.default.execPath));
8083
- return import_node_path.default.join(installDir, "/etc/npmrc");
7731
+ if (import_node_process7.default.execPath.endsWith("/bin/node")) {
7732
+ const installDir = import_node_path4.default.dirname(import_node_path4.default.dirname(import_node_process7.default.execPath));
7733
+ return import_node_path4.default.join(installDir, "/etc/npmrc");
8084
7734
  }
8085
7735
  };
8086
7736
  var getDefaultNpmPrefix = () => {
8087
7737
  if (isWindows) {
8088
- const { APPDATA } = import_node_process3.default.env;
8089
- return APPDATA ? import_node_path.default.join(APPDATA, "npm") : import_node_path.default.dirname(import_node_process3.default.execPath);
7738
+ const { APPDATA } = import_node_process7.default.env;
7739
+ return APPDATA ? import_node_path4.default.join(APPDATA, "npm") : import_node_path4.default.dirname(import_node_process7.default.execPath);
8090
7740
  }
8091
- return import_node_path.default.dirname(import_node_path.default.dirname(import_node_process3.default.execPath));
7741
+ return import_node_path4.default.dirname(import_node_path4.default.dirname(import_node_process7.default.execPath));
8092
7742
  };
8093
7743
  var getNpmPrefix = () => {
8094
7744
  const envPrefix = getEnvNpmPrefix();
8095
7745
  if (envPrefix) {
8096
7746
  return envPrefix;
8097
7747
  }
8098
- const homePrefix = readRc(import_node_path.default.join(import_node_os2.default.homedir(), ".npmrc"));
7748
+ const homePrefix = readRc(import_node_path4.default.join(import_node_os4.default.homedir(), ".npmrc"));
8099
7749
  if (homePrefix) {
8100
7750
  return homePrefix;
8101
7751
  }
8102
- if (import_node_process3.default.env.PREFIX) {
8103
- return import_node_process3.default.env.PREFIX;
7752
+ if (import_node_process7.default.env.PREFIX) {
7753
+ return import_node_process7.default.env.PREFIX;
8104
7754
  }
8105
7755
  const globalPrefix = readRc(getGlobalNpmrc());
8106
7756
  if (globalPrefix) {
@@ -8108,30 +7758,30 @@ var getNpmPrefix = () => {
8108
7758
  }
8109
7759
  return getDefaultNpmPrefix();
8110
7760
  };
8111
- var npmPrefix = import_node_path.default.resolve(getNpmPrefix());
7761
+ var npmPrefix = import_node_path4.default.resolve(getNpmPrefix());
8112
7762
  var getYarnWindowsDirectory = () => {
8113
- if (isWindows && import_node_process3.default.env.LOCALAPPDATA) {
8114
- const dir = import_node_path.default.join(import_node_process3.default.env.LOCALAPPDATA, "Yarn");
8115
- if (import_node_fs.default.existsSync(dir)) {
7763
+ if (isWindows && import_node_process7.default.env.LOCALAPPDATA) {
7764
+ const dir = import_node_path4.default.join(import_node_process7.default.env.LOCALAPPDATA, "Yarn");
7765
+ if (import_node_fs2.default.existsSync(dir)) {
8116
7766
  return dir;
8117
7767
  }
8118
7768
  }
8119
7769
  return false;
8120
7770
  };
8121
7771
  var getYarnPrefix = () => {
8122
- if (import_node_process3.default.env.PREFIX) {
8123
- return import_node_process3.default.env.PREFIX;
7772
+ if (import_node_process7.default.env.PREFIX) {
7773
+ return import_node_process7.default.env.PREFIX;
8124
7774
  }
8125
7775
  const windowsPrefix = getYarnWindowsDirectory();
8126
7776
  if (windowsPrefix) {
8127
7777
  return windowsPrefix;
8128
7778
  }
8129
- const configPrefix = import_node_path.default.join(import_node_os2.default.homedir(), ".config/yarn");
8130
- if (import_node_fs.default.existsSync(configPrefix)) {
7779
+ const configPrefix = import_node_path4.default.join(import_node_os4.default.homedir(), ".config/yarn");
7780
+ if (import_node_fs2.default.existsSync(configPrefix)) {
8131
7781
  return configPrefix;
8132
7782
  }
8133
- const homePrefix = import_node_path.default.join(import_node_os2.default.homedir(), ".yarn-config");
8134
- if (import_node_fs.default.existsSync(homePrefix)) {
7783
+ const homePrefix = import_node_path4.default.join(import_node_os4.default.homedir(), ".yarn-config");
7784
+ if (import_node_fs2.default.existsSync(homePrefix)) {
8135
7785
  return homePrefix;
8136
7786
  }
8137
7787
  return npmPrefix;
@@ -8139,41 +7789,41 @@ var getYarnPrefix = () => {
8139
7789
  var globalDirectory = {};
8140
7790
  globalDirectory.npm = {};
8141
7791
  globalDirectory.npm.prefix = npmPrefix;
8142
- globalDirectory.npm.packages = import_node_path.default.join(npmPrefix, isWindows ? "node_modules" : "lib/node_modules");
8143
- globalDirectory.npm.binaries = isWindows ? npmPrefix : import_node_path.default.join(npmPrefix, "bin");
8144
- var yarnPrefix = import_node_path.default.resolve(getYarnPrefix());
7792
+ globalDirectory.npm.packages = import_node_path4.default.join(npmPrefix, isWindows ? "node_modules" : "lib/node_modules");
7793
+ globalDirectory.npm.binaries = isWindows ? npmPrefix : import_node_path4.default.join(npmPrefix, "bin");
7794
+ var yarnPrefix = import_node_path4.default.resolve(getYarnPrefix());
8145
7795
  globalDirectory.yarn = {};
8146
7796
  globalDirectory.yarn.prefix = yarnPrefix;
8147
- globalDirectory.yarn.packages = import_node_path.default.join(yarnPrefix, getYarnWindowsDirectory() ? "Data/global/node_modules" : "global/node_modules");
8148
- globalDirectory.yarn.binaries = import_node_path.default.join(globalDirectory.yarn.packages, ".bin");
7797
+ globalDirectory.yarn.packages = import_node_path4.default.join(yarnPrefix, getYarnWindowsDirectory() ? "Data/global/node_modules" : "global/node_modules");
7798
+ globalDirectory.yarn.binaries = import_node_path4.default.join(globalDirectory.yarn.packages, ".bin");
8149
7799
  var global_directory_default = globalDirectory;
8150
7800
 
8151
7801
  // ../../node_modules/.pnpm/is-path-inside@4.0.0/node_modules/is-path-inside/index.js
8152
7802
  init_cjs_shims();
8153
- var import_node_path2 = __toESM(require("path"), 1);
7803
+ var import_node_path5 = __toESM(require("path"), 1);
8154
7804
  function isPathInside(childPath, parentPath) {
8155
- const relation = import_node_path2.default.relative(parentPath, childPath);
7805
+ const relation = import_node_path5.default.relative(parentPath, childPath);
8156
7806
  return Boolean(
8157
- relation && relation !== ".." && !relation.startsWith(`..${import_node_path2.default.sep}`) && relation !== import_node_path2.default.resolve(childPath)
7807
+ relation && relation !== ".." && !relation.startsWith(`..${import_node_path5.default.sep}`) && relation !== import_node_path5.default.resolve(childPath)
8158
7808
  );
8159
7809
  }
8160
7810
 
8161
7811
  // ../../node_modules/.pnpm/is-installed-globally@1.0.0/node_modules/is-installed-globally/index.js
8162
- var __dirname2 = import_node_path3.default.dirname((0, import_node_url.fileURLToPath)(importMetaUrl));
7812
+ var __dirname2 = import_node_path6.default.dirname((0, import_node_url.fileURLToPath)(importMetaUrl));
8163
7813
  var isInstalledGlobally = (() => {
8164
7814
  try {
8165
- return isPathInside(__dirname2, global_directory_default.yarn.packages) || isPathInside(__dirname2, import_node_fs2.default.realpathSync(global_directory_default.npm.packages));
7815
+ return isPathInside(__dirname2, global_directory_default.yarn.packages) || isPathInside(__dirname2, import_node_fs3.default.realpathSync(global_directory_default.npm.packages));
8166
7816
  } catch {
8167
7817
  return false;
8168
7818
  }
8169
7819
  })();
8170
7820
  var is_installed_globally_default = isInstalledGlobally;
8171
7821
 
8172
- // ../../node_modules/.pnpm/boxen@7.1.1/node_modules/boxen/index.js
7822
+ // ../../node_modules/.pnpm/boxen@8.0.0/node_modules/boxen/index.js
8173
7823
  init_cjs_shims();
8174
- var import_node_process4 = __toESM(require("process"), 1);
7824
+ var import_node_process8 = __toESM(require("process"), 1);
8175
7825
 
8176
- // ../../node_modules/.pnpm/string-width@5.1.2/node_modules/string-width/index.js
7826
+ // ../../node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
8177
7827
  init_cjs_shims();
8178
7828
 
8179
7829
  // ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
@@ -8198,49 +7848,90 @@ function stripAnsi(string) {
8198
7848
  return string.replace(regex, "");
8199
7849
  }
8200
7850
 
8201
- // ../../node_modules/.pnpm/string-width@5.1.2/node_modules/string-width/index.js
8202
- var import_eastasianwidth = __toESM(require_eastasianwidth(), 1);
8203
- var import_emoji_regex = __toESM(require_emoji_regex(), 1);
7851
+ // ../../node_modules/.pnpm/get-east-asian-width@1.2.0/node_modules/get-east-asian-width/index.js
7852
+ init_cjs_shims();
7853
+
7854
+ // ../../node_modules/.pnpm/get-east-asian-width@1.2.0/node_modules/get-east-asian-width/lookup.js
7855
+ init_cjs_shims();
7856
+ function isAmbiguous(x) {
7857
+ return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
7858
+ }
7859
+ function isFullWidth(x) {
7860
+ return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
7861
+ }
7862
+ function isWide(x) {
7863
+ return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
7864
+ }
7865
+
7866
+ // ../../node_modules/.pnpm/get-east-asian-width@1.2.0/node_modules/get-east-asian-width/index.js
7867
+ function validate2(codePoint) {
7868
+ if (!Number.isSafeInteger(codePoint)) {
7869
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
7870
+ }
7871
+ }
7872
+ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
7873
+ validate2(codePoint);
7874
+ if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
7875
+ return 2;
7876
+ }
7877
+ return 1;
7878
+ }
7879
+
7880
+ // ../../node_modules/.pnpm/emoji-regex@10.3.0/node_modules/emoji-regex/index.mjs
7881
+ init_cjs_shims();
7882
+ var emoji_regex_default = () => {
7883
+ return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
7884
+ };
7885
+
7886
+ // ../../node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
7887
+ var segmenter = new Intl.Segmenter();
7888
+ var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
8204
7889
  function stringWidth(string, options = {}) {
8205
7890
  if (typeof string !== "string" || string.length === 0) {
8206
7891
  return 0;
8207
7892
  }
8208
- options = {
8209
- ambiguousIsNarrow: true,
8210
- ...options
8211
- };
8212
- string = stripAnsi(string);
7893
+ const {
7894
+ ambiguousIsNarrow = true,
7895
+ countAnsiEscapeCodes = false
7896
+ } = options;
7897
+ if (!countAnsiEscapeCodes) {
7898
+ string = stripAnsi(string);
7899
+ }
8213
7900
  if (string.length === 0) {
8214
7901
  return 0;
8215
7902
  }
8216
- string = string.replace((0, import_emoji_regex.default)(), " ");
8217
- const ambiguousCharacterWidth = options.ambiguousIsNarrow ? 1 : 2;
8218
7903
  let width = 0;
8219
- for (const character of string) {
7904
+ const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
7905
+ for (const { segment: character } of segmenter.segment(string)) {
8220
7906
  const codePoint = character.codePointAt(0);
8221
7907
  if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
8222
7908
  continue;
8223
7909
  }
8224
- if (codePoint >= 768 && codePoint <= 879) {
7910
+ if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
8225
7911
  continue;
8226
7912
  }
8227
- const code = import_eastasianwidth.default.eastAsianWidth(character);
8228
- switch (code) {
8229
- case "F":
8230
- case "W":
8231
- width += 2;
8232
- break;
8233
- case "A":
8234
- width += ambiguousCharacterWidth;
8235
- break;
8236
- default:
8237
- width += 1;
7913
+ if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
7914
+ continue;
7915
+ }
7916
+ if (codePoint >= 55296 && codePoint <= 57343) {
7917
+ continue;
7918
+ }
7919
+ if (codePoint >= 65024 && codePoint <= 65039) {
7920
+ continue;
7921
+ }
7922
+ if (defaultIgnorableCodePointRegex.test(character)) {
7923
+ continue;
7924
+ }
7925
+ if (emoji_regex_default().test(character)) {
7926
+ width += 2;
7927
+ continue;
8238
7928
  }
7929
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
8239
7930
  }
8240
7931
  return width;
8241
7932
  }
8242
7933
 
8243
- // ../../node_modules/.pnpm/widest-line@4.0.1/node_modules/widest-line/index.js
7934
+ // ../../node_modules/.pnpm/widest-line@5.0.0/node_modules/widest-line/index.js
8244
7935
  init_cjs_shims();
8245
7936
  function widestLine(string) {
8246
7937
  let lineWidth = 0;
@@ -8250,10 +7941,97 @@ function widestLine(string) {
8250
7941
  return lineWidth;
8251
7942
  }
8252
7943
 
8253
- // ../../node_modules/.pnpm/boxen@7.1.1/node_modules/boxen/index.js
8254
- var import_cli_boxes = __toESM(require_cli_boxes(), 1);
7944
+ // ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/index.js
7945
+ init_cjs_shims();
7946
+
7947
+ // ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/boxes.json
7948
+ var boxes_default = {
7949
+ single: {
7950
+ topLeft: "\u250C",
7951
+ top: "\u2500",
7952
+ topRight: "\u2510",
7953
+ right: "\u2502",
7954
+ bottomRight: "\u2518",
7955
+ bottom: "\u2500",
7956
+ bottomLeft: "\u2514",
7957
+ left: "\u2502"
7958
+ },
7959
+ double: {
7960
+ topLeft: "\u2554",
7961
+ top: "\u2550",
7962
+ topRight: "\u2557",
7963
+ right: "\u2551",
7964
+ bottomRight: "\u255D",
7965
+ bottom: "\u2550",
7966
+ bottomLeft: "\u255A",
7967
+ left: "\u2551"
7968
+ },
7969
+ round: {
7970
+ topLeft: "\u256D",
7971
+ top: "\u2500",
7972
+ topRight: "\u256E",
7973
+ right: "\u2502",
7974
+ bottomRight: "\u256F",
7975
+ bottom: "\u2500",
7976
+ bottomLeft: "\u2570",
7977
+ left: "\u2502"
7978
+ },
7979
+ bold: {
7980
+ topLeft: "\u250F",
7981
+ top: "\u2501",
7982
+ topRight: "\u2513",
7983
+ right: "\u2503",
7984
+ bottomRight: "\u251B",
7985
+ bottom: "\u2501",
7986
+ bottomLeft: "\u2517",
7987
+ left: "\u2503"
7988
+ },
7989
+ singleDouble: {
7990
+ topLeft: "\u2553",
7991
+ top: "\u2500",
7992
+ topRight: "\u2556",
7993
+ right: "\u2551",
7994
+ bottomRight: "\u255C",
7995
+ bottom: "\u2500",
7996
+ bottomLeft: "\u2559",
7997
+ left: "\u2551"
7998
+ },
7999
+ doubleSingle: {
8000
+ topLeft: "\u2552",
8001
+ top: "\u2550",
8002
+ topRight: "\u2555",
8003
+ right: "\u2502",
8004
+ bottomRight: "\u255B",
8005
+ bottom: "\u2550",
8006
+ bottomLeft: "\u2558",
8007
+ left: "\u2502"
8008
+ },
8009
+ classic: {
8010
+ topLeft: "+",
8011
+ top: "-",
8012
+ topRight: "+",
8013
+ right: "|",
8014
+ bottomRight: "+",
8015
+ bottom: "-",
8016
+ bottomLeft: "+",
8017
+ left: "|"
8018
+ },
8019
+ arrow: {
8020
+ topLeft: "\u2198",
8021
+ top: "\u2193",
8022
+ topRight: "\u2199",
8023
+ right: "\u2190",
8024
+ bottomRight: "\u2196",
8025
+ bottom: "\u2191",
8026
+ bottomLeft: "\u2197",
8027
+ left: "\u2192"
8028
+ }
8029
+ };
8030
+
8031
+ // ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/index.js
8032
+ var cli_boxes_default = boxes_default;
8255
8033
 
8256
- // ../../node_modules/.pnpm/camelcase@7.0.1/node_modules/camelcase/index.js
8034
+ // ../../node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.js
8257
8035
  init_cjs_shims();
8258
8036
  var UPPERCASE = /[\p{Lu}]/u;
8259
8037
  var LOWERCASE = /[\p{Ll}]/u;
@@ -8292,12 +8070,12 @@ var preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUp
8292
8070
  };
8293
8071
  var preserveConsecutiveUppercase = (input, toLowerCase) => {
8294
8072
  LEADING_CAPITAL.lastIndex = 0;
8295
- return input.replace(LEADING_CAPITAL, (m1) => toLowerCase(m1));
8073
+ return input.replaceAll(LEADING_CAPITAL, (match) => toLowerCase(match));
8296
8074
  };
8297
8075
  var postProcess = (input, toUpperCase) => {
8298
8076
  SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
8299
8077
  NUMBERS_AND_IDENTIFIER.lastIndex = 0;
8300
- return input.replace(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier)).replace(NUMBERS_AND_IDENTIFIER, (m) => toUpperCase(m));
8078
+ return input.replaceAll(NUMBERS_AND_IDENTIFIER, (match, pattern, offset) => ["_", "-"].includes(input.charAt(offset + match.length)) ? match : toUpperCase(match)).replaceAll(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier));
8301
8079
  };
8302
8080
  function camelCase(input, options) {
8303
8081
  if (!(typeof input === "string" || Array.isArray(input))) {
@@ -8336,10 +8114,10 @@ function camelCase(input, options) {
8336
8114
  return postProcess(input, toUpperCase);
8337
8115
  }
8338
8116
 
8339
- // ../../node_modules/.pnpm/boxen@7.1.1/node_modules/boxen/index.js
8117
+ // ../../node_modules/.pnpm/boxen@8.0.0/node_modules/boxen/index.js
8340
8118
  var import_ansi_align = __toESM(require_ansi_align(), 1);
8341
8119
 
8342
- // ../../node_modules/.pnpm/wrap-ansi@8.1.0/node_modules/wrap-ansi/index.js
8120
+ // ../../node_modules/.pnpm/wrap-ansi@9.0.0/node_modules/wrap-ansi/index.js
8343
8121
  init_cjs_shims();
8344
8122
 
8345
8123
  // ../../node_modules/.pnpm/ansi-styles@6.2.1/node_modules/ansi-styles/index.js
@@ -8529,7 +8307,7 @@ function assembleStyles2() {
8529
8307
  var ansiStyles2 = assembleStyles2();
8530
8308
  var ansi_styles_default2 = ansiStyles2;
8531
8309
 
8532
- // ../../node_modules/.pnpm/wrap-ansi@8.1.0/node_modules/wrap-ansi/index.js
8310
+ // ../../node_modules/.pnpm/wrap-ansi@9.0.0/node_modules/wrap-ansi/index.js
8533
8311
  var ESCAPES = /* @__PURE__ */ new Set([
8534
8312
  "\x1B",
8535
8313
  "\x9B"
@@ -8541,13 +8319,13 @@ var ANSI_OSC = "]";
8541
8319
  var ANSI_SGR_TERMINATOR = "m";
8542
8320
  var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
8543
8321
  var wrapAnsiCode = (code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
8544
- var wrapAnsiHyperlink = (uri) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${uri}${ANSI_ESCAPE_BELL}`;
8322
+ var wrapAnsiHyperlink = (url) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
8545
8323
  var wordLengths = (string) => string.split(" ").map((character) => stringWidth(character));
8546
8324
  var wrapWord = (rows, word, columns) => {
8547
8325
  const characters = [...word];
8548
8326
  let isInsideEscape = false;
8549
8327
  let isInsideLinkEscape = false;
8550
- let visible = stringWidth(stripAnsi(rows[rows.length - 1]));
8328
+ let visible = stringWidth(stripAnsi(rows.at(-1)));
8551
8329
  for (const [index, character] of characters.entries()) {
8552
8330
  const characterLength = stringWidth(character);
8553
8331
  if (visible + characterLength <= columns) {
@@ -8558,7 +8336,8 @@ var wrapWord = (rows, word, columns) => {
8558
8336
  }
8559
8337
  if (ESCAPES.has(character)) {
8560
8338
  isInsideEscape = true;
8561
- isInsideLinkEscape = characters.slice(index + 1).join("").startsWith(ANSI_ESCAPE_LINK);
8339
+ const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("");
8340
+ isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
8562
8341
  }
8563
8342
  if (isInsideEscape) {
8564
8343
  if (isInsideLinkEscape) {
@@ -8577,7 +8356,7 @@ var wrapWord = (rows, word, columns) => {
8577
8356
  visible = 0;
8578
8357
  }
8579
8358
  }
8580
- if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) {
8359
+ if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
8581
8360
  rows[rows.length - 2] += rows.pop();
8582
8361
  }
8583
8362
  };
@@ -8606,9 +8385,9 @@ var exec = (string, columns, options = {}) => {
8606
8385
  let rows = [""];
8607
8386
  for (const [index, word] of string.split(" ").entries()) {
8608
8387
  if (options.trim !== false) {
8609
- rows[rows.length - 1] = rows[rows.length - 1].trimStart();
8388
+ rows[rows.length - 1] = rows.at(-1).trimStart();
8610
8389
  }
8611
- let rowLength = stringWidth(rows[rows.length - 1]);
8390
+ let rowLength = stringWidth(rows.at(-1));
8612
8391
  if (index !== 0) {
8613
8392
  if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
8614
8393
  rows.push("");
@@ -8645,11 +8424,13 @@ var exec = (string, columns, options = {}) => {
8645
8424
  if (options.trim !== false) {
8646
8425
  rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
8647
8426
  }
8648
- const pre = [...rows.join("\n")];
8427
+ const preString = rows.join("\n");
8428
+ const pre = [...preString];
8429
+ let preStringIndex = 0;
8649
8430
  for (const [index, character] of pre.entries()) {
8650
8431
  returnValue += character;
8651
8432
  if (ESCAPES.has(character)) {
8652
- const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(pre.slice(index).join("")) || { groups: {} };
8433
+ const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || { groups: {} };
8653
8434
  if (groups.code !== void 0) {
8654
8435
  const code2 = Number.parseFloat(groups.code);
8655
8436
  escapeCode = code2 === END_CODE ? void 0 : code2;
@@ -8673,20 +8454,20 @@ var exec = (string, columns, options = {}) => {
8673
8454
  returnValue += wrapAnsiHyperlink(escapeUrl);
8674
8455
  }
8675
8456
  }
8457
+ preStringIndex += character.length;
8676
8458
  }
8677
8459
  return returnValue;
8678
8460
  };
8679
8461
  function wrapAnsi(string, columns, options) {
8680
- return String(string).normalize().replace(/\r\n/g, "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
8462
+ return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
8681
8463
  }
8682
8464
 
8683
- // ../../node_modules/.pnpm/boxen@7.1.1/node_modules/boxen/index.js
8684
- var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
8465
+ // ../../node_modules/.pnpm/boxen@8.0.0/node_modules/boxen/index.js
8685
8466
  var NEWLINE = "\n";
8686
8467
  var PAD = " ";
8687
8468
  var NONE = "none";
8688
8469
  var terminalColumns = () => {
8689
- const { env: env4, stdout, stderr } = import_node_process4.default;
8470
+ const { env: env4, stdout, stderr } = import_node_process8.default;
8690
8471
  if (stdout?.columns) {
8691
8472
  return stdout.columns;
8692
8473
  }
@@ -8730,7 +8511,7 @@ var getBorderChars = (borderStyle) => {
8730
8511
  }
8731
8512
  }
8732
8513
  if (typeof borderStyle === "string") {
8733
- characters = import_cli_boxes.default[borderStyle];
8514
+ characters = cli_boxes_default[borderStyle];
8734
8515
  if (!characters) {
8735
8516
  throw new TypeError(`Invalid border style: ${borderStyle}`);
8736
8517
  }
@@ -8818,22 +8599,9 @@ var makeContentText = (text, { padding, width, textAlignment, height }) => {
8818
8599
  }
8819
8600
  const paddingLeft = PAD.repeat(padding.left);
8820
8601
  const paddingRight = PAD.repeat(padding.right);
8821
- lines = lines.map((line) => paddingLeft + line + paddingRight);
8822
8602
  lines = lines.map((line) => {
8823
- if (width - stringWidth(line) > 0) {
8824
- switch (textAlignment) {
8825
- case "center": {
8826
- return line + PAD.repeat(width - stringWidth(line));
8827
- }
8828
- case "right": {
8829
- return line + PAD.repeat(width - stringWidth(line));
8830
- }
8831
- default: {
8832
- return line + PAD.repeat(width - stringWidth(line));
8833
- }
8834
- }
8835
- }
8836
- return line;
8603
+ const newLine = paddingLeft + line + paddingRight;
8604
+ return newLine + PAD.repeat(width - stringWidth(newLine));
8837
8605
  });
8838
8606
  if (padding.top > 0) {
8839
8607
  lines = [...Array.from({ length: padding.top }).fill(PAD.repeat(width)), ...lines];
@@ -8850,10 +8618,10 @@ var makeContentText = (text, { padding, width, textAlignment, height }) => {
8850
8618
  };
8851
8619
  var boxContent = (content, contentWidth, options) => {
8852
8620
  const colorizeBorder = (border) => {
8853
- const newBorder = options.borderColor ? getColorFn(options.borderColor)(border) : border;
8621
+ const newBorder = options.borderColor ? getColorFunction(options.borderColor)(border) : border;
8854
8622
  return options.dimBorder ? source_default.dim(newBorder) : newBorder;
8855
8623
  };
8856
- const colorizeContent = (content2) => options.backgroundColor ? getBGColorFn(options.backgroundColor)(content2) : content2;
8624
+ const colorizeContent = (content2) => options.backgroundColor ? getBGColorFunction(options.backgroundColor)(content2) : content2;
8857
8625
  const chars = getBorderChars(options.borderStyle);
8858
8626
  const columns = terminalColumns();
8859
8627
  let marginLeft = PAD.repeat(options.margin.left);
@@ -8882,24 +8650,16 @@ var boxContent = (content, contentWidth, options) => {
8882
8650
  return result;
8883
8651
  };
8884
8652
  var sanitizeOptions = (options) => {
8885
- if (options.fullscreen && import_node_process4.default?.stdout) {
8886
- let newDimensions = [import_node_process4.default.stdout.columns, import_node_process4.default.stdout.rows];
8653
+ if (options.fullscreen && import_node_process8.default?.stdout) {
8654
+ let newDimensions = [import_node_process8.default.stdout.columns, import_node_process8.default.stdout.rows];
8887
8655
  if (typeof options.fullscreen === "function") {
8888
8656
  newDimensions = options.fullscreen(...newDimensions);
8889
8657
  }
8890
- if (!options.width) {
8891
- options.width = newDimensions[0];
8892
- }
8893
- if (!options.height) {
8894
- options.height = newDimensions[1];
8895
- }
8896
- }
8897
- if (options.width) {
8898
- options.width = Math.max(1, options.width - getBorderWidth(options.borderStyle));
8899
- }
8900
- if (options.height) {
8901
- options.height = Math.max(1, options.height - getBorderWidth(options.borderStyle));
8658
+ options.width ||= newDimensions[0];
8659
+ options.height ||= newDimensions[1];
8902
8660
  }
8661
+ options.width &&= Math.max(1, options.width - getBorderWidth(options.borderStyle));
8662
+ options.height &&= Math.max(1, options.height - getBorderWidth(options.borderStyle));
8903
8663
  return options;
8904
8664
  };
8905
8665
  var formatTitle = (title, borderStyle) => borderStyle === NONE ? title : ` ${title} `;
@@ -8912,9 +8672,7 @@ var determineDimensions = (text, options) => {
8912
8672
  const widest = widestLine(wrapAnsi(text, columns - borderWidth, { hard: true, trim: false })) + options.padding.left + options.padding.right;
8913
8673
  if (options.title && widthOverride) {
8914
8674
  options.title = options.title.slice(0, Math.max(0, options.width - 2));
8915
- if (options.title) {
8916
- options.title = formatTitle(options.title, options.borderStyle);
8917
- }
8675
+ options.title &&= formatTitle(options.title, options.borderStyle);
8918
8676
  } else if (options.title) {
8919
8677
  options.title = options.title.slice(0, Math.max(0, maxWidth - 2));
8920
8678
  if (options.title) {
@@ -8924,7 +8682,7 @@ var determineDimensions = (text, options) => {
8924
8682
  }
8925
8683
  }
8926
8684
  }
8927
- options.width = options.width ? options.width : widest;
8685
+ options.width ||= widest;
8928
8686
  if (!widthOverride) {
8929
8687
  if (options.margin.left && options.margin.right && options.width > maxWidth) {
8930
8688
  const spaceForMargins = columns - options.width - borderWidth;
@@ -8946,8 +8704,8 @@ var determineDimensions = (text, options) => {
8946
8704
  };
8947
8705
  var isHex = (color) => color.match(/^#(?:[0-f]{3}){1,2}$/i);
8948
8706
  var isColorValid = (color) => typeof color === "string" && (source_default[color] ?? isHex(color));
8949
- var getColorFn = (color) => isHex(color) ? source_default.hex(color) : source_default[color];
8950
- var getBGColorFn = (color) => isHex(color) ? source_default.bgHex(color) : source_default[camelCase(["bg", color])];
8707
+ var getColorFunction = (color) => isHex(color) ? source_default.hex(color) : source_default[color];
8708
+ var getBGColorFunction = (color) => isHex(color) ? source_default.bgHex(color) : source_default[camelCase(["bg", color])];
8951
8709
  function boxen(text, options) {
8952
8710
  options = {
8953
8711
  padding: 0,
@@ -8974,10 +8732,10 @@ function boxen(text, options) {
8974
8732
  return boxContent(text, options.width, options);
8975
8733
  }
8976
8734
 
8977
- // ../../node_modules/.pnpm/is-in-ci@0.1.0/node_modules/is-in-ci/index.js
8735
+ // ../../node_modules/.pnpm/is-in-ci@1.0.0/node_modules/is-in-ci/index.js
8978
8736
  init_cjs_shims();
8979
- var import_node_process5 = require("process");
8980
- var isInCi = import_node_process5.env.CI !== "0" && import_node_process5.env.CI !== "false" && ("CI" in import_node_process5.env || "CONTINUOUS_INTEGRATION" in import_node_process5.env || Object.keys(import_node_process5.env).some((key) => key.startsWith("CI_")));
8737
+ var import_node_process9 = require("process");
8738
+ var isInCi = import_node_process9.env.CI !== "0" && import_node_process9.env.CI !== "false" && ("CI" in import_node_process9.env || "CONTINUOUS_INTEGRATION" in import_node_process9.env || Object.keys(import_node_process9.env).some((key) => key.startsWith("CI_")));
8981
8739
  var is_in_ci_default = isInCi;
8982
8740
 
8983
8741
  // ../../node_modules/.pnpm/pupa@3.1.0/node_modules/pupa/index.js
@@ -9035,8 +8793,8 @@ function pupa(template, data, { ignoreMissing = false, transform = ({ value }) =
9035
8793
  return template.replace(braceRegex, replace);
9036
8794
  }
9037
8795
 
9038
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/update-notifier.js
9039
- var __dirname3 = import_node_path4.default.dirname((0, import_node_url2.fileURLToPath)(importMetaUrl));
8796
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/update-notifier.js
8797
+ var __dirname3 = import_node_path7.default.dirname((0, import_node_url2.fileURLToPath)(importMetaUrl));
9040
8798
  var ONE_DAY = 1e3 * 60 * 60 * 24;
9041
8799
  var UpdateNotifier = class {
9042
8800
  // Public
@@ -9044,8 +8802,10 @@ var UpdateNotifier = class {
9044
8802
  update;
9045
8803
  // Semi-private (used for tests)
9046
8804
  _packageName;
8805
+ // eslint-disable-line lines-between-class-members
9047
8806
  _shouldNotifyInNpmScript;
9048
8807
  #options;
8808
+ // eslint-disable-line lines-between-class-members
9049
8809
  #packageVersion;
9050
8810
  #updateCheckInterval;
9051
8811
  #isDisabled;
@@ -9063,7 +8823,7 @@ var UpdateNotifier = class {
9063
8823
  this._packageName = options.pkg.name;
9064
8824
  this.#packageVersion = options.pkg.version;
9065
8825
  this.#updateCheckInterval = typeof options.updateCheckInterval === "number" ? options.updateCheckInterval : ONE_DAY;
9066
- this.#isDisabled = "NO_UPDATE_NOTIFIER" in import_node_process6.default.env || import_node_process6.default.env.NODE_ENV === "test" || import_node_process6.default.argv.includes("--no-update-notifier") || is_in_ci_default;
8826
+ this.#isDisabled = "NO_UPDATE_NOTIFIER" in import_node_process10.default.env || import_node_process10.default.env.NODE_ENV === "test" || import_node_process10.default.argv.includes("--no-update-notifier") || is_in_ci_default;
9067
8827
  this._shouldNotifyInNpmScript = options.shouldNotifyInNpmScript;
9068
8828
  if (!this.#isDisabled) {
9069
8829
  try {
@@ -9074,8 +8834,8 @@ var UpdateNotifier = class {
9074
8834
  lastUpdateCheck: Date.now()
9075
8835
  });
9076
8836
  } catch {
9077
- const message = source_default.yellow((0, import_node_util.format)(" %s update check failed ", options.pkg.name)) + (0, import_node_util.format)("\n Try running with %s or get access ", source_default.cyan("sudo")) + "\n to the local update config store via \n" + source_default.cyan((0, import_node_util.format)(" sudo chown -R $USER:$(id -gn $USER) %s ", xdgConfig));
9078
- import_node_process6.default.on("exit", () => {
8837
+ const message = source_default.yellow((0, import_node_util2.format)(" %s update check failed ", options.pkg.name)) + (0, import_node_util2.format)("\n Try running with %s or get access ", source_default.cyan("sudo")) + "\n to the local update config store via \n" + source_default.cyan((0, import_node_util2.format)(" sudo chown -R $USER:$(id -gn $USER) %s ", xdgConfig));
8838
+ import_node_process10.default.on("exit", () => {
9079
8839
  console.error(boxen(message, { textAlignment: "center" }));
9080
8840
  });
9081
8841
  }
@@ -9093,7 +8853,7 @@ var UpdateNotifier = class {
9093
8853
  if (Date.now() - this.config.get("lastUpdateCheck") < this.#updateCheckInterval) {
9094
8854
  return;
9095
8855
  }
9096
- (0, import_node_child_process.spawn)(import_node_process6.default.execPath, [import_node_path4.default.join(__dirname3, "check.js"), JSON.stringify(this.#options)], {
8856
+ (0, import_node_child_process.spawn)(import_node_process10.default.execPath, [import_node_path7.default.join(__dirname3, "check.js"), JSON.stringify(this.#options)], {
9097
8857
  detached: true,
9098
8858
  stdio: "ignore"
9099
8859
  }).unref();
@@ -9110,7 +8870,7 @@ var UpdateNotifier = class {
9110
8870
  }
9111
8871
  notify(options) {
9112
8872
  const suppressForNpm = !this._shouldNotifyInNpmScript && isNpmOrYarn;
9113
- if (!import_node_process6.default.stdout.isTTY || suppressForNpm || !this.update || !import_semver3.default.gt(this.update.latest, this.update.current)) {
8873
+ if (!import_node_process10.default.stdout.isTTY || suppressForNpm || !this.update || !import_semver3.default.gt(this.update.latest, this.update.current)) {
9114
8874
  return this;
9115
8875
  }
9116
8876
  options = {
@@ -9139,19 +8899,19 @@ var UpdateNotifier = class {
9139
8899
  if (options.defer === false) {
9140
8900
  console.error(message);
9141
8901
  } else {
9142
- import_node_process6.default.on("exit", () => {
8902
+ import_node_process10.default.on("exit", () => {
9143
8903
  console.error(message);
9144
8904
  });
9145
- import_node_process6.default.on("SIGINT", () => {
8905
+ import_node_process10.default.on("SIGINT", () => {
9146
8906
  console.error("");
9147
- import_node_process6.default.exit();
8907
+ import_node_process10.default.exit();
9148
8908
  });
9149
8909
  }
9150
8910
  return this;
9151
8911
  }
9152
8912
  };
9153
8913
 
9154
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/index.js
8914
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/index.js
9155
8915
  function updateNotifier(options) {
9156
8916
  const updateNotifier2 = new UpdateNotifier(options);
9157
8917
  updateNotifier2.check();
@@ -9209,10 +8969,11 @@ var package_default = {
9209
8969
  "cli-check-node": "^1.3.4",
9210
8970
  "cli-handle-unhandled": "^1.1.1",
9211
8971
  "cli-welcome": "^2.2.3",
9212
- color2k: "^2.0.3",
9213
8972
  commander: "^12.1.0",
9214
8973
  glob: "^11.0.0",
9215
- prettier: "^3.3.3"
8974
+ prettier: "^3.3.3",
8975
+ tar: "^7.4.3",
8976
+ typescript: "^5.5.4"
9216
8977
  },
9217
8978
  devDependencies: {
9218
8979
  "@types/cli-welcome": "^2.2.2",
@@ -9248,19 +9009,6 @@ ${package_default.description}`,
9248
9009
  });
9249
9010
  /*! Bundled license information:
9250
9011
 
9251
- imurmurhash/imurmurhash.js:
9252
- (**
9253
- * @preserve
9254
- * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
9255
- *
9256
- * @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
9257
- * @see http://github.com/homebrewing/brauhaus-diff
9258
- * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
9259
- * @see http://github.com/garycourt/murmurhash-js
9260
- * @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
9261
- * @see http://sites.google.com/site/murmurhash/
9262
- *)
9263
-
9264
9012
  deep-extend/lib/deep-extend.js:
9265
9013
  (*!
9266
9014
  * @description Recursive object extending