ababil 2.0.1 → 2.0.3

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/README.md CHANGED
@@ -58,7 +58,7 @@ npx ababil
58
58
  ### **yarn dlx**
59
59
 
60
60
  ```bash
61
- yarn dlx ababil
61
+ yarn exec ababil
62
62
  ```
63
63
 
64
64
  ### **pnpm dlx**
package/dist/index.js CHANGED
@@ -5,10 +5,10 @@
5
5
  * @description CLI portfolio for Ababil Hossain
6
6
  * @author Ababil Hossain <ababil.webdev@gmail.com>
7
7
  * @license MIT
8
- * @version 2.0.1
8
+ * @version 2.0.3
9
9
  * @repository https://github.com/DevAbabil/ababil.git
10
10
  * @created 2024-03-02
11
- * @lastModified 2025-10-23
11
+ * @lastModified 2025-11-08
12
12
  **/
13
13
  "use strict";
14
14
  var __create = Object.create;
@@ -35,7 +35,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
35
35
  ));
36
36
 
37
37
  // src/index.ts
38
- var import_boxen = __toESM(require("boxen"));
38
+ var import_boxen3 = __toESM(require("boxen"));
39
39
 
40
40
  // src/components/_header.ts
41
41
  var import_gradient_string = __toESM(require("gradient-string"));
@@ -49,16 +49,17 @@ var data_default = {
49
49
  address: "Dinajpur, Bangladesh"
50
50
  },
51
51
  skills: {
52
- frontend: ["Tailwind", "MUI", "Shadcn-UI", "React", "Next.js", "Progressive Web Apps"],
52
+ frontend: ["ReactJS", "NextJS", "TailwindCSS", "PWA"],
53
53
  backend: ["Node.js", "Express.js", "Moduler-MVC"],
54
54
  database: ["MongoDB", "PostgreSQL", "Redis"],
55
- tools: ["Git", "GitHub", "GitLab", "NPM", "VS Code", "Postman", "Figma", "Linux"],
55
+ tools: ["Git", "GitHub", "NPM", "VS Code", "Postman", "Figma"],
56
56
  language: ["JavaScript", "TypeScript", "ShellScript"]
57
57
  },
58
58
  contact: {
59
59
  website: "https://devababil.com",
60
60
  github: "https://github.com/DevAbabil",
61
61
  gitlab: "https://gitlab.com/DevAbabil",
62
+ gmail: "ababil.webdev@gmail.com",
62
63
  x: "https://x.com/DevAbabil",
63
64
  linkedIn: "https://www.linkedin.com/in/DevAbabil",
64
65
  facebook: "https://facebook.com/programmerababil",
@@ -113,29 +114,33 @@ var data_default = {
113
114
  timeZone: "Asia/Dhaka"
114
115
  })
115
116
  },
116
- version: "2.0.1"
117
+ version: "2.0.3"
117
118
  };
118
119
 
119
120
  // src/components/_header.ts
