vitest 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/browser.d.ts +5 -5
  2. package/dist/browser.js +1 -1
  3. package/dist/chunks/{base.BlXpj3e_.js → base.DwXGwWst.js} +1 -10
  4. package/dist/chunks/{base.CsQmmYBA.js → base.tiemDJX6.js} +1 -1
  5. package/dist/chunks/{benchmark.puBFxyfE.d.ts → benchmark.JVlTzojj.d.ts} +2 -0
  6. package/dist/chunks/{cac.BVmpoFAv.js → cac.B9PaPYY1.js} +7 -7
  7. package/dist/chunks/cli-api.CHxC4-U8.js +11754 -0
  8. package/dist/chunks/{config.CHuotKvS.d.ts → config.Crbj2GAb.d.ts} +3 -0
  9. package/dist/chunks/{creator.BteLTfY8.js → creator.Cf-MKt9i.js} +4 -7
  10. package/dist/chunks/{environment.C5eAp3K6.d.ts → environment.CzISCQ7o.d.ts} +1 -0
  11. package/dist/chunks/{globals.C03P0O1a.js → globals.HsM2o-0O.js} +3 -3
  12. package/dist/chunks/{index.Bn75ITYg.js → index.BpojBOif.js} +34 -25
  13. package/dist/chunks/{index.DkN6V87F.js → index.Ckn0Cw1h.js} +2 -1
  14. package/dist/chunks/{index.zPibhCkV.js → index.FcPVJkIQ.js} +633 -582
  15. package/dist/chunks/index.mAqbj9F9.js +140 -0
  16. package/dist/chunks/{reporters.WnPwkmgA.d.ts → reporters.DAfKSDh5.d.ts} +17 -12
  17. package/dist/chunks/{resolveConfig.-K5hHm0S.js → resolveConfig.D1DENLPF.js} +3490 -3338
  18. package/dist/chunks/{runBaseTests.9YDrdSI4.js → runBaseTests.D-Gcin7G.js} +5 -5
  19. package/dist/chunks/{setup-common.DV1PI68g.js → setup-common.DF96bIYE.js} +1 -1
  20. package/dist/chunks/{suite.CcK46U-P.d.ts → suite.BMWOKiTe.d.ts} +1 -1
  21. package/dist/chunks/{utils.Dbnmsfq1.js → utils.CY6Spixo.js} +26 -47
  22. package/dist/chunks/vi.DUs2eKik.js +3943 -0
  23. package/dist/chunks/{vite.D2yAwzwa.d.ts → vite.8fk186v-.d.ts} +1 -1
  24. package/dist/chunks/{worker.CmPmTxgH.d.ts → worker.Chrs-_NL.d.ts} +2 -2
  25. package/dist/chunks/{worker.Bws9Zuxu.d.ts → worker.Qtv8v5nL.d.ts} +1 -1
  26. package/dist/cli.js +2 -2
  27. package/dist/config.cjs +2 -1
  28. package/dist/config.d.ts +5 -5
  29. package/dist/config.js +2 -1
  30. package/dist/coverage.d.ts +4 -4
  31. package/dist/coverage.js +2 -2
  32. package/dist/environments.d.ts +2 -2
  33. package/dist/execute.d.ts +3 -3
  34. package/dist/index.d.ts +14 -14
  35. package/dist/index.js +5 -5
  36. package/dist/node.d.ts +8 -8
  37. package/dist/node.js +9 -9
  38. package/dist/reporters.d.ts +4 -4
  39. package/dist/reporters.js +4 -3
  40. package/dist/runners.d.ts +1 -1
  41. package/dist/runners.js +8 -2
  42. package/dist/suite.d.ts +2 -2
  43. package/dist/worker.js +11 -3
  44. package/dist/workers/forks.js +1 -1
  45. package/dist/workers/runVmTests.js +8 -5
  46. package/dist/workers/threads.js +1 -1
  47. package/dist/workers.d.ts +4 -4
  48. package/dist/workers.js +2 -2
  49. package/package.json +11 -12
  50. package/dist/chunks/cli-api.BKkmK21J.js +0 -11404
  51. package/dist/chunks/index.iyKRMe3s.js +0 -131
  52. package/dist/chunks/vi.D6IHiKAI.js +0 -3746
@@ -5,18 +5,19 @@ import { relative, resolve, dirname, extname, normalize } from 'pathe';
5
5
  import { g as getTestName, h as hasFailedSnapshot, a as getFullName } from './tasks.BZnCS9aT.js';
6
6
  import { notNullish, highlight, inspect, positionToOffset, lineSplitRE } from '@vitest/utils';
7
7
  import { a as isNode, b as isDeno } from './env.CmHVDJnw.js';
8
- import { g as getStateSymbol, f as formatProjectName, t as taskFail, F as F_RIGHT, a as F_POINTER, r as renderSnapshotSummary, b as getStateString, c as formatTimeString, d as countTestErrors, e as divider, s as stripAnsi, h as getCols, i as getHookStateSymbol } from './utils.Dbnmsfq1.js';
8
+ import { g as getStateSymbol, f as formatProjectName, t as taskFail, F as F_RIGHT, a as F_POINTER, r as renderSnapshotSummary, b as getStateString, c as formatTimeString, d as countTestErrors, e as divider, h as getCols, i as getHookStateSymbol } from './utils.CY6Spixo.js';
9
+ import { stripVTControlCharacters } from 'node:util';
9
10
  import { getTests, hasFailed, getSuites, getTasks } from '@vitest/runner/utils';
10
11
  import { performance } from 'node:perf_hooks';
11
12
  import { parseStacktrace, parseErrorStacktrace } from '@vitest/utils/source-map';
12
13
  import { r as relativePath } from './index.CxRxs566.js';
13
- import { t as toArray, b as isPrimitive } from './base.BlXpj3e_.js';
14
+ import { t as toArray, b as isPrimitive } from './base.DwXGwWst.js';
14
15
  import { isCI } from 'std-env';
15
16
  import { g as getOutputFile, R as RandomSequencer, a as TypeCheckError } from './RandomSequencer.Bh5-tlNJ.js';
16
17
  import { hostname } from 'node:os';
17
18
  import { Writable } from 'node:stream';
18
19
  import { Console } from 'node:console';
19
- import process$2 from 'node:process';
20
+ import process$1 from 'node:process';
20
21
  import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './_commonjsHelpers.BFTU3MAI.js';
21
22
  import require$$0 from 'assert';
22
23
  import require$$2 from 'events';
@@ -1380,6 +1381,28 @@ function sliceAnsi(string, begin, end) {
1380
1381
  return output;
1381
1382
  }
1382
1383
 
1384
+ function ansiRegex({onlyFirst = false} = {}) {
1385
+ const pattern = [
1386
+ '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
1387
+ '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
1388
+ ].join('|');
1389
+
1390
+ return new RegExp(pattern, onlyFirst ? undefined : 'g');
1391
+ }
1392
+
1393
+ const regex = ansiRegex();
1394
+
1395
+ function stripAnsi(string) {
1396
+ if (typeof string !== 'string') {
1397
+ throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
1398
+ }
1399
+
1400
+ // Even though the regex is global, we don't need to reset the `.lastIndex`
1401
+ // because unlike `.exec()` and `.test()`, `.replace()` does it automatically
1402
+ // and doing it manually has a performance penalty.
1403
+ return string.replace(regex, '');
1404
+ }
1405
+
1383
1406
  // Generated code.
1384
1407
 
