@prisma/migrate 6.6.0-dev.1 → 6.6.0-dev.12

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.
Files changed (33) hide show
  1. package/dist/Migrate.js +2 -3
  2. package/dist/bin.js +21 -24
  3. package/dist/{chunk-Q7M5ANIE.js → chunk-2B4IAB6L.js} +8 -8
  4. package/dist/{chunk-5VDXAE53.js → chunk-5PSO7BDO.js} +15 -5
  5. package/dist/{chunk-POKX77OK.js → chunk-C27ETU2R.js} +9 -9
  6. package/dist/{chunk-TPJISPJ5.js → chunk-CQZFVAXC.js} +5 -5
  7. package/dist/{chunk-ZQ3OWSVS.js → chunk-GG54LOYV.js} +5 -5
  8. package/dist/{chunk-EX2UWGES.js → chunk-HCBZB4XC.js} +6 -6
  9. package/dist/{chunk-6C7ESGWY.js → chunk-KOF4LGTS.js} +642 -9
  10. package/dist/{chunk-X6KW7BYP.js → chunk-KS7IEA6Z.js} +5 -5
  11. package/dist/chunk-MCWCB2AX.js +3038 -0
  12. package/dist/{chunk-E7OXHCDR.js → chunk-N3KYWSX2.js} +5 -5
  13. package/dist/{chunk-LZOZZRHB.js → chunk-N4XTKFY6.js} +5 -5
  14. package/dist/{chunk-A4BCLP6K.js → chunk-Q3ZLC44N.js} +5 -5
  15. package/dist/{chunk-X5N72JHI.js → chunk-WI2A2TQE.js} +5 -5
  16. package/dist/commands/DbExecute.js +3 -4
  17. package/dist/commands/DbPull.js +3 -7
  18. package/dist/commands/DbPush.js +3 -4
  19. package/dist/commands/MigrateDeploy.js +3 -4
  20. package/dist/commands/MigrateDev.js +3 -4
  21. package/dist/commands/MigrateDiff.js +3 -4
  22. package/dist/commands/MigrateReset.js +3 -4
  23. package/dist/commands/MigrateResolve.js +3 -4
  24. package/dist/commands/MigrateStatus.js +3 -4
  25. package/dist/index.js +21 -24
  26. package/dist/utils/setupMSSQL.js +123 -21
  27. package/dist/utils/setupMongo.js +6048 -5470
  28. package/dist/utils/spinner.js +2 -6
  29. package/package.json +10 -10
  30. package/dist/chunk-DIAO4W7O.js +0 -5774
  31. package/dist/chunk-KXMACMQC.js +0 -660
  32. package/dist/chunk-RM5LJIEV.js +0 -35
  33. package/dist/chunk-YUCPBDWV.js +0 -131