120
- var header = () => import_gradient_string.default.pastel.multiline(`
121
- =============================================
122
- \u{1F44B} Hi, I'm ${data_default.about.name}
123
- \u{1F4BB} ${data_default.about.profession}
124
- =============================================
121
+ var import_boxen = __toESM(require("boxen"));
122
+ var header = () => import_gradient_string.default.pastel.multiline(`${(0, import_boxen.default)(
123
+ `=============================================
124
+ \u{1F44B} Hi, I'm ${data_default.about.name}
125
+ \u{1F4BB} ${data_default.about.profession}
126
+ =============================================`,
127
+ { textAlignment: "center", width: 82, borderStyle: "singleDouble" }
128
+ )}
125
129
  `);
126
130
  var header_default = header;
127
131
 
128
132
  // src/components/_footer.ts
133
+ var import_boxen2 = __toESM(require("boxen"));
129
134
  var import_gradient_string2 = __toESM(require("gradient-string"));
130
- var footer = () => import_gradient_string2.default.instagram.multiline(`
131
-
132
- ----------------------------------------------------------------------------------------------------
133
-
134
- \u{1F4AC} Thanks for visiting my CLI portfolio!
135
- Created : ${data_default.timestamp.createdAt}
136
- Updated : ${data_default.timestamp.updatedAt}
137
- Version : ababil@${data_default.version}
138
- `);
135
+ var footer = () => import_gradient_string2.default.instagram.multiline(
136
+ (0, import_boxen2.default)(
137
+ `\u{1F4AC} Thanks for visiting my CLI portfolio!
138
+ Created : ${data_default.timestamp.createdAt}
139
+ Updated : ${data_default.timestamp.updatedAt}
140
+ Version : ababil@${data_default.version}`,
141
+ { textAlignment: "center", width: 82 }
142
+ )
143
+ );
139
144
  var footer_default = footer;
140
145
 
141
146
  // src/components/_about.ts
@@ -144,46 +149,481 @@ var about = () => `${import_chalk.default.bold("\u{1F464} About Me")}
144
149
 
145
150
  ~/ ${import_chalk.default.bold("Name")} ${import_chalk.default.bold(":")} ${data_default.about.name}
146
151
  ~/ ${import_chalk.default.bold("Profession")} ${import_chalk.default.bold(":")} ${data_default.about.profession}
152
+ ~/ ${import_chalk.default.bold("Gmail")} ${import_chalk.default.bold(":")} ${import_chalk.default.blue.underline(data_default.contact.gmail)}
147
153
 
148
154
  ~/ ${import_chalk.default.bold("Location")} ${import_chalk.default.bold(":")} ${data_default.about.address}
149
155
  ~/ ${import_chalk.default.bold("WhatsApp")} ${import_chalk.default.bold(":")} ${import_chalk.default.cyan(data_default.contact.whatsapp)}
150
156
  ~/ ${import_chalk.default.bold("Website")} ${import_chalk.default.bold(":")} ${import_chalk.default.blue.underline(data_default.contact.website)}
151
157
  ~/ ${import_chalk.default.bold("GitHub")} ${import_chalk.default.bold(":")} ${import_chalk.default.blue.underline(data_default.contact.github)}
152
- ~/ ${import_chalk.default.bold("Facebook")} ${import_chalk.default.bold(":")} ${import_chalk.default.blue.underline(data_default.contact.facebook)}
153
158
  ~/ ${import_chalk.default.bold("X (Twitter)")} ${import_chalk.default.bold(":")} ${import_chalk.default.blue.underline(data_default.contact.x)}
154
159
  ~/ ${import_chalk.default.bold("Discord")} ${import_chalk.default.bold(":")} ${import_chalk.default.blue.underline(data_default.contact.discord)}
160
+ ~/ ${import_chalk.default.bold("Facebook")} ${import_chalk.default.bold(":")} ${import_chalk.default.blue.underline(data_default.contact.facebook)}
155
161
  `;
156
162
  var about_default = about;
157
163
 
158
164
  // src/components/_projects.ts
159
165
  var import_chalk2 = __toESM(require("chalk"));
166
+
167
+ // node_modules/ansi-regex/index.js
168
+ function ansiRegex({ onlyFirst = false } = {}) {
169
+ const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
170
+ const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
171
+ const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
172
+ const pattern = `${osc}|${csi}`;
173
+ return new RegExp(pattern, onlyFirst ? void 0 : "g");
174
+ }
175
+
176
+ // node_modules/strip-ansi/index.js
177
+ var regex = ansiRegex();
178
+ function stripAnsi(string) {
179
+ if (typeof string !== "string") {
180
+ throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
181
+ }
182
+ return string.replace(regex, "");
183
+ }
184
+
185
+ // node_modules/get-east-asian-width/lookup.js
186
+ function isAmbiguous(x) {
187
+ 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;
188
+ }
189
+ function isFullWidth(x) {
190
+ return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
191
+ }
192
+ function isWide(x) {
193
+ 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;
194
+ }
195
+
196
+ // node_modules/get-east-asian-width/index.js
197
+ function validate(codePoint) {
198
+ if (!Number.isSafeInteger(codePoint)) {
199
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
200
+ }
201
+ }
202
+ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
203
+ validate(codePoint);
204
+ if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
205
+ return 2;
206
+ }
207
+ return 1;
208
+ }
209
+
210
+ // node_modules/emoji-regex/index.mjs
211
+ var emoji_regex_default = () => {
212
+ 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-\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;
213
+ };
214
+
215
+ // node_modules/string-width/index.js
216
+ var segmenter = new Intl.Segmenter();
217
+ var defaultIgnorableCodePointRegex = new RegExp("^\\p{Default_Ignorable_Code_Point}$", "u");
218
+ function stringWidth(string, options = {}) {
219
+ if (typeof string !== "string" || string.length === 0) {
220
+ return 0;
221
+ }
222
+ const {
223
+ ambiguousIsNarrow = true,
224
+ countAnsiEscapeCodes = false
225
+ } = options;
226
+ if (!countAnsiEscapeCodes) {
227
+ string = stripAnsi(string);
228
+ }
229
+ if (string.length === 0) {
230
+ return 0;
231
+ }
232
+ let width = 0;
233
+ const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
234
+ for (const { segment: character } of segmenter.segment(string)) {
235
+ const codePoint = character.codePointAt(0);
236
+ if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
237
+ continue;
238
+ }
239
+ if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
240
+ continue;
241
+ }
242
+ if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
243
+ continue;
244
+ }
245
+ if (codePoint >= 55296 && codePoint <= 57343) {
246
+ continue;
247
+ }
248
+ if (codePoint >= 65024 && codePoint <= 65039) {
249
+ continue;
250
+ }
251
+ if (defaultIgnorableCodePointRegex.test(character)) {
252
+ continue;
253
+ }
254
+ if (emoji_regex_default().test(character)) {
255
+ width += 2;
256
+ continue;
257
+ }
258
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
259
+ }
260
+ return width;
261
+ }
262
+
263
+ // node_modules/ansi-styles/index.js
264
+ var ANSI_BACKGROUND_OFFSET = 10;
265
+ var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
266
+ var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
267
+ var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
268
+ var styles = {
269
+ modifier: {
270
+ reset: [0, 0],
271
+ // 21 isn't widely supported and 22 does the same thing
272
+ bold: [1, 22],
273
+ dim: [2, 22],
274
+ italic: [3, 23],
275
+ underline: [4, 24],
276
+ overline: [53, 55],
277
+ inverse: [7, 27],
278
+ hidden: [8, 28],
279
+ strikethrough: [9, 29]
280
+ },
281
+ color: {
282
+ black: [30, 39],
283
+ red: [31, 39],
284
+ green: [32, 39],
285
+ yellow: [33, 39],
286
+ blue: [34, 39],
287
+ magenta: [35, 39],
288
+ cyan: [36, 39],
289
+ white: [37, 39],
290
+ // Bright color
291
+ blackBright: [90, 39],
292
+ gray: [90, 39],
293
+ // Alias of `blackBright`
294
+ grey: [90, 39],
295
+ // Alias of `blackBright`
296
+ redBright: [91, 39],
297
+ greenBright: [92, 39],
298
+ yellowBright: [93, 39],
299
+ blueBright: [94, 39],
300
+ magentaBright: [95, 39],
301
+ cyanBright: [96, 39],
302
+ whiteBright: [97, 39]
303
+ },
304
+ bgColor: {
305
+ bgBlack: [40, 49],
306
+ bgRed: [41, 49],
307
+ bgGreen: [42, 49],
308
+ bgYellow: [43, 49],
309
+ bgBlue: [44, 49],
310
+ bgMagenta: [45, 49],
311
+ bgCyan: [46, 49],
312
+ bgWhite: [47, 49],
313
+ // Bright color
314
+ bgBlackBright: [100, 49],
315
+ bgGray: [100, 49],
316
+ // Alias of `bgBlackBright`
317
+ bgGrey: [100, 49],
318
+ // Alias of `bgBlackBright`
319
+ bgRedBright: [101, 49],
320
+ bgGreenBright: [102, 49],
321
+ bgYellowBright: [103, 49],
322
+ bgBlueBright: [104, 49],
323
+ bgMagentaBright: [105, 49],
324
+ bgCyanBright: [106, 49],
325
+ bgWhiteBright: [107, 49]
326
+ }
327
+ };
328
+ var modifierNames = Object.keys(styles.modifier);
329
+ var foregroundColorNames = Object.keys(styles.color);
330
+ var backgroundColorNames = Object.keys(styles.bgColor);
331
+ var colorNames = [...foregroundColorNames, ...backgroundColorNames];
332
+ function assembleStyles() {
333
+ const codes = /* @__PURE__ */ new Map();
334
+ for (const [groupName, group] of Object.entries(styles)) {
335
+ for (const [styleName, style] of Object.entries(group)) {
336
+ styles[styleName] = {
337
+ open: `\x1B[${style[0]}m`,
338
+ close: `\x1B[${style[1]}m`
339
+ };
340
+ group[styleName] = styles[styleName];
341
+ codes.set(style[0], style[1]);
342
+ }
343
+ Object.defineProperty(styles, groupName, {
344
+ value: group,
345
+ enumerable: false
346
+ });
347
+ }
348
+ Object.defineProperty(styles, "codes", {
349
+ value: codes,
350
+ enumerable: false
351
+ });
352
+ styles.color.close = "\x1B[39m";
353
+ styles.bgColor.close = "\x1B[49m";
354
+ styles.color.ansi = wrapAnsi16();
355
+ styles.color.ansi256 = wrapAnsi256();
356
+ styles.color.ansi16m = wrapAnsi16m();
357
+ styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
358
+ styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
359
+ styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
360
+ Object.defineProperties(styles, {
361
+ rgbToAnsi256: {
362
+ value(red, green, blue) {
363
+ if (red === green && green === blue) {
364
+ if (red < 8) {
365
+ return 16;
366
+ }
367
+ if (red > 248) {
368
+ return 231;
369
+ }
370
+ return Math.round((red - 8) / 247 * 24) + 232;
371
+ }
372
+ return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
373
+ },
374
+ enumerable: false
375
+ },
376
+ hexToRgb: {
377
+ value(hex) {
378
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
379
+ if (!matches) {
380
+ return [0, 0, 0];
381
+ }
382
+ let [colorString] = matches;
383
+ if (colorString.length === 3) {
384
+ colorString = [...colorString].map((character) => character + character).join("");
385
+ }
386
+ const integer = Number.parseInt(colorString, 16);
387
+ return [
388
+ /* eslint-disable no-bitwise */
389
+ integer >> 16 & 255,
390
+ integer >> 8 & 255,
391
+ integer & 255
392
+ /* eslint-enable no-bitwise */
393
+ ];
394
+ },
395
+ enumerable: false
396
+ },
397
+ hexToAnsi256: {
398
+ value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
399
+ enumerable: false
400
+ },
401
+ ansi256ToAnsi: {
402
+ value(code) {
403
+ if (code < 8) {
404
+ return 30 + code;
405
+ }
406
+ if (code < 16) {
407
+ return 90 + (code - 8);
408
+ }
409
+ let red;
410
+ let green;
411
+ let blue;
412
+ if (code >= 232) {
413
+ red = ((code - 232) * 10 + 8) / 255;
414
+ green = red;
415
+ blue = red;
416
+ } else {
417
+ code -= 16;
418
+ const remainder = code % 36;
419
+ red = Math.floor(code / 36) / 5;
420
+ green = Math.floor(remainder / 6) / 5;
421
+ blue = remainder % 6 / 5;
422
+ }
423
+ const value = Math.max(red, green, blue) * 2;
424
+ if (value === 0) {
425
+ return 30;
426
+ }
427
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
428
+ if (value === 2) {
429
+ result += 60;
430
+ }
431
+ return result;
432
+ },
433
+ enumerable: false
434
+ },
435
+ rgbToAnsi: {
436
+ value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
437
+ enumerable: false
438
+ },
439
+ hexToAnsi: {
440
+ value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
441
+ enumerable: false
442
+ }
443
+ });
444
+ return styles;
445
+ }
446
+ var ansiStyles = assembleStyles();
447
+ var ansi_styles_default = ansiStyles;
448
+
449
+ // node_modules/wrap-ansi/index.js
450
+ var ESCAPES = /* @__PURE__ */ new Set([
451
+ "\x1B",
452
+ "\x9B"
453
+ ]);
454
+ var END_CODE = 39;
455
+ var ANSI_ESCAPE_BELL = "\x07";
456
+ var ANSI_CSI = "[";
457
+ var ANSI_OSC = "]";
458
+ var ANSI_SGR_TERMINATOR = "m";
459
+ var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
460
+ var wrapAnsiCode = (code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
461
+ var wrapAnsiHyperlink = (url) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
462
+ var wordLengths = (string) => string.split(" ").map((character) => stringWidth(character));
463
+ var wrapWord = (rows, word, columns) => {
464
+ const characters = [...word];
465
+ let isInsideEscape = false;
466
+ let isInsideLinkEscape = false;
467
+ let visible = stringWidth(stripAnsi(rows.at(-1)));
468
+ for (const [index, character] of characters.entries()) {
469
+ const characterLength = stringWidth(character);
470
+ if (visible + characterLength <= columns) {
471
+ rows[rows.length - 1] += character;
472
+ } else {
473
+ rows.push(character);
474
+ visible = 0;
475
+ }
476
+ if (ESCAPES.has(character)) {
477
+ isInsideEscape = true;
478
+ const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("");
479
+ isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
480
+ }
481
+ if (isInsideEscape) {
482
+ if (isInsideLinkEscape) {
483
+ if (character === ANSI_ESCAPE_BELL) {
484
+ isInsideEscape = false;
485
+ isInsideLinkEscape = false;
486
+ }
487
+ } else if (character === ANSI_SGR_TERMINATOR) {
488
+ isInsideEscape = false;
489
+ }
490
+ continue;
491
+ }
492
+ visible += characterLength;
493
+ if (visible === columns && index < characters.length - 1) {
494
+ rows.push("");
495
+ visible = 0;
496
+ }
497
+ }
498
+ if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
499
+ rows[rows.length - 2] += rows.pop();
500
+ }
501
+ };
502
+ var stringVisibleTrimSpacesRight = (string) => {
503
+ const words = string.split(" ");
504
+ let last = words.length;
505
+ while (last > 0) {
506
+ if (stringWidth(words[last - 1]) > 0) {
507
+ break;
508
+ }
509
+ last--;
510
+ }
511
+ if (last === words.length) {
512
+ return string;
513
+ }
514
+ return words.slice(0, last).join(" ") + words.slice(last).join("");
515
+ };
516
+ var exec = (string, columns, options = {}) => {
517
+ if (options.trim !== false && string.trim() === "") {
518
+ return "";
519
+ }
520
+ let returnValue = "";
521
+ let escapeCode;
522
+ let escapeUrl;
523
+ const lengths = wordLengths(string);
524
+ let rows = [""];
525
+ for (const [index, word] of string.split(" ").entries()) {
526
+ if (options.trim !== false) {
527
+ rows[rows.length - 1] = rows.at(-1).trimStart();
528
+ }
529
+ let rowLength = stringWidth(rows.at(-1));
530
+ if (index !== 0) {
531
+ if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
532
+ rows.push("");
533
+ rowLength = 0;
534
+ }
535
+ if (rowLength > 0 || options.trim === false) {
536
+ rows[rows.length - 1] += " ";
537
+ rowLength++;
538
+ }
539
+ }
540
+ if (options.hard && lengths[index] > columns) {
541
+ const remainingColumns = columns - rowLength;
542
+ const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
543
+ const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
544
+ if (breaksStartingNextLine < breaksStartingThisLine) {
545
+ rows.push("");
546
+ }
547
+ wrapWord(rows, word, columns);
548
+ continue;
549
+ }
550
+ if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
551
+ if (options.wordWrap === false && rowLength < columns) {
552
+ wrapWord(rows, word, columns);
553
+ continue;
554
+ }
555
+ rows.push("");
556
+ }
557
+ if (rowLength + lengths[index] > columns && options.wordWrap === false) {
558
+ wrapWord(rows, word, columns);
559
+ continue;
560
+ }
561
+ rows[rows.length - 1] += word;
562
+ }
563
+ if (options.trim !== false) {
564
+ rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
565
+ }
566
+ const preString = rows.join("\n");
567
+ const pre = [...preString];
568
+ let preStringIndex = 0;
569
+ for (const [index, character] of pre.entries()) {
570
+ returnValue += character;
571
+ if (ESCAPES.has(character)) {
572
+ const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || { groups: {} };
573
+ if (groups.code !== void 0) {
574
+ const code2 = Number.parseFloat(groups.code);
575
+ escapeCode = code2 === END_CODE ? void 0 : code2;
576
+ } else if (groups.uri !== void 0) {
577
+ escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
578
+ }
579
+ }
580
+ const code = ansi_styles_default.codes.get(Number(escapeCode));
581
+ if (pre[index + 1] === "\n") {
582
+ if (escapeUrl) {
583
+ returnValue += wrapAnsiHyperlink("");
584
+ }
585
+ if (escapeCode && code) {
586
+ returnValue += wrapAnsiCode(code);
587
+ }
588
+ } else if (character === "\n") {
589
+ if (escapeCode && code) {
590
+ returnValue += wrapAnsiCode(escapeCode);
591
+ }
592
+ if (escapeUrl) {
593
+ returnValue += wrapAnsiHyperlink(escapeUrl);
594
+ }
595
+ }
596
+ preStringIndex += character.length;
597
+ }
598
+ return returnValue;
599
+ };
600
+ function wrapAnsi(string, columns, options) {
601
+ return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
602
+ }
603
+
604
+ // src/components/_projects.ts
160
605
  var project = data_default.projects;
606
+ var terminalWidth = process.stdout.columns || 80;
607
+ var formatItem = (p) => {
608
+ const bullet = import_chalk2.default.green("\u2022");
609
+ const title = import_chalk2.default.bold.white(p.label);
610
+ const desc = wrapAnsi(import_chalk2.default.gray(p.description), terminalWidth - 4, { hard: false });
611
+ const source = import_chalk2.default.blue.underline(p.source);
612
+ return [`${bullet} ${title}`, ` \u2192 ${desc}`, ` Source: ${source}`].join("\n");
613
+ };
161
614
  var projects = () => `
162
615
  ${import_chalk2.default.greenBright.bold("\u{1F310} Featured Projects:")}
163
616
 
164
- \u2022 ${import_chalk2.default.bold(project.cutefetch.label)} \u2192 ${import_chalk2.default.white(project.cutefetch.description)}
165
- Source : ${import_chalk2.default.blue.underline(project.cutefetch.source)}
166
-
167
- \u2022 ${import_chalk2.default.bold(project["emoji-picker"].label)} \u2192 ${import_chalk2.default.white(project["emoji-picker"].description)}
168
- Source : ${import_chalk2.default.blue.underline(project["emoji-picker"].source)}
169
-
170
- \u2022 ${import_chalk2.default.bold(project.sigla.label)} \u2192 ${import_chalk2.default.white(project.sigla.description)}
171
- Source : ${import_chalk2.default.blue.underline(project.sigla.source)}
172
-
173
- \u2022 ${import_chalk2.default.bold(project.siteviews.label)} \u2192 ${import_chalk2.default.white(project.siteviews.description)}
174
- Source : ${import_chalk2.default.blue.underline(project.siteviews.source)}
175
-
176
- \u2022 ${import_chalk2.default.bold(project["react-siteviews"].label)} \u2192 ${import_chalk2.default.white(project["react-siteviews"].description)}
177
- Source : ${import_chalk2.default.blue.underline(project["react-siteviews"].source)}
178
-
179
- \u2022 ${import_chalk2.default.bold(project["make-public"].label)} \u2192 ${import_chalk2.default.white(project["make-public"].description)}
180
- Source : ${import_chalk2.default.blue.underline(project["make-public"].source)}
181
-
182
- \u2022 ${import_chalk2.default.bold(project["gen-table"].label)} \u2192 ${import_chalk2.default.white(project["gen-table"].description)}
183
- Source : ${import_chalk2.default.blue.underline(project["gen-table"].source)}
184
-
185
- \u2022 ${import_chalk2.default.bold(project["mongoose-qb"].label)} \u2192 ${import_chalk2.default.white(project["mongoose-qb"].description)}
186
- Source : ${import_chalk2.default.blue.underline(project["mongoose-qb"].source)}
617
+ ${[
618
+ project.cutefetch,
619
+ project["emoji-picker"],
620
+ project.sigla,
621
+ project.siteviews,
622
+ project["react-siteviews"],
623
+ project["make-public"],
624
+ project["gen-table"],
625
+ project["mongoose-qb"]
626
+ ].map(formatItem).join("\n\n")}
187
627
  `;
188
628
  var projects_default = projects;
189
629
 
@@ -202,19 +642,17 @@ var skills_default = skills;
202
642
 
203
643
  // src/index.ts
204
644
  var import_console = require("console");
205
- var content = (0, import_boxen.default)(
206
- `
207
- ${header_default()}
645
+ var content = (0, import_boxen3.default)(
646
+ `${header_default()}
208
647
  ${about_default()}
209
648
  ${skills_default()}
210
649
  ${projects_default()}
211
- ${footer_default()}
212
- `,
650
+ ${footer_default()}`,
213
651
  {
214
652
  padding: 0.5,
215
653
  borderStyle: "round",
216
654
  borderColor: "green",
217
- width: 105,
655
+ width: 87,
218
656
  title: "DevAbabil CLI README"
219
657
  }
220
658
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ababil",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "CLI portfolio for Ababil Hossain",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,3 +0,0 @@
1
- {
2
- "prettier.printWidth": 150
3
- }