@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.
@@ -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(path8, 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(path10, 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(path8, uid, gid, cb) {
106
+ if (fs5.chown && !fs5.lchown) {
107
+ fs5.lchown = function(path10, 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(path8, mode, callback) {
175
- fs5.open(
176
- path8,
172
+ }(fs5.readSync);
173
+ function patchLchmod(fs6) {
174
+ fs6.lchmod = function(path10, mode, callback) {
175
+ fs6.open(
176
+ path10,
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(path8, mode) {
193
- var fd = fs5.openSync(path8, constants.O_WRONLY | constants.O_SYMLINK, mode);
192
+ fs6.lchmodSync = function(path10, mode) {
193
+ var fd = fs6.openSync(path10, 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(path8, at, mt, cb) {
215
- fs5.open(path8, constants.O_SYMLINK, function(er, fd) {
212
+ function patchLutimes(fs6) {
213
+ if (constants.hasOwnProperty("O_SYMLINK") && fs6.futimes) {
214
+ fs6.lutimes = function(path10, at, mt, cb) {
215
+ fs6.open(path10, 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(path8, at, mt) {
228
- var fd = fs5.openSync(path8, constants.O_SYMLINK);
227
+ fs6.lutimesSync = function(path10, at, mt) {
228
+ var fd = fs6.openSync(path10, 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(path8, options) {
349
- if (!(this instanceof ReadStream)) return new ReadStream(path8, options);
348
+ function ReadStream(path10, options) {
349
+ if (!(this instanceof ReadStream)) return new ReadStream(path10, options);
350
350
  Stream.call(this);
351
351
  var self = this;
352
- this.path = path8;
352
+ this.path = path10;
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(path8, options) {
398
- if (!(this instanceof WriteStream)) return new WriteStream(path8, options);
397
+ function WriteStream(path10, options) {
398
+ if (!(this instanceof WriteStream)) return new WriteStream(path10, options);
399
399
  Stream.call(this);
400
- this.path = path8;
400
+ this.path = path10;
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(path8, 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(path10, options, cb) {
547
547
  if (typeof options === "function")
548
548
  cb = options, options = null;
549
- return go$readFile(path8, options, cb);
550
- function go$readFile(path9, options2, cb2, startTime) {
551
- return fs$readFile(path9, options2, function(err) {
549
+ return go$readFile(path10, options, cb);
550
+ function go$readFile(path11, options2, cb2, startTime) {
551
+ return fs$readFile(path11, options2, function(err) {
552
552
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
553
- enqueue([go$readFile, [path9, options2, cb2], err, startTime || Date.now(), Date.now()]);
553
+ enqueue([go$readFile, [path11, 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(path8, data, options, cb) {
561
+ var fs$writeFile = fs6.writeFile;
562
+ fs6.writeFile = writeFile;
563
+ function writeFile(path10, data, options, cb) {
564
564
  if (typeof options === "function")
565
565
  cb = options, options = null;
566
- return go$writeFile(path8, data, options, cb);
567
- function go$writeFile(path9, data2, options2, cb2, startTime) {
568
- return fs$writeFile(path9, data2, options2, function(err) {
566
+ return go$writeFile(path10, data, options, cb);
567
+ function go$writeFile(path11, data2, options2, cb2, startTime) {
568
+ return fs$writeFile(path11, data2, options2, function(err) {
569
569
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
570
- enqueue([go$writeFile, [path9, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
570
+ enqueue([go$writeFile, [path11, 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(path8, data, options, cb) {
580
+ fs6.appendFile = appendFile;
581
+ function appendFile(path10, data, options, cb) {
582
582
  if (typeof options === "function")
583
583
  cb = options, options = null;
584
- return go$appendFile(path8, data, options, cb);
585
- function go$appendFile(path9, data2, options2, cb2, startTime) {
586
- return fs$appendFile(path9, data2, options2, function(err) {
584
+ return go$appendFile(path10, data, options, cb);
585
+ function go$appendFile(path11, data2, options2, cb2, startTime) {
586
+ return fs$appendFile(path11, data2, options2, function(err) {
587
587
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
588
- enqueue([go$appendFile, [path9, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
588
+ enqueue([go$appendFile, [path11, 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(path8, options, cb) {
619
+ function readdir(path10, 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(path9, options2, cb2, startTime) {
623
- return fs$readdir(path9, fs$readdirCallback(
624
- path9,
622
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path11, options2, cb2, startTime) {
623
+ return fs$readdir(path11, fs$readdirCallback(
624
+ path11,
625
625
  options2,
626
626
  cb2,
627
627
  startTime
628
628
  ));
629
- } : function go$readdir2(path9, options2, cb2, startTime) {
630
- return fs$readdir(path9, options2, fs$readdirCallback(
631
- path9,
629
+ } : function go$readdir2(path11, options2, cb2, startTime) {
630
+ return fs$readdir(path11, options2, fs$readdirCallback(
631
+ path11,
632
632
  options2,
633
633
  cb2,
634
634
  startTime
635
635
  ));
636
636
  };
637
- return go$readdir(path8, options, cb);
638
- function fs$readdirCallback(path9, options2, cb2, startTime) {
637
+ return go$readdir(path10, options, cb);
638
+ function fs$readdirCallback(path11, 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
- [path9, options2, cb2],
643
+ [path11, 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(path8, options) {
714
+ function ReadStream(path10, 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(path8, options) {
734
+ function WriteStream(path10, 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(path8, options) {
753
- return new fs5.ReadStream(path8, options);
752
+ function createReadStream(path10, options) {
753
+ return new fs6.ReadStream(path10, options);
754
754
  }
755
- function createWriteStream(path8, options) {
756
- return new fs5.WriteStream(path8, options);
755
+ function createWriteStream(path10, options) {
756
+ return new fs6.WriteStream(path10, options);
757
757
  }
758
- var fs$open = fs5.open;
759
- fs5.open = open;
760
- function open(path8, flags, mode, cb) {
758
+ var fs$open = fs6.open;
759
+ fs6.open = open;
760
+ function open(path10, flags, mode, cb) {
761
761
  if (typeof mode === "function")
762
762
  cb = mode, mode = null;
763
- return go$open(path8, flags, mode, cb);
764
- function go$open(path9, flags2, mode2, cb2, startTime) {
765
- return fs$open(path9, flags2, mode2, function(err, fd) {
763
+ return go$open(path10, flags, mode, cb);
764
+ function go$open(path11, flags2, mode2, cb2, startTime) {
765
+ return fs$open(path11, flags2, mode2, function(err, fd) {
766
766
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
767
- enqueue([go$open, [path9, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
767
+ enqueue([go$open, [path11, 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 path8 = 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 = path8.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(path8) {
1426
- const pathArray = path8.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, path8, value) {
1443
- if (!isObj(object) || typeof path8 !== "string") {
1444
- return value === void 0 ? object : value;
1445
- }
1446
- const pathArray = getPathSegments(path8);
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, path8, value) {
1462
- if (!isObj(object) || typeof path8 !== "string") {
1463
- return object;
1464
- }
1465
- const root = object;
1466
- const pathArray = getPathSegments(path8);
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, path8) {
1480
- if (!isObj(object) || typeof path8 !== "string") {
1481
- return false;
1482
- }
1483
- const pathArray = getPathSegments(path8);
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, path8) {
1497
- if (!isObj(object) || typeof path8 !== "string") {
1498
- return false;
1499
- }
1500
- const pathArray = getPathSegments(path8);
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 path8 = require("path");
3001
+ var path10 = 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 = path8.join.apply(null, args);
3015
+ var file2 = path10.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 = path8.join.apply(null, [].slice.call(arguments));
3053
+ var rel = path10.join.apply(null, [].slice.call(arguments));
3744
3054
  function find2(start, rel2) {
3745
- var file2 = path8.join(start, rel2);
3055
+ var file2 = path10.join(start, rel2);
3746
3056
  try {
3747
- fs4.statSync(file2);
3057
+ fs5.statSync(file2);
3748
3058
  return file2;
3749
3059
  } catch (err) {
3750
- if (path8.dirname(start) !== start)
3751
- return find2(path8.dirname(start), rel2);
3060
+ if (path10.dirname(start) !== start)
3061
+ return find2(path10.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(path8, 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(path10, 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(path8, uid, gid, cb) {
3488
+ if (fs5.chown && !fs5.lchown) {
3489
+ fs5.lchown = function(path10, 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(path8, mode, callback) {
4247
- fs5.open(
4248
- path8,
3554
+ }(fs5.readSync);
3555
+ function patchLchmod(fs6) {
3556
+ fs6.lchmod = function(path10, mode, callback) {
3557
+ fs6.open(
3558
+ path10,
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(path8, mode) {
4265
- var fd = fs5.openSync(path8, constants.O_WRONLY | constants.O_SYMLINK, mode);
3574
+ fs6.lchmodSync = function(path10, mode) {
3575
+ var fd = fs6.openSync(path10, 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(path8, at, mt, cb) {
4287
- fs5.open(path8, constants.O_SYMLINK, function(er, fd) {
3594
+ function patchLutimes(fs6) {
3595
+ if (constants.hasOwnProperty("O_SYMLINK") && fs6.futimes) {
3596
+ fs6.lutimes = function(path10, at, mt, cb) {
3597
+ fs6.open(path10, 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(path8, at, mt) {
4300
- var fd = fs5.openSync(path8, constants.O_SYMLINK);
3609
+ fs6.lutimesSync = function(path10, at, mt) {
3610
+ var fd = fs6.openSync(path10, 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(path8, options) {
4421
- if (!(this instanceof ReadStream)) return new ReadStream(path8, options);
3730
+ function ReadStream(path10, options) {
3731
+ if (!(this instanceof ReadStream)) return new ReadStream(path10, options);
4422
3732
  Stream.call(this);
4423
3733
  var self = this;
4424
- this.path = path8;
3734
+ this.path = path10;
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(path8, options) {
4470
- if (!(this instanceof WriteStream)) return new WriteStream(path8, options);
3779
+ function WriteStream(path10, options) {
3780
+ if (!(this instanceof WriteStream)) return new WriteStream(path10, options);
4471
3781
  Stream.call(this);
4472
- this.path = path8;
3782
+ this.path = path10;
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(path8, 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(path10, options, cb) {
4619
3929
  if (typeof options === "function")
4620
3930
  cb = options, options = null;
4621
- return go$readFile(path8, options, cb);
4622
- function go$readFile(path9, options2, cb2, startTime) {
4623
- return fs$readFile(path9, options2, function(err) {
3931
+ return go$readFile(path10, options, cb);
3932
+ function go$readFile(path11, options2, cb2, startTime) {
3933
+ return fs$readFile(path11, options2, function(err) {
4624
3934
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4625
- enqueue([go$readFile, [path9, options2, cb2], err, startTime || Date.now(), Date.now()]);
3935
+ enqueue([go$readFile, [path11, 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(path8, data, options, cb) {
3943
+ var fs$writeFile = fs6.writeFile;
3944
+ fs6.writeFile = writeFile;
3945
+ function writeFile(path10, data, options, cb) {
4636
3946
  if (typeof options === "function")
4637
3947
  cb = options, options = null;
4638
- return go$writeFile(path8, data, options, cb);
4639
- function go$writeFile(path9, data2, options2, cb2, startTime) {
4640
- return fs$writeFile(path9, data2, options2, function(err) {
3948
+ return go$writeFile(path10, data, options, cb);
3949
+ function go$writeFile(path11, data2, options2, cb2, startTime) {
3950
+ return fs$writeFile(path11, data2, options2, function(err) {
4641
3951
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4642
- enqueue([go$writeFile, [path9, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3952
+ enqueue([go$writeFile, [path11, 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(path8, data, options, cb) {
3962
+ fs6.appendFile = appendFile;
3963
+ function appendFile(path10, data, options, cb) {
4654
3964
  if (typeof options === "function")
4655
3965
  cb = options, options = null;
4656
- return go$appendFile(path8, data, options, cb);
4657
- function go$appendFile(path9, data2, options2, cb2, startTime) {
4658
- return fs$appendFile(path9, data2, options2, function(err) {
3966
+ return go$appendFile(path10, data, options, cb);
3967
+ function go$appendFile(path11, data2, options2, cb2, startTime) {
3968
+ return fs$appendFile(path11, data2, options2, function(err) {
4659
3969
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4660
- enqueue([go$appendFile, [path9, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3970
+ enqueue([go$appendFile, [path11, 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(path8, options, cb) {
4001
+ function readdir(path10, 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(path9, options2, cb2, startTime) {
4695
- return fs$readdir(path9, fs$readdirCallback(
4696
- path9,
4004
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path11, options2, cb2, startTime) {
4005
+ return fs$readdir(path11, fs$readdirCallback(
4006
+ path11,
4697
4007
  options2,
4698
4008
  cb2,
4699
4009
  startTime
4700
4010
  ));
4701
- } : function go$readdir2(path9, options2, cb2, startTime) {
4702
- return fs$readdir(path9, options2, fs$readdirCallback(
4703
- path9,
4011
+ } : function go$readdir2(path11, options2, cb2, startTime) {
4012
+ return fs$readdir(path11, options2, fs$readdirCallback(
4013
+ path11,
4704
4014
  options2,
4705
4015
  cb2,
4706
4016
  startTime
4707
4017
  ));
4708
4018
  };
4709
- return go$readdir(path8, options, cb);
4710
- function fs$readdirCallback(path9, options2, cb2, startTime) {
4019
+ return go$readdir(path10, options, cb);
4020
+ function fs$readdirCallback(path11, 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
- [path9, options2, cb2],
4025
+ [path11, 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(path8, options) {
4096
+ function ReadStream(path10, 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(path8, options) {
4116
+ function WriteStream(path10, 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(path8, options) {
4825
- return new fs5.ReadStream(path8, options);
4134
+ function createReadStream(path10, options) {
4135
+ return new fs6.ReadStream(path10, options);
4826
4136
  }
4827
- function createWriteStream(path8, options) {
4828
- return new fs5.WriteStream(path8, options);
4137
+ function createWriteStream(path10, options) {
4138
+ return new fs6.WriteStream(path10, options);
4829
4139
  }
4830
- var fs$open = fs5.open;
4831
- fs5.open = open;
4832
- function open(path8, flags, mode, cb) {
4140
+ var fs$open = fs6.open;
4141
+ fs6.open = open;
4142
+ function open(path10, flags, mode, cb) {
4833
4143
  if (typeof mode === "function")
4834
4144
  cb = mode, mode = null;
4835
- return go$open(path8, flags, mode, cb);
4836
- function go$open(path9, flags2, mode2, cb2, startTime) {
4837
- return fs$open(path9, flags2, mode2, function(err, fd) {
4145
+ return go$open(path10, flags, mode, cb);
4146
+ function go$open(path11, flags2, mode2, cb2, startTime) {
4147
+ return fs$open(path11, flags2, mode2, function(err, fd) {
4838
4148
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4839
- enqueue([go$open, [path9, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
4149
+ enqueue([go$open, [path11, 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 path8 = require("path");
5059
- var fs4 = require("fs");
4368
+ var path10 = 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 = path8.join.apply(null, [].slice.call(arguments));
4383
+ var rel = path10.join.apply(null, [].slice.call(arguments));
5074
4384
  function find2(start, rel2) {
5075
- var file = path8.join(start, rel2);
4385
+ var file = path10.join(start, rel2);
5076
4386
  try {
5077
- fs4.statSync(file);
4387
+ fs5.statSync(file);
5078
4388
  return file;
5079
4389
  } catch (err) {
5080
- if (path8.dirname(start) !== start)
5081
- return find2(path8.dirname(start), rel2);
4390
+ if (path10.dirname(start) !== start)
4391
+ return find2(path10.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 = path8.join.apply(null, args);
4422
+ var file = path10.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 path8 = require("path");
4688
+ var fs5 = require("fs");
4689
+ var path10 = 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(path8) !== -1;
4696
+ const isPath = typeList.indexOf(path10) !== -1;
5387
4697
  const isBool = typeList.indexOf(Boolean) !== -1;
5388
- const isString2 = typeList.indexOf(String) !== -1;
4698
+ const isString3 = typeList.indexOf(String) !== -1;
5389
4699
  const isNumber2 = 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 && !isString2 && field === "") {
4708
+ if (isBool && !isString3 && 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 = path8.resolve(process.env.HOME, field.substr(2));
4729
+ field = path10.resolve(process.env.HOME, field.substr(2));
5420
4730
  }
5421
- field = path8.resolve(field);
4731
+ field = path10.resolve(field);
5422
4732
  }
5423
4733
  if (isNumber2 && !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 = path8.resolve(name);
4739
+ name = path10.resolve(name);
5430
4740
  let walkedUp = false;
5431
- while (path8.basename(name) === "node_modules") {
5432
- name = path8.dirname(name);
4741
+ while (path10.basename(name) === "node_modules") {
4742
+ name = path10.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 = path8.dirname(name2);
4758
+ const dirname = path10.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 path8 = require("path");
4786
+ var path10 = 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: path8,
5495
- cache: path8,
4804
+ cafile: path10,
4805
+ cache: path10,
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: path8,
4829
+ globalconfig: path10,
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": path8,
4839
+ "init-module": path10,
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: path8,
4872
+ prefix: path10,
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: path8,
4905
+ tmp: path10,
5596
4906
  unicode: Boolean,
5597
4907
  "unsafe-perm": Boolean,
5598
4908
  usage: Boolean,
5599
4909
  user: [Number, String],
5600
- userconfig: path8,
4910
+ userconfig: path10,
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 path8 = require("path");
4927
+ var fs5 = require("fs");
4928
+ var path10 = 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 path8.resolve(this.get("prefix"));
5000
+ return path10.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 = path8.resolve(cli.prefix);
5014
+ p = path10.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 = path8.resolve(this.get("prefix"));
5045
+ const prefix = path10.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 path8 = require("path");
5758
- var temp = os5.tmpdir();
5066
+ var os6 = require("os");
5067
+ var path10 = 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 = path8.resolve(temp, "npm-" + uidOrPid);
5083
+ home = path10.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 = path8.resolve(cacheRoot, cacheExtra);
5087
+ var cache = path10.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 = path8.dirname(process.execPath);
5096
+ globalPrefix = path10.dirname(process.execPath);
5787
5097
  } else {
5788
- globalPrefix = path8.dirname(path8.dirname(process.execPath));
5098
+ globalPrefix = path10.dirname(path10.dirname(process.execPath));
5789
5099
  if (process.env.DESTDIR) {
5790
- globalPrefix = path8.join(process.env.DESTDIR, globalPrefix);
5100
+ globalPrefix = path10.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: path8.resolve(globalPrefix, "etc", "npmrc"),
5138
+ globalconfig: path10.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": path8.resolve(home, ".npm-init.js"),
5146
+ "init-module": path10.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: path8.resolve(home, ".npmrc"),
5217
+ userconfig: path10.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 path8 = require("path");
5235
+ var path10 = 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(path8.resolve(path8.dirname(npmPath), "..", "npmrc"), "builtin"));
5252
+ warnings.push(conf.addFile(path10.resolve(path10.dirname(npmPath), "..", "npmrc"), "builtin"));
5943
5253
  }
5944
5254
  }
5945
5255
  conf.addEnv();
5946
5256
  conf.loadPrefix();
5947
- const projectConf = path8.resolve(conf.localPrefix, ".npmrc");
5257
+ const projectConf = path10.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 = path8.resolve(conf.get("workspace-prefix"), ".npmrc");
5265
+ const workspaceConf = path10.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 = path8.resolve(conf.get("prefix"), "etc");
5961
- conf.root.globalconfig = path8.resolve(etc, "npmrc");
5962
- conf.root.globalignorefile = path8.resolve(etc, "npmignore");
5270
+ const etc = path10.resolve(conf.get("prefix"), "etc");
5271
+ conf.root.globalconfig = path10.resolve(etc, "npmrc");
5272
+ conf.root.globalignorefile = path10.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(path8) {
6042
- return path8[path8.length - 1] === "/" ? path8 : path8 + "/";
5351
+ function normalizePath(path10) {
5352
+ return path10[path10.length - 1] === "/" ? path10 : path10 + "/";
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);
@@ -6702,21 +5815,21 @@ var import_cli_check_node = __toESM(require("cli-check-node"));
6702
5815
  var import_cli_handle_unhandled = __toESM(require("cli-handle-unhandled"));
6703
5816
  var import_cli_welcome = __toESM(require("cli-welcome"));
6704
5817
 
6705
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/index.js
5818
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/index.js
6706
5819
  init_cjs_shims();
6707
5820
 
6708
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/update-notifier.js
5821
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/update-notifier.js
6709
5822
  init_cjs_shims();
6710
- var import_node_process6 = __toESM(require("process"), 1);
5823
+ var import_node_process10 = __toESM(require("process"), 1);
6711
5824
  var import_node_child_process = require("child_process");
6712
5825
  var import_node_url2 = require("url");
6713
- var import_node_path4 = __toESM(require("path"), 1);
6714
- var import_node_util = require("util");
5826
+ var import_node_path7 = __toESM(require("path"), 1);
5827
+ var import_node_util2 = require("util");
6715
5828
 
6716
- // ../../node_modules/.pnpm/configstore@6.0.0/node_modules/configstore/index.js
5829
+ // ../../node_modules/.pnpm/configstore@7.0.0/node_modules/configstore/index.js
6717
5830
  init_cjs_shims();
6718
- var import_path2 = __toESM(require("path"), 1);
6719
- var import_os2 = __toESM(require("os"), 1);
5831
+ var import_node_path3 = __toESM(require("path"), 1);
5832
+ var import_node_os2 = __toESM(require("os"), 1);
6720
5833
  var import_graceful_fs = __toESM(require_graceful_fs(), 1);
6721
5834
 
6722
5835
  // ../../node_modules/.pnpm/xdg-basedir@5.1.0/node_modules/xdg-basedir/index.js
@@ -6739,143 +5852,680 @@ if (xdgConfig) {
6739
5852
  xdgConfigDirectories.unshift(xdgConfig);
6740
5853
  }
6741
5854
 
6742
- // ../../node_modules/.pnpm/configstore@6.0.0/node_modules/configstore/index.js
6743
- var import_write_file_atomic = __toESM(require_write_file_atomic(), 1);
6744
- var import_dot_prop = __toESM(require_dot_prop(), 1);
5855
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/index.js
5856
+ init_cjs_shims();
5857
+ var import_node_path2 = __toESM(require("path"), 1);
6745
5858
 
6746
- // ../../node_modules/.pnpm/unique-string@3.0.0/node_modules/unique-string/index.js
5859
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/index.js
6747
5860
  init_cjs_shims();
5861
+ var import_node_fs = __toESM(require("fs"), 1);
5862
+ var import_node_util = require("util");
6748
5863
 
6749
- // ../../node_modules/.pnpm/crypto-random-string@4.0.0/node_modules/crypto-random-string/index.js
5864
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/attemptify.js
6750
5865
  init_cjs_shims();
6751
- var import_util = require("util");
6752
- var import_crypto = __toESM(require("crypto"), 1);
6753
- var randomBytesAsync = (0, import_util.promisify)(import_crypto.default.randomBytes);
6754
- var urlSafeCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~".split("");
6755
- var numericCharacters = "0123456789".split("");
6756
- var distinguishableCharacters = "CDEHKMPRTUWXY012458".split("");
6757
- var asciiPrintableCharacters = "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~".split("");
6758
- var alphanumericCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");
6759
- var generateForCustomCharacters = (length, characters) => {
6760
- const characterCount = characters.length;
6761
- const maxValidSelector = Math.floor(65536 / characterCount) * characterCount - 1;
6762
- const entropyLength = 2 * Math.ceil(1.1 * length);
6763
- let string = "";
6764
- let stringLength = 0;
6765
- while (stringLength < length) {
6766
- const entropy = import_crypto.default.randomBytes(entropyLength);
6767
- let entropyPosition = 0;
6768
- while (entropyPosition < entropyLength && stringLength < length) {
6769
- const entropyValue = entropy.readUInt16LE(entropyPosition);
6770
- entropyPosition += 2;
6771
- if (entropyValue > maxValidSelector) {
6772
- continue;
6773
- }
6774
- string += characters[entropyValue % characterCount];
6775
- stringLength++;
5866
+ var attemptifyAsync = (fn, onError) => {
5867
+ return function attemptified(...args) {
5868
+ return fn.apply(void 0, args).catch(onError);
5869
+ };
5870
+ };
5871
+ var attemptifySync = (fn, onError) => {
5872
+ return function attemptified(...args) {
5873
+ try {
5874
+ return fn.apply(void 0, args);
5875
+ } catch (error) {
5876
+ return onError(error);
6776
5877
  }
5878
+ };
5879
+ };
5880
+
5881
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/constants.js
5882
+ init_cjs_shims();
5883
+ var import_node_process = __toESM(require("process"), 1);
5884
+ var IS_USER_ROOT = import_node_process.default.getuid ? !import_node_process.default.getuid() : false;
5885
+ var LIMIT_FILES_DESCRIPTORS = 1e4;
5886
+ var NOOP = () => void 0;
5887
+
5888
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/handlers.js
5889
+ init_cjs_shims();
5890
+ var Handlers = {
5891
+ /* API */
5892
+ isChangeErrorOk: (error) => {
5893
+ if (!Handlers.isNodeError(error))
5894
+ return false;
5895
+ const { code } = error;
5896
+ if (code === "ENOSYS")
5897
+ return true;
5898
+ if (!IS_USER_ROOT && (code === "EINVAL" || code === "EPERM"))
5899
+ return true;
5900
+ return false;
5901
+ },
5902
+ isNodeError: (error) => {
5903
+ return error instanceof Error;
5904
+ },
5905
+ isRetriableError: (error) => {
5906
+ if (!Handlers.isNodeError(error))
5907
+ return false;
5908
+ const { code } = error;
5909
+ if (code === "EMFILE" || code === "ENFILE" || code === "EAGAIN" || code === "EBUSY" || code === "EACCESS" || code === "EACCES" || code === "EACCS" || code === "EPERM")
5910
+ return true;
5911
+ return false;
5912
+ },
5913
+ onChangeError: (error) => {
5914
+ if (!Handlers.isNodeError(error))
5915
+ throw error;
5916
+ if (Handlers.isChangeErrorOk(error))
5917
+ return;
5918
+ throw error;
6777
5919
  }
6778
- return string;
6779
5920
  };
6780
- var generateForCustomCharactersAsync = async (length, characters) => {
6781
- const characterCount = characters.length;
6782
- const maxValidSelector = Math.floor(65536 / characterCount) * characterCount - 1;
6783
- const entropyLength = 2 * Math.ceil(1.1 * length);
6784
- let string = "";
6785
- let stringLength = 0;
6786
- while (stringLength < length) {
6787
- const entropy = await randomBytesAsync(entropyLength);
6788
- let entropyPosition = 0;
6789
- while (entropyPosition < entropyLength && stringLength < length) {
6790
- const entropyValue = entropy.readUInt16LE(entropyPosition);
6791
- entropyPosition += 2;
6792
- if (entropyValue > maxValidSelector) {
6793
- continue;
5921
+ var handlers_default = Handlers;
5922
+
5923
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/retryify.js
5924
+ init_cjs_shims();
5925
+
5926
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/retryify_queue.js
5927
+ init_cjs_shims();
5928
+ var RetryfyQueue = class {
5929
+ constructor() {
5930
+ this.interval = 25;
5931
+ this.intervalId = void 0;
5932
+ this.limit = LIMIT_FILES_DESCRIPTORS;
5933
+ this.queueActive = /* @__PURE__ */ new Set();
5934
+ this.queueWaiting = /* @__PURE__ */ new Set();
5935
+ this.init = () => {
5936
+ if (this.intervalId)
5937
+ return;
5938
+ this.intervalId = setInterval(this.tick, this.interval);
5939
+ };
5940
+ this.reset = () => {
5941
+ if (!this.intervalId)
5942
+ return;
5943
+ clearInterval(this.intervalId);
5944
+ delete this.intervalId;
5945
+ };
5946
+ this.add = (fn) => {
5947
+ this.queueWaiting.add(fn);
5948
+ if (this.queueActive.size < this.limit / 2) {
5949
+ this.tick();
5950
+ } else {
5951
+ this.init();
6794
5952
  }
6795
- string += characters[entropyValue % characterCount];
6796
- stringLength++;
6797
- }
5953
+ };
5954
+ this.remove = (fn) => {
5955
+ this.queueWaiting.delete(fn);
5956
+ this.queueActive.delete(fn);
5957
+ };
5958
+ this.schedule = () => {
5959
+ return new Promise((resolve) => {
5960
+ const cleanup = () => this.remove(resolver);
5961
+ const resolver = () => resolve(cleanup);
5962
+ this.add(resolver);
5963
+ });
5964
+ };
5965
+ this.tick = () => {
5966
+ if (this.queueActive.size >= this.limit)
5967
+ return;
5968
+ if (!this.queueWaiting.size)
5969
+ return this.reset();
5970
+ for (const fn of this.queueWaiting) {
5971
+ if (this.queueActive.size >= this.limit)
5972
+ break;
5973
+ this.queueWaiting.delete(fn);
5974
+ this.queueActive.add(fn);
5975
+ fn();
5976
+ }
5977
+ };
6798
5978
  }
6799
- return string;
6800
5979
  };
6801
- var generateRandomBytes = (byteLength, type, length) => import_crypto.default.randomBytes(byteLength).toString(type).slice(0, length);
6802
- var generateRandomBytesAsync = async (byteLength, type, length) => {
6803
- const buffer = await randomBytesAsync(byteLength);
6804
- return buffer.toString(type).slice(0, length);
5980
+ var retryify_queue_default = new RetryfyQueue();
5981
+
5982
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/retryify.js
5983
+ var retryifyAsync = (fn, isRetriableError) => {
5984
+ return function retrified(timestamp) {
5985
+ return function attempt(...args) {
5986
+ return retryify_queue_default.schedule().then((cleanup) => {
5987
+ const onResolve = (result) => {
5988
+ cleanup();
5989
+ return result;
5990
+ };
5991
+ const onReject = (error) => {
5992
+ cleanup();
5993
+ if (Date.now() >= timestamp)
5994
+ throw error;
5995
+ if (isRetriableError(error)) {
5996
+ const delay2 = Math.round(100 * Math.random());
5997
+ const delayPromise = new Promise((resolve) => setTimeout(resolve, delay2));
5998
+ return delayPromise.then(() => attempt.apply(void 0, args));
5999
+ }
6000
+ throw error;
6001
+ };
6002
+ return fn.apply(void 0, args).then(onResolve, onReject);
6003
+ });
6004
+ };
6005
+ };
6805
6006
  };
6806
- var allowedTypes = /* @__PURE__ */ new Set([
6807
- void 0,
6808
- "hex",
6809
- "base64",
6810
- "url-safe",
6811
- "numeric",
6812
- "distinguishable",
6813
- "ascii-printable",
6814
- "alphanumeric"
6815
- ]);
6816
- var createGenerator = (generateForCustomCharacters2, generateRandomBytes2) => ({ length, type, characters }) => {
6817
- if (!(length >= 0 && Number.isFinite(length))) {
6818
- throw new TypeError("Expected a `length` to be a non-negative finite number");
6007
+ var retryifySync = (fn, isRetriableError) => {
6008
+ return function retrified(timestamp) {
6009
+ return function attempt(...args) {
6010
+ try {
6011
+ return fn.apply(void 0, args);
6012
+ } catch (error) {
6013
+ if (Date.now() > timestamp)
6014
+ throw error;
6015
+ if (isRetriableError(error))
6016
+ return attempt.apply(void 0, args);
6017
+ throw error;
6018
+ }
6019
+ };
6020
+ };
6021
+ };
6022
+
6023
+ // ../../node_modules/.pnpm/stubborn-fs@1.2.5/node_modules/stubborn-fs/dist/index.js
6024
+ var FS = {
6025
+ attempt: {
6026
+ /* ASYNC */
6027
+ chmod: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.chmod), handlers_default.onChangeError),
6028
+ chown: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.chown), handlers_default.onChangeError),
6029
+ close: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.close), NOOP),
6030
+ fsync: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.fsync), NOOP),
6031
+ mkdir: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.mkdir), NOOP),
6032
+ realpath: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.realpath), NOOP),
6033
+ stat: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.stat), NOOP),
6034
+ unlink: attemptifyAsync((0, import_node_util.promisify)(import_node_fs.default.unlink), NOOP),
6035
+ /* SYNC */
6036
+ chmodSync: attemptifySync(import_node_fs.default.chmodSync, handlers_default.onChangeError),
6037
+ chownSync: attemptifySync(import_node_fs.default.chownSync, handlers_default.onChangeError),
6038
+ closeSync: attemptifySync(import_node_fs.default.closeSync, NOOP),
6039
+ existsSync: attemptifySync(import_node_fs.default.existsSync, NOOP),
6040
+ fsyncSync: attemptifySync(import_node_fs.default.fsync, NOOP),
6041
+ mkdirSync: attemptifySync(import_node_fs.default.mkdirSync, NOOP),
6042
+ realpathSync: attemptifySync(import_node_fs.default.realpathSync, NOOP),
6043
+ statSync: attemptifySync(import_node_fs.default.statSync, NOOP),
6044
+ unlinkSync: attemptifySync(import_node_fs.default.unlinkSync, NOOP)
6045
+ },
6046
+ retry: {
6047
+ /* ASYNC */
6048
+ close: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.close), handlers_default.isRetriableError),
6049
+ fsync: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.fsync), handlers_default.isRetriableError),
6050
+ open: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.open), handlers_default.isRetriableError),
6051
+ readFile: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.readFile), handlers_default.isRetriableError),
6052
+ rename: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.rename), handlers_default.isRetriableError),
6053
+ stat: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.stat), handlers_default.isRetriableError),
6054
+ write: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.write), handlers_default.isRetriableError),
6055
+ writeFile: retryifyAsync((0, import_node_util.promisify)(import_node_fs.default.writeFile), handlers_default.isRetriableError),
6056
+ /* SYNC */
6057
+ closeSync: retryifySync(import_node_fs.default.closeSync, handlers_default.isRetriableError),
6058
+ fsyncSync: retryifySync(import_node_fs.default.fsyncSync, handlers_default.isRetriableError),
6059
+ openSync: retryifySync(import_node_fs.default.openSync, handlers_default.isRetriableError),
6060
+ readFileSync: retryifySync(import_node_fs.default.readFileSync, handlers_default.isRetriableError),
6061
+ renameSync: retryifySync(import_node_fs.default.renameSync, handlers_default.isRetriableError),
6062
+ statSync: retryifySync(import_node_fs.default.statSync, handlers_default.isRetriableError),
6063
+ writeSync: retryifySync(import_node_fs.default.writeSync, handlers_default.isRetriableError),
6064
+ writeFileSync: retryifySync(import_node_fs.default.writeFileSync, handlers_default.isRetriableError)
6819
6065
  }
6820
- if (type !== void 0 && characters !== void 0) {
6821
- throw new TypeError("Expected either `type` or `characters`");
6066
+ };
6067
+ var dist_default = FS;
6068
+
6069
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/constants.js
6070
+ init_cjs_shims();
6071
+ var import_node_os = __toESM(require("os"), 1);
6072
+ var import_node_process2 = __toESM(require("process"), 1);
6073
+ var DEFAULT_ENCODING = "utf8";
6074
+ var DEFAULT_FILE_MODE = 438;
6075
+ var DEFAULT_FOLDER_MODE = 511;
6076
+ var DEFAULT_WRITE_OPTIONS = {};
6077
+ var DEFAULT_USER_UID = import_node_os.default.userInfo().uid;
6078
+ var DEFAULT_USER_GID = import_node_os.default.userInfo().gid;
6079
+ var DEFAULT_TIMEOUT_SYNC = 1e3;
6080
+ var IS_POSIX = !!import_node_process2.default.getuid;
6081
+ var IS_USER_ROOT2 = import_node_process2.default.getuid ? !import_node_process2.default.getuid() : false;
6082
+ var LIMIT_BASENAME_LENGTH = 128;
6083
+
6084
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/utils/lang.js
6085
+ init_cjs_shims();
6086
+ var isException = (value) => {
6087
+ return value instanceof Error && "code" in value;
6088
+ };
6089
+ var isString2 = (value) => {
6090
+ return typeof value === "string";
6091
+ };
6092
+ var isUndefined2 = (value) => {
6093
+ return value === void 0;
6094
+ };
6095
+
6096
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/utils/scheduler.js
6097
+ init_cjs_shims();
6098
+
6099
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/utils/temp.js
6100
+ init_cjs_shims();
6101
+ var import_node_path = __toESM(require("path"), 1);
6102
+
6103
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/index.js
6104
+ init_cjs_shims();
6105
+
6106
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/interceptor.js
6107
+ init_cjs_shims();
6108
+ var import_node_process4 = __toESM(require("process"), 1);
6109
+
6110
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/constants.js
6111
+ init_cjs_shims();
6112
+ var import_node_process3 = __toESM(require("process"), 1);
6113
+ var IS_LINUX = import_node_process3.default.platform === "linux";
6114
+ var IS_WINDOWS = import_node_process3.default.platform === "win32";
6115
+
6116
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/signals.js
6117
+ init_cjs_shims();
6118
+ var Signals = ["SIGABRT", "SIGALRM", "SIGHUP", "SIGINT", "SIGTERM"];
6119
+ if (!IS_WINDOWS) {
6120
+ Signals.push("SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
6121
+ }
6122
+ if (IS_LINUX) {
6123
+ Signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT", "SIGUNUSED");
6124
+ }
6125
+ var signals_default = Signals;
6126
+
6127
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/interceptor.js
6128
+ var Interceptor = class {
6129
+ /* CONSTRUCTOR */
6130
+ constructor() {
6131
+ this.callbacks = /* @__PURE__ */ new Set();
6132
+ this.exited = false;
6133
+ this.exit = (signal) => {
6134
+ if (this.exited)
6135
+ return;
6136
+ this.exited = true;
6137
+ for (const callback of this.callbacks) {
6138
+ callback();
6139
+ }
6140
+ if (signal) {
6141
+ if (IS_WINDOWS && (signal !== "SIGINT" && signal !== "SIGTERM" && signal !== "SIGKILL")) {
6142
+ import_node_process4.default.kill(import_node_process4.default.pid, "SIGTERM");
6143
+ } else {
6144
+ import_node_process4.default.kill(import_node_process4.default.pid, signal);
6145
+ }
6146
+ }
6147
+ };
6148
+ this.hook = () => {
6149
+ import_node_process4.default.once("exit", () => this.exit());
6150
+ for (const signal of signals_default) {
6151
+ try {
6152
+ import_node_process4.default.once(signal, () => this.exit(signal));
6153
+ } catch {
6154
+ }
6155
+ }
6156
+ };
6157
+ this.register = (callback) => {
6158
+ this.callbacks.add(callback);
6159
+ return () => {
6160
+ this.callbacks.delete(callback);
6161
+ };
6162
+ };
6163
+ this.hook();
6822
6164
  }
6823
- if (characters !== void 0 && typeof characters !== "string") {
6824
- throw new TypeError("Expected `characters` to be string");
6165
+ };
6166
+ var interceptor_default = new Interceptor();
6167
+
6168
+ // ../../node_modules/.pnpm/when-exit@2.1.3/node_modules/when-exit/dist/node/index.js
6169
+ var whenExit = interceptor_default.register;
6170
+ var node_default = whenExit;
6171
+
6172
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/utils/temp.js
6173
+ var Temp = {
6174
+ /* VARIABLES */
6175
+ store: {},
6176
+ /* API */
6177
+ create: (filePath) => {
6178
+ const randomness = `000000${Math.floor(Math.random() * 16777215).toString(16)}`.slice(-6);
6179
+ const timestamp = Date.now().toString().slice(-10);
6180
+ const prefix = "tmp-";
6181
+ const suffix = `.${prefix}${timestamp}${randomness}`;
6182
+ const tempPath = `${filePath}${suffix}`;
6183
+ return tempPath;
6184
+ },
6185
+ get: (filePath, creator, purge = true) => {
6186
+ const tempPath = Temp.truncate(creator(filePath));
6187
+ if (tempPath in Temp.store)
6188
+ return Temp.get(filePath, creator, purge);
6189
+ Temp.store[tempPath] = purge;
6190
+ const disposer = () => delete Temp.store[tempPath];
6191
+ return [tempPath, disposer];
6192
+ },
6193
+ purge: (filePath) => {
6194
+ if (!Temp.store[filePath])
6195
+ return;
6196
+ delete Temp.store[filePath];
6197
+ dist_default.attempt.unlink(filePath);
6198
+ },
6199
+ purgeSync: (filePath) => {
6200
+ if (!Temp.store[filePath])
6201
+ return;
6202
+ delete Temp.store[filePath];
6203
+ dist_default.attempt.unlinkSync(filePath);
6204
+ },
6205
+ purgeSyncAll: () => {
6206
+ for (const filePath in Temp.store) {
6207
+ Temp.purgeSync(filePath);
6208
+ }
6209
+ },
6210
+ truncate: (filePath) => {
6211
+ const basename = import_node_path.default.basename(filePath);
6212
+ if (basename.length <= LIMIT_BASENAME_LENGTH)
6213
+ return filePath;
6214
+ const truncable = /^(\.?)(.*?)((?:\.[^.]+)?(?:\.tmp-\d{10}[a-f0-9]{6})?)$/.exec(basename);
6215
+ if (!truncable)
6216
+ return filePath;
6217
+ const truncationLength = basename.length - LIMIT_BASENAME_LENGTH;
6218
+ return `${filePath.slice(0, -basename.length)}${truncable[1]}${truncable[2].slice(0, -truncationLength)}${truncable[3]}`;
6825
6219
  }
6826
- if (!allowedTypes.has(type)) {
6827
- throw new TypeError(`Unknown type: ${type}`);
6220
+ };
6221
+ node_default(Temp.purgeSyncAll);
6222
+ var temp_default = Temp;
6223
+
6224
+ // ../../node_modules/.pnpm/atomically@2.0.3/node_modules/atomically/dist/index.js
6225
+ function writeFileSync(filePath, data, options = DEFAULT_WRITE_OPTIONS) {
6226
+ if (isString2(options))
6227
+ return writeFileSync(filePath, data, { encoding: options });
6228
+ const timeout2 = Date.now() + ((options.timeout ?? DEFAULT_TIMEOUT_SYNC) || -1);
6229
+ let tempDisposer = null;
6230
+ let tempPath = null;
6231
+ let fd = null;
6232
+ try {
6233
+ const filePathReal = dist_default.attempt.realpathSync(filePath);
6234
+ const filePathExists = !!filePathReal;
6235
+ filePath = filePathReal || filePath;
6236
+ [tempPath, tempDisposer] = temp_default.get(filePath, options.tmpCreate || temp_default.create, !(options.tmpPurge === false));
6237
+ const useStatChown = IS_POSIX && isUndefined2(options.chown);
6238
+ const useStatMode = isUndefined2(options.mode);
6239
+ if (filePathExists && (useStatChown || useStatMode)) {
6240
+ const stats = dist_default.attempt.statSync(filePath);
6241
+ if (stats) {
6242
+ options = { ...options };
6243
+ if (useStatChown) {
6244
+ options.chown = { uid: stats.uid, gid: stats.gid };
6245
+ }
6246
+ if (useStatMode) {
6247
+ options.mode = stats.mode;
6248
+ }
6249
+ }
6250
+ }
6251
+ if (!filePathExists) {
6252
+ const parentPath = import_node_path2.default.dirname(filePath);
6253
+ dist_default.attempt.mkdirSync(parentPath, {
6254
+ mode: DEFAULT_FOLDER_MODE,
6255
+ recursive: true
6256
+ });
6257
+ }
6258
+ fd = dist_default.retry.openSync(timeout2)(tempPath, "w", options.mode || DEFAULT_FILE_MODE);
6259
+ if (options.tmpCreated) {
6260
+ options.tmpCreated(tempPath);
6261
+ }
6262
+ if (isString2(data)) {
6263
+ dist_default.retry.writeSync(timeout2)(fd, data, 0, options.encoding || DEFAULT_ENCODING);
6264
+ } else if (!isUndefined2(data)) {
6265
+ dist_default.retry.writeSync(timeout2)(fd, data, 0, data.length, 0);
6266
+ }
6267
+ if (options.fsync !== false) {
6268
+ if (options.fsyncWait !== false) {
6269
+ dist_default.retry.fsyncSync(timeout2)(fd);
6270
+ } else {
6271
+ dist_default.attempt.fsync(fd);
6272
+ }
6273
+ }
6274
+ dist_default.retry.closeSync(timeout2)(fd);
6275
+ fd = null;
6276
+ if (options.chown && (options.chown.uid !== DEFAULT_USER_UID || options.chown.gid !== DEFAULT_USER_GID)) {
6277
+ dist_default.attempt.chownSync(tempPath, options.chown.uid, options.chown.gid);
6278
+ }
6279
+ if (options.mode && options.mode !== DEFAULT_FILE_MODE) {
6280
+ dist_default.attempt.chmodSync(tempPath, options.mode);
6281
+ }
6282
+ try {
6283
+ dist_default.retry.renameSync(timeout2)(tempPath, filePath);
6284
+ } catch (error) {
6285
+ if (!isException(error))
6286
+ throw error;
6287
+ if (error.code !== "ENAMETOOLONG")
6288
+ throw error;
6289
+ dist_default.retry.renameSync(timeout2)(tempPath, temp_default.truncate(filePath));
6290
+ }
6291
+ tempDisposer();
6292
+ tempPath = null;
6293
+ } finally {
6294
+ if (fd)
6295
+ dist_default.attempt.closeSync(fd);
6296
+ if (tempPath)
6297
+ temp_default.purge(tempPath);
6828
6298
  }
6829
- if (type === void 0 && characters === void 0) {
6830
- type = "hex";
6299
+ }
6300
+
6301
+ // ../../node_modules/.pnpm/dot-prop@9.0.0/node_modules/dot-prop/index.js
6302
+ init_cjs_shims();
6303
+ var isObject2 = (value) => {
6304
+ const type = typeof value;
6305
+ return value !== null && (type === "object" || type === "function");
6306
+ };
6307
+ var disallowedKeys = /* @__PURE__ */ new Set([
6308
+ "__proto__",
6309
+ "prototype",
6310
+ "constructor"
6311
+ ]);
6312
+ var digits = new Set("0123456789");
6313
+ function getPathSegments(path10) {
6314
+ const parts = [];
6315
+ let currentSegment = "";
6316
+ let currentPart = "start";
6317
+ let isIgnoring = false;
6318
+ for (const character of path10) {
6319
+ switch (character) {
6320
+ case "\\": {
6321
+ if (currentPart === "index") {
6322
+ throw new Error("Invalid character in an index");
6323
+ }
6324
+ if (currentPart === "indexEnd") {
6325
+ throw new Error("Invalid character after an index");
6326
+ }
6327
+ if (isIgnoring) {
6328
+ currentSegment += character;
6329
+ }
6330
+ currentPart = "property";
6331
+ isIgnoring = !isIgnoring;
6332
+ break;
6333
+ }
6334
+ case ".": {
6335
+ if (currentPart === "index") {
6336
+ throw new Error("Invalid character in an index");
6337
+ }
6338
+ if (currentPart === "indexEnd") {
6339
+ currentPart = "property";
6340
+ break;
6341
+ }
6342
+ if (isIgnoring) {
6343
+ isIgnoring = false;
6344
+ currentSegment += character;
6345
+ break;
6346
+ }
6347
+ if (disallowedKeys.has(currentSegment)) {
6348
+ return [];
6349
+ }
6350
+ parts.push(currentSegment);
6351
+ currentSegment = "";
6352
+ currentPart = "property";
6353
+ break;
6354
+ }
6355
+ case "[": {
6356
+ if (currentPart === "index") {
6357
+ throw new Error("Invalid character in an index");
6358
+ }
6359
+ if (currentPart === "indexEnd") {
6360
+ currentPart = "index";
6361
+ break;
6362
+ }
6363
+ if (isIgnoring) {
6364
+ isIgnoring = false;
6365
+ currentSegment += character;
6366
+ break;
6367
+ }
6368
+ if (currentPart === "property") {
6369
+ if (disallowedKeys.has(currentSegment)) {
6370
+ return [];
6371
+ }
6372
+ parts.push(currentSegment);
6373
+ currentSegment = "";
6374
+ }
6375
+ currentPart = "index";
6376
+ break;
6377
+ }
6378
+ case "]": {
6379
+ if (currentPart === "index") {
6380
+ parts.push(Number.parseInt(currentSegment, 10));
6381
+ currentSegment = "";
6382
+ currentPart = "indexEnd";
6383
+ break;
6384
+ }
6385
+ if (currentPart === "indexEnd") {
6386
+ throw new Error("Invalid character after an index");
6387
+ }
6388
+ }
6389
+ default: {
6390
+ if (currentPart === "index" && !digits.has(character)) {
6391
+ throw new Error("Invalid character in an index");
6392
+ }
6393
+ if (currentPart === "indexEnd") {
6394
+ throw new Error("Invalid character after an index");
6395
+ }
6396
+ if (currentPart === "start") {
6397
+ currentPart = "property";
6398
+ }
6399
+ if (isIgnoring) {
6400
+ isIgnoring = false;
6401
+ currentSegment += "\\";
6402
+ }
6403
+ currentSegment += character;
6404
+ }
6405
+ }
6406
+ }
6407
+ if (isIgnoring) {
6408
+ currentSegment += "\\";
6831
6409
  }
6832
- if (type === "hex" || type === void 0 && characters === void 0) {
6833
- return generateRandomBytes2(Math.ceil(length * 0.5), "hex", length);
6410
+ switch (currentPart) {
6411
+ case "property": {
6412
+ if (disallowedKeys.has(currentSegment)) {
6413
+ return [];
6414
+ }
6415
+ parts.push(currentSegment);
6416
+ break;
6417
+ }
6418
+ case "index": {
6419
+ throw new Error("Index was not closed");
6420
+ }
6421
+ case "start": {
6422
+ parts.push("");
6423
+ break;
6424
+ }
6834
6425
  }
6835
- if (type === "base64") {
6836
- return generateRandomBytes2(Math.ceil(length * 0.75), "base64", length);
6426
+ return parts;
6427
+ }
6428
+ function isStringIndex(object, key) {
6429
+ if (typeof key !== "number" && Array.isArray(object)) {
6430
+ const index = Number.parseInt(key, 10);
6431
+ return Number.isInteger(index) && object[index] === object[key];
6837
6432
  }
6838
- if (type === "url-safe") {
6839
- return generateForCustomCharacters2(length, urlSafeCharacters);
6433
+ return false;
6434
+ }
6435
+ function assertNotStringIndex(object, key) {
6436
+ if (isStringIndex(object, key)) {
6437
+ throw new Error("Cannot use string index");
6840
6438
  }
6841
- if (type === "numeric") {
6842
- return generateForCustomCharacters2(length, numericCharacters);
6439
+ }
6440
+ function getProperty(object, path10, value) {
6441
+ if (!isObject2(object) || typeof path10 !== "string") {
6442
+ return value === void 0 ? object : value;
6443
+ }
6444
+ const pathArray = getPathSegments(path10);
6445
+ if (pathArray.length === 0) {
6446
+ return value;
6447
+ }
6448
+ for (let index = 0; index < pathArray.length; index++) {
6449
+ const key = pathArray[index];
6450
+ if (isStringIndex(object, key)) {
6451
+ object = index === pathArray.length - 1 ? void 0 : null;
6452
+ } else {
6453
+ object = object[key];
6454
+ }
6455
+ if (object === void 0 || object === null) {
6456
+ if (index !== pathArray.length - 1) {
6457
+ return value;
6458
+ }
6459
+ break;
6460
+ }
6843
6461
  }
6844
- if (type === "distinguishable") {
6845
- return generateForCustomCharacters2(length, distinguishableCharacters);
6462
+ return object === void 0 ? value : object;
6463
+ }
6464
+ function setProperty(object, path10, value) {
6465
+ if (!isObject2(object) || typeof path10 !== "string") {
6466
+ return object;
6467
+ }
6468
+ const root = object;
6469
+ const pathArray = getPathSegments(path10);
6470
+ for (let index = 0; index < pathArray.length; index++) {
6471
+ const key = pathArray[index];
6472
+ assertNotStringIndex(object, key);
6473
+ if (index === pathArray.length - 1) {
6474
+ object[key] = value;
6475
+ } else if (!isObject2(object[key])) {
6476
+ object[key] = typeof pathArray[index + 1] === "number" ? [] : {};
6477
+ }
6478
+ object = object[key];
6479
+ }
6480
+ return root;
6481
+ }
6482
+ function deleteProperty(object, path10) {
6483
+ if (!isObject2(object) || typeof path10 !== "string") {
6484
+ return false;
6846
6485
  }
6847
- if (type === "ascii-printable") {
6848
- return generateForCustomCharacters2(length, asciiPrintableCharacters);
6486
+ const pathArray = getPathSegments(path10);
6487
+ for (let index = 0; index < pathArray.length; index++) {
6488
+ const key = pathArray[index];
6489
+ assertNotStringIndex(object, key);
6490
+ if (index === pathArray.length - 1) {
6491
+ delete object[key];
6492
+ return true;
6493
+ }
6494
+ object = object[key];
6495
+ if (!isObject2(object)) {
6496
+ return false;
6497
+ }
6849
6498
  }
6850
- if (type === "alphanumeric") {
6851
- return generateForCustomCharacters2(length, alphanumericCharacters);
6499
+ }
6500
+ function hasProperty(object, path10) {
6501
+ if (!isObject2(object) || typeof path10 !== "string") {
6502
+ return false;
6852
6503
  }
6853
- if (characters.length === 0) {
6854
- throw new TypeError("Expected `characters` string length to be greater than or equal to 1");
6504
+ const pathArray = getPathSegments(path10);
6505
+ if (pathArray.length === 0) {
6506
+ return false;
6855
6507
  }
6856
- if (characters.length > 65536) {
6857
- throw new TypeError("Expected `characters` string length to be less or equal to 65536");
6508
+ for (const key of pathArray) {
6509
+ if (!isObject2(object) || !(key in object) || isStringIndex(object, key)) {
6510
+ return false;
6511
+ }
6512
+ object = object[key];
6858
6513
  }
6859
- return generateForCustomCharacters2(length, characters.split(""));
6860
- };
6861
- var cryptoRandomString = createGenerator(generateForCustomCharacters, generateRandomBytes);
6862
- cryptoRandomString.async = createGenerator(generateForCustomCharactersAsync, generateRandomBytesAsync);
6863
- var crypto_random_string_default = cryptoRandomString;
6864
-
6865
- // ../../node_modules/.pnpm/unique-string@3.0.0/node_modules/unique-string/index.js
6866
- function uniqueString() {
6867
- return crypto_random_string_default({ length: 32 });
6514
+ return true;
6868
6515
  }
6869
6516
 
6870
- // ../../node_modules/.pnpm/configstore@6.0.0/node_modules/configstore/index.js
6871
- var configDirectory = xdgConfig || import_path2.default.join(import_os2.default.tmpdir(), uniqueString());
6517
+ // ../../node_modules/.pnpm/configstore@7.0.0/node_modules/configstore/index.js
6518
+ function getConfigDirectory(id, globalConfigPath) {
6519
+ const pathPrefix = globalConfigPath ? import_node_path3.default.join(id, "config.json") : import_node_path3.default.join("configstore", `${id}.json`);
6520
+ const configDirectory = xdgConfig ?? import_graceful_fs.default.mkdtempSync(import_graceful_fs.default.realpathSync(import_node_os2.default.tmpdir()) + import_node_path3.default.sep);
6521
+ return import_node_path3.default.join(configDirectory, pathPrefix);
6522
+ }
6872
6523
  var permissionError = "You don't have access to this file.";
6873
6524
  var mkdirOptions = { mode: 448, recursive: true };
6874
6525
  var writeFileOptions = { mode: 384 };
6875
6526
  var Configstore = class {
6876
6527
  constructor(id, defaults, options = {}) {
6877
- const pathPrefix = options.globalConfigPath ? import_path2.default.join(id, "config.json") : import_path2.default.join("configstore", `${id}.json`);
6878
- this._path = options.configPath || import_path2.default.join(configDirectory, pathPrefix);
6528
+ this._path = options.configPath ?? getConfigDirectory(id, options.globalConfigPath);
6879
6529
  if (defaults) {
6880
6530
  this.all = {
6881
6531
  ...defaults,
@@ -6896,7 +6546,7 @@ ${permissionError}
6896
6546
  `;
6897
6547
  }
6898
6548
  if (error.name === "SyntaxError") {
6899
- import_write_file_atomic.default.sync(this._path, "", writeFileOptions);
6549
+ writeFileSync(this._path, "", writeFileOptions);
6900
6550
  return {};
6901
6551
  }
6902
6552
  throw error;
@@ -6904,8 +6554,8 @@ ${permissionError}
6904
6554
  }
6905
6555
  set all(value) {
6906
6556
  try {
6907
- import_graceful_fs.default.mkdirSync(import_path2.default.dirname(this._path), mkdirOptions);
6908
- import_write_file_atomic.default.sync(this._path, JSON.stringify(value, void 0, " "), writeFileOptions);
6557
+ import_graceful_fs.default.mkdirSync(import_node_path3.default.dirname(this._path), mkdirOptions);
6558
+ writeFileSync(this._path, JSON.stringify(value, void 0, " "), writeFileOptions);
6909
6559
  } catch (error) {
6910
6560
  if (error.code === "EACCES") {
6911
6561
  error.message = `${error.message}
@@ -6919,25 +6569,25 @@ ${permissionError}
6919
6569
  return Object.keys(this.all || {}).length;
6920
6570
  }
6921
6571
  get(key) {
6922
- return import_dot_prop.default.get(this.all, key);
6572
+ return getProperty(this.all, key);
6923
6573
  }
6924
6574
  set(key, value) {
6925
6575
  const config = this.all;
6926
6576
  if (arguments.length === 1) {
6927
6577
  for (const k of Object.keys(key)) {
6928
- import_dot_prop.default.set(config, k, key[k]);
6578
+ setProperty(config, k, key[k]);
6929
6579
  }
6930
6580
  } else {
6931
- import_dot_prop.default.set(config, key, value);
6581
+ setProperty(config, key, value);
6932
6582
  }
6933
6583
  this.all = config;
6934
6584
  }
6935
6585
  has(key) {
6936
- return import_dot_prop.default.has(this.all, key);
6586
+ return hasProperty(this.all, key);
6937
6587
  }
6938
6588
  delete(key) {
6939
6589
  const config = this.all;
6940
- import_dot_prop.default.delete(config, key);
6590
+ deleteProperty(config, key);
6941
6591
  this.all = config;
6942
6592
  }
6943
6593
  clear() {
@@ -7140,16 +6790,16 @@ var ansi_styles_default = ansiStyles;
7140
6790
 
7141
6791
  // ../../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
7142
6792
  init_cjs_shims();
7143
- var import_node_process = __toESM(require("process"), 1);
7144
- var import_node_os = __toESM(require("os"), 1);
6793
+ var import_node_process5 = __toESM(require("process"), 1);
6794
+ var import_node_os3 = __toESM(require("os"), 1);
7145
6795
  var import_node_tty = __toESM(require("tty"), 1);
7146
- function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
6796
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process5.default.argv) {
7147
6797
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
7148
6798
  const position = argv.indexOf(prefix + flag);
7149
6799
  const terminatorPosition = argv.indexOf("--");
7150
6800
  return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
7151
6801
  }
7152
- var { env: env2 } = import_node_process.default;
6802
+ var { env: env2 } = import_node_process5.default;
7153
6803
  var flagForceColor;
7154
6804
  if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
7155
6805
  flagForceColor = 0;
@@ -7205,8 +6855,8 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
7205
6855
  if (env2.TERM === "dumb") {
7206
6856
  return min;
7207
6857
  }
7208
- if (import_node_process.default.platform === "win32") {
7209
- const osRelease = import_node_os.default.release().split(".");
6858
+ if (import_node_process5.default.platform === "win32") {
6859
+ const osRelease = import_node_os3.default.release().split(".");
7210
6860
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
7211
6861
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
7212
6862
  }
@@ -7443,7 +7093,7 @@ var chalk = createChalk();
7443
7093
  var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
7444
7094
  var source_default = chalk;
7445
7095
 
7446
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/update-notifier.js
7096
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/update-notifier.js
7447
7097
  var import_semver3 = __toESM(require_semver2(), 1);
7448
7098
 
7449
7099
  // ../../node_modules/.pnpm/semver-diff@4.0.0/node_modules/semver-diff/index.js
@@ -7505,12 +7155,12 @@ init_cjs_shims();
7505
7155
 
7506
7156
  // ../../node_modules/.pnpm/ky@1.5.0/node_modules/ky/distribution/utils/is.js
7507
7157
  init_cjs_shims();
7508
- var isObject2 = (value) => value !== null && typeof value === "object";
7158
+ var isObject3 = (value) => value !== null && typeof value === "object";
7509
7159
 
7510
7160
  // ../../node_modules/.pnpm/ky@1.5.0/node_modules/ky/distribution/utils/merge.js
7511
7161
  var validateAndMerge = (...sources) => {
7512
7162
  for (const source of sources) {
7513
- if ((!isObject2(source) || Array.isArray(source)) && source !== void 0) {
7163
+ if ((!isObject3(source) || Array.isArray(source)) && source !== void 0) {
7514
7164
  throw new TypeError("The `options` argument must be an object");
7515
7165
  }
7516
7166
  }
@@ -7538,14 +7188,14 @@ var deepMerge = (...sources) => {
7538
7188
  returnValue = [];
7539
7189
  }
7540
7190
  returnValue = [...returnValue, ...source];
7541
- } else if (isObject2(source)) {
7191
+ } else if (isObject3(source)) {
7542
7192
  for (let [key, value] of Object.entries(source)) {
7543
- if (isObject2(value) && key in returnValue) {
7193
+ if (isObject3(value) && key in returnValue) {
7544
7194
  value = deepMerge(returnValue[key], value);
7545
7195
  }
7546
7196
  returnValue = { ...returnValue, [key]: value };
7547
7197
  }
7548
- if (isObject2(source.headers)) {
7198
+ if (isObject3(source.headers)) {
7549
7199
  headers = mergeHeaders(headers, source.headers);
7550
7200
  returnValue.headers = headers;
7551
7201
  }
@@ -8066,9 +7716,9 @@ async function latestVersion(packageName, options) {
8066
7716
 
8067
7717
  // ../../node_modules/.pnpm/is-npm@6.0.0/node_modules/is-npm/index.js
8068
7718
  init_cjs_shims();
8069
- var import_node_process2 = __toESM(require("process"), 1);
8070
- var packageJson2 = import_node_process2.default.env.npm_package_json;
8071
- var userAgent = import_node_process2.default.env.npm_config_user_agent;
7719
+ var import_node_process6 = __toESM(require("process"), 1);
7720
+ var packageJson2 = import_node_process6.default.env.npm_package_json;
7721
+ var userAgent = import_node_process6.default.env.npm_config_user_agent;
8072
7722
  var isNpm6 = Boolean(userAgent && userAgent.startsWith("npm"));
8073
7723
  var isNpm7 = Boolean(packageJson2 && packageJson2.endsWith("package.json"));
8074
7724
  var isNpm = isNpm6 || isNpm7;
@@ -8077,56 +7727,56 @@ var isNpmOrYarn = isNpm || isYarn;
8077
7727
 
8078
7728
  // ../../node_modules/.pnpm/is-installed-globally@1.0.0/node_modules/is-installed-globally/index.js
8079
7729
  init_cjs_shims();
8080
- var import_node_fs2 = __toESM(require("fs"), 1);
8081
- var import_node_path3 = __toESM(require("path"), 1);
7730
+ var import_node_fs3 = __toESM(require("fs"), 1);
7731
+ var import_node_path6 = __toESM(require("path"), 1);
8082
7732
  var import_node_url = require("url");
8083
7733
 
8084
7734
  // ../../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js
8085
7735
  init_cjs_shims();
8086
- var import_node_process3 = __toESM(require("process"), 1);
8087
- var import_node_path = __toESM(require("path"), 1);
8088
- var import_node_os2 = __toESM(require("os"), 1);
8089
- var import_node_fs = __toESM(require("fs"), 1);
7736
+ var import_node_process7 = __toESM(require("process"), 1);
7737
+ var import_node_path4 = __toESM(require("path"), 1);
7738
+ var import_node_os4 = __toESM(require("os"), 1);
7739
+ var import_node_fs2 = __toESM(require("fs"), 1);
8090
7740
  var import_ini = __toESM(require_ini2(), 1);
8091
- var isWindows = import_node_process3.default.platform === "win32";
7741
+ var isWindows = import_node_process7.default.platform === "win32";
8092
7742
  var readRc = (filePath) => {
8093
7743
  try {
8094
- return import_ini.default.parse(import_node_fs.default.readFileSync(filePath, "utf8")).prefix;
7744
+ return import_ini.default.parse(import_node_fs2.default.readFileSync(filePath, "utf8")).prefix;
8095
7745
  } catch {
8096
7746
  }
8097
7747
  };
8098
- 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);
7748
+ 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);
8099
7749
  var getGlobalNpmrc = () => {
8100
- if (isWindows && import_node_process3.default.env.APPDATA) {
8101
- return import_node_path.default.join(import_node_process3.default.env.APPDATA, "/npm/etc/npmrc");
7750
+ if (isWindows && import_node_process7.default.env.APPDATA) {
7751
+ return import_node_path4.default.join(import_node_process7.default.env.APPDATA, "/npm/etc/npmrc");
8102
7752
  }
8103
- if (import_node_process3.default.execPath.includes("/Cellar/node")) {
8104
- const homebrewPrefix = import_node_process3.default.execPath.slice(0, import_node_process3.default.execPath.indexOf("/Cellar/node"));
8105
- return import_node_path.default.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
7753
+ if (import_node_process7.default.execPath.includes("/Cellar/node")) {
7754
+ const homebrewPrefix = import_node_process7.default.execPath.slice(0, import_node_process7.default.execPath.indexOf("/Cellar/node"));
7755
+ return import_node_path4.default.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
8106
7756
  }
8107
- if (import_node_process3.default.execPath.endsWith("/bin/node")) {
8108
- const installDir = import_node_path.default.dirname(import_node_path.default.dirname(import_node_process3.default.execPath));
8109
- return import_node_path.default.join(installDir, "/etc/npmrc");
7757
+ if (import_node_process7.default.execPath.endsWith("/bin/node")) {
7758
+ const installDir = import_node_path4.default.dirname(import_node_path4.default.dirname(import_node_process7.default.execPath));
7759
+ return import_node_path4.default.join(installDir, "/etc/npmrc");
8110
7760
  }
8111
7761
  };
8112
7762
  var getDefaultNpmPrefix = () => {
8113
7763
  if (isWindows) {
8114
- const { APPDATA } = import_node_process3.default.env;
8115
- return APPDATA ? import_node_path.default.join(APPDATA, "npm") : import_node_path.default.dirname(import_node_process3.default.execPath);
7764
+ const { APPDATA } = import_node_process7.default.env;
7765
+ return APPDATA ? import_node_path4.default.join(APPDATA, "npm") : import_node_path4.default.dirname(import_node_process7.default.execPath);
8116
7766
  }
8117
- return import_node_path.default.dirname(import_node_path.default.dirname(import_node_process3.default.execPath));
7767
+ return import_node_path4.default.dirname(import_node_path4.default.dirname(import_node_process7.default.execPath));
8118
7768
  };
8119
7769
  var getNpmPrefix = () => {
8120
7770
  const envPrefix = getEnvNpmPrefix();
8121
7771
  if (envPrefix) {
8122
7772
  return envPrefix;
8123
7773
  }
8124
- const homePrefix = readRc(import_node_path.default.join(import_node_os2.default.homedir(), ".npmrc"));
7774
+ const homePrefix = readRc(import_node_path4.default.join(import_node_os4.default.homedir(), ".npmrc"));
8125
7775
  if (homePrefix) {
8126
7776
  return homePrefix;
8127
7777
  }
8128
- if (import_node_process3.default.env.PREFIX) {
8129
- return import_node_process3.default.env.PREFIX;
7778
+ if (import_node_process7.default.env.PREFIX) {
7779
+ return import_node_process7.default.env.PREFIX;
8130
7780
  }
8131
7781
  const globalPrefix = readRc(getGlobalNpmrc());
8132
7782
  if (globalPrefix) {
@@ -8134,30 +7784,30 @@ var getNpmPrefix = () => {
8134
7784
  }
8135
7785
  return getDefaultNpmPrefix();
8136
7786
  };
8137
- var npmPrefix = import_node_path.default.resolve(getNpmPrefix());
7787
+ var npmPrefix = import_node_path4.default.resolve(getNpmPrefix());
8138
7788
  var getYarnWindowsDirectory = () => {
8139
- if (isWindows && import_node_process3.default.env.LOCALAPPDATA) {
8140
- const dir = import_node_path.default.join(import_node_process3.default.env.LOCALAPPDATA, "Yarn");
8141
- if (import_node_fs.default.existsSync(dir)) {
7789
+ if (isWindows && import_node_process7.default.env.LOCALAPPDATA) {
7790
+ const dir = import_node_path4.default.join(import_node_process7.default.env.LOCALAPPDATA, "Yarn");
7791
+ if (import_node_fs2.default.existsSync(dir)) {
8142
7792
  return dir;
8143
7793
  }
8144
7794
  }
8145
7795
  return false;
8146
7796
  };
8147
7797
  var getYarnPrefix = () => {
8148
- if (import_node_process3.default.env.PREFIX) {
8149
- return import_node_process3.default.env.PREFIX;
7798
+ if (import_node_process7.default.env.PREFIX) {
7799
+ return import_node_process7.default.env.PREFIX;
8150
7800
  }
8151
7801
  const windowsPrefix = getYarnWindowsDirectory();
8152
7802
  if (windowsPrefix) {
8153
7803
  return windowsPrefix;
8154
7804
  }
8155
- const configPrefix = import_node_path.default.join(import_node_os2.default.homedir(), ".config/yarn");
8156
- if (import_node_fs.default.existsSync(configPrefix)) {
7805
+ const configPrefix = import_node_path4.default.join(import_node_os4.default.homedir(), ".config/yarn");
7806
+ if (import_node_fs2.default.existsSync(configPrefix)) {
8157
7807
  return configPrefix;
8158
7808
  }
8159
- const homePrefix = import_node_path.default.join(import_node_os2.default.homedir(), ".yarn-config");
8160
- if (import_node_fs.default.existsSync(homePrefix)) {
7809
+ const homePrefix = import_node_path4.default.join(import_node_os4.default.homedir(), ".yarn-config");
7810
+ if (import_node_fs2.default.existsSync(homePrefix)) {
8161
7811
  return homePrefix;
8162
7812
  }
8163
7813
  return npmPrefix;
@@ -8165,41 +7815,41 @@ var getYarnPrefix = () => {
8165
7815
  var globalDirectory = {};
8166
7816
  globalDirectory.npm = {};
8167
7817
  globalDirectory.npm.prefix = npmPrefix;
8168
- globalDirectory.npm.packages = import_node_path.default.join(npmPrefix, isWindows ? "node_modules" : "lib/node_modules");
8169
- globalDirectory.npm.binaries = isWindows ? npmPrefix : import_node_path.default.join(npmPrefix, "bin");
8170
- var yarnPrefix = import_node_path.default.resolve(getYarnPrefix());
7818
+ globalDirectory.npm.packages = import_node_path4.default.join(npmPrefix, isWindows ? "node_modules" : "lib/node_modules");
7819
+ globalDirectory.npm.binaries = isWindows ? npmPrefix : import_node_path4.default.join(npmPrefix, "bin");
7820
+ var yarnPrefix = import_node_path4.default.resolve(getYarnPrefix());
8171
7821
  globalDirectory.yarn = {};
8172
7822
  globalDirectory.yarn.prefix = yarnPrefix;
8173
- globalDirectory.yarn.packages = import_node_path.default.join(yarnPrefix, getYarnWindowsDirectory() ? "Data/global/node_modules" : "global/node_modules");
8174
- globalDirectory.yarn.binaries = import_node_path.default.join(globalDirectory.yarn.packages, ".bin");
7823
+ globalDirectory.yarn.packages = import_node_path4.default.join(yarnPrefix, getYarnWindowsDirectory() ? "Data/global/node_modules" : "global/node_modules");
7824
+ globalDirectory.yarn.binaries = import_node_path4.default.join(globalDirectory.yarn.packages, ".bin");
8175
7825
  var global_directory_default = globalDirectory;
8176
7826
 
8177
7827
  // ../../node_modules/.pnpm/is-path-inside@4.0.0/node_modules/is-path-inside/index.js
8178
7828
  init_cjs_shims();
8179
- var import_node_path2 = __toESM(require("path"), 1);
7829
+ var import_node_path5 = __toESM(require("path"), 1);
8180
7830
  function isPathInside(childPath, parentPath) {
8181
- const relation = import_node_path2.default.relative(parentPath, childPath);
7831
+ const relation = import_node_path5.default.relative(parentPath, childPath);
8182
7832
  return Boolean(
8183
- relation && relation !== ".." && !relation.startsWith(`..${import_node_path2.default.sep}`) && relation !== import_node_path2.default.resolve(childPath)
7833
+ relation && relation !== ".." && !relation.startsWith(`..${import_node_path5.default.sep}`) && relation !== import_node_path5.default.resolve(childPath)
8184
7834
  );
8185
7835
  }
8186
7836
 
8187
7837
  // ../../node_modules/.pnpm/is-installed-globally@1.0.0/node_modules/is-installed-globally/index.js
8188
- var __dirname2 = import_node_path3.default.dirname((0, import_node_url.fileURLToPath)(importMetaUrl));
7838
+ var __dirname2 = import_node_path6.default.dirname((0, import_node_url.fileURLToPath)(importMetaUrl));
8189
7839
  var isInstalledGlobally = (() => {
8190
7840
  try {
8191
- return isPathInside(__dirname2, global_directory_default.yarn.packages) || isPathInside(__dirname2, import_node_fs2.default.realpathSync(global_directory_default.npm.packages));
7841
+ return isPathInside(__dirname2, global_directory_default.yarn.packages) || isPathInside(__dirname2, import_node_fs3.default.realpathSync(global_directory_default.npm.packages));
8192
7842
  } catch {
8193
7843
  return false;
8194
7844
  }
8195
7845
  })();
8196
7846
  var is_installed_globally_default = isInstalledGlobally;
8197
7847
 
8198
- // ../../node_modules/.pnpm/boxen@7.1.1/node_modules/boxen/index.js
7848
+ // ../../node_modules/.pnpm/boxen@8.0.0/node_modules/boxen/index.js
8199
7849
  init_cjs_shims();
8200
- var import_node_process4 = __toESM(require("process"), 1);
7850
+ var import_node_process8 = __toESM(require("process"), 1);
8201
7851
 
8202
- // ../../node_modules/.pnpm/string-width@5.1.2/node_modules/string-width/index.js
7852
+ // ../../node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
8203
7853
  init_cjs_shims();
8204
7854
 
8205
7855
  // ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
@@ -8224,49 +7874,90 @@ function stripAnsi(string) {
8224
7874
  return string.replace(regex, "");
8225
7875
  }
8226
7876
 
8227
- // ../../node_modules/.pnpm/string-width@5.1.2/node_modules/string-width/index.js
8228
- var import_eastasianwidth = __toESM(require_eastasianwidth(), 1);
8229
- var import_emoji_regex = __toESM(require_emoji_regex(), 1);
7877
+ // ../../node_modules/.pnpm/get-east-asian-width@1.2.0/node_modules/get-east-asian-width/index.js
7878
+ init_cjs_shims();
7879
+
7880
+ // ../../node_modules/.pnpm/get-east-asian-width@1.2.0/node_modules/get-east-asian-width/lookup.js
7881
+ init_cjs_shims();
7882
+ function isAmbiguous(x) {
7883
+ 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;
7884
+ }
7885
+ function isFullWidth(x) {
7886
+ return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
7887
+ }
7888
+ function isWide(x) {
7889
+ 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;
7890
+ }
7891
+
7892
+ // ../../node_modules/.pnpm/get-east-asian-width@1.2.0/node_modules/get-east-asian-width/index.js
7893
+ function validate2(codePoint) {
7894
+ if (!Number.isSafeInteger(codePoint)) {
7895
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
7896
+ }
7897
+ }
7898
+ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
7899
+ validate2(codePoint);
7900
+ if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
7901
+ return 2;
7902
+ }
7903
+ return 1;
7904
+ }
7905
+
7906
+ // ../../node_modules/.pnpm/emoji-regex@10.3.0/node_modules/emoji-regex/index.mjs
7907
+ init_cjs_shims();
7908
+ var emoji_regex_default = () => {
7909
+ 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;
7910
+ };
7911
+
7912
+ // ../../node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
7913
+ var segmenter = new Intl.Segmenter();
7914
+ var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
8230
7915
  function stringWidth(string, options = {}) {
8231
7916
  if (typeof string !== "string" || string.length === 0) {
8232
7917
  return 0;
8233
7918
  }
8234
- options = {
8235
- ambiguousIsNarrow: true,
8236
- ...options
8237
- };
8238
- string = stripAnsi(string);
7919
+ const {
7920
+ ambiguousIsNarrow = true,
7921
+ countAnsiEscapeCodes = false
7922
+ } = options;
7923
+ if (!countAnsiEscapeCodes) {
7924
+ string = stripAnsi(string);
7925
+ }
8239
7926
  if (string.length === 0) {
8240
7927
  return 0;
8241
7928
  }
8242
- string = string.replace((0, import_emoji_regex.default)(), " ");
8243
- const ambiguousCharacterWidth = options.ambiguousIsNarrow ? 1 : 2;
8244
7929
  let width = 0;
8245
- for (const character of string) {
7930
+ const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
7931
+ for (const { segment: character } of segmenter.segment(string)) {
8246
7932
  const codePoint = character.codePointAt(0);
8247
7933
  if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
8248
7934
  continue;
8249
7935
  }
8250
- if (codePoint >= 768 && codePoint <= 879) {
7936
+ if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
8251
7937
  continue;
8252
7938
  }
8253
- const code = import_eastasianwidth.default.eastAsianWidth(character);
8254
- switch (code) {
8255
- case "F":
8256
- case "W":
8257
- width += 2;
8258
- break;
8259
- case "A":
8260
- width += ambiguousCharacterWidth;
8261
- break;
8262
- default:
8263
- width += 1;
7939
+ if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
7940
+ continue;
7941
+ }
7942
+ if (codePoint >= 55296 && codePoint <= 57343) {
7943
+ continue;
7944
+ }
7945
+ if (codePoint >= 65024 && codePoint <= 65039) {
7946
+ continue;
7947
+ }
7948
+ if (defaultIgnorableCodePointRegex.test(character)) {
7949
+ continue;
7950
+ }
7951
+ if (emoji_regex_default().test(character)) {
7952
+ width += 2;
7953
+ continue;
8264
7954
  }
7955
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
8265
7956
  }
8266
7957
  return width;
8267
7958
  }
8268
7959
 
8269
- // ../../node_modules/.pnpm/widest-line@4.0.1/node_modules/widest-line/index.js
7960
+ // ../../node_modules/.pnpm/widest-line@5.0.0/node_modules/widest-line/index.js
8270
7961
  init_cjs_shims();
8271
7962
  function widestLine(string) {
8272
7963
  let lineWidth = 0;
@@ -8276,10 +7967,97 @@ function widestLine(string) {
8276
7967
  return lineWidth;
8277
7968
  }
8278
7969
 
8279
- // ../../node_modules/.pnpm/boxen@7.1.1/node_modules/boxen/index.js
8280
- var import_cli_boxes = __toESM(require_cli_boxes(), 1);
7970
+ // ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/index.js
7971
+ init_cjs_shims();
7972
+
7973
+ // ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/boxes.json
7974
+ var boxes_default = {
7975
+ single: {
7976
+ topLeft: "\u250C",
7977
+ top: "\u2500",
7978
+ topRight: "\u2510",
7979
+ right: "\u2502",
7980
+ bottomRight: "\u2518",
7981
+ bottom: "\u2500",
7982
+ bottomLeft: "\u2514",
7983
+ left: "\u2502"
7984
+ },
7985
+ double: {
7986
+ topLeft: "\u2554",
7987
+ top: "\u2550",
7988
+ topRight: "\u2557",
7989
+ right: "\u2551",
7990
+ bottomRight: "\u255D",
7991
+ bottom: "\u2550",
7992
+ bottomLeft: "\u255A",
7993
+ left: "\u2551"
7994
+ },
7995
+ round: {
7996
+ topLeft: "\u256D",
7997
+ top: "\u2500",
7998
+ topRight: "\u256E",
7999
+ right: "\u2502",
8000
+ bottomRight: "\u256F",
8001
+ bottom: "\u2500",
8002
+ bottomLeft: "\u2570",
8003
+ left: "\u2502"
8004
+ },
8005
+ bold: {
8006
+ topLeft: "\u250F",
8007
+ top: "\u2501",
8008
+ topRight: "\u2513",
8009
+ right: "\u2503",
8010
+ bottomRight: "\u251B",
8011
+ bottom: "\u2501",
8012
+ bottomLeft: "\u2517",
8013
+ left: "\u2503"
8014
+ },
8015
+ singleDouble: {
8016
+ topLeft: "\u2553",
8017
+ top: "\u2500",
8018
+ topRight: "\u2556",
8019
+ right: "\u2551",
8020
+ bottomRight: "\u255C",
8021
+ bottom: "\u2500",
8022
+ bottomLeft: "\u2559",
8023
+ left: "\u2551"
8024
+ },
8025
+ doubleSingle: {
8026
+ topLeft: "\u2552",
8027
+ top: "\u2550",
8028
+ topRight: "\u2555",
8029
+ right: "\u2502",
8030
+ bottomRight: "\u255B",
8031
+ bottom: "\u2550",
8032
+ bottomLeft: "\u2558",
8033
+ left: "\u2502"
8034
+ },
8035
+ classic: {
8036
+ topLeft: "+",
8037
+ top: "-",
8038
+ topRight: "+",
8039
+ right: "|",
8040
+ bottomRight: "+",
8041
+ bottom: "-",
8042
+ bottomLeft: "+",
8043
+ left: "|"
8044
+ },
8045
+ arrow: {
8046
+ topLeft: "\u2198",
8047
+ top: "\u2193",
8048
+ topRight: "\u2199",
8049
+ right: "\u2190",
8050
+ bottomRight: "\u2196",
8051
+ bottom: "\u2191",
8052
+ bottomLeft: "\u2197",
8053
+ left: "\u2192"
8054
+ }
8055
+ };
8056
+
8057
+ // ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/index.js
8058
+ var cli_boxes_default = boxes_default;
8281
8059
 
8282
- // ../../node_modules/.pnpm/camelcase@7.0.1/node_modules/camelcase/index.js
8060
+ // ../../node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.js
8283
8061
  init_cjs_shims();
8284
8062
  var UPPERCASE = /[\p{Lu}]/u;
8285
8063
  var LOWERCASE = /[\p{Ll}]/u;
@@ -8318,12 +8096,12 @@ var preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUp
8318
8096
  };
8319
8097
  var preserveConsecutiveUppercase = (input, toLowerCase) => {
8320
8098
  LEADING_CAPITAL.lastIndex = 0;
8321
- return input.replace(LEADING_CAPITAL, (m1) => toLowerCase(m1));
8099
+ return input.replaceAll(LEADING_CAPITAL, (match) => toLowerCase(match));
8322
8100
  };
8323
8101
  var postProcess = (input, toUpperCase) => {
8324
8102
  SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
8325
8103
  NUMBERS_AND_IDENTIFIER.lastIndex = 0;
8326
- return input.replace(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier)).replace(NUMBERS_AND_IDENTIFIER, (m) => toUpperCase(m));
8104
+ 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));
8327
8105
  };
8328
8106
  function camelCase(input, options) {
8329
8107
  if (!(typeof input === "string" || Array.isArray(input))) {
@@ -8362,10 +8140,10 @@ function camelCase(input, options) {
8362
8140
  return postProcess(input, toUpperCase);
8363
8141
  }
8364
8142
 
8365
- // ../../node_modules/.pnpm/boxen@7.1.1/node_modules/boxen/index.js
8143
+ // ../../node_modules/.pnpm/boxen@8.0.0/node_modules/boxen/index.js
8366
8144
  var import_ansi_align = __toESM(require_ansi_align(), 1);
8367
8145
 
8368
- // ../../node_modules/.pnpm/wrap-ansi@8.1.0/node_modules/wrap-ansi/index.js
8146
+ // ../../node_modules/.pnpm/wrap-ansi@9.0.0/node_modules/wrap-ansi/index.js
8369
8147
  init_cjs_shims();
8370
8148
 
8371
8149
  // ../../node_modules/.pnpm/ansi-styles@6.2.1/node_modules/ansi-styles/index.js
@@ -8555,7 +8333,7 @@ function assembleStyles2() {
8555
8333
  var ansiStyles2 = assembleStyles2();
8556
8334
  var ansi_styles_default2 = ansiStyles2;
8557
8335
 
8558
- // ../../node_modules/.pnpm/wrap-ansi@8.1.0/node_modules/wrap-ansi/index.js
8336
+ // ../../node_modules/.pnpm/wrap-ansi@9.0.0/node_modules/wrap-ansi/index.js
8559
8337
  var ESCAPES = /* @__PURE__ */ new Set([
8560
8338
  "\x1B",
8561
8339
  "\x9B"
@@ -8567,13 +8345,13 @@ var ANSI_OSC = "]";
8567
8345
  var ANSI_SGR_TERMINATOR = "m";
8568
8346
  var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
8569
8347
  var wrapAnsiCode = (code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
8570
- var wrapAnsiHyperlink = (uri) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${uri}${ANSI_ESCAPE_BELL}`;
8348
+ var wrapAnsiHyperlink = (url) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
8571
8349
  var wordLengths = (string) => string.split(" ").map((character) => stringWidth(character));
8572
8350
  var wrapWord = (rows, word, columns) => {
8573
8351
  const characters = [...word];
8574
8352
  let isInsideEscape = false;
8575
8353
  let isInsideLinkEscape = false;
8576
- let visible = stringWidth(stripAnsi(rows[rows.length - 1]));
8354
+ let visible = stringWidth(stripAnsi(rows.at(-1)));
8577
8355
  for (const [index, character] of characters.entries()) {
8578
8356
  const characterLength = stringWidth(character);
8579
8357
  if (visible + characterLength <= columns) {
@@ -8584,7 +8362,8 @@ var wrapWord = (rows, word, columns) => {
8584
8362
  }
8585
8363
  if (ESCAPES.has(character)) {
8586
8364
  isInsideEscape = true;
8587
- isInsideLinkEscape = characters.slice(index + 1).join("").startsWith(ANSI_ESCAPE_LINK);
8365
+ const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("");
8366
+ isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
8588
8367
  }
8589
8368
  if (isInsideEscape) {
8590
8369
  if (isInsideLinkEscape) {
@@ -8603,7 +8382,7 @@ var wrapWord = (rows, word, columns) => {
8603
8382
  visible = 0;
8604
8383
  }
8605
8384
  }
8606
- if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) {
8385
+ if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
8607
8386
  rows[rows.length - 2] += rows.pop();
8608
8387
  }
8609
8388
  };
@@ -8632,9 +8411,9 @@ var exec = (string, columns, options = {}) => {
8632
8411
  let rows = [""];
8633
8412
  for (const [index, word] of string.split(" ").entries()) {
8634
8413
  if (options.trim !== false) {
8635
- rows[rows.length - 1] = rows[rows.length - 1].trimStart();
8414
+ rows[rows.length - 1] = rows.at(-1).trimStart();
8636
8415
  }
8637
- let rowLength = stringWidth(rows[rows.length - 1]);
8416
+ let rowLength = stringWidth(rows.at(-1));
8638
8417
  if (index !== 0) {
8639
8418
  if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
8640
8419
  rows.push("");
@@ -8671,11 +8450,13 @@ var exec = (string, columns, options = {}) => {
8671
8450
  if (options.trim !== false) {
8672
8451
  rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
8673
8452
  }
8674
- const pre = [...rows.join("\n")];
8453
+ const preString = rows.join("\n");
8454
+ const pre = [...preString];
8455
+ let preStringIndex = 0;
8675
8456
  for (const [index, character] of pre.entries()) {
8676
8457
  returnValue += character;
8677
8458
  if (ESCAPES.has(character)) {
8678
- const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(pre.slice(index).join("")) || { groups: {} };
8459
+ const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || { groups: {} };
8679
8460
  if (groups.code !== void 0) {
8680
8461
  const code2 = Number.parseFloat(groups.code);
8681
8462
  escapeCode = code2 === END_CODE ? void 0 : code2;
@@ -8699,20 +8480,20 @@ var exec = (string, columns, options = {}) => {
8699
8480
  returnValue += wrapAnsiHyperlink(escapeUrl);
8700
8481
  }
8701
8482
  }
8483
+ preStringIndex += character.length;
8702
8484
  }
8703
8485
  return returnValue;
8704
8486
  };
8705
8487
  function wrapAnsi(string, columns, options) {
8706
- return String(string).normalize().replace(/\r\n/g, "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
8488
+ return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
8707
8489
  }
8708
8490
 
8709
- // ../../node_modules/.pnpm/boxen@7.1.1/node_modules/boxen/index.js
8710
- var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
8491
+ // ../../node_modules/.pnpm/boxen@8.0.0/node_modules/boxen/index.js
8711
8492
  var NEWLINE = "\n";
8712
8493
  var PAD = " ";
8713
8494
  var NONE = "none";
8714
8495
  var terminalColumns = () => {
8715
- const { env: env4, stdout, stderr } = import_node_process4.default;
8496
+ const { env: env4, stdout, stderr } = import_node_process8.default;
8716
8497
  if (stdout?.columns) {
8717
8498
  return stdout.columns;
8718
8499
  }
@@ -8756,7 +8537,7 @@ var getBorderChars = (borderStyle) => {
8756
8537
  }
8757
8538
  }
8758
8539
  if (typeof borderStyle === "string") {
8759
- characters = import_cli_boxes.default[borderStyle];
8540
+ characters = cli_boxes_default[borderStyle];
8760
8541
  if (!characters) {
8761
8542
  throw new TypeError(`Invalid border style: ${borderStyle}`);
8762
8543
  }
@@ -8844,22 +8625,9 @@ var makeContentText = (text, { padding, width, textAlignment, height }) => {
8844
8625
  }
8845
8626
  const paddingLeft = PAD.repeat(padding.left);
8846
8627
  const paddingRight = PAD.repeat(padding.right);
8847
- lines = lines.map((line) => paddingLeft + line + paddingRight);
8848
8628
  lines = lines.map((line) => {
8849
- if (width - stringWidth(line) > 0) {
8850
- switch (textAlignment) {
8851
- case "center": {
8852
- return line + PAD.repeat(width - stringWidth(line));
8853
- }
8854
- case "right": {
8855
- return line + PAD.repeat(width - stringWidth(line));
8856
- }
8857
- default: {
8858
- return line + PAD.repeat(width - stringWidth(line));
8859
- }
8860
- }
8861
- }
8862
- return line;
8629
+ const newLine = paddingLeft + line + paddingRight;
8630
+ return newLine + PAD.repeat(width - stringWidth(newLine));
8863
8631
  });
8864
8632
  if (padding.top > 0) {
8865
8633
  lines = [...Array.from({ length: padding.top }).fill(PAD.repeat(width)), ...lines];
@@ -8876,10 +8644,10 @@ var makeContentText = (text, { padding, width, textAlignment, height }) => {
8876
8644
  };
8877
8645
  var boxContent = (content, contentWidth, options) => {
8878
8646
  const colorizeBorder = (border) => {
8879
- const newBorder = options.borderColor ? getColorFn(options.borderColor)(border) : border;
8647
+ const newBorder = options.borderColor ? getColorFunction(options.borderColor)(border) : border;
8880
8648
  return options.dimBorder ? source_default.dim(newBorder) : newBorder;
8881
8649
  };
8882
- const colorizeContent = (content2) => options.backgroundColor ? getBGColorFn(options.backgroundColor)(content2) : content2;
8650
+ const colorizeContent = (content2) => options.backgroundColor ? getBGColorFunction(options.backgroundColor)(content2) : content2;
8883
8651
  const chars = getBorderChars(options.borderStyle);
8884
8652
  const columns = terminalColumns();
8885
8653
  let marginLeft = PAD.repeat(options.margin.left);
@@ -8908,24 +8676,16 @@ var boxContent = (content, contentWidth, options) => {
8908
8676
  return result;
8909
8677
  };
8910
8678
  var sanitizeOptions = (options) => {
8911
- if (options.fullscreen && import_node_process4.default?.stdout) {
8912
- let newDimensions = [import_node_process4.default.stdout.columns, import_node_process4.default.stdout.rows];
8679
+ if (options.fullscreen && import_node_process8.default?.stdout) {
8680
+ let newDimensions = [import_node_process8.default.stdout.columns, import_node_process8.default.stdout.rows];
8913
8681
  if (typeof options.fullscreen === "function") {
8914
8682
  newDimensions = options.fullscreen(...newDimensions);
8915
8683
  }
8916
- if (!options.width) {
8917
- options.width = newDimensions[0];
8918
- }
8919
- if (!options.height) {
8920
- options.height = newDimensions[1];
8921
- }
8922
- }
8923
- if (options.width) {
8924
- options.width = Math.max(1, options.width - getBorderWidth(options.borderStyle));
8925
- }
8926
- if (options.height) {
8927
- options.height = Math.max(1, options.height - getBorderWidth(options.borderStyle));
8684
+ options.width ||= newDimensions[0];
8685
+ options.height ||= newDimensions[1];
8928
8686
  }
8687
+ options.width &&= Math.max(1, options.width - getBorderWidth(options.borderStyle));
8688
+ options.height &&= Math.max(1, options.height - getBorderWidth(options.borderStyle));
8929
8689
  return options;
8930
8690
  };
8931
8691
  var formatTitle = (title, borderStyle) => borderStyle === NONE ? title : ` ${title} `;
@@ -8938,9 +8698,7 @@ var determineDimensions = (text, options) => {
8938
8698
  const widest = widestLine(wrapAnsi(text, columns - borderWidth, { hard: true, trim: false })) + options.padding.left + options.padding.right;
8939
8699
  if (options.title && widthOverride) {
8940
8700
  options.title = options.title.slice(0, Math.max(0, options.width - 2));
8941
- if (options.title) {
8942
- options.title = formatTitle(options.title, options.borderStyle);
8943
- }
8701
+ options.title &&= formatTitle(options.title, options.borderStyle);
8944
8702
  } else if (options.title) {
8945
8703
  options.title = options.title.slice(0, Math.max(0, maxWidth - 2));
8946
8704
  if (options.title) {
@@ -8950,7 +8708,7 @@ var determineDimensions = (text, options) => {
8950
8708
  }
8951
8709
  }
8952
8710
  }
8953
- options.width = options.width ? options.width : widest;
8711
+ options.width ||= widest;
8954
8712
  if (!widthOverride) {
8955
8713
  if (options.margin.left && options.margin.right && options.width > maxWidth) {
8956
8714
  const spaceForMargins = columns - options.width - borderWidth;
@@ -8972,8 +8730,8 @@ var determineDimensions = (text, options) => {
8972
8730
  };
8973
8731
  var isHex = (color) => color.match(/^#(?:[0-f]{3}){1,2}$/i);
8974
8732
  var isColorValid = (color) => typeof color === "string" && (source_default[color] ?? isHex(color));
8975
- var getColorFn = (color) => isHex(color) ? source_default.hex(color) : source_default[color];
8976
- var getBGColorFn = (color) => isHex(color) ? source_default.bgHex(color) : source_default[camelCase(["bg", color])];
8733
+ var getColorFunction = (color) => isHex(color) ? source_default.hex(color) : source_default[color];
8734
+ var getBGColorFunction = (color) => isHex(color) ? source_default.bgHex(color) : source_default[camelCase(["bg", color])];
8977
8735
  function boxen(text, options) {
8978
8736
  options = {
8979
8737
  padding: 0,
@@ -9000,10 +8758,10 @@ function boxen(text, options) {
9000
8758
  return boxContent(text, options.width, options);
9001
8759
  }
9002
8760
 
9003
- // ../../node_modules/.pnpm/is-in-ci@0.1.0/node_modules/is-in-ci/index.js
8761
+ // ../../node_modules/.pnpm/is-in-ci@1.0.0/node_modules/is-in-ci/index.js
9004
8762
  init_cjs_shims();
9005
- var import_node_process5 = require("process");
9006
- 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_")));
8763
+ var import_node_process9 = require("process");
8764
+ 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_")));
9007
8765
  var is_in_ci_default = isInCi;
9008
8766
 
9009
8767
  // ../../node_modules/.pnpm/pupa@3.1.0/node_modules/pupa/index.js
@@ -9061,8 +8819,8 @@ function pupa(template, data, { ignoreMissing = false, transform = ({ value }) =
9061
8819
  return template.replace(braceRegex, replace);
9062
8820
  }
9063
8821
 
9064
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/update-notifier.js
9065
- var __dirname3 = import_node_path4.default.dirname((0, import_node_url2.fileURLToPath)(importMetaUrl));
8822
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/update-notifier.js
8823
+ var __dirname3 = import_node_path7.default.dirname((0, import_node_url2.fileURLToPath)(importMetaUrl));
9066
8824
  var ONE_DAY = 1e3 * 60 * 60 * 24;
9067
8825
  var UpdateNotifier = class {
9068
8826
  // Public
@@ -9070,8 +8828,10 @@ var UpdateNotifier = class {
9070
8828
  update;
9071
8829
  // Semi-private (used for tests)
9072
8830
  _packageName;
8831
+ // eslint-disable-line lines-between-class-members
9073
8832
  _shouldNotifyInNpmScript;
9074
8833
  #options;
8834
+ // eslint-disable-line lines-between-class-members
9075
8835
  #packageVersion;
9076
8836
  #updateCheckInterval;
9077
8837
  #isDisabled;
@@ -9089,7 +8849,7 @@ var UpdateNotifier = class {
9089
8849
  this._packageName = options.pkg.name;
9090
8850
  this.#packageVersion = options.pkg.version;
9091
8851
  this.#updateCheckInterval = typeof options.updateCheckInterval === "number" ? options.updateCheckInterval : ONE_DAY;
9092
- 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;
8852
+ 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;
9093
8853
  this._shouldNotifyInNpmScript = options.shouldNotifyInNpmScript;
9094
8854
  if (!this.#isDisabled) {
9095
8855
  try {
@@ -9100,8 +8860,8 @@ var UpdateNotifier = class {
9100
8860
  lastUpdateCheck: Date.now()
9101
8861
  });
9102
8862
  } catch {
9103
- 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));
9104
- import_node_process6.default.on("exit", () => {
8863
+ 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));
8864
+ import_node_process10.default.on("exit", () => {
9105
8865
  console.error(boxen(message, { textAlignment: "center" }));
9106
8866
  });
9107
8867
  }
@@ -9119,7 +8879,7 @@ var UpdateNotifier = class {
9119
8879
  if (Date.now() - this.config.get("lastUpdateCheck") < this.#updateCheckInterval) {
9120
8880
  return;
9121
8881
  }
9122
- (0, import_node_child_process.spawn)(import_node_process6.default.execPath, [import_node_path4.default.join(__dirname3, "check.js"), JSON.stringify(this.#options)], {
8882
+ (0, import_node_child_process.spawn)(import_node_process10.default.execPath, [import_node_path7.default.join(__dirname3, "check.js"), JSON.stringify(this.#options)], {
9123
8883
  detached: true,
9124
8884
  stdio: "ignore"
9125
8885
  }).unref();
@@ -9136,7 +8896,7 @@ var UpdateNotifier = class {
9136
8896
  }
9137
8897
  notify(options) {
9138
8898
  const suppressForNpm = !this._shouldNotifyInNpmScript && isNpmOrYarn;
9139
- if (!import_node_process6.default.stdout.isTTY || suppressForNpm || !this.update || !import_semver3.default.gt(this.update.latest, this.update.current)) {
8899
+ if (!import_node_process10.default.stdout.isTTY || suppressForNpm || !this.update || !import_semver3.default.gt(this.update.latest, this.update.current)) {
9140
8900
  return this;
9141
8901
  }
9142
8902
  options = {
@@ -9165,19 +8925,19 @@ var UpdateNotifier = class {
9165
8925
  if (options.defer === false) {
9166
8926
  console.error(message);
9167
8927
  } else {
9168
- import_node_process6.default.on("exit", () => {
8928
+ import_node_process10.default.on("exit", () => {
9169
8929
  console.error(message);
9170
8930
  });
9171
- import_node_process6.default.on("SIGINT", () => {
8931
+ import_node_process10.default.on("SIGINT", () => {
9172
8932
  console.error("");
9173
- import_node_process6.default.exit();
8933
+ import_node_process10.default.exit();
9174
8934
  });
9175
8935
  }
9176
8936
  return this;
9177
8937
  }
9178
8938
  };
9179
8939
 
9180
- // ../../node_modules/.pnpm/update-notifier@7.1.0/node_modules/update-notifier/index.js
8940
+ // ../../node_modules/.pnpm/update-notifier@7.2.0/node_modules/update-notifier/index.js
9181
8941
  function updateNotifier(options) {
9182
8942
  const updateNotifier2 = new UpdateNotifier(options);
9183
8943
  updateNotifier2.check();
@@ -9235,10 +8995,11 @@ var package_default = {
9235
8995
  "cli-check-node": "^1.3.4",
9236
8996
  "cli-handle-unhandled": "^1.1.1",
9237
8997
  "cli-welcome": "^2.2.3",
9238
- color2k: "^2.0.3",
9239
8998
  commander: "^12.1.0",
9240
8999
  glob: "^11.0.0",
9241
- prettier: "^3.3.3"
9000
+ prettier: "^3.3.3",
9001
+ tar: "^7.4.3",
9002
+ typescript: "^5.5.4"
9242
9003
  },
9243
9004
  devDependencies: {
9244
9005
  "@types/cli-welcome": "^2.2.2",
@@ -9271,11 +9032,11 @@ ${package_default.description}`,
9271
9032
 
9272
9033
  // src/utils/prettier.ts
9273
9034
  init_cjs_shims();
9274
- var import_path3 = __toESM(require("path"));
9035
+ var import_path2 = __toESM(require("path"));
9275
9036
  var import_prettier = require("prettier");
9276
9037
  var prettier = async (content, options) => {
9277
9038
  const prettierConfig = await (0, import_prettier.resolveConfig)(
9278
- import_path3.default.join(process.cwd(), ".prettierrc")
9039
+ import_path2.default.join(process.cwd(), ".prettierrc")
9279
9040
  );
9280
9041
  try {
9281
9042
  return (0, import_prettier.format)(content, {
@@ -9315,19 +9076,6 @@ var omitObject = (obj, keys) => {
9315
9076
  });
9316
9077
  /*! Bundled license information:
9317
9078
 
9318
- imurmurhash/imurmurhash.js:
9319
- (**
9320
- * @preserve
9321
- * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
9322
- *
9323
- * @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
9324
- * @see http://github.com/homebrewing/brauhaus-diff
9325
- * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
9326
- * @see http://github.com/garycourt/murmurhash-js
9327
- * @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
9328
- * @see http://sites.google.com/site/murmurhash/
9329
- *)
9330
-
9331
9079
  deep-extend/lib/deep-extend.js:
9332
9080
  (*!
9333
9081
  * @description Recursive object extending