@@ -0,0 +1,3038 @@
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 __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var chunk_MCWCB2AX_exports = {};
30
+ __export(chunk_MCWCB2AX_exports, {
31
+ createSpinner: () => createSpinner
32
+ });
33
+ module.exports = __toCommonJS(chunk_MCWCB2AX_exports);
34
+ var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
35
+ var import_node_process = __toESM(require("node:process"));
36
+ var import_node_process2 = __toESM(require("node:process"));
37
+ var import_node_os = __toESM(require("node:os"));
38
+ var import_node_tty = __toESM(require("node:tty"));
39
+ var import_node_process3 = __toESM(require("node:process"));
40
+ var import_node_process4 = __toESM(require("node:process"));
41
+ var import_node_process5 = __toESM(require("node:process"));
42
+ var import_node_process6 = __toESM(require("node:process"));
43
+ var import_node_process7 = __toESM(require("node:process"));
44
+ var require_spinners = (0, import_chunk_WWAWV7DQ.__commonJS)({
45
+ "../../node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json"(exports, module2) {
46
+ module2.exports = {
47
+ dots: {
48
+ interval: 80,
49
+ frames: [
50
+ "\u280B",
51
+ "\u2819",
52
+ "\u2839",
53
+ "\u2838",
54
+ "\u283C",
55
+ "\u2834",
56
+ "\u2826",
57
+ "\u2827",
58
+ "\u2807",
59
+ "\u280F"
60
+ ]
61
+ },
62
+ dots2: {
63
+ interval: 80,
64
+ frames: [
65
+ "\u28FE",
66
+ "\u28FD",
67
+ "\u28FB",
68
+ "\u28BF",
69
+ "\u287F",
70
+ "\u28DF",
71
+ "\u28EF",
72
+ "\u28F7"
73
+ ]
74
+ },
75
+ dots3: {
76
+ interval: 80,
77
+ frames: [
78
+ "\u280B",
79
+ "\u2819",
80
+ "\u281A",
81
+ "\u281E",
82
+ "\u2816",
83
+ "\u2826",
84
+ "\u2834",
85
+ "\u2832",
86
+ "\u2833",
87
+ "\u2813"
88
+ ]
89
+ },
90
+ dots4: {
91
+ interval: 80,
92
+ frames: [
93
+ "\u2804",
94
+ "\u2806",
95
+ "\u2807",
96
+ "\u280B",
97
+ "\u2819",
98
+ "\u2838",
99
+ "\u2830",
100
+ "\u2820",
101
+ "\u2830",
102
+ "\u2838",
103
+ "\u2819",
104
+ "\u280B",
105
+ "\u2807",
106
+ "\u2806"
107
+ ]
108
+ },
109
+ dots5: {
110
+ interval: 80,
111
+ frames: [
112
+ "\u280B",
113
+ "\u2819",
114
+ "\u281A",
115
+ "\u2812",
116
+ "\u2802",
117
+ "\u2802",
118
+ "\u2812",
119
+ "\u2832",
120
+ "\u2834",
121
+ "\u2826",
122
+ "\u2816",
123
+ "\u2812",
124
+ "\u2810",
125
+ "\u2810",
126
+ "\u2812",
127
+ "\u2813",
128
+ "\u280B"
129
+ ]
130
+ },
131
+ dots6: {
132
+ interval: 80,
133
+ frames: [
134
+ "\u2801",
135
+ "\u2809",
136
+ "\u2819",
137
+ "\u281A",
138
+ "\u2812",
139
+ "\u2802",
140
+ "\u2802",
141
+ "\u2812",
142
+ "\u2832",
143
+ "\u2834",
144
+ "\u2824",
145
+ "\u2804",
146
+ "\u2804",
147
+ "\u2824",
148
+ "\u2834",
149
+ "\u2832",
150
+ "\u2812",
151
+ "\u2802",
152
+ "\u2802",
153
+ "\u2812",
154
+ "\u281A",
155
+ "\u2819",
156
+ "\u2809",
157
+ "\u2801"
158
+ ]
159
+ },
160
+ dots7: {
161
+ interval: 80,
162
+ frames: [
163
+ "\u2808",
164
+ "\u2809",
165
+ "\u280B",
166
+ "\u2813",
167
+ "\u2812",
168
+ "\u2810",
169
+ "\u2810",
170
+ "\u2812",
171
+ "\u2816",
172
+ "\u2826",
173
+ "\u2824",
174
+ "\u2820",
175
+ "\u2820",
176
+ "\u2824",
177
+ "\u2826",
178
+ "\u2816",
179
+ "\u2812",
180
+ "\u2810",
181
+ "\u2810",
182
+ "\u2812",
183
+ "\u2813",
184
+ "\u280B",
185
+ "\u2809",
186
+ "\u2808"
187
+ ]
188
+ },
189
+ dots8: {
190
+ interval: 80,
191
+ frames: [
192
+ "\u2801",
193
+ "\u2801",
194
+ "\u2809",
195
+ "\u2819",
196
+ "\u281A",
197
+ "\u2812",
198
+ "\u2802",
199
+ "\u2802",
200
+ "\u2812",
201
+ "\u2832",
202
+ "\u2834",
203
+ "\u2824",
204
+ "\u2804",
205
+ "\u2804",
206
+ "\u2824",
207
+ "\u2820",
208
+ "\u2820",
209
+ "\u2824",
210
+ "\u2826",
211
+ "\u2816",
212
+ "\u2812",
213
+ "\u2810",
214
+ "\u2810",
215
+ "\u2812",
216
+ "\u2813",
217
+ "\u280B",
218
+ "\u2809",
219
+ "\u2808",
220
+ "\u2808"
221
+ ]
222
+ },
223
+ dots9: {
224
+ interval: 80,
225
+ frames: [
226
+ "\u28B9",
227
+ "\u28BA",
228
+ "\u28BC",
229
+ "\u28F8",
230
+ "\u28C7",
231
+ "\u2867",
232
+ "\u2857",
233
+ "\u284F"
234
+ ]
235
+ },
236
+ dots10: {
237
+ interval: 80,
238
+ frames: [
239
+ "\u2884",
240
+ "\u2882",
241
+ "\u2881",
242
+ "\u2841",
243
+ "\u2848",
244
+ "\u2850",
245
+ "\u2860"
246
+ ]
247
+ },
248
+ dots11: {
249
+ interval: 100,
250
+ frames: [
251
+ "\u2801",
252
+ "\u2802",
253
+ "\u2804",
254
+ "\u2840",
255
+ "\u2880",
256
+ "\u2820",
257
+ "\u2810",
258
+ "\u2808"
259
+ ]
260
+ },
261
+ dots12: {
262
+ interval: 80,
263
+ frames: [
264
+ "\u2880\u2800",
265
+ "\u2840\u2800",
266
+ "\u2804\u2800",
267
+ "\u2882\u2800",
268
+ "\u2842\u2800",
269
+ "\u2805\u2800",
270
+ "\u2883\u2800",
271
+ "\u2843\u2800",
272
+ "\u280D\u2800",
273
+ "\u288B\u2800",
274
+ "\u284B\u2800",
275
+ "\u280D\u2801",
276
+ "\u288B\u2801",
277
+ "\u284B\u2801",
278
+ "\u280D\u2809",
279
+ "\u280B\u2809",
280
+ "\u280B\u2809",
281
+ "\u2809\u2819",
282
+ "\u2809\u2819",
283
+ "\u2809\u2829",
284
+ "\u2808\u2899",
285
+ "\u2808\u2859",
286
+ "\u2888\u2829",
287
+ "\u2840\u2899",
288
+ "\u2804\u2859",
289
+ "\u2882\u2829",
290
+ "\u2842\u2898",
291
+ "\u2805\u2858",
292
+ "\u2883\u2828",
293
+ "\u2843\u2890",
294
+ "\u280D\u2850",
295
+ "\u288B\u2820",
296
+ "\u284B\u2880",
297
+ "\u280D\u2841",
298
+ "\u288B\u2801",
299
+ "\u284B\u2801",
300
+ "\u280D\u2809",
301
+ "\u280B\u2809",
302
+ "\u280B\u2809",
303
+ "\u2809\u2819",
304
+ "\u2809\u2819",
305
+ "\u2809\u2829",
306
+ "\u2808\u2899",
307
+ "\u2808\u2859",
308
+ "\u2808\u2829",
309
+ "\u2800\u2899",
310
+ "\u2800\u2859",
311
+ "\u2800\u2829",
312
+ "\u2800\u2898",
313
+ "\u2800\u2858",
314
+ "\u2800\u2828",
315
+ "\u2800\u2890",
316
+ "\u2800\u2850",
317
+ "\u2800\u2820",
318
+ "\u2800\u2880",
319
+ "\u2800\u2840"
320
+ ]
321
+ },
322
+ dots13: {
323
+ interval: 80,
324
+ frames: [
325
+ "\u28FC",
326
+ "\u28F9",
327
+ "\u28BB",
328
+ "\u283F",
329
+ "\u285F",
330
+ "\u28CF",
331
+ "\u28E7",
332
+ "\u28F6"
333
+ ]
334
+ },
335
+ dots8Bit: {
336
+ interval: 80,
337
+ frames: [
338
+ "\u2800",
339
+ "\u2801",
340
+ "\u2802",
341
+ "\u2803",
342
+ "\u2804",
343
+ "\u2805",
344
+ "\u2806",
345
+ "\u2807",
346
+ "\u2840",
347
+ "\u2841",
348
+ "\u2842",
349
+ "\u2843",
350
+ "\u2844",
351
+ "\u2845",
352
+ "\u2846",
353
+ "\u2847",
354
+ "\u2808",
355
+ "\u2809",
356
+ "\u280A",
357
+ "\u280B",
358
+ "\u280C",
359
+ "\u280D",
360
+ "\u280E",
361
+ "\u280F",
362
+ "\u2848",
363
+ "\u2849",
364
+ "\u284A",
365
+ "\u284B",
366
+ "\u284C",
367
+ "\u284D",
368
+ "\u284E",
369
+ "\u284F",
370
+ "\u2810",
371
+ "\u2811",
372
+ "\u2812",
373
+ "\u2813",
374
+ "\u2814",
375
+ "\u2815",
376
+ "\u2816",
377
+ "\u2817",
378
+ "\u2850",
379
+ "\u2851",
380
+ "\u2852",
381
+ "\u2853",
382
+ "\u2854",
383
+ "\u2855",
384
+ "\u2856",
385
+ "\u2857",
386
+ "\u2818",
387
+ "\u2819",
388
+ "\u281A",
389
+ "\u281B",
390
+ "\u281C",
391
+ "\u281D",
392
+ "\u281E",
393
+ "\u281F",
394
+ "\u2858",
395
+ "\u2859",
396
+ "\u285A",
397
+ "\u285B",
398
+ "\u285C",
399
+ "\u285D",
400
+ "\u285E",
401
+ "\u285F",
402
+ "\u2820",
403
+ "\u2821",
404
+ "\u2822",
405
+ "\u2823",
406
+ "\u2824",
407
+ "\u2825",
408
+ "\u2826",
409
+ "\u2827",
410
+ "\u2860",
411
+ "\u2861",
412
+ "\u2862",
413
+ "\u2863",
414
+ "\u2864",
415
+ "\u2865",
416
+ "\u2866",
417
+ "\u2867",
418
+ "\u2828",
419
+ "\u2829",
420
+ "\u282A",
421
+ "\u282B",
422
+ "\u282C",
423
+ "\u282D",
424
+ "\u282E",
425
+ "\u282F",
426
+ "\u2868",
427
+ "\u2869",
428
+ "\u286A",
429
+ "\u286B",
430
+ "\u286C",
431
+ "\u286D",
432
+ "\u286E",
433
+ "\u286F",
434
+ "\u2830",
435
+ "\u2831",
436
+ "\u2832",
437
+ "\u2833",
438
+ "\u2834",
439
+ "\u2835",
440
+ "\u2836",
441
+ "\u2837",
442
+ "\u2870",
443
+ "\u2871",
444
+ "\u2872",
445
+ "\u2873",
446
+ "\u2874",
447
+ "\u2875",
448
+ "\u2876",
449
+ "\u2877",
450
+ "\u2838",
451
+ "\u2839",
452
+ "\u283A",
453
+ "\u283B",
454
+ "\u283C",
455
+ "\u283D",
456
+ "\u283E",
457
+ "\u283F",
458
+ "\u2878",
459
+ "\u2879",
460
+ "\u287A",
461
+ "\u287B",
462
+ "\u287C",
463
+ "\u287D",
464
+ "\u287E",
465
+ "\u287F",
466
+ "\u2880",
467
+ "\u2881",
468
+ "\u2882",
469
+ "\u2883",
470
+ "\u2884",
471
+ "\u2885",
472
+ "\u2886",
473
+ "\u2887",
474
+ "\u28C0",
475
+ "\u28C1",
476
+ "\u28C2",
477
+ "\u28C3",
478
+ "\u28C4",
479
+ "\u28C5",
480
+ "\u28C6",
481
+ "\u28C7",
482
+ "\u2888",
483
+ "\u2889",
484
+ "\u288A",
485
+ "\u288B",
486
+ "\u288C",
487
+ "\u288D",
488
+ "\u288E",
489
+ "\u288F",
490
+ "\u28C8",
491
+ "\u28C9",
492
+ "\u28CA",
493
+ "\u28CB",
494
+ "\u28CC",
495
+ "\u28CD",
496
+ "\u28CE",
497
+ "\u28CF",
498
+ "\u2890",
499
+ "\u2891",
500
+ "\u2892",
501
+ "\u2893",
502
+ "\u2894",
503
+ "\u2895",
504
+ "\u2896",
505
+ "\u2897",
506
+ "\u28D0",
507
+ "\u28D1",
508
+ "\u28D2",
509
+ "\u28D3",
510
+ "\u28D4",
511
+ "\u28D5",
512
+ "\u28D6",
513
+ "\u28D7",
514
+ "\u2898",
515
+ "\u2899",
516
+ "\u289A",
517
+ "\u289B",
518
+ "\u289C",
519
+ "\u289D",
520
+ "\u289E",
521
+ "\u289F",
522
+ "\u28D8",
523
+ "\u28D9",
524
+ "\u28DA",
525
+ "\u28DB",
526
+ "\u28DC",
527
+ "\u28DD",
528
+ "\u28DE",
529
+ "\u28DF",
530
+ "\u28A0",
531
+ "\u28A1",
532
+ "\u28A2",
533
+ "\u28A3",
534
+ "\u28A4",
535
+ "\u28A5",
536
+ "\u28A6",
537
+ "\u28A7",
538
+ "\u28E0",
539
+ "\u28E1",
540
+ "\u28E2",
541
+ "\u28E3",
542
+ "\u28E4",
543
+ "\u28E5",
544
+ "\u28E6",
545
+ "\u28E7",
546
+ "\u28A8",
547
+ "\u28A9",
548
+ "\u28AA",
549
+ "\u28AB",
550
+ "\u28AC",
551
+ "\u28AD",
552
+ "\u28AE",
553
+ "\u28AF",
554
+ "\u28E8",
555
+ "\u28E9",
556
+ "\u28EA",
557
+ "\u28EB",
558
+ "\u28EC",
559
+ "\u28ED",
560
+ "\u28EE",
561
+ "\u28EF",
562
+ "\u28B0",
563
+ "\u28B1",
564
+ "\u28B2",
565
+ "\u28B3",
566
+ "\u28B4",
567
+ "\u28B5",
568
+ "\u28B6",
569
+ "\u28B7",
570
+ "\u28F0",
571
+ "\u28F1",
572
+ "\u28F2",
573
+ "\u28F3",
574
+ "\u28F4",
575
+ "\u28F5",
576
+ "\u28F6",
577
+ "\u28F7",
578
+ "\u28B8",
579
+ "\u28B9",
580
+ "\u28BA",
581
+ "\u28BB",
582
+ "\u28BC",
583
+ "\u28BD",
584
+ "\u28BE",
585
+ "\u28BF",
586
+ "\u28F8",
587
+ "\u28F9",
588
+ "\u28FA",
589
+ "\u28FB",
590
+ "\u28FC",
591
+ "\u28FD",
592
+ "\u28FE",
593
+ "\u28FF"
594
+ ]
595
+ },
596
+ sand: {
597
+ interval: 80,
598
+ frames: [
599
+ "\u2801",
600
+ "\u2802",
601
+ "\u2804",
602
+ "\u2840",
603
+ "\u2848",
604
+ "\u2850",
605
+ "\u2860",
606
+ "\u28C0",
607
+ "\u28C1",
608
+ "\u28C2",
609
+ "\u28C4",
610
+ "\u28CC",
611
+ "\u28D4",
612
+ "\u28E4",
613
+ "\u28E5",
614
+ "\u28E6",
615
+ "\u28EE",
616
+ "\u28F6",
617
+ "\u28F7",
618
+ "\u28FF",
619
+ "\u287F",
620
+ "\u283F",
621
+ "\u289F",
622
+ "\u281F",
623
+ "\u285B",
624
+ "\u281B",
625
+ "\u282B",
626
+ "\u288B",
627
+ "\u280B",
628
+ "\u280D",
629
+ "\u2849",
630
+ "\u2809",
631
+ "\u2811",
632
+ "\u2821",
633
+ "\u2881"
634
+ ]
635
+ },
636
+ line: {
637
+ interval: 130,
638
+ frames: [
639
+ "-",
640
+ "\\",
641
+ "|",
642
+ "/"
643
+ ]
644
+ },
645
+ line2: {
646
+ interval: 100,
647
+ frames: [
648
+ "\u2802",
649
+ "-",
650
+ "\u2013",
651
+ "\u2014",
652
+ "\u2013",
653
+ "-"
654
+ ]
655
+ },
656
+ pipe: {
657
+ interval: 100,
658
+ frames: [
659
+ "\u2524",
660
+ "\u2518",
661
+ "\u2534",
662
+ "\u2514",
663
+ "\u251C",
664
+ "\u250C",
665
+ "\u252C",
666
+ "\u2510"
667
+ ]
668
+ },
669
+ simpleDots: {
670
+ interval: 400,
671
+ frames: [
672
+ ". ",
673
+ ".. ",
674
+ "...",
675
+ " "
676
+ ]
677
+ },
678
+ simpleDotsScrolling: {
679
+ interval: 200,
680
+ frames: [
681
+ ". ",
682
+ ".. ",
683
+ "...",
684
+ " ..",
685
+ " .",
686
+ " "
687
+ ]
688
+ },
689
+ star: {
690
+ interval: 70,
691
+ frames: [
692
+ "\u2736",
693
+ "\u2738",
694
+ "\u2739",
695
+ "\u273A",
696
+ "\u2739",
697
+ "\u2737"
698
+ ]
699
+ },
700
+ star2: {
701
+ interval: 80,
702
+ frames: [
703
+ "+",
704
+ "x",
705
+ "*"
706
+ ]
707
+ },
708
+ flip: {
709
+ interval: 70,
710
+ frames: [
711
+ "_",
712
+ "_",
713
+ "_",
714
+ "-",
715
+ "`",
716
+ "`",
717
+ "'",
718
+ "\xB4",
719
+ "-",
720
+ "_",
721
+ "_",
722
+ "_"
723
+ ]
724
+ },
725
+ hamburger: {
726
+ interval: 100,
727
+ frames: [
728
+ "\u2631",
729
+ "\u2632",
730
+ "\u2634"
731
+ ]
732
+ },
733
+ growVertical: {
734
+ interval: 120,
735
+ frames: [
736
+ "\u2581",
737
+ "\u2583",
738
+ "\u2584",
739
+ "\u2585",
740
+ "\u2586",
741
+ "\u2587",
742
+ "\u2586",
743
+ "\u2585",
744
+ "\u2584",
745
+ "\u2583"
746
+ ]
747
+ },
748
+ growHorizontal: {
749
+ interval: 120,
750
+ frames: [
751
+ "\u258F",
752
+ "\u258E",
753
+ "\u258D",
754
+ "\u258C",
755
+ "\u258B",
756
+ "\u258A",
757
+ "\u2589",
758
+ "\u258A",
759
+ "\u258B",
760
+ "\u258C",
761
+ "\u258D",
762
+ "\u258E"
763
+ ]
764
+ },
765
+ balloon: {
766
+ interval: 140,
767
+ frames: [
768
+ " ",
769
+ ".",
770
+ "o",
771
+ "O",
772
+ "@",
773
+ "*",
774
+ " "
775
+ ]
776
+ },
777
+ balloon2: {
778
+ interval: 120,
779
+ frames: [
780
+ ".",
781
+ "o",
782
+ "O",
783
+ "\xB0",
784
+ "O",
785
+ "o",
786
+ "."
787
+ ]
788
+ },
789
+ noise: {
790
+ interval: 100,
791
+ frames: [
792
+ "\u2593",
793
+ "\u2592",
794
+ "\u2591"
795
+ ]
796
+ },
797
+ bounce: {
798
+ interval: 120,
799
+ frames: [
800
+ "\u2801",
801
+ "\u2802",
802
+ "\u2804",
803
+ "\u2802"
804
+ ]
805
+ },
806
+ boxBounce: {
807
+ interval: 120,
808
+ frames: [
809
+ "\u2596",
810
+ "\u2598",
811
+ "\u259D",
812
+ "\u2597"
813
+ ]
814
+ },
815
+ boxBounce2: {
816
+ interval: 100,
817
+ frames: [
818
+ "\u258C",
819
+ "\u2580",
820
+ "\u2590",
821
+ "\u2584"
822
+ ]
823
+ },
824
+ triangle: {
825
+ interval: 50,
826
+ frames: [
827
+ "\u25E2",
828
+ "\u25E3",
829
+ "\u25E4",
830
+ "\u25E5"
831
+ ]
832
+ },
833
+ binary: {
834
+ interval: 80,
835
+ frames: [
836
+ "010010",
837
+ "001100",
838
+ "100101",
839
+ "111010",
840
+ "111101",
841
+ "010111",
842
+ "101011",
843
+ "111000",
844
+ "110011",
845
+ "110101"
846
+ ]
847
+ },
848
+ arc: {
849
+ interval: 100,
850
+ frames: [
851
+ "\u25DC",
852
+ "\u25E0",
853
+ "\u25DD",
854
+ "\u25DE",
855
+ "\u25E1",
856
+ "\u25DF"
857
+ ]
858
+ },
859
+ circle: {
860
+ interval: 120,
861
+ frames: [
862
+ "\u25E1",
863
+ "\u2299",
864
+ "\u25E0"
865
+ ]
866
+ },
867
+ squareCorners: {
868
+ interval: 180,
869
+ frames: [
870
+ "\u25F0",
871
+ "\u25F3",
872
+ "\u25F2",
873
+ "\u25F1"
874
+ ]
875
+ },
876
+ circleQuarters: {
877
+ interval: 120,
878
+ frames: [
879
+ "\u25F4",
880
+ "\u25F7",
881
+ "\u25F6",
882
+ "\u25F5"
883
+ ]
884
+ },
885
+ circleHalves: {
886
+ interval: 50,
887
+ frames: [
888
+ "\u25D0",
889
+ "\u25D3",
890
+ "\u25D1",
891
+ "\u25D2"
892
+ ]
893
+ },
894
+ squish: {
895
+ interval: 100,
896
+ frames: [
897
+ "\u256B",
898
+ "\u256A"
899
+ ]
900
+ },
901
+ toggle: {
902
+ interval: 250,
903
+ frames: [
904
+ "\u22B6",
905
+ "\u22B7"
906
+ ]
907
+ },
908
+ toggle2: {
909
+ interval: 80,
910
+ frames: [
911
+ "\u25AB",
912
+ "\u25AA"
913
+ ]
914
+ },
915
+ toggle3: {
916
+ interval: 120,
917
+ frames: [
918
+ "\u25A1",
919
+ "\u25A0"
920
+ ]
921
+ },
922
+ toggle4: {
923
+ interval: 100,
924
+ frames: [
925
+ "\u25A0",
926
+ "\u25A1",
927
+ "\u25AA",
928
+ "\u25AB"
929
+ ]
930
+ },
931
+ toggle5: {
932
+ interval: 100,
933
+ frames: [
934
+ "\u25AE",
935
+ "\u25AF"
936
+ ]
937
+ },
938
+ toggle6: {
939
+ interval: 300,
940
+ frames: [
941
+ "\u101D",
942
+ "\u1040"
943
+ ]
944
+ },
945
+ toggle7: {
946
+ interval: 80,
947
+ frames: [
948
+ "\u29BE",
949
+ "\u29BF"
950
+ ]
951
+ },
952
+ toggle8: {
953
+ interval: 100,
954
+ frames: [
955
+ "\u25CD",
956
+ "\u25CC"
957
+ ]
958
+ },
959
+ toggle9: {
960
+ interval: 100,
961
+ frames: [
962
+ "\u25C9",
963
+ "\u25CE"
964
+ ]
965
+ },
966
+ toggle10: {
967
+ interval: 100,
968
+ frames: [
969
+ "\u3282",
970
+ "\u3280",
971
+ "\u3281"
972
+ ]
973
+ },
974
+ toggle11: {
975
+ interval: 50,
976
+ frames: [
977
+ "\u29C7",
978
+ "\u29C6"
979
+ ]
980
+ },
981
+ toggle12: {
982
+ interval: 120,
983
+ frames: [
984
+ "\u2617",
985
+ "\u2616"
986
+ ]
987
+ },
988
+ toggle13: {
989
+ interval: 80,
990
+ frames: [
991
+ "=",
992
+ "*",
993
+ "-"
994
+ ]
995
+ },
996
+ arrow: {
997
+ interval: 100,
998
+ frames: [
999
+ "\u2190",
1000
+ "\u2196",
1001
+ "\u2191",
1002
+ "\u2197",
1003
+ "\u2192",
1004
+ "\u2198",
1005
+ "\u2193",
1006
+ "\u2199"
1007
+ ]
1008
+ },
1009
+ arrow2: {
1010
+ interval: 80,
1011
+ frames: [
1012
+ "\u2B06\uFE0F ",
1013
+ "\u2197\uFE0F ",
1014
+ "\u27A1\uFE0F ",
1015
+ "\u2198\uFE0F ",
1016
+ "\u2B07\uFE0F ",
1017
+ "\u2199\uFE0F ",
1018
+ "\u2B05\uFE0F ",
1019
+ "\u2196\uFE0F "
1020
+ ]
1021
+ },
1022
+ arrow3: {
1023
+ interval: 120,
1024
+ frames: [
1025
+ "\u25B9\u25B9\u25B9\u25B9\u25B9",
1026
+ "\u25B8\u25B9\u25B9\u25B9\u25B9",
1027
+ "\u25B9\u25B8\u25B9\u25B9\u25B9",
1028
+ "\u25B9\u25B9\u25B8\u25B9\u25B9",
1029
+ "\u25B9\u25B9\u25B9\u25B8\u25B9",
1030
+ "\u25B9\u25B9\u25B9\u25B9\u25B8"
1031
+ ]
1032
+ },
1033
+ bouncingBar: {
1034
+ interval: 80,
1035
+ frames: [
1036
+ "[ ]",
1037
+ "[= ]",
1038
+ "[== ]",
1039
+ "[=== ]",
1040
+ "[====]",
1041
+ "[ ===]",
1042
+ "[ ==]",
1043
+ "[ =]",
1044
+ "[ ]",
1045
+ "[ =]",
1046
+ "[ ==]",
1047
+ "[ ===]",
1048
+ "[====]",
1049
+ "[=== ]",
1050
+ "[== ]",
1051
+ "[= ]"
1052
+ ]
1053
+ },
1054
+ bouncingBall: {
1055
+ interval: 80,
1056
+ frames: [
1057
+ "( \u25CF )",
1058
+ "( \u25CF )",
1059
+ "( \u25CF )",
1060
+ "( \u25CF )",
1061
+ "( \u25CF)",
1062
+ "( \u25CF )",
1063
+ "( \u25CF )",
1064
+ "( \u25CF )",
1065
+ "( \u25CF )",
1066
+ "(\u25CF )"
1067
+ ]
1068
+ },
1069
+ smiley: {
1070
+ interval: 200,
1071
+ frames: [
1072
+ "\u{1F604} ",
1073
+ "\u{1F61D} "
1074
+ ]
1075
+ },
1076
+ monkey: {
1077
+ interval: 300,
1078
+ frames: [
1079
+ "\u{1F648} ",
1080
+ "\u{1F648} ",
1081
+ "\u{1F649} ",
1082
+ "\u{1F64A} "
1083
+ ]
1084
+ },
1085
+ hearts: {
1086
+ interval: 100,
1087
+ frames: [
1088
+ "\u{1F49B} ",
1089
+ "\u{1F499} ",
1090
+ "\u{1F49C} ",
1091
+ "\u{1F49A} ",
1092
+ "\u2764\uFE0F "
1093
+ ]
1094
+ },
1095
+ clock: {
1096
+ interval: 100,
1097
+ frames: [
1098
+ "\u{1F55B} ",
1099
+ "\u{1F550} ",
1100
+ "\u{1F551} ",
1101
+ "\u{1F552} ",
1102
+ "\u{1F553} ",
1103
+ "\u{1F554} ",
1104
+ "\u{1F555} ",
1105
+ "\u{1F556} ",
1106
+ "\u{1F557} ",
1107
+ "\u{1F558} ",
1108
+ "\u{1F559} ",
1109
+ "\u{1F55A} "
1110
+ ]
1111
+ },
1112
+ earth: {
1113
+ interval: 180,
1114
+ frames: [
1115
+ "\u{1F30D} ",
1116
+ "\u{1F30E} ",
1117
+ "\u{1F30F} "
1118
+ ]
1119
+ },
1120
+ material: {
1121
+ interval: 17,
1122
+ frames: [
1123
+ "\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1124
+ "\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1125
+ "\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1126
+ "\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1127
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1128
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1129
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1130
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1131
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1132
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1133
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1134
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1135
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1136
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1137
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1138
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1139
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1140
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1141
+ "\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581",
1142
+ "\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1143
+ "\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1144
+ "\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1145
+ "\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1146
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1147
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1148
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1149
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1150
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1151
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1152
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1153
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1154
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1155
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1156
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1157
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1158
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1159
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1160
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1161
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588",
1162
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
1163
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
1164
+ "\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1165
+ "\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1166
+ "\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1167
+ "\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1168
+ "\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1169
+ "\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1170
+ "\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1171
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1172
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1173
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1174
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1175
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1176
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1177
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1178
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1179
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1180
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1181
+ "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581",
1182
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1183
+ "\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581",
1184
+ "\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581",
1185
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1186
+ "\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1187
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1188
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1189
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581",
1190
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1191
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581",
1192
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1193
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1194
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1195
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1196
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581",
1197
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1198
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588",
1199
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588",
1200
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1201
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1202
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588",
1203
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1204
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588",
1205
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1206
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1207
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588",
1208
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1209
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1210
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588",
1211
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1212
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1213
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581",
1214
+ "\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"
1215
+ ]
1216
+ },
1217
+ moon: {
1218
+ interval: 80,
1219
+ frames: [
1220
+ "\u{1F311} ",
1221
+ "\u{1F312} ",
1222
+ "\u{1F313} ",
1223
+ "\u{1F314} ",
1224
+ "\u{1F315} ",
1225
+ "\u{1F316} ",
1226
+ "\u{1F317} ",
1227
+ "\u{1F318} "
1228
+ ]
1229
+ },
1230
+ runner: {
1231
+ interval: 140,
1232
+ frames: [
1233
+ "\u{1F6B6} ",
1234
+ "\u{1F3C3} "
1235
+ ]
1236
+ },
1237
+ pong: {
1238
+ interval: 80,
1239
+ frames: [
1240
+ "\u2590\u2802 \u258C",
1241
+ "\u2590\u2808 \u258C",
1242
+ "\u2590 \u2802 \u258C",
1243
+ "\u2590 \u2820 \u258C",
1244
+ "\u2590 \u2840 \u258C",
1245
+ "\u2590 \u2820 \u258C",
1246
+ "\u2590 \u2802 \u258C",
1247
+ "\u2590 \u2808 \u258C",
1248
+ "\u2590 \u2802 \u258C",
1249
+ "\u2590 \u2820 \u258C",
1250
+ "\u2590 \u2840 \u258C",
1251
+ "\u2590 \u2820 \u258C",
1252
+ "\u2590 \u2802 \u258C",
1253
+ "\u2590 \u2808 \u258C",
1254
+ "\u2590 \u2802\u258C",
1255
+ "\u2590 \u2820\u258C",
1256
+ "\u2590 \u2840\u258C",
1257
+ "\u2590 \u2820 \u258C",
1258
+ "\u2590 \u2802 \u258C",
1259
+ "\u2590 \u2808 \u258C",
1260
+ "\u2590 \u2802 \u258C",
1261
+ "\u2590 \u2820 \u258C",
1262
+ "\u2590 \u2840 \u258C",
1263
+ "\u2590 \u2820 \u258C",
1264
+ "\u2590 \u2802 \u258C",
1265
+ "\u2590 \u2808 \u258C",
1266
+ "\u2590 \u2802 \u258C",
1267
+ "\u2590 \u2820 \u258C",
1268
+ "\u2590 \u2840 \u258C",
1269
+ "\u2590\u2820 \u258C"
1270
+ ]
1271
+ },
1272
+ shark: {
1273
+ interval: 120,
1274
+ frames: [
1275
+ "\u2590|\\____________\u258C",
1276
+ "\u2590_|\\___________\u258C",
1277
+ "\u2590__|\\__________\u258C",
1278
+ "\u2590___|\\_________\u258C",
1279
+ "\u2590____|\\________\u258C",
1280
+ "\u2590_____|\\_______\u258C",
1281
+ "\u2590______|\\______\u258C",
1282
+ "\u2590_______|\\_____\u258C",
1283
+ "\u2590________|\\____\u258C",
1284
+ "\u2590_________|\\___\u258C",
1285
+ "\u2590__________|\\__\u258C",
1286
+ "\u2590___________|\\_\u258C",
1287
+ "\u2590____________|\\\u258C",
1288
+ "\u2590____________/|\u258C",
1289
+ "\u2590___________/|_\u258C",
1290
+ "\u2590__________/|__\u258C",
1291
+ "\u2590_________/|___\u258C",
1292
+ "\u2590________/|____\u258C",
1293
+ "\u2590_______/|_____\u258C",
1294
+ "\u2590______/|______\u258C",
1295
+ "\u2590_____/|_______\u258C",
1296
+ "\u2590____/|________\u258C",
1297
+ "\u2590___/|_________\u258C",
1298
+ "\u2590__/|__________\u258C",
1299
+ "\u2590_/|___________\u258C",
1300
+ "\u2590/|____________\u258C"
1301
+ ]
1302
+ },
1303
+ dqpb: {
1304
+ interval: 100,
1305
+ frames: [
1306
+ "d",
1307
+ "q",
1308
+ "p",
1309
+ "b"
1310
+ ]
1311
+ },
1312
+ weather: {
1313
+ interval: 100,
1314
+ frames: [
1315
+ "\u2600\uFE0F ",
1316
+ "\u2600\uFE0F ",
1317
+ "\u2600\uFE0F ",
1318
+ "\u{1F324} ",
1319
+ "\u26C5\uFE0F ",
1320
+ "\u{1F325} ",
1321
+ "\u2601\uFE0F ",
1322
+ "\u{1F327} ",
1323
+ "\u{1F328} ",
1324
+ "\u{1F327} ",
1325
+ "\u{1F328} ",
1326
+ "\u{1F327} ",
1327
+ "\u{1F328} ",
1328
+ "\u26C8 ",
1329
+ "\u{1F328} ",
1330
+ "\u{1F327} ",
1331
+ "\u{1F328} ",
1332
+ "\u2601\uFE0F ",
1333
+ "\u{1F325} ",
1334
+ "\u26C5\uFE0F ",
1335
+ "\u{1F324} ",
1336
+ "\u2600\uFE0F ",
1337
+ "\u2600\uFE0F "
1338
+ ]
1339
+ },
1340
+ christmas: {
1341
+ interval: 400,
1342
+ frames: [
1343
+ "\u{1F332}",
1344
+ "\u{1F384}"
1345
+ ]
1346
+ },
1347
+ grenade: {
1348
+ interval: 80,
1349
+ frames: [
1350
+ "\u060C ",
1351
+ "\u2032 ",
1352
+ " \xB4 ",
1353
+ " \u203E ",
1354
+ " \u2E0C",
1355
+ " \u2E0A",
1356
+ " |",
1357
+ " \u204E",
1358
+ " \u2055",
1359
+ " \u0DF4 ",
1360
+ " \u2053",
1361
+ " ",
1362
+ " ",
1363
+ " "
1364
+ ]
1365
+ },
1366
+ point: {
1367
+ interval: 125,
1368
+ frames: [
1369
+ "\u2219\u2219\u2219",
1370
+ "\u25CF\u2219\u2219",
1371
+ "\u2219\u25CF\u2219",
1372
+ "\u2219\u2219\u25CF",
1373
+ "\u2219\u2219\u2219"
1374
+ ]
1375
+ },
1376
+ layer: {
1377
+ interval: 150,
1378
+ frames: [
1379
+ "-",
1380
+ "=",
1381
+ "\u2261"
1382
+ ]
1383
+ },
1384
+ betaWave: {
1385
+ interval: 80,
1386
+ frames: [
1387
+ "\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2",
1388
+ "\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2",
1389
+ "\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2",
1390
+ "\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2",
1391
+ "\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2",
1392
+ "\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2",
1393
+ "\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"
1394
+ ]
1395
+ },
1396
+ fingerDance: {
1397
+ interval: 160,
1398
+ frames: [
1399
+ "\u{1F918} ",
1400
+ "\u{1F91F} ",
1401
+ "\u{1F596} ",
1402
+ "\u270B ",
1403
+ "\u{1F91A} ",
1404
+ "\u{1F446} "
1405
+ ]
1406
+ },
1407
+ fistBump: {
1408
+ interval: 80,
1409
+ frames: [
1410
+ "\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
1411
+ "\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
1412
+ "\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ",
1413
+ "\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ",
1414
+ "\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ",
1415
+ "\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ",
1416
+ "\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "
1417
+ ]
1418
+ },
1419
+ soccerHeader: {
1420
+ interval: 80,
1421
+ frames: [
1422
+ " \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ",
1423
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1424
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1425
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1426
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1427
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1428
+ "\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ",
1429
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1430
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1431
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1432
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ",
1433
+ "\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "
1434
+ ]
1435
+ },
1436
+ mindblown: {
1437
+ interval: 160,
1438
+ frames: [
1439
+ "\u{1F610} ",
1440
+ "\u{1F610} ",
1441
+ "\u{1F62E} ",
1442
+ "\u{1F62E} ",
1443
+ "\u{1F626} ",
1444
+ "\u{1F626} ",
1445
+ "\u{1F627} ",
1446
+ "\u{1F627} ",
1447
+ "\u{1F92F} ",
1448
+ "\u{1F4A5} ",
1449
+ "\u2728 ",
1450
+ "\u3000 ",
1451
+ "\u3000 ",
1452
+ "\u3000 "
1453
+ ]
1454
+ },
1455
+ speaker: {
1456
+ interval: 160,
1457
+ frames: [
1458
+ "\u{1F508} ",
1459
+ "\u{1F509} ",
1460
+ "\u{1F50A} ",
1461
+ "\u{1F509} "
1462
+ ]
1463
+ },
1464
+ orangePulse: {
1465
+ interval: 100,
1466
+ frames: [
1467
+ "\u{1F538} ",
1468
+ "\u{1F536} ",
1469
+ "\u{1F7E0} ",
1470
+ "\u{1F7E0} ",
1471
+ "\u{1F536} "
1472
+ ]
1473
+ },
1474
+ bluePulse: {
1475
+ interval: 100,
1476
+ frames: [
1477
+ "\u{1F539} ",
1478
+ "\u{1F537} ",
1479
+ "\u{1F535} ",
1480
+ "\u{1F535} ",
1481
+ "\u{1F537} "
1482
+ ]
1483
+ },
1484
+ orangeBluePulse: {
1485
+ interval: 100,
1486
+ frames: [
1487
+ "\u{1F538} ",
1488
+ "\u{1F536} ",
1489
+ "\u{1F7E0} ",
1490
+ "\u{1F7E0} ",
1491
+ "\u{1F536} ",
1492
+ "\u{1F539} ",
1493
+ "\u{1F537} ",
1494
+ "\u{1F535} ",
1495
+ "\u{1F535} ",
1496
+ "\u{1F537} "
1497
+ ]
1498
+ },
1499
+ timeTravel: {
1500
+ interval: 100,
1501
+ frames: [
1502
+ "\u{1F55B} ",
1503
+ "\u{1F55A} ",
1504
+ "\u{1F559} ",
1505
+ "\u{1F558} ",
1506
+ "\u{1F557} ",
1507
+ "\u{1F556} ",
1508
+ "\u{1F555} ",
1509
+ "\u{1F554} ",
1510
+ "\u{1F553} ",
1511
+ "\u{1F552} ",
1512
+ "\u{1F551} ",
1513
+ "\u{1F550} "
1514
+ ]
1515
+ },
1516
+ aesthetic: {
1517
+ interval: 80,
1518
+ frames: [
1519
+ "\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1",
1520
+ "\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1",
1521
+ "\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1",
1522
+ "\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1",
1523
+ "\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1",
1524
+ "\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1",
1525
+ "\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0",
1526
+ "\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"
1527
+ ]
1528
+ },
1529
+ dwarfFortress: {
1530
+ interval: 80,
1531
+ frames: [
1532
+ " \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1533
+ "\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1534
+ "\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1535
+ "\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1536
+ "\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1537
+ "\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1538
+ "\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1539
+ "\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1540
+ "\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1541
+ "\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1542
+ " \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1543
+ " \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1544
+ " \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1545
+ " \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1546
+ " \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1547
+ " \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1548
+ " \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1549
+ " \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1550
+ " \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1551
+ " \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1552
+ " \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1553
+ " \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
1554
+ " \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
1555
+ " \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
1556
+ " \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
1557
+ " \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
1558
+ " \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
1559
+ " \u263A \u2588\u2588\u2588\xA3\xA3\xA3 ",
1560
+ " \u263A\u2588\u2588\u2588\xA3\xA3\xA3 ",
1561
+ " \u263A\u2588\u2588\u2588\xA3\xA3\xA3 ",
1562
+ " \u263A\u2593\u2588\u2588\xA3\xA3\xA3 ",
1563
+ " \u263A\u2593\u2588\u2588\xA3\xA3\xA3 ",
1564
+ " \u263A\u2592\u2588\u2588\xA3\xA3\xA3 ",
1565
+ " \u263A\u2592\u2588\u2588\xA3\xA3\xA3 ",
1566
+ " \u263A\u2591\u2588\u2588\xA3\xA3\xA3 ",
1567
+ " \u263A\u2591\u2588\u2588\xA3\xA3\xA3 ",
1568
+ " \u263A \u2588\u2588\xA3\xA3\xA3 ",
1569
+ " \u263A\u2588\u2588\xA3\xA3\xA3 ",
1570
+ " \u263A\u2588\u2588\xA3\xA3\xA3 ",
1571
+ " \u263A\u2593\u2588\xA3\xA3\xA3 ",
1572
+ " \u263A\u2593\u2588\xA3\xA3\xA3 ",
1573
+ " \u263A\u2592\u2588\xA3\xA3\xA3 ",
1574
+ " \u263A\u2592\u2588\xA3\xA3\xA3 ",
1575
+ " \u263A\u2591\u2588\xA3\xA3\xA3 ",
1576
+ " \u263A\u2591\u2588\xA3\xA3\xA3 ",
1577
+ " \u263A \u2588\xA3\xA3\xA3 ",
1578
+ " \u263A\u2588\xA3\xA3\xA3 ",
1579
+ " \u263A\u2588\xA3\xA3\xA3 ",
1580
+ " \u263A\u2593\xA3\xA3\xA3 ",
1581
+ " \u263A\u2593\xA3\xA3\xA3 ",
1582
+ " \u263A\u2592\xA3\xA3\xA3 ",
1583
+ " \u263A\u2592\xA3\xA3\xA3 ",
1584
+ " \u263A\u2591\xA3\xA3\xA3 ",
1585
+ " \u263A\u2591\xA3\xA3\xA3 ",
1586
+ " \u263A \xA3\xA3\xA3 ",
1587
+ " \u263A\xA3\xA3\xA3 ",
1588
+ " \u263A\xA3\xA3\xA3 ",
1589
+ " \u263A\u2593\xA3\xA3 ",
1590
+ " \u263A\u2593\xA3\xA3 ",
1591
+ " \u263A\u2592\xA3\xA3 ",
1592
+ " \u263A\u2592\xA3\xA3 ",
1593
+ " \u263A\u2591\xA3\xA3 ",
1594
+ " \u263A\u2591\xA3\xA3 ",
1595
+ " \u263A \xA3\xA3 ",
1596
+ " \u263A\xA3\xA3 ",
1597
+ " \u263A\xA3\xA3 ",
1598
+ " \u263A\u2593\xA3 ",
1599
+ " \u263A\u2593\xA3 ",
1600
+ " \u263A\u2592\xA3 ",
1601
+ " \u263A\u2592\xA3 ",
1602
+ " \u263A\u2591\xA3 ",
1603
+ " \u263A\u2591\xA3 ",
1604
+ " \u263A \xA3 ",
1605
+ " \u263A\xA3 ",
1606
+ " \u263A\xA3 ",
1607
+ " \u263A\u2593 ",
1608
+ " \u263A\u2593 ",
1609
+ " \u263A\u2592 ",
1610
+ " \u263A\u2592 ",
1611
+ " \u263A\u2591 ",
1612
+ " \u263A\u2591 ",
1613
+ " \u263A ",
1614
+ " \u263A &",
1615
+ " \u263A \u263C&",
1616
+ " \u263A \u263C &",
1617
+ " \u263A\u263C &",
1618
+ " \u263A\u263C & ",
1619
+ " \u203C & ",
1620
+ " \u263A & ",
1621
+ " \u203C & ",
1622
+ " \u263A & ",
1623
+ " \u203C & ",
1624
+ " \u263A & ",
1625
+ "\u203C & ",
1626
+ " & ",
1627
+ " & ",
1628
+ " & \u2591 ",
1629
+ " & \u2592 ",
1630
+ " & \u2593 ",
1631
+ " & \xA3 ",
1632
+ " & \u2591\xA3 ",
1633
+ " & \u2592\xA3 ",
1634
+ " & \u2593\xA3 ",
1635
+ " & \xA3\xA3 ",
1636
+ " & \u2591\xA3\xA3 ",
1637
+ " & \u2592\xA3\xA3 ",
1638
+ "& \u2593\xA3\xA3 ",
1639
+ "& \xA3\xA3\xA3 ",
1640
+ " \u2591\xA3\xA3\xA3 ",
1641
+ " \u2592\xA3\xA3\xA3 ",
1642
+ " \u2593\xA3\xA3\xA3 ",
1643
+ " \u2588\xA3\xA3\xA3 ",
1644
+ " \u2591\u2588\xA3\xA3\xA3 ",
1645
+ " \u2592\u2588\xA3\xA3\xA3 ",
1646
+ " \u2593\u2588\xA3\xA3\xA3 ",
1647
+ " \u2588\u2588\xA3\xA3\xA3 ",
1648
+ " \u2591\u2588\u2588\xA3\xA3\xA3 ",
1649
+ " \u2592\u2588\u2588\xA3\xA3\xA3 ",
1650
+ " \u2593\u2588\u2588\xA3\xA3\xA3 ",
1651
+ " \u2588\u2588\u2588\xA3\xA3\xA3 ",
1652
+ " \u2591\u2588\u2588\u2588\xA3\xA3\xA3 ",
1653
+ " \u2592\u2588\u2588\u2588\xA3\xA3\xA3 ",
1654
+ " \u2593\u2588\u2588\u2588\xA3\xA3\xA3 ",
1655
+ " \u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1656
+ " \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1657
+ " \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1658
+ " \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1659
+ " \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1660
+ " \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1661
+ " \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1662
+ " \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1663
+ " \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ",
1664
+ " \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "
1665
+ ]
1666
+ }
1667
+ };
1668
+ }
1669
+ });
1670
+ var require_cli_spinners = (0, import_chunk_WWAWV7DQ.__commonJS)({
1671
+ "../../node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/index.js"(exports, module2) {
1672
+ "use strict";
1673
+ var spinners = Object.assign({}, require_spinners());
1674
+ var spinnersList = Object.keys(spinners);
1675
+ Object.defineProperty(spinners, "random", {
1676
+ get() {
1677
+ const randomIndex = Math.floor(Math.random() * spinnersList.length);
1678
+ const spinnerName = spinnersList[randomIndex];
1679
+ return spinners[spinnerName];
1680
+ }
1681
+ });
1682
+ module2.exports = spinners;
1683
+ }
1684
+ });
1685
+ var ANSI_BACKGROUND_OFFSET = 10;
1686
+ var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
1687
+ var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
1688
+ var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
1689
+ var styles = {
1690
+ modifier: {
1691
+ reset: [0, 0],
1692
+ // 21 isn't widely supported and 22 does the same thing
1693
+ bold: [1, 22],
1694
+ dim: [2, 22],
1695
+ italic: [3, 23],
1696
+ underline: [4, 24],
1697
+ overline: [53, 55],
1698
+ inverse: [7, 27],
1699
+ hidden: [8, 28],
1700
+ strikethrough: [9, 29]
1701
+ },
1702
+ color: {
1703
+ black: [30, 39],
1704
+ red: [31, 39],
1705
+ green: [32, 39],
1706
+ yellow: [33, 39],
1707
+ blue: [34, 39],
1708
+ magenta: [35, 39],
1709
+ cyan: [36, 39],
1710
+ white: [37, 39],
1711
+ // Bright color
1712
+ blackBright: [90, 39],
1713
+ gray: [90, 39],
1714
+ // Alias of `blackBright`
1715
+ grey: [90, 39],
1716
+ // Alias of `blackBright`
1717
+ redBright: [91, 39],
1718
+ greenBright: [92, 39],
1719
+ yellowBright: [93, 39],
1720
+ blueBright: [94, 39],
1721
+ magentaBright: [95, 39],
1722
+ cyanBright: [96, 39],
1723
+ whiteBright: [97, 39]
1724
+ },
1725
+ bgColor: {
1726
+ bgBlack: [40, 49],
1727
+ bgRed: [41, 49],
1728
+ bgGreen: [42, 49],
1729
+ bgYellow: [43, 49],
1730
+ bgBlue: [44, 49],
1731
+ bgMagenta: [45, 49],
1732
+ bgCyan: [46, 49],
1733
+ bgWhite: [47, 49],
1734
+ // Bright color
1735
+ bgBlackBright: [100, 49],
1736
+ bgGray: [100, 49],
1737
+ // Alias of `bgBlackBright`
1738
+ bgGrey: [100, 49],
1739
+ // Alias of `bgBlackBright`
1740
+ bgRedBright: [101, 49],
1741
+ bgGreenBright: [102, 49],
1742
+ bgYellowBright: [103, 49],
1743
+ bgBlueBright: [104, 49],
1744
+ bgMagentaBright: [105, 49],
1745
+ bgCyanBright: [106, 49],
1746
+ bgWhiteBright: [107, 49]
1747
+ }
1748
+ };
1749
+ var modifierNames = Object.keys(styles.modifier);
1750
+ var foregroundColorNames = Object.keys(styles.color);
1751
+ var backgroundColorNames = Object.keys(styles.bgColor);
1752
+ var colorNames = [...foregroundColorNames, ...backgroundColorNames];
1753
+ function assembleStyles() {
1754
+ const codes = /* @__PURE__ */ new Map();
1755
+ for (const [groupName, group] of Object.entries(styles)) {
1756
+ for (const [styleName, style] of Object.entries(group)) {
1757
+ styles[styleName] = {
1758
+ open: `\x1B[${style[0]}m`,
1759
+ close: `\x1B[${style[1]}m`
1760
+ };
1761
+ group[styleName] = styles[styleName];
1762
+ codes.set(style[0], style[1]);
1763
+ }
1764
+ Object.defineProperty(styles, groupName, {
1765
+ value: group,
1766
+ enumerable: false
1767
+ });
1768
+ }
1769
+ Object.defineProperty(styles, "codes", {
1770
+ value: codes,
1771
+ enumerable: false
1772
+ });
1773
+ styles.color.close = "\x1B[39m";
1774
+ styles.bgColor.close = "\x1B[49m";
1775
+ styles.color.ansi = wrapAnsi16();
1776
+ styles.color.ansi256 = wrapAnsi256();
1777
+ styles.color.ansi16m = wrapAnsi16m();
1778
+ styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
1779
+ styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
1780
+ styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
1781
+ Object.defineProperties(styles, {
1782
+ rgbToAnsi256: {
1783
+ value(red, green, blue) {
1784
+ if (red === green && green === blue) {
1785
+ if (red < 8) {
1786
+ return 16;
1787
+ }
1788
+ if (red > 248) {
1789
+ return 231;
1790
+ }
1791
+ return Math.round((red - 8) / 247 * 24) + 232;
1792
+ }
1793
+ return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
1794
+ },
1795
+ enumerable: false
1796
+ },
1797
+ hexToRgb: {
1798
+ value(hex) {
1799
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
1800
+ if (!matches) {
1801
+ return [0, 0, 0];
1802
+ }
1803
+ let [colorString] = matches;
1804
+ if (colorString.length === 3) {
1805
+ colorString = [...colorString].map((character) => character + character).join("");
1806
+ }
1807
+ const integer = Number.parseInt(colorString, 16);
1808
+ return [
1809
+ /* eslint-disable no-bitwise */
1810
+ integer >> 16 & 255,
1811
+ integer >> 8 & 255,
1812
+ integer & 255
1813
+ /* eslint-enable no-bitwise */
1814
+ ];
1815
+ },
1816
+ enumerable: false
1817
+ },
1818
+ hexToAnsi256: {
1819
+ value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
1820
+ enumerable: false
1821
+ },
1822
+ ansi256ToAnsi: {
1823
+ value(code) {
1824
+ if (code < 8) {
1825
+ return 30 + code;
1826
+ }
1827
+ if (code < 16) {
1828
+ return 90 + (code - 8);
1829
+ }
1830
+ let red;
1831
+ let green;
1832
+ let blue;
1833
+ if (code >= 232) {
1834
+ red = ((code - 232) * 10 + 8) / 255;
1835
+ green = red;
1836
+ blue = red;
1837
+ } else {
1838
+ code -= 16;
1839
+ const remainder = code % 36;
1840
+ red = Math.floor(code / 36) / 5;
1841
+ green = Math.floor(remainder / 6) / 5;
1842
+ blue = remainder % 6 / 5;
1843
+ }
1844
+ const value = Math.max(red, green, blue) * 2;
1845
+ if (value === 0) {
1846
+ return 30;
1847
+ }
1848
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
1849
+ if (value === 2) {
1850
+ result += 60;
1851
+ }
1852
+ return result;
1853
+ },
1854
+ enumerable: false
1855
+ },
1856
+ rgbToAnsi: {
1857
+ value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
1858
+ enumerable: false
1859
+ },
1860
+ hexToAnsi: {
1861
+ value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
1862
+ enumerable: false
1863
+ }
1864
+ });
1865
+ return styles;
1866
+ }
1867
+ var ansiStyles = assembleStyles();
1868
+ var ansi_styles_default = ansiStyles;
1869
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process2.default.argv) {
1870
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
1871
+ const position = argv.indexOf(prefix + flag);
1872
+ const terminatorPosition = argv.indexOf("--");
1873
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
1874
+ }
1875
+ var { env } = import_node_process2.default;
1876
+ var flagForceColor;
1877
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
1878
+ flagForceColor = 0;
1879
+ } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
1880
+ flagForceColor = 1;
1881
+ }
1882
+ function envForceColor() {
1883
+ if ("FORCE_COLOR" in env) {
1884
+ if (env.FORCE_COLOR === "true") {
1885
+ return 1;
1886
+ }
1887
+ if (env.FORCE_COLOR === "false") {
1888
+ return 0;
1889
+ }
1890
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
1891
+ }
1892
+ }
1893
+ function translateLevel(level) {
1894
+ if (level === 0) {
1895
+ return false;
1896
+ }
1897
+ return {
1898
+ level,
1899
+ hasBasic: true,
1900
+ has256: level >= 2,
1901
+ has16m: level >= 3
1902
+ };
1903
+ }
1904
+ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
1905
+ const noFlagForceColor = envForceColor();
1906
+ if (noFlagForceColor !== void 0) {
1907
+ flagForceColor = noFlagForceColor;
1908
+ }
1909
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
1910
+ if (forceColor === 0) {
1911
+ return 0;
1912
+ }
1913
+ if (sniffFlags) {
1914
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
1915
+ return 3;
1916
+ }
1917
+ if (hasFlag("color=256")) {
1918
+ return 2;
1919
+ }
1920
+ }
1921
+ if ("TF_BUILD" in env && "AGENT_NAME" in env) {
1922
+ return 1;
1923
+ }
1924
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
1925
+ return 0;
1926
+ }
1927
+ const min = forceColor || 0;
1928
+ if (env.TERM === "dumb") {
1929
+ return min;
1930
+ }
1931
+ if (import_node_process2.default.platform === "win32") {
1932
+ const osRelease = import_node_os.default.release().split(".");
1933
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
1934
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
1935
+ }
1936
+ return 1;
1937
+ }
1938
+ if ("CI" in env) {
1939
+ if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
1940
+ return 3;
1941
+ }
1942
+ if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
1943
+ return 1;
1944
+ }
1945
+ return min;
1946
+ }
1947
+ if ("TEAMCITY_VERSION" in env) {
1948
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
1949
+ }
1950
+ if (env.COLORTERM === "truecolor") {
1951
+ return 3;
1952
+ }
1953
+ if (env.TERM === "xterm-kitty") {
1954
+ return 3;
1955
+ }
1956
+ if ("TERM_PROGRAM" in env) {
1957
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
1958
+ switch (env.TERM_PROGRAM) {
1959
+ case "iTerm.app": {
1960
+ return version >= 3 ? 3 : 2;
1961
+ }
1962
+ case "Apple_Terminal": {
1963
+ return 2;
1964
+ }
1965
+ }
1966
+ }
1967
+ if (/-256(color)?$/i.test(env.TERM)) {
1968
+ return 2;
1969
+ }
1970
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
1971
+ return 1;
1972
+ }
1973
+ if ("COLORTERM" in env) {
1974
+ return 1;
1975
+ }
1976
+ return min;
1977
+ }
1978
+ function createSupportsColor(stream, options = {}) {
1979
+ const level = _supportsColor(stream, {
1980
+ streamIsTTY: stream && stream.isTTY,
1981
+ ...options
1982
+ });
1983
+ return translateLevel(level);
1984
+ }
1985
+ var supportsColor = {
1986
+ stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
1987
+ stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
1988
+ };
1989
+ var supports_color_default = supportsColor;
1990
+ function stringReplaceAll(string, substring, replacer) {
1991
+ let index = string.indexOf(substring);
1992
+ if (index === -1) {
1993
+ return string;
1994
+ }
1995
+ const substringLength = substring.length;
1996
+ let endIndex = 0;
1997
+ let returnValue = "";
1998
+ do {
1999
+ returnValue += string.slice(endIndex, index) + substring + replacer;
2000
+ endIndex = index + substringLength;
2001
+ index = string.indexOf(substring, endIndex);
2002
+ } while (index !== -1);
2003
+ returnValue += string.slice(endIndex);
2004
+ return returnValue;
2005
+ }
2006
+ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
2007
+ let endIndex = 0;
2008
+ let returnValue = "";
2009
+ do {
2010
+ const gotCR = string[index - 1] === "\r";
2011
+ returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
2012
+ endIndex = index + 1;
2013
+ index = string.indexOf("\n", endIndex);
2014
+ } while (index !== -1);
2015
+ returnValue += string.slice(endIndex);
2016
+ return returnValue;
2017
+ }
2018
+ var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
2019
+ var GENERATOR = Symbol("GENERATOR");
2020
+ var STYLER = Symbol("STYLER");
2021
+ var IS_EMPTY = Symbol("IS_EMPTY");
2022
+ var levelMapping = [
2023
+ "ansi",
2024
+ "ansi",
2025
+ "ansi256",
2026
+ "ansi16m"
2027
+ ];
2028
+ var styles2 = /* @__PURE__ */ Object.create(null);
2029
+ var applyOptions = (object, options = {}) => {
2030
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
2031
+ throw new Error("The `level` option should be an integer from 0 to 3");
2032
+ }
2033
+ const colorLevel = stdoutColor ? stdoutColor.level : 0;
2034
+ object.level = options.level === void 0 ? colorLevel : options.level;
2035
+ };
2036
+ var chalkFactory = (options) => {
2037
+ const chalk2 = (...strings) => strings.join(" ");
2038
+ applyOptions(chalk2, options);
2039
+ Object.setPrototypeOf(chalk2, createChalk.prototype);
2040
+ return chalk2;
2041
+ };
2042
+ function createChalk(options) {
2043
+ return chalkFactory(options);
2044
+ }
2045
+ Object.setPrototypeOf(createChalk.prototype, Function.prototype);
2046
+ for (const [styleName, style] of Object.entries(ansi_styles_default)) {
2047
+ styles2[styleName] = {
2048
+ get() {
2049
+ const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
2050
+ Object.defineProperty(this, styleName, { value: builder });
2051
+ return builder;
2052
+ }
2053
+ };
2054
+ }
2055
+ styles2.visible = {
2056
+ get() {
2057
+ const builder = createBuilder(this, this[STYLER], true);
2058
+ Object.defineProperty(this, "visible", { value: builder });
2059
+ return builder;
2060
+ }
2061
+ };
2062
+ var getModelAnsi = (model, level, type, ...arguments_) => {
2063
+ if (model === "rgb") {
2064
+ if (level === "ansi16m") {
2065
+ return ansi_styles_default[type].ansi16m(...arguments_);
2066
+ }
2067
+ if (level === "ansi256") {
2068
+ return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
2069
+ }
2070
+ return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
2071
+ }
2072
+ if (model === "hex") {
2073
+ return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
2074
+ }
2075
+ return ansi_styles_default[type][model](...arguments_);
2076
+ };
2077
+ var usedModels = ["rgb", "hex", "ansi256"];
2078
+ for (const model of usedModels) {
2079
+ styles2[model] = {
2080
+ get() {
2081
+ const { level } = this;
2082
+ return function(...arguments_) {
2083
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
2084
+ return createBuilder(this, styler, this[IS_EMPTY]);
2085
+ };
2086
+ }
2087
+ };
2088
+ const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
2089
+ styles2[bgModel] = {
2090
+ get() {
2091
+ const { level } = this;
2092
+ return function(...arguments_) {
2093
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
2094
+ return createBuilder(this, styler, this[IS_EMPTY]);
2095
+ };
2096
+ }
2097
+ };
2098
+ }
2099
+ var proto = Object.defineProperties(() => {
2100
+ }, {
2101
+ ...styles2,
2102
+ level: {
2103
+ enumerable: true,
2104
+ get() {
2105
+ return this[GENERATOR].level;
2106
+ },
2107
+ set(level) {
2108
+ this[GENERATOR].level = level;
2109
+ }
2110
+ }
2111
+ });
2112
+ var createStyler = (open, close, parent) => {
2113
+ let openAll;
2114
+ let closeAll;
2115
+ if (parent === void 0) {
2116
+ openAll = open;
2117
+ closeAll = close;
2118
+ } else {
2119
+ openAll = parent.openAll + open;
2120
+ closeAll = close + parent.closeAll;
2121
+ }
2122
+ return {
2123
+ open,
2124
+ close,
2125
+ openAll,
2126
+ closeAll,
2127
+ parent
2128
+ };
2129
+ };
2130
+ var createBuilder = (self, _styler, _isEmpty) => {
2131
+ const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
2132
+ Object.setPrototypeOf(builder, proto);
2133
+ builder[GENERATOR] = self;
2134
+ builder[STYLER] = _styler;
2135
+ builder[IS_EMPTY] = _isEmpty;
2136
+ return builder;
2137
+ };
2138
+ var applyStyle = (self, string) => {
2139
+ if (self.level <= 0 || !string) {
2140
+ return self[IS_EMPTY] ? "" : string;
2141
+ }
2142
+ let styler = self[STYLER];
2143
+ if (styler === void 0) {
2144
+ return string;
2145
+ }
2146
+ const { openAll, closeAll } = styler;
2147
+ if (string.includes("\x1B")) {
2148
+ while (styler !== void 0) {
2149
+ string = stringReplaceAll(string, styler.close, styler.open);
2150
+ styler = styler.parent;
2151
+ }
2152
+ }
2153
+ const lfIndex = string.indexOf("\n");
2154
+ if (lfIndex !== -1) {
2155
+ string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
2156
+ }
2157
+ return openAll + string + closeAll;
2158
+ };
2159
+ Object.defineProperties(createChalk.prototype, styles2);
2160
+ var chalk = createChalk();
2161
+ var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
2162
+ var source_default = chalk;
2163
+ var copyProperty = (to, from, property, ignoreNonConfigurable) => {
2164
+ if (property === "length" || property === "prototype") {
2165
+ return;
2166
+ }
2167
+ if (property === "arguments" || property === "caller") {
2168
+ return;
2169
+ }
2170
+ const toDescriptor = Object.getOwnPropertyDescriptor(to, property);
2171
+ const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);
2172
+ if (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {
2173
+ return;
2174
+ }
2175
+ Object.defineProperty(to, property, fromDescriptor);
2176
+ };
2177
+ var canCopyProperty = function(toDescriptor, fromDescriptor) {
2178
+ return toDescriptor === void 0 || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);
2179
+ };
2180
+ var changePrototype = (to, from) => {
2181
+ const fromPrototype = Object.getPrototypeOf(from);
2182
+ if (fromPrototype === Object.getPrototypeOf(to)) {
2183
+ return;
2184
+ }
2185
+ Object.setPrototypeOf(to, fromPrototype);
2186
+ };
2187
+ var wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/
2188
+ ${fromBody}`;
2189
+ var toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, "toString");
2190
+ var toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name");
2191
+ var changeToString = (to, from, name) => {
2192
+ const withName = name === "" ? "" : `with ${name.trim()}() `;
2193
+ const newToString = wrappedToString.bind(null, withName, from.toString());
2194
+ Object.defineProperty(newToString, "name", toStringName);
2195
+ const { writable, enumerable, configurable } = toStringDescriptor;
2196
+ Object.defineProperty(to, "toString", { value: newToString, writable, enumerable, configurable });
2197
+ };
2198
+ function mimicFunction(to, from, { ignoreNonConfigurable = false } = {}) {
2199
+ const { name } = to;
2200
+ for (const property of Reflect.ownKeys(from)) {
2201
+ copyProperty(to, from, property, ignoreNonConfigurable);
2202
+ }
2203
+ changePrototype(to, from);
2204
+ changeToString(to, from, name);
2205
+ return to;
2206
+ }
2207
+ var calledFunctions = /* @__PURE__ */ new WeakMap();
2208
+ var onetime = (function_, options = {}) => {
2209
+ if (typeof function_ !== "function") {
2210
+ throw new TypeError("Expected a function");
2211
+ }
2212
+ let returnValue;
2213
+ let callCount = 0;
2214
+ const functionName = function_.displayName || function_.name || "<anonymous>";
2215
+ const onetime2 = function(...arguments_) {
2216
+ calledFunctions.set(onetime2, ++callCount);
2217
+ if (callCount === 1) {
2218
+ returnValue = function_.apply(this, arguments_);
2219
+ function_ = void 0;
2220
+ } else if (options.throw === true) {
2221
+ throw new Error(`Function \`${functionName}\` can only be called once`);
2222
+ }
2223
+ return returnValue;
2224
+ };
2225
+ mimicFunction(onetime2, function_);
2226
+ calledFunctions.set(onetime2, callCount);
2227
+ return onetime2;
2228
+ };
2229
+ onetime.callCount = (function_) => {
2230
+ if (!calledFunctions.has(function_)) {
2231
+ throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
2232
+ }
2233
+ return calledFunctions.get(function_);
2234
+ };
2235
+ var onetime_default = onetime;
2236
+ var signals = [];
2237
+ signals.push("SIGHUP", "SIGINT", "SIGTERM");
2238
+ if (process.platform !== "win32") {
2239
+ signals.push(
2240
+ "SIGALRM",
2241
+ "SIGABRT",
2242
+ "SIGVTALRM",
2243
+ "SIGXCPU",
2244
+ "SIGXFSZ",
2245
+ "SIGUSR2",
2246
+ "SIGTRAP",
2247
+ "SIGSYS",
2248
+ "SIGQUIT",
2249
+ "SIGIOT"
2250
+ // should detect profiler and enable/disable accordingly.
2251
+ // see #21
2252
+ // 'SIGPROF'
2253
+ );
2254
+ }
2255
+ if (process.platform === "linux") {
2256
+ signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
2257
+ }
2258
+ var processOk = (process10) => !!process10 && typeof process10 === "object" && typeof process10.removeListener === "function" && typeof process10.emit === "function" && typeof process10.reallyExit === "function" && typeof process10.listeners === "function" && typeof process10.kill === "function" && typeof process10.pid === "number" && typeof process10.on === "function";
2259
+ var kExitEmitter = Symbol.for("signal-exit emitter");
2260
+ var global = globalThis;
2261
+ var ObjectDefineProperty = Object.defineProperty.bind(Object);
2262
+ var Emitter = class {
2263
+ constructor() {
2264
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "emitted", {
2265
+ afterExit: false,
2266
+ exit: false
2267
+ });
2268
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "listeners", {
2269
+ afterExit: [],
2270
+ exit: []
2271
+ });
2272
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "count", 0);
2273
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "id", Math.random());
2274
+ if (global[kExitEmitter]) {
2275
+ return global[kExitEmitter];
2276
+ }
2277
+ ObjectDefineProperty(global, kExitEmitter, {
2278
+ value: this,
2279
+ writable: false,
2280
+ enumerable: false,
2281
+ configurable: false
2282
+ });
2283
+ }
2284
+ on(ev, fn) {
2285
+ this.listeners[ev].push(fn);
2286
+ }
2287
+ removeListener(ev, fn) {
2288
+ const list = this.listeners[ev];
2289
+ const i = list.indexOf(fn);
2290
+ if (i === -1) {
2291
+ return;
2292
+ }
2293
+ if (i === 0 && list.length === 1) {
2294
+ list.length = 0;
2295
+ } else {
2296
+ list.splice(i, 1);
2297
+ }
2298
+ }
2299
+ emit(ev, code, signal) {
2300
+ if (this.emitted[ev]) {
2301
+ return false;
2302
+ }
2303
+ this.emitted[ev] = true;
2304
+ let ret = false;
2305
+ for (const fn of this.listeners[ev]) {
2306
+ ret = fn(code, signal) === true || ret;
2307
+ }
2308
+ if (ev === "exit") {
2309
+ ret = this.emit("afterExit", code, signal) || ret;
2310
+ }
2311
+ return ret;
2312
+ }
2313
+ };
2314
+ var SignalExitBase = class {
2315
+ };
2316
+ var signalExitWrap = (handler) => {
2317
+ return {
2318
+ onExit(cb, opts) {
2319
+ return handler.onExit(cb, opts);
2320
+ },
2321
+ load() {
2322
+ return handler.load();
2323
+ },
2324
+ unload() {
2325
+ return handler.unload();
2326
+ }
2327
+ };
2328
+ };
2329
+ var SignalExitFallback = class extends SignalExitBase {
2330
+ onExit() {
2331
+ return () => {
2332
+ };
2333
+ }
2334
+ load() {
2335
+ }
2336
+ unload() {
2337
+ }
2338
+ };
2339
+ var _hupSig, _emitter, _process, _originalProcessEmit, _originalProcessReallyExit, _sigListeners, _loaded, _SignalExit_instances, processReallyExit_fn, processEmit_fn;
2340
+ var SignalExit = class extends SignalExitBase {
2341
+ constructor(process10) {
2342
+ super();
2343
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _SignalExit_instances);
2344
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _hupSig, process3.platform === "win32" ? "SIGINT" : "SIGHUP");
2345
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _emitter, new Emitter());
2346
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _process);
2347
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _originalProcessEmit);
2348
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _originalProcessReallyExit);
2349
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _sigListeners, {});
2350
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _loaded, false);
2351
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _process, process10);
2352
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _sigListeners, {});
2353
+ for (const sig of signals) {
2354
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _sigListeners)[sig] = () => {
2355
+ const listeners = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).listeners(sig);
2356
+ let { count } = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter);
2357
+ const p = process10;
2358
+ if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
2359
+ count += p.__signal_exit_emitter__.count;
2360
+ }
2361
+ if (listeners.length === count) {
2362
+ this.unload();
2363
+ const ret = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).emit("exit", null, sig);
2364
+ const s = sig === "SIGHUP" ? (0, import_chunk_WWAWV7DQ.__privateGet)(this, _hupSig) : sig;
2365
+ if (!ret)
2366
+ process10.kill(process10.pid, s);
2367
+ }
2368
+ };
2369
+ }
2370
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _originalProcessReallyExit, process10.reallyExit);
2371
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _originalProcessEmit, process10.emit);
2372
+ }
2373
+ onExit(cb, opts) {
2374
+ if (!processOk((0, import_chunk_WWAWV7DQ.__privateGet)(this, _process))) {
2375
+ return () => {
2376
+ };
2377
+ }
2378
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _loaded) === false) {
2379
+ this.load();
2380
+ }
2381
+ const ev = opts?.alwaysLast ? "afterExit" : "exit";
2382
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).on(ev, cb);
2383
+ return () => {
2384
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).removeListener(ev, cb);
2385
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).listeners["exit"].length === 0 && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).listeners["afterExit"].length === 0) {
2386
+ this.unload();
2387
+ }
2388
+ };
2389
+ }
2390
+ load() {
2391
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _loaded)) {
2392
+ return;
2393
+ }
2394
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _loaded, true);
2395
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).count += 1;
2396
+ for (const sig of signals) {
2397
+ try {
2398
+ const fn = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _sigListeners)[sig];
2399
+ if (fn)
2400
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).on(sig, fn);
2401
+ } catch (_) {
2402
+ }
2403
+ }
2404
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).emit = (ev, ...a) => {
2405
+ return (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _SignalExit_instances, processEmit_fn).call(this, ev, ...a);
2406
+ };
2407
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).reallyExit = (code) => {
2408
+ return (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _SignalExit_instances, processReallyExit_fn).call(this, code);
2409
+ };
2410
+ }
2411
+ unload() {
2412
+ if (!(0, import_chunk_WWAWV7DQ.__privateGet)(this, _loaded)) {
2413
+ return;
2414
+ }
2415
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _loaded, false);
2416
+ signals.forEach((sig) => {
2417
+ const listener = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _sigListeners)[sig];
2418
+ if (!listener) {
2419
+ throw new Error("Listener not defined for signal: " + sig);
2420
+ }
2421
+ try {
2422
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).removeListener(sig, listener);
2423
+ } catch (_) {
2424
+ }
2425
+ });
2426
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).emit = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _originalProcessEmit);
2427
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).reallyExit = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _originalProcessReallyExit);
2428
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).count -= 1;
2429
+ }
2430
+ };
2431
+ _hupSig = /* @__PURE__ */ new WeakMap();
2432
+ _emitter = /* @__PURE__ */ new WeakMap();
2433
+ _process = /* @__PURE__ */ new WeakMap();
2434
+ _originalProcessEmit = /* @__PURE__ */ new WeakMap();
2435
+ _originalProcessReallyExit = /* @__PURE__ */ new WeakMap();
2436
+ _sigListeners = /* @__PURE__ */ new WeakMap();
2437
+ _loaded = /* @__PURE__ */ new WeakMap();
2438
+ _SignalExit_instances = /* @__PURE__ */ new WeakSet();
2439
+ processReallyExit_fn = function(code) {
2440
+ if (!processOk((0, import_chunk_WWAWV7DQ.__privateGet)(this, _process))) {
2441
+ return 0;
2442
+ }
2443
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).exitCode = code || 0;
2444
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).emit("exit", (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).exitCode, null);
2445
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _originalProcessReallyExit).call((0, import_chunk_WWAWV7DQ.__privateGet)(this, _process), (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).exitCode);
2446
+ };
2447
+ processEmit_fn = function(ev, ...args) {
2448
+ const og = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _originalProcessEmit);
2449
+ if (ev === "exit" && processOk((0, import_chunk_WWAWV7DQ.__privateGet)(this, _process))) {
2450
+ if (typeof args[0] === "number") {
2451
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).exitCode = args[0];
2452
+ }
2453
+ const ret = og.call((0, import_chunk_WWAWV7DQ.__privateGet)(this, _process), ev, ...args);
2454
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).emit("exit", (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).exitCode, null);
2455
+ return ret;
2456
+ } else {
2457
+ return og.call((0, import_chunk_WWAWV7DQ.__privateGet)(this, _process), ev, ...args);
2458
+ }
2459
+ };
2460
+ var process3 = globalThis.process;
2461
+ var {
2462
+ /**
2463
+ * Called when the process is exiting, whether via signal, explicit
2464
+ * exit, or running out of stuff to do.
2465
+ *
2466
+ * If the global process object is not suitable for instrumentation,
2467
+ * then this will be a no-op.
2468
+ *
2469
+ * Returns a function that may be used to unload signal-exit.
2470
+ */
2471
+ onExit,
2472
+ /**
2473
+ * Load the listeners. Likely you never need to call this, unless
2474
+ * doing a rather deep integration with signal-exit functionality.
2475
+ * Mostly exposed for the benefit of testing.
2476
+ *
2477
+ * @internal
2478
+ */
2479
+ load,
2480
+ /**
2481
+ * Unload the listeners. Likely you never need to call this, unless
2482
+ * doing a rather deep integration with signal-exit functionality.
2483
+ * Mostly exposed for the benefit of testing.
2484
+ *
2485
+ * @internal
2486
+ */
2487
+ unload
2488
+ } = signalExitWrap(processOk(process3) ? new SignalExit(process3) : new SignalExitFallback());
2489
+ var terminal = import_node_process4.default.stderr.isTTY ? import_node_process4.default.stderr : import_node_process4.default.stdout.isTTY ? import_node_process4.default.stdout : void 0;
2490
+ var restoreCursor = terminal ? onetime_default(() => {
2491
+ onExit(() => {
2492
+ terminal.write("\x1B[?25h");
2493
+ }, { alwaysLast: true });
2494
+ }) : () => {
2495
+ };
2496
+ var restore_cursor_default = restoreCursor;
2497
+ var isHidden = false;
2498
+ var cliCursor = {};
2499
+ cliCursor.show = (writableStream = import_node_process3.default.stderr) => {
2500
+ if (!writableStream.isTTY) {
2501
+ return;
2502
+ }
2503
+ isHidden = false;
2504
+ writableStream.write("\x1B[?25h");
2505
+ };
2506
+ cliCursor.hide = (writableStream = import_node_process3.default.stderr) => {
2507
+ if (!writableStream.isTTY) {
2508
+ return;
2509
+ }
2510
+ restore_cursor_default();
2511
+ isHidden = true;
2512
+ writableStream.write("\x1B[?25l");
2513
+ };
2514
+ cliCursor.toggle = (force, writableStream) => {
2515
+ if (force !== void 0) {
2516
+ isHidden = force;
2517
+ }
2518
+ if (isHidden) {
2519
+ cliCursor.show(writableStream);
2520
+ } else {
2521
+ cliCursor.hide(writableStream);
2522
+ }
2523
+ };
2524
+ var cli_cursor_default = cliCursor;
2525
+ var import_cli_spinners = (0, import_chunk_WWAWV7DQ.__toESM)(require_cli_spinners(), 1);
2526
+ function isUnicodeSupported() {
2527
+ if (import_node_process5.default.platform !== "win32") {
2528
+ return import_node_process5.default.env.TERM !== "linux";
2529
+ }
2530
+ return Boolean(import_node_process5.default.env.CI) || Boolean(import_node_process5.default.env.WT_SESSION) || Boolean(import_node_process5.default.env.TERMINUS_SUBLIME) || import_node_process5.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process5.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process5.default.env.TERM_PROGRAM === "vscode" || import_node_process5.default.env.TERM === "xterm-256color" || import_node_process5.default.env.TERM === "alacritty" || import_node_process5.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2531
+ }
2532
+ var main = {
2533
+ info: source_default.blue("\u2139"),
2534
+ success: source_default.green("\u2714"),
2535
+ warning: source_default.yellow("\u26A0"),
2536
+ error: source_default.red("\u2716")
2537
+ };
2538
+ var fallback = {
2539
+ info: source_default.blue("i"),
2540
+ success: source_default.green("\u221A"),
2541
+ warning: source_default.yellow("\u203C"),
2542
+ error: source_default.red("\xD7")
2543
+ };
2544
+ var logSymbols = isUnicodeSupported() ? main : fallback;
2545
+ var log_symbols_default = logSymbols;
2546
+ function ansiRegex({ onlyFirst = false } = {}) {
2547
+ const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
2548
+ const pattern = [
2549
+ `[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${ST})`,
2550
+ "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"
2551
+ ].join("|");
2552
+ return new RegExp(pattern, onlyFirst ? void 0 : "g");
2553
+ }
2554
+ var regex = ansiRegex();
2555
+ function stripAnsi(string) {
2556
+ if (typeof string !== "string") {
2557
+ throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
2558
+ }
2559
+ return string.replace(regex, "");
2560
+ }
2561
+ function isAmbiguous(x) {
2562
+ return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
2563
+ }
2564
+ function isFullWidth(x) {
2565
+ return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
2566
+ }
2567
+ function isWide(x) {
2568
+ return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101631 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129673 || x >= 129679 && x <= 129734 || x >= 129742 && x <= 129756 || x >= 129759 && x <= 129769 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
2569
+ }
2570
+ function validate(codePoint) {
2571
+ if (!Number.isSafeInteger(codePoint)) {
2572
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
2573
+ }
2574
+ }
2575
+ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
2576
+ validate(codePoint);
2577
+ if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
2578
+ return 2;
2579
+ }
2580
+ return 1;
2581
+ }
2582
+ var emoji_regex_default = () => {
2583
+ return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
2584
+ };
2585
+ var segmenter = new Intl.Segmenter();
2586
+ var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
2587
+ function stringWidth(string, options = {}) {
2588
+ if (typeof string !== "string" || string.length === 0) {
2589
+ return 0;
2590
+ }
2591
+ const {
2592
+ ambiguousIsNarrow = true,
2593
+ countAnsiEscapeCodes = false
2594
+ } = options;
2595
+ if (!countAnsiEscapeCodes) {
2596
+ string = stripAnsi(string);
2597
+ }
2598
+ if (string.length === 0) {
2599
+ return 0;
2600
+ }
2601
+ let width = 0;
2602
+ const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
2603
+ for (const { segment: character } of segmenter.segment(string)) {
2604
+ const codePoint = character.codePointAt(0);
2605
+ if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
2606
+ continue;
2607
+ }
2608
+ if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
2609
+ continue;
2610
+ }
2611
+ if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
2612
+ continue;
2613
+ }
2614
+ if (codePoint >= 55296 && codePoint <= 57343) {
2615
+ continue;
2616
+ }
2617
+ if (codePoint >= 65024 && codePoint <= 65039) {
2618
+ continue;
2619
+ }
2620
+ if (defaultIgnorableCodePointRegex.test(character)) {
2621
+ continue;
2622
+ }
2623
+ if (emoji_regex_default().test(character)) {
2624
+ width += 2;
2625
+ continue;
2626
+ }
2627
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
2628
+ }
2629
+ return width;
2630
+ }
2631
+ function isInteractive({ stream = process.stdout } = {}) {
2632
+ return Boolean(
2633
+ stream && stream.isTTY && process.env.TERM !== "dumb" && !("CI" in process.env)
2634
+ );
2635
+ }
2636
+ function isUnicodeSupported2() {
2637
+ const { env: env2 } = import_node_process6.default;
2638
+ const { TERM, TERM_PROGRAM } = env2;
2639
+ if (import_node_process6.default.platform !== "win32") {
2640
+ return TERM !== "linux";
2641
+ }
2642
+ return Boolean(env2.WT_SESSION) || Boolean(env2.TERMINUS_SUBLIME) || env2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2643
+ }
2644
+ var ASCII_ETX_CODE = 3;
2645
+ var _activeCount, _StdinDiscarder_instances, realStart_fn, realStop_fn, handleInput_fn;
2646
+ var StdinDiscarder = class {
2647
+ constructor() {
2648
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _StdinDiscarder_instances);
2649
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _activeCount, 0);
2650
+ }
2651
+ start() {
2652
+ (0, import_chunk_WWAWV7DQ.__privateWrapper)(this, _activeCount)._++;
2653
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _activeCount) === 1) {
2654
+ (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _StdinDiscarder_instances, realStart_fn).call(this);
2655
+ }
2656
+ }
2657
+ stop() {
2658
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _activeCount) <= 0) {
2659
+ throw new Error("`stop` called more times than `start`");
2660
+ }
2661
+ (0, import_chunk_WWAWV7DQ.__privateWrapper)(this, _activeCount)._--;
2662
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _activeCount) === 0) {
2663
+ (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _StdinDiscarder_instances, realStop_fn).call(this);
2664
+ }
2665
+ }
2666
+ };
2667
+ _activeCount = /* @__PURE__ */ new WeakMap();
2668
+ _StdinDiscarder_instances = /* @__PURE__ */ new WeakSet();
2669
+ realStart_fn = function() {
2670
+ if (import_node_process7.default.platform === "win32" || !import_node_process7.default.stdin.isTTY) {
2671
+ return;
2672
+ }
2673
+ import_node_process7.default.stdin.setRawMode(true);
2674
+ import_node_process7.default.stdin.on("data", (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _StdinDiscarder_instances, handleInput_fn));
2675
+ import_node_process7.default.stdin.resume();
2676
+ };
2677
+ realStop_fn = function() {
2678
+ if (!import_node_process7.default.stdin.isTTY) {
2679
+ return;
2680
+ }
2681
+ import_node_process7.default.stdin.off("data", (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _StdinDiscarder_instances, handleInput_fn));
2682
+ import_node_process7.default.stdin.pause();
2683
+ import_node_process7.default.stdin.setRawMode(false);
2684
+ };
2685
+ handleInput_fn = function(chunk) {
2686
+ if (chunk[0] === ASCII_ETX_CODE) {
2687
+ import_node_process7.default.emit("SIGINT");
2688
+ }
2689
+ };
2690
+ var stdinDiscarder = new StdinDiscarder();
2691
+ var stdin_discarder_default = stdinDiscarder;
2692
+ var import_cli_spinners2 = (0, import_chunk_WWAWV7DQ.__toESM)(require_cli_spinners(), 1);
2693
+ var _linesToClear, _isDiscardingStdin, _lineCount, _frameIndex, _lastSpinnerFrameTime, _options, _spinner, _stream, _id, _initialInterval, _isEnabled, _isSilent, _indent, _text, _prefixText, _suffixText, _Ora_instances, getFullPrefixText_fn, getFullSuffixText_fn, updateLineCount_fn;
2694
+ var Ora = class {
2695
+ constructor(options) {
2696
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _Ora_instances);
2697
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _linesToClear, 0);
2698
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _isDiscardingStdin, false);
2699
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _lineCount, 0);
2700
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _frameIndex, -1);
2701
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _lastSpinnerFrameTime, 0);
2702
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _options);
2703
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _spinner);
2704
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _stream);
2705
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _id);
2706
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _initialInterval);
2707
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _isEnabled);
2708
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _isSilent);
2709
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _indent);
2710
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _text);
2711
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _prefixText);
2712
+ (0, import_chunk_WWAWV7DQ.__privateAdd)(this, _suffixText);
2713
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "color");
2714
+ if (typeof options === "string") {
2715
+ options = {
2716
+ text: options
2717
+ };
2718
+ }
2719
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _options, {
2720
+ color: "cyan",
2721
+ stream: import_node_process.default.stderr,
2722
+ discardStdin: true,
2723
+ hideCursor: true,
2724
+ ...options
2725
+ });
2726
+ this.color = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).color;
2727
+ this.spinner = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).spinner;
2728
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _initialInterval, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).interval);
2729
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _stream, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).stream);
2730
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _isEnabled, typeof (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).isEnabled === "boolean" ? (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).isEnabled : isInteractive({ stream: (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream) }));
2731
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _isSilent, typeof (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).isSilent === "boolean" ? (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).isSilent : false);
2732
+ this.text = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).text;
2733
+ this.prefixText = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).prefixText;
2734
+ this.suffixText = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).suffixText;
2735
+ this.indent = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).indent;
2736
+ if (import_node_process.default.env.NODE_ENV === "test") {
2737
+ this._stream = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream);
2738
+ this._isEnabled = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _isEnabled);
2739
+ Object.defineProperty(this, "_linesToClear", {
2740
+ get() {
2741
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _linesToClear);
2742
+ },
2743
+ set(newValue) {
2744
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _linesToClear, newValue);
2745
+ }
2746
+ });
2747
+ Object.defineProperty(this, "_frameIndex", {
2748
+ get() {
2749
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _frameIndex);
2750
+ }
2751
+ });
2752
+ Object.defineProperty(this, "_lineCount", {
2753
+ get() {
2754
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _lineCount);
2755
+ }
2756
+ });
2757
+ }
2758
+ }
2759
+ get indent() {
2760
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _indent);
2761
+ }
2762
+ set indent(indent = 0) {
2763
+ if (!(indent >= 0 && Number.isInteger(indent))) {
2764
+ throw new Error("The `indent` option must be an integer from 0 and up");
2765
+ }
2766
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _indent, indent);
2767
+ (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _Ora_instances, updateLineCount_fn).call(this);
2768
+ }
2769
+ get interval() {
2770
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _initialInterval) ?? (0, import_chunk_WWAWV7DQ.__privateGet)(this, _spinner).interval ?? 100;
2771
+ }
2772
+ get spinner() {
2773
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _spinner);
2774
+ }
2775
+ set spinner(spinner) {
2776
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _frameIndex, -1);
2777
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _initialInterval, void 0);
2778
+ if (typeof spinner === "object") {
2779
+ if (spinner.frames === void 0) {
2780
+ throw new Error("The given spinner must have a `frames` property");
2781
+ }
2782
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _spinner, spinner);
2783
+ } else if (!isUnicodeSupported2()) {
2784
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _spinner, import_cli_spinners.default.line);
2785
+ } else if (spinner === void 0) {
2786
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _spinner, import_cli_spinners.default.dots);
2787
+ } else if (spinner !== "default" && import_cli_spinners.default[spinner]) {
2788
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _spinner, import_cli_spinners.default[spinner]);
2789
+ } else {
2790
+ throw new Error(`There is no built-in spinner named '${spinner}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);
2791
+ }
2792
+ }
2793
+ get text() {
2794
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _text);
2795
+ }
2796
+ set text(value = "") {
2797
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _text, value);
2798
+ (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _Ora_instances, updateLineCount_fn).call(this);
2799
+ }
2800
+ get prefixText() {
2801
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prefixText);
2802
+ }
2803
+ set prefixText(value = "") {
2804
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _prefixText, value);
2805
+ (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _Ora_instances, updateLineCount_fn).call(this);
2806
+ }
2807
+ get suffixText() {
2808
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _suffixText);
2809
+ }
2810
+ set suffixText(value = "") {
2811
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _suffixText, value);
2812
+ (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _Ora_instances, updateLineCount_fn).call(this);
2813
+ }
2814
+ get isSpinning() {
2815
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _id) !== void 0;
2816
+ }
2817
+ get isEnabled() {
2818
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _isEnabled) && !(0, import_chunk_WWAWV7DQ.__privateGet)(this, _isSilent);
2819
+ }
2820
+ set isEnabled(value) {
2821
+ if (typeof value !== "boolean") {
2822
+ throw new TypeError("The `isEnabled` option must be a boolean");
2823
+ }
2824
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _isEnabled, value);
2825
+ }
2826
+ get isSilent() {
2827
+ return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _isSilent);
2828
+ }
2829
+ set isSilent(value) {
2830
+ if (typeof value !== "boolean") {
2831
+ throw new TypeError("The `isSilent` option must be a boolean");
2832
+ }
2833
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _isSilent, value);
2834
+ }
2835
+ frame() {
2836
+ const now = Date.now();
2837
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _frameIndex) === -1 || now - (0, import_chunk_WWAWV7DQ.__privateGet)(this, _lastSpinnerFrameTime) >= this.interval) {
2838
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _frameIndex, ++(0, import_chunk_WWAWV7DQ.__privateWrapper)(this, _frameIndex)._ % (0, import_chunk_WWAWV7DQ.__privateGet)(this, _spinner).frames.length);
2839
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _lastSpinnerFrameTime, now);
2840
+ }
2841
+ const { frames } = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _spinner);
2842
+ let frame = frames[(0, import_chunk_WWAWV7DQ.__privateGet)(this, _frameIndex)];
2843
+ if (this.color) {
2844
+ frame = source_default[this.color](frame);
2845
+ }
2846
+ const fullPrefixText = typeof (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prefixText) === "string" && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prefixText) !== "" ? (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prefixText) + " " : "";
2847
+ const fullText = typeof this.text === "string" ? " " + this.text : "";
2848
+ const fullSuffixText = typeof (0, import_chunk_WWAWV7DQ.__privateGet)(this, _suffixText) === "string" && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _suffixText) !== "" ? " " + (0, import_chunk_WWAWV7DQ.__privateGet)(this, _suffixText) : "";
2849
+ return fullPrefixText + frame + fullText + fullSuffixText;
2850
+ }
2851
+ clear() {
2852
+ if (!(0, import_chunk_WWAWV7DQ.__privateGet)(this, _isEnabled) || !(0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream).isTTY) {
2853
+ return this;
2854
+ }
2855
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream).cursorTo(0);
2856
+ for (let index = 0; index < (0, import_chunk_WWAWV7DQ.__privateGet)(this, _linesToClear); index++) {
2857
+ if (index > 0) {
2858
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream).moveCursor(0, -1);
2859
+ }
2860
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream).clearLine(1);
2861
+ }
2862
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _indent) || this.lastIndent !== (0, import_chunk_WWAWV7DQ.__privateGet)(this, _indent)) {
2863
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream).cursorTo((0, import_chunk_WWAWV7DQ.__privateGet)(this, _indent));
2864
+ }
2865
+ this.lastIndent = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _indent);
2866
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _linesToClear, 0);
2867
+ return this;
2868
+ }
2869
+ render() {
2870
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _isSilent)) {
2871
+ return this;
2872
+ }
2873
+ this.clear();
2874
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream).write(this.frame());
2875
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _linesToClear, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _lineCount));
2876
+ return this;
2877
+ }
2878
+ start(text) {
2879
+ if (text) {
2880
+ this.text = text;
2881
+ }
2882
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _isSilent)) {
2883
+ return this;
2884
+ }
2885
+ if (!(0, import_chunk_WWAWV7DQ.__privateGet)(this, _isEnabled)) {
2886
+ if (this.text) {
2887
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream).write(`- ${this.text}
2888
+ `);
2889
+ }
2890
+ return this;
2891
+ }
2892
+ if (this.isSpinning) {
2893
+ return this;
2894
+ }
2895
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).hideCursor) {
2896
+ cli_cursor_default.hide((0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream));
2897
+ }
2898
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).discardStdin && import_node_process.default.stdin.isTTY) {
2899
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _isDiscardingStdin, true);
2900
+ stdin_discarder_default.start();
2901
+ }
2902
+ this.render();
2903
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _id, setInterval(this.render.bind(this), this.interval));
2904
+ return this;
2905
+ }
2906
+ stop() {
2907
+ if (!(0, import_chunk_WWAWV7DQ.__privateGet)(this, _isEnabled)) {
2908
+ return this;
2909
+ }
2910
+ clearInterval((0, import_chunk_WWAWV7DQ.__privateGet)(this, _id));
2911
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _id, void 0);
2912
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _frameIndex, 0);
2913
+ this.clear();
2914
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).hideCursor) {
2915
+ cli_cursor_default.show((0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream));
2916
+ }
2917
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _options).discardStdin && import_node_process.default.stdin.isTTY && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _isDiscardingStdin)) {
2918
+ stdin_discarder_default.stop();
2919
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _isDiscardingStdin, false);
2920
+ }
2921
+ return this;
2922
+ }
2923
+ succeed(text) {
2924
+ return this.stopAndPersist({ symbol: log_symbols_default.success, text });
2925
+ }
2926
+ fail(text) {
2927
+ return this.stopAndPersist({ symbol: log_symbols_default.error, text });
2928
+ }
2929
+ warn(text) {
2930
+ return this.stopAndPersist({ symbol: log_symbols_default.warning, text });
2931
+ }
2932
+ info(text) {
2933
+ return this.stopAndPersist({ symbol: log_symbols_default.info, text });
2934
+ }
2935
+ stopAndPersist(options = {}) {
2936
+ if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _isSilent)) {
2937
+ return this;
2938
+ }
2939
+ const prefixText = options.prefixText ?? (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prefixText);
2940
+ const fullPrefixText = (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _Ora_instances, getFullPrefixText_fn).call(this, prefixText, " ");
2941
+ const symbolText = options.symbol ?? " ";
2942
+ const text = options.text ?? this.text;
2943
+ const separatorText = symbolText ? " " : "";
2944
+ const fullText = typeof text === "string" ? separatorText + text : "";
2945
+ const suffixText = options.suffixText ?? (0, import_chunk_WWAWV7DQ.__privateGet)(this, _suffixText);
2946
+ const fullSuffixText = (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _Ora_instances, getFullSuffixText_fn).call(this, suffixText, " ");
2947
+ const textToWrite = fullPrefixText + symbolText + fullText + fullSuffixText + "\n";
2948
+ this.stop();
2949
+ (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream).write(textToWrite);
2950
+ return this;
2951
+ }
2952
+ };
2953
+ _linesToClear = /* @__PURE__ */ new WeakMap();
2954
+ _isDiscardingStdin = /* @__PURE__ */ new WeakMap();
2955
+ _lineCount = /* @__PURE__ */ new WeakMap();
2956
+ _frameIndex = /* @__PURE__ */ new WeakMap();
2957
+ _lastSpinnerFrameTime = /* @__PURE__ */ new WeakMap();
2958
+ _options = /* @__PURE__ */ new WeakMap();
2959
+ _spinner = /* @__PURE__ */ new WeakMap();
2960
+ _stream = /* @__PURE__ */ new WeakMap();
2961
+ _id = /* @__PURE__ */ new WeakMap();
2962
+ _initialInterval = /* @__PURE__ */ new WeakMap();
2963
+ _isEnabled = /* @__PURE__ */ new WeakMap();
2964
+ _isSilent = /* @__PURE__ */ new WeakMap();
2965
+ _indent = /* @__PURE__ */ new WeakMap();
2966
+ _text = /* @__PURE__ */ new WeakMap();
2967
+ _prefixText = /* @__PURE__ */ new WeakMap();
2968
+ _suffixText = /* @__PURE__ */ new WeakMap();
2969
+ _Ora_instances = /* @__PURE__ */ new WeakSet();
2970
+ getFullPrefixText_fn = function(prefixText = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prefixText), postfix = " ") {
2971
+ if (typeof prefixText === "string" && prefixText !== "") {
2972
+ return prefixText + postfix;
2973
+ }
2974
+ if (typeof prefixText === "function") {
2975
+ return prefixText() + postfix;
2976
+ }
2977
+ return "";
2978
+ };
2979
+ getFullSuffixText_fn = function(suffixText = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _suffixText), prefix = " ") {
2980
+ if (typeof suffixText === "string" && suffixText !== "") {
2981
+ return prefix + suffixText;
2982
+ }
2983
+ if (typeof suffixText === "function") {
2984
+ return prefix + suffixText();
2985
+ }
2986
+ return "";
2987
+ };
2988
+ updateLineCount_fn = function() {
2989
+ const columns = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _stream).columns ?? 80;
2990
+ const fullPrefixText = (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _Ora_instances, getFullPrefixText_fn).call(this, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prefixText), "-");
2991
+ const fullSuffixText = (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _Ora_instances, getFullSuffixText_fn).call(this, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _suffixText), "-");
2992
+ const fullText = " ".repeat((0, import_chunk_WWAWV7DQ.__privateGet)(this, _indent)) + fullPrefixText + "--" + (0, import_chunk_WWAWV7DQ.__privateGet)(this, _text) + "--" + fullSuffixText;
2993
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _lineCount, 0);
2994
+ for (const line of stripAnsi(fullText).split("\n")) {
2995
+ (0, import_chunk_WWAWV7DQ.__privateSet)(this, _lineCount, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _lineCount) + Math.max(1, Math.ceil(stringWidth(line, { countAnsiEscapeCodes: true }) / columns)));
2996
+ }
2997
+ };
2998
+ function ora(options) {
2999
+ return new Ora(options);
3000
+ }
3001
+ var defaultOraOptions = {
3002
+ spinner: "dots",
3003
+ color: "cyan",
3004
+ indent: 0,
3005
+ stream: process.stdout
3006
+ };
3007
+ function createSpinner(enableOutput = true, oraOptions = {}) {
3008
+ const actualOptions = { ...defaultOraOptions, ...oraOptions };
3009
+ return (text) => {
3010
+ if (!enableOutput) {
3011
+ return {
3012
+ success: () => {
3013
+ },
3014
+ failure: () => {
3015
+ }
3016
+ };
3017
+ }
3018
+ actualOptions.stream?.write("\n");
3019
+ const spinner = ora(actualOptions);
3020
+ spinner.start(text);
3021
+ return {
3022
+ /**
3023
+ * Stop the spinner, change it to a green ✔ and persist the current text, or text if provided.
3024
+ * @param textSuccess Will persist text if provided.
3025
+ */
3026
+ success: (textSuccess) => {
3027
+ spinner.succeed(textSuccess);
3028
+ },
3029
+ /**
3030
+ * Stop the spinner, change it to a red ✖ and persist the current text, or text if provided.
3031
+ * @param textFailure Will persist text if provided.
3032
+ */
3033
+ failure: (textFailure) => {
3034
+ spinner.fail(textFailure);
3035
+ }
3036
+ };
3037
+ };
3038
+ }