1385
1408
  function isAmbiguous(x) {
@@ -2014,7 +2037,7 @@ function renderTree$1(tasks, options, level = 0, maxRows) {
2014
2037
  if (task.result?.state !== "pass" && outputMap$1.get(task) != null) {
2015
2038
  let data = outputMap$1.get(task);
2016
2039
  if (typeof data === "string") {
2017
- data = stripAnsi(data.trim().split("\n").filter(Boolean).pop());
2040
+ data = stripVTControlCharacters(data.trim().split("\n").filter(Boolean).pop());
2018
2041
  if (data === "") {
2019
2042
  data = void 0;
2020
2043
  }
@@ -2748,79 +2771,92 @@ ansiEscapes.iTerm = {
2748
2771
  }
2749
2772
  };
2750
2773
 
2751
- var onetime$2 = {exports: {}};
2774
+ var onetime$1 = {exports: {}};
2752
2775
 
2753
- var mimicFn$2 = {exports: {}};
2776
+ var mimicFn = {exports: {}};
2754
2777
 
2755
- const mimicFn$1 = (to, from) => {
2756
- for (const prop of Reflect.ownKeys(from)) {
2757
- Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
2758
- }
2759
-
2760
- return to;
2761
- };
2778
+ var hasRequiredMimicFn;
2762
2779
 
2763
- mimicFn$2.exports = mimicFn$1;
2764
- // TODO: Remove this for the next major release
2765
- mimicFn$2.exports.default = mimicFn$1;
2780
+ function requireMimicFn () {
2781
+ if (hasRequiredMimicFn) return mimicFn.exports;
2782
+ hasRequiredMimicFn = 1;
2766
2783
 
2767
- var mimicFnExports = mimicFn$2.exports;
2784
+ const mimicFn$1 = (to, from) => {
2785
+ for (const prop of Reflect.ownKeys(from)) {
2786
+ Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
2787
+ }
2768
2788
 
2769
- const mimicFn = mimicFnExports;
2789
+ return to;
2790
+ };
2770
2791
 
2771
- const calledFunctions = new WeakMap();
2792
+ mimicFn.exports = mimicFn$1;
2793
+ // TODO: Remove this for the next major release
2794
+ mimicFn.exports.default = mimicFn$1;
2795
+ return mimicFn.exports;
2796
+ }
2772
2797
 
2773
- const onetime = (function_, options = {}) => {
2774
- if (typeof function_ !== 'function') {
2775
- throw new TypeError('Expected a function');
2776
- }
2798
+ var hasRequiredOnetime;
2777
2799
 
2778
- let returnValue;
2779
- let callCount = 0;
2780
- const functionName = function_.displayName || function_.name || '<anonymous>';
2800
+ function requireOnetime () {
2801
+ if (hasRequiredOnetime) return onetime$1.exports;
2802
+ hasRequiredOnetime = 1;
2803
+ const mimicFn = requireMimicFn();
2781
2804
 
2782
- const onetime = function (...arguments_) {
2783
- calledFunctions.set(onetime, ++callCount);
2805
+ const calledFunctions = new WeakMap();
2784
2806
 
2785
- if (callCount === 1) {
2786
- returnValue = function_.apply(this, arguments_);
2787
- function_ = null;
2788
- } else if (options.throw === true) {
2789
- throw new Error(`Function \`${functionName}\` can only be called once`);
2807
+ const onetime = (function_, options = {}) => {
2808
+ if (typeof function_ !== 'function') {
2809
+ throw new TypeError('Expected a function');
2790
2810
  }
2791
2811
 
2792
- return returnValue;
2793
- };
2812
+ let returnValue;
2813
+ let callCount = 0;
2814
+ const functionName = function_.displayName || function_.name || '<anonymous>';
2794
2815
 
2795
- mimicFn(onetime, function_);
2796
- calledFunctions.set(onetime, callCount);
2816
+ const onetime = function (...arguments_) {
2817
+ calledFunctions.set(onetime, ++callCount);
2797
2818
 
2798
- return onetime;
2799
- };
2819
+ if (callCount === 1) {
2820
+ returnValue = function_.apply(this, arguments_);
2821
+ function_ = null;
2822
+ } else if (options.throw === true) {
2823
+ throw new Error(`Function \`${functionName}\` can only be called once`);
2824
+ }
2800
2825
 
2801
- onetime$2.exports = onetime;
2802
- // TODO: Remove this for the next major release
2803
- onetime$2.exports.default = onetime;
2826
+ return returnValue;
2827
+ };
2804
2828
 
2805
- onetime$2.exports.callCount = function_ => {
2806
- if (!calledFunctions.has(function_)) {
2807
- throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
2808
- }
2829
+ mimicFn(onetime, function_);
2830
+ calledFunctions.set(onetime, callCount);
2809
2831
 
2810
- return calledFunctions.get(function_);
2811
- };
2832
+ return onetime;
2833
+ };
2834
+
2835
+ onetime$1.exports = onetime;
2836
+ // TODO: Remove this for the next major release
2837
+ onetime$1.exports.default = onetime;
2812
2838
 
2813
- var onetimeExports = onetime$2.exports;
2814
- var onetime$1 = /*@__PURE__*/getDefaultExportFromCjs(onetimeExports);
2839
+ onetime$1.exports.callCount = function_ => {
2840
+ if (!calledFunctions.has(function_)) {
2841
+ throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
2842
+ }
2843
+
2844
+ return calledFunctions.get(function_);
2845
+ };
2846
+ return onetime$1.exports;
2847
+ }
2848
+
2849
+ var onetimeExports = requireOnetime();
2850
+ var onetime = /*@__PURE__*/getDefaultExportFromCjs(onetimeExports);
2815
2851
 
2816
2852
  var signalExit$1 = {exports: {}};
2817
2853
 
2818
- var signals$1 = {exports: {}};
2854
+ var signals = {exports: {}};
2819
2855
 
2820
2856
  var hasRequiredSignals;
2821
2857
 
2822
2858
  function requireSignals () {
2823
- if (hasRequiredSignals) return signals$1.exports;
2859
+ if (hasRequiredSignals) return signals.exports;
2824
2860
  hasRequiredSignals = 1;
2825
2861
  (function (module) {
2826
2862
  // This is not the set of all possible signals.
@@ -2876,219 +2912,226 @@ function requireSignals () {
2876
2912
  'SIGUNUSED'
2877
2913
  );
2878
2914
  }
2879
- } (signals$1));
2880
- return signals$1.exports;
2915
+ } (signals));
2916
+ return signals.exports;
2881
2917
  }
2882
2918
 
2883
- // Note: since nyc uses this module to output coverage, any lines
2884
- // that are in the direct sync flow of nyc's outputCoverage are
2885
- // ignored, since we can never get coverage for them.
2886
- // grab a reference to node's real process object right away
2887
- var process$1 = commonjsGlobal.process;
2888
-
2889
- const processOk = function (process) {
2890
- return process &&
2891
- typeof process === 'object' &&
2892
- typeof process.removeListener === 'function' &&
2893
- typeof process.emit === 'function' &&
2894
- typeof process.reallyExit === 'function' &&
2895
- typeof process.listeners === 'function' &&
2896
- typeof process.kill === 'function' &&
2897
- typeof process.pid === 'number' &&
2898
- typeof process.on === 'function'
2899
- };
2900
-
2901
- // some kind of non-node environment, just no-op
2902
- /* istanbul ignore if */
2903
- if (!processOk(process$1)) {
2904
- signalExit$1.exports = function () {
2905
- return function () {}
2906
- };
2907
- } else {
2908
- var assert = require$$0;
2909
- var signals = requireSignals();
2910
- var isWin = /^win/i.test(process$1.platform);
2911
-
2912
- var EE = require$$2;
2913
- /* istanbul ignore if */
2914
- if (typeof EE !== 'function') {
2915
- EE = EE.EventEmitter;
2916
- }
2917
-
2918
- var emitter;
2919
- if (process$1.__signal_exit_emitter__) {
2920
- emitter = process$1.__signal_exit_emitter__;
2921
- } else {
2922
- emitter = process$1.__signal_exit_emitter__ = new EE();
2923
- emitter.count = 0;
2924
- emitter.emitted = {};
2925
- }
2926
-
2927
- // Because this emitter is a global, we have to check to see if a
2928
- // previous version of this library failed to enable infinite listeners.
2929
- // I know what you're about to say. But literally everything about
2930
- // signal-exit is a compromise with evil. Get used to it.
2931
- if (!emitter.infinite) {
2932
- emitter.setMaxListeners(Infinity);
2933
- emitter.infinite = true;
2934
- }
2935
-
2936
- signalExit$1.exports = function (cb, opts) {
2937
- /* istanbul ignore if */
2938
- if (!processOk(commonjsGlobal.process)) {
2939
- return function () {}
2940
- }
2941
- assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
2942
-
2943
- if (loaded === false) {
2944
- load();
2945
- }
2946
-
2947
- var ev = 'exit';
2948
- if (opts && opts.alwaysLast) {
2949
- ev = 'afterexit';
2950
- }
2951
-
2952
- var remove = function () {
2953
- emitter.removeListener(ev, cb);
2954
- if (emitter.listeners('exit').length === 0 &&
2955
- emitter.listeners('afterexit').length === 0) {
2956
- unload();
2957
- }
2958
- };
2959
- emitter.on(ev, cb);
2960
-
2961
- return remove
2962
- };
2963
-
2964
- var unload = function unload () {
2965
- if (!loaded || !processOk(commonjsGlobal.process)) {
2966
- return
2967
- }
2968
- loaded = false;
2969
-
2970
- signals.forEach(function (sig) {
2971
- try {
2972
- process$1.removeListener(sig, sigListeners[sig]);
2973
- } catch (er) {}
2974
- });
2975
- process$1.emit = originalProcessEmit;
2976
- process$1.reallyExit = originalProcessReallyExit;
2977
- emitter.count -= 1;
2978
- };
2979
- signalExit$1.exports.unload = unload;
2919
+ var hasRequiredSignalExit;
2920
+
2921
+ function requireSignalExit () {
2922
+ if (hasRequiredSignalExit) return signalExit$1.exports;
2923
+ hasRequiredSignalExit = 1;
2924
+ // Note: since nyc uses this module to output coverage, any lines
2925
+ // that are in the direct sync flow of nyc's outputCoverage are
2926
+ // ignored, since we can never get coverage for them.
2927
+ // grab a reference to node's real process object right away
2928
+ var process = commonjsGlobal.process;
2929
+
2930
+ const processOk = function (process) {
2931
+ return process &&
2932
+ typeof process === 'object' &&
2933
+ typeof process.removeListener === 'function' &&
2934
+ typeof process.emit === 'function' &&
2935
+ typeof process.reallyExit === 'function' &&
2936
+ typeof process.listeners === 'function' &&
2937
+ typeof process.kill === 'function' &&
2938
+ typeof process.pid === 'number' &&
2939
+ typeof process.on === 'function'
2940
+ };
2980
2941
 
2981
- var emit = function emit (event, code, signal) {
2982
- /* istanbul ignore if */
2983
- if (emitter.emitted[event]) {
2984
- return
2985
- }
2986
- emitter.emitted[event] = true;
2987
- emitter.emit(event, code, signal);
2988
- };
2942
+ // some kind of non-node environment, just no-op
2943
+ /* istanbul ignore if */
2944
+ if (!processOk(process)) {
2945
+ signalExit$1.exports = function () {
2946
+ return function () {}
2947
+ };
2948
+ } else {
2949
+ var assert = require$$0;
2950
+ var signals = requireSignals();
2951
+ var isWin = /^win/i.test(process.platform);
2952
+
2953
+ var EE = require$$2;
2954
+ /* istanbul ignore if */
2955
+ if (typeof EE !== 'function') {
2956
+ EE = EE.EventEmitter;
2957
+ }
2989
2958
 
2990
- // { <signal>: <listener fn>, ... }
2991
- var sigListeners = {};
2992
- signals.forEach(function (sig) {
2993
- sigListeners[sig] = function listener () {
2994
- /* istanbul ignore if */
2995
- if (!processOk(commonjsGlobal.process)) {
2996
- return
2997
- }
2998
- // If there are no other listeners, an exit is coming!
2999
- // Simplest way: remove us and then re-send the signal.
3000
- // We know that this will kill the process, so we can
3001
- // safely emit now.
3002
- var listeners = process$1.listeners(sig);
3003
- if (listeners.length === emitter.count) {
3004
- unload();
3005
- emit('exit', null, sig);
3006
- /* istanbul ignore next */
3007
- emit('afterexit', null, sig);
3008
- /* istanbul ignore next */
3009
- if (isWin && sig === 'SIGHUP') {
3010
- // "SIGHUP" throws an `ENOSYS` error on Windows,
3011
- // so use a supported signal instead
3012
- sig = 'SIGINT';
3013
- }
3014
- /* istanbul ignore next */
3015
- process$1.kill(process$1.pid, sig);
3016
- }
3017
- };
3018
- });
2959
+ var emitter;
2960
+ if (process.__signal_exit_emitter__) {
2961
+ emitter = process.__signal_exit_emitter__;
2962
+ } else {
2963
+ emitter = process.__signal_exit_emitter__ = new EE();
2964
+ emitter.count = 0;
2965
+ emitter.emitted = {};
2966
+ }
3019
2967
 
3020
- signalExit$1.exports.signals = function () {
3021
- return signals
3022
- };
2968
+ // Because this emitter is a global, we have to check to see if a
2969
+ // previous version of this library failed to enable infinite listeners.
2970
+ // I know what you're about to say. But literally everything about
2971
+ // signal-exit is a compromise with evil. Get used to it.
2972
+ if (!emitter.infinite) {
2973
+ emitter.setMaxListeners(Infinity);
2974
+ emitter.infinite = true;
2975
+ }
3023
2976
 
3024
- var loaded = false;
2977
+ signalExit$1.exports = function (cb, opts) {
2978
+ /* istanbul ignore if */
2979
+ if (!processOk(commonjsGlobal.process)) {
2980
+ return function () {}
2981
+ }
2982
+ assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
3025
2983
 
3026
- var load = function load () {
3027
- if (loaded || !processOk(commonjsGlobal.process)) {
3028
- return
3029
- }
3030
- loaded = true;
2984
+ if (loaded === false) {
2985
+ load();
2986
+ }
3031
2987
 
3032
- // This is the number of onSignalExit's that are in play.
3033
- // It's important so that we can count the correct number of
3034
- // listeners on signals, and don't wait for the other one to
3035
- // handle it instead of us.
3036
- emitter.count += 1;
2988
+ var ev = 'exit';
2989
+ if (opts && opts.alwaysLast) {
2990
+ ev = 'afterexit';
2991
+ }
3037
2992
 
3038
- signals = signals.filter(function (sig) {
3039
- try {
3040
- process$1.on(sig, sigListeners[sig]);
3041
- return true
3042
- } catch (er) {
3043
- return false
3044
- }
3045
- });
2993
+ var remove = function () {
2994
+ emitter.removeListener(ev, cb);
2995
+ if (emitter.listeners('exit').length === 0 &&
2996
+ emitter.listeners('afterexit').length === 0) {
2997
+ unload();
2998
+ }
2999
+ };
3000
+ emitter.on(ev, cb);
3001
+
3002
+ return remove
3003
+ };
3004
+
3005
+ var unload = function unload () {
3006
+ if (!loaded || !processOk(commonjsGlobal.process)) {
3007
+ return
3008
+ }
3009
+ loaded = false;
3010
+
3011
+ signals.forEach(function (sig) {
3012
+ try {
3013
+ process.removeListener(sig, sigListeners[sig]);
3014
+ } catch (er) {}
3015
+ });
3016
+ process.emit = originalProcessEmit;
3017
+ process.reallyExit = originalProcessReallyExit;
3018
+ emitter.count -= 1;
3019
+ };
3020
+ signalExit$1.exports.unload = unload;
3021
+
3022
+ var emit = function emit (event, code, signal) {
3023
+ /* istanbul ignore if */
3024
+ if (emitter.emitted[event]) {
3025
+ return
3026
+ }
3027
+ emitter.emitted[event] = true;
3028
+ emitter.emit(event, code, signal);
3029
+ };
3030
+
3031
+ // { <signal>: <listener fn>, ... }
3032
+ var sigListeners = {};
3033
+ signals.forEach(function (sig) {
3034
+ sigListeners[sig] = function listener () {
3035
+ /* istanbul ignore if */
3036
+ if (!processOk(commonjsGlobal.process)) {
3037
+ return
3038
+ }
3039
+ // If there are no other listeners, an exit is coming!
3040
+ // Simplest way: remove us and then re-send the signal.
3041
+ // We know that this will kill the process, so we can
3042
+ // safely emit now.
3043
+ var listeners = process.listeners(sig);
3044
+ if (listeners.length === emitter.count) {
3045
+ unload();
3046
+ emit('exit', null, sig);
3047
+ /* istanbul ignore next */
3048
+ emit('afterexit', null, sig);
3049
+ /* istanbul ignore next */
3050
+ if (isWin && sig === 'SIGHUP') {
3051
+ // "SIGHUP" throws an `ENOSYS` error on Windows,
3052
+ // so use a supported signal instead
3053
+ sig = 'SIGINT';
3054
+ }
3055
+ /* istanbul ignore next */
3056
+ process.kill(process.pid, sig);
3057
+ }
3058
+ };
3059
+ });
3046
3060
 
3047
- process$1.emit = processEmit;
3048
- process$1.reallyExit = processReallyExit;
3049
- };
3050
- signalExit$1.exports.load = load;
3061
+ signalExit$1.exports.signals = function () {
3062
+ return signals
3063
+ };
3051
3064
 
3052
- var originalProcessReallyExit = process$1.reallyExit;
3053
- var processReallyExit = function processReallyExit (code) {
3054
- /* istanbul ignore if */
3055
- if (!processOk(commonjsGlobal.process)) {
3056
- return
3057
- }
3058
- process$1.exitCode = code || /* istanbul ignore next */ 0;
3059
- emit('exit', process$1.exitCode, null);
3060
- /* istanbul ignore next */
3061
- emit('afterexit', process$1.exitCode, null);
3062
- /* istanbul ignore next */
3063
- originalProcessReallyExit.call(process$1, process$1.exitCode);
3064
- };
3065
+ var loaded = false;
3065
3066
 
3066
- var originalProcessEmit = process$1.emit;
3067
- var processEmit = function processEmit (ev, arg) {
3068
- if (ev === 'exit' && processOk(commonjsGlobal.process)) {
3069
- /* istanbul ignore else */
3070
- if (arg !== undefined) {
3071
- process$1.exitCode = arg;
3072
- }
3073
- var ret = originalProcessEmit.apply(this, arguments);
3074
- /* istanbul ignore next */
3075
- emit('exit', process$1.exitCode, null);
3076
- /* istanbul ignore next */
3077
- emit('afterexit', process$1.exitCode, null);
3078
- /* istanbul ignore next */
3079
- return ret
3080
- } else {
3081
- return originalProcessEmit.apply(this, arguments)
3082
- }
3083
- };
3067
+ var load = function load () {
3068
+ if (loaded || !processOk(commonjsGlobal.process)) {
3069
+ return
3070
+ }
3071
+ loaded = true;
3072
+
3073
+ // This is the number of onSignalExit's that are in play.
3074
+ // It's important so that we can count the correct number of
3075
+ // listeners on signals, and don't wait for the other one to
3076
+ // handle it instead of us.
3077
+ emitter.count += 1;
3078
+
3079
+ signals = signals.filter(function (sig) {
3080
+ try {
3081
+ process.on(sig, sigListeners[sig]);
3082
+ return true
3083
+ } catch (er) {
3084
+ return false
3085
+ }
3086
+ });
3087
+
3088
+ process.emit = processEmit;
3089
+ process.reallyExit = processReallyExit;
3090
+ };
3091
+ signalExit$1.exports.load = load;
3092
+
3093
+ var originalProcessReallyExit = process.reallyExit;
3094
+ var processReallyExit = function processReallyExit (code) {
3095
+ /* istanbul ignore if */
3096
+ if (!processOk(commonjsGlobal.process)) {
3097
+ return
3098
+ }
3099
+ process.exitCode = code || /* istanbul ignore next */ 0;
3100
+ emit('exit', process.exitCode, null);
3101
+ /* istanbul ignore next */
3102
+ emit('afterexit', process.exitCode, null);
3103
+ /* istanbul ignore next */
3104
+ originalProcessReallyExit.call(process, process.exitCode);
3105
+ };
3106
+
3107
+ var originalProcessEmit = process.emit;
3108
+ var processEmit = function processEmit (ev, arg) {
3109
+ if (ev === 'exit' && processOk(commonjsGlobal.process)) {
3110
+ /* istanbul ignore else */
3111
+ if (arg !== undefined) {
3112
+ process.exitCode = arg;
3113
+ }
3114
+ var ret = originalProcessEmit.apply(this, arguments);
3115
+ /* istanbul ignore next */
3116
+ emit('exit', process.exitCode, null);
3117
+ /* istanbul ignore next */
3118
+ emit('afterexit', process.exitCode, null);
3119
+ /* istanbul ignore next */
3120
+ return ret
3121
+ } else {
3122
+ return originalProcessEmit.apply(this, arguments)
3123
+ }
3124
+ };
3125
+ }
3126
+ return signalExit$1.exports;
3084
3127
  }
3085
3128
 
3086
- var signalExitExports = signalExit$1.exports;
3129
+ var signalExitExports = requireSignalExit();
3087
3130
  var signalExit = /*@__PURE__*/getDefaultExportFromCjs(signalExitExports);
3088
3131
 
3089
- const restoreCursor = onetime$1(() => {
3132
+ const restoreCursor = onetime(() => {
3090
3133
  signalExit(() => {
3091
- process$2.stderr.write('\u001B[?25h');
3134
+ process$1.stderr.write('\u001B[?25h');
3092
3135
  }, {alwaysLast: true});
3093
3136
  });
3094
3137
 
@@ -3096,7 +3139,7 @@ let isHidden = false;
3096
3139
 
3097
3140
  const cliCursor = {};
3098
3141
 
3099
- cliCursor.show = (writableStream = process$2.stderr) => {
3142
+ cliCursor.show = (writableStream = process$1.stderr) => {
3100
3143
  if (!writableStream.isTTY) {
3101
3144
  return;
3102
3145
  }
@@ -3105,7 +3148,7 @@ cliCursor.show = (writableStream = process$2.stderr) => {
3105
3148
  writableStream.write('\u001B[?25h');
3106
3149
  };
3107
3150
 
3108
- cliCursor.hide = (writableStream = process$2.stderr) => {
3151
+ cliCursor.hide = (writableStream = process$1.stderr) => {
3109
3152
  if (!writableStream.isTTY) {
3110
3153
  return;
3111
3154
  }
@@ -3129,327 +3172,344 @@ cliCursor.toggle = (force, writableStream) => {
3129
3172
 
3130
3173
  var eastasianwidth = {exports: {}};
3131
3174
 
3132
- (function (module) {
3133
- var eaw = {};
3175
+ var hasRequiredEastasianwidth;
3134
3176
 
3135
- {
3136
- module.exports = eaw;
3137
- }
3138
-
3139
- eaw.eastAsianWidth = function(character) {
3140
- var x = character.charCodeAt(0);
3141
- var y = (character.length == 2) ? character.charCodeAt(1) : 0;
3142
- var codePoint = x;
3143
- if ((0xD800 <= x && x <= 0xDBFF) && (0xDC00 <= y && y <= 0xDFFF)) {
3144
- x &= 0x3FF;
3145
- y &= 0x3FF;
3146
- codePoint = (x << 10) | y;
3147
- codePoint += 0x10000;
3148
- }
3149
-
3150
- if ((0x3000 == codePoint) ||
3151
- (0xFF01 <= codePoint && codePoint <= 0xFF60) ||
3152
- (0xFFE0 <= codePoint && codePoint <= 0xFFE6)) {
3153
- return 'F';
3154
- }
3155
- if ((0x20A9 == codePoint) ||
3156
- (0xFF61 <= codePoint && codePoint <= 0xFFBE) ||
3157
- (0xFFC2 <= codePoint && codePoint <= 0xFFC7) ||
3158
- (0xFFCA <= codePoint && codePoint <= 0xFFCF) ||
3159
- (0xFFD2 <= codePoint && codePoint <= 0xFFD7) ||
3160
- (0xFFDA <= codePoint && codePoint <= 0xFFDC) ||
3161
- (0xFFE8 <= codePoint && codePoint <= 0xFFEE)) {
3162
- return 'H';
3163
- }
3164
- if ((0x1100 <= codePoint && codePoint <= 0x115F) ||
3165
- (0x11A3 <= codePoint && codePoint <= 0x11A7) ||
3166
- (0x11FA <= codePoint && codePoint <= 0x11FF) ||
3167
- (0x2329 <= codePoint && codePoint <= 0x232A) ||
3168
- (0x2E80 <= codePoint && codePoint <= 0x2E99) ||
3169
- (0x2E9B <= codePoint && codePoint <= 0x2EF3) ||
3170
- (0x2F00 <= codePoint && codePoint <= 0x2FD5) ||
3171
- (0x2FF0 <= codePoint && codePoint <= 0x2FFB) ||
3172
- (0x3001 <= codePoint && codePoint <= 0x303E) ||
3173
- (0x3041 <= codePoint && codePoint <= 0x3096) ||
3174
- (0x3099 <= codePoint && codePoint <= 0x30FF) ||
3175
- (0x3105 <= codePoint && codePoint <= 0x312D) ||
3176
- (0x3131 <= codePoint && codePoint <= 0x318E) ||
3177
- (0x3190 <= codePoint && codePoint <= 0x31BA) ||
3178
- (0x31C0 <= codePoint && codePoint <= 0x31E3) ||
3179
- (0x31F0 <= codePoint && codePoint <= 0x321E) ||
3180
- (0x3220 <= codePoint && codePoint <= 0x3247) ||
3181
- (0x3250 <= codePoint && codePoint <= 0x32FE) ||
3182
- (0x3300 <= codePoint && codePoint <= 0x4DBF) ||
3183
- (0x4E00 <= codePoint && codePoint <= 0xA48C) ||
3184
- (0xA490 <= codePoint && codePoint <= 0xA4C6) ||
3185
- (0xA960 <= codePoint && codePoint <= 0xA97C) ||
3186
- (0xAC00 <= codePoint && codePoint <= 0xD7A3) ||
3187
- (0xD7B0 <= codePoint && codePoint <= 0xD7C6) ||
3188
- (0xD7CB <= codePoint && codePoint <= 0xD7FB) ||
3189
- (0xF900 <= codePoint && codePoint <= 0xFAFF) ||
3190
- (0xFE10 <= codePoint && codePoint <= 0xFE19) ||
3191
- (0xFE30 <= codePoint && codePoint <= 0xFE52) ||
3192
- (0xFE54 <= codePoint && codePoint <= 0xFE66) ||
3193
- (0xFE68 <= codePoint && codePoint <= 0xFE6B) ||
3194
- (0x1B000 <= codePoint && codePoint <= 0x1B001) ||
3195
- (0x1F200 <= codePoint && codePoint <= 0x1F202) ||
3196
- (0x1F210 <= codePoint && codePoint <= 0x1F23A) ||
3197
- (0x1F240 <= codePoint && codePoint <= 0x1F248) ||
3198
- (0x1F250 <= codePoint && codePoint <= 0x1F251) ||
3199
- (0x20000 <= codePoint && codePoint <= 0x2F73F) ||
3200
- (0x2B740 <= codePoint && codePoint <= 0x2FFFD) ||
3201
- (0x30000 <= codePoint && codePoint <= 0x3FFFD)) {
3202
- return 'W';
3203
- }
3204
- if ((0x0020 <= codePoint && codePoint <= 0x007E) ||
3205
- (0x00A2 <= codePoint && codePoint <= 0x00A3) ||
3206
- (0x00A5 <= codePoint && codePoint <= 0x00A6) ||
3207
- (0x00AC == codePoint) ||
3208
- (0x00AF == codePoint) ||
3209
- (0x27E6 <= codePoint && codePoint <= 0x27ED) ||
3210
- (0x2985 <= codePoint && codePoint <= 0x2986)) {
3211
- return 'Na';
3212
- }
3213
- if ((0x00A1 == codePoint) ||
3214
- (0x00A4 == codePoint) ||
3215
- (0x00A7 <= codePoint && codePoint <= 0x00A8) ||
3216
- (0x00AA == codePoint) ||
3217
- (0x00AD <= codePoint && codePoint <= 0x00AE) ||
3218
- (0x00B0 <= codePoint && codePoint <= 0x00B4) ||
3219
- (0x00B6 <= codePoint && codePoint <= 0x00BA) ||
3220
- (0x00BC <= codePoint && codePoint <= 0x00BF) ||
3221
- (0x00C6 == codePoint) ||
3222
- (0x00D0 == codePoint) ||
3223
- (0x00D7 <= codePoint && codePoint <= 0x00D8) ||
3224
- (0x00DE <= codePoint && codePoint <= 0x00E1) ||
3225
- (0x00E6 == codePoint) ||
3226
- (0x00E8 <= codePoint && codePoint <= 0x00EA) ||
3227
- (0x00EC <= codePoint && codePoint <= 0x00ED) ||
3228
- (0x00F0 == codePoint) ||
3229
- (0x00F2 <= codePoint && codePoint <= 0x00F3) ||
3230
- (0x00F7 <= codePoint && codePoint <= 0x00FA) ||
3231
- (0x00FC == codePoint) ||
3232
- (0x00FE == codePoint) ||
3233
- (0x0101 == codePoint) ||
3234
- (0x0111 == codePoint) ||
3235
- (0x0113 == codePoint) ||
3236
- (0x011B == codePoint) ||
3237
- (0x0126 <= codePoint && codePoint <= 0x0127) ||
3238
- (0x012B == codePoint) ||
3239
- (0x0131 <= codePoint && codePoint <= 0x0133) ||
3240
- (0x0138 == codePoint) ||
3241
- (0x013F <= codePoint && codePoint <= 0x0142) ||
3242
- (0x0144 == codePoint) ||
3243
- (0x0148 <= codePoint && codePoint <= 0x014B) ||
3244
- (0x014D == codePoint) ||
3245
- (0x0152 <= codePoint && codePoint <= 0x0153) ||
3246
- (0x0166 <= codePoint && codePoint <= 0x0167) ||
3247
- (0x016B == codePoint) ||
3248
- (0x01CE == codePoint) ||
3249
- (0x01D0 == codePoint) ||
3250
- (0x01D2 == codePoint) ||
3251
- (0x01D4 == codePoint) ||
3252
- (0x01D6 == codePoint) ||
3253
- (0x01D8 == codePoint) ||
3254
- (0x01DA == codePoint) ||
3255
- (0x01DC == codePoint) ||
3256
- (0x0251 == codePoint) ||
3257
- (0x0261 == codePoint) ||
3258
- (0x02C4 == codePoint) ||
3259
- (0x02C7 == codePoint) ||
3260
- (0x02C9 <= codePoint && codePoint <= 0x02CB) ||
3261
- (0x02CD == codePoint) ||
3262
- (0x02D0 == codePoint) ||
3263
- (0x02D8 <= codePoint && codePoint <= 0x02DB) ||
3264
- (0x02DD == codePoint) ||
3265
- (0x02DF == codePoint) ||
3266
- (0x0300 <= codePoint && codePoint <= 0x036F) ||
3267
- (0x0391 <= codePoint && codePoint <= 0x03A1) ||
3268
- (0x03A3 <= codePoint && codePoint <= 0x03A9) ||
3269
- (0x03B1 <= codePoint && codePoint <= 0x03C1) ||
3270
- (0x03C3 <= codePoint && codePoint <= 0x03C9) ||
3271
- (0x0401 == codePoint) ||
3272
- (0x0410 <= codePoint && codePoint <= 0x044F) ||
3273
- (0x0451 == codePoint) ||
3274
- (0x2010 == codePoint) ||
3275
- (0x2013 <= codePoint && codePoint <= 0x2016) ||
3276
- (0x2018 <= codePoint && codePoint <= 0x2019) ||
3277
- (0x201C <= codePoint && codePoint <= 0x201D) ||
3278
- (0x2020 <= codePoint && codePoint <= 0x2022) ||
3279
- (0x2024 <= codePoint && codePoint <= 0x2027) ||
3280
- (0x2030 == codePoint) ||
3281
- (0x2032 <= codePoint && codePoint <= 0x2033) ||
3282
- (0x2035 == codePoint) ||
3283
- (0x203B == codePoint) ||
3284
- (0x203E == codePoint) ||
3285
- (0x2074 == codePoint) ||
3286
- (0x207F == codePoint) ||
3287
- (0x2081 <= codePoint && codePoint <= 0x2084) ||
3288
- (0x20AC == codePoint) ||
3289
- (0x2103 == codePoint) ||
3290
- (0x2105 == codePoint) ||
3291
- (0x2109 == codePoint) ||
3292
- (0x2113 == codePoint) ||
3293
- (0x2116 == codePoint) ||
3294
- (0x2121 <= codePoint && codePoint <= 0x2122) ||
3295
- (0x2126 == codePoint) ||
3296
- (0x212B == codePoint) ||
3297
- (0x2153 <= codePoint && codePoint <= 0x2154) ||
3298
- (0x215B <= codePoint && codePoint <= 0x215E) ||
3299
- (0x2160 <= codePoint && codePoint <= 0x216B) ||
3300
- (0x2170 <= codePoint && codePoint <= 0x2179) ||
3301
- (0x2189 == codePoint) ||
3302
- (0x2190 <= codePoint && codePoint <= 0x2199) ||
3303
- (0x21B8 <= codePoint && codePoint <= 0x21B9) ||
3304
- (0x21D2 == codePoint) ||
3305
- (0x21D4 == codePoint) ||
3306
- (0x21E7 == codePoint) ||
3307
- (0x2200 == codePoint) ||
3308
- (0x2202 <= codePoint && codePoint <= 0x2203) ||
3309
- (0x2207 <= codePoint && codePoint <= 0x2208) ||
3310
- (0x220B == codePoint) ||
3311
- (0x220F == codePoint) ||
3312
- (0x2211 == codePoint) ||
3313
- (0x2215 == codePoint) ||
3314
- (0x221A == codePoint) ||
3315
- (0x221D <= codePoint && codePoint <= 0x2220) ||
3316
- (0x2223 == codePoint) ||
3317
- (0x2225 == codePoint) ||
3318
- (0x2227 <= codePoint && codePoint <= 0x222C) ||
3319
- (0x222E == codePoint) ||
3320
- (0x2234 <= codePoint && codePoint <= 0x2237) ||
3321
- (0x223C <= codePoint && codePoint <= 0x223D) ||
3322
- (0x2248 == codePoint) ||
3323
- (0x224C == codePoint) ||
3324
- (0x2252 == codePoint) ||
3325
- (0x2260 <= codePoint && codePoint <= 0x2261) ||
3326
- (0x2264 <= codePoint && codePoint <= 0x2267) ||
3327
- (0x226A <= codePoint && codePoint <= 0x226B) ||
3328
- (0x226E <= codePoint && codePoint <= 0x226F) ||
3329
- (0x2282 <= codePoint && codePoint <= 0x2283) ||
3330
- (0x2286 <= codePoint && codePoint <= 0x2287) ||
3331
- (0x2295 == codePoint) ||
3332
- (0x2299 == codePoint) ||
3333
- (0x22A5 == codePoint) ||
3334
- (0x22BF == codePoint) ||
3335
- (0x2312 == codePoint) ||
3336
- (0x2460 <= codePoint && codePoint <= 0x24E9) ||
3337
- (0x24EB <= codePoint && codePoint <= 0x254B) ||
3338
- (0x2550 <= codePoint && codePoint <= 0x2573) ||
3339
- (0x2580 <= codePoint && codePoint <= 0x258F) ||
3340
- (0x2592 <= codePoint && codePoint <= 0x2595) ||
3341
- (0x25A0 <= codePoint && codePoint <= 0x25A1) ||
3342
- (0x25A3 <= codePoint && codePoint <= 0x25A9) ||
3343
- (0x25B2 <= codePoint && codePoint <= 0x25B3) ||
3344
- (0x25B6 <= codePoint && codePoint <= 0x25B7) ||
3345
- (0x25BC <= codePoint && codePoint <= 0x25BD) ||
3346
- (0x25C0 <= codePoint && codePoint <= 0x25C1) ||
3347
- (0x25C6 <= codePoint && codePoint <= 0x25C8) ||
3348
- (0x25CB == codePoint) ||
3349
- (0x25CE <= codePoint && codePoint <= 0x25D1) ||
3350
- (0x25E2 <= codePoint && codePoint <= 0x25E5) ||
3351
- (0x25EF == codePoint) ||
3352
- (0x2605 <= codePoint && codePoint <= 0x2606) ||
3353
- (0x2609 == codePoint) ||
3354
- (0x260E <= codePoint && codePoint <= 0x260F) ||
3355
- (0x2614 <= codePoint && codePoint <= 0x2615) ||
3356
- (0x261C == codePoint) ||
3357
- (0x261E == codePoint) ||
3358
- (0x2640 == codePoint) ||
3359
- (0x2642 == codePoint) ||
3360
- (0x2660 <= codePoint && codePoint <= 0x2661) ||
3361
- (0x2663 <= codePoint && codePoint <= 0x2665) ||
3362
- (0x2667 <= codePoint && codePoint <= 0x266A) ||
3363
- (0x266C <= codePoint && codePoint <= 0x266D) ||
3364
- (0x266F == codePoint) ||
3365
- (0x269E <= codePoint && codePoint <= 0x269F) ||
3366
- (0x26BE <= codePoint && codePoint <= 0x26BF) ||
3367
- (0x26C4 <= codePoint && codePoint <= 0x26CD) ||
3368
- (0x26CF <= codePoint && codePoint <= 0x26E1) ||
3369
- (0x26E3 == codePoint) ||
3370
- (0x26E8 <= codePoint && codePoint <= 0x26FF) ||
3371
- (0x273D == codePoint) ||
3372
- (0x2757 == codePoint) ||
3373
- (0x2776 <= codePoint && codePoint <= 0x277F) ||
3374
- (0x2B55 <= codePoint && codePoint <= 0x2B59) ||
3375
- (0x3248 <= codePoint && codePoint <= 0x324F) ||
3376
- (0xE000 <= codePoint && codePoint <= 0xF8FF) ||
3377
- (0xFE00 <= codePoint && codePoint <= 0xFE0F) ||
3378
- (0xFFFD == codePoint) ||
3379
- (0x1F100 <= codePoint && codePoint <= 0x1F10A) ||
3380
- (0x1F110 <= codePoint && codePoint <= 0x1F12D) ||
3381
- (0x1F130 <= codePoint && codePoint <= 0x1F169) ||
3382
- (0x1F170 <= codePoint && codePoint <= 0x1F19A) ||
3383
- (0xE0100 <= codePoint && codePoint <= 0xE01EF) ||
3384
- (0xF0000 <= codePoint && codePoint <= 0xFFFFD) ||
3385
- (0x100000 <= codePoint && codePoint <= 0x10FFFD)) {
3386
- return 'A';
3387
- }
3177
+ function requireEastasianwidth () {
3178
+ if (hasRequiredEastasianwidth) return eastasianwidth.exports;
3179
+ hasRequiredEastasianwidth = 1;
3180
+ (function (module) {
3181
+ var eaw = {};
3388
3182
 
3389
- return 'N';
3390
- };
3183
+ {
3184
+ module.exports = eaw;
3185
+ }
3391
3186
 
3392
- eaw.characterLength = function(character) {
3393
- var code = this.eastAsianWidth(character);
3394
- if (code == 'F' || code == 'W' || code == 'A') {
3395
- return 2;
3396
- } else {
3397
- return 1;
3398
- }
3399
- };
3187
+ eaw.eastAsianWidth = function(character) {
3188
+ var x = character.charCodeAt(0);
3189
+ var y = (character.length == 2) ? character.charCodeAt(1) : 0;
3190
+ var codePoint = x;
3191
+ if ((0xD800 <= x && x <= 0xDBFF) && (0xDC00 <= y && y <= 0xDFFF)) {
3192
+ x &= 0x3FF;
3193
+ y &= 0x3FF;
3194
+ codePoint = (x << 10) | y;
3195
+ codePoint += 0x10000;
3196
+ }
3197
+
3198
+ if ((0x3000 == codePoint) ||
3199
+ (0xFF01 <= codePoint && codePoint <= 0xFF60) ||
3200
+ (0xFFE0 <= codePoint && codePoint <= 0xFFE6)) {
3201
+ return 'F';
3202
+ }
3203
+ if ((0x20A9 == codePoint) ||
3204
+ (0xFF61 <= codePoint && codePoint <= 0xFFBE) ||
3205
+ (0xFFC2 <= codePoint && codePoint <= 0xFFC7) ||
3206
+ (0xFFCA <= codePoint && codePoint <= 0xFFCF) ||
3207
+ (0xFFD2 <= codePoint && codePoint <= 0xFFD7) ||
3208
+ (0xFFDA <= codePoint && codePoint <= 0xFFDC) ||
3209
+ (0xFFE8 <= codePoint && codePoint <= 0xFFEE)) {
3210
+ return 'H';
3211
+ }
3212
+ if ((0x1100 <= codePoint && codePoint <= 0x115F) ||
3213
+ (0x11A3 <= codePoint && codePoint <= 0x11A7) ||
3214
+ (0x11FA <= codePoint && codePoint <= 0x11FF) ||
3215
+ (0x2329 <= codePoint && codePoint <= 0x232A) ||
3216
+ (0x2E80 <= codePoint && codePoint <= 0x2E99) ||
3217
+ (0x2E9B <= codePoint && codePoint <= 0x2EF3) ||
3218
+ (0x2F00 <= codePoint && codePoint <= 0x2FD5) ||
3219
+ (0x2FF0 <= codePoint && codePoint <= 0x2FFB) ||
3220
+ (0x3001 <= codePoint && codePoint <= 0x303E) ||
3221
+ (0x3041 <= codePoint && codePoint <= 0x3096) ||
3222
+ (0x3099 <= codePoint && codePoint <= 0x30FF) ||
3223
+ (0x3105 <= codePoint && codePoint <= 0x312D) ||
3224
+ (0x3131 <= codePoint && codePoint <= 0x318E) ||
3225
+ (0x3190 <= codePoint && codePoint <= 0x31BA) ||
3226
+ (0x31C0 <= codePoint && codePoint <= 0x31E3) ||
3227
+ (0x31F0 <= codePoint && codePoint <= 0x321E) ||
3228
+ (0x3220 <= codePoint && codePoint <= 0x3247) ||
3229
+ (0x3250 <= codePoint && codePoint <= 0x32FE) ||
3230
+ (0x3300 <= codePoint && codePoint <= 0x4DBF) ||
3231
+ (0x4E00 <= codePoint && codePoint <= 0xA48C) ||
3232
+ (0xA490 <= codePoint && codePoint <= 0xA4C6) ||
3233
+ (0xA960 <= codePoint && codePoint <= 0xA97C) ||
3234
+ (0xAC00 <= codePoint && codePoint <= 0xD7A3) ||
3235
+ (0xD7B0 <= codePoint && codePoint <= 0xD7C6) ||
3236
+ (0xD7CB <= codePoint && codePoint <= 0xD7FB) ||
3237
+ (0xF900 <= codePoint && codePoint <= 0xFAFF) ||
3238
+ (0xFE10 <= codePoint && codePoint <= 0xFE19) ||
3239
+ (0xFE30 <= codePoint && codePoint <= 0xFE52) ||
3240
+ (0xFE54 <= codePoint && codePoint <= 0xFE66) ||
3241
+ (0xFE68 <= codePoint && codePoint <= 0xFE6B) ||
3242
+ (0x1B000 <= codePoint && codePoint <= 0x1B001) ||
3243
+ (0x1F200 <= codePoint && codePoint <= 0x1F202) ||
3244
+ (0x1F210 <= codePoint && codePoint <= 0x1F23A) ||
3245
+ (0x1F240 <= codePoint && codePoint <= 0x1F248) ||
3246
+ (0x1F250 <= codePoint && codePoint <= 0x1F251) ||
3247
+ (0x20000 <= codePoint && codePoint <= 0x2F73F) ||
3248
+ (0x2B740 <= codePoint && codePoint <= 0x2FFFD) ||
3249
+ (0x30000 <= codePoint && codePoint <= 0x3FFFD)) {
3250
+ return 'W';
3251
+ }
3252
+ if ((0x0020 <= codePoint && codePoint <= 0x007E) ||
3253
+ (0x00A2 <= codePoint && codePoint <= 0x00A3) ||
3254
+ (0x00A5 <= codePoint && codePoint <= 0x00A6) ||
3255
+ (0x00AC == codePoint) ||
3256
+ (0x00AF == codePoint) ||
3257
+ (0x27E6 <= codePoint && codePoint <= 0x27ED) ||
3258
+ (0x2985 <= codePoint && codePoint <= 0x2986)) {
3259
+ return 'Na';
3260
+ }
3261
+ if ((0x00A1 == codePoint) ||
3262
+ (0x00A4 == codePoint) ||
3263
+ (0x00A7 <= codePoint && codePoint <= 0x00A8) ||
3264
+ (0x00AA == codePoint) ||
3265
+ (0x00AD <= codePoint && codePoint <= 0x00AE) ||
3266
+ (0x00B0 <= codePoint && codePoint <= 0x00B4) ||
3267
+ (0x00B6 <= codePoint && codePoint <= 0x00BA) ||
3268
+ (0x00BC <= codePoint && codePoint <= 0x00BF) ||
3269
+ (0x00C6 == codePoint) ||
3270
+ (0x00D0 == codePoint) ||
3271
+ (0x00D7 <= codePoint && codePoint <= 0x00D8) ||
3272
+ (0x00DE <= codePoint && codePoint <= 0x00E1) ||
3273
+ (0x00E6 == codePoint) ||
3274
+ (0x00E8 <= codePoint && codePoint <= 0x00EA) ||
3275
+ (0x00EC <= codePoint && codePoint <= 0x00ED) ||
3276
+ (0x00F0 == codePoint) ||
3277
+ (0x00F2 <= codePoint && codePoint <= 0x00F3) ||
3278
+ (0x00F7 <= codePoint && codePoint <= 0x00FA) ||
3279
+ (0x00FC == codePoint) ||
3280
+ (0x00FE == codePoint) ||
3281
+ (0x0101 == codePoint) ||
3282
+ (0x0111 == codePoint) ||
3283
+ (0x0113 == codePoint) ||
3284
+ (0x011B == codePoint) ||
3285
+ (0x0126 <= codePoint && codePoint <= 0x0127) ||
3286
+ (0x012B == codePoint) ||
3287
+ (0x0131 <= codePoint && codePoint <= 0x0133) ||
3288
+ (0x0138 == codePoint) ||
3289
+ (0x013F <= codePoint && codePoint <= 0x0142) ||
3290
+ (0x0144 == codePoint) ||
3291
+ (0x0148 <= codePoint && codePoint <= 0x014B) ||
3292
+ (0x014D == codePoint) ||
3293
+ (0x0152 <= codePoint && codePoint <= 0x0153) ||
3294
+ (0x0166 <= codePoint && codePoint <= 0x0167) ||
3295
+ (0x016B == codePoint) ||
3296
+ (0x01CE == codePoint) ||
3297
+ (0x01D0 == codePoint) ||
3298
+ (0x01D2 == codePoint) ||
3299
+ (0x01D4 == codePoint) ||
3300
+ (0x01D6 == codePoint) ||
3301
+ (0x01D8 == codePoint) ||
3302
+ (0x01DA == codePoint) ||
3303
+ (0x01DC == codePoint) ||
3304
+ (0x0251 == codePoint) ||
3305
+ (0x0261 == codePoint) ||
3306
+ (0x02C4 == codePoint) ||
3307
+ (0x02C7 == codePoint) ||
3308
+ (0x02C9 <= codePoint && codePoint <= 0x02CB) ||
3309
+ (0x02CD == codePoint) ||
3310
+ (0x02D0 == codePoint) ||
3311
+ (0x02D8 <= codePoint && codePoint <= 0x02DB) ||
3312
+ (0x02DD == codePoint) ||
3313
+ (0x02DF == codePoint) ||
3314
+ (0x0300 <= codePoint && codePoint <= 0x036F) ||
3315
+ (0x0391 <= codePoint && codePoint <= 0x03A1) ||
3316
+ (0x03A3 <= codePoint && codePoint <= 0x03A9) ||
3317
+ (0x03B1 <= codePoint && codePoint <= 0x03C1) ||
3318
+ (0x03C3 <= codePoint && codePoint <= 0x03C9) ||
3319
+ (0x0401 == codePoint) ||
3320
+ (0x0410 <= codePoint && codePoint <= 0x044F) ||
3321
+ (0x0451 == codePoint) ||
3322
+ (0x2010 == codePoint) ||
3323
+ (0x2013 <= codePoint && codePoint <= 0x2016) ||
3324
+ (0x2018 <= codePoint && codePoint <= 0x2019) ||
3325
+ (0x201C <= codePoint && codePoint <= 0x201D) ||
3326
+ (0x2020 <= codePoint && codePoint <= 0x2022) ||
3327
+ (0x2024 <= codePoint && codePoint <= 0x2027) ||
3328
+ (0x2030 == codePoint) ||
3329
+ (0x2032 <= codePoint && codePoint <= 0x2033) ||
3330
+ (0x2035 == codePoint) ||
3331
+ (0x203B == codePoint) ||
3332
+ (0x203E == codePoint) ||
3333
+ (0x2074 == codePoint) ||
3334
+ (0x207F == codePoint) ||
3335
+ (0x2081 <= codePoint && codePoint <= 0x2084) ||
3336
+ (0x20AC == codePoint) ||
3337
+ (0x2103 == codePoint) ||
3338
+ (0x2105 == codePoint) ||
3339
+ (0x2109 == codePoint) ||
3340
+ (0x2113 == codePoint) ||
3341
+ (0x2116 == codePoint) ||
3342
+ (0x2121 <= codePoint && codePoint <= 0x2122) ||
3343
+ (0x2126 == codePoint) ||
3344
+ (0x212B == codePoint) ||
3345
+ (0x2153 <= codePoint && codePoint <= 0x2154) ||
3346
+ (0x215B <= codePoint && codePoint <= 0x215E) ||
3347
+ (0x2160 <= codePoint && codePoint <= 0x216B) ||
3348
+ (0x2170 <= codePoint && codePoint <= 0x2179) ||
3349
+ (0x2189 == codePoint) ||
3350
+ (0x2190 <= codePoint && codePoint <= 0x2199) ||
3351
+ (0x21B8 <= codePoint && codePoint <= 0x21B9) ||
3352
+ (0x21D2 == codePoint) ||
3353
+ (0x21D4 == codePoint) ||
3354
+ (0x21E7 == codePoint) ||
3355
+ (0x2200 == codePoint) ||
3356
+ (0x2202 <= codePoint && codePoint <= 0x2203) ||
3357
+ (0x2207 <= codePoint && codePoint <= 0x2208) ||
3358
+ (0x220B == codePoint) ||
3359
+ (0x220F == codePoint) ||
3360
+ (0x2211 == codePoint) ||
3361
+ (0x2215 == codePoint) ||
3362
+ (0x221A == codePoint) ||
3363
+ (0x221D <= codePoint && codePoint <= 0x2220) ||
3364
+ (0x2223 == codePoint) ||
3365
+ (0x2225 == codePoint) ||
3366
+ (0x2227 <= codePoint && codePoint <= 0x222C) ||
3367
+ (0x222E == codePoint) ||
3368
+ (0x2234 <= codePoint && codePoint <= 0x2237) ||
3369
+ (0x223C <= codePoint && codePoint <= 0x223D) ||
3370
+ (0x2248 == codePoint) ||
3371
+ (0x224C == codePoint) ||
3372
+ (0x2252 == codePoint) ||
3373
+ (0x2260 <= codePoint && codePoint <= 0x2261) ||
3374
+ (0x2264 <= codePoint && codePoint <= 0x2267) ||
3375
+ (0x226A <= codePoint && codePoint <= 0x226B) ||
3376
+ (0x226E <= codePoint && codePoint <= 0x226F) ||
3377
+ (0x2282 <= codePoint && codePoint <= 0x2283) ||
3378
+ (0x2286 <= codePoint && codePoint <= 0x2287) ||
3379
+ (0x2295 == codePoint) ||
3380
+ (0x2299 == codePoint) ||
3381
+ (0x22A5 == codePoint) ||
3382
+ (0x22BF == codePoint) ||
3383
+ (0x2312 == codePoint) ||
3384
+ (0x2460 <= codePoint && codePoint <= 0x24E9) ||
3385
+ (0x24EB <= codePoint && codePoint <= 0x254B) ||
3386
+ (0x2550 <= codePoint && codePoint <= 0x2573) ||
3387
+ (0x2580 <= codePoint && codePoint <= 0x258F) ||
3388
+ (0x2592 <= codePoint && codePoint <= 0x2595) ||
3389
+ (0x25A0 <= codePoint && codePoint <= 0x25A1) ||
3390
+ (0x25A3 <= codePoint && codePoint <= 0x25A9) ||
3391
+ (0x25B2 <= codePoint && codePoint <= 0x25B3) ||
3392
+ (0x25B6 <= codePoint && codePoint <= 0x25B7) ||
3393
+ (0x25BC <= codePoint && codePoint <= 0x25BD) ||
3394
+ (0x25C0 <= codePoint && codePoint <= 0x25C1) ||
3395
+ (0x25C6 <= codePoint && codePoint <= 0x25C8) ||
3396
+ (0x25CB == codePoint) ||
3397
+ (0x25CE <= codePoint && codePoint <= 0x25D1) ||
3398
+ (0x25E2 <= codePoint && codePoint <= 0x25E5) ||
3399
+ (0x25EF == codePoint) ||
3400
+ (0x2605 <= codePoint && codePoint <= 0x2606) ||
3401
+ (0x2609 == codePoint) ||
3402
+ (0x260E <= codePoint && codePoint <= 0x260F) ||
3403
+ (0x2614 <= codePoint && codePoint <= 0x2615) ||
3404
+ (0x261C == codePoint) ||
3405
+ (0x261E == codePoint) ||
3406
+ (0x2640 == codePoint) ||
3407
+ (0x2642 == codePoint) ||
3408
+ (0x2660 <= codePoint && codePoint <= 0x2661) ||
3409
+ (0x2663 <= codePoint && codePoint <= 0x2665) ||
3410
+ (0x2667 <= codePoint && codePoint <= 0x266A) ||
3411
+ (0x266C <= codePoint && codePoint <= 0x266D) ||
3412
+ (0x266F == codePoint) ||
3413
+ (0x269E <= codePoint && codePoint <= 0x269F) ||
3414
+ (0x26BE <= codePoint && codePoint <= 0x26BF) ||
3415
+ (0x26C4 <= codePoint && codePoint <= 0x26CD) ||
3416
+ (0x26CF <= codePoint && codePoint <= 0x26E1) ||
3417
+ (0x26E3 == codePoint) ||
3418
+ (0x26E8 <= codePoint && codePoint <= 0x26FF) ||
3419
+ (0x273D == codePoint) ||
3420
+ (0x2757 == codePoint) ||
3421
+ (0x2776 <= codePoint && codePoint <= 0x277F) ||
3422
+ (0x2B55 <= codePoint && codePoint <= 0x2B59) ||
3423
+ (0x3248 <= codePoint && codePoint <= 0x324F) ||
3424
+ (0xE000 <= codePoint && codePoint <= 0xF8FF) ||
3425
+ (0xFE00 <= codePoint && codePoint <= 0xFE0F) ||
3426
+ (0xFFFD == codePoint) ||
3427
+ (0x1F100 <= codePoint && codePoint <= 0x1F10A) ||
3428
+ (0x1F110 <= codePoint && codePoint <= 0x1F12D) ||
3429
+ (0x1F130 <= codePoint && codePoint <= 0x1F169) ||
3430
+ (0x1F170 <= codePoint && codePoint <= 0x1F19A) ||
3431
+ (0xE0100 <= codePoint && codePoint <= 0xE01EF) ||
3432
+ (0xF0000 <= codePoint && codePoint <= 0xFFFFD) ||
3433
+ (0x100000 <= codePoint && codePoint <= 0x10FFFD)) {
3434
+ return 'A';
3435
+ }
3436
+
3437
+ return 'N';
3438
+ };
3439
+
3440
+ eaw.characterLength = function(character) {
3441
+ var code = this.eastAsianWidth(character);
3442
+ if (code == 'F' || code == 'W' || code == 'A') {
3443
+ return 2;
3444
+ } else {
3445
+ return 1;
3446
+ }
3447
+ };
3448
+
3449
+ // Split a string considering surrogate-pairs.
3450
+ function stringToArray(string) {
3451
+ return string.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
3452
+ }
3400
3453
 
3401
- // Split a string considering surrogate-pairs.
3402
- function stringToArray(string) {
3403
- return string.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
3404
- }
3454
+ eaw.length = function(string) {
3455
+ var characters = stringToArray(string);
3456
+ var len = 0;
3457
+ for (var i = 0; i < characters.length; i++) {
3458
+ len = len + this.characterLength(characters[i]);
3459
+ }
3460
+ return len;
3461
+ };
3462
+
3463
+ eaw.slice = function(text, start, end) {
3464
+ textLen = eaw.length(text);
3465
+ start = start ? start : 0;
3466
+ end = end ? end : 1;
3467
+ if (start < 0) {
3468
+ start = textLen + start;
3469
+ }
3470
+ if (end < 0) {
3471
+ end = textLen + end;
3472
+ }
3473
+ var result = '';
3474
+ var eawLen = 0;
3475
+ var chars = stringToArray(text);
3476
+ for (var i = 0; i < chars.length; i++) {
3477
+ var char = chars[i];
3478
+ var charLen = eaw.length(char);
3479
+ if (eawLen >= start - (charLen == 2 ? 1 : 0)) {
3480
+ if (eawLen + charLen <= end) {
3481
+ result += char;
3482
+ } else {
3483
+ break;
3484
+ }
3485
+ }
3486
+ eawLen += charLen;
3487
+ }
3488
+ return result;
3489
+ };
3490
+ } (eastasianwidth));
3491
+ return eastasianwidth.exports;
3492
+ }
3405
3493
 
3406
- eaw.length = function(string) {
3407
- var characters = stringToArray(string);
3408
- var len = 0;
3409
- for (var i = 0; i < characters.length; i++) {
3410
- len = len + this.characterLength(characters[i]);
3411
- }
3412
- return len;
3413
- };
3494
+ var eastasianwidthExports = requireEastasianwidth();
3495
+ var eastAsianWidth = /*@__PURE__*/getDefaultExportFromCjs(eastasianwidthExports);
3414
3496
 
3415
- eaw.slice = function(text, start, end) {
3416
- textLen = eaw.length(text);
3417
- start = start ? start : 0;
3418
- end = end ? end : 1;
3419
- if (start < 0) {
3420
- start = textLen + start;
3421
- }
3422
- if (end < 0) {
3423
- end = textLen + end;
3424
- }
3425
- var result = '';
3426
- var eawLen = 0;
3427
- var chars = stringToArray(text);
3428
- for (var i = 0; i < chars.length; i++) {
3429
- var char = chars[i];
3430
- var charLen = eaw.length(char);
3431
- if (eawLen >= start - (charLen == 2 ? 1 : 0)) {
3432
- if (eawLen + charLen <= end) {
3433
- result += char;
3434
- } else {
3435
- break;
3436
- }
3437
- }
3438
- eawLen += charLen;
3439
- }
3440
- return result;
3441
- };
3442
- } (eastasianwidth));
3497
+ var emojiRegex$1;
3498
+ var hasRequiredEmojiRegex;
3443
3499
 
3444
- var eastasianwidthExports = eastasianwidth.exports;
3445
- var eastAsianWidth = /*@__PURE__*/getDefaultExportFromCjs(eastasianwidthExports);
3500
+ function requireEmojiRegex () {
3501
+ if (hasRequiredEmojiRegex) return emojiRegex$1;
3502
+ hasRequiredEmojiRegex = 1;
3446
3503
 
3447
- var emojiRegex = function () {
3448
- // https://mths.be/emoji
3449
- return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDF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])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
3450
- };
3504
+ emojiRegex$1 = function () {
3505
+ // https://mths.be/emoji
3506
+ 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[\uD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DCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uD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\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
3507
+ };
3508
+ return emojiRegex$1;
3509
+ }
3451
3510
 
3452
- var emojiRegex$1 = /*@__PURE__*/getDefaultExportFromCjs(emojiRegex);
3511
+ var emojiRegexExports = requireEmojiRegex();
3512
+ var emojiRegex = /*@__PURE__*/getDefaultExportFromCjs(emojiRegexExports);
3453
3513
 
3454
3514
  function stringWidth(string, options = {}) {
3455
3515
  if (typeof string !== 'string' || string.length === 0) {
@@ -3467,7 +3527,7 @@ function stringWidth(string, options = {}) {
3467
3527
  return 0;
3468
3528
  }
3469
3529
 
3470
- string = string.replace(emojiRegex$1(), ' ');
3530
+ string = string.replace(emojiRegex(), ' ');
3471
3531
 
3472
3532
  const ambiguousCharacterWidth = options.ambiguousIsNarrow ? 1 : 2;
3473
3533
  let width = 0;
@@ -3788,9 +3848,9 @@ function createLogUpdate(stream, {showCursor = false} = {}) {
3788
3848
  return render;
3789
3849
  }
3790
3850
 
3791
- createLogUpdate(process$2.stdout);
3851
+ createLogUpdate(process$1.stdout);
3792
3852
 
3793
- createLogUpdate(process$2.stderr);
3853
+ createLogUpdate(process$1.stderr);
3794
3854
 
3795
3855
  const HIGHLIGHT_SUPPORTED_EXTS = new Set(
3796
3856
  ["js", "ts"].flatMap((lang) => [
@@ -4329,7 +4389,7 @@ function generateCodeFrame(source, indent = 0, loc, range = 2) {
4329
4389
  continue;
4330
4390
  }
4331
4391
  const lineLength = lines[j].length;
4332
- if (stripAnsi(lines[j]).length > 200) {
4392
+ if (stripVTControlCharacters(lines[j]).length > 200) {
4333
4393
  return "";
4334
4394
  }
4335
4395
  res.push(
@@ -4510,7 +4570,7 @@ class JUnitReporter {
4510
4570
  { project: this.ctx.getProjectByTaskId(task.id), task }
4511
4571
  );
4512
4572
  await this.baseLog(
4513
- escapeXML(stripAnsi(result.output.trim()))
4573
+ escapeXML(stripVTControlCharacters(result.output.trim()))
4514
4574
  );
4515
4575
  }
4516
4576
  );
@@ -4694,7 +4754,7 @@ class GithubActionsReporter {
4694
4754
  line: String(stack.line),
4695
4755
  column: String(stack.column)
4696
4756
  },
4697
- message: stripAnsi(result.output)
4757
+ message: stripVTControlCharacters(result.output)
4698
4758
  });
4699
4759
  this.ctx.logger.log(`
4700
4760
  ${formatted}`);
@@ -4880,12 +4940,12 @@ function renderBenchmarkItems(result) {
4880
4940
  formatNumber(result.p995 || 0),
4881
4941
  formatNumber(result.p999 || 0),
4882
4942
  `\xB1${(result.rme || 0).toFixed(2)}%`,
4883
- result.samples.length.toString()
4943
+ (result.sampleCount || 0).toString()
4884
4944
  ];
4885
4945
  }
4886
4946
  function computeColumnWidths(results) {
4887
4947
  const rows = [tableHead, ...results.map((v) => renderBenchmarkItems(v))];
4888
- return Array.from(tableHead, (_, i) => Math.max(...rows.map((row) => stripAnsi(row[i]).length)));
4948
+ return Array.from(tableHead, (_, i) => Math.max(...rows.map((row) => stripVTControlCharacters(row[i]).length)));
4889
4949
  }
4890
4950
  function padRow(row, widths) {
4891
4951
  return row.map(
@@ -4933,10 +4993,7 @@ function renderTree(tasks, options, level = 0, shallow = false) {
4933
4993
  };
4934
4994
  const baseline = options.compare?.[t.id];
4935
4995
  if (baseline) {
4936
- benchMap[t.id].baseline = {
4937
- ...baseline,
4938
- samples: Array.from({ length: baseline.sampleCount })
4939
- };
4996
+ benchMap[t.id].baseline = baseline;
4940
4997
  }
4941
4998
  }
4942
4999
  }
@@ -5010,7 +5067,7 @@ ${padding}`;
5010
5067
  if (task.result?.state !== "pass" && outputMap.get(task) != null) {
5011
5068
  let data = outputMap.get(task);
5012
5069
  if (typeof data === "string") {
5013
- data = stripAnsi(data.trim().split("\n").filter(Boolean).pop());
5070
+ data = stripVTControlCharacters(data.trim().split("\n").filter(Boolean).pop());
5014
5071
  if (data === "") {
5015
5072
  data = void 0;
5016
5073
  }
@@ -5183,13 +5240,7 @@ function createFormattedBenchmarkReport(files) {
5183
5240
  for (const t of task.tasks) {
5184
5241
  const benchmark = t.meta.benchmark && t.result?.benchmark;
5185
5242
  if (benchmark) {
5186
- const { samples, ...rest } = benchmark;
5187
- benchmarks.push({
5188
- id: t.id,
5189
- sampleCount: samples.length,
5190
- median: samples.length % 2 ? samples[Math.floor(samples.length / 2)] : (samples[samples.length / 2] + samples[samples.length / 2 - 1]) / 2,
5191
- ...rest
5192
- });
5243
+ benchmarks.push({ id: t.id, ...benchmark, samples: [] });
5193
5244
  }
5194
5245
  }
5195
5246
  if (benchmarks.length) {