@pandacss/node 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +176 -202
- package/dist/index.mjs +176 -202
- package/package.json +16 -16
package/dist/index.js
CHANGED
|
@@ -33,111 +33,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.5.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.2_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.5.
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.2_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
// ../../node_modules/.pnpm/eastasianwidth@0.2.0/node_modules/eastasianwidth/eastasianwidth.js
|
|
44
|
-
var require_eastasianwidth = __commonJS({
|
|
45
|
-
"../../node_modules/.pnpm/eastasianwidth@0.2.0/node_modules/eastasianwidth/eastasianwidth.js"(exports2, module2) {
|
|
46
|
-
"use strict";
|
|
47
|
-
init_cjs_shims();
|
|
48
|
-
var eaw = {};
|
|
49
|
-
if ("undefined" == typeof module2) {
|
|
50
|
-
window.eastasianwidth = eaw;
|
|
51
|
-
} else {
|
|
52
|
-
module2.exports = eaw;
|
|
53
|
-
}
|
|
54
|
-
eaw.eastAsianWidth = function(character) {
|
|
55
|
-
var x = character.charCodeAt(0);
|
|
56
|
-
var y = character.length == 2 ? character.charCodeAt(1) : 0;
|
|
57
|
-
var codePoint = x;
|
|
58
|
-
if (55296 <= x && x <= 56319 && (56320 <= y && y <= 57343)) {
|
|
59
|
-
x &= 1023;
|
|
60
|
-
y &= 1023;
|
|
61
|
-
codePoint = x << 10 | y;
|
|
62
|
-
codePoint += 65536;
|
|
63
|
-
}
|
|
64
|
-
if (12288 == codePoint || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510) {
|
|
65
|
-
return "F";
|
|
66
|
-
}
|
|
67
|
-
if (8361 == codePoint || 65377 <= codePoint && codePoint <= 65470 || 65474 <= codePoint && codePoint <= 65479 || 65482 <= codePoint && codePoint <= 65487 || 65490 <= codePoint && codePoint <= 65495 || 65498 <= codePoint && codePoint <= 65500 || 65512 <= codePoint && codePoint <= 65518) {
|
|
68
|
-
return "H";
|
|
69
|
-
}
|
|
70
|
-
if (4352 <= codePoint && codePoint <= 4447 || 4515 <= codePoint && codePoint <= 4519 || 4602 <= codePoint && codePoint <= 4607 || 9001 <= codePoint && codePoint <= 9002 || 11904 <= codePoint && codePoint <= 11929 || 11931 <= codePoint && codePoint <= 12019 || 12032 <= codePoint && codePoint <= 12245 || 12272 <= codePoint && codePoint <= 12283 || 12289 <= codePoint && codePoint <= 12350 || 12353 <= codePoint && codePoint <= 12438 || 12441 <= codePoint && codePoint <= 12543 || 12549 <= codePoint && codePoint <= 12589 || 12593 <= codePoint && codePoint <= 12686 || 12688 <= codePoint && codePoint <= 12730 || 12736 <= codePoint && codePoint <= 12771 || 12784 <= codePoint && codePoint <= 12830 || 12832 <= codePoint && codePoint <= 12871 || 12880 <= codePoint && codePoint <= 13054 || 13056 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42124 || 42128 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 55216 <= codePoint && codePoint <= 55238 || 55243 <= codePoint && codePoint <= 55291 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65106 || 65108 <= codePoint && codePoint <= 65126 || 65128 <= codePoint && codePoint <= 65131 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127490 || 127504 <= codePoint && codePoint <= 127546 || 127552 <= codePoint && codePoint <= 127560 || 127568 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 194367 || 177984 <= codePoint && codePoint <= 196605 || 196608 <= codePoint && codePoint <= 262141) {
|
|
71
|
-
return "W";
|
|
72
|
-
}
|
|
73
|
-
if (32 <= codePoint && codePoint <= 126 || 162 <= codePoint && codePoint <= 163 || 165 <= codePoint && codePoint <= 166 || 172 == codePoint || 175 == codePoint || 10214 <= codePoint && codePoint <= 10221 || 10629 <= codePoint && codePoint <= 10630) {
|
|
74
|
-
return "Na";
|
|
75
|
-
}
|
|
76
|
-
if (161 == codePoint || 164 == codePoint || 167 <= codePoint && codePoint <= 168 || 170 == codePoint || 173 <= codePoint && codePoint <= 174 || 176 <= codePoint && codePoint <= 180 || 182 <= codePoint && codePoint <= 186 || 188 <= codePoint && codePoint <= 191 || 198 == codePoint || 208 == codePoint || 215 <= codePoint && codePoint <= 216 || 222 <= codePoint && codePoint <= 225 || 230 == codePoint || 232 <= codePoint && codePoint <= 234 || 236 <= codePoint && codePoint <= 237 || 240 == codePoint || 242 <= codePoint && codePoint <= 243 || 247 <= codePoint && codePoint <= 250 || 252 == codePoint || 254 == codePoint || 257 == codePoint || 273 == codePoint || 275 == codePoint || 283 == codePoint || 294 <= codePoint && codePoint <= 295 || 299 == codePoint || 305 <= codePoint && codePoint <= 307 || 312 == codePoint || 319 <= codePoint && codePoint <= 322 || 324 == codePoint || 328 <= codePoint && codePoint <= 331 || 333 == codePoint || 338 <= codePoint && codePoint <= 339 || 358 <= codePoint && codePoint <= 359 || 363 == codePoint || 462 == codePoint || 464 == codePoint || 466 == codePoint || 468 == codePoint || 470 == codePoint || 472 == codePoint || 474 == codePoint || 476 == codePoint || 593 == codePoint || 609 == codePoint || 708 == codePoint || 711 == codePoint || 713 <= codePoint && codePoint <= 715 || 717 == codePoint || 720 == codePoint || 728 <= codePoint && codePoint <= 731 || 733 == codePoint || 735 == codePoint || 768 <= codePoint && codePoint <= 879 || 913 <= codePoint && codePoint <= 929 || 931 <= codePoint && codePoint <= 937 || 945 <= codePoint && codePoint <= 961 || 963 <= codePoint && codePoint <= 969 || 1025 == codePoint || 1040 <= codePoint && codePoint <= 1103 || 1105 == codePoint || 8208 == codePoint || 8211 <= codePoint && codePoint <= 8214 || 8216 <= codePoint && codePoint <= 8217 || 8220 <= codePoint && codePoint <= 8221 || 8224 <= codePoint && codePoint <= 8226 || 8228 <= codePoint && codePoint <= 8231 || 8240 == codePoint || 8242 <= codePoint && codePoint <= 8243 || 8245 == codePoint || 8251 == codePoint || 8254 == codePoint || 8308 == codePoint || 8319 == codePoint || 8321 <= codePoint && codePoint <= 8324 || 8364 == codePoint || 8451 == codePoint || 8453 == codePoint || 8457 == codePoint || 8467 == codePoint || 8470 == codePoint || 8481 <= codePoint && codePoint <= 8482 || 8486 == codePoint || 8491 == codePoint || 8531 <= codePoint && codePoint <= 8532 || 8539 <= codePoint && codePoint <= 8542 || 8544 <= codePoint && codePoint <= 8555 || 8560 <= codePoint && codePoint <= 8569 || 8585 == codePoint || 8592 <= codePoint && codePoint <= 8601 || 8632 <= codePoint && codePoint <= 8633 || 8658 == codePoint || 8660 == codePoint || 8679 == codePoint || 8704 == codePoint || 8706 <= codePoint && codePoint <= 8707 || 8711 <= codePoint && codePoint <= 8712 || 8715 == codePoint || 8719 == codePoint || 8721 == codePoint || 8725 == codePoint || 8730 == codePoint || 8733 <= codePoint && codePoint <= 8736 || 8739 == codePoint || 8741 == codePoint || 8743 <= codePoint && codePoint <= 8748 || 8750 == codePoint || 8756 <= codePoint && codePoint <= 8759 || 8764 <= codePoint && codePoint <= 8765 || 8776 == codePoint || 8780 == codePoint || 8786 == codePoint || 8800 <= codePoint && codePoint <= 8801 || 8804 <= codePoint && codePoint <= 8807 || 8810 <= codePoint && codePoint <= 8811 || 8814 <= codePoint && codePoint <= 8815 || 8834 <= codePoint && codePoint <= 8835 || 8838 <= codePoint && codePoint <= 8839 || 8853 == codePoint || 8857 == codePoint || 8869 == codePoint || 8895 == codePoint || 8978 == codePoint || 9312 <= codePoint && codePoint <= 9449 || 9451 <= codePoint && codePoint <= 9547 || 9552 <= codePoint && codePoint <= 9587 || 9600 <= codePoint && codePoint <= 9615 || 9618 <= codePoint && codePoint <= 9621 || 9632 <= codePoint && codePoint <= 9633 || 9635 <= codePoint && codePoint <= 9641 || 9650 <= codePoint && codePoint <= 9651 || 9654 <= codePoint && codePoint <= 9655 || 9660 <= codePoint && codePoint <= 9661 || 9664 <= codePoint && codePoint <= 9665 || 9670 <= codePoint && codePoint <= 9672 || 9675 == codePoint || 9678 <= codePoint && codePoint <= 9681 || 9698 <= codePoint && codePoint <= 9701 || 9711 == codePoint || 9733 <= codePoint && codePoint <= 9734 || 9737 == codePoint || 9742 <= codePoint && codePoint <= 9743 || 9748 <= codePoint && codePoint <= 9749 || 9756 == codePoint || 9758 == codePoint || 9792 == codePoint || 9794 == codePoint || 9824 <= codePoint && codePoint <= 9825 || 9827 <= codePoint && codePoint <= 9829 || 9831 <= codePoint && codePoint <= 9834 || 9836 <= codePoint && codePoint <= 9837 || 9839 == codePoint || 9886 <= codePoint && codePoint <= 9887 || 9918 <= codePoint && codePoint <= 9919 || 9924 <= codePoint && codePoint <= 9933 || 9935 <= codePoint && codePoint <= 9953 || 9955 == codePoint || 9960 <= codePoint && codePoint <= 9983 || 10045 == codePoint || 10071 == codePoint || 10102 <= codePoint && codePoint <= 10111 || 11093 <= codePoint && codePoint <= 11097 || 12872 <= codePoint && codePoint <= 12879 || 57344 <= codePoint && codePoint <= 63743 || 65024 <= codePoint && codePoint <= 65039 || 65533 == codePoint || 127232 <= codePoint && codePoint <= 127242 || 127248 <= codePoint && codePoint <= 127277 || 127280 <= codePoint && codePoint <= 127337 || 127344 <= codePoint && codePoint <= 127386 || 917760 <= codePoint && codePoint <= 917999 || 983040 <= codePoint && codePoint <= 1048573 || 1048576 <= codePoint && codePoint <= 1114109) {
|
|
77
|
-
return "A";
|
|
78
|
-
}
|
|
79
|
-
return "N";
|
|
80
|
-
};
|
|
81
|
-
eaw.characterLength = function(character) {
|
|
82
|
-
var code = this.eastAsianWidth(character);
|
|
83
|
-
if (code == "F" || code == "W" || code == "A") {
|
|
84
|
-
return 2;
|
|
85
|
-
} else {
|
|
86
|
-
return 1;
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
function stringToArray(string) {
|
|
90
|
-
return string.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
|
|
91
|
-
}
|
|
92
|
-
eaw.length = function(string) {
|
|
93
|
-
var characters = stringToArray(string);
|
|
94
|
-
var len = 0;
|
|
95
|
-
for (var i = 0; i < characters.length; i++) {
|
|
96
|
-
len = len + this.characterLength(characters[i]);
|
|
97
|
-
}
|
|
98
|
-
return len;
|
|
99
|
-
};
|
|
100
|
-
eaw.slice = function(text, start, end) {
|
|
101
|
-
textLen = eaw.length(text);
|
|
102
|
-
start = start ? start : 0;
|
|
103
|
-
end = end ? end : 1;
|
|
104
|
-
if (start < 0) {
|
|
105
|
-
start = textLen + start;
|
|
106
|
-
}
|
|
107
|
-
if (end < 0) {
|
|
108
|
-
end = textLen + end;
|
|
109
|
-
}
|
|
110
|
-
var result = "";
|
|
111
|
-
var eawLen = 0;
|
|
112
|
-
var chars = stringToArray(text);
|
|
113
|
-
for (var i = 0; i < chars.length; i++) {
|
|
114
|
-
var char = chars[i];
|
|
115
|
-
var charLen = eaw.length(char);
|
|
116
|
-
if (eawLen >= start - (charLen == 2 ? 1 : 0)) {
|
|
117
|
-
if (eawLen + charLen <= end) {
|
|
118
|
-
result += char;
|
|
119
|
-
} else {
|
|
120
|
-
break;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
eawLen += charLen;
|
|
124
|
-
}
|
|
125
|
-
return result;
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
// ../../node_modules/.pnpm/emoji-regex@9.2.2/node_modules/emoji-regex/index.js
|
|
131
|
-
var require_emoji_regex = __commonJS({
|
|
132
|
-
"../../node_modules/.pnpm/emoji-regex@9.2.2/node_modules/emoji-regex/index.js"(exports2, module2) {
|
|
133
|
-
"use strict";
|
|
134
|
-
init_cjs_shims();
|
|
135
|
-
module2.exports = function() {
|
|
136
|
-
return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\u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DCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE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])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
|
|
141
43
|
// ../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json
|
|
142
44
|
var require_boxes = __commonJS({
|
|
143
45
|
"../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json"(exports2, module2) {
|
|
@@ -297,7 +199,7 @@ var require_is_fullwidth_code_point = __commonJS({
|
|
|
297
199
|
});
|
|
298
200
|
|
|
299
201
|
// ../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js
|
|
300
|
-
var
|
|
202
|
+
var require_emoji_regex = __commonJS({
|
|
301
203
|
"../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js"(exports2, module2) {
|
|
302
204
|
"use strict";
|
|
303
205
|
init_cjs_shims();
|
|
@@ -314,7 +216,7 @@ var require_string_width = __commonJS({
|
|
|
314
216
|
init_cjs_shims();
|
|
315
217
|
var stripAnsi2 = require_strip_ansi();
|
|
316
218
|
var isFullwidthCodePoint = require_is_fullwidth_code_point();
|
|
317
|
-
var
|
|
219
|
+
var emojiRegex = require_emoji_regex();
|
|
318
220
|
var stringWidth2 = (string) => {
|
|
319
221
|
if (typeof string !== "string" || string.length === 0) {
|
|
320
222
|
return 0;
|
|
@@ -323,7 +225,7 @@ var require_string_width = __commonJS({
|
|
|
323
225
|
if (string.length === 0) {
|
|
324
226
|
return 0;
|
|
325
227
|
}
|
|
326
|
-
string = string.replace(
|
|
228
|
+
string = string.replace(emojiRegex(), " ");
|
|
327
229
|
let width = 0;
|
|
328
230
|
for (let i = 0; i < string.length; i++) {
|
|
329
231
|
const code = string.codePointAt(i);
|
|
@@ -487,7 +389,7 @@ init_cjs_shims();
|
|
|
487
389
|
// ../../node_modules/.pnpm/p-limit@5.0.0/node_modules/p-limit/index.js
|
|
488
390
|
init_cjs_shims();
|
|
489
391
|
|
|
490
|
-
// ../../node_modules/.pnpm/yocto-queue@1.
|
|
392
|
+
// ../../node_modules/.pnpm/yocto-queue@1.2.1/node_modules/yocto-queue/index.js
|
|
491
393
|
init_cjs_shims();
|
|
492
394
|
var Node = class {
|
|
493
395
|
value;
|
|
@@ -544,6 +446,11 @@ var Queue = class {
|
|
|
544
446
|
current = current.next;
|
|
545
447
|
}
|
|
546
448
|
}
|
|
449
|
+
*drain() {
|
|
450
|
+
while (this.#head) {
|
|
451
|
+
yield this.dequeue();
|
|
452
|
+
}
|
|
453
|
+
}
|
|
547
454
|
};
|
|
548
455
|
|
|
549
456
|
// ../../node_modules/.pnpm/p-limit@5.0.0/node_modules/p-limit/index.js
|
|
@@ -634,27 +541,27 @@ var import_perfect_debounce = require("perfect-debounce");
|
|
|
634
541
|
// src/cli-box.ts
|
|
635
542
|
init_cjs_shims();
|
|
636
543
|
|
|
637
|
-
// ../../node_modules/.pnpm/boxen@
|
|
544
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
638
545
|
init_cjs_shims();
|
|
639
546
|
var import_node_process2 = __toESM(require("process"), 1);
|
|
640
547
|
|
|
641
|
-
// ../../node_modules/.pnpm/string-width@
|
|
548
|
+
// ../../node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
|
|
642
549
|
init_cjs_shims();
|
|
643
550
|
|
|
644
|
-
// ../../node_modules/.pnpm/strip-ansi@7.1.
|
|
551
|
+
// ../../node_modules/.pnpm/strip-ansi@7.1.2/node_modules/strip-ansi/index.js
|
|
645
552
|
init_cjs_shims();
|
|
646
553
|
|
|
647
|
-
// ../../node_modules/.pnpm/ansi-regex@6.
|
|
554
|
+
// ../../node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
|
|
648
555
|
init_cjs_shims();
|
|
649
556
|
function ansiRegex({ onlyFirst = false } = {}) {
|
|
650
|
-
const
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
557
|
+
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
558
|
+
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
559
|
+
const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
|
|
560
|
+
const pattern = `${osc}|${csi}`;
|
|
654
561
|
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
655
562
|
}
|
|
656
563
|
|
|
657
|
-
// ../../node_modules/.pnpm/strip-ansi@7.1.
|
|
564
|
+
// ../../node_modules/.pnpm/strip-ansi@7.1.2/node_modules/strip-ansi/index.js
|
|
658
565
|
var regex = ansiRegex();
|
|
659
566
|
function stripAnsi(string) {
|
|
660
567
|
if (typeof string !== "string") {
|
|
@@ -663,52 +570,93 @@ function stripAnsi(string) {
|
|
|
663
570
|
return string.replace(regex, "");
|
|
664
571
|
}
|
|
665
572
|
|
|
666
|
-
// ../../node_modules/.pnpm/
|
|
667
|
-
|
|
668
|
-
|
|
573
|
+
// ../../node_modules/.pnpm/get-east-asian-width@1.4.0/node_modules/get-east-asian-width/index.js
|
|
574
|
+
init_cjs_shims();
|
|
575
|
+
|
|
576
|
+
// ../../node_modules/.pnpm/get-east-asian-width@1.4.0/node_modules/get-east-asian-width/lookup.js
|
|
577
|
+
init_cjs_shims();
|
|
578
|
+
function isAmbiguous(x) {
|
|
579
|
+
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;
|
|
580
|
+
}
|
|
581
|
+
function isFullWidth(x) {
|
|
582
|
+
return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
|
|
583
|
+
}
|
|
584
|
+
function isWide(x) {
|
|
585
|
+
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 <= 94198 || x >= 94208 && x <= 101589 || x >= 101631 && x <= 101662 || x >= 101760 && x <= 101874 || 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 <= 128728 || 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 <= 129674 || x >= 129678 && x <= 129734 || x === 129736 || x >= 129741 && x <= 129756 || x >= 129759 && x <= 129770 || x >= 129775 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
// ../../node_modules/.pnpm/get-east-asian-width@1.4.0/node_modules/get-east-asian-width/index.js
|
|
589
|
+
function validate(codePoint) {
|
|
590
|
+
if (!Number.isSafeInteger(codePoint)) {
|
|
591
|
+
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
595
|
+
validate(codePoint);
|
|
596
|
+
if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
|
|
597
|
+
return 2;
|
|
598
|
+
}
|
|
599
|
+
return 1;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
// ../../node_modules/.pnpm/emoji-regex@10.6.0/node_modules/emoji-regex/index.mjs
|
|
603
|
+
init_cjs_shims();
|
|
604
|
+
var emoji_regex_default = () => {
|
|
605
|
+
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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0F?|[\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-\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-\uDED8\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\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\uDD3C-\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-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\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\uDE70]|\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\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;
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
// ../../node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
|
|
609
|
+
var segmenter = new Intl.Segmenter();
|
|
610
|
+
var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
|
|
669
611
|
function stringWidth(string, options = {}) {
|
|
670
612
|
if (typeof string !== "string" || string.length === 0) {
|
|
671
613
|
return 0;
|
|
672
614
|
}
|
|
673
|
-
|
|
674
|
-
ambiguousIsNarrow
|
|
675
|
-
|
|
676
|
-
};
|
|
677
|
-
|
|
615
|
+
const {
|
|
616
|
+
ambiguousIsNarrow = true,
|
|
617
|
+
countAnsiEscapeCodes = false
|
|
618
|
+
} = options;
|
|
619
|
+
if (!countAnsiEscapeCodes) {
|
|
620
|
+
string = stripAnsi(string);
|
|
621
|
+
}
|
|
678
622
|
if (string.length === 0) {
|
|
679
623
|
return 0;
|
|
680
624
|
}
|
|
681
|
-
string = string.replace((0, import_emoji_regex.default)(), " ");
|
|
682
|
-
const ambiguousCharacterWidth = options.ambiguousIsNarrow ? 1 : 2;
|
|
683
625
|
let width = 0;
|
|
684
|
-
|
|
626
|
+
const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
|
|
627
|
+
for (const { segment: character } of segmenter.segment(string)) {
|
|
685
628
|
const codePoint = character.codePointAt(0);
|
|
686
629
|
if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
|
|
687
630
|
continue;
|
|
688
631
|
}
|
|
689
|
-
if (codePoint >=
|
|
632
|
+
if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
|
|
690
633
|
continue;
|
|
691
634
|
}
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
break;
|
|
698
|
-
case "A":
|
|
699
|
-
width += ambiguousCharacterWidth;
|
|
700
|
-
break;
|
|
701
|
-
default:
|
|
702
|
-
width += 1;
|
|
635
|
+
if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
|
|
636
|
+
continue;
|
|
637
|
+
}
|
|
638
|
+
if (codePoint >= 55296 && codePoint <= 57343) {
|
|
639
|
+
continue;
|
|
703
640
|
}
|
|
641
|
+
if (codePoint >= 65024 && codePoint <= 65039) {
|
|
642
|
+
continue;
|
|
643
|
+
}
|
|
644
|
+
if (defaultIgnorableCodePointRegex.test(character)) {
|
|
645
|
+
continue;
|
|
646
|
+
}
|
|
647
|
+
if (emoji_regex_default().test(character)) {
|
|
648
|
+
width += 2;
|
|
649
|
+
continue;
|
|
650
|
+
}
|
|
651
|
+
width += eastAsianWidth(codePoint, eastAsianWidthOptions);
|
|
704
652
|
}
|
|
705
653
|
return width;
|
|
706
654
|
}
|
|
707
655
|
|
|
708
|
-
// ../../node_modules/.pnpm/chalk@5.
|
|
656
|
+
// ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
709
657
|
init_cjs_shims();
|
|
710
658
|
|
|
711
|
-
// ../../node_modules/.pnpm/chalk@5.
|
|
659
|
+
// ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
712
660
|
init_cjs_shims();
|
|
713
661
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
714
662
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
@@ -895,7 +843,7 @@ function assembleStyles() {
|
|
|
895
843
|
var ansiStyles = assembleStyles();
|
|
896
844
|
var ansi_styles_default = ansiStyles;
|
|
897
845
|
|
|
898
|
-
// ../../node_modules/.pnpm/chalk@5.
|
|
846
|
+
// ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
|
|
899
847
|
init_cjs_shims();
|
|
900
848
|
var import_node_process = __toESM(require("process"), 1);
|
|
901
849
|
var import_node_os = __toESM(require("os"), 1);
|
|
@@ -970,10 +918,10 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
970
918
|
return 1;
|
|
971
919
|
}
|
|
972
920
|
if ("CI" in env) {
|
|
973
|
-
if ("GITHUB_ACTIONS"
|
|
921
|
+
if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
|
|
974
922
|
return 3;
|
|
975
923
|
}
|
|
976
|
-
if (["TRAVIS", "
|
|
924
|
+
if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
977
925
|
return 1;
|
|
978
926
|
}
|
|
979
927
|
return min;
|
|
@@ -987,6 +935,12 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
987
935
|
if (env.TERM === "xterm-kitty") {
|
|
988
936
|
return 3;
|
|
989
937
|
}
|
|
938
|
+
if (env.TERM === "xterm-ghostty") {
|
|
939
|
+
return 3;
|
|
940
|
+
}
|
|
941
|
+
if (env.TERM === "wezterm") {
|
|
942
|
+
return 3;
|
|
943
|
+
}
|
|
990
944
|
if ("TERM_PROGRAM" in env) {
|
|
991
945
|
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
992
946
|
switch (env.TERM_PROGRAM) {
|
|
@@ -1022,7 +976,7 @@ var supportsColor = {
|
|
|
1022
976
|
};
|
|
1023
977
|
var supports_color_default = supportsColor;
|
|
1024
978
|
|
|
1025
|
-
// ../../node_modules/.pnpm/chalk@5.
|
|
979
|
+
// ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.js
|
|
1026
980
|
init_cjs_shims();
|
|
1027
981
|
function stringReplaceAll(string, substring, replacer2) {
|
|
1028
982
|
let index = string.indexOf(substring);
|
|
@@ -1053,7 +1007,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
1053
1007
|
return returnValue;
|
|
1054
1008
|
}
|
|
1055
1009
|
|
|
1056
|
-
// ../../node_modules/.pnpm/chalk@5.
|
|
1010
|
+
// ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
1057
1011
|
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
1058
1012
|
var GENERATOR = Symbol("GENERATOR");
|
|
1059
1013
|
var STYLER = Symbol("STYLER");
|
|
@@ -1200,7 +1154,7 @@ var chalk = createChalk();
|
|
|
1200
1154
|
var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
1201
1155
|
var source_default = chalk;
|
|
1202
1156
|
|
|
1203
|
-
// ../../node_modules/.pnpm/widest-line@
|
|
1157
|
+
// ../../node_modules/.pnpm/widest-line@5.0.0/node_modules/widest-line/index.js
|
|
1204
1158
|
init_cjs_shims();
|
|
1205
1159
|
function widestLine(string) {
|
|
1206
1160
|
let lineWidth = 0;
|
|
@@ -1210,10 +1164,10 @@ function widestLine(string) {
|
|
|
1210
1164
|
return lineWidth;
|
|
1211
1165
|
}
|
|
1212
1166
|
|
|
1213
|
-
// ../../node_modules/.pnpm/boxen@
|
|
1167
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
1214
1168
|
var import_cli_boxes = __toESM(require_cli_boxes(), 1);
|
|
1215
1169
|
|
|
1216
|
-
// ../../node_modules/.pnpm/camelcase@
|
|
1170
|
+
// ../../node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.js
|
|
1217
1171
|
init_cjs_shims();
|
|
1218
1172
|
var UPPERCASE = /[\p{Lu}]/u;
|
|
1219
1173
|
var LOWERCASE = /[\p{Ll}]/u;
|
|
@@ -1252,12 +1206,12 @@ var preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUp
|
|
|
1252
1206
|
};
|
|
1253
1207
|
var preserveConsecutiveUppercase = (input, toLowerCase) => {
|
|
1254
1208
|
LEADING_CAPITAL.lastIndex = 0;
|
|
1255
|
-
return input.
|
|
1209
|
+
return input.replaceAll(LEADING_CAPITAL, (match) => toLowerCase(match));
|
|
1256
1210
|
};
|
|
1257
1211
|
var postProcess = (input, toUpperCase) => {
|
|
1258
1212
|
SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
|
|
1259
1213
|
NUMBERS_AND_IDENTIFIER.lastIndex = 0;
|
|
1260
|
-
return input.
|
|
1214
|
+
return input.replaceAll(NUMBERS_AND_IDENTIFIER, (match, pattern, offset) => ["_", "-"].includes(input.charAt(offset + match.length)) ? match : toUpperCase(match)).replaceAll(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier));
|
|
1261
1215
|
};
|
|
1262
1216
|
function camelCase(input, options) {
|
|
1263
1217
|
if (!(typeof input === "string" || Array.isArray(input))) {
|
|
@@ -1296,13 +1250,13 @@ function camelCase(input, options) {
|
|
|
1296
1250
|
return postProcess(input, toUpperCase);
|
|
1297
1251
|
}
|
|
1298
1252
|
|
|
1299
|
-
// ../../node_modules/.pnpm/boxen@
|
|
1253
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
1300
1254
|
var import_ansi_align = __toESM(require_ansi_align(), 1);
|
|
1301
1255
|
|
|
1302
|
-
// ../../node_modules/.pnpm/wrap-ansi@
|
|
1256
|
+
// ../../node_modules/.pnpm/wrap-ansi@9.0.2/node_modules/wrap-ansi/index.js
|
|
1303
1257
|
init_cjs_shims();
|
|
1304
1258
|
|
|
1305
|
-
// ../../node_modules/.pnpm/ansi-styles@6.2.
|
|
1259
|
+
// ../../node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.js
|
|
1306
1260
|
init_cjs_shims();
|
|
1307
1261
|
var ANSI_BACKGROUND_OFFSET2 = 10;
|
|
1308
1262
|
var wrapAnsi162 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
@@ -1402,7 +1356,7 @@ function assembleStyles2() {
|
|
|
1402
1356
|
styles3.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET2);
|
|
1403
1357
|
Object.defineProperties(styles3, {
|
|
1404
1358
|
rgbToAnsi256: {
|
|
1405
|
-
value
|
|
1359
|
+
value(red, green, blue) {
|
|
1406
1360
|
if (red === green && green === blue) {
|
|
1407
1361
|
if (red < 8) {
|
|
1408
1362
|
return 16;
|
|
@@ -1417,7 +1371,7 @@ function assembleStyles2() {
|
|
|
1417
1371
|
enumerable: false
|
|
1418
1372
|
},
|
|
1419
1373
|
hexToRgb: {
|
|
1420
|
-
value
|
|
1374
|
+
value(hex) {
|
|
1421
1375
|
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
1422
1376
|
if (!matches) {
|
|
1423
1377
|
return [0, 0, 0];
|
|
@@ -1442,7 +1396,7 @@ function assembleStyles2() {
|
|
|
1442
1396
|
enumerable: false
|
|
1443
1397
|
},
|
|
1444
1398
|
ansi256ToAnsi: {
|
|
1445
|
-
value
|
|
1399
|
+
value(code) {
|
|
1446
1400
|
if (code < 8) {
|
|
1447
1401
|
return 30 + code;
|
|
1448
1402
|
}
|
|
@@ -1489,7 +1443,7 @@ function assembleStyles2() {
|
|
|
1489
1443
|
var ansiStyles2 = assembleStyles2();
|
|
1490
1444
|
var ansi_styles_default2 = ansiStyles2;
|
|
1491
1445
|
|
|
1492
|
-
// ../../node_modules/.pnpm/wrap-ansi@
|
|
1446
|
+
// ../../node_modules/.pnpm/wrap-ansi@9.0.2/node_modules/wrap-ansi/index.js
|
|
1493
1447
|
var ESCAPES = /* @__PURE__ */ new Set([
|
|
1494
1448
|
"\x1B",
|
|
1495
1449
|
"\x9B"
|
|
@@ -1501,13 +1455,13 @@ var ANSI_OSC = "]";
|
|
|
1501
1455
|
var ANSI_SGR_TERMINATOR = "m";
|
|
1502
1456
|
var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
1503
1457
|
var wrapAnsiCode = (code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
|
|
1504
|
-
var wrapAnsiHyperlink = (
|
|
1458
|
+
var wrapAnsiHyperlink = (url) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
|
|
1505
1459
|
var wordLengths = (string) => string.split(" ").map((character) => stringWidth(character));
|
|
1506
1460
|
var wrapWord = (rows, word, columns) => {
|
|
1507
1461
|
const characters = [...word];
|
|
1508
1462
|
let isInsideEscape = false;
|
|
1509
1463
|
let isInsideLinkEscape = false;
|
|
1510
|
-
let visible = stringWidth(stripAnsi(rows
|
|
1464
|
+
let visible = stringWidth(stripAnsi(rows.at(-1)));
|
|
1511
1465
|
for (const [index, character] of characters.entries()) {
|
|
1512
1466
|
const characterLength = stringWidth(character);
|
|
1513
1467
|
if (visible + characterLength <= columns) {
|
|
@@ -1518,7 +1472,8 @@ var wrapWord = (rows, word, columns) => {
|
|
|
1518
1472
|
}
|
|
1519
1473
|
if (ESCAPES.has(character)) {
|
|
1520
1474
|
isInsideEscape = true;
|
|
1521
|
-
|
|
1475
|
+
const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("");
|
|
1476
|
+
isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
|
|
1522
1477
|
}
|
|
1523
1478
|
if (isInsideEscape) {
|
|
1524
1479
|
if (isInsideLinkEscape) {
|
|
@@ -1537,7 +1492,7 @@ var wrapWord = (rows, word, columns) => {
|
|
|
1537
1492
|
visible = 0;
|
|
1538
1493
|
}
|
|
1539
1494
|
}
|
|
1540
|
-
if (!visible && rows
|
|
1495
|
+
if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
|
|
1541
1496
|
rows[rows.length - 2] += rows.pop();
|
|
1542
1497
|
}
|
|
1543
1498
|
};
|
|
@@ -1566,9 +1521,9 @@ var exec = (string, columns, options = {}) => {
|
|
|
1566
1521
|
let rows = [""];
|
|
1567
1522
|
for (const [index, word] of string.split(" ").entries()) {
|
|
1568
1523
|
if (options.trim !== false) {
|
|
1569
|
-
rows[rows.length - 1] = rows
|
|
1524
|
+
rows[rows.length - 1] = rows.at(-1).trimStart();
|
|
1570
1525
|
}
|
|
1571
|
-
let rowLength = stringWidth(rows
|
|
1526
|
+
let rowLength = stringWidth(rows.at(-1));
|
|
1572
1527
|
if (index !== 0) {
|
|
1573
1528
|
if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
|
|
1574
1529
|
rows.push("");
|
|
@@ -1605,11 +1560,13 @@ var exec = (string, columns, options = {}) => {
|
|
|
1605
1560
|
if (options.trim !== false) {
|
|
1606
1561
|
rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
|
|
1607
1562
|
}
|
|
1608
|
-
const
|
|
1563
|
+
const preString = rows.join("\n");
|
|
1564
|
+
const pre = [...preString];
|
|
1565
|
+
let preStringIndex = 0;
|
|
1609
1566
|
for (const [index, character] of pre.entries()) {
|
|
1610
1567
|
returnValue += character;
|
|
1611
1568
|
if (ESCAPES.has(character)) {
|
|
1612
|
-
const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(
|
|
1569
|
+
const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || { groups: {} };
|
|
1613
1570
|
if (groups.code !== void 0) {
|
|
1614
1571
|
const code2 = Number.parseFloat(groups.code);
|
|
1615
1572
|
escapeCode = code2 === END_CODE ? void 0 : code2;
|
|
@@ -1633,14 +1590,15 @@ var exec = (string, columns, options = {}) => {
|
|
|
1633
1590
|
returnValue += wrapAnsiHyperlink(escapeUrl);
|
|
1634
1591
|
}
|
|
1635
1592
|
}
|
|
1593
|
+
preStringIndex += character.length;
|
|
1636
1594
|
}
|
|
1637
1595
|
return returnValue;
|
|
1638
1596
|
};
|
|
1639
1597
|
function wrapAnsi(string, columns, options) {
|
|
1640
|
-
return String(string).normalize().
|
|
1598
|
+
return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
|
|
1641
1599
|
}
|
|
1642
1600
|
|
|
1643
|
-
// ../../node_modules/.pnpm/boxen@
|
|
1601
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
1644
1602
|
var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
|
|
1645
1603
|
var NEWLINE = "\n";
|
|
1646
1604
|
var PAD = " ";
|
|
@@ -1778,22 +1736,9 @@ var makeContentText = (text, { padding, width, textAlignment, height }) => {
|
|
|
1778
1736
|
}
|
|
1779
1737
|
const paddingLeft = PAD.repeat(padding.left);
|
|
1780
1738
|
const paddingRight = PAD.repeat(padding.right);
|
|
1781
|
-
lines = lines.map((line) => paddingLeft + line + paddingRight);
|
|
1782
1739
|
lines = lines.map((line) => {
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
case "center": {
|
|
1786
|
-
return line + PAD.repeat(width - stringWidth(line));
|
|
1787
|
-
}
|
|
1788
|
-
case "right": {
|
|
1789
|
-
return line + PAD.repeat(width - stringWidth(line));
|
|
1790
|
-
}
|
|
1791
|
-
default: {
|
|
1792
|
-
return line + PAD.repeat(width - stringWidth(line));
|
|
1793
|
-
}
|
|
1794
|
-
}
|
|
1795
|
-
}
|
|
1796
|
-
return line;
|
|
1740
|
+
const newLine = paddingLeft + line + paddingRight;
|
|
1741
|
+
return newLine + PAD.repeat(width - stringWidth(newLine));
|
|
1797
1742
|
});
|
|
1798
1743
|
if (padding.top > 0) {
|
|
1799
1744
|
lines = [...Array.from({ length: padding.top }).fill(PAD.repeat(width)), ...lines];
|
|
@@ -1810,10 +1755,10 @@ var makeContentText = (text, { padding, width, textAlignment, height }) => {
|
|
|
1810
1755
|
};
|
|
1811
1756
|
var boxContent = (content, contentWidth, options) => {
|
|
1812
1757
|
const colorizeBorder = (border) => {
|
|
1813
|
-
const newBorder = options.borderColor ?
|
|
1758
|
+
const newBorder = options.borderColor ? getColorFunction(options.borderColor)(border) : border;
|
|
1814
1759
|
return options.dimBorder ? source_default.dim(newBorder) : newBorder;
|
|
1815
1760
|
};
|
|
1816
|
-
const colorizeContent = (content2) => options.backgroundColor ?
|
|
1761
|
+
const colorizeContent = (content2) => options.backgroundColor ? getBGColorFunction(options.backgroundColor)(content2) : content2;
|
|
1817
1762
|
const chars = getBorderChars(options.borderStyle);
|
|
1818
1763
|
const columns = terminalColumns();
|
|
1819
1764
|
let marginLeft = PAD.repeat(options.margin.left);
|
|
@@ -1847,19 +1792,11 @@ var sanitizeOptions = (options) => {
|
|
|
1847
1792
|
if (typeof options.fullscreen === "function") {
|
|
1848
1793
|
newDimensions = options.fullscreen(...newDimensions);
|
|
1849
1794
|
}
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
}
|
|
1853
|
-
if (!options.height) {
|
|
1854
|
-
options.height = newDimensions[1];
|
|
1855
|
-
}
|
|
1856
|
-
}
|
|
1857
|
-
if (options.width) {
|
|
1858
|
-
options.width = Math.max(1, options.width - getBorderWidth(options.borderStyle));
|
|
1859
|
-
}
|
|
1860
|
-
if (options.height) {
|
|
1861
|
-
options.height = Math.max(1, options.height - getBorderWidth(options.borderStyle));
|
|
1795
|
+
options.width ||= newDimensions[0];
|
|
1796
|
+
options.height ||= newDimensions[1];
|
|
1862
1797
|
}
|
|
1798
|
+
options.width &&= Math.max(1, options.width - getBorderWidth(options.borderStyle));
|
|
1799
|
+
options.height &&= Math.max(1, options.height - getBorderWidth(options.borderStyle));
|
|
1863
1800
|
return options;
|
|
1864
1801
|
};
|
|
1865
1802
|
var formatTitle = (title, borderStyle) => borderStyle === NONE ? title : ` ${title} `;
|
|
@@ -1872,9 +1809,7 @@ var determineDimensions = (text, options) => {
|
|
|
1872
1809
|
const widest = widestLine(wrapAnsi(text, columns - borderWidth, { hard: true, trim: false })) + options.padding.left + options.padding.right;
|
|
1873
1810
|
if (options.title && widthOverride) {
|
|
1874
1811
|
options.title = options.title.slice(0, Math.max(0, options.width - 2));
|
|
1875
|
-
|
|
1876
|
-
options.title = formatTitle(options.title, options.borderStyle);
|
|
1877
|
-
}
|
|
1812
|
+
options.title &&= formatTitle(options.title, options.borderStyle);
|
|
1878
1813
|
} else if (options.title) {
|
|
1879
1814
|
options.title = options.title.slice(0, Math.max(0, maxWidth - 2));
|
|
1880
1815
|
if (options.title) {
|
|
@@ -1884,7 +1819,7 @@ var determineDimensions = (text, options) => {
|
|
|
1884
1819
|
}
|
|
1885
1820
|
}
|
|
1886
1821
|
}
|
|
1887
|
-
options.width
|
|
1822
|
+
options.width ||= widest;
|
|
1888
1823
|
if (!widthOverride) {
|
|
1889
1824
|
if (options.margin.left && options.margin.right && options.width > maxWidth) {
|
|
1890
1825
|
const spaceForMargins = columns - options.width - borderWidth;
|
|
@@ -1906,8 +1841,8 @@ var determineDimensions = (text, options) => {
|
|
|
1906
1841
|
};
|
|
1907
1842
|
var isHex = (color) => color.match(/^#(?:[0-f]{3}){1,2}$/i);
|
|
1908
1843
|
var isColorValid = (color) => typeof color === "string" && (source_default[color] ?? isHex(color));
|
|
1909
|
-
var
|
|
1910
|
-
var
|
|
1844
|
+
var getColorFunction = (color) => isHex(color) ? source_default.hex(color) : source_default[color];
|
|
1845
|
+
var getBGColorFunction = (color) => isHex(color) ? source_default.bgHex(color) : source_default[camelCase(["bg", color])];
|
|
1911
1846
|
function boxen(text, options) {
|
|
1912
1847
|
options = {
|
|
1913
1848
|
padding: 0,
|
|
@@ -2205,6 +2140,43 @@ var PandaContext = class extends import_generator2.Generator {
|
|
|
2205
2140
|
files: [{ file: "styles.css", code: this.getCss(sheet) }]
|
|
2206
2141
|
});
|
|
2207
2142
|
};
|
|
2143
|
+
writeSplitCss = async (sheet) => {
|
|
2144
|
+
const { path: pathUtil, fs: fs3 } = this.runtime;
|
|
2145
|
+
const rootDir = this.paths.root;
|
|
2146
|
+
const stylesDir = [...rootDir, "styles"];
|
|
2147
|
+
const artifacts = this.getSplitCssArtifacts(sheet);
|
|
2148
|
+
const subDirs = new Set([...artifacts.recipes, ...artifacts.themes].map((a) => a.dir).filter(Boolean));
|
|
2149
|
+
fs3.ensureDirSync(pathUtil.join(...stylesDir));
|
|
2150
|
+
subDirs.forEach((dir) => fs3.ensureDirSync(pathUtil.join(...stylesDir, dir)));
|
|
2151
|
+
const styleFiles = [];
|
|
2152
|
+
for (const layer of artifacts.layers) {
|
|
2153
|
+
styleFiles.push({ file: layer.file, code: layer.code });
|
|
2154
|
+
import_logger4.logger.info("css", pathUtil.join(...stylesDir, layer.file));
|
|
2155
|
+
}
|
|
2156
|
+
for (const recipe of artifacts.recipes) {
|
|
2157
|
+
styleFiles.push({ file: `${recipe.dir}/${recipe.file}`, code: recipe.code });
|
|
2158
|
+
import_logger4.logger.info("css", pathUtil.join(...stylesDir, recipe.dir, recipe.file));
|
|
2159
|
+
}
|
|
2160
|
+
if (artifacts.recipes.length) {
|
|
2161
|
+
styleFiles.push({ file: "recipes.css", code: artifacts.recipesIndex });
|
|
2162
|
+
import_logger4.logger.info("css", pathUtil.join(...stylesDir, "recipes.css"));
|
|
2163
|
+
}
|
|
2164
|
+
for (const theme of artifacts.themes) {
|
|
2165
|
+
styleFiles.push({ file: `${theme.dir}/${theme.file}`, code: theme.code });
|
|
2166
|
+
import_logger4.logger.info("css", pathUtil.join(...stylesDir, theme.dir, theme.file));
|
|
2167
|
+
}
|
|
2168
|
+
await this.output.write({
|
|
2169
|
+
id: "styles",
|
|
2170
|
+
dir: stylesDir,
|
|
2171
|
+
files: styleFiles
|
|
2172
|
+
});
|
|
2173
|
+
import_logger4.logger.info("css", pathUtil.join(...rootDir, "styles.css"));
|
|
2174
|
+
await this.output.write({
|
|
2175
|
+
id: "styles.css",
|
|
2176
|
+
dir: rootDir,
|
|
2177
|
+
files: [{ file: "styles.css", code: artifacts.index }]
|
|
2178
|
+
});
|
|
2179
|
+
};
|
|
2208
2180
|
watchConfig = (cb, opts) => {
|
|
2209
2181
|
const { cwd, poll, exclude } = opts ?? {};
|
|
2210
2182
|
import_logger4.logger.info("ctx:watch", this.messages.configWatch());
|
|
@@ -2568,7 +2540,7 @@ var startProfiling = async (cwd, prefix, isWatching) => {
|
|
|
2568
2540
|
init_cjs_shims();
|
|
2569
2541
|
var import_logger7 = require("@pandacss/logger");
|
|
2570
2542
|
var cssgen = async (ctx, options) => {
|
|
2571
|
-
const { outfile, type, minimal } = options;
|
|
2543
|
+
const { outfile, type, minimal, splitting } = options;
|
|
2572
2544
|
const sheet = ctx.createSheet();
|
|
2573
2545
|
if (type) {
|
|
2574
2546
|
const done = import_logger7.logger.time.info(ctx.messages.cssArtifactComplete(type));
|
|
@@ -2589,7 +2561,9 @@ var cssgen = async (ctx, options) => {
|
|
|
2589
2561
|
ctx.appendBaselineCss(sheet);
|
|
2590
2562
|
}
|
|
2591
2563
|
ctx.appendParserCss(sheet);
|
|
2592
|
-
if (
|
|
2564
|
+
if (splitting) {
|
|
2565
|
+
await ctx.writeSplitCss(sheet);
|
|
2566
|
+
} else if (outfile) {
|
|
2593
2567
|
const css = ctx.getCss(sheet);
|
|
2594
2568
|
import_logger7.logger.info("css", ctx.runtime.path.resolve(outfile));
|
|
2595
2569
|
await ctx.runtime.fs.writeFile(outfile, css);
|