create-pnpm-cli 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cli.cjs ADDED
@@ -0,0 +1,4806 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __esm = (fn, res) => function __init() {
9
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
10
+ };
11
+ var __commonJS = (cb, mod) => function __require() {
12
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
13
+ };
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
27
+ // If the importer is in node compatibility mode or this is not an ESM
28
+ // file that has been converted to a CommonJS file using a Babel-
29
+ // compatible transform (i.e. "__esModule" has not been set), then set
30
+ // "default" to the CommonJS "module.exports" for node compatibility.
31
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
32
+ mod
33
+ ));
34
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
+
36
+ // ../../node_modules/.pnpm/tsup@8.2.3_typescript@5.5.4/node_modules/tsup/assets/cjs_shims.js
37
+ var init_cjs_shims = __esm({
38
+ "../../node_modules/.pnpm/tsup@8.2.3_typescript@5.5.4/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "use strict";
40
+ }
41
+ });
42
+
43
+ // ../../node_modules/.pnpm/yoctocolors-cjs@2.1.2/node_modules/yoctocolors-cjs/index.js
44
+ var require_yoctocolors_cjs = __commonJS({
45
+ "../../node_modules/.pnpm/yoctocolors-cjs@2.1.2/node_modules/yoctocolors-cjs/index.js"(exports2, module2) {
46
+ "use strict";
47
+ init_cjs_shims();
48
+ var tty = require("tty");
49
+ var hasColors = tty?.WriteStream?.prototype?.hasColors?.() ?? false;
50
+ var format = (open, close) => {
51
+ if (!hasColors) {
52
+ return (input) => input;
53
+ }
54
+ const openCode = `\x1B[${open}m`;
55
+ const closeCode = `\x1B[${close}m`;
56
+ return (input) => {
57
+ const string = input + "";
58
+ let index = string.indexOf(closeCode);
59
+ if (index === -1) {
60
+ return openCode + string + closeCode;
61
+ }
62
+ let result = openCode;
63
+ let lastIndex = 0;
64
+ while (index !== -1) {
65
+ result += string.slice(lastIndex, index) + openCode;
66
+ lastIndex = index + closeCode.length;
67
+ index = string.indexOf(closeCode, lastIndex);
68
+ }
69
+ result += string.slice(lastIndex) + closeCode;
70
+ return result;
71
+ };
72
+ };
73
+ var colors4 = {};
74
+ colors4.reset = format(0, 0);
75
+ colors4.bold = format(1, 22);
76
+ colors4.dim = format(2, 22);
77
+ colors4.italic = format(3, 23);
78
+ colors4.underline = format(4, 24);
79
+ colors4.overline = format(53, 55);
80
+ colors4.inverse = format(7, 27);
81
+ colors4.hidden = format(8, 28);
82
+ colors4.strikethrough = format(9, 29);
83
+ colors4.black = format(30, 39);
84
+ colors4.red = format(31, 39);
85
+ colors4.green = format(32, 39);
86
+ colors4.yellow = format(33, 39);
87
+ colors4.blue = format(34, 39);
88
+ colors4.magenta = format(35, 39);
89
+ colors4.cyan = format(36, 39);
90
+ colors4.white = format(37, 39);
91
+ colors4.gray = format(90, 39);
92
+ colors4.bgBlack = format(40, 49);
93
+ colors4.bgRed = format(41, 49);
94
+ colors4.bgGreen = format(42, 49);
95
+ colors4.bgYellow = format(43, 49);
96
+ colors4.bgBlue = format(44, 49);
97
+ colors4.bgMagenta = format(45, 49);
98
+ colors4.bgCyan = format(46, 49);
99
+ colors4.bgWhite = format(47, 49);
100
+ colors4.bgGray = format(100, 49);
101
+ colors4.redBright = format(91, 39);
102
+ colors4.greenBright = format(92, 39);
103
+ colors4.yellowBright = format(93, 39);
104
+ colors4.blueBright = format(94, 39);
105
+ colors4.magentaBright = format(95, 39);
106
+ colors4.cyanBright = format(96, 39);
107
+ colors4.whiteBright = format(97, 39);
108
+ colors4.bgRedBright = format(101, 49);
109
+ colors4.bgGreenBright = format(102, 49);
110
+ colors4.bgYellowBright = format(103, 49);
111
+ colors4.bgBlueBright = format(104, 49);
112
+ colors4.bgMagentaBright = format(105, 49);
113
+ colors4.bgCyanBright = format(106, 49);
114
+ colors4.bgWhiteBright = format(107, 49);
115
+ module2.exports = colors4;
116
+ }
117
+ });
118
+
119
+ // ../../node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json
120
+ var require_spinners = __commonJS({
121
+ "../../node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json"(exports2, module2) {
122
+ module2.exports = {
123
+ dots: {
124
+ interval: 80,
125
+ frames: [
126
+ "\u280B",
127
+ "\u2819",
128
+ "\u2839",
129
+ "\u2838",
130
+ "\u283C",
131
+ "\u2834",
132
+ "\u2826",
133
+ "\u2827",
134
+ "\u2807",
135
+ "\u280F"
136
+ ]
137
+ },
138
+ dots2: {
139
+ interval: 80,
140
+ frames: [
141
+ "\u28FE",
142
+ "\u28FD",
143
+ "\u28FB",
144
+ "\u28BF",
145
+ "\u287F",
146
+ "\u28DF",
147
+ "\u28EF",
148
+ "\u28F7"
149
+ ]
150
+ },
151
+ dots3: {
152
+ interval: 80,
153
+ frames: [
154
+ "\u280B",
155
+ "\u2819",
156
+ "\u281A",
157
+ "\u281E",
158
+ "\u2816",
159
+ "\u2826",
160
+ "\u2834",
161
+ "\u2832",
162
+ "\u2833",
163
+ "\u2813"
164
+ ]
165
+ },
166
+ dots4: {
167
+ interval: 80,
168
+ frames: [
169
+ "\u2804",
170
+ "\u2806",
171
+ "\u2807",
172
+ "\u280B",
173
+ "\u2819",
174
+ "\u2838",
175
+ "\u2830",
176
+ "\u2820",
177
+ "\u2830",
178
+ "\u2838",
179
+ "\u2819",
180
+ "\u280B",
181
+ "\u2807",
182
+ "\u2806"
183
+ ]
184
+ },
185
+ dots5: {
186
+ interval: 80,
187
+ frames: [
188
+ "\u280B",
189
+ "\u2819",
190
+ "\u281A",
191
+ "\u2812",
192
+ "\u2802",
193
+ "\u2802",
194
+ "\u2812",
195
+ "\u2832",
196
+ "\u2834",
197
+ "\u2826",
198
+ "\u2816",
199
+ "\u2812",
200
+ "\u2810",
201
+ "\u2810",
202
+ "\u2812",
203
+ "\u2813",
204
+ "\u280B"
205
+ ]
206
+ },
207
+ dots6: {
208
+ interval: 80,
209
+ frames: [
210
+ "\u2801",
211
+ "\u2809",
212
+ "\u2819",
213
+ "\u281A",
214
+ "\u2812",
215
+ "\u2802",
216
+ "\u2802",
217
+ "\u2812",
218
+ "\u2832",
219
+ "\u2834",
220
+ "\u2824",
221
+ "\u2804",
222
+ "\u2804",
223
+ "\u2824",
224
+ "\u2834",
225
+ "\u2832",
226
+ "\u2812",
227
+ "\u2802",
228
+ "\u2802",
229
+ "\u2812",
230
+ "\u281A",
231
+ "\u2819",
232
+ "\u2809",
233
+ "\u2801"
234
+ ]
235
+ },
236
+ dots7: {
237
+ interval: 80,
238
+ frames: [
239
+ "\u2808",
240
+ "\u2809",
241
+ "\u280B",
242
+ "\u2813",
243
+ "\u2812",
244
+ "\u2810",
245
+ "\u2810",
246
+ "\u2812",
247
+ "\u2816",
248
+ "\u2826",
249
+ "\u2824",
250
+ "\u2820",
251
+ "\u2820",
252
+ "\u2824",
253
+ "\u2826",
254
+ "\u2816",
255
+ "\u2812",
256
+ "\u2810",
257
+ "\u2810",
258
+ "\u2812",
259
+ "\u2813",
260
+ "\u280B",
261
+ "\u2809",
262
+ "\u2808"
263
+ ]
264
+ },
265
+ dots8: {
266
+ interval: 80,
267
+ frames: [
268
+ "\u2801",
269
+ "\u2801",
270
+ "\u2809",
271
+ "\u2819",
272
+ "\u281A",
273
+ "\u2812",
274
+ "\u2802",
275
+ "\u2802",
276
+ "\u2812",
277
+ "\u2832",
278
+ "\u2834",
279
+ "\u2824",
280
+ "\u2804",
281
+ "\u2804",
282
+ "\u2824",
283
+ "\u2820",
284
+ "\u2820",
285
+ "\u2824",
286
+ "\u2826",
287
+ "\u2816",
288
+ "\u2812",
289
+ "\u2810",
290
+ "\u2810",
291
+ "\u2812",
292
+ "\u2813",
293
+ "\u280B",
294
+ "\u2809",
295
+ "\u2808",
296
+ "\u2808"
297
+ ]
298
+ },
299
+ dots9: {
300
+ interval: 80,
301
+ frames: [
302
+ "\u28B9",
303
+ "\u28BA",
304
+ "\u28BC",
305
+ "\u28F8",
306
+ "\u28C7",
307
+ "\u2867",
308
+ "\u2857",
309
+ "\u284F"
310
+ ]
311
+ },
312
+ dots10: {
313
+ interval: 80,
314
+ frames: [
315
+ "\u2884",
316
+ "\u2882",
317
+ "\u2881",
318
+ "\u2841",
319
+ "\u2848",
320
+ "\u2850",
321
+ "\u2860"
322
+ ]
323
+ },
324
+ dots11: {
325
+ interval: 100,
326
+ frames: [
327
+ "\u2801",
328
+ "\u2802",
329
+ "\u2804",
330
+ "\u2840",
331
+ "\u2880",
332
+ "\u2820",
333
+ "\u2810",
334
+ "\u2808"
335
+ ]
336
+ },
337
+ dots12: {
338
+ interval: 80,
339
+ frames: [
340
+ "\u2880\u2800",
341
+ "\u2840\u2800",
342
+ "\u2804\u2800",
343
+ "\u2882\u2800",
344
+ "\u2842\u2800",
345
+ "\u2805\u2800",
346
+ "\u2883\u2800",
347
+ "\u2843\u2800",
348
+ "\u280D\u2800",
349
+ "\u288B\u2800",
350
+ "\u284B\u2800",
351
+ "\u280D\u2801",
352
+ "\u288B\u2801",
353
+ "\u284B\u2801",
354
+ "\u280D\u2809",
355
+ "\u280B\u2809",
356
+ "\u280B\u2809",
357
+ "\u2809\u2819",
358
+ "\u2809\u2819",
359
+ "\u2809\u2829",
360
+ "\u2808\u2899",
361
+ "\u2808\u2859",
362
+ "\u2888\u2829",
363
+ "\u2840\u2899",
364
+ "\u2804\u2859",
365
+ "\u2882\u2829",
366
+ "\u2842\u2898",
367
+ "\u2805\u2858",
368
+ "\u2883\u2828",
369
+ "\u2843\u2890",
370
+ "\u280D\u2850",
371
+ "\u288B\u2820",
372
+ "\u284B\u2880",
373
+ "\u280D\u2841",
374
+ "\u288B\u2801",
375
+ "\u284B\u2801",
376
+ "\u280D\u2809",
377
+ "\u280B\u2809",
378
+ "\u280B\u2809",
379
+ "\u2809\u2819",
380
+ "\u2809\u2819",
381
+ "\u2809\u2829",
382
+ "\u2808\u2899",
383
+ "\u2808\u2859",
384
+ "\u2808\u2829",
385
+ "\u2800\u2899",
386
+ "\u2800\u2859",
387
+ "\u2800\u2829",
388
+ "\u2800\u2898",
389
+ "\u2800\u2858",
390
+ "\u2800\u2828",
391
+ "\u2800\u2890",
392
+ "\u2800\u2850",
393
+ "\u2800\u2820",
394
+ "\u2800\u2880",
395
+ "\u2800\u2840"
396
+ ]
397
+ },
398
+ dots13: {
399
+ interval: 80,
400
+ frames: [
401
+ "\u28FC",
402
+ "\u28F9",
403
+ "\u28BB",
404
+ "\u283F",
405
+ "\u285F",
406
+ "\u28CF",
407
+ "\u28E7",
408
+ "\u28F6"
409
+ ]
410
+ },
411
+ dots8Bit: {
412
+ interval: 80,
413
+ frames: [
414
+ "\u2800",
415
+ "\u2801",
416
+ "\u2802",
417
+ "\u2803",
418
+ "\u2804",
419
+ "\u2805",
420
+ "\u2806",
421
+ "\u2807",
422
+ "\u2840",
423
+ "\u2841",
424
+ "\u2842",
425
+ "\u2843",
426
+ "\u2844",
427
+ "\u2845",
428
+ "\u2846",
429
+ "\u2847",
430
+ "\u2808",
431
+ "\u2809",
432
+ "\u280A",
433
+ "\u280B",
434
+ "\u280C",
435
+ "\u280D",
436
+ "\u280E",
437
+ "\u280F",
438
+ "\u2848",
439
+ "\u2849",
440
+ "\u284A",
441
+ "\u284B",
442
+ "\u284C",
443
+ "\u284D",
444
+ "\u284E",
445
+ "\u284F",
446
+ "\u2810",
447
+ "\u2811",
448
+ "\u2812",
449
+ "\u2813",
450
+ "\u2814",
451
+ "\u2815",
452
+ "\u2816",
453
+ "\u2817",
454
+ "\u2850",
455
+ "\u2851",
456
+ "\u2852",
457
+ "\u2853",
458
+ "\u2854",
459
+ "\u2855",
460
+ "\u2856",
461
+ "\u2857",
462
+ "\u2818",
463
+ "\u2819",
464
+ "\u281A",
465
+ "\u281B",
466
+ "\u281C",
467
+ "\u281D",
468
+ "\u281E",
469
+ "\u281F",
470
+ "\u2858",
471
+ "\u2859",
472
+ "\u285A",
473
+ "\u285B",
474
+ "\u285C",
475
+ "\u285D",
476
+ "\u285E",
477
+ "\u285F",
478
+ "\u2820",
479
+ "\u2821",
480
+ "\u2822",
481
+ "\u2823",
482
+ "\u2824",
483
+ "\u2825",
484
+ "\u2826",
485
+ "\u2827",
486
+ "\u2860",
487
+ "\u2861",
488
+ "\u2862",
489
+ "\u2863",
490
+ "\u2864",
491
+ "\u2865",
492
+ "\u2866",
493
+ "\u2867",
494
+ "\u2828",
495
+ "\u2829",
496
+ "\u282A",
497
+ "\u282B",
498
+ "\u282C",
499
+ "\u282D",
500
+ "\u282E",
501
+ "\u282F",
502
+ "\u2868",
503
+ "\u2869",
504
+ "\u286A",
505
+ "\u286B",
506
+ "\u286C",
507
+ "\u286D",
508
+ "\u286E",
509
+ "\u286F",
510
+ "\u2830",
511
+ "\u2831",
512
+ "\u2832",
513
+ "\u2833",
514
+ "\u2834",
515
+ "\u2835",
516
+ "\u2836",
517
+ "\u2837",
518
+ "\u2870",
519
+ "\u2871",
520
+ "\u2872",
521
+ "\u2873",
522
+ "\u2874",
523
+ "\u2875",
524
+ "\u2876",
525
+ "\u2877",
526
+ "\u2838",
527
+ "\u2839",
528
+ "\u283A",
529
+ "\u283B",
530
+ "\u283C",
531
+ "\u283D",
532
+ "\u283E",
533
+ "\u283F",
534
+ "\u2878",
535
+ "\u2879",
536
+ "\u287A",
537
+ "\u287B",
538
+ "\u287C",
539
+ "\u287D",
540
+ "\u287E",
541
+ "\u287F",
542
+ "\u2880",
543
+ "\u2881",
544
+ "\u2882",
545
+ "\u2883",
546
+ "\u2884",
547
+ "\u2885",
548
+ "\u2886",
549
+ "\u2887",
550
+ "\u28C0",
551
+ "\u28C1",
552
+ "\u28C2",
553
+ "\u28C3",
554
+ "\u28C4",
555
+ "\u28C5",
556
+ "\u28C6",
557
+ "\u28C7",
558
+ "\u2888",
559
+ "\u2889",
560
+ "\u288A",
561
+ "\u288B",
562
+ "\u288C",
563
+ "\u288D",
564
+ "\u288E",
565
+ "\u288F",
566
+ "\u28C8",
567
+ "\u28C9",
568
+ "\u28CA",
569
+ "\u28CB",
570
+ "\u28CC",
571
+ "\u28CD",
572
+ "\u28CE",
573
+ "\u28CF",
574
+ "\u2890",
575
+ "\u2891",
576
+ "\u2892",
577
+ "\u2893",
578
+ "\u2894",
579
+ "\u2895",
580
+ "\u2896",
581
+ "\u2897",
582
+ "\u28D0",
583
+ "\u28D1",
584
+ "\u28D2",
585
+ "\u28D3",
586
+ "\u28D4",
587
+ "\u28D5",
588
+ "\u28D6",
589
+ "\u28D7",
590
+ "\u2898",
591
+ "\u2899",
592
+ "\u289A",
593
+ "\u289B",
594
+ "\u289C",
595
+ "\u289D",
596
+ "\u289E",
597
+ "\u289F",
598
+ "\u28D8",
599
+ "\u28D9",
600
+ "\u28DA",
601
+ "\u28DB",
602
+ "\u28DC",
603
+ "\u28DD",
604
+ "\u28DE",
605
+ "\u28DF",
606
+ "\u28A0",
607
+ "\u28A1",
608
+ "\u28A2",
609
+ "\u28A3",
610
+ "\u28A4",
611
+ "\u28A5",
612
+ "\u28A6",
613
+ "\u28A7",
614
+ "\u28E0",
615
+ "\u28E1",
616
+ "\u28E2",
617
+ "\u28E3",
618
+ "\u28E4",
619
+ "\u28E5",
620
+ "\u28E6",
621
+ "\u28E7",
622
+ "\u28A8",
623
+ "\u28A9",
624
+ "\u28AA",
625
+ "\u28AB",
626
+ "\u28AC",
627
+ "\u28AD",
628
+ "\u28AE",
629
+ "\u28AF",
630
+ "\u28E8",
631
+ "\u28E9",
632
+ "\u28EA",
633
+ "\u28EB",
634
+ "\u28EC",
635
+ "\u28ED",
636
+ "\u28EE",
637
+ "\u28EF",
638
+ "\u28B0",
639
+ "\u28B1",
640
+ "\u28B2",
641
+ "\u28B3",
642
+ "\u28B4",
643
+ "\u28B5",
644
+ "\u28B6",
645
+ "\u28B7",
646
+ "\u28F0",
647
+ "\u28F1",
648
+ "\u28F2",
649
+ "\u28F3",
650
+ "\u28F4",
651
+ "\u28F5",
652
+ "\u28F6",
653
+ "\u28F7",
654
+ "\u28B8",
655
+ "\u28B9",
656
+ "\u28BA",
657
+ "\u28BB",
658
+ "\u28BC",
659
+ "\u28BD",
660
+ "\u28BE",
661
+ "\u28BF",
662
+ "\u28F8",
663
+ "\u28F9",
664
+ "\u28FA",
665
+ "\u28FB",
666
+ "\u28FC",
667
+ "\u28FD",
668
+ "\u28FE",
669
+ "\u28FF"
670
+ ]
671
+ },
672
+ sand: {
673
+ interval: 80,
674
+ frames: [
675
+ "\u2801",
676
+ "\u2802",
677
+ "\u2804",
678
+ "\u2840",
679
+ "\u2848",
680
+ "\u2850",
681
+ "\u2860",
682
+ "\u28C0",
683
+ "\u28C1",
684
+ "\u28C2",
685
+ "\u28C4",
686
+ "\u28CC",
687
+ "\u28D4",
688
+ "\u28E4",
689
+ "\u28E5",
690
+ "\u28E6",
691
+ "\u28EE",
692
+ "\u28F6",
693
+ "\u28F7",
694
+ "\u28FF",
695
+ "\u287F",
696
+ "\u283F",
697
+ "\u289F",
698
+ "\u281F",
699
+ "\u285B",
700
+ "\u281B",
701
+ "\u282B",
702
+ "\u288B",
703
+ "\u280B",
704
+ "\u280D",
705
+ "\u2849",
706
+ "\u2809",
707
+ "\u2811",
708
+ "\u2821",
709
+ "\u2881"
710
+ ]
711
+ },
712
+ line: {
713
+ interval: 130,
714
+ frames: [
715
+ "-",
716
+ "\\",
717
+ "|",
718
+ "/"
719
+ ]
720
+ },
721
+ line2: {
722
+ interval: 100,
723
+ frames: [
724
+ "\u2802",
725
+ "-",
726
+ "\u2013",
727
+ "\u2014",
728
+ "\u2013",
729
+ "-"
730
+ ]
731
+ },
732
+ pipe: {
733
+ interval: 100,
734
+ frames: [
735
+ "\u2524",
736
+ "\u2518",
737
+ "\u2534",
738
+ "\u2514",
739
+ "\u251C",
740
+ "\u250C",
741
+ "\u252C",
742
+ "\u2510"
743
+ ]
744
+ },
745
+ simpleDots: {
746
+ interval: 400,
747
+ frames: [
748
+ ". ",
749
+ ".. ",
750
+ "...",
751
+ " "
752
+ ]
753
+ },
754
+ simpleDotsScrolling: {
755
+ interval: 200,
756
+ frames: [
757
+ ". ",
758
+ ".. ",
759
+ "...",
760
+ " ..",
761
+ " .",
762
+ " "
763
+ ]
764
+ },
765
+ star: {
766
+ interval: 70,
767
+ frames: [
768
+ "\u2736",
769
+ "\u2738",
770
+ "\u2739",
771
+ "\u273A",
772
+ "\u2739",
773
+ "\u2737"
774
+ ]
775
+ },
776
+ star2: {
777
+ interval: 80,
778
+ frames: [
779
+ "+",
780
+ "x",
781
+ "*"
782
+ ]
783
+ },
784
+ flip: {
785
+ interval: 70,
786
+ frames: [
787
+ "_",
788
+ "_",
789
+ "_",
790
+ "-",
791
+ "`",
792
+ "`",
793
+ "'",
794
+ "\xB4",
795
+ "-",
796
+ "_",
797
+ "_",
798
+ "_"
799
+ ]
800
+ },
801
+ hamburger: {
802
+ interval: 100,
803
+ frames: [
804
+ "\u2631",
805
+ "\u2632",
806
+ "\u2634"
807
+ ]
808
+ },
809
+ growVertical: {
810
+ interval: 120,
811
+ frames: [
812
+ "\u2581",
813
+ "\u2583",
814
+ "\u2584",
815
+ "\u2585",
816
+ "\u2586",
817
+ "\u2587",
818
+ "\u2586",
819
+ "\u2585",
820
+ "\u2584",
821
+ "\u2583"
822
+ ]
823
+ },
824
+ growHorizontal: {
825
+ interval: 120,
826
+ frames: [
827
+ "\u258F",
828
+ "\u258E",
829
+ "\u258D",
830
+ "\u258C",
831
+ "\u258B",
832
+ "\u258A",
833
+ "\u2589",
834
+ "\u258A",
835
+ "\u258B",
836
+ "\u258C",
837
+ "\u258D",
838
+ "\u258E"
839
+ ]
840
+ },
841
+ balloon: {
842
+ interval: 140,
843
+ frames: [
844
+ " ",
845
+ ".",
846
+ "o",
847
+ "O",
848
+ "@",
849
+ "*",
850
+ " "
851
+ ]
852
+ },
853
+ balloon2: {
854
+ interval: 120,
855
+ frames: [
856
+ ".",
857
+ "o",
858
+ "O",
859
+ "\xB0",
860
+ "O",
861
+ "o",
862
+ "."
863
+ ]
864
+ },
865
+ noise: {
866
+ interval: 100,
867
+ frames: [
868
+ "\u2593",
869
+ "\u2592",
870
+ "\u2591"
871
+ ]
872
+ },
873
+ bounce: {
874
+ interval: 120,
875
+ frames: [
876
+ "\u2801",
877
+ "\u2802",
878
+ "\u2804",
879
+ "\u2802"
880
+ ]
881
+ },
882
+ boxBounce: {
883
+ interval: 120,
884
+ frames: [
885
+ "\u2596",
886
+ "\u2598",
887
+ "\u259D",
888
+ "\u2597"
889
+ ]
890
+ },
891
+ boxBounce2: {
892
+ interval: 100,
893
+ frames: [
894
+ "\u258C",
895
+ "\u2580",
896
+ "\u2590",
897
+ "\u2584"
898
+ ]
899
+ },
900
+ triangle: {
901
+ interval: 50,
902
+ frames: [
903
+ "\u25E2",
904
+ "\u25E3",
905
+ "\u25E4",
906
+ "\u25E5"
907
+ ]
908
+ },
909
+ binary: {
910
+ interval: 80,
911
+ frames: [
912
+ "010010",
913
+ "001100",
914
+ "100101",
915
+ "111010",
916
+ "111101",
917
+ "010111",
918
+ "101011",
919
+ "111000",
920
+ "110011",
921
+ "110101"
922
+ ]
923
+ },
924
+ arc: {
925
+ interval: 100,
926
+ frames: [
927
+ "\u25DC",
928
+ "\u25E0",
929
+ "\u25DD",
930
+ "\u25DE",
931
+ "\u25E1",
932
+ "\u25DF"
933
+ ]
934
+ },
935
+ circle: {
936
+ interval: 120,
937
+ frames: [
938
+ "\u25E1",
939
+ "\u2299",
940
+ "\u25E0"
941
+ ]
942
+ },
943
+ squareCorners: {
944
+ interval: 180,
945
+ frames: [
946
+ "\u25F0",
947
+ "\u25F3",
948
+ "\u25F2",
949
+ "\u25F1"
950
+ ]
951
+ },
952
+ circleQuarters: {
953
+ interval: 120,
954
+ frames: [
955
+ "\u25F4",
956
+ "\u25F7",
957
+ "\u25F6",
958
+ "\u25F5"
959
+ ]
960
+ },
961
+ circleHalves: {
962
+ interval: 50,
963
+ frames: [
964
+ "\u25D0",
965
+ "\u25D3",
966
+ "\u25D1",
967
+ "\u25D2"
968
+ ]
969
+ },
970
+ squish: {
971
+ interval: 100,
972
+ frames: [
973
+ "\u256B",
974
+ "\u256A"
975
+ ]
976
+ },
977
+ toggle: {
978
+ interval: 250,
979
+ frames: [
980
+ "\u22B6",
981
+ "\u22B7"
982
+ ]
983
+ },
984
+ toggle2: {
985
+ interval: 80,
986
+ frames: [
987
+ "\u25AB",
988
+ "\u25AA"
989
+ ]
990
+ },
991
+ toggle3: {
992
+ interval: 120,
993
+ frames: [
994
+ "\u25A1",
995
+ "\u25A0"
996
+ ]
997
+ },
998
+ toggle4: {
999
+ interval: 100,
1000
+ frames: [
1001
+ "\u25A0",
1002
+ "\u25A1",
1003
+ "\u25AA",
1004
+ "\u25AB"
1005
+ ]
1006
+ },
1007
+ toggle5: {
1008
+ interval: 100,
1009
+ frames: [
1010
+ "\u25AE",
1011
+ "\u25AF"
1012
+ ]
1013
+ },
1014
+ toggle6: {
1015
+ interval: 300,
1016
+ frames: [
1017
+ "\u101D",
1018
+ "\u1040"
1019
+ ]
1020
+ },
1021
+ toggle7: {
1022
+ interval: 80,
1023
+ frames: [
1024
+ "\u29BE",
1025
+ "\u29BF"
1026
+ ]
1027
+ },
1028
+ toggle8: {
1029
+ interval: 100,
1030
+ frames: [
1031
+ "\u25CD",
1032
+ "\u25CC"
1033
+ ]
1034
+ },
1035
+ toggle9: {
1036
+ interval: 100,
1037
+ frames: [
1038
+ "\u25C9",
1039
+ "\u25CE"
1040
+ ]
1041
+ },
1042
+ toggle10: {
1043
+ interval: 100,
1044
+ frames: [
1045
+ "\u3282",
1046
+ "\u3280",
1047
+ "\u3281"
1048
+ ]
1049
+ },
1050
+ toggle11: {
1051
+ interval: 50,
1052
+ frames: [
1053
+ "\u29C7",
1054
+ "\u29C6"
1055
+ ]
1056
+ },
1057
+ toggle12: {
1058
+ interval: 120,
1059
+ frames: [
1060
+ "\u2617",
1061
+ "\u2616"
1062
+ ]
1063
+ },
1064
+ toggle13: {
1065
+ interval: 80,
1066
+ frames: [
1067
+ "=",
1068
+ "*",
1069
+ "-"
1070
+ ]
1071
+ },
1072
+ arrow: {
1073
+ interval: 100,
1074
+ frames: [
1075
+ "\u2190",
1076
+ "\u2196",
1077
+ "\u2191",
1078
+ "\u2197",
1079
+ "\u2192",
1080
+ "\u2198",
1081
+ "\u2193",
1082
+ "\u2199"
1083
+ ]
1084
+ },
1085
+ arrow2: {
1086
+ interval: 80,
1087
+ frames: [
1088
+ "\u2B06\uFE0F ",
1089
+ "\u2197\uFE0F ",
1090
+ "\u27A1\uFE0F ",
1091
+ "\u2198\uFE0F ",
1092
+ "\u2B07\uFE0F ",
1093
+ "\u2199\uFE0F ",
1094
+ "\u2B05\uFE0F ",
1095
+ "\u2196\uFE0F "
1096
+ ]
1097
+ },
1098
+ arrow3: {
1099
+ interval: 120,
1100
+ frames: [
1101
+ "\u25B9\u25B9\u25B9\u25B9\u25B9",
1102
+ "\u25B8\u25B9\u25B9\u25B9\u25B9",
1103
+ "\u25B9\u25B8\u25B9\u25B9\u25B9",
1104
+ "\u25B9\u25B9\u25B8\u25B9\u25B9",
1105
+ "\u25B9\u25B9\u25B9\u25B8\u25B9",
1106
+ "\u25B9\u25B9\u25B9\u25B9\u25B8"
1107
+ ]
1108
+ },
1109
+ bouncingBar: {
1110
+ interval: 80,
1111
+ frames: [
1112
+ "[ ]",
1113
+ "[= ]",
1114
+ "[== ]",
1115
+ "[=== ]",
1116
+ "[====]",
1117
+ "[ ===]",
1118
+ "[ ==]",
1119
+ "[ =]",
1120
+ "[ ]",
1121
+ "[ =]",
1122
+ "[ ==]",
1123
+ "[ ===]",
1124
+ "[====]",
1125
+ "[=== ]",
1126
+ "[== ]",
1127
+ "[= ]"
1128
+ ]
1129
+ },
1130
+ bouncingBall: {
1131
+ interval: 80,
1132
+ frames: [
1133
+ "( \u25CF )",
1134
+ "( \u25CF )",
1135
+ "( \u25CF )",
1136
+ "( \u25CF )",
1137
+ "( \u25CF)",
1138
+ "( \u25CF )",
1139
+ "( \u25CF )",
1140
+ "( \u25CF )",
1141
+ "( \u25CF )",
1142
+ "(\u25CF )"
1143
+ ]
1144
+ },
1145
+ smiley: {
1146
+ interval: 200,
1147
+ frames: [
1148
+ "\u{1F604} ",
1149
+ "\u{1F61D} "
1150
+ ]
1151
+ },
1152
+ monkey: {
1153
+ interval: 300,
1154
+ frames: [
1155
+ "\u{1F648} ",
1156
+ "\u{1F648} ",
1157
+ "\u{1F649} ",
1158
+ "\u{1F64A} "
1159
+ ]
1160
+ },
1161
+ hearts: {
1162
+ interval: 100,
1163
+ frames: [
1164
+ "\u{1F49B} ",
1165
+ "\u{1F499} ",
1166
+ "\u{1F49C} ",
1167
+ "\u{1F49A} ",
1168
+ "\u2764\uFE0F "
1169
+ ]
1170
+ },
1171
+ clock: {
1172
+ interval: 100,
1173
+ frames: [
1174
+ "\u{1F55B} ",
1175
+ "\u{1F550} ",
1176
+ "\u{1F551} ",
1177
+ "\u{1F552} ",
1178
+ "\u{1F553} ",
1179
+ "\u{1F554} ",
1180
+ "\u{1F555} ",
1181
+ "\u{1F556} ",
1182
+ "\u{1F557} ",
1183
+ "\u{1F558} ",
1184
+ "\u{1F559} ",
1185
+ "\u{1F55A} "
1186
+ ]
1187
+ },
1188
+ earth: {
1189
+ interval: 180,
1190
+ frames: [
1191
+ "\u{1F30D} ",
1192
+ "\u{1F30E} ",
1193
+ "\u{1F30F} "
1194
+ ]
1195
+ },
1196
+ material: {
1197
+ interval: 17,
1198
+ frames: [
1199
+ "\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1200
+ "\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1201
+ "\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1202
+ "\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1203
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1204
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1205
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1206
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1207
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1208
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1209
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1210
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1211
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1212
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1213
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1214
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1215
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1216
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1217
+ "\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581",
1218
+ "\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1219
+ "\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1220
+ "\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1221
+ "\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1222
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1223
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1224
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1225
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1226
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1227
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1228
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1229
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1230
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1231
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1232
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1233
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1234
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1235
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1236
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1237
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588",
1238
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
1239
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
1240
+ "\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1241
+ "\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1242
+ "\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1243
+ "\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1244
+ "\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1245
+ "\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1246
+ "\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1247
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1248
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1249
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1250
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1251
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1252
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1253
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1254
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1255
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1256
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1257
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1258
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1259
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1260
+ "\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581",
1261
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1262
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1263
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1264
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1265
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1266
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1267
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1268
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1269
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1270
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1271
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1272
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1273
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1274
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1275
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
1276
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1277
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1278
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1279
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1280
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1281
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1282
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1283
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1284
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1285
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1286
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1287
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1288
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1289
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1290
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"
1291
+ ]
1292
+ },
1293
+ moon: {
1294
+ interval: 80,
1295
+ frames: [
1296
+ "\u{1F311} ",
1297
+ "\u{1F312} ",
1298
+ "\u{1F313} ",
1299
+ "\u{1F314} ",
1300
+ "\u{1F315} ",
1301
+ "\u{1F316} ",
1302
+ "\u{1F317} ",
1303
+ "\u{1F318} "
1304
+ ]
1305
+ },
1306
+ runner: {
1307
+ interval: 140,
1308
+ frames: [
1309
+ "\u{1F6B6} ",
1310
+ "\u{1F3C3} "
1311
+ ]
1312
+ },
1313
+ pong: {
1314
+ interval: 80,
1315
+ frames: [
1316
+ "\u2590\u2802 \u258C",
1317
+ "\u2590\u2808 \u258C",
1318
+ "\u2590 \u2802 \u258C",
1319
+ "\u2590 \u2820 \u258C",
1320
+ "\u2590 \u2840 \u258C",
1321
+ "\u2590 \u2820 \u258C",
1322
+ "\u2590 \u2802 \u258C",
1323
+ "\u2590 \u2808 \u258C",
1324
+ "\u2590 \u2802 \u258C",
1325
+ "\u2590 \u2820 \u258C",
1326
+ "\u2590 \u2840 \u258C",
1327
+ "\u2590 \u2820 \u258C",
1328
+ "\u2590 \u2802 \u258C",
1329
+ "\u2590 \u2808 \u258C",
1330
+ "\u2590 \u2802\u258C",
1331
+ "\u2590 \u2820\u258C",
1332
+ "\u2590 \u2840\u258C",
1333
+ "\u2590 \u2820 \u258C",
1334
+ "\u2590 \u2802 \u258C",
1335
+ "\u2590 \u2808 \u258C",
1336
+ "\u2590 \u2802 \u258C",
1337
+ "\u2590 \u2820 \u258C",
1338
+ "\u2590 \u2840 \u258C",
1339
+ "\u2590 \u2820 \u258C",
1340
+ "\u2590 \u2802 \u258C",
1341
+ "\u2590 \u2808 \u258C",
1342
+ "\u2590 \u2802 \u258C",
1343
+ "\u2590 \u2820 \u258C",
1344
+ "\u2590 \u2840 \u258C",
1345
+ "\u2590\u2820 \u258C"
1346
+ ]
1347
+ },
1348
+ shark: {
1349
+ interval: 120,
1350
+ frames: [
1351
+ "\u2590|\\____________\u258C",
1352
+ "\u2590_|\\___________\u258C",
1353
+ "\u2590__|\\__________\u258C",
1354
+ "\u2590___|\\_________\u258C",
1355
+ "\u2590____|\\________\u258C",
1356
+ "\u2590_____|\\_______\u258C",
1357
+ "\u2590______|\\______\u258C",
1358
+ "\u2590_______|\\_____\u258C",
1359
+ "\u2590________|\\____\u258C",
1360
+ "\u2590_________|\\___\u258C",
1361
+ "\u2590__________|\\__\u258C",
1362
+ "\u2590___________|\\_\u258C",
1363
+ "\u2590____________|\\\u258C",
1364
+ "\u2590____________/|\u258C",
1365
+ "\u2590___________/|_\u258C",
1366
+ "\u2590__________/|__\u258C",
1367
+ "\u2590_________/|___\u258C",
1368
+ "\u2590________/|____\u258C",
1369
+ "\u2590_______/|_____\u258C",
1370
+ "\u2590______/|______\u258C",
1371
+ "\u2590_____/|_______\u258C",
1372
+ "\u2590____/|________\u258C",
1373
+ "\u2590___/|_________\u258C",
1374
+ "\u2590__/|__________\u258C",
1375
+ "\u2590_/|___________\u258C",
1376
+ "\u2590/|____________\u258C"
1377
+ ]
1378
+ },
1379
+ dqpb: {
1380
+ interval: 100,
1381
+ frames: [
1382
+ "d",
1383
+ "q",
1384
+ "p",
1385
+ "b"
1386
+ ]
1387
+ },
1388
+ weather: {
1389
+ interval: 100,
1390
+ frames: [
1391
+ "\u2600\uFE0F ",
1392
+ "\u2600\uFE0F ",
1393
+ "\u2600\uFE0F ",
1394
+ "\u{1F324} ",
1395
+ "\u26C5\uFE0F ",
1396
+ "\u{1F325} ",
1397
+ "\u2601\uFE0F ",
1398
+ "\u{1F327} ",
1399
+ "\u{1F328} ",
1400
+ "\u{1F327} ",
1401
+ "\u{1F328} ",
1402
+ "\u{1F327} ",
1403
+ "\u{1F328} ",
1404
+ "\u26C8 ",
1405
+ "\u{1F328} ",
1406
+ "\u{1F327} ",
1407
+ "\u{1F328} ",
1408
+ "\u2601\uFE0F ",
1409
+ "\u{1F325} ",
1410
+ "\u26C5\uFE0F ",
1411
+ "\u{1F324} ",
1412
+ "\u2600\uFE0F ",
1413
+ "\u2600\uFE0F "
1414
+ ]
1415
+ },
1416
+ christmas: {
1417
+ interval: 400,
1418
+ frames: [
1419
+ "\u{1F332}",
1420
+ "\u{1F384}"
1421
+ ]
1422
+ },
1423
+ grenade: {
1424
+ interval: 80,
1425
+ frames: [
1426
+ "\u060C ",
1427
+ "\u2032 ",
1428
+ " \xB4 ",
1429
+ " \u203E ",
1430
+ " \u2E0C",
1431
+ " \u2E0A",
1432
+ " |",
1433
+ " \u204E",
1434
+ " \u2055",
1435
+ " \u0DF4 ",
1436
+ " \u2053",
1437
+ " ",
1438
+ " ",
1439
+ " "
1440
+ ]
1441
+ },
1442
+ point: {
1443
+ interval: 125,
1444
+ frames: [
1445
+ "\u2219\u2219\u2219",
1446
+ "\u25CF\u2219\u2219",
1447
+ "\u2219\u25CF\u2219",
1448
+ "\u2219\u2219\u25CF",
1449
+ "\u2219\u2219\u2219"
1450
+ ]
1451
+ },
1452
+ layer: {
1453
+ interval: 150,
1454
+ frames: [
1455
+ "-",
1456
+ "=",
1457
+ "\u2261"
1458
+ ]
1459
+ },
1460
+ betaWave: {
1461
+ interval: 80,
1462
+ frames: [
1463
+ "\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2",
1464
+ "\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2",
1465
+ "\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2",
1466
+ "\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2",
1467
+ "\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2",
1468
+ "\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2",
1469
+ "\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"
1470
+ ]
1471
+ },
1472
+ fingerDance: {
1473
+ interval: 160,
1474
+ frames: [
1475
+ "\u{1F918} ",
1476
+ "\u{1F91F} ",
1477
+ "\u{1F596} ",
1478
+ "\u270B ",
1479
+ "\u{1F91A} ",
1480
+ "\u{1F446} "
1481
+ ]
1482
+ },
1483
+ fistBump: {
1484
+ interval: 80,
1485
+ frames: [
1486
+ "\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
1487
+ "\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
1488
+ "\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
1489
+ "\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ",
1490
+ "\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ",
1491
+ "\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ",
1492
+ "\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "
1493
+ ]
1494
+ },
1495
+ soccerHeader: {
1496
+ interval: 80,
1497
+ frames: [
1498
+ " \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ",
1499
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1500
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1501
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1502
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1503
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1504
+ "\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ",
1505
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1506
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1507
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1508
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1509
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "
1510
+ ]
1511
+ },
1512
+ mindblown: {
1513
+ interval: 160,
1514
+ frames: [
1515
+ "\u{1F610} ",
1516
+ "\u{1F610} ",
1517
+ "\u{1F62E} ",
1518
+ "\u{1F62E} ",
1519
+ "\u{1F626} ",
1520
+ "\u{1F626} ",
1521
+ "\u{1F627} ",
1522
+ "\u{1F627} ",
1523
+ "\u{1F92F} ",
1524
+ "\u{1F4A5} ",
1525
+ "\u2728 ",
1526
+ "\u3000 ",
1527
+ "\u3000 ",
1528
+ "\u3000 "
1529
+ ]
1530
+ },
1531
+ speaker: {
1532
+ interval: 160,
1533
+ frames: [
1534
+ "\u{1F508} ",
1535
+ "\u{1F509} ",
1536
+ "\u{1F50A} ",
1537
+ "\u{1F509} "
1538
+ ]
1539
+ },
1540
+ orangePulse: {
1541
+ interval: 100,
1542
+ frames: [
1543
+ "\u{1F538} ",
1544
+ "\u{1F536} ",
1545
+ "\u{1F7E0} ",
1546
+ "\u{1F7E0} ",
1547
+ "\u{1F536} "
1548
+ ]
1549
+ },
1550
+ bluePulse: {
1551
+ interval: 100,
1552
+ frames: [
1553
+ "\u{1F539} ",
1554
+ "\u{1F537} ",
1555
+ "\u{1F535} ",
1556
+ "\u{1F535} ",
1557
+ "\u{1F537} "
1558
+ ]
1559
+ },
1560
+ orangeBluePulse: {
1561
+ interval: 100,
1562
+ frames: [
1563
+ "\u{1F538} ",
1564
+ "\u{1F536} ",
1565
+ "\u{1F7E0} ",
1566
+ "\u{1F7E0} ",
1567
+ "\u{1F536} ",
1568
+ "\u{1F539} ",
1569
+ "\u{1F537} ",
1570
+ "\u{1F535} ",
1571
+ "\u{1F535} ",
1572
+ "\u{1F537} "
1573
+ ]
1574
+ },
1575
+ timeTravel: {
1576
+ interval: 100,
1577
+ frames: [
1578
+ "\u{1F55B} ",
1579
+ "\u{1F55A} ",
1580
+ "\u{1F559} ",
1581
+ "\u{1F558} ",
1582
+ "\u{1F557} ",
1583
+ "\u{1F556} ",
1584
+ "\u{1F555} ",
1585
+ "\u{1F554} ",
1586
+ "\u{1F553} ",
1587
+ "\u{1F552} ",
1588
+ "\u{1F551} ",
1589
+ "\u{1F550} "
1590
+ ]
1591
+ },
1592
+ aesthetic: {
1593
+ interval: 80,
1594
+ frames: [
1595
+ "\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1",
1596
+ "\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1",
1597
+ "\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1",
1598
+ "\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1",
1599
+ "\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1",
1600
+ "\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1",
1601
+ "\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0",
1602
+ "\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"
1603
+ ]
1604
+ },
1605
+ dwarfFortress: {
1606
+ interval: 80,
1607
+ frames: [
1608
+ " \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1609
+ "\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1610
+ "\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1611
+ "\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1612
+ "\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1613
+ "\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1614
+ "\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1615
+ "\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1616
+ "\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1617
+ "\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1618
+ " \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1619
+ " \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1620
+ " \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1621
+ " \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1622
+ " \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1623
+ " \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1624
+ " \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1625
+ " \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1626
+ " \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1627
+ " \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1628
+ " \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1629
+ " \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
1630
+ " \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
1631
+ " \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
1632
+ " \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
1633
+ " \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
1634
+ " \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
1635
+ " \u263A \u2588\u2588\u2588\xA3\xA3\xA3 ",
1636
+ " \u263A\u2588\u2588\u2588\xA3\xA3\xA3 ",
1637
+ " \u263A\u2588\u2588\u2588\xA3\xA3\xA3 ",
1638
+ " \u263A\u2593\u2588\u2588\xA3\xA3\xA3 ",
1639
+ " \u263A\u2593\u2588\u2588\xA3\xA3\xA3 ",
1640
+ " \u263A\u2592\u2588\u2588\xA3\xA3\xA3 ",
1641
+ " \u263A\u2592\u2588\u2588\xA3\xA3\xA3 ",
1642
+ " \u263A\u2591\u2588\u2588\xA3\xA3\xA3 ",
1643
+ " \u263A\u2591\u2588\u2588\xA3\xA3\xA3 ",
1644
+ " \u263A \u2588\u2588\xA3\xA3\xA3 ",
1645
+ " \u263A\u2588\u2588\xA3\xA3\xA3 ",
1646
+ " \u263A\u2588\u2588\xA3\xA3\xA3 ",
1647
+ " \u263A\u2593\u2588\xA3\xA3\xA3 ",
1648
+ " \u263A\u2593\u2588\xA3\xA3\xA3 ",
1649
+ " \u263A\u2592\u2588\xA3\xA3\xA3 ",
1650
+ " \u263A\u2592\u2588\xA3\xA3\xA3 ",
1651
+ " \u263A\u2591\u2588\xA3\xA3\xA3 ",
1652
+ " \u263A\u2591\u2588\xA3\xA3\xA3 ",
1653
+ " \u263A \u2588\xA3\xA3\xA3 ",
1654
+ " \u263A\u2588\xA3\xA3\xA3 ",
1655
+ " \u263A\u2588\xA3\xA3\xA3 ",
1656
+ " \u263A\u2593\xA3\xA3\xA3 ",
1657
+ " \u263A\u2593\xA3\xA3\xA3 ",
1658
+ " \u263A\u2592\xA3\xA3\xA3 ",
1659
+ " \u263A\u2592\xA3\xA3\xA3 ",
1660
+ " \u263A\u2591\xA3\xA3\xA3 ",
1661
+ " \u263A\u2591\xA3\xA3\xA3 ",
1662
+ " \u263A \xA3\xA3\xA3 ",
1663
+ " \u263A\xA3\xA3\xA3 ",
1664
+ " \u263A\xA3\xA3\xA3 ",
1665
+ " \u263A\u2593\xA3\xA3 ",
1666
+ " \u263A\u2593\xA3\xA3 ",
1667
+ " \u263A\u2592\xA3\xA3 ",
1668
+ " \u263A\u2592\xA3\xA3 ",
1669
+ " \u263A\u2591\xA3\xA3 ",
1670
+ " \u263A\u2591\xA3\xA3 ",
1671
+ " \u263A \xA3\xA3 ",
1672
+ " \u263A\xA3\xA3 ",
1673
+ " \u263A\xA3\xA3 ",
1674
+ " \u263A\u2593\xA3 ",
1675
+ " \u263A\u2593\xA3 ",
1676
+ " \u263A\u2592\xA3 ",
1677
+ " \u263A\u2592\xA3 ",
1678
+ " \u263A\u2591\xA3 ",
1679
+ " \u263A\u2591\xA3 ",
1680
+ " \u263A \xA3 ",
1681
+ " \u263A\xA3 ",
1682
+ " \u263A\xA3 ",
1683
+ " \u263A\u2593 ",
1684
+ " \u263A\u2593 ",
1685
+ " \u263A\u2592 ",
1686
+ " \u263A\u2592 ",
1687
+ " \u263A\u2591 ",
1688
+ " \u263A\u2591 ",
1689
+ " \u263A ",
1690
+ " \u263A &",
1691
+ " \u263A \u263C&",
1692
+ " \u263A \u263C &",
1693
+ " \u263A\u263C &",
1694
+ " \u263A\u263C & ",
1695
+ " \u203C & ",
1696
+ " \u263A & ",
1697
+ " \u203C & ",
1698
+ " \u263A & ",
1699
+ " \u203C & ",
1700
+ " \u263A & ",
1701
+ "\u203C & ",
1702
+ " & ",
1703
+ " & ",
1704
+ " & \u2591 ",
1705
+ " & \u2592 ",
1706
+ " & \u2593 ",
1707
+ " & \xA3 ",
1708
+ " & \u2591\xA3 ",
1709
+ " & \u2592\xA3 ",
1710
+ " & \u2593\xA3 ",
1711
+ " & \xA3\xA3 ",
1712
+ " & \u2591\xA3\xA3 ",
1713
+ " & \u2592\xA3\xA3 ",
1714
+ "& \u2593\xA3\xA3 ",
1715
+ "& \xA3\xA3\xA3 ",
1716
+ " \u2591\xA3\xA3\xA3 ",
1717
+ " \u2592\xA3\xA3\xA3 ",
1718
+ " \u2593\xA3\xA3\xA3 ",
1719
+ " \u2588\xA3\xA3\xA3 ",
1720
+ " \u2591\u2588\xA3\xA3\xA3 ",
1721
+ " \u2592\u2588\xA3\xA3\xA3 ",
1722
+ " \u2593\u2588\xA3\xA3\xA3 ",
1723
+ " \u2588\u2588\xA3\xA3\xA3 ",
1724
+ " \u2591\u2588\u2588\xA3\xA3\xA3 ",
1725
+ " \u2592\u2588\u2588\xA3\xA3\xA3 ",
1726
+ " \u2593\u2588\u2588\xA3\xA3\xA3 ",
1727
+ " \u2588\u2588\u2588\xA3\xA3\xA3 ",
1728
+ " \u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
1729
+ " \u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
1730
+ " \u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
1731
+ " \u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1732
+ " \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1733
+ " \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1734
+ " \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1735
+ " \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1736
+ " \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1737
+ " \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1738
+ " \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1739
+ " \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1740
+ " \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "
1741
+ ]
1742
+ }
1743
+ };
1744
+ }
1745
+ });
1746
+
1747
+ // ../../node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/index.js
1748
+ var require_cli_spinners = __commonJS({
1749
+ "../../node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/index.js"(exports2, module2) {
1750
+ "use strict";
1751
+ init_cjs_shims();
1752
+ var spinners2 = Object.assign({}, require_spinners());
1753
+ var spinnersList = Object.keys(spinners2);
1754
+ Object.defineProperty(spinners2, "random", {
1755
+ get() {
1756
+ const randomIndex = Math.floor(Math.random() * spinnersList.length);
1757
+ const spinnerName = spinnersList[randomIndex];
1758
+ return spinners2[spinnerName];
1759
+ }
1760
+ });
1761
+ module2.exports = spinners2;
1762
+ }
1763
+ });
1764
+
1765
+ // ../../node_modules/.pnpm/cli-width@4.1.0/node_modules/cli-width/index.js
1766
+ var require_cli_width = __commonJS({
1767
+ "../../node_modules/.pnpm/cli-width@4.1.0/node_modules/cli-width/index.js"(exports2, module2) {
1768
+ "use strict";
1769
+ init_cjs_shims();
1770
+ module2.exports = cliWidth2;
1771
+ function normalizeOpts(options) {
1772
+ const defaultOpts = {
1773
+ defaultWidth: 0,
1774
+ output: process.stdout,
1775
+ tty: require("tty")
1776
+ };
1777
+ if (!options) {
1778
+ return defaultOpts;
1779
+ }
1780
+ Object.keys(defaultOpts).forEach(function(key) {
1781
+ if (!options[key]) {
1782
+ options[key] = defaultOpts[key];
1783
+ }
1784
+ });
1785
+ return options;
1786
+ }
1787
+ function cliWidth2(options) {
1788
+ const opts = normalizeOpts(options);
1789
+ if (opts.output.getWindowSize) {
1790
+ return opts.output.getWindowSize()[0] || opts.defaultWidth;
1791
+ }
1792
+ if (opts.tty.getWindowSize) {
1793
+ return opts.tty.getWindowSize()[1] || opts.defaultWidth;
1794
+ }
1795
+ if (opts.output.columns) {
1796
+ return opts.output.columns;
1797
+ }
1798
+ if (process.env.CLI_WIDTH) {
1799
+ const width = parseInt(process.env.CLI_WIDTH, 10);
1800
+ if (!isNaN(width) && width !== 0) {
1801
+ return width;
1802
+ }
1803
+ }
1804
+ return opts.defaultWidth;
1805
+ }
1806
+ }
1807
+ });
1808
+
1809
+ // ../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js
1810
+ var require_ansi_regex = __commonJS({
1811
+ "../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports2, module2) {
1812
+ "use strict";
1813
+ init_cjs_shims();
1814
+ module2.exports = ({ onlyFirst = false } = {}) => {
1815
+ const pattern = [
1816
+ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
1817
+ "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
1818
+ ].join("|");
1819
+ return new RegExp(pattern, onlyFirst ? void 0 : "g");
1820
+ };
1821
+ }
1822
+ });
1823
+
1824
+ // ../../node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js
1825
+ var require_strip_ansi = __commonJS({
1826
+ "../../node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js"(exports2, module2) {
1827
+ "use strict";
1828
+ init_cjs_shims();
1829
+ var ansiRegex = require_ansi_regex();
1830
+ module2.exports = (string) => typeof string === "string" ? string.replace(ansiRegex(), "") : string;
1831
+ }
1832
+ });
1833
+
1834
+ // ../../node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js
1835
+ var require_is_fullwidth_code_point = __commonJS({
1836
+ "../../node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js"(exports2, module2) {
1837
+ "use strict";
1838
+ init_cjs_shims();
1839
+ var isFullwidthCodePoint = (codePoint) => {
1840
+ if (Number.isNaN(codePoint)) {
1841
+ return false;
1842
+ }
1843
+ if (codePoint >= 4352 && (codePoint <= 4447 || // Hangul Jamo
1844
+ codePoint === 9001 || // LEFT-POINTING ANGLE BRACKET
1845
+ codePoint === 9002 || // RIGHT-POINTING ANGLE BRACKET
1846
+ // CJK Radicals Supplement .. Enclosed CJK Letters and Months
1847
+ 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
1848
+ 12880 <= codePoint && codePoint <= 19903 || // CJK Unified Ideographs .. Yi Radicals
1849
+ 19968 <= codePoint && codePoint <= 42182 || // Hangul Jamo Extended-A
1850
+ 43360 <= codePoint && codePoint <= 43388 || // Hangul Syllables
1851
+ 44032 <= codePoint && codePoint <= 55203 || // CJK Compatibility Ideographs
1852
+ 63744 <= codePoint && codePoint <= 64255 || // Vertical Forms
1853
+ 65040 <= codePoint && codePoint <= 65049 || // CJK Compatibility Forms .. Small Form Variants
1854
+ 65072 <= codePoint && codePoint <= 65131 || // Halfwidth and Fullwidth Forms
1855
+ 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || // Kana Supplement
1856
+ 110592 <= codePoint && codePoint <= 110593 || // Enclosed Ideographic Supplement
1857
+ 127488 <= codePoint && codePoint <= 127569 || // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
1858
+ 131072 <= codePoint && codePoint <= 262141)) {
1859
+ return true;
1860
+ }
1861
+ return false;
1862
+ };
1863
+ module2.exports = isFullwidthCodePoint;
1864
+ module2.exports.default = isFullwidthCodePoint;
1865
+ }
1866
+ });
1867
+
1868
+ // ../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js
1869
+ var require_emoji_regex = __commonJS({
1870
+ "../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js"(exports2, module2) {
1871
+ "use strict";
1872
+ init_cjs_shims();
1873
+ module2.exports = function() {
1874
+ return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\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\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])|\uD83C[\uDF3E\uDF73\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])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\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])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\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\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\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\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\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\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*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\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\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\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[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
1875
+ };
1876
+ }
1877
+ });
1878
+
1879
+ // ../../node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js
1880
+ var require_string_width = __commonJS({
1881
+ "../../node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js"(exports2, module2) {
1882
+ "use strict";
1883
+ init_cjs_shims();
1884
+ var stripAnsi2 = require_strip_ansi();
1885
+ var isFullwidthCodePoint = require_is_fullwidth_code_point();
1886
+ var emojiRegex = require_emoji_regex();
1887
+ var stringWidth = (string) => {
1888
+ if (typeof string !== "string" || string.length === 0) {
1889
+ return 0;
1890
+ }
1891
+ string = stripAnsi2(string);
1892
+ if (string.length === 0) {
1893
+ return 0;
1894
+ }
1895
+ string = string.replace(emojiRegex(), " ");
1896
+ let width = 0;
1897
+ for (let i = 0; i < string.length; i++) {
1898
+ const code = string.codePointAt(i);
1899
+ if (code <= 31 || code >= 127 && code <= 159) {
1900
+ continue;
1901
+ }
1902
+ if (code >= 768 && code <= 879) {
1903
+ continue;
1904
+ }
1905
+ if (code > 65535) {
1906
+ i++;
1907
+ }
1908
+ width += isFullwidthCodePoint(code) ? 2 : 1;
1909
+ }
1910
+ return width;
1911
+ };
1912
+ module2.exports = stringWidth;
1913
+ module2.exports.default = stringWidth;
1914
+ }
1915
+ });
1916
+
1917
+ // ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
1918
+ var require_color_name = __commonJS({
1919
+ "../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js"(exports2, module2) {
1920
+ "use strict";
1921
+ init_cjs_shims();
1922
+ module2.exports = {
1923
+ "aliceblue": [240, 248, 255],
1924
+ "antiquewhite": [250, 235, 215],
1925
+ "aqua": [0, 255, 255],
1926
+ "aquamarine": [127, 255, 212],
1927
+ "azure": [240, 255, 255],
1928
+ "beige": [245, 245, 220],
1929
+ "bisque": [255, 228, 196],
1930
+ "black": [0, 0, 0],
1931
+ "blanchedalmond": [255, 235, 205],
1932
+ "blue": [0, 0, 255],
1933
+ "blueviolet": [138, 43, 226],
1934
+ "brown": [165, 42, 42],
1935
+ "burlywood": [222, 184, 135],
1936
+ "cadetblue": [95, 158, 160],
1937
+ "chartreuse": [127, 255, 0],
1938
+ "chocolate": [210, 105, 30],
1939
+ "coral": [255, 127, 80],
1940
+ "cornflowerblue": [100, 149, 237],
1941
+ "cornsilk": [255, 248, 220],
1942
+ "crimson": [220, 20, 60],
1943
+ "cyan": [0, 255, 255],
1944
+ "darkblue": [0, 0, 139],
1945
+ "darkcyan": [0, 139, 139],
1946
+ "darkgoldenrod": [184, 134, 11],
1947
+ "darkgray": [169, 169, 169],
1948
+ "darkgreen": [0, 100, 0],
1949
+ "darkgrey": [169, 169, 169],
1950
+ "darkkhaki": [189, 183, 107],
1951
+ "darkmagenta": [139, 0, 139],
1952
+ "darkolivegreen": [85, 107, 47],
1953
+ "darkorange": [255, 140, 0],
1954
+ "darkorchid": [153, 50, 204],
1955
+ "darkred": [139, 0, 0],
1956
+ "darksalmon": [233, 150, 122],
1957
+ "darkseagreen": [143, 188, 143],
1958
+ "darkslateblue": [72, 61, 139],
1959
+ "darkslategray": [47, 79, 79],
1960
+ "darkslategrey": [47, 79, 79],
1961
+ "darkturquoise": [0, 206, 209],
1962
+ "darkviolet": [148, 0, 211],
1963
+ "deeppink": [255, 20, 147],
1964
+ "deepskyblue": [0, 191, 255],
1965
+ "dimgray": [105, 105, 105],
1966
+ "dimgrey": [105, 105, 105],
1967
+ "dodgerblue": [30, 144, 255],
1968
+ "firebrick": [178, 34, 34],
1969
+ "floralwhite": [255, 250, 240],
1970
+ "forestgreen": [34, 139, 34],
1971
+ "fuchsia": [255, 0, 255],
1972
+ "gainsboro": [220, 220, 220],
1973
+ "ghostwhite": [248, 248, 255],
1974
+ "gold": [255, 215, 0],
1975
+ "goldenrod": [218, 165, 32],
1976
+ "gray": [128, 128, 128],
1977
+ "green": [0, 128, 0],
1978
+ "greenyellow": [173, 255, 47],
1979
+ "grey": [128, 128, 128],
1980
+ "honeydew": [240, 255, 240],
1981
+ "hotpink": [255, 105, 180],
1982
+ "indianred": [205, 92, 92],
1983
+ "indigo": [75, 0, 130],
1984
+ "ivory": [255, 255, 240],
1985
+ "khaki": [240, 230, 140],
1986
+ "lavender": [230, 230, 250],
1987
+ "lavenderblush": [255, 240, 245],
1988
+ "lawngreen": [124, 252, 0],
1989
+ "lemonchiffon": [255, 250, 205],
1990
+ "lightblue": [173, 216, 230],
1991
+ "lightcoral": [240, 128, 128],
1992
+ "lightcyan": [224, 255, 255],
1993
+ "lightgoldenrodyellow": [250, 250, 210],
1994
+ "lightgray": [211, 211, 211],
1995
+ "lightgreen": [144, 238, 144],
1996
+ "lightgrey": [211, 211, 211],
1997
+ "lightpink": [255, 182, 193],
1998
+ "lightsalmon": [255, 160, 122],
1999
+ "lightseagreen": [32, 178, 170],
2000
+ "lightskyblue": [135, 206, 250],
2001
+ "lightslategray": [119, 136, 153],
2002
+ "lightslategrey": [119, 136, 153],
2003
+ "lightsteelblue": [176, 196, 222],
2004
+ "lightyellow": [255, 255, 224],
2005
+ "lime": [0, 255, 0],
2006
+ "limegreen": [50, 205, 50],
2007
+ "linen": [250, 240, 230],
2008
+ "magenta": [255, 0, 255],
2009
+ "maroon": [128, 0, 0],
2010
+ "mediumaquamarine": [102, 205, 170],
2011
+ "mediumblue": [0, 0, 205],
2012
+ "mediumorchid": [186, 85, 211],
2013
+ "mediumpurple": [147, 112, 219],
2014
+ "mediumseagreen": [60, 179, 113],
2015
+ "mediumslateblue": [123, 104, 238],
2016
+ "mediumspringgreen": [0, 250, 154],
2017
+ "mediumturquoise": [72, 209, 204],
2018
+ "mediumvioletred": [199, 21, 133],
2019
+ "midnightblue": [25, 25, 112],
2020
+ "mintcream": [245, 255, 250],
2021
+ "mistyrose": [255, 228, 225],
2022
+ "moccasin": [255, 228, 181],
2023
+ "navajowhite": [255, 222, 173],
2024
+ "navy": [0, 0, 128],
2025
+ "oldlace": [253, 245, 230],
2026
+ "olive": [128, 128, 0],
2027
+ "olivedrab": [107, 142, 35],
2028
+ "orange": [255, 165, 0],
2029
+ "orangered": [255, 69, 0],
2030
+ "orchid": [218, 112, 214],
2031
+ "palegoldenrod": [238, 232, 170],
2032
+ "palegreen": [152, 251, 152],
2033
+ "paleturquoise": [175, 238, 238],
2034
+ "palevioletred": [219, 112, 147],
2035
+ "papayawhip": [255, 239, 213],
2036
+ "peachpuff": [255, 218, 185],
2037
+ "peru": [205, 133, 63],
2038
+ "pink": [255, 192, 203],
2039
+ "plum": [221, 160, 221],
2040
+ "powderblue": [176, 224, 230],
2041
+ "purple": [128, 0, 128],
2042
+ "rebeccapurple": [102, 51, 153],
2043
+ "red": [255, 0, 0],
2044
+ "rosybrown": [188, 143, 143],
2045
+ "royalblue": [65, 105, 225],
2046
+ "saddlebrown": [139, 69, 19],
2047
+ "salmon": [250, 128, 114],
2048
+ "sandybrown": [244, 164, 96],
2049
+ "seagreen": [46, 139, 87],
2050
+ "seashell": [255, 245, 238],
2051
+ "sienna": [160, 82, 45],
2052
+ "silver": [192, 192, 192],
2053
+ "skyblue": [135, 206, 235],
2054
+ "slateblue": [106, 90, 205],
2055
+ "slategray": [112, 128, 144],
2056
+ "slategrey": [112, 128, 144],
2057
+ "snow": [255, 250, 250],
2058
+ "springgreen": [0, 255, 127],
2059
+ "steelblue": [70, 130, 180],
2060
+ "tan": [210, 180, 140],
2061
+ "teal": [0, 128, 128],
2062
+ "thistle": [216, 191, 216],
2063
+ "tomato": [255, 99, 71],
2064
+ "turquoise": [64, 224, 208],
2065
+ "violet": [238, 130, 238],
2066
+ "wheat": [245, 222, 179],
2067
+ "white": [255, 255, 255],
2068
+ "whitesmoke": [245, 245, 245],
2069
+ "yellow": [255, 255, 0],
2070
+ "yellowgreen": [154, 205, 50]
2071
+ };
2072
+ }
2073
+ });
2074
+
2075
+ // ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js
2076
+ var require_conversions = __commonJS({
2077
+ "../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js"(exports2, module2) {
2078
+ "use strict";
2079
+ init_cjs_shims();
2080
+ var cssKeywords = require_color_name();
2081
+ var reverseKeywords = {};
2082
+ for (const key of Object.keys(cssKeywords)) {
2083
+ reverseKeywords[cssKeywords[key]] = key;
2084
+ }
2085
+ var convert = {
2086
+ rgb: { channels: 3, labels: "rgb" },
2087
+ hsl: { channels: 3, labels: "hsl" },
2088
+ hsv: { channels: 3, labels: "hsv" },
2089
+ hwb: { channels: 3, labels: "hwb" },
2090
+ cmyk: { channels: 4, labels: "cmyk" },
2091
+ xyz: { channels: 3, labels: "xyz" },
2092
+ lab: { channels: 3, labels: "lab" },
2093
+ lch: { channels: 3, labels: "lch" },
2094
+ hex: { channels: 1, labels: ["hex"] },
2095
+ keyword: { channels: 1, labels: ["keyword"] },
2096
+ ansi16: { channels: 1, labels: ["ansi16"] },
2097
+ ansi256: { channels: 1, labels: ["ansi256"] },
2098
+ hcg: { channels: 3, labels: ["h", "c", "g"] },
2099
+ apple: { channels: 3, labels: ["r16", "g16", "b16"] },
2100
+ gray: { channels: 1, labels: ["gray"] }
2101
+ };
2102
+ module2.exports = convert;
2103
+ for (const model of Object.keys(convert)) {
2104
+ if (!("channels" in convert[model])) {
2105
+ throw new Error("missing channels property: " + model);
2106
+ }
2107
+ if (!("labels" in convert[model])) {
2108
+ throw new Error("missing channel labels property: " + model);
2109
+ }
2110
+ if (convert[model].labels.length !== convert[model].channels) {
2111
+ throw new Error("channel and label counts mismatch: " + model);
2112
+ }
2113
+ const { channels, labels } = convert[model];
2114
+ delete convert[model].channels;
2115
+ delete convert[model].labels;
2116
+ Object.defineProperty(convert[model], "channels", { value: channels });
2117
+ Object.defineProperty(convert[model], "labels", { value: labels });
2118
+ }
2119
+ convert.rgb.hsl = function(rgb) {
2120
+ const r = rgb[0] / 255;
2121
+ const g = rgb[1] / 255;
2122
+ const b = rgb[2] / 255;
2123
+ const min = Math.min(r, g, b);
2124
+ const max = Math.max(r, g, b);
2125
+ const delta = max - min;
2126
+ let h;
2127
+ let s;
2128
+ if (max === min) {
2129
+ h = 0;
2130
+ } else if (r === max) {
2131
+ h = (g - b) / delta;
2132
+ } else if (g === max) {
2133
+ h = 2 + (b - r) / delta;
2134
+ } else if (b === max) {
2135
+ h = 4 + (r - g) / delta;
2136
+ }
2137
+ h = Math.min(h * 60, 360);
2138
+ if (h < 0) {
2139
+ h += 360;
2140
+ }
2141
+ const l = (min + max) / 2;
2142
+ if (max === min) {
2143
+ s = 0;
2144
+ } else if (l <= 0.5) {
2145
+ s = delta / (max + min);
2146
+ } else {
2147
+ s = delta / (2 - max - min);
2148
+ }
2149
+ return [h, s * 100, l * 100];
2150
+ };
2151
+ convert.rgb.hsv = function(rgb) {
2152
+ let rdif;
2153
+ let gdif;
2154
+ let bdif;
2155
+ let h;
2156
+ let s;
2157
+ const r = rgb[0] / 255;
2158
+ const g = rgb[1] / 255;
2159
+ const b = rgb[2] / 255;
2160
+ const v = Math.max(r, g, b);
2161
+ const diff = v - Math.min(r, g, b);
2162
+ const diffc = function(c) {
2163
+ return (v - c) / 6 / diff + 1 / 2;
2164
+ };
2165
+ if (diff === 0) {
2166
+ h = 0;
2167
+ s = 0;
2168
+ } else {
2169
+ s = diff / v;
2170
+ rdif = diffc(r);
2171
+ gdif = diffc(g);
2172
+ bdif = diffc(b);
2173
+ if (r === v) {
2174
+ h = bdif - gdif;
2175
+ } else if (g === v) {
2176
+ h = 1 / 3 + rdif - bdif;
2177
+ } else if (b === v) {
2178
+ h = 2 / 3 + gdif - rdif;
2179
+ }
2180
+ if (h < 0) {
2181
+ h += 1;
2182
+ } else if (h > 1) {
2183
+ h -= 1;
2184
+ }
2185
+ }
2186
+ return [
2187
+ h * 360,
2188
+ s * 100,
2189
+ v * 100
2190
+ ];
2191
+ };
2192
+ convert.rgb.hwb = function(rgb) {
2193
+ const r = rgb[0];
2194
+ const g = rgb[1];
2195
+ let b = rgb[2];
2196
+ const h = convert.rgb.hsl(rgb)[0];
2197
+ const w = 1 / 255 * Math.min(r, Math.min(g, b));
2198
+ b = 1 - 1 / 255 * Math.max(r, Math.max(g, b));
2199
+ return [h, w * 100, b * 100];
2200
+ };
2201
+ convert.rgb.cmyk = function(rgb) {
2202
+ const r = rgb[0] / 255;
2203
+ const g = rgb[1] / 255;
2204
+ const b = rgb[2] / 255;
2205
+ const k = Math.min(1 - r, 1 - g, 1 - b);
2206
+ const c = (1 - r - k) / (1 - k) || 0;
2207
+ const m = (1 - g - k) / (1 - k) || 0;
2208
+ const y = (1 - b - k) / (1 - k) || 0;
2209
+ return [c * 100, m * 100, y * 100, k * 100];
2210
+ };
2211
+ function comparativeDistance(x, y) {
2212
+ return (x[0] - y[0]) ** 2 + (x[1] - y[1]) ** 2 + (x[2] - y[2]) ** 2;
2213
+ }
2214
+ convert.rgb.keyword = function(rgb) {
2215
+ const reversed = reverseKeywords[rgb];
2216
+ if (reversed) {
2217
+ return reversed;
2218
+ }
2219
+ let currentClosestDistance = Infinity;
2220
+ let currentClosestKeyword;
2221
+ for (const keyword of Object.keys(cssKeywords)) {
2222
+ const value = cssKeywords[keyword];
2223
+ const distance = comparativeDistance(rgb, value);
2224
+ if (distance < currentClosestDistance) {
2225
+ currentClosestDistance = distance;
2226
+ currentClosestKeyword = keyword;
2227
+ }
2228
+ }
2229
+ return currentClosestKeyword;
2230
+ };
2231
+ convert.keyword.rgb = function(keyword) {
2232
+ return cssKeywords[keyword];
2233
+ };
2234
+ convert.rgb.xyz = function(rgb) {
2235
+ let r = rgb[0] / 255;
2236
+ let g = rgb[1] / 255;
2237
+ let b = rgb[2] / 255;
2238
+ r = r > 0.04045 ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92;
2239
+ g = g > 0.04045 ? ((g + 0.055) / 1.055) ** 2.4 : g / 12.92;
2240
+ b = b > 0.04045 ? ((b + 0.055) / 1.055) ** 2.4 : b / 12.92;
2241
+ const x = r * 0.4124 + g * 0.3576 + b * 0.1805;
2242
+ const y = r * 0.2126 + g * 0.7152 + b * 0.0722;
2243
+ const z = r * 0.0193 + g * 0.1192 + b * 0.9505;
2244
+ return [x * 100, y * 100, z * 100];
2245
+ };
2246
+ convert.rgb.lab = function(rgb) {
2247
+ const xyz = convert.rgb.xyz(rgb);
2248
+ let x = xyz[0];
2249
+ let y = xyz[1];
2250
+ let z = xyz[2];
2251
+ x /= 95.047;
2252
+ y /= 100;
2253
+ z /= 108.883;
2254
+ x = x > 8856e-6 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
2255
+ y = y > 8856e-6 ? y ** (1 / 3) : 7.787 * y + 16 / 116;
2256
+ z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
2257
+ const l = 116 * y - 16;
2258
+ const a = 500 * (x - y);
2259
+ const b = 200 * (y - z);
2260
+ return [l, a, b];
2261
+ };
2262
+ convert.hsl.rgb = function(hsl) {
2263
+ const h = hsl[0] / 360;
2264
+ const s = hsl[1] / 100;
2265
+ const l = hsl[2] / 100;
2266
+ let t2;
2267
+ let t3;
2268
+ let val;
2269
+ if (s === 0) {
2270
+ val = l * 255;
2271
+ return [val, val, val];
2272
+ }
2273
+ if (l < 0.5) {
2274
+ t2 = l * (1 + s);
2275
+ } else {
2276
+ t2 = l + s - l * s;
2277
+ }
2278
+ const t1 = 2 * l - t2;
2279
+ const rgb = [0, 0, 0];
2280
+ for (let i = 0; i < 3; i++) {
2281
+ t3 = h + 1 / 3 * -(i - 1);
2282
+ if (t3 < 0) {
2283
+ t3++;
2284
+ }
2285
+ if (t3 > 1) {
2286
+ t3--;
2287
+ }
2288
+ if (6 * t3 < 1) {
2289
+ val = t1 + (t2 - t1) * 6 * t3;
2290
+ } else if (2 * t3 < 1) {
2291
+ val = t2;
2292
+ } else if (3 * t3 < 2) {
2293
+ val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
2294
+ } else {
2295
+ val = t1;
2296
+ }
2297
+ rgb[i] = val * 255;
2298
+ }
2299
+ return rgb;
2300
+ };
2301
+ convert.hsl.hsv = function(hsl) {
2302
+ const h = hsl[0];
2303
+ let s = hsl[1] / 100;
2304
+ let l = hsl[2] / 100;
2305
+ let smin = s;
2306
+ const lmin = Math.max(l, 0.01);
2307
+ l *= 2;
2308
+ s *= l <= 1 ? l : 2 - l;
2309
+ smin *= lmin <= 1 ? lmin : 2 - lmin;
2310
+ const v = (l + s) / 2;
2311
+ const sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s);
2312
+ return [h, sv * 100, v * 100];
2313
+ };
2314
+ convert.hsv.rgb = function(hsv) {
2315
+ const h = hsv[0] / 60;
2316
+ const s = hsv[1] / 100;
2317
+ let v = hsv[2] / 100;
2318
+ const hi = Math.floor(h) % 6;
2319
+ const f = h - Math.floor(h);
2320
+ const p = 255 * v * (1 - s);
2321
+ const q = 255 * v * (1 - s * f);
2322
+ const t = 255 * v * (1 - s * (1 - f));
2323
+ v *= 255;
2324
+ switch (hi) {
2325
+ case 0:
2326
+ return [v, t, p];
2327
+ case 1:
2328
+ return [q, v, p];
2329
+ case 2:
2330
+ return [p, v, t];
2331
+ case 3:
2332
+ return [p, q, v];
2333
+ case 4:
2334
+ return [t, p, v];
2335
+ case 5:
2336
+ return [v, p, q];
2337
+ }
2338
+ };
2339
+ convert.hsv.hsl = function(hsv) {
2340
+ const h = hsv[0];
2341
+ const s = hsv[1] / 100;
2342
+ const v = hsv[2] / 100;
2343
+ const vmin = Math.max(v, 0.01);
2344
+ let sl;
2345
+ let l;
2346
+ l = (2 - s) * v;
2347
+ const lmin = (2 - s) * vmin;
2348
+ sl = s * vmin;
2349
+ sl /= lmin <= 1 ? lmin : 2 - lmin;
2350
+ sl = sl || 0;
2351
+ l /= 2;
2352
+ return [h, sl * 100, l * 100];
2353
+ };
2354
+ convert.hwb.rgb = function(hwb) {
2355
+ const h = hwb[0] / 360;
2356
+ let wh = hwb[1] / 100;
2357
+ let bl = hwb[2] / 100;
2358
+ const ratio = wh + bl;
2359
+ let f;
2360
+ if (ratio > 1) {
2361
+ wh /= ratio;
2362
+ bl /= ratio;
2363
+ }
2364
+ const i = Math.floor(6 * h);
2365
+ const v = 1 - bl;
2366
+ f = 6 * h - i;
2367
+ if ((i & 1) !== 0) {
2368
+ f = 1 - f;
2369
+ }
2370
+ const n = wh + f * (v - wh);
2371
+ let r;
2372
+ let g;
2373
+ let b;
2374
+ switch (i) {
2375
+ default:
2376
+ case 6:
2377
+ case 0:
2378
+ r = v;
2379
+ g = n;
2380
+ b = wh;
2381
+ break;
2382
+ case 1:
2383
+ r = n;
2384
+ g = v;
2385
+ b = wh;
2386
+ break;
2387
+ case 2:
2388
+ r = wh;
2389
+ g = v;
2390
+ b = n;
2391
+ break;
2392
+ case 3:
2393
+ r = wh;
2394
+ g = n;
2395
+ b = v;
2396
+ break;
2397
+ case 4:
2398
+ r = n;
2399
+ g = wh;
2400
+ b = v;
2401
+ break;
2402
+ case 5:
2403
+ r = v;
2404
+ g = wh;
2405
+ b = n;
2406
+ break;
2407
+ }
2408
+ return [r * 255, g * 255, b * 255];
2409
+ };
2410
+ convert.cmyk.rgb = function(cmyk) {
2411
+ const c = cmyk[0] / 100;
2412
+ const m = cmyk[1] / 100;
2413
+ const y = cmyk[2] / 100;
2414
+ const k = cmyk[3] / 100;
2415
+ const r = 1 - Math.min(1, c * (1 - k) + k);
2416
+ const g = 1 - Math.min(1, m * (1 - k) + k);
2417
+ const b = 1 - Math.min(1, y * (1 - k) + k);
2418
+ return [r * 255, g * 255, b * 255];
2419
+ };
2420
+ convert.xyz.rgb = function(xyz) {
2421
+ const x = xyz[0] / 100;
2422
+ const y = xyz[1] / 100;
2423
+ const z = xyz[2] / 100;
2424
+ let r;
2425
+ let g;
2426
+ let b;
2427
+ r = x * 3.2406 + y * -1.5372 + z * -0.4986;
2428
+ g = x * -0.9689 + y * 1.8758 + z * 0.0415;
2429
+ b = x * 0.0557 + y * -0.204 + z * 1.057;
2430
+ r = r > 31308e-7 ? 1.055 * r ** (1 / 2.4) - 0.055 : r * 12.92;
2431
+ g = g > 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : g * 12.92;
2432
+ b = b > 31308e-7 ? 1.055 * b ** (1 / 2.4) - 0.055 : b * 12.92;
2433
+ r = Math.min(Math.max(0, r), 1);
2434
+ g = Math.min(Math.max(0, g), 1);
2435
+ b = Math.min(Math.max(0, b), 1);
2436
+ return [r * 255, g * 255, b * 255];
2437
+ };
2438
+ convert.xyz.lab = function(xyz) {
2439
+ let x = xyz[0];
2440
+ let y = xyz[1];
2441
+ let z = xyz[2];
2442
+ x /= 95.047;
2443
+ y /= 100;
2444
+ z /= 108.883;
2445
+ x = x > 8856e-6 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
2446
+ y = y > 8856e-6 ? y ** (1 / 3) : 7.787 * y + 16 / 116;
2447
+ z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
2448
+ const l = 116 * y - 16;
2449
+ const a = 500 * (x - y);
2450
+ const b = 200 * (y - z);
2451
+ return [l, a, b];
2452
+ };
2453
+ convert.lab.xyz = function(lab) {
2454
+ const l = lab[0];
2455
+ const a = lab[1];
2456
+ const b = lab[2];
2457
+ let x;
2458
+ let y;
2459
+ let z;
2460
+ y = (l + 16) / 116;
2461
+ x = a / 500 + y;
2462
+ z = y - b / 200;
2463
+ const y2 = y ** 3;
2464
+ const x2 = x ** 3;
2465
+ const z2 = z ** 3;
2466
+ y = y2 > 8856e-6 ? y2 : (y - 16 / 116) / 7.787;
2467
+ x = x2 > 8856e-6 ? x2 : (x - 16 / 116) / 7.787;
2468
+ z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787;
2469
+ x *= 95.047;
2470
+ y *= 100;
2471
+ z *= 108.883;
2472
+ return [x, y, z];
2473
+ };
2474
+ convert.lab.lch = function(lab) {
2475
+ const l = lab[0];
2476
+ const a = lab[1];
2477
+ const b = lab[2];
2478
+ let h;
2479
+ const hr = Math.atan2(b, a);
2480
+ h = hr * 360 / 2 / Math.PI;
2481
+ if (h < 0) {
2482
+ h += 360;
2483
+ }
2484
+ const c = Math.sqrt(a * a + b * b);
2485
+ return [l, c, h];
2486
+ };
2487
+ convert.lch.lab = function(lch) {
2488
+ const l = lch[0];
2489
+ const c = lch[1];
2490
+ const h = lch[2];
2491
+ const hr = h / 360 * 2 * Math.PI;
2492
+ const a = c * Math.cos(hr);
2493
+ const b = c * Math.sin(hr);
2494
+ return [l, a, b];
2495
+ };
2496
+ convert.rgb.ansi16 = function(args, saturation = null) {
2497
+ const [r, g, b] = args;
2498
+ let value = saturation === null ? convert.rgb.hsv(args)[2] : saturation;
2499
+ value = Math.round(value / 50);
2500
+ if (value === 0) {
2501
+ return 30;
2502
+ }
2503
+ let ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255));
2504
+ if (value === 2) {
2505
+ ansi += 60;
2506
+ }
2507
+ return ansi;
2508
+ };
2509
+ convert.hsv.ansi16 = function(args) {
2510
+ return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);
2511
+ };
2512
+ convert.rgb.ansi256 = function(args) {
2513
+ const r = args[0];
2514
+ const g = args[1];
2515
+ const b = args[2];
2516
+ if (r === g && g === b) {
2517
+ if (r < 8) {
2518
+ return 16;
2519
+ }
2520
+ if (r > 248) {
2521
+ return 231;
2522
+ }
2523
+ return Math.round((r - 8) / 247 * 24) + 232;
2524
+ }
2525
+ const ansi = 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5);
2526
+ return ansi;
2527
+ };
2528
+ convert.ansi16.rgb = function(args) {
2529
+ let color = args % 10;
2530
+ if (color === 0 || color === 7) {
2531
+ if (args > 50) {
2532
+ color += 3.5;
2533
+ }
2534
+ color = color / 10.5 * 255;
2535
+ return [color, color, color];
2536
+ }
2537
+ const mult = (~~(args > 50) + 1) * 0.5;
2538
+ const r = (color & 1) * mult * 255;
2539
+ const g = (color >> 1 & 1) * mult * 255;
2540
+ const b = (color >> 2 & 1) * mult * 255;
2541
+ return [r, g, b];
2542
+ };
2543
+ convert.ansi256.rgb = function(args) {
2544
+ if (args >= 232) {
2545
+ const c = (args - 232) * 10 + 8;
2546
+ return [c, c, c];
2547
+ }
2548
+ args -= 16;
2549
+ let rem;
2550
+ const r = Math.floor(args / 36) / 5 * 255;
2551
+ const g = Math.floor((rem = args % 36) / 6) / 5 * 255;
2552
+ const b = rem % 6 / 5 * 255;
2553
+ return [r, g, b];
2554
+ };
2555
+ convert.rgb.hex = function(args) {
2556
+ const integer = ((Math.round(args[0]) & 255) << 16) + ((Math.round(args[1]) & 255) << 8) + (Math.round(args[2]) & 255);
2557
+ const string = integer.toString(16).toUpperCase();
2558
+ return "000000".substring(string.length) + string;
2559
+ };
2560
+ convert.hex.rgb = function(args) {
2561
+ const match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
2562
+ if (!match) {
2563
+ return [0, 0, 0];
2564
+ }
2565
+ let colorString = match[0];
2566
+ if (match[0].length === 3) {
2567
+ colorString = colorString.split("").map((char) => {
2568
+ return char + char;
2569
+ }).join("");
2570
+ }
2571
+ const integer = parseInt(colorString, 16);
2572
+ const r = integer >> 16 & 255;
2573
+ const g = integer >> 8 & 255;
2574
+ const b = integer & 255;
2575
+ return [r, g, b];
2576
+ };
2577
+ convert.rgb.hcg = function(rgb) {
2578
+ const r = rgb[0] / 255;
2579
+ const g = rgb[1] / 255;
2580
+ const b = rgb[2] / 255;
2581
+ const max = Math.max(Math.max(r, g), b);
2582
+ const min = Math.min(Math.min(r, g), b);
2583
+ const chroma = max - min;
2584
+ let grayscale;
2585
+ let hue;
2586
+ if (chroma < 1) {
2587
+ grayscale = min / (1 - chroma);
2588
+ } else {
2589
+ grayscale = 0;
2590
+ }
2591
+ if (chroma <= 0) {
2592
+ hue = 0;
2593
+ } else if (max === r) {
2594
+ hue = (g - b) / chroma % 6;
2595
+ } else if (max === g) {
2596
+ hue = 2 + (b - r) / chroma;
2597
+ } else {
2598
+ hue = 4 + (r - g) / chroma;
2599
+ }
2600
+ hue /= 6;
2601
+ hue %= 1;
2602
+ return [hue * 360, chroma * 100, grayscale * 100];
2603
+ };
2604
+ convert.hsl.hcg = function(hsl) {
2605
+ const s = hsl[1] / 100;
2606
+ const l = hsl[2] / 100;
2607
+ const c = l < 0.5 ? 2 * s * l : 2 * s * (1 - l);
2608
+ let f = 0;
2609
+ if (c < 1) {
2610
+ f = (l - 0.5 * c) / (1 - c);
2611
+ }
2612
+ return [hsl[0], c * 100, f * 100];
2613
+ };
2614
+ convert.hsv.hcg = function(hsv) {
2615
+ const s = hsv[1] / 100;
2616
+ const v = hsv[2] / 100;
2617
+ const c = s * v;
2618
+ let f = 0;
2619
+ if (c < 1) {
2620
+ f = (v - c) / (1 - c);
2621
+ }
2622
+ return [hsv[0], c * 100, f * 100];
2623
+ };
2624
+ convert.hcg.rgb = function(hcg) {
2625
+ const h = hcg[0] / 360;
2626
+ const c = hcg[1] / 100;
2627
+ const g = hcg[2] / 100;
2628
+ if (c === 0) {
2629
+ return [g * 255, g * 255, g * 255];
2630
+ }
2631
+ const pure = [0, 0, 0];
2632
+ const hi = h % 1 * 6;
2633
+ const v = hi % 1;
2634
+ const w = 1 - v;
2635
+ let mg = 0;
2636
+ switch (Math.floor(hi)) {
2637
+ case 0:
2638
+ pure[0] = 1;
2639
+ pure[1] = v;
2640
+ pure[2] = 0;
2641
+ break;
2642
+ case 1:
2643
+ pure[0] = w;
2644
+ pure[1] = 1;
2645
+ pure[2] = 0;
2646
+ break;
2647
+ case 2:
2648
+ pure[0] = 0;
2649
+ pure[1] = 1;
2650
+ pure[2] = v;
2651
+ break;
2652
+ case 3:
2653
+ pure[0] = 0;
2654
+ pure[1] = w;
2655
+ pure[2] = 1;
2656
+ break;
2657
+ case 4:
2658
+ pure[0] = v;
2659
+ pure[1] = 0;
2660
+ pure[2] = 1;
2661
+ break;
2662
+ default:
2663
+ pure[0] = 1;
2664
+ pure[1] = 0;
2665
+ pure[2] = w;
2666
+ }
2667
+ mg = (1 - c) * g;
2668
+ return [
2669
+ (c * pure[0] + mg) * 255,
2670
+ (c * pure[1] + mg) * 255,
2671
+ (c * pure[2] + mg) * 255
2672
+ ];
2673
+ };
2674
+ convert.hcg.hsv = function(hcg) {
2675
+ const c = hcg[1] / 100;
2676
+ const g = hcg[2] / 100;
2677
+ const v = c + g * (1 - c);
2678
+ let f = 0;
2679
+ if (v > 0) {
2680
+ f = c / v;
2681
+ }
2682
+ return [hcg[0], f * 100, v * 100];
2683
+ };
2684
+ convert.hcg.hsl = function(hcg) {
2685
+ const c = hcg[1] / 100;
2686
+ const g = hcg[2] / 100;
2687
+ const l = g * (1 - c) + 0.5 * c;
2688
+ let s = 0;
2689
+ if (l > 0 && l < 0.5) {
2690
+ s = c / (2 * l);
2691
+ } else if (l >= 0.5 && l < 1) {
2692
+ s = c / (2 * (1 - l));
2693
+ }
2694
+ return [hcg[0], s * 100, l * 100];
2695
+ };
2696
+ convert.hcg.hwb = function(hcg) {
2697
+ const c = hcg[1] / 100;
2698
+ const g = hcg[2] / 100;
2699
+ const v = c + g * (1 - c);
2700
+ return [hcg[0], (v - c) * 100, (1 - v) * 100];
2701
+ };
2702
+ convert.hwb.hcg = function(hwb) {
2703
+ const w = hwb[1] / 100;
2704
+ const b = hwb[2] / 100;
2705
+ const v = 1 - b;
2706
+ const c = v - w;
2707
+ let g = 0;
2708
+ if (c < 1) {
2709
+ g = (v - c) / (1 - c);
2710
+ }
2711
+ return [hwb[0], c * 100, g * 100];
2712
+ };
2713
+ convert.apple.rgb = function(apple) {
2714
+ return [apple[0] / 65535 * 255, apple[1] / 65535 * 255, apple[2] / 65535 * 255];
2715
+ };
2716
+ convert.rgb.apple = function(rgb) {
2717
+ return [rgb[0] / 255 * 65535, rgb[1] / 255 * 65535, rgb[2] / 255 * 65535];
2718
+ };
2719
+ convert.gray.rgb = function(args) {
2720
+ return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];
2721
+ };
2722
+ convert.gray.hsl = function(args) {
2723
+ return [0, 0, args[0]];
2724
+ };
2725
+ convert.gray.hsv = convert.gray.hsl;
2726
+ convert.gray.hwb = function(gray) {
2727
+ return [0, 100, gray[0]];
2728
+ };
2729
+ convert.gray.cmyk = function(gray) {
2730
+ return [0, 0, 0, gray[0]];
2731
+ };
2732
+ convert.gray.lab = function(gray) {
2733
+ return [gray[0], 0, 0];
2734
+ };
2735
+ convert.gray.hex = function(gray) {
2736
+ const val = Math.round(gray[0] / 100 * 255) & 255;
2737
+ const integer = (val << 16) + (val << 8) + val;
2738
+ const string = integer.toString(16).toUpperCase();
2739
+ return "000000".substring(string.length) + string;
2740
+ };
2741
+ convert.rgb.gray = function(rgb) {
2742
+ const val = (rgb[0] + rgb[1] + rgb[2]) / 3;
2743
+ return [val / 255 * 100];
2744
+ };
2745
+ }
2746
+ });
2747
+
2748
+ // ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js
2749
+ var require_route = __commonJS({
2750
+ "../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js"(exports2, module2) {
2751
+ "use strict";
2752
+ init_cjs_shims();
2753
+ var conversions = require_conversions();
2754
+ function buildGraph() {
2755
+ const graph = {};
2756
+ const models = Object.keys(conversions);
2757
+ for (let len = models.length, i = 0; i < len; i++) {
2758
+ graph[models[i]] = {
2759
+ // http://jsperf.com/1-vs-infinity
2760
+ // micro-opt, but this is simple.
2761
+ distance: -1,
2762
+ parent: null
2763
+ };
2764
+ }
2765
+ return graph;
2766
+ }
2767
+ function deriveBFS(fromModel) {
2768
+ const graph = buildGraph();
2769
+ const queue = [fromModel];
2770
+ graph[fromModel].distance = 0;
2771
+ while (queue.length) {
2772
+ const current = queue.pop();
2773
+ const adjacents = Object.keys(conversions[current]);
2774
+ for (let len = adjacents.length, i = 0; i < len; i++) {
2775
+ const adjacent = adjacents[i];
2776
+ const node = graph[adjacent];
2777
+ if (node.distance === -1) {
2778
+ node.distance = graph[current].distance + 1;
2779
+ node.parent = current;
2780
+ queue.unshift(adjacent);
2781
+ }
2782
+ }
2783
+ }
2784
+ return graph;
2785
+ }
2786
+ function link(from, to) {
2787
+ return function(args) {
2788
+ return to(from(args));
2789
+ };
2790
+ }
2791
+ function wrapConversion(toModel, graph) {
2792
+ const path3 = [graph[toModel].parent, toModel];
2793
+ let fn = conversions[graph[toModel].parent][toModel];
2794
+ let cur = graph[toModel].parent;
2795
+ while (graph[cur].parent) {
2796
+ path3.unshift(graph[cur].parent);
2797
+ fn = link(conversions[graph[cur].parent][cur], fn);
2798
+ cur = graph[cur].parent;
2799
+ }
2800
+ fn.conversion = path3;
2801
+ return fn;
2802
+ }
2803
+ module2.exports = function(fromModel) {
2804
+ const graph = deriveBFS(fromModel);
2805
+ const conversion = {};
2806
+ const models = Object.keys(graph);
2807
+ for (let len = models.length, i = 0; i < len; i++) {
2808
+ const toModel = models[i];
2809
+ const node = graph[toModel];
2810
+ if (node.parent === null) {
2811
+ continue;
2812
+ }
2813
+ conversion[toModel] = wrapConversion(toModel, graph);
2814
+ }
2815
+ return conversion;
2816
+ };
2817
+ }
2818
+ });
2819
+
2820
+ // ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js
2821
+ var require_color_convert = __commonJS({
2822
+ "../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js"(exports2, module2) {
2823
+ "use strict";
2824
+ init_cjs_shims();
2825
+ var conversions = require_conversions();
2826
+ var route = require_route();
2827
+ var convert = {};
2828
+ var models = Object.keys(conversions);
2829
+ function wrapRaw(fn) {
2830
+ const wrappedFn = function(...args) {
2831
+ const arg0 = args[0];
2832
+ if (arg0 === void 0 || arg0 === null) {
2833
+ return arg0;
2834
+ }
2835
+ if (arg0.length > 1) {
2836
+ args = arg0;
2837
+ }
2838
+ return fn(args);
2839
+ };
2840
+ if ("conversion" in fn) {
2841
+ wrappedFn.conversion = fn.conversion;
2842
+ }
2843
+ return wrappedFn;
2844
+ }
2845
+ function wrapRounded(fn) {
2846
+ const wrappedFn = function(...args) {
2847
+ const arg0 = args[0];
2848
+ if (arg0 === void 0 || arg0 === null) {
2849
+ return arg0;
2850
+ }
2851
+ if (arg0.length > 1) {
2852
+ args = arg0;
2853
+ }
2854
+ const result = fn(args);
2855
+ if (typeof result === "object") {
2856
+ for (let len = result.length, i = 0; i < len; i++) {
2857
+ result[i] = Math.round(result[i]);
2858
+ }
2859
+ }
2860
+ return result;
2861
+ };
2862
+ if ("conversion" in fn) {
2863
+ wrappedFn.conversion = fn.conversion;
2864
+ }
2865
+ return wrappedFn;
2866
+ }
2867
+ models.forEach((fromModel) => {
2868
+ convert[fromModel] = {};
2869
+ Object.defineProperty(convert[fromModel], "channels", { value: conversions[fromModel].channels });
2870
+ Object.defineProperty(convert[fromModel], "labels", { value: conversions[fromModel].labels });
2871
+ const routes = route(fromModel);
2872
+ const routeModels = Object.keys(routes);
2873
+ routeModels.forEach((toModel) => {
2874
+ const fn = routes[toModel];
2875
+ convert[fromModel][toModel] = wrapRounded(fn);
2876
+ convert[fromModel][toModel].raw = wrapRaw(fn);
2877
+ });
2878
+ });
2879
+ module2.exports = convert;
2880
+ }
2881
+ });
2882
+
2883
+ // ../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js
2884
+ var require_ansi_styles = __commonJS({
2885
+ "../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js"(exports2, module2) {
2886
+ "use strict";
2887
+ init_cjs_shims();
2888
+ var wrapAnsi16 = (fn, offset) => (...args) => {
2889
+ const code = fn(...args);
2890
+ return `\x1B[${code + offset}m`;
2891
+ };
2892
+ var wrapAnsi256 = (fn, offset) => (...args) => {
2893
+ const code = fn(...args);
2894
+ return `\x1B[${38 + offset};5;${code}m`;
2895
+ };
2896
+ var wrapAnsi16m = (fn, offset) => (...args) => {
2897
+ const rgb = fn(...args);
2898
+ return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
2899
+ };
2900
+ var ansi2ansi = (n) => n;
2901
+ var rgb2rgb = (r, g, b) => [r, g, b];
2902
+ var setLazyProperty = (object, property, get) => {
2903
+ Object.defineProperty(object, property, {
2904
+ get: () => {
2905
+ const value = get();
2906
+ Object.defineProperty(object, property, {
2907
+ value,
2908
+ enumerable: true,
2909
+ configurable: true
2910
+ });
2911
+ return value;
2912
+ },
2913
+ enumerable: true,
2914
+ configurable: true
2915
+ });
2916
+ };
2917
+ var colorConvert;
2918
+ var makeDynamicStyles = (wrap, targetSpace, identity, isBackground) => {
2919
+ if (colorConvert === void 0) {
2920
+ colorConvert = require_color_convert();
2921
+ }
2922
+ const offset = isBackground ? 10 : 0;
2923
+ const styles = {};
2924
+ for (const [sourceSpace, suite] of Object.entries(colorConvert)) {
2925
+ const name = sourceSpace === "ansi16" ? "ansi" : sourceSpace;
2926
+ if (sourceSpace === targetSpace) {
2927
+ styles[name] = wrap(identity, offset);
2928
+ } else if (typeof suite === "object") {
2929
+ styles[name] = wrap(suite[targetSpace], offset);
2930
+ }
2931
+ }
2932
+ return styles;
2933
+ };
2934
+ function assembleStyles() {
2935
+ const codes = /* @__PURE__ */ new Map();
2936
+ const styles = {
2937
+ modifier: {
2938
+ reset: [0, 0],
2939
+ // 21 isn't widely supported and 22 does the same thing
2940
+ bold: [1, 22],
2941
+ dim: [2, 22],
2942
+ italic: [3, 23],
2943
+ underline: [4, 24],
2944
+ inverse: [7, 27],
2945
+ hidden: [8, 28],
2946
+ strikethrough: [9, 29]
2947
+ },
2948
+ color: {
2949
+ black: [30, 39],
2950
+ red: [31, 39],
2951
+ green: [32, 39],
2952
+ yellow: [33, 39],
2953
+ blue: [34, 39],
2954
+ magenta: [35, 39],
2955
+ cyan: [36, 39],
2956
+ white: [37, 39],
2957
+ // Bright color
2958
+ blackBright: [90, 39],
2959
+ redBright: [91, 39],
2960
+ greenBright: [92, 39],
2961
+ yellowBright: [93, 39],
2962
+ blueBright: [94, 39],
2963
+ magentaBright: [95, 39],
2964
+ cyanBright: [96, 39],
2965
+ whiteBright: [97, 39]
2966
+ },
2967
+ bgColor: {
2968
+ bgBlack: [40, 49],
2969
+ bgRed: [41, 49],
2970
+ bgGreen: [42, 49],
2971
+ bgYellow: [43, 49],
2972
+ bgBlue: [44, 49],
2973
+ bgMagenta: [45, 49],
2974
+ bgCyan: [46, 49],
2975
+ bgWhite: [47, 49],
2976
+ // Bright color
2977
+ bgBlackBright: [100, 49],
2978
+ bgRedBright: [101, 49],
2979
+ bgGreenBright: [102, 49],
2980
+ bgYellowBright: [103, 49],
2981
+ bgBlueBright: [104, 49],
2982
+ bgMagentaBright: [105, 49],
2983
+ bgCyanBright: [106, 49],
2984
+ bgWhiteBright: [107, 49]
2985
+ }
2986
+ };
2987
+ styles.color.gray = styles.color.blackBright;
2988
+ styles.bgColor.bgGray = styles.bgColor.bgBlackBright;
2989
+ styles.color.grey = styles.color.blackBright;
2990
+ styles.bgColor.bgGrey = styles.bgColor.bgBlackBright;
2991
+ for (const [groupName, group] of Object.entries(styles)) {
2992
+ for (const [styleName, style] of Object.entries(group)) {
2993
+ styles[styleName] = {
2994
+ open: `\x1B[${style[0]}m`,
2995
+ close: `\x1B[${style[1]}m`
2996
+ };
2997
+ group[styleName] = styles[styleName];
2998
+ codes.set(style[0], style[1]);
2999
+ }
3000
+ Object.defineProperty(styles, groupName, {
3001
+ value: group,
3002
+ enumerable: false
3003
+ });
3004
+ }
3005
+ Object.defineProperty(styles, "codes", {
3006
+ value: codes,
3007
+ enumerable: false
3008
+ });
3009
+ styles.color.close = "\x1B[39m";
3010
+ styles.bgColor.close = "\x1B[49m";
3011
+ setLazyProperty(styles.color, "ansi", () => makeDynamicStyles(wrapAnsi16, "ansi16", ansi2ansi, false));
3012
+ setLazyProperty(styles.color, "ansi256", () => makeDynamicStyles(wrapAnsi256, "ansi256", ansi2ansi, false));
3013
+ setLazyProperty(styles.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m, "rgb", rgb2rgb, false));
3014
+ setLazyProperty(styles.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi16, "ansi16", ansi2ansi, true));
3015
+ setLazyProperty(styles.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi256, "ansi256", ansi2ansi, true));
3016
+ setLazyProperty(styles.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m, "rgb", rgb2rgb, true));
3017
+ return styles;
3018
+ }
3019
+ Object.defineProperty(module2, "exports", {
3020
+ enumerable: true,
3021
+ get: assembleStyles
3022
+ });
3023
+ }
3024
+ });
3025
+
3026
+ // ../../node_modules/.pnpm/wrap-ansi@6.2.0/node_modules/wrap-ansi/index.js
3027
+ var require_wrap_ansi = __commonJS({
3028
+ "../../node_modules/.pnpm/wrap-ansi@6.2.0/node_modules/wrap-ansi/index.js"(exports2, module2) {
3029
+ "use strict";
3030
+ init_cjs_shims();
3031
+ var stringWidth = require_string_width();
3032
+ var stripAnsi2 = require_strip_ansi();
3033
+ var ansiStyles = require_ansi_styles();
3034
+ var ESCAPES = /* @__PURE__ */ new Set([
3035
+ "\x1B",
3036
+ "\x9B"
3037
+ ]);
3038
+ var END_CODE = 39;
3039
+ var wrapAnsi2 = (code) => `${ESCAPES.values().next().value}[${code}m`;
3040
+ var wordLengths = (string) => string.split(" ").map((character) => stringWidth(character));
3041
+ var wrapWord = (rows, word, columns) => {
3042
+ const characters = [...word];
3043
+ let isInsideEscape = false;
3044
+ let visible = stringWidth(stripAnsi2(rows[rows.length - 1]));
3045
+ for (const [index, character] of characters.entries()) {
3046
+ const characterLength = stringWidth(character);
3047
+ if (visible + characterLength <= columns) {
3048
+ rows[rows.length - 1] += character;
3049
+ } else {
3050
+ rows.push(character);
3051
+ visible = 0;
3052
+ }
3053
+ if (ESCAPES.has(character)) {
3054
+ isInsideEscape = true;
3055
+ } else if (isInsideEscape && character === "m") {
3056
+ isInsideEscape = false;
3057
+ continue;
3058
+ }
3059
+ if (isInsideEscape) {
3060
+ continue;
3061
+ }
3062
+ visible += characterLength;
3063
+ if (visible === columns && index < characters.length - 1) {
3064
+ rows.push("");
3065
+ visible = 0;
3066
+ }
3067
+ }
3068
+ if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) {
3069
+ rows[rows.length - 2] += rows.pop();
3070
+ }
3071
+ };
3072
+ var stringVisibleTrimSpacesRight = (str) => {
3073
+ const words = str.split(" ");
3074
+ let last = words.length;
3075
+ while (last > 0) {
3076
+ if (stringWidth(words[last - 1]) > 0) {
3077
+ break;
3078
+ }
3079
+ last--;
3080
+ }
3081
+ if (last === words.length) {
3082
+ return str;
3083
+ }
3084
+ return words.slice(0, last).join(" ") + words.slice(last).join("");
3085
+ };
3086
+ var exec = (string, columns, options = {}) => {
3087
+ if (options.trim !== false && string.trim() === "") {
3088
+ return "";
3089
+ }
3090
+ let pre = "";
3091
+ let ret = "";
3092
+ let escapeCode;
3093
+ const lengths = wordLengths(string);
3094
+ let rows = [""];
3095
+ for (const [index, word] of string.split(" ").entries()) {
3096
+ if (options.trim !== false) {
3097
+ rows[rows.length - 1] = rows[rows.length - 1].trimLeft();
3098
+ }
3099
+ let rowLength = stringWidth(rows[rows.length - 1]);
3100
+ if (index !== 0) {
3101
+ if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
3102
+ rows.push("");
3103
+ rowLength = 0;
3104
+ }
3105
+ if (rowLength > 0 || options.trim === false) {
3106
+ rows[rows.length - 1] += " ";
3107
+ rowLength++;
3108
+ }
3109
+ }
3110
+ if (options.hard && lengths[index] > columns) {
3111
+ const remainingColumns = columns - rowLength;
3112
+ const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
3113
+ const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
3114
+ if (breaksStartingNextLine < breaksStartingThisLine) {
3115
+ rows.push("");
3116
+ }
3117
+ wrapWord(rows, word, columns);
3118
+ continue;
3119
+ }
3120
+ if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
3121
+ if (options.wordWrap === false && rowLength < columns) {
3122
+ wrapWord(rows, word, columns);
3123
+ continue;
3124
+ }
3125
+ rows.push("");
3126
+ }
3127
+ if (rowLength + lengths[index] > columns && options.wordWrap === false) {
3128
+ wrapWord(rows, word, columns);
3129
+ continue;
3130
+ }
3131
+ rows[rows.length - 1] += word;
3132
+ }
3133
+ if (options.trim !== false) {
3134
+ rows = rows.map(stringVisibleTrimSpacesRight);
3135
+ }
3136
+ pre = rows.join("\n");
3137
+ for (const [index, character] of [...pre].entries()) {
3138
+ ret += character;
3139
+ if (ESCAPES.has(character)) {
3140
+ const code2 = parseFloat(/\d[^m]*/.exec(pre.slice(index, index + 4)));
3141
+ escapeCode = code2 === END_CODE ? null : code2;
3142
+ }
3143
+ const code = ansiStyles.codes.get(Number(escapeCode));
3144
+ if (escapeCode && code) {
3145
+ if (pre[index + 1] === "\n") {
3146
+ ret += wrapAnsi2(code);
3147
+ } else if (character === "\n") {
3148
+ ret += wrapAnsi2(escapeCode);
3149
+ }
3150
+ }
3151
+ }
3152
+ return ret;
3153
+ };
3154
+ module2.exports = (string, columns, options) => {
3155
+ return String(string).normalize().replace(/\r\n/g, "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
3156
+ };
3157
+ }
3158
+ });
3159
+
3160
+ // ../../node_modules/.pnpm/mute-stream@1.0.0/node_modules/mute-stream/lib/index.js
3161
+ var require_lib = __commonJS({
3162
+ "../../node_modules/.pnpm/mute-stream@1.0.0/node_modules/mute-stream/lib/index.js"(exports2, module2) {
3163
+ "use strict";
3164
+ init_cjs_shims();
3165
+ var Stream = require("stream");
3166
+ var MuteStream2 = class extends Stream {
3167
+ #isTTY = null;
3168
+ constructor(opts = {}) {
3169
+ super(opts);
3170
+ this.writable = this.readable = true;
3171
+ this.muted = false;
3172
+ this.on("pipe", this._onpipe);
3173
+ this.replace = opts.replace;
3174
+ this._prompt = opts.prompt || null;
3175
+ this._hadControl = false;
3176
+ }
3177
+ #destSrc(key, def) {
3178
+ if (this._dest) {
3179
+ return this._dest[key];
3180
+ }
3181
+ if (this._src) {
3182
+ return this._src[key];
3183
+ }
3184
+ return def;
3185
+ }
3186
+ #proxy(method, ...args) {
3187
+ if (typeof this._dest?.[method] === "function") {
3188
+ this._dest[method](...args);
3189
+ }
3190
+ if (typeof this._src?.[method] === "function") {
3191
+ this._src[method](...args);
3192
+ }
3193
+ }
3194
+ get isTTY() {
3195
+ if (this.#isTTY !== null) {
3196
+ return this.#isTTY;
3197
+ }
3198
+ return this.#destSrc("isTTY", false);
3199
+ }
3200
+ // basically just get replace the getter/setter with a regular value
3201
+ set isTTY(val) {
3202
+ this.#isTTY = val;
3203
+ }
3204
+ get rows() {
3205
+ return this.#destSrc("rows");
3206
+ }
3207
+ get columns() {
3208
+ return this.#destSrc("columns");
3209
+ }
3210
+ mute() {
3211
+ this.muted = true;
3212
+ }
3213
+ unmute() {
3214
+ this.muted = false;
3215
+ }
3216
+ _onpipe(src) {
3217
+ this._src = src;
3218
+ }
3219
+ pipe(dest, options) {
3220
+ this._dest = dest;
3221
+ return super.pipe(dest, options);
3222
+ }
3223
+ pause() {
3224
+ if (this._src) {
3225
+ return this._src.pause();
3226
+ }
3227
+ }
3228
+ resume() {
3229
+ if (this._src) {
3230
+ return this._src.resume();
3231
+ }
3232
+ }
3233
+ write(c) {
3234
+ if (this.muted) {
3235
+ if (!this.replace) {
3236
+ return true;
3237
+ }
3238
+ if (c.match(/^\u001b/)) {
3239
+ if (c.indexOf(this._prompt) === 0) {
3240
+ c = c.slice(this._prompt.length);
3241
+ c = c.replace(/./g, this.replace);
3242
+ c = this._prompt + c;
3243
+ }
3244
+ this._hadControl = true;
3245
+ return this.emit("data", c);
3246
+ } else {
3247
+ if (this._prompt && this._hadControl && c.indexOf(this._prompt) === 0) {
3248
+ this._hadControl = false;
3249
+ this.emit("data", this._prompt);
3250
+ c = c.slice(this._prompt.length);
3251
+ }
3252
+ c = c.toString().replace(/./g, this.replace);
3253
+ }
3254
+ }
3255
+ this.emit("data", c);
3256
+ }
3257
+ end(c) {
3258
+ if (this.muted) {
3259
+ if (c && this.replace) {
3260
+ c = c.toString().replace(/./g, this.replace);
3261
+ } else {
3262
+ c = null;
3263
+ }
3264
+ }
3265
+ if (c) {
3266
+ this.emit("data", c);
3267
+ }
3268
+ this.emit("end");
3269
+ }
3270
+ destroy(...args) {
3271
+ return this.#proxy("destroy", ...args);
3272
+ }
3273
+ destroySoon(...args) {
3274
+ return this.#proxy("destroySoon", ...args);
3275
+ }
3276
+ close(...args) {
3277
+ return this.#proxy("close", ...args);
3278
+ }
3279
+ };
3280
+ module2.exports = MuteStream2;
3281
+ }
3282
+ });
3283
+
3284
+ // ../../node_modules/.pnpm/ansi-escapes@4.3.2/node_modules/ansi-escapes/index.js
3285
+ var require_ansi_escapes = __commonJS({
3286
+ "../../node_modules/.pnpm/ansi-escapes@4.3.2/node_modules/ansi-escapes/index.js"(exports2, module2) {
3287
+ "use strict";
3288
+ init_cjs_shims();
3289
+ var ansiEscapes3 = module2.exports;
3290
+ module2.exports.default = ansiEscapes3;
3291
+ var ESC = "\x1B[";
3292
+ var OSC = "\x1B]";
3293
+ var BEL = "\x07";
3294
+ var SEP = ";";
3295
+ var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal";
3296
+ ansiEscapes3.cursorTo = (x, y) => {
3297
+ if (typeof x !== "number") {
3298
+ throw new TypeError("The `x` argument is required");
3299
+ }
3300
+ if (typeof y !== "number") {
3301
+ return ESC + (x + 1) + "G";
3302
+ }
3303
+ return ESC + (y + 1) + ";" + (x + 1) + "H";
3304
+ };
3305
+ ansiEscapes3.cursorMove = (x, y) => {
3306
+ if (typeof x !== "number") {
3307
+ throw new TypeError("The `x` argument is required");
3308
+ }
3309
+ let ret = "";
3310
+ if (x < 0) {
3311
+ ret += ESC + -x + "D";
3312
+ } else if (x > 0) {
3313
+ ret += ESC + x + "C";
3314
+ }
3315
+ if (y < 0) {
3316
+ ret += ESC + -y + "A";
3317
+ } else if (y > 0) {
3318
+ ret += ESC + y + "B";
3319
+ }
3320
+ return ret;
3321
+ };
3322
+ ansiEscapes3.cursorUp = (count = 1) => ESC + count + "A";
3323
+ ansiEscapes3.cursorDown = (count = 1) => ESC + count + "B";
3324
+ ansiEscapes3.cursorForward = (count = 1) => ESC + count + "C";
3325
+ ansiEscapes3.cursorBackward = (count = 1) => ESC + count + "D";
3326
+ ansiEscapes3.cursorLeft = ESC + "G";
3327
+ ansiEscapes3.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
3328
+ ansiEscapes3.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
3329
+ ansiEscapes3.cursorGetPosition = ESC + "6n";
3330
+ ansiEscapes3.cursorNextLine = ESC + "E";
3331
+ ansiEscapes3.cursorPrevLine = ESC + "F";
3332
+ ansiEscapes3.cursorHide = ESC + "?25l";
3333
+ ansiEscapes3.cursorShow = ESC + "?25h";
3334
+ ansiEscapes3.eraseLines = (count) => {
3335
+ let clear = "";
3336
+ for (let i = 0; i < count; i++) {
3337
+ clear += ansiEscapes3.eraseLine + (i < count - 1 ? ansiEscapes3.cursorUp() : "");
3338
+ }
3339
+ if (count) {
3340
+ clear += ansiEscapes3.cursorLeft;
3341
+ }
3342
+ return clear;
3343
+ };
3344
+ ansiEscapes3.eraseEndLine = ESC + "K";
3345
+ ansiEscapes3.eraseStartLine = ESC + "1K";
3346
+ ansiEscapes3.eraseLine = ESC + "2K";
3347
+ ansiEscapes3.eraseDown = ESC + "J";
3348
+ ansiEscapes3.eraseUp = ESC + "1J";
3349
+ ansiEscapes3.eraseScreen = ESC + "2J";
3350
+ ansiEscapes3.scrollUp = ESC + "S";
3351
+ ansiEscapes3.scrollDown = ESC + "T";
3352
+ ansiEscapes3.clearScreen = "\x1Bc";
3353
+ ansiEscapes3.clearTerminal = process.platform === "win32" ? `${ansiEscapes3.eraseScreen}${ESC}0f` : (
3354
+ // 1. Erases the screen (Only done in case `2` is not supported)
3355
+ // 2. Erases the whole screen including scrollback buffer
3356
+ // 3. Moves cursor to the top-left position
3357
+ // More info: https://www.real-world-systems.com/docs/ANSIcode.html
3358
+ `${ansiEscapes3.eraseScreen}${ESC}3J${ESC}H`
3359
+ );
3360
+ ansiEscapes3.beep = BEL;
3361
+ ansiEscapes3.link = (text, url) => {
3362
+ return [
3363
+ OSC,
3364
+ "8",
3365
+ SEP,
3366
+ SEP,
3367
+ url,
3368
+ BEL,
3369
+ text,
3370
+ OSC,
3371
+ "8",
3372
+ SEP,
3373
+ SEP,
3374
+ BEL
3375
+ ].join("");
3376
+ };
3377
+ ansiEscapes3.image = (buffer, options = {}) => {
3378
+ let ret = `${OSC}1337;File=inline=1`;
3379
+ if (options.width) {
3380
+ ret += `;width=${options.width}`;
3381
+ }
3382
+ if (options.height) {
3383
+ ret += `;height=${options.height}`;
3384
+ }
3385
+ if (options.preserveAspectRatio === false) {
3386
+ ret += ";preserveAspectRatio=0";
3387
+ }
3388
+ return ret + ":" + buffer.toString("base64") + BEL;
3389
+ };
3390
+ ansiEscapes3.iTerm = {
3391
+ setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
3392
+ annotation: (message, options = {}) => {
3393
+ let ret = `${OSC}1337;`;
3394
+ const hasX = typeof options.x !== "undefined";
3395
+ const hasY = typeof options.y !== "undefined";
3396
+ if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
3397
+ throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
3398
+ }
3399
+ message = message.replace(/\|/g, "");
3400
+ ret += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
3401
+ if (options.length > 0) {
3402
+ ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
3403
+ } else {
3404
+ ret += message;
3405
+ }
3406
+ return ret + BEL;
3407
+ }
3408
+ };
3409
+ }
3410
+ });
3411
+
3412
+ // src/cli.ts
3413
+ var cli_exports = {};
3414
+ __export(cli_exports, {
3415
+ cli: () => cli
3416
+ });
3417
+ module.exports = __toCommonJS(cli_exports);
3418
+ init_cjs_shims();
3419
+
3420
+ // package.json
3421
+ var version = "0.0.4";
3422
+
3423
+ // src/constants.ts
3424
+ init_cjs_shims();
3425
+
3426
+ // src/types.ts
3427
+ init_cjs_shims();
3428
+
3429
+ // src/constants.ts
3430
+ var import_path = __toESM(require("path"), 1);
3431
+ var ROOT_PATH = import_path.default.join(__dirname, "..");
3432
+ var TEMPLATE_PATH = import_path.default.join(ROOT_PATH, "template");
3433
+ var PACKAGE_CHOICES = [
3434
+ "prettier" /* prettier */
3435
+ ].map((item) => ({ name: item, value: item }));
3436
+ var PACKAGE_MAP = {
3437
+ ["prettier" /* prettier */]: {
3438
+ packages: ["prettier", "@trivago/prettier-plugin-sort-imports"],
3439
+ options: ["--save-dev"]
3440
+ }
3441
+ };
3442
+
3443
+ // src/utils.ts
3444
+ init_cjs_shims();
3445
+ var import_process = require("process");
3446
+ function handleError(err, message) {
3447
+ console.log(message + "\uFF1A", err);
3448
+ (0, import_process.exit)(1);
3449
+ }
3450
+
3451
+ // ../../node_modules/.pnpm/@inquirer+prompts@5.3.6/node_modules/@inquirer/prompts/dist/esm/index.mjs
3452
+ init_cjs_shims();
3453
+
3454
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/index.mjs
3455
+ init_cjs_shims();
3456
+
3457
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/key.mjs
3458
+ init_cjs_shims();
3459
+ var isUpKey = (key) => (
3460
+ // The up key
3461
+ key.name === "up" || // Vim keybinding
3462
+ key.name === "k" || // Emacs keybinding
3463
+ key.ctrl && key.name === "p"
3464
+ );
3465
+ var isDownKey = (key) => (
3466
+ // The down key
3467
+ key.name === "down" || // Vim keybinding
3468
+ key.name === "j" || // Emacs keybinding
3469
+ key.ctrl && key.name === "n"
3470
+ );
3471
+ var isBackspaceKey = (key) => key.name === "backspace";
3472
+ var isNumberKey = (key) => "123456789".includes(key.name);
3473
+ var isEnterKey = (key) => key.name === "enter" || key.name === "return";
3474
+
3475
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/errors.mjs
3476
+ init_cjs_shims();
3477
+ var CancelPromptError = class extends Error {
3478
+ name = "CancelPromptError";
3479
+ message = "Prompt was canceled";
3480
+ };
3481
+ var ExitPromptError = class extends Error {
3482
+ name = "ExitPromptError";
3483
+ };
3484
+ var HookError = class extends Error {
3485
+ name = "HookError";
3486
+ };
3487
+ var ValidationError = class extends Error {
3488
+ name = "ValidationError";
3489
+ };
3490
+
3491
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/use-prefix.mjs
3492
+ init_cjs_shims();
3493
+ var import_node_async_hooks2 = require("async_hooks");
3494
+
3495
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/use-state.mjs
3496
+ init_cjs_shims();
3497
+
3498
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/hook-engine.mjs
3499
+ init_cjs_shims();
3500
+ var import_node_async_hooks = require("async_hooks");
3501
+ var hookStorage = new import_node_async_hooks.AsyncLocalStorage();
3502
+ function createStore(rl) {
3503
+ const store = {
3504
+ rl,
3505
+ hooks: [],
3506
+ hooksCleanup: [],
3507
+ hooksEffect: [],
3508
+ index: 0,
3509
+ handleChange() {
3510
+ }
3511
+ };
3512
+ return store;
3513
+ }
3514
+ function withHooks(rl, cb) {
3515
+ const store = createStore(rl);
3516
+ return hookStorage.run(store, () => {
3517
+ function cycle(render) {
3518
+ store.handleChange = () => {
3519
+ store.index = 0;
3520
+ render();
3521
+ };
3522
+ store.handleChange();
3523
+ }
3524
+ cb(cycle);
3525
+ });
3526
+ }
3527
+ function getStore() {
3528
+ const store = hookStorage.getStore();
3529
+ if (!store) {
3530
+ throw new HookError("[Inquirer] Hook functions can only be called from within a prompt");
3531
+ }
3532
+ return store;
3533
+ }
3534
+ function readline() {
3535
+ return getStore().rl;
3536
+ }
3537
+ function withUpdates(fn) {
3538
+ const wrapped = (...args) => {
3539
+ const store = getStore();
3540
+ let shouldUpdate = false;
3541
+ const oldHandleChange = store.handleChange;
3542
+ store.handleChange = () => {
3543
+ shouldUpdate = true;
3544
+ };
3545
+ const returnValue = fn(...args);
3546
+ if (shouldUpdate) {
3547
+ oldHandleChange();
3548
+ }
3549
+ store.handleChange = oldHandleChange;
3550
+ return returnValue;
3551
+ };
3552
+ return import_node_async_hooks.AsyncResource.bind(wrapped);
3553
+ }
3554
+ function withPointer(cb) {
3555
+ const store = getStore();
3556
+ const { index } = store;
3557
+ const pointer = {
3558
+ get() {
3559
+ return store.hooks[index];
3560
+ },
3561
+ set(value) {
3562
+ store.hooks[index] = value;
3563
+ },
3564
+ initialized: index in store.hooks
3565
+ };
3566
+ const returnValue = cb(pointer);
3567
+ store.index++;
3568
+ return returnValue;
3569
+ }
3570
+ function handleChange() {
3571
+ getStore().handleChange();
3572
+ }
3573
+ var effectScheduler = {
3574
+ queue(cb) {
3575
+ const store = getStore();
3576
+ const { index } = store;
3577
+ store.hooksEffect.push(() => {
3578
+ store.hooksCleanup[index]?.();
3579
+ const cleanFn = cb(readline());
3580
+ if (cleanFn != null && typeof cleanFn !== "function") {
3581
+ throw new ValidationError("useEffect return value must be a cleanup function or nothing.");
3582
+ }
3583
+ store.hooksCleanup[index] = cleanFn;
3584
+ });
3585
+ },
3586
+ run() {
3587
+ const store = getStore();
3588
+ withUpdates(() => {
3589
+ store.hooksEffect.forEach((effect) => {
3590
+ effect();
3591
+ });
3592
+ store.hooksEffect.length = 0;
3593
+ })();
3594
+ },
3595
+ clearAll() {
3596
+ const store = getStore();
3597
+ store.hooksCleanup.forEach((cleanFn) => {
3598
+ cleanFn?.();
3599
+ });
3600
+ store.hooksEffect.length = 0;
3601
+ store.hooksCleanup.length = 0;
3602
+ }
3603
+ };
3604
+
3605
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/use-state.mjs
3606
+ function useState(defaultValue) {
3607
+ return withPointer((pointer) => {
3608
+ const setFn = (newValue) => {
3609
+ if (pointer.get() !== newValue) {
3610
+ pointer.set(newValue);
3611
+ handleChange();
3612
+ }
3613
+ };
3614
+ if (pointer.initialized) {
3615
+ return [pointer.get(), setFn];
3616
+ }
3617
+ const value = typeof defaultValue === "function" ? defaultValue() : defaultValue;
3618
+ pointer.set(value);
3619
+ return [value, setFn];
3620
+ });
3621
+ }
3622
+
3623
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/use-effect.mjs
3624
+ init_cjs_shims();
3625
+ function useEffect(cb, depArray) {
3626
+ withPointer((pointer) => {
3627
+ const oldDeps = pointer.get();
3628
+ const hasChanged = !Array.isArray(oldDeps) || depArray.some((dep, i) => !Object.is(dep, oldDeps[i]));
3629
+ if (hasChanged) {
3630
+ effectScheduler.queue(cb);
3631
+ }
3632
+ pointer.set(depArray);
3633
+ });
3634
+ }
3635
+
3636
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/make-theme.mjs
3637
+ init_cjs_shims();
3638
+
3639
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/theme.mjs
3640
+ init_cjs_shims();
3641
+ var import_yoctocolors_cjs = __toESM(require_yoctocolors_cjs(), 1);
3642
+ var import_cli_spinners = __toESM(require_cli_spinners(), 1);
3643
+ var defaultTheme = {
3644
+ prefix: import_yoctocolors_cjs.default.green("?"),
3645
+ spinner: {
3646
+ interval: import_cli_spinners.default.dots.interval,
3647
+ frames: import_cli_spinners.default.dots.frames.map((frame) => import_yoctocolors_cjs.default.yellow(frame))
3648
+ },
3649
+ style: {
3650
+ answer: import_yoctocolors_cjs.default.cyan,
3651
+ message: import_yoctocolors_cjs.default.bold,
3652
+ error: (text) => import_yoctocolors_cjs.default.red(`> ${text}`),
3653
+ defaultAnswer: (text) => import_yoctocolors_cjs.default.dim(`(${text})`),
3654
+ help: import_yoctocolors_cjs.default.dim,
3655
+ highlight: import_yoctocolors_cjs.default.cyan,
3656
+ key: (text) => import_yoctocolors_cjs.default.cyan(import_yoctocolors_cjs.default.bold(`<${text}>`))
3657
+ }
3658
+ };
3659
+
3660
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/make-theme.mjs
3661
+ function isPlainObject(value) {
3662
+ if (typeof value !== "object" || value === null)
3663
+ return false;
3664
+ let proto = value;
3665
+ while (Object.getPrototypeOf(proto) !== null) {
3666
+ proto = Object.getPrototypeOf(proto);
3667
+ }
3668
+ return Object.getPrototypeOf(value) === proto;
3669
+ }
3670
+ function deepMerge(...objects) {
3671
+ const output = {};
3672
+ for (const obj of objects) {
3673
+ for (const [key, value] of Object.entries(obj)) {
3674
+ const prevValue = output[key];
3675
+ output[key] = isPlainObject(prevValue) && isPlainObject(value) ? deepMerge(prevValue, value) : value;
3676
+ }
3677
+ }
3678
+ return output;
3679
+ }
3680
+ function makeTheme(...themes) {
3681
+ const themesToMerge = [
3682
+ defaultTheme,
3683
+ ...themes.filter((theme) => theme != null)
3684
+ ];
3685
+ return deepMerge(...themesToMerge);
3686
+ }
3687
+
3688
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/use-prefix.mjs
3689
+ function usePrefix({ isLoading = false, theme }) {
3690
+ const [showLoader, setShowLoader] = useState(false);
3691
+ const [tick, setTick] = useState(0);
3692
+ const { prefix, spinner } = makeTheme(theme);
3693
+ useEffect(() => {
3694
+ if (isLoading) {
3695
+ let tickInterval;
3696
+ let inc = -1;
3697
+ const delayTimeout = setTimeout(import_node_async_hooks2.AsyncResource.bind(() => {
3698
+ setShowLoader(true);
3699
+ tickInterval = setInterval(import_node_async_hooks2.AsyncResource.bind(() => {
3700
+ inc = inc + 1;
3701
+ setTick(inc % spinner.frames.length);
3702
+ }), spinner.interval);
3703
+ }), 300);
3704
+ return () => {
3705
+ clearTimeout(delayTimeout);
3706
+ clearInterval(tickInterval);
3707
+ };
3708
+ } else {
3709
+ setShowLoader(false);
3710
+ }
3711
+ }, [isLoading]);
3712
+ if (showLoader) {
3713
+ return spinner.frames[tick];
3714
+ }
3715
+ return prefix;
3716
+ }
3717
+
3718
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/use-memo.mjs
3719
+ init_cjs_shims();
3720
+ function useMemo(fn, dependencies) {
3721
+ return withPointer((pointer) => {
3722
+ const prev = pointer.get();
3723
+ if (!prev || prev.dependencies.length !== dependencies.length || prev.dependencies.some((dep, i) => dep !== dependencies[i])) {
3724
+ const value = fn();
3725
+ pointer.set({ value, dependencies });
3726
+ return value;
3727
+ }
3728
+ return prev.value;
3729
+ });
3730
+ }
3731
+
3732
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/use-ref.mjs
3733
+ init_cjs_shims();
3734
+ function useRef(val) {
3735
+ return useState({ current: val })[0];
3736
+ }
3737
+
3738
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/use-keypress.mjs
3739
+ init_cjs_shims();
3740
+ function useKeypress(userHandler) {
3741
+ const signal = useRef(userHandler);
3742
+ signal.current = userHandler;
3743
+ useEffect((rl) => {
3744
+ let ignore = false;
3745
+ const handler = withUpdates((_input, event) => {
3746
+ if (ignore)
3747
+ return;
3748
+ signal.current(event, rl);
3749
+ });
3750
+ rl.input.on("keypress", handler);
3751
+ return () => {
3752
+ ignore = true;
3753
+ rl.input.removeListener("keypress", handler);
3754
+ };
3755
+ }, []);
3756
+ }
3757
+
3758
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/pagination/use-pagination.mjs
3759
+ init_cjs_shims();
3760
+
3761
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/utils.mjs
3762
+ init_cjs_shims();
3763
+ var import_cli_width = __toESM(require_cli_width(), 1);
3764
+ var import_wrap_ansi = __toESM(require_wrap_ansi(), 1);
3765
+ function breakLines(content, width) {
3766
+ return content.split("\n").flatMap((line) => (0, import_wrap_ansi.default)(line, width, { trim: false, hard: true }).split("\n").map((str) => str.trimEnd())).join("\n");
3767
+ }
3768
+ function readlineWidth() {
3769
+ return (0, import_cli_width.default)({ defaultWidth: 80, output: readline().output });
3770
+ }
3771
+
3772
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/pagination/lines.mjs
3773
+ init_cjs_shims();
3774
+ function split(content, width) {
3775
+ return breakLines(content, width).split("\n");
3776
+ }
3777
+ function rotate(count, items) {
3778
+ const max = items.length;
3779
+ const offset = (count % max + max) % max;
3780
+ return [...items.slice(offset), ...items.slice(0, offset)];
3781
+ }
3782
+ function lines({ items, width, renderItem, active, position: requested, pageSize }) {
3783
+ const layouts = items.map((item, index) => ({
3784
+ item,
3785
+ index,
3786
+ isActive: index === active
3787
+ }));
3788
+ const layoutsInPage = rotate(active - requested, layouts).slice(0, pageSize);
3789
+ const renderItemAt = (index) => layoutsInPage[index] == null ? [] : split(renderItem(layoutsInPage[index]), width);
3790
+ const pageBuffer = Array.from({ length: pageSize });
3791
+ const activeItem = renderItemAt(requested).slice(0, pageSize);
3792
+ const position = requested + activeItem.length <= pageSize ? requested : pageSize - activeItem.length;
3793
+ pageBuffer.splice(position, activeItem.length, ...activeItem);
3794
+ let bufferPointer = position + activeItem.length;
3795
+ let layoutPointer = requested + 1;
3796
+ while (bufferPointer < pageSize && layoutPointer < layoutsInPage.length) {
3797
+ for (const line of renderItemAt(layoutPointer)) {
3798
+ pageBuffer[bufferPointer++] = line;
3799
+ if (bufferPointer >= pageSize)
3800
+ break;
3801
+ }
3802
+ layoutPointer++;
3803
+ }
3804
+ bufferPointer = position - 1;
3805
+ layoutPointer = requested - 1;
3806
+ while (bufferPointer >= 0 && layoutPointer >= 0) {
3807
+ for (const line of renderItemAt(layoutPointer).reverse()) {
3808
+ pageBuffer[bufferPointer--] = line;
3809
+ if (bufferPointer < 0)
3810
+ break;
3811
+ }
3812
+ layoutPointer--;
3813
+ }
3814
+ return pageBuffer.filter((line) => typeof line === "string");
3815
+ }
3816
+
3817
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/pagination/position.mjs
3818
+ init_cjs_shims();
3819
+ function finite({ active, pageSize, total }) {
3820
+ const middle = Math.floor(pageSize / 2);
3821
+ if (total <= pageSize || active < middle)
3822
+ return active;
3823
+ if (active >= total - middle)
3824
+ return active + pageSize - total;
3825
+ return middle;
3826
+ }
3827
+ function infinite({ active, lastActive, total, pageSize, pointer }) {
3828
+ if (total <= pageSize)
3829
+ return active;
3830
+ if (lastActive < active && active - lastActive < pageSize) {
3831
+ return Math.min(Math.floor(pageSize / 2), pointer + active - lastActive);
3832
+ }
3833
+ return pointer;
3834
+ }
3835
+
3836
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/pagination/use-pagination.mjs
3837
+ function usePagination({ items, active, renderItem, pageSize, loop = true }) {
3838
+ const state = useRef({ position: 0, lastActive: 0 });
3839
+ const position = loop ? infinite({
3840
+ active,
3841
+ lastActive: state.current.lastActive,
3842
+ total: items.length,
3843
+ pageSize,
3844
+ pointer: state.current.position
3845
+ }) : finite({
3846
+ active,
3847
+ total: items.length,
3848
+ pageSize
3849
+ });
3850
+ state.current.position = position;
3851
+ state.current.lastActive = active;
3852
+ return lines({
3853
+ items,
3854
+ width: readlineWidth(),
3855
+ renderItem,
3856
+ active,
3857
+ position,
3858
+ pageSize
3859
+ }).join("\n");
3860
+ }
3861
+
3862
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/create-prompt.mjs
3863
+ init_cjs_shims();
3864
+ var readline2 = __toESM(require("readline"), 1);
3865
+ var import_node_async_hooks3 = require("async_hooks");
3866
+
3867
+ // ../../node_modules/.pnpm/@inquirer+type@1.5.1/node_modules/@inquirer/type/dist/esm/inquirer.mjs
3868
+ init_cjs_shims();
3869
+ var CancelablePromise = class extends Promise {
3870
+ cancel = () => {
3871
+ };
3872
+ };
3873
+
3874
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/create-prompt.mjs
3875
+ var import_mute_stream = __toESM(require_lib(), 1);
3876
+
3877
+ // ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
3878
+ init_cjs_shims();
3879
+
3880
+ // ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
3881
+ init_cjs_shims();
3882
+ var signals = [];
3883
+ signals.push("SIGHUP", "SIGINT", "SIGTERM");
3884
+ if (process.platform !== "win32") {
3885
+ signals.push(
3886
+ "SIGALRM",
3887
+ "SIGABRT",
3888
+ "SIGVTALRM",
3889
+ "SIGXCPU",
3890
+ "SIGXFSZ",
3891
+ "SIGUSR2",
3892
+ "SIGTRAP",
3893
+ "SIGSYS",
3894
+ "SIGQUIT",
3895
+ "SIGIOT"
3896
+ // should detect profiler and enable/disable accordingly.
3897
+ // see #21
3898
+ // 'SIGPROF'
3899
+ );
3900
+ }
3901
+ if (process.platform === "linux") {
3902
+ signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
3903
+ }
3904
+
3905
+ // ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
3906
+ var processOk = (process4) => !!process4 && typeof process4 === "object" && typeof process4.removeListener === "function" && typeof process4.emit === "function" && typeof process4.reallyExit === "function" && typeof process4.listeners === "function" && typeof process4.kill === "function" && typeof process4.pid === "number" && typeof process4.on === "function";
3907
+ var kExitEmitter = Symbol.for("signal-exit emitter");
3908
+ var global = globalThis;
3909
+ var ObjectDefineProperty = Object.defineProperty.bind(Object);
3910
+ var Emitter = class {
3911
+ emitted = {
3912
+ afterExit: false,
3913
+ exit: false
3914
+ };
3915
+ listeners = {
3916
+ afterExit: [],
3917
+ exit: []
3918
+ };
3919
+ count = 0;
3920
+ id = Math.random();
3921
+ constructor() {
3922
+ if (global[kExitEmitter]) {
3923
+ return global[kExitEmitter];
3924
+ }
3925
+ ObjectDefineProperty(global, kExitEmitter, {
3926
+ value: this,
3927
+ writable: false,
3928
+ enumerable: false,
3929
+ configurable: false
3930
+ });
3931
+ }
3932
+ on(ev, fn) {
3933
+ this.listeners[ev].push(fn);
3934
+ }
3935
+ removeListener(ev, fn) {
3936
+ const list = this.listeners[ev];
3937
+ const i = list.indexOf(fn);
3938
+ if (i === -1) {
3939
+ return;
3940
+ }
3941
+ if (i === 0 && list.length === 1) {
3942
+ list.length = 0;
3943
+ } else {
3944
+ list.splice(i, 1);
3945
+ }
3946
+ }
3947
+ emit(ev, code, signal) {
3948
+ if (this.emitted[ev]) {
3949
+ return false;
3950
+ }
3951
+ this.emitted[ev] = true;
3952
+ let ret = false;
3953
+ for (const fn of this.listeners[ev]) {
3954
+ ret = fn(code, signal) === true || ret;
3955
+ }
3956
+ if (ev === "exit") {
3957
+ ret = this.emit("afterExit", code, signal) || ret;
3958
+ }
3959
+ return ret;
3960
+ }
3961
+ };
3962
+ var SignalExitBase = class {
3963
+ };
3964
+ var signalExitWrap = (handler) => {
3965
+ return {
3966
+ onExit(cb, opts) {
3967
+ return handler.onExit(cb, opts);
3968
+ },
3969
+ load() {
3970
+ return handler.load();
3971
+ },
3972
+ unload() {
3973
+ return handler.unload();
3974
+ }
3975
+ };
3976
+ };
3977
+ var SignalExitFallback = class extends SignalExitBase {
3978
+ onExit() {
3979
+ return () => {
3980
+ };
3981
+ }
3982
+ load() {
3983
+ }
3984
+ unload() {
3985
+ }
3986
+ };
3987
+ var SignalExit = class extends SignalExitBase {
3988
+ // "SIGHUP" throws an `ENOSYS` error on Windows,
3989
+ // so use a supported signal instead
3990
+ /* c8 ignore start */
3991
+ #hupSig = process2.platform === "win32" ? "SIGINT" : "SIGHUP";
3992
+ /* c8 ignore stop */
3993
+ #emitter = new Emitter();
3994
+ #process;
3995
+ #originalProcessEmit;
3996
+ #originalProcessReallyExit;
3997
+ #sigListeners = {};
3998
+ #loaded = false;
3999
+ constructor(process4) {
4000
+ super();
4001
+ this.#process = process4;
4002
+ this.#sigListeners = {};
4003
+ for (const sig of signals) {
4004
+ this.#sigListeners[sig] = () => {
4005
+ const listeners = this.#process.listeners(sig);
4006
+ let { count } = this.#emitter;
4007
+ const p = process4;
4008
+ if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
4009
+ count += p.__signal_exit_emitter__.count;
4010
+ }
4011
+ if (listeners.length === count) {
4012
+ this.unload();
4013
+ const ret = this.#emitter.emit("exit", null, sig);
4014
+ const s = sig === "SIGHUP" ? this.#hupSig : sig;
4015
+ if (!ret)
4016
+ process4.kill(process4.pid, s);
4017
+ }
4018
+ };
4019
+ }
4020
+ this.#originalProcessReallyExit = process4.reallyExit;
4021
+ this.#originalProcessEmit = process4.emit;
4022
+ }
4023
+ onExit(cb, opts) {
4024
+ if (!processOk(this.#process)) {
4025
+ return () => {
4026
+ };
4027
+ }
4028
+ if (this.#loaded === false) {
4029
+ this.load();
4030
+ }
4031
+ const ev = opts?.alwaysLast ? "afterExit" : "exit";
4032
+ this.#emitter.on(ev, cb);
4033
+ return () => {
4034
+ this.#emitter.removeListener(ev, cb);
4035
+ if (this.#emitter.listeners["exit"].length === 0 && this.#emitter.listeners["afterExit"].length === 0) {
4036
+ this.unload();
4037
+ }
4038
+ };
4039
+ }
4040
+ load() {
4041
+ if (this.#loaded) {
4042
+ return;
4043
+ }
4044
+ this.#loaded = true;
4045
+ this.#emitter.count += 1;
4046
+ for (const sig of signals) {
4047
+ try {
4048
+ const fn = this.#sigListeners[sig];
4049
+ if (fn)
4050
+ this.#process.on(sig, fn);
4051
+ } catch (_) {
4052
+ }
4053
+ }
4054
+ this.#process.emit = (ev, ...a) => {
4055
+ return this.#processEmit(ev, ...a);
4056
+ };
4057
+ this.#process.reallyExit = (code) => {
4058
+ return this.#processReallyExit(code);
4059
+ };
4060
+ }
4061
+ unload() {
4062
+ if (!this.#loaded) {
4063
+ return;
4064
+ }
4065
+ this.#loaded = false;
4066
+ signals.forEach((sig) => {
4067
+ const listener = this.#sigListeners[sig];
4068
+ if (!listener) {
4069
+ throw new Error("Listener not defined for signal: " + sig);
4070
+ }
4071
+ try {
4072
+ this.#process.removeListener(sig, listener);
4073
+ } catch (_) {
4074
+ }
4075
+ });
4076
+ this.#process.emit = this.#originalProcessEmit;
4077
+ this.#process.reallyExit = this.#originalProcessReallyExit;
4078
+ this.#emitter.count -= 1;
4079
+ }
4080
+ #processReallyExit(code) {
4081
+ if (!processOk(this.#process)) {
4082
+ return 0;
4083
+ }
4084
+ this.#process.exitCode = code || 0;
4085
+ this.#emitter.emit("exit", this.#process.exitCode, null);
4086
+ return this.#originalProcessReallyExit.call(this.#process, this.#process.exitCode);
4087
+ }
4088
+ #processEmit(ev, ...args) {
4089
+ const og = this.#originalProcessEmit;
4090
+ if (ev === "exit" && processOk(this.#process)) {
4091
+ if (typeof args[0] === "number") {
4092
+ this.#process.exitCode = args[0];
4093
+ }
4094
+ const ret = og.call(this.#process, ev, ...args);
4095
+ this.#emitter.emit("exit", this.#process.exitCode, null);
4096
+ return ret;
4097
+ } else {
4098
+ return og.call(this.#process, ev, ...args);
4099
+ }
4100
+ }
4101
+ };
4102
+ var process2 = globalThis.process;
4103
+ var {
4104
+ /**
4105
+ * Called when the process is exiting, whether via signal, explicit
4106
+ * exit, or running out of stuff to do.
4107
+ *
4108
+ * If the global process object is not suitable for instrumentation,
4109
+ * then this will be a no-op.
4110
+ *
4111
+ * Returns a function that may be used to unload signal-exit.
4112
+ */
4113
+ onExit,
4114
+ /**
4115
+ * Load the listeners. Likely you never need to call this, unless
4116
+ * doing a rather deep integration with signal-exit functionality.
4117
+ * Mostly exposed for the benefit of testing.
4118
+ *
4119
+ * @internal
4120
+ */
4121
+ load,
4122
+ /**
4123
+ * Unload the listeners. Likely you never need to call this, unless
4124
+ * doing a rather deep integration with signal-exit functionality.
4125
+ * Mostly exposed for the benefit of testing.
4126
+ *
4127
+ * @internal
4128
+ */
4129
+ unload
4130
+ } = signalExitWrap(processOk(process2) ? new SignalExit(process2) : new SignalExitFallback());
4131
+
4132
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/screen-manager.mjs
4133
+ init_cjs_shims();
4134
+ var import_strip_ansi = __toESM(require_strip_ansi(), 1);
4135
+ var import_ansi_escapes = __toESM(require_ansi_escapes(), 1);
4136
+ var height = (content) => content.split("\n").length;
4137
+ var lastLine = (content) => content.split("\n").pop() ?? "";
4138
+ var ScreenManager = class {
4139
+ rl;
4140
+ // These variables are keeping information to allow correct prompt re-rendering
4141
+ height = 0;
4142
+ extraLinesUnderPrompt = 0;
4143
+ cursorPos;
4144
+ constructor(rl) {
4145
+ this.rl = rl;
4146
+ this.rl = rl;
4147
+ this.cursorPos = rl.getCursorPos();
4148
+ }
4149
+ render(content, bottomContent = "") {
4150
+ const promptLine = lastLine(content);
4151
+ const rawPromptLine = (0, import_strip_ansi.default)(promptLine);
4152
+ let prompt = rawPromptLine;
4153
+ if (this.rl.line.length > 0) {
4154
+ prompt = prompt.slice(0, -this.rl.line.length);
4155
+ }
4156
+ this.rl.setPrompt(prompt);
4157
+ this.cursorPos = this.rl.getCursorPos();
4158
+ const width = readlineWidth();
4159
+ content = breakLines(content, width);
4160
+ bottomContent = breakLines(bottomContent, width);
4161
+ if (rawPromptLine.length % width === 0) {
4162
+ content += "\n";
4163
+ }
4164
+ let output = content + (bottomContent ? "\n" + bottomContent : "");
4165
+ const promptLineUpDiff = Math.floor(rawPromptLine.length / width) - this.cursorPos.rows;
4166
+ const bottomContentHeight = promptLineUpDiff + (bottomContent ? height(bottomContent) : 0);
4167
+ if (bottomContentHeight > 0)
4168
+ output += import_ansi_escapes.default.cursorUp(bottomContentHeight);
4169
+ output += import_ansi_escapes.default.cursorTo(this.cursorPos.cols);
4170
+ this.clean();
4171
+ this.rl.output.unmute();
4172
+ this.extraLinesUnderPrompt = bottomContentHeight;
4173
+ this.height = height(output);
4174
+ this.rl.output.write(output);
4175
+ this.rl.output.mute();
4176
+ }
4177
+ checkCursorPos() {
4178
+ const cursorPos = this.rl.getCursorPos();
4179
+ if (cursorPos.cols !== this.cursorPos.cols) {
4180
+ this.rl.output.unmute();
4181
+ this.rl.output.write(import_ansi_escapes.default.cursorTo(cursorPos.cols));
4182
+ this.rl.output.mute();
4183
+ this.cursorPos = cursorPos;
4184
+ }
4185
+ }
4186
+ clean() {
4187
+ this.rl.output.unmute();
4188
+ this.rl.output.write([
4189
+ this.extraLinesUnderPrompt > 0 ? import_ansi_escapes.default.cursorDown(this.extraLinesUnderPrompt) : "",
4190
+ import_ansi_escapes.default.eraseLines(this.height)
4191
+ ].join(""));
4192
+ this.extraLinesUnderPrompt = 0;
4193
+ this.rl.output.mute();
4194
+ }
4195
+ clearContent() {
4196
+ this.rl.output.unmute();
4197
+ this.rl.output.write([
4198
+ this.extraLinesUnderPrompt > 0 ? import_ansi_escapes.default.cursorDown(this.extraLinesUnderPrompt) : "",
4199
+ "\n"
4200
+ ].join(""));
4201
+ this.rl.output.mute();
4202
+ }
4203
+ done() {
4204
+ this.rl.setPrompt("");
4205
+ this.rl.output.unmute();
4206
+ this.rl.output.write(import_ansi_escapes.default.cursorShow);
4207
+ this.rl.output.end();
4208
+ this.rl.close();
4209
+ }
4210
+ };
4211
+
4212
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/create-prompt.mjs
4213
+ function createPrompt(view) {
4214
+ const prompt = (config, context) => {
4215
+ const input = context?.input ?? process.stdin;
4216
+ const output = new import_mute_stream.default();
4217
+ output.pipe(context?.output ?? process.stdout);
4218
+ const rl = readline2.createInterface({
4219
+ terminal: true,
4220
+ input,
4221
+ output
4222
+ });
4223
+ const screen = new ScreenManager(rl);
4224
+ let cancel = () => {
4225
+ };
4226
+ const answer = new CancelablePromise((resolve, reject) => {
4227
+ withHooks(rl, (cycle) => {
4228
+ function checkCursorPos() {
4229
+ screen.checkCursorPos();
4230
+ }
4231
+ const removeExitListener = onExit((code, signal) => {
4232
+ onExit2();
4233
+ reject(new ExitPromptError(`User force closed the prompt with ${code} ${signal}`));
4234
+ });
4235
+ const hooksCleanup = import_node_async_hooks3.AsyncResource.bind(() => {
4236
+ try {
4237
+ effectScheduler.clearAll();
4238
+ } catch (error) {
4239
+ reject(error);
4240
+ }
4241
+ });
4242
+ function onExit2() {
4243
+ hooksCleanup();
4244
+ if (context?.clearPromptOnDone) {
4245
+ screen.clean();
4246
+ } else {
4247
+ screen.clearContent();
4248
+ }
4249
+ screen.done();
4250
+ removeExitListener();
4251
+ rl.input.removeListener("keypress", checkCursorPos);
4252
+ rl.removeListener("close", hooksCleanup);
4253
+ }
4254
+ cancel = () => {
4255
+ onExit2();
4256
+ reject(new CancelPromptError());
4257
+ };
4258
+ function done(value) {
4259
+ setImmediate(() => {
4260
+ onExit2();
4261
+ resolve(value);
4262
+ });
4263
+ }
4264
+ cycle(() => {
4265
+ try {
4266
+ const nextView = view(config, done);
4267
+ const [content, bottomContent] = typeof nextView === "string" ? [nextView] : nextView;
4268
+ screen.render(content, bottomContent);
4269
+ effectScheduler.run();
4270
+ } catch (error) {
4271
+ onExit2();
4272
+ reject(error);
4273
+ }
4274
+ });
4275
+ rl.input.on("keypress", checkCursorPos);
4276
+ rl.on("close", hooksCleanup);
4277
+ });
4278
+ });
4279
+ answer.cancel = cancel;
4280
+ return answer;
4281
+ };
4282
+ return prompt;
4283
+ }
4284
+
4285
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/Separator.mjs
4286
+ init_cjs_shims();
4287
+ var import_yoctocolors_cjs2 = __toESM(require_yoctocolors_cjs(), 1);
4288
+
4289
+ // ../../node_modules/.pnpm/@inquirer+figures@1.0.5/node_modules/@inquirer/figures/dist/esm/index.mjs
4290
+ init_cjs_shims();
4291
+ var import_node_process = __toESM(require("process"), 1);
4292
+ function isUnicodeSupported() {
4293
+ if (import_node_process.default.platform !== "win32") {
4294
+ return import_node_process.default.env["TERM"] !== "linux";
4295
+ }
4296
+ return Boolean(import_node_process.default.env["WT_SESSION"]) || // Windows Terminal
4297
+ Boolean(import_node_process.default.env["TERMINUS_SUBLIME"]) || // Terminus (<0.2.27)
4298
+ import_node_process.default.env["ConEmuTask"] === "{cmd::Cmder}" || // ConEmu and cmder
4299
+ import_node_process.default.env["TERM_PROGRAM"] === "Terminus-Sublime" || import_node_process.default.env["TERM_PROGRAM"] === "vscode" || import_node_process.default.env["TERM"] === "xterm-256color" || import_node_process.default.env["TERM"] === "alacritty" || import_node_process.default.env["TERMINAL_EMULATOR"] === "JetBrains-JediTerm";
4300
+ }
4301
+ var common = {
4302
+ circleQuestionMark: "(?)",
4303
+ questionMarkPrefix: "(?)",
4304
+ square: "\u2588",
4305
+ squareDarkShade: "\u2593",
4306
+ squareMediumShade: "\u2592",
4307
+ squareLightShade: "\u2591",
4308
+ squareTop: "\u2580",
4309
+ squareBottom: "\u2584",
4310
+ squareLeft: "\u258C",
4311
+ squareRight: "\u2590",
4312
+ squareCenter: "\u25A0",
4313
+ bullet: "\u25CF",
4314
+ dot: "\u2024",
4315
+ ellipsis: "\u2026",
4316
+ pointerSmall: "\u203A",
4317
+ triangleUp: "\u25B2",
4318
+ triangleUpSmall: "\u25B4",
4319
+ triangleDown: "\u25BC",
4320
+ triangleDownSmall: "\u25BE",
4321
+ triangleLeftSmall: "\u25C2",
4322
+ triangleRightSmall: "\u25B8",
4323
+ home: "\u2302",
4324
+ heart: "\u2665",
4325
+ musicNote: "\u266A",
4326
+ musicNoteBeamed: "\u266B",
4327
+ arrowUp: "\u2191",
4328
+ arrowDown: "\u2193",
4329
+ arrowLeft: "\u2190",
4330
+ arrowRight: "\u2192",
4331
+ arrowLeftRight: "\u2194",
4332
+ arrowUpDown: "\u2195",
4333
+ almostEqual: "\u2248",
4334
+ notEqual: "\u2260",
4335
+ lessOrEqual: "\u2264",
4336
+ greaterOrEqual: "\u2265",
4337
+ identical: "\u2261",
4338
+ infinity: "\u221E",
4339
+ subscriptZero: "\u2080",
4340
+ subscriptOne: "\u2081",
4341
+ subscriptTwo: "\u2082",
4342
+ subscriptThree: "\u2083",
4343
+ subscriptFour: "\u2084",
4344
+ subscriptFive: "\u2085",
4345
+ subscriptSix: "\u2086",
4346
+ subscriptSeven: "\u2087",
4347
+ subscriptEight: "\u2088",
4348
+ subscriptNine: "\u2089",
4349
+ oneHalf: "\xBD",
4350
+ oneThird: "\u2153",
4351
+ oneQuarter: "\xBC",
4352
+ oneFifth: "\u2155",
4353
+ oneSixth: "\u2159",
4354
+ oneEighth: "\u215B",
4355
+ twoThirds: "\u2154",
4356
+ twoFifths: "\u2156",
4357
+ threeQuarters: "\xBE",
4358
+ threeFifths: "\u2157",
4359
+ threeEighths: "\u215C",
4360
+ fourFifths: "\u2158",
4361
+ fiveSixths: "\u215A",
4362
+ fiveEighths: "\u215D",
4363
+ sevenEighths: "\u215E",
4364
+ line: "\u2500",
4365
+ lineBold: "\u2501",
4366
+ lineDouble: "\u2550",
4367
+ lineDashed0: "\u2504",
4368
+ lineDashed1: "\u2505",
4369
+ lineDashed2: "\u2508",
4370
+ lineDashed3: "\u2509",
4371
+ lineDashed4: "\u254C",
4372
+ lineDashed5: "\u254D",
4373
+ lineDashed6: "\u2574",
4374
+ lineDashed7: "\u2576",
4375
+ lineDashed8: "\u2578",
4376
+ lineDashed9: "\u257A",
4377
+ lineDashed10: "\u257C",
4378
+ lineDashed11: "\u257E",
4379
+ lineDashed12: "\u2212",
4380
+ lineDashed13: "\u2013",
4381
+ lineDashed14: "\u2010",
4382
+ lineDashed15: "\u2043",
4383
+ lineVertical: "\u2502",
4384
+ lineVerticalBold: "\u2503",
4385
+ lineVerticalDouble: "\u2551",
4386
+ lineVerticalDashed0: "\u2506",
4387
+ lineVerticalDashed1: "\u2507",
4388
+ lineVerticalDashed2: "\u250A",
4389
+ lineVerticalDashed3: "\u250B",
4390
+ lineVerticalDashed4: "\u254E",
4391
+ lineVerticalDashed5: "\u254F",
4392
+ lineVerticalDashed6: "\u2575",
4393
+ lineVerticalDashed7: "\u2577",
4394
+ lineVerticalDashed8: "\u2579",
4395
+ lineVerticalDashed9: "\u257B",
4396
+ lineVerticalDashed10: "\u257D",
4397
+ lineVerticalDashed11: "\u257F",
4398
+ lineDownLeft: "\u2510",
4399
+ lineDownLeftArc: "\u256E",
4400
+ lineDownBoldLeftBold: "\u2513",
4401
+ lineDownBoldLeft: "\u2512",
4402
+ lineDownLeftBold: "\u2511",
4403
+ lineDownDoubleLeftDouble: "\u2557",
4404
+ lineDownDoubleLeft: "\u2556",
4405
+ lineDownLeftDouble: "\u2555",
4406
+ lineDownRight: "\u250C",
4407
+ lineDownRightArc: "\u256D",
4408
+ lineDownBoldRightBold: "\u250F",
4409
+ lineDownBoldRight: "\u250E",
4410
+ lineDownRightBold: "\u250D",
4411
+ lineDownDoubleRightDouble: "\u2554",
4412
+ lineDownDoubleRight: "\u2553",
4413
+ lineDownRightDouble: "\u2552",
4414
+ lineUpLeft: "\u2518",
4415
+ lineUpLeftArc: "\u256F",
4416
+ lineUpBoldLeftBold: "\u251B",
4417
+ lineUpBoldLeft: "\u251A",
4418
+ lineUpLeftBold: "\u2519",
4419
+ lineUpDoubleLeftDouble: "\u255D",
4420
+ lineUpDoubleLeft: "\u255C",
4421
+ lineUpLeftDouble: "\u255B",
4422
+ lineUpRight: "\u2514",
4423
+ lineUpRightArc: "\u2570",
4424
+ lineUpBoldRightBold: "\u2517",
4425
+ lineUpBoldRight: "\u2516",
4426
+ lineUpRightBold: "\u2515",
4427
+ lineUpDoubleRightDouble: "\u255A",
4428
+ lineUpDoubleRight: "\u2559",
4429
+ lineUpRightDouble: "\u2558",
4430
+ lineUpDownLeft: "\u2524",
4431
+ lineUpBoldDownBoldLeftBold: "\u252B",
4432
+ lineUpBoldDownBoldLeft: "\u2528",
4433
+ lineUpDownLeftBold: "\u2525",
4434
+ lineUpBoldDownLeftBold: "\u2529",
4435
+ lineUpDownBoldLeftBold: "\u252A",
4436
+ lineUpDownBoldLeft: "\u2527",
4437
+ lineUpBoldDownLeft: "\u2526",
4438
+ lineUpDoubleDownDoubleLeftDouble: "\u2563",
4439
+ lineUpDoubleDownDoubleLeft: "\u2562",
4440
+ lineUpDownLeftDouble: "\u2561",
4441
+ lineUpDownRight: "\u251C",
4442
+ lineUpBoldDownBoldRightBold: "\u2523",
4443
+ lineUpBoldDownBoldRight: "\u2520",
4444
+ lineUpDownRightBold: "\u251D",
4445
+ lineUpBoldDownRightBold: "\u2521",
4446
+ lineUpDownBoldRightBold: "\u2522",
4447
+ lineUpDownBoldRight: "\u251F",
4448
+ lineUpBoldDownRight: "\u251E",
4449
+ lineUpDoubleDownDoubleRightDouble: "\u2560",
4450
+ lineUpDoubleDownDoubleRight: "\u255F",
4451
+ lineUpDownRightDouble: "\u255E",
4452
+ lineDownLeftRight: "\u252C",
4453
+ lineDownBoldLeftBoldRightBold: "\u2533",
4454
+ lineDownLeftBoldRightBold: "\u252F",
4455
+ lineDownBoldLeftRight: "\u2530",
4456
+ lineDownBoldLeftBoldRight: "\u2531",
4457
+ lineDownBoldLeftRightBold: "\u2532",
4458
+ lineDownLeftRightBold: "\u252E",
4459
+ lineDownLeftBoldRight: "\u252D",
4460
+ lineDownDoubleLeftDoubleRightDouble: "\u2566",
4461
+ lineDownDoubleLeftRight: "\u2565",
4462
+ lineDownLeftDoubleRightDouble: "\u2564",
4463
+ lineUpLeftRight: "\u2534",
4464
+ lineUpBoldLeftBoldRightBold: "\u253B",
4465
+ lineUpLeftBoldRightBold: "\u2537",
4466
+ lineUpBoldLeftRight: "\u2538",
4467
+ lineUpBoldLeftBoldRight: "\u2539",
4468
+ lineUpBoldLeftRightBold: "\u253A",
4469
+ lineUpLeftRightBold: "\u2536",
4470
+ lineUpLeftBoldRight: "\u2535",
4471
+ lineUpDoubleLeftDoubleRightDouble: "\u2569",
4472
+ lineUpDoubleLeftRight: "\u2568",
4473
+ lineUpLeftDoubleRightDouble: "\u2567",
4474
+ lineUpDownLeftRight: "\u253C",
4475
+ lineUpBoldDownBoldLeftBoldRightBold: "\u254B",
4476
+ lineUpDownBoldLeftBoldRightBold: "\u2548",
4477
+ lineUpBoldDownLeftBoldRightBold: "\u2547",
4478
+ lineUpBoldDownBoldLeftRightBold: "\u254A",
4479
+ lineUpBoldDownBoldLeftBoldRight: "\u2549",
4480
+ lineUpBoldDownLeftRight: "\u2540",
4481
+ lineUpDownBoldLeftRight: "\u2541",
4482
+ lineUpDownLeftBoldRight: "\u253D",
4483
+ lineUpDownLeftRightBold: "\u253E",
4484
+ lineUpBoldDownBoldLeftRight: "\u2542",
4485
+ lineUpDownLeftBoldRightBold: "\u253F",
4486
+ lineUpBoldDownLeftBoldRight: "\u2543",
4487
+ lineUpBoldDownLeftRightBold: "\u2544",
4488
+ lineUpDownBoldLeftBoldRight: "\u2545",
4489
+ lineUpDownBoldLeftRightBold: "\u2546",
4490
+ lineUpDoubleDownDoubleLeftDoubleRightDouble: "\u256C",
4491
+ lineUpDoubleDownDoubleLeftRight: "\u256B",
4492
+ lineUpDownLeftDoubleRightDouble: "\u256A",
4493
+ lineCross: "\u2573",
4494
+ lineBackslash: "\u2572",
4495
+ lineSlash: "\u2571"
4496
+ };
4497
+ var specialMainSymbols = {
4498
+ tick: "\u2714",
4499
+ info: "\u2139",
4500
+ warning: "\u26A0",
4501
+ cross: "\u2718",
4502
+ squareSmall: "\u25FB",
4503
+ squareSmallFilled: "\u25FC",
4504
+ circle: "\u25EF",
4505
+ circleFilled: "\u25C9",
4506
+ circleDotted: "\u25CC",
4507
+ circleDouble: "\u25CE",
4508
+ circleCircle: "\u24DE",
4509
+ circleCross: "\u24E7",
4510
+ circlePipe: "\u24BE",
4511
+ radioOn: "\u25C9",
4512
+ radioOff: "\u25EF",
4513
+ checkboxOn: "\u2612",
4514
+ checkboxOff: "\u2610",
4515
+ checkboxCircleOn: "\u24E7",
4516
+ checkboxCircleOff: "\u24BE",
4517
+ pointer: "\u276F",
4518
+ triangleUpOutline: "\u25B3",
4519
+ triangleLeft: "\u25C0",
4520
+ triangleRight: "\u25B6",
4521
+ lozenge: "\u25C6",
4522
+ lozengeOutline: "\u25C7",
4523
+ hamburger: "\u2630",
4524
+ smiley: "\u32E1",
4525
+ mustache: "\u0DF4",
4526
+ star: "\u2605",
4527
+ play: "\u25B6",
4528
+ nodejs: "\u2B22",
4529
+ oneSeventh: "\u2150",
4530
+ oneNinth: "\u2151",
4531
+ oneTenth: "\u2152"
4532
+ };
4533
+ var specialFallbackSymbols = {
4534
+ tick: "\u221A",
4535
+ info: "i",
4536
+ warning: "\u203C",
4537
+ cross: "\xD7",
4538
+ squareSmall: "\u25A1",
4539
+ squareSmallFilled: "\u25A0",
4540
+ circle: "( )",
4541
+ circleFilled: "(*)",
4542
+ circleDotted: "( )",
4543
+ circleDouble: "( )",
4544
+ circleCircle: "(\u25CB)",
4545
+ circleCross: "(\xD7)",
4546
+ circlePipe: "(\u2502)",
4547
+ radioOn: "(*)",
4548
+ radioOff: "( )",
4549
+ checkboxOn: "[\xD7]",
4550
+ checkboxOff: "[ ]",
4551
+ checkboxCircleOn: "(\xD7)",
4552
+ checkboxCircleOff: "( )",
4553
+ pointer: ">",
4554
+ triangleUpOutline: "\u2206",
4555
+ triangleLeft: "\u25C4",
4556
+ triangleRight: "\u25BA",
4557
+ lozenge: "\u2666",
4558
+ lozengeOutline: "\u25CA",
4559
+ hamburger: "\u2261",
4560
+ smiley: "\u263A",
4561
+ mustache: "\u250C\u2500\u2510",
4562
+ star: "\u2736",
4563
+ play: "\u25BA",
4564
+ nodejs: "\u2666",
4565
+ oneSeventh: "1/7",
4566
+ oneNinth: "1/9",
4567
+ oneTenth: "1/10"
4568
+ };
4569
+ var mainSymbols = { ...common, ...specialMainSymbols };
4570
+ var fallbackSymbols = {
4571
+ ...common,
4572
+ ...specialFallbackSymbols
4573
+ };
4574
+ var shouldUseMain = isUnicodeSupported();
4575
+ var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
4576
+ var esm_default = figures;
4577
+ var replacements = Object.entries(specialMainSymbols);
4578
+
4579
+ // ../../node_modules/.pnpm/@inquirer+core@9.0.8/node_modules/@inquirer/core/dist/esm/lib/Separator.mjs
4580
+ var Separator = class {
4581
+ separator = import_yoctocolors_cjs2.default.dim(Array.from({ length: 15 }).join(esm_default.line));
4582
+ type = "separator";
4583
+ constructor(separator) {
4584
+ if (separator) {
4585
+ this.separator = separator;
4586
+ }
4587
+ }
4588
+ static isSeparator(choice) {
4589
+ return Boolean(choice && choice.type === "separator");
4590
+ }
4591
+ };
4592
+
4593
+ // ../../node_modules/.pnpm/@inquirer+input@2.2.7/node_modules/@inquirer/input/dist/esm/index.mjs
4594
+ init_cjs_shims();
4595
+ var esm_default2 = createPrompt((config, done) => {
4596
+ const { required, validate = () => true } = config;
4597
+ const theme = makeTheme(config.theme);
4598
+ const [status, setStatus] = useState("pending");
4599
+ const [defaultValue = "", setDefaultValue] = useState(config.default);
4600
+ const [errorMsg, setError] = useState();
4601
+ const [value, setValue] = useState("");
4602
+ const isLoading = status === "loading";
4603
+ const prefix = usePrefix({ isLoading, theme });
4604
+ useKeypress(async (key, rl) => {
4605
+ if (status !== "pending") {
4606
+ return;
4607
+ }
4608
+ if (isEnterKey(key)) {
4609
+ const answer = value || defaultValue;
4610
+ setStatus("loading");
4611
+ const isValid = required && !answer ? "You must provide a value" : await validate(answer);
4612
+ if (isValid === true) {
4613
+ setValue(answer);
4614
+ setStatus("done");
4615
+ done(answer);
4616
+ } else {
4617
+ rl.write(value);
4618
+ setError(isValid || "You must provide a valid value");
4619
+ setStatus("pending");
4620
+ }
4621
+ } else if (isBackspaceKey(key) && !value) {
4622
+ setDefaultValue(void 0);
4623
+ } else if (key.name === "tab" && !value) {
4624
+ setDefaultValue(void 0);
4625
+ rl.clearLine(0);
4626
+ rl.write(defaultValue);
4627
+ setValue(defaultValue);
4628
+ } else {
4629
+ setValue(rl.line);
4630
+ setError(void 0);
4631
+ }
4632
+ });
4633
+ const message = theme.style.message(config.message);
4634
+ let formattedValue = value;
4635
+ if (typeof config.transformer === "function") {
4636
+ formattedValue = config.transformer(value, { isFinal: status === "done" });
4637
+ } else if (status === "done") {
4638
+ formattedValue = theme.style.answer(value);
4639
+ }
4640
+ let defaultStr;
4641
+ if (defaultValue && status !== "done" && !value) {
4642
+ defaultStr = theme.style.defaultAnswer(defaultValue);
4643
+ }
4644
+ let error = "";
4645
+ if (errorMsg) {
4646
+ error = theme.style.error(errorMsg);
4647
+ }
4648
+ return [
4649
+ [prefix, message, defaultStr, formattedValue].filter((v) => v !== void 0).join(" "),
4650
+ error
4651
+ ];
4652
+ });
4653
+
4654
+ // ../../node_modules/.pnpm/@inquirer+select@2.4.5/node_modules/@inquirer/select/dist/esm/index.mjs
4655
+ init_cjs_shims();
4656
+ var import_yoctocolors_cjs3 = __toESM(require_yoctocolors_cjs(), 1);
4657
+ var import_ansi_escapes2 = __toESM(require_ansi_escapes(), 1);
4658
+ var selectTheme = {
4659
+ icon: { cursor: esm_default.pointer },
4660
+ style: {
4661
+ disabled: (text) => import_yoctocolors_cjs3.default.dim(`- ${text}`),
4662
+ description: (text) => import_yoctocolors_cjs3.default.cyan(text)
4663
+ },
4664
+ helpMode: "auto"
4665
+ };
4666
+ function isSelectable(item) {
4667
+ return !Separator.isSeparator(item) && !item.disabled;
4668
+ }
4669
+ var esm_default3 = createPrompt((config, done) => {
4670
+ const { choices: items, loop = true, pageSize = 7 } = config;
4671
+ const firstRender = useRef(true);
4672
+ const theme = makeTheme(selectTheme, config.theme);
4673
+ const prefix = usePrefix({ theme });
4674
+ const [status, setStatus] = useState("pending");
4675
+ const searchTimeoutRef = useRef();
4676
+ const bounds = useMemo(() => {
4677
+ const first = items.findIndex(isSelectable);
4678
+ const last = items.findLastIndex(isSelectable);
4679
+ if (first < 0) {
4680
+ throw new ValidationError("[select prompt] No selectable choices. All choices are disabled.");
4681
+ }
4682
+ return { first, last };
4683
+ }, [items]);
4684
+ const defaultItemIndex = useMemo(() => {
4685
+ if (!("default" in config))
4686
+ return -1;
4687
+ return items.findIndex((item) => isSelectable(item) && item.value === config.default);
4688
+ }, [config.default, items]);
4689
+ const [active, setActive] = useState(defaultItemIndex === -1 ? bounds.first : defaultItemIndex);
4690
+ const selectedChoice = items[active];
4691
+ useKeypress((key, rl) => {
4692
+ clearTimeout(searchTimeoutRef.current);
4693
+ if (isEnterKey(key)) {
4694
+ setStatus("done");
4695
+ done(selectedChoice.value);
4696
+ } else if (isUpKey(key) || isDownKey(key)) {
4697
+ rl.clearLine(0);
4698
+ if (loop || isUpKey(key) && active !== bounds.first || isDownKey(key) && active !== bounds.last) {
4699
+ const offset = isUpKey(key) ? -1 : 1;
4700
+ let next = active;
4701
+ do {
4702
+ next = (next + offset + items.length) % items.length;
4703
+ } while (!isSelectable(items[next]));
4704
+ setActive(next);
4705
+ }
4706
+ } else if (isNumberKey(key)) {
4707
+ rl.clearLine(0);
4708
+ const position = Number(key.name) - 1;
4709
+ const item = items[position];
4710
+ if (item != null && isSelectable(item)) {
4711
+ setActive(position);
4712
+ }
4713
+ } else if (isBackspaceKey(key)) {
4714
+ rl.clearLine(0);
4715
+ } else {
4716
+ const searchTerm = rl.line.toLowerCase();
4717
+ const matchIndex = items.findIndex((item) => {
4718
+ if (Separator.isSeparator(item) || !isSelectable(item))
4719
+ return false;
4720
+ return String(item.name || item.value).toLowerCase().startsWith(searchTerm);
4721
+ });
4722
+ if (matchIndex >= 0) {
4723
+ setActive(matchIndex);
4724
+ }
4725
+ searchTimeoutRef.current = setTimeout(() => {
4726
+ rl.clearLine(0);
4727
+ }, 700);
4728
+ }
4729
+ });
4730
+ useEffect(() => () => {
4731
+ clearTimeout(searchTimeoutRef.current);
4732
+ }, []);
4733
+ const message = theme.style.message(config.message);
4734
+ let helpTipTop = "";
4735
+ let helpTipBottom = "";
4736
+ if (theme.helpMode === "always" || theme.helpMode === "auto" && firstRender.current) {
4737
+ firstRender.current = false;
4738
+ if (items.length > pageSize) {
4739
+ helpTipBottom = `
4740
+ ${theme.style.help("(Use arrow keys to reveal more choices)")}`;
4741
+ } else {
4742
+ helpTipTop = theme.style.help("(Use arrow keys)");
4743
+ }
4744
+ }
4745
+ const page = usePagination({
4746
+ items,
4747
+ active,
4748
+ renderItem({ item, isActive }) {
4749
+ if (Separator.isSeparator(item)) {
4750
+ return ` ${item.separator}`;
4751
+ }
4752
+ const line = item.name || item.value;
4753
+ if (item.disabled) {
4754
+ const disabledLabel = typeof item.disabled === "string" ? item.disabled : "(disabled)";
4755
+ return theme.style.disabled(`${line} ${disabledLabel}`);
4756
+ }
4757
+ const color = isActive ? theme.style.highlight : (x) => x;
4758
+ const cursor = isActive ? theme.icon.cursor : ` `;
4759
+ return color(`${cursor} ${line}`);
4760
+ },
4761
+ pageSize,
4762
+ loop
4763
+ });
4764
+ if (status === "done") {
4765
+ const answer = selectedChoice.short ?? selectedChoice.name ?? // TODO: Could we enforce that at the type level? Name should be defined for non-string values.
4766
+ String(selectedChoice.value);
4767
+ return `${prefix} ${message} ${theme.style.answer(answer)}`;
4768
+ }
4769
+ const choiceDescription = selectedChoice.description ? `
4770
+ ${theme.style.description(selectedChoice.description)}` : ``;
4771
+ return `${[prefix, message, helpTipTop].filter(Boolean).join(" ")}
4772
+ ${page}${helpTipBottom}${choiceDescription}${import_ansi_escapes2.default.cursorHide}`;
4773
+ });
4774
+
4775
+ // src/cli.ts
4776
+ var import_commander = require("commander");
4777
+ var import_fast_glob = __toESM(require("fast-glob"), 1);
4778
+ var import_fs_extra = __toESM(require("fs-extra"), 1);
4779
+ var import_package_manager_install = __toESM(require("package-manager-install"), 1);
4780
+ var import_path2 = __toESM(require("path"), 1);
4781
+ var cli = import_commander.program;
4782
+ cli.name("create-pnpm-cli").version(version);
4783
+ cli.command("create", { isDefault: true }).description("create pnpm cli").argument("[path]", "path to mkdir", "./").action(async (targetPath) => {
4784
+ const names = await (0, import_fast_glob.default)(`**`, {
4785
+ deep: 1,
4786
+ cwd: TEMPLATE_PATH,
4787
+ onlyFiles: false
4788
+ });
4789
+ const template = await esm_default3({
4790
+ message: "\u8BF7\u9009\u62E9\u6A21\u677F",
4791
+ choices: names.map((item) => ({ name: item, value: item }))
4792
+ });
4793
+ const name = await esm_default2({
4794
+ message: "\u8BF7\u8F93\u5165\u5305\u540D",
4795
+ default: template
4796
+ });
4797
+ const target = import_path2.default.join(targetPath, name);
4798
+ await import_fs_extra.default.ensureDir(target).catch((err) => handleError(err, "\u6587\u4EF6\u5939\u4E0D\u5B58\u5728"));
4799
+ await import_fs_extra.default.copy(import_path2.default.join(TEMPLATE_PATH, template), target).catch((err) => handleError(err, "\u62F7\u8D1D\u6587\u4EF6\u9519\u8BEF"));
4800
+ await (0, import_package_manager_install.default)({ cwd: target });
4801
+ });
4802
+ cli.parse();
4803
+ // Annotate the CommonJS export names for ESM import in node:
4804
+ 0 && (module.exports = {
4805
+ cli
4806
+ });