@arcgis/create 4.34.0-next.58 → 4.34.0-next.59

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 (2) hide show
  1. package/dist/init.js +400 -399
  2. package/package.json +1 -1
package/dist/init.js CHANGED
@@ -1,26 +1,26 @@
1
- import Er from "node:events";
2
- import Fr from "node:child_process";
3
- import br from "node:path";
4
- import Ar from "node:fs";
5
- import Z, { stdin as Ni, stdout as Ii } from "node:process";
1
+ import br from "node:events";
2
+ import Ar from "node:child_process";
3
+ import vr from "node:path";
4
+ import yr from "node:fs";
5
+ import Z, { stdin as Ti, stdout as Mi } from "node:process";
6
6
  import fe from "fs/promises";
7
7
  import ke from "path";
8
8
  import ze from "process";
9
- import vr from "child_process";
10
- import yr, { promisify as wr } from "util";
11
- import Ti from "url";
12
- import Lr from "node:module";
9
+ import wr from "child_process";
10
+ import Lr, { promisify as Sr } from "util";
11
+ import Gi from "url";
12
+ import Or from "node:module";
13
13
  import * as _e from "node:readline";
14
- import Pt from "node:readline";
15
- import Rt, { WriteStream as Sr } from "node:tty";
16
- import Or from "node:os";
14
+ import Nt from "node:readline";
15
+ import It, { WriteStream as _r } from "node:tty";
16
+ import $r from "node:os";
17
17
  function We(s) {
18
18
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
19
19
  }
20
- var $e = { exports: {} }, ee = {}, xe = {}, Be = {}, Nt;
20
+ var $e = { exports: {} }, ee = {}, xe = {}, Be = {}, Tt;
21
21
  function Ve() {
22
- if (Nt) return Be;
23
- Nt = 1;
22
+ if (Tt) return Be;
23
+ Tt = 1;
24
24
  class s extends Error {
25
25
  /**
26
26
  * Constructs the CommanderError class
@@ -43,10 +43,10 @@ function Ve() {
43
43
  }
44
44
  return Be.CommanderError = s, Be.InvalidArgumentError = r, Be;
45
45
  }
46
- var It;
47
- function St() {
48
- if (It) return xe;
49
- It = 1;
46
+ var Mt;
47
+ function _t() {
48
+ if (Mt) return xe;
49
+ Mt = 1;
50
50
  const { InvalidArgumentError: s } = Ve();
51
51
  class r {
52
52
  /**
@@ -142,11 +142,11 @@ function St() {
142
142
  }
143
143
  return xe.Argument = r, xe.humanReadableArgName = o, xe;
144
144
  }
145
- var Pe = {}, Re = {}, Tt;
146
- function Mi() {
147
- if (Tt) return Re;
148
- Tt = 1;
149
- const { humanReadableArgName: s } = St();
145
+ var Pe = {}, Re = {}, Gt;
146
+ function ki() {
147
+ if (Gt) return Re;
148
+ Gt = 1;
149
+ const { humanReadableArgName: s } = _t();
150
150
  class r {
151
151
  constructor() {
152
152
  this.helpWidth = void 0, this.minWidthToWrap = 40, this.sortSubcommands = !1, this.sortOptions = !1, this.showGlobalOptions = !1;
@@ -622,10 +622,10 @@ ${C}`);
622
622
  }
623
623
  return Re.Help = r, Re.stripColor = o, Re;
624
624
  }
625
- var Ne = {}, Mt;
626
- function Gi() {
627
- if (Mt) return Ne;
628
- Mt = 1;
625
+ var Ne = {}, kt;
626
+ function Hi() {
627
+ if (kt) return Ne;
628
+ kt = 1;
629
629
  const { InvalidArgumentError: s } = Ve();
630
630
  class r {
631
631
  /**
@@ -853,10 +853,10 @@ function Gi() {
853
853
  }
854
854
  return Ne.Option = r, Ne.DualOptions = o, Ne;
855
855
  }
856
- var Ye = {}, Gt;
857
- function _r() {
858
- if (Gt) return Ye;
859
- Gt = 1;
856
+ var Ye = {}, Ht;
857
+ function xr() {
858
+ if (Ht) return Ye;
859
+ Ht = 1;
860
860
  const s = 3;
861
861
  function r(l, n) {
862
862
  if (Math.abs(l.length - n.length) > s)
@@ -897,11 +897,11 @@ function _r() {
897
897
  }
898
898
  return Ye.suggestSimilar = o, Ye;
899
899
  }
900
- var kt;
901
- function $r() {
902
- if (kt) return Pe;
903
- kt = 1;
904
- const s = Er.EventEmitter, r = Fr, o = br, l = Ar, n = Z, { Argument: i, humanReadableArgName: e } = St(), { CommanderError: a } = Ve(), { Help: c, stripColor: C } = Mi(), { Option: m, DualOptions: v } = Gi(), { suggestSimilar: w } = _r();
900
+ var Ut;
901
+ function Br() {
902
+ if (Ut) return Pe;
903
+ Ut = 1;
904
+ const s = br.EventEmitter, r = Ar, o = vr, l = yr, n = Z, { Argument: i, humanReadableArgName: e } = _t(), { CommanderError: a } = Ve(), { Help: c, stripColor: C } = ki(), { Option: m, DualOptions: v } = Hi(), { suggestSimilar: w } = xr();
905
905
  class D extends s {
906
906
  /**
907
907
  * Initialize a new `Command`.
@@ -2584,22 +2584,22 @@ Expecting one of '${g.join("', '")}'`);
2584
2584
  }
2585
2585
  return Pe.Command = D, Pe.useColor = f, Pe;
2586
2586
  }
2587
- var Ht;
2588
- function xr() {
2589
- if (Ht) return ee;
2590
- Ht = 1;
2591
- const { Argument: s } = St(), { Command: r } = $r(), { CommanderError: o, InvalidArgumentError: l } = Ve(), { Help: n } = Mi(), { Option: i } = Gi();
2587
+ var jt;
2588
+ function Pr() {
2589
+ if (jt) return ee;
2590
+ jt = 1;
2591
+ const { Argument: s } = _t(), { Command: r } = Br(), { CommanderError: o, InvalidArgumentError: l } = Ve(), { Help: n } = ki(), { Option: i } = Hi();
2592
2592
  return ee.program = new r(), ee.createCommand = (e) => new r(e), ee.createOption = (e, a) => new i(e, a), ee.createArgument = (e, a) => new s(e, a), ee.Command = r, ee.Option = i, ee.Argument = s, ee.Help = n, ee.CommanderError = o, ee.InvalidArgumentError = l, ee.InvalidOptionArgumentError = l, ee;
2593
2593
  }
2594
- var Ut;
2595
- function Br() {
2596
- return Ut || (Ut = 1, function(s, r) {
2597
- const o = xr();
2594
+ var Wt;
2595
+ function Rr() {
2596
+ return Wt || (Wt = 1, function(s, r) {
2597
+ const o = Pr();
2598
2598
  r = s.exports = {}, r.program = new o.Command(), r.Argument = o.Argument, r.Command = o.Command, r.CommanderError = o.CommanderError, r.Help = o.Help, r.InvalidArgumentError = o.InvalidArgumentError, r.InvalidOptionArgumentError = o.InvalidArgumentError, r.Option = o.Option, r.createCommand = (l) => new o.Command(l), r.createOption = (l, n) => new o.Option(l, n), r.createArgument = (l, n) => new o.Argument(l, n);
2599
2599
  }($e, $e.exports)), $e.exports;
2600
2600
  }
2601
- var Pr = Br();
2602
- const Rr = /* @__PURE__ */ We(Pr), {
2601
+ var Nr = Rr();
2602
+ const Ir = /* @__PURE__ */ We(Nr), {
2603
2603
  program: Ju,
2604
2604
  createCommand: Zu,
2605
2605
  createArgument: Qu,
@@ -2608,13 +2608,13 @@ const Rr = /* @__PURE__ */ We(Pr), {
2608
2608
  InvalidArgumentError: io,
2609
2609
  InvalidOptionArgumentError: ro,
2610
2610
  // deprecated old name
2611
- Command: Nr,
2611
+ Command: Tr,
2612
2612
  Argument: no,
2613
2613
  Option: so,
2614
2614
  Help: uo
2615
- } = Rr, Ir = "4.34.0-next.58";
2616
- var me = /* @__PURE__ */ ((s) => (s.VANILLA = "vanilla JS", s.REACT = "react", s.ANGULAR = "angular", s.VITE = "vite", s.VUE = "vue", s.WEBPACK = "webpack", s.LUMINA_COMPONENTS = "lumina-components", s))(me || {}), He = /* @__PURE__ */ ((s) => (s.CHARTS = "charts", s.CODING = "coding", s))(He || {}), ki = /* @__PURE__ */ ((s) => (s.CODE_SAMPLE = "CODE_SAMPLE", s.APP_SAMPLE = "APP_SAMPLE", s))(ki || {});
2617
- const Hi = "github.com", Ui = "main", ji = {
2615
+ } = Ir, Mr = "4.34.0-next.59";
2616
+ var me = /* @__PURE__ */ ((s) => (s.VANILLA = "vanilla JS", s.REACT = "react", s.ANGULAR = "angular", s.VITE = "vite", s.VUE = "vue", s.WEBPACK = "webpack", s.LUMINA_COMPONENTS = "lumina-components", s))(me || {}), He = /* @__PURE__ */ ((s) => (s.CHARTS = "charts", s.CODING = "coding", s))(He || {}), Ui = /* @__PURE__ */ ((s) => (s.CODE_SAMPLE = "CODE_SAMPLE", s.APP_SAMPLE = "APP_SAMPLE", s))(Ui || {});
2617
+ const ji = "github.com", Wi = "main", Vi = {
2618
2618
  "vanilla JS": "Esri/jsapi-resources",
2619
2619
  vite: "Esri/jsapi-resources",
2620
2620
  react: "Esri/jsapi-resources",
@@ -2622,7 +2622,7 @@ const Hi = "github.com", Ui = "main", ji = {
2622
2622
  vue: "Esri/jsapi-resources",
2623
2623
  webpack: "Esri/jsapi-resources",
2624
2624
  "lumina-components": "WebGIS/arcgis-web-components"
2625
- }, Wi = {
2625
+ }, qi = {
2626
2626
  "vanilla JS": "component-samples/map-components/samples/vite",
2627
2627
  // alias for vite template
2628
2628
  vite: "component-samples/map-components/samples/vite",
@@ -2631,7 +2631,7 @@ const Hi = "github.com", Ui = "main", ji = {
2631
2631
  vue: "component-samples/map-components/samples/vue",
2632
2632
  webpack: "component-samples/map-components/samples/webpack",
2633
2633
  "lumina-components": "packages/starter-packages/lumina-components"
2634
- }, Tr = {
2634
+ }, Gr = {
2635
2635
  "vanilla JS": "APP_SAMPLE",
2636
2636
  vite: "APP_SAMPLE",
2637
2637
  react: "APP_SAMPLE",
@@ -2640,18 +2640,18 @@ const Hi = "github.com", Ui = "main", ji = {
2640
2640
  webpack: "APP_SAMPLE",
2641
2641
  "lumina-components": "CODE_SAMPLE"
2642
2642
  /* CODE_SAMPLE */
2643
- }, Mr = {
2643
+ }, kr = {
2644
2644
  "lumina-components": !0
2645
2645
  };
2646
- var Xe, jt;
2647
- function Vi() {
2648
- return jt || (jt = 1, Xe = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...r) => console.error("SEMVER", ...r) : () => {
2646
+ var Xe, Vt;
2647
+ function zi() {
2648
+ return Vt || (Vt = 1, Xe = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...r) => console.error("SEMVER", ...r) : () => {
2649
2649
  }), Xe;
2650
2650
  }
2651
- var Ke, Wt;
2652
- function qi() {
2653
- if (Wt) return Ke;
2654
- Wt = 1;
2651
+ var Ke, qt;
2652
+ function Yi() {
2653
+ if (qt) return Ke;
2654
+ qt = 1;
2655
2655
  const s = "2.0.0", r = 256, o = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
2656
2656
  9007199254740991, l = 16, n = r - 6;
2657
2657
  return Ke = {
@@ -2673,14 +2673,14 @@ function qi() {
2673
2673
  FLAG_LOOSE: 2
2674
2674
  }, Ke;
2675
2675
  }
2676
- var Ie = { exports: {} }, Vt;
2677
- function Gr() {
2678
- return Vt || (Vt = 1, function(s, r) {
2676
+ var Ie = { exports: {} }, zt;
2677
+ function Hr() {
2678
+ return zt || (zt = 1, function(s, r) {
2679
2679
  const {
2680
2680
  MAX_SAFE_COMPONENT_LENGTH: o,
2681
2681
  MAX_SAFE_BUILD_LENGTH: l,
2682
2682
  MAX_LENGTH: n
2683
- } = qi(), i = Vi();
2683
+ } = Yi(), i = zi();
2684
2684
  r = s.exports = {};
2685
2685
  const e = r.re = [], a = r.safeRe = [], c = r.src = [], C = r.safeSrc = [], m = r.t = {};
2686
2686
  let v = 0;
@@ -2699,17 +2699,17 @@ function Gr() {
2699
2699
  f("NUMERICIDENTIFIER", "0|[1-9]\\d*"), f("NUMERICIDENTIFIERLOOSE", "\\d+"), f("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${w}*`), f("MAINVERSION", `(${c[m.NUMERICIDENTIFIER]})\\.(${c[m.NUMERICIDENTIFIER]})\\.(${c[m.NUMERICIDENTIFIER]})`), f("MAINVERSIONLOOSE", `(${c[m.NUMERICIDENTIFIERLOOSE]})\\.(${c[m.NUMERICIDENTIFIERLOOSE]})\\.(${c[m.NUMERICIDENTIFIERLOOSE]})`), f("PRERELEASEIDENTIFIER", `(?:${c[m.NONNUMERICIDENTIFIER]}|${c[m.NUMERICIDENTIFIER]})`), f("PRERELEASEIDENTIFIERLOOSE", `(?:${c[m.NONNUMERICIDENTIFIER]}|${c[m.NUMERICIDENTIFIERLOOSE]})`), f("PRERELEASE", `(?:-(${c[m.PRERELEASEIDENTIFIER]}(?:\\.${c[m.PRERELEASEIDENTIFIER]})*))`), f("PRERELEASELOOSE", `(?:-?(${c[m.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[m.PRERELEASEIDENTIFIERLOOSE]})*))`), f("BUILDIDENTIFIER", `${w}+`), f("BUILD", `(?:\\+(${c[m.BUILDIDENTIFIER]}(?:\\.${c[m.BUILDIDENTIFIER]})*))`), f("FULLPLAIN", `v?${c[m.MAINVERSION]}${c[m.PRERELEASE]}?${c[m.BUILD]}?`), f("FULL", `^${c[m.FULLPLAIN]}$`), f("LOOSEPLAIN", `[v=\\s]*${c[m.MAINVERSIONLOOSE]}${c[m.PRERELEASELOOSE]}?${c[m.BUILD]}?`), f("LOOSE", `^${c[m.LOOSEPLAIN]}$`), f("GTLT", "((?:<|>)?=?)"), f("XRANGEIDENTIFIERLOOSE", `${c[m.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), f("XRANGEIDENTIFIER", `${c[m.NUMERICIDENTIFIER]}|x|X|\\*`), f("XRANGEPLAIN", `[v=\\s]*(${c[m.XRANGEIDENTIFIER]})(?:\\.(${c[m.XRANGEIDENTIFIER]})(?:\\.(${c[m.XRANGEIDENTIFIER]})(?:${c[m.PRERELEASE]})?${c[m.BUILD]}?)?)?`), f("XRANGEPLAINLOOSE", `[v=\\s]*(${c[m.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[m.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[m.XRANGEIDENTIFIERLOOSE]})(?:${c[m.PRERELEASELOOSE]})?${c[m.BUILD]}?)?)?`), f("XRANGE", `^${c[m.GTLT]}\\s*${c[m.XRANGEPLAIN]}$`), f("XRANGELOOSE", `^${c[m.GTLT]}\\s*${c[m.XRANGEPLAINLOOSE]}$`), f("COERCEPLAIN", `(^|[^\\d])(\\d{1,${o}})(?:\\.(\\d{1,${o}}))?(?:\\.(\\d{1,${o}}))?`), f("COERCE", `${c[m.COERCEPLAIN]}(?:$|[^\\d])`), f("COERCEFULL", c[m.COERCEPLAIN] + `(?:${c[m.PRERELEASE]})?(?:${c[m.BUILD]})?(?:$|[^\\d])`), f("COERCERTL", c[m.COERCE], !0), f("COERCERTLFULL", c[m.COERCEFULL], !0), f("LONETILDE", "(?:~>?)"), f("TILDETRIM", `(\\s*)${c[m.LONETILDE]}\\s+`, !0), r.tildeTrimReplace = "$1~", f("TILDE", `^${c[m.LONETILDE]}${c[m.XRANGEPLAIN]}$`), f("TILDELOOSE", `^${c[m.LONETILDE]}${c[m.XRANGEPLAINLOOSE]}$`), f("LONECARET", "(?:\\^)"), f("CARETTRIM", `(\\s*)${c[m.LONECARET]}\\s+`, !0), r.caretTrimReplace = "$1^", f("CARET", `^${c[m.LONECARET]}${c[m.XRANGEPLAIN]}$`), f("CARETLOOSE", `^${c[m.LONECARET]}${c[m.XRANGEPLAINLOOSE]}$`), f("COMPARATORLOOSE", `^${c[m.GTLT]}\\s*(${c[m.LOOSEPLAIN]})$|^$`), f("COMPARATOR", `^${c[m.GTLT]}\\s*(${c[m.FULLPLAIN]})$|^$`), f("COMPARATORTRIM", `(\\s*)${c[m.GTLT]}\\s*(${c[m.LOOSEPLAIN]}|${c[m.XRANGEPLAIN]})`, !0), r.comparatorTrimReplace = "$1$2$3", f("HYPHENRANGE", `^\\s*(${c[m.XRANGEPLAIN]})\\s+-\\s+(${c[m.XRANGEPLAIN]})\\s*$`), f("HYPHENRANGELOOSE", `^\\s*(${c[m.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[m.XRANGEPLAINLOOSE]})\\s*$`), f("STAR", "(<|>)?=?\\s*\\*"), f("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), f("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
2700
2700
  }(Ie, Ie.exports)), Ie.exports;
2701
2701
  }
2702
- var Je, qt;
2703
- function kr() {
2704
- if (qt) return Je;
2705
- qt = 1;
2702
+ var Je, Yt;
2703
+ function Ur() {
2704
+ if (Yt) return Je;
2705
+ Yt = 1;
2706
2706
  const s = Object.freeze({ loose: !0 }), r = Object.freeze({});
2707
2707
  return Je = (l) => l ? typeof l != "object" ? s : l : r, Je;
2708
2708
  }
2709
- var Ze, zt;
2710
- function Hr() {
2711
- if (zt) return Ze;
2712
- zt = 1;
2709
+ var Ze, Xt;
2710
+ function jr() {
2711
+ if (Xt) return Ze;
2712
+ Xt = 1;
2713
2713
  const s = /^[0-9]+$/, r = (l, n) => {
2714
2714
  const i = s.test(l), e = s.test(n);
2715
2715
  return i && e && (l = +l, n = +n), l === n ? 0 : i && !e ? -1 : e && !i ? 1 : l < n ? -1 : 1;
@@ -2719,11 +2719,11 @@ function Hr() {
2719
2719
  rcompareIdentifiers: (l, n) => r(n, l)
2720
2720
  }, Ze;
2721
2721
  }
2722
- var Qe, Yt;
2723
- function Ur() {
2724
- if (Yt) return Qe;
2725
- Yt = 1;
2726
- const s = Vi(), { MAX_LENGTH: r, MAX_SAFE_INTEGER: o } = qi(), { safeRe: l, t: n } = Gr(), i = kr(), { compareIdentifiers: e } = Hr();
2722
+ var Qe, Kt;
2723
+ function Wr() {
2724
+ if (Kt) return Qe;
2725
+ Kt = 1;
2726
+ const s = zi(), { MAX_LENGTH: r, MAX_SAFE_INTEGER: o } = Yi(), { safeRe: l, t: n } = Hr(), i = Ur(), { compareIdentifiers: e } = jr();
2727
2727
  class a {
2728
2728
  constructor(C, m) {
2729
2729
  if (m = i(m), C instanceof a) {
@@ -2880,11 +2880,11 @@ function Ur() {
2880
2880
  }
2881
2881
  return Qe = a, Qe;
2882
2882
  }
2883
- var et, Xt;
2884
- function zi() {
2885
- if (Xt) return et;
2886
- Xt = 1;
2887
- const s = Ur();
2883
+ var et, Jt;
2884
+ function Xi() {
2885
+ if (Jt) return et;
2886
+ Jt = 1;
2887
+ const s = Wr();
2888
2888
  return et = (o, l, n = !1) => {
2889
2889
  if (o instanceof s)
2890
2890
  return o;
@@ -2897,27 +2897,27 @@ function zi() {
2897
2897
  }
2898
2898
  }, et;
2899
2899
  }
2900
- var tt, Kt;
2901
- function jr() {
2902
- if (Kt) return tt;
2903
- Kt = 1;
2904
- const s = zi();
2900
+ var tt, Zt;
2901
+ function Vr() {
2902
+ if (Zt) return tt;
2903
+ Zt = 1;
2904
+ const s = Xi();
2905
2905
  return tt = (o, l) => {
2906
2906
  const n = s(o, l);
2907
2907
  return n ? n.version : null;
2908
2908
  }, tt;
2909
2909
  }
2910
- var it, Jt;
2911
- function Wr() {
2912
- if (Jt) return it;
2913
- Jt = 1;
2914
- const s = zi();
2910
+ var it, Qt;
2911
+ function qr() {
2912
+ if (Qt) return it;
2913
+ Qt = 1;
2914
+ const s = Xi();
2915
2915
  return it = (o, l) => {
2916
2916
  const n = s(o.trim().replace(/^[=v]+/, ""), l);
2917
2917
  return n ? n.version : null;
2918
2918
  }, it;
2919
2919
  }
2920
- const Yi = /* @__PURE__ */ JSON.parse('["0BSD","3D-Slicer-1.0","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMD-newlib","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-2-Clause-first-lines","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-3-Clause-acpica","BSD-3-Clause-flex","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-Code","BSD-Source-beginning-file","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Boehm-GC","Boehm-GC-without-fee","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC-PDM-1.0","CC-SA-1.0","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","Caldera-no-preamble","Catharon","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Cronyx","Crossword","CrystalStacker","Cube","D-FSL-1.0","DEC-3-Clause","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","DRL-1.0","DRL-1.1","DSDP","DocBook-Schema","DocBook-Stylesheet","DocBook-XML","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FBM","FDK-AAC","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRWD","FTL","Fair","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","Furuseth","GCR-docs","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","Graphics-Gems","Gutmann","HIDAPI","HP-1986","HP-1989","HPND","HPND-DEC","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Intel","HPND-Kevlin-Henney","HPND-MIT-disclaimer","HPND-Markus-Kuhn","HPND-Netrek","HPND-Pbmplus","HPND-UC","HPND-UC-export-US","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-acknowledgement","HPND-export-US-modify","HPND-export2-US","HPND-merchantability-variant","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HPND-sell-variant-MIT-disclaimer-rev","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ISC-Veillard","ImageMagick","Imlib2","Info-ZIP","Inner-Net-2.0","InnoSetup","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Latex2e-translated-notice","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Lucida-Bitmap-Fonts","MIPS","MIT","MIT-0","MIT-CMU","MIT-Click","MIT-Festival","MIT-Khronos-old","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MIT-testregex","MITNFA","MMIXware","MPEG-SSG","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","MakeIndex","Martin-Birgmeier","McPhee-slideshow","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCBI-PD","NCGL-UK-2.0","NCL","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OAR","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","PADL","PDDL-1.0","PHP-3.0","PHP-3.01","PPL","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Pixar","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","Ruby-pty","SAX-PD","SAX-PD-2.0","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SL","SMAIL-GPL","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","Sendmail-Open-Source-1.1","SimPL-2.0","Sleepycat","Soundex","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","Sun-PPP","Sun-PPP-2000","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TGPPL-1.0","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","TermReadKey","ThirdEye","TrustedQSL","UCAR","UCL-1.0","UMich-Merit","UPL-1.0","URT-RLE","Ubuntu-font-1.0","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Widget-Workshop","Wsuipa","X11","X11-distribute-modifications-variant","X11-swapped","XFree86-1.1","XSkat","Xdebug-1.03","Xerox","Xfig","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","any-OSI","any-OSI-perl-modules","bcrypt-Solar-Designer","blessing","bzip2-1.0.6","check-cvs","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","cve-tou","diffmark","dtoa","dvipdfm","eGenix","etalab-2.0","fwlw","gSOAP-1.3b","generic-xts","gnuplot","gtkbook","hdparm","iMatix","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","lsof","magaz","mailprio","metamail","mpi-permissive","mpich2","mplus","pkgconf","pnmstitch","psfrag","psutils","python-ldap","radvd","snprintf","softSurfer","ssh-keyscan","swrule","threeparttable","ulem","w3m","wwl","xinetd","xkeyboard-config-Zinoviev","xlock","xpp","xzoom","zlib-acknowledgement"]'), Vr = [
2920
+ const Ki = /* @__PURE__ */ JSON.parse('["0BSD","3D-Slicer-1.0","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMD-newlib","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-2-Clause-first-lines","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-3-Clause-acpica","BSD-3-Clause-flex","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-Code","BSD-Source-beginning-file","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Boehm-GC","Boehm-GC-without-fee","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC-PDM-1.0","CC-SA-1.0","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","Caldera-no-preamble","Catharon","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Cronyx","Crossword","CrystalStacker","Cube","D-FSL-1.0","DEC-3-Clause","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","DRL-1.0","DRL-1.1","DSDP","DocBook-Schema","DocBook-Stylesheet","DocBook-XML","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FBM","FDK-AAC","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRWD","FTL","Fair","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","Furuseth","GCR-docs","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","Graphics-Gems","Gutmann","HIDAPI","HP-1986","HP-1989","HPND","HPND-DEC","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Intel","HPND-Kevlin-Henney","HPND-MIT-disclaimer","HPND-Markus-Kuhn","HPND-Netrek","HPND-Pbmplus","HPND-UC","HPND-UC-export-US","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-acknowledgement","HPND-export-US-modify","HPND-export2-US","HPND-merchantability-variant","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HPND-sell-variant-MIT-disclaimer-rev","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ISC-Veillard","ImageMagick","Imlib2","Info-ZIP","Inner-Net-2.0","InnoSetup","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Latex2e-translated-notice","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Lucida-Bitmap-Fonts","MIPS","MIT","MIT-0","MIT-CMU","MIT-Click","MIT-Festival","MIT-Khronos-old","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MIT-testregex","MITNFA","MMIXware","MPEG-SSG","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","MakeIndex","Martin-Birgmeier","McPhee-slideshow","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCBI-PD","NCGL-UK-2.0","NCL","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OAR","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","PADL","PDDL-1.0","PHP-3.0","PHP-3.01","PPL","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Pixar","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","Ruby-pty","SAX-PD","SAX-PD-2.0","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SL","SMAIL-GPL","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","Sendmail-Open-Source-1.1","SimPL-2.0","Sleepycat","Soundex","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","Sun-PPP","Sun-PPP-2000","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TGPPL-1.0","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","TermReadKey","ThirdEye","TrustedQSL","UCAR","UCL-1.0","UMich-Merit","UPL-1.0","URT-RLE","Ubuntu-font-1.0","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Widget-Workshop","Wsuipa","X11","X11-distribute-modifications-variant","X11-swapped","XFree86-1.1","XSkat","Xdebug-1.03","Xerox","Xfig","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","any-OSI","any-OSI-perl-modules","bcrypt-Solar-Designer","blessing","bzip2-1.0.6","check-cvs","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","cve-tou","diffmark","dtoa","dvipdfm","eGenix","etalab-2.0","fwlw","gSOAP-1.3b","generic-xts","gnuplot","gtkbook","hdparm","iMatix","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","lsof","magaz","mailprio","metamail","mpi-permissive","mpich2","mplus","pkgconf","pnmstitch","psfrag","psutils","python-ldap","radvd","snprintf","softSurfer","ssh-keyscan","swrule","threeparttable","ulem","w3m","wwl","xinetd","xkeyboard-config-Zinoviev","xlock","xpp","xzoom","zlib-acknowledgement"]'), zr = [
2921
2921
  "AGPL-1.0",
2922
2922
  "AGPL-3.0",
2923
2923
  "BSD-2-Clause-FreeBSD",
@@ -2944,7 +2944,7 @@ const Yi = /* @__PURE__ */ JSON.parse('["0BSD","3D-Slicer-1.0","AAL","ADSL","AFL
2944
2944
  "bzip2-1.0.5",
2945
2945
  "eCos-2.0",
2946
2946
  "wxWindows"
2947
- ], qr = [
2947
+ ], Yr = [
2948
2948
  "389-exception",
2949
2949
  "Asterisk-exception",
2950
2950
  "Autoconf-exception-2.0",
@@ -3012,11 +3012,11 @@ const Yi = /* @__PURE__ */ JSON.parse('["0BSD","3D-Slicer-1.0","AAL","ADSL","AFL
3012
3012
  "WxWindows-exception-3.1",
3013
3013
  "x11vnc-openssl-exception"
3014
3014
  ];
3015
- var rt, Zt;
3016
- function zr() {
3017
- if (Zt) return rt;
3018
- Zt = 1;
3019
- var s = [].concat(Yi).concat(Vr), r = qr;
3015
+ var rt, ei;
3016
+ function Xr() {
3017
+ if (ei) return rt;
3018
+ ei = 1;
3019
+ var s = [].concat(Ki).concat(zr), r = Yr;
3020
3020
  return rt = function(o) {
3021
3021
  var l = 0;
3022
3022
  function n() {
@@ -3090,9 +3090,9 @@ function zr() {
3090
3090
  return d;
3091
3091
  }, rt;
3092
3092
  }
3093
- var nt, Qt;
3094
- function Yr() {
3095
- return Qt || (Qt = 1, nt = function(s) {
3093
+ var nt, ti;
3094
+ function Kr() {
3095
+ return ti || (ti = 1, nt = function(s) {
3096
3096
  var r = 0;
3097
3097
  function o() {
3098
3098
  return r < s.length;
@@ -3171,20 +3171,20 @@ function Yr() {
3171
3171
  return d;
3172
3172
  }), nt;
3173
3173
  }
3174
- var st, ei;
3175
- function Xi() {
3176
- if (ei) return st;
3177
- ei = 1;
3178
- var s = zr(), r = Yr();
3174
+ var st, ii;
3175
+ function Ji() {
3176
+ if (ii) return st;
3177
+ ii = 1;
3178
+ var s = Xr(), r = Kr();
3179
3179
  return st = function(o) {
3180
3180
  return r(s(o));
3181
3181
  }, st;
3182
3182
  }
3183
- var ut, ti;
3184
- function Xr() {
3185
- if (ti) return ut;
3186
- ti = 1;
3187
- var s = Xi(), r = Yi;
3183
+ var ut, ri;
3184
+ function Jr() {
3185
+ if (ri) return ut;
3186
+ ri = 1;
3187
+ var s = Ji(), r = Ki;
3188
3188
  function o(t) {
3189
3189
  try {
3190
3190
  return s(t), !0;
@@ -3458,11 +3458,11 @@ function Xr() {
3458
3458
  }
3459
3459
  return ut;
3460
3460
  }
3461
- var ot, ii;
3462
- function Kr() {
3463
- if (ii) return ot;
3464
- ii = 1;
3465
- var s = Xi(), r = Xr(), o = 'license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"', l = /^SEE LICEN[CS]E IN (.+)$/;
3461
+ var ot, ni;
3462
+ function Zr() {
3463
+ if (ni) return ot;
3464
+ ni = 1;
3465
+ var s = Ji(), r = Jr(), o = 'license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"', l = /^SEE LICEN[CS]E IN (.+)$/;
3466
3466
  function n(e, a) {
3467
3467
  return a.slice(0, e.length) === e;
3468
3468
  }
@@ -3516,10 +3516,10 @@ function Kr() {
3516
3516
  };
3517
3517
  }, ot;
3518
3518
  }
3519
- var Ae = {}, ri;
3520
- function Jr() {
3521
- if (ri) return Ae;
3522
- ri = 1, Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.LRUCache = void 0;
3519
+ var Ae = {}, si;
3520
+ function Qr() {
3521
+ if (si) return Ae;
3522
+ si = 1, Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.LRUCache = void 0;
3523
3523
  const s = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, r = /* @__PURE__ */ new Set(), o = typeof process == "object" && process ? process : {}, l = (w, D, d, f) => {
3524
3524
  typeof o.emitWarning == "function" ? o.emitWarning(w, D, d, f) : console.error(`[${d}] ${D}: ${w}`);
3525
3525
  };
@@ -4435,10 +4435,10 @@ function Jr() {
4435
4435
  }
4436
4436
  return Ae.LRUCache = v, Ae;
4437
4437
  }
4438
- var at, ni;
4439
- function Zr() {
4440
- if (ni) return at;
4441
- ni = 1;
4438
+ var at, ui;
4439
+ function en() {
4440
+ if (ui) return at;
4441
+ ui = 1;
4442
4442
  const s = (...i) => i.every((e) => e) ? i.join("") : "", r = (i) => i ? encodeURIComponent(i) : "", o = (i) => i.toLowerCase().replace(/^\W+/g, "").replace(/(?<!\W)\W+$/, "").replace(/\//g, "").replace(/\W+/g, "-"), l = {
4443
4443
  sshtemplate: ({ domain: i, user: e, project: a, committish: c }) => `git@${i}:${e}/${a}.git${s("#", c)}`,
4444
4444
  sshurltemplate: ({ domain: i, user: e, project: a, committish: c }) => `git+ssh://git@${i}/${e}/${a}.git${s("#", c)}`,
@@ -4553,11 +4553,11 @@ function Zr() {
4553
4553
  n[i] = Object.assign({}, l, e);
4554
4554
  return at = n, at;
4555
4555
  }
4556
- var lt, si;
4557
- function Ki() {
4558
- if (si) return lt;
4559
- si = 1;
4560
- const s = Ti, r = (i, e, a) => {
4556
+ var lt, oi;
4557
+ function Zi() {
4558
+ if (oi) return lt;
4559
+ oi = 1;
4560
+ const s = Gi, r = (i, e, a) => {
4561
4561
  const c = i.indexOf(a);
4562
4562
  return i.lastIndexOf(e, c > -1 ? c : 1 / 0);
4563
4563
  }, o = (i) => {
@@ -4580,11 +4580,11 @@ function Ki() {
4580
4580
  return o(a) || o(n(a));
4581
4581
  }, lt;
4582
4582
  }
4583
- var ct, ui;
4584
- function Qr() {
4585
- if (ui) return ct;
4586
- ui = 1;
4587
- const s = Ki(), r = (o) => {
4583
+ var ct, ai;
4584
+ function tn() {
4585
+ if (ai) return ct;
4586
+ ai = 1;
4587
+ const s = Zi(), r = (o) => {
4588
4588
  const l = o.indexOf("#"), n = o.indexOf("/"), i = o.indexOf("/", n + 1), e = o.indexOf(":"), a = /\s/.exec(o), c = o.indexOf("@"), C = !a || l > -1 && a.index > l, m = c === -1 || l > -1 && c > l, v = e === -1 || l > -1 && e > l, w = i === -1 || l > -1 && i > l, D = n > 0, d = l > -1 ? o[l - 1] !== "/" : !o.endsWith("/"), f = !o.startsWith(".");
4589
4589
  return C && D && d && f && m && v && w;
4590
4590
  };
@@ -4624,11 +4624,11 @@ function Qr() {
4624
4624
  return [m, d, w, f, D, A, l];
4625
4625
  }, ct;
4626
4626
  }
4627
- var ht, oi;
4628
- function en() {
4629
- if (oi) return ht;
4630
- oi = 1;
4631
- const { LRUCache: s } = /* @__PURE__ */ Jr(), r = Zr(), o = Qr(), l = Ki(), n = new s({ max: 1e3 });
4627
+ var ht, li;
4628
+ function rn() {
4629
+ if (li) return ht;
4630
+ li = 1;
4631
+ const { LRUCache: s } = /* @__PURE__ */ Qr(), r = en(), o = tn(), l = Zi(), n = new s({ max: 1e3 });
4632
4632
  function i(a) {
4633
4633
  try {
4634
4634
  const {
@@ -4763,10 +4763,10 @@ function en() {
4763
4763
  e.addHost(a, c);
4764
4764
  return ht = e, ht;
4765
4765
  }
4766
- var Dt, ai;
4767
- function tn() {
4768
- if (ai) return Dt;
4769
- ai = 1, Dt = s;
4766
+ var Dt, ci;
4767
+ function nn() {
4768
+ if (ci) return Dt;
4769
+ ci = 1, Dt = s;
4770
4770
  function s(r) {
4771
4771
  if (!r || r === "ERROR: No README data found!")
4772
4772
  return;
@@ -4783,16 +4783,16 @@ function tn() {
4783
4783
  }
4784
4784
  return Dt;
4785
4785
  }
4786
- const rn = { dependancies: "dependencies", dependecies: "dependencies", depdenencies: "dependencies", devEependencies: "devDependencies", depends: "dependencies", "dev-dependencies": "devDependencies", devDependences: "devDependencies", devDepenencies: "devDependencies", devdependencies: "devDependencies", repostitory: "repository", repo: "repository", prefereGlobal: "preferGlobal", hompage: "homepage", hampage: "homepage", autohr: "author", autor: "author", contributers: "contributors", publicationConfig: "publishConfig", script: "scripts" }, nn = { web: "url", name: "url" }, sn = { server: "start", tests: "test" }, un = {
4787
- topLevel: rn,
4788
- bugs: nn,
4789
- script: sn
4786
+ const sn = { dependancies: "dependencies", dependecies: "dependencies", depdenencies: "dependencies", devEependencies: "devDependencies", depends: "dependencies", "dev-dependencies": "devDependencies", devDependences: "devDependencies", devDepenencies: "devDependencies", devdependencies: "devDependencies", repostitory: "repository", repo: "repository", prefereGlobal: "preferGlobal", hompage: "homepage", hampage: "homepage", autohr: "author", autor: "author", contributers: "contributors", publicationConfig: "publishConfig", script: "scripts" }, un = { web: "url", name: "url" }, on = { server: "start", tests: "test" }, an = {
4787
+ topLevel: sn,
4788
+ bugs: un,
4789
+ script: on
4790
4790
  };
4791
- var ft, li;
4792
- function on() {
4793
- if (li) return ft;
4794
- li = 1;
4795
- var s = jr(), r = Wr(), o = Kr(), l = en(), n = Lr, i = ["dependencies", "devDependencies", "optionalDependencies"], e = tn(), a = Ti, c = un, C = (u) => u.includes("@") && u.indexOf("@") < u.lastIndexOf(".");
4791
+ var ft, hi;
4792
+ function ln() {
4793
+ if (hi) return ft;
4794
+ hi = 1;
4795
+ var s = Vr(), r = qr(), o = Zr(), l = rn(), n = Or, i = ["dependencies", "devDependencies", "optionalDependencies"], e = nn(), a = Gi, c = an, C = (u) => u.includes("@") && u.indexOf("@") < u.lastIndexOf(".");
4796
4796
  ft = {
4797
4797
  // default warning function
4798
4798
  warn: function() {
@@ -5002,41 +5002,41 @@ function on() {
5002
5002
  }
5003
5003
  return ft;
5004
5004
  }
5005
- const an = "'repositories' (plural) Not supported. Please pick one as the 'repository' field", ln = "No repository field.", cn = "Probably broken git url: %s", hn = "scripts must be an object", Dn = "script values must be string commands", fn = "Invalid 'files' member", pn = "Invalid filename in 'files' list: %s", dn = "Invalid 'bundleDependencies' list. Must be array of package names", mn = "Invalid bundleDependencies member: %s", gn = "Non-dependency in bundleDependencies: %s", Cn = "%s field must be an object", En = "Invalid dependency: %s %s", Fn = "specifying %s as array is deprecated", bn = "modules field is deprecated", An = "keywords should be an array of strings", vn = "keywords should be an array of strings", yn = "%s is also the name of a node core module.", wn = "'description' field should be a string", Ln = "No description", Sn = "No README data", On = "No license field.", _n = "Bug string field must be url, email, or {email,url}", $n = "bugs.url field must be a string url. Deleted.", xn = "bugs.email field must be a string email. Deleted.", Bn = "Normalized value of bugs field is an empty object. Deleted.", Pn = "homepage field must be a string url. Deleted.", Rn = "license should be a valid SPDX license expression", Nn = "%s should probably be %s.", In = {
5006
- repositories: an,
5007
- missingRepository: ln,
5008
- brokenGitUrl: cn,
5009
- nonObjectScripts: hn,
5010
- nonStringScript: Dn,
5011
- nonArrayFiles: fn,
5012
- invalidFilename: pn,
5013
- nonArrayBundleDependencies: dn,
5014
- nonStringBundleDependency: mn,
5015
- nonDependencyBundleDependency: gn,
5016
- nonObjectDependencies: Cn,
5017
- nonStringDependency: En,
5018
- deprecatedArrayDependencies: Fn,
5019
- deprecatedModules: bn,
5020
- nonArrayKeywords: An,
5021
- nonStringKeyword: vn,
5022
- conflictingName: yn,
5023
- nonStringDescription: wn,
5024
- missingDescription: Ln,
5025
- missingReadme: Sn,
5026
- missingLicense: On,
5027
- nonEmailUrlBugsString: _n,
5028
- nonUrlBugsUrlField: $n,
5029
- nonEmailBugsEmailField: xn,
5030
- emptyNormalizedBugs: Bn,
5031
- nonUrlHomepage: Pn,
5032
- invalidLicense: Rn,
5033
- typo: Nn
5005
+ const cn = "'repositories' (plural) Not supported. Please pick one as the 'repository' field", hn = "No repository field.", Dn = "Probably broken git url: %s", fn = "scripts must be an object", pn = "script values must be string commands", dn = "Invalid 'files' member", mn = "Invalid filename in 'files' list: %s", gn = "Invalid 'bundleDependencies' list. Must be array of package names", Cn = "Invalid bundleDependencies member: %s", En = "Non-dependency in bundleDependencies: %s", Fn = "%s field must be an object", bn = "Invalid dependency: %s %s", An = "specifying %s as array is deprecated", vn = "modules field is deprecated", yn = "keywords should be an array of strings", wn = "keywords should be an array of strings", Ln = "%s is also the name of a node core module.", Sn = "'description' field should be a string", On = "No description", _n = "No README data", $n = "No license field.", xn = "Bug string field must be url, email, or {email,url}", Bn = "bugs.url field must be a string url. Deleted.", Pn = "bugs.email field must be a string email. Deleted.", Rn = "Normalized value of bugs field is an empty object. Deleted.", Nn = "homepage field must be a string url. Deleted.", In = "license should be a valid SPDX license expression", Tn = "%s should probably be %s.", Mn = {
5006
+ repositories: cn,
5007
+ missingRepository: hn,
5008
+ brokenGitUrl: Dn,
5009
+ nonObjectScripts: fn,
5010
+ nonStringScript: pn,
5011
+ nonArrayFiles: dn,
5012
+ invalidFilename: mn,
5013
+ nonArrayBundleDependencies: gn,
5014
+ nonStringBundleDependency: Cn,
5015
+ nonDependencyBundleDependency: En,
5016
+ nonObjectDependencies: Fn,
5017
+ nonStringDependency: bn,
5018
+ deprecatedArrayDependencies: An,
5019
+ deprecatedModules: vn,
5020
+ nonArrayKeywords: yn,
5021
+ nonStringKeyword: wn,
5022
+ conflictingName: Ln,
5023
+ nonStringDescription: Sn,
5024
+ missingDescription: On,
5025
+ missingReadme: _n,
5026
+ missingLicense: $n,
5027
+ nonEmailUrlBugsString: xn,
5028
+ nonUrlBugsUrlField: Bn,
5029
+ nonEmailBugsEmailField: Pn,
5030
+ emptyNormalizedBugs: Rn,
5031
+ nonUrlHomepage: Nn,
5032
+ invalidLicense: In,
5033
+ typo: Tn
5034
5034
  };
5035
- var pt, ci;
5036
- function Tn() {
5037
- if (ci) return pt;
5038
- ci = 1;
5039
- var s = yr, r = In;
5035
+ var pt, Di;
5036
+ function Gn() {
5037
+ if (Di) return pt;
5038
+ Di = 1;
5039
+ var s = Lr, r = Mn;
5040
5040
  pt = function() {
5041
5041
  var l = Array.prototype.slice.call(arguments, 0), n = l.shift();
5042
5042
  if (n === "typo")
@@ -5049,13 +5049,13 @@ function Tn() {
5049
5049
  }
5050
5050
  return pt;
5051
5051
  }
5052
- var dt, hi;
5053
- function Mn() {
5054
- if (hi) return dt;
5055
- hi = 1, dt = i;
5056
- var s = on();
5052
+ var dt, fi;
5053
+ function kn() {
5054
+ if (fi) return dt;
5055
+ fi = 1, dt = i;
5056
+ var s = ln();
5057
5057
  i.fixer = s;
5058
- var r = Tn(), o = [
5058
+ var r = Gn(), o = [
5059
5059
  "name",
5060
5060
  "version",
5061
5061
  "description",
@@ -5087,18 +5087,18 @@ function Mn() {
5087
5087
  }
5088
5088
  return dt;
5089
5089
  }
5090
- var Gn = Mn();
5091
- const kn = /* @__PURE__ */ We(Gn), ge = wr(vr.exec);
5092
- async function Ji(s, r, o, l = Ui) {
5090
+ var Hn = kn();
5091
+ const Un = /* @__PURE__ */ We(Hn), ge = Sr(wr.exec);
5092
+ async function Qi(s, r, o, l = Wi) {
5093
5093
  const n = ze.cwd();
5094
5094
  try {
5095
5095
  await fe.mkdir(s);
5096
5096
  } catch (i) {
5097
5097
  throw new Error(`could not create new directory in file system, details: ${String(i)}`);
5098
5098
  }
5099
- ze.chdir(s), await ge("git init"), await ge(`git remote add origin ${r}`), await ge("git config core.sparseCheckout true"), await ge(`git sparse-checkout set --no-cone ${o}/*`), await ge(`git pull origin ${l}`), await Hn(o, "."), await fe.rm(".git", { recursive: !0 }), ze.chdir(n);
5099
+ ze.chdir(s), await ge("git init"), await ge(`git remote add origin ${r}`), await ge("git config core.sparseCheckout true"), await ge(`git sparse-checkout set --no-cone ${o}/*`), await ge(`git pull origin ${l}`), await jn(o, "."), await fe.rm(".git", { recursive: !0 }), ze.chdir(n);
5100
5100
  }
5101
- async function Hn(s, r) {
5101
+ async function jn(s, r) {
5102
5102
  if (!(s === "." || s === "" || ["./", "/"].includes(s.split("/")[0])))
5103
5103
  try {
5104
5104
  const o = await fe.readdir(s);
@@ -5114,19 +5114,19 @@ async function Hn(s, r) {
5114
5114
  console.error("Error:", o);
5115
5115
  }
5116
5116
  }
5117
- async function Zi(s) {
5117
+ async function er(s) {
5118
5118
  const r = await fe.readFile(ke.join(s, "package.json"), "utf-8"), o = JSON.parse(r), l = o._id, n = o.readme;
5119
- return kn(o, (e) => {
5119
+ return Un(o, (e) => {
5120
5120
  console.error(e);
5121
5121
  }), l || delete o._id, n || delete o.readme, o;
5122
5122
  }
5123
- async function Qi(s, r) {
5123
+ async function tr(s, r) {
5124
5124
  await fe.writeFile(ke.join(s, "package.json"), JSON.stringify(r, null, 2));
5125
5125
  }
5126
- function Un(s) {
5126
+ function Wn(s) {
5127
5127
  return s.scripts?.start ? "start" : "dev";
5128
5128
  }
5129
- function jn(s, r, o) {
5129
+ function Vn(s, r, o) {
5130
5130
  let l = "@arcgis/map-components";
5131
5131
  const n = [me.REACT, me.ANGULAR].some((e) => e === o);
5132
5132
  n && (l = `@arcgis/map-components-${o.toLowerCase()}`);
@@ -5143,7 +5143,7 @@ function jn(s, r, o) {
5143
5143
  }, {})
5144
5144
  };
5145
5145
  }
5146
- const Wn = (s) => {
5146
+ const qn = (s) => {
5147
5147
  const r = {};
5148
5148
  return Object.keys(s).forEach((o) => {
5149
5149
  const l = o;
@@ -5179,12 +5179,12 @@ const Wn = (s) => {
5179
5179
  }
5180
5180
  }), r;
5181
5181
  };
5182
- async function Vn(s) {
5182
+ async function zn(s) {
5183
5183
  await fe.stat(s) && await fe.rm(s, { recursive: !0 });
5184
5184
  }
5185
- async function qn(s, r) {
5186
- const o = ji[s];
5187
- let l = Hi;
5185
+ async function Yn(s, r) {
5186
+ const o = Vi[s];
5187
+ let l = ji;
5188
5188
  r.host && (l = r.host);
5189
5189
  const n = `git@${l}:${o}.git`;
5190
5190
  try {
@@ -5194,14 +5194,14 @@ async function qn(s, r) {
5194
5194
  }
5195
5195
  return !0;
5196
5196
  }
5197
- function er(s, r) {
5198
- const o = ji[s];
5199
- let l = Hi;
5197
+ function ir(s, r) {
5198
+ const o = Vi[s];
5199
+ let l = ji;
5200
5200
  r.host && (l = r.host);
5201
5201
  const n = r.ssh ? "git@" : "https://", i = r.accessToken ? `${r.accessToken}@` : "", e = r.ssh ? ":" : "/";
5202
5202
  return `${n}${i}${l}${e}${o}`;
5203
5203
  }
5204
- function zn(s, r) {
5204
+ function Xn(s, r) {
5205
5205
  ["dependencies", "devDependencies", "peerDependencies"].forEach((l) => {
5206
5206
  if (r[l]) {
5207
5207
  const n = r[l];
@@ -5211,10 +5211,10 @@ function zn(s, r) {
5211
5211
  }
5212
5212
  });
5213
5213
  }
5214
- var mt, Di;
5215
- function Yn() {
5216
- if (Di) return mt;
5217
- Di = 1;
5214
+ var mt, pi;
5215
+ function Kn() {
5216
+ if (pi) return mt;
5217
+ pi = 1;
5218
5218
  const s = "\x1B", r = `${s}[`, o = "\x07", l = {
5219
5219
  to(e, a) {
5220
5220
  return a ? `${r}${a + 1};${e + 1}H` : `${r}${e + 1}G`;
@@ -5253,10 +5253,10 @@ function Yn() {
5253
5253
  };
5254
5254
  return mt = { cursor: l, scroll: n, erase: i, beep: o }, mt;
5255
5255
  }
5256
- var X = Yn(), Te = { exports: {} }, fi;
5257
- function Xn() {
5258
- if (fi) return Te.exports;
5259
- fi = 1;
5256
+ var X = Kn(), Te = { exports: {} }, di;
5257
+ function Jn() {
5258
+ if (di) return Te.exports;
5259
+ di = 1;
5260
5260
  let s = process || {}, r = s.argv || [], o = s.env || {}, l = !(o.NO_COLOR || r.includes("--no-color")) && (!!o.FORCE_COLOR || r.includes("--color") || s.platform === "win32" || (s.stdout || {}).isTTY && o.TERM !== "dumb" || !!o.CI), n = (a, c, C = a) => (m) => {
5261
5261
  let v = "" + m, w = v.indexOf(c, a.length);
5262
5262
  return ~w ? a + i(v, c, C, w) + c : a + v + c;
@@ -5315,21 +5315,21 @@ function Xn() {
5315
5315
  };
5316
5316
  return Te.exports = e(), Te.exports.createColors = e, Te.exports;
5317
5317
  }
5318
- var Kn = /* @__PURE__ */ Xn();
5319
- const L = /* @__PURE__ */ We(Kn);
5320
- function Jn({ onlyFirst: s = !1 } = {}) {
5318
+ var Zn = /* @__PURE__ */ Jn();
5319
+ const L = /* @__PURE__ */ We(Zn);
5320
+ function Qn({ onlyFirst: s = !1 } = {}) {
5321
5321
  const r = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
5322
5322
  return new RegExp(r, s ? void 0 : "g");
5323
5323
  }
5324
- const Zn = Jn();
5325
- function tr(s) {
5324
+ const es = Qn();
5325
+ function rr(s) {
5326
5326
  if (typeof s != "string") throw new TypeError(`Expected a \`string\`, got \`${typeof s}\``);
5327
- return s.replace(Zn, "");
5327
+ return s.replace(es, "");
5328
5328
  }
5329
- function ir(s) {
5329
+ function nr(s) {
5330
5330
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
5331
5331
  }
5332
- var rr = { exports: {} };
5332
+ var sr = { exports: {} };
5333
5333
  (function(s) {
5334
5334
  var r = {};
5335
5335
  s.exports = r, r.eastAsianWidth = function(l) {
@@ -5355,22 +5355,22 @@ var rr = { exports: {} };
5355
5355
  }
5356
5356
  return e;
5357
5357
  };
5358
- })(rr);
5359
- var Qn = rr.exports;
5360
- const es = ir(Qn);
5361
- var ts = function() {
5358
+ })(sr);
5359
+ var ts = sr.exports;
5360
+ const is = nr(ts);
5361
+ var rs = function() {
5362
5362
  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\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\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])|(?:\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;
5363
5363
  };
5364
- const is = ir(ts);
5364
+ const ns = nr(rs);
5365
5365
  function ye(s, r = {}) {
5366
- if (typeof s != "string" || s.length === 0 || (r = { ambiguousIsNarrow: !0, ...r }, s = tr(s), s.length === 0)) return 0;
5367
- s = s.replace(is(), " ");
5366
+ if (typeof s != "string" || s.length === 0 || (r = { ambiguousIsNarrow: !0, ...r }, s = rr(s), s.length === 0)) return 0;
5367
+ s = s.replace(ns(), " ");
5368
5368
  const o = r.ambiguousIsNarrow ? 1 : 2;
5369
5369
  let l = 0;
5370
5370
  for (const n of s) {
5371
5371
  const i = n.codePointAt(0);
5372
5372
  if (!(i <= 31 || i >= 127 && i <= 159 || i >= 768 && i <= 879))
5373
- switch (es.eastAsianWidth(n)) {
5373
+ switch (is.eastAsianWidth(n)) {
5374
5374
  case "F":
5375
5375
  case "W":
5376
5376
  l += 2;
@@ -5384,17 +5384,17 @@ function ye(s, r = {}) {
5384
5384
  }
5385
5385
  return l;
5386
5386
  }
5387
- const gt = 10, pi = (s = 0) => (r) => `\x1B[${r + s}m`, di = (s = 0) => (r) => `\x1B[${38 + s};5;${r}m`, mi = (s = 0) => (r, o, l) => `\x1B[${38 + s};2;${r};${o};${l}m`, H = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], overline: [53, 55], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], blackBright: [90, 39], gray: [90, 39], grey: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], bgBlackBright: [100, 49], bgGray: [100, 49], bgGrey: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } };
5387
+ const gt = 10, mi = (s = 0) => (r) => `\x1B[${r + s}m`, gi = (s = 0) => (r) => `\x1B[${38 + s};5;${r}m`, Ci = (s = 0) => (r, o, l) => `\x1B[${38 + s};2;${r};${o};${l}m`, H = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], overline: [53, 55], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], blackBright: [90, 39], gray: [90, 39], grey: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], bgBlackBright: [100, 49], bgGray: [100, 49], bgGrey: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } };
5388
5388
  Object.keys(H.modifier);
5389
- const rs = Object.keys(H.color), ns = Object.keys(H.bgColor);
5390
- [...rs, ...ns];
5391
- function ss() {
5389
+ const ss = Object.keys(H.color), us = Object.keys(H.bgColor);
5390
+ [...ss, ...us];
5391
+ function os() {
5392
5392
  const s = /* @__PURE__ */ new Map();
5393
5393
  for (const [r, o] of Object.entries(H)) {
5394
5394
  for (const [l, n] of Object.entries(o)) H[l] = { open: `\x1B[${n[0]}m`, close: `\x1B[${n[1]}m` }, o[l] = H[l], s.set(n[0], n[1]);
5395
5395
  Object.defineProperty(H, r, { value: o, enumerable: !1 });
5396
5396
  }
5397
- return Object.defineProperty(H, "codes", { value: s, enumerable: !1 }), H.color.close = "\x1B[39m", H.bgColor.close = "\x1B[49m", H.color.ansi = pi(), H.color.ansi256 = di(), H.color.ansi16m = mi(), H.bgColor.ansi = pi(gt), H.bgColor.ansi256 = di(gt), H.bgColor.ansi16m = mi(gt), Object.defineProperties(H, { rgbToAnsi256: { value: (r, o, l) => r === o && o === l ? r < 8 ? 16 : r > 248 ? 231 : Math.round((r - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(o / 255 * 5) + Math.round(l / 255 * 5), enumerable: !1 }, hexToRgb: { value: (r) => {
5397
+ return Object.defineProperty(H, "codes", { value: s, enumerable: !1 }), H.color.close = "\x1B[39m", H.bgColor.close = "\x1B[49m", H.color.ansi = mi(), H.color.ansi256 = gi(), H.color.ansi16m = Ci(), H.bgColor.ansi = mi(gt), H.bgColor.ansi256 = gi(gt), H.bgColor.ansi16m = Ci(gt), Object.defineProperties(H, { rgbToAnsi256: { value: (r, o, l) => r === o && o === l ? r < 8 ? 16 : r > 248 ? 231 : Math.round((r - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(o / 255 * 5) + Math.round(l / 255 * 5), enumerable: !1 }, hexToRgb: { value: (r) => {
5398
5398
  const o = /[a-f\d]{6}|[a-f\d]{3}/i.exec(r.toString(16));
5399
5399
  if (!o) return [0, 0, 0];
5400
5400
  let [l] = o;
@@ -5417,27 +5417,27 @@ function ss() {
5417
5417
  return i === 2 && (e += 60), e;
5418
5418
  }, enumerable: !1 }, rgbToAnsi: { value: (r, o, l) => H.ansi256ToAnsi(H.rgbToAnsi256(r, o, l)), enumerable: !1 }, hexToAnsi: { value: (r) => H.ansi256ToAnsi(H.hexToAnsi256(r)), enumerable: !1 } }), H;
5419
5419
  }
5420
- const us = ss(), qe = /* @__PURE__ */ new Set(["\x1B", "›"]), os = 39, Ot = "\x07", nr = "[", as = "]", sr = "m", _t = `${as}8;;`, gi = (s) => `${qe.values().next().value}${nr}${s}${sr}`, Ci = (s) => `${qe.values().next().value}${_t}${s}${Ot}`, ls = (s) => s.split(" ").map((r) => ye(r)), Ct = (s, r, o) => {
5420
+ const as = os(), qe = /* @__PURE__ */ new Set(["\x1B", "›"]), ls = 39, $t = "\x07", ur = "[", cs = "]", or = "m", xt = `${cs}8;;`, Ei = (s) => `${qe.values().next().value}${ur}${s}${or}`, Fi = (s) => `${qe.values().next().value}${xt}${s}${$t}`, hs = (s) => s.split(" ").map((r) => ye(r)), Ct = (s, r, o) => {
5421
5421
  const l = [...r];
5422
- let n = !1, i = !1, e = ye(tr(s[s.length - 1]));
5422
+ let n = !1, i = !1, e = ye(rr(s[s.length - 1]));
5423
5423
  for (const [a, c] of l.entries()) {
5424
5424
  const C = ye(c);
5425
- if (e + C <= o ? s[s.length - 1] += c : (s.push(c), e = 0), qe.has(c) && (n = !0, i = l.slice(a + 1).join("").startsWith(_t)), n) {
5426
- i ? c === Ot && (n = !1, i = !1) : c === sr && (n = !1);
5425
+ if (e + C <= o ? s[s.length - 1] += c : (s.push(c), e = 0), qe.has(c) && (n = !0, i = l.slice(a + 1).join("").startsWith(xt)), n) {
5426
+ i ? c === $t && (n = !1, i = !1) : c === or && (n = !1);
5427
5427
  continue;
5428
5428
  }
5429
5429
  e += C, e === o && a < l.length - 1 && (s.push(""), e = 0);
5430
5430
  }
5431
5431
  !e && s[s.length - 1].length > 0 && s.length > 1 && (s[s.length - 2] += s.pop());
5432
- }, cs = (s) => {
5432
+ }, Ds = (s) => {
5433
5433
  const r = s.split(" ");
5434
5434
  let o = r.length;
5435
5435
  for (; o > 0 && !(ye(r[o - 1]) > 0); ) o--;
5436
5436
  return o === r.length ? s : r.slice(0, o).join(" ") + r.slice(o).join("");
5437
- }, hs = (s, r, o = {}) => {
5437
+ }, fs = (s, r, o = {}) => {
5438
5438
  if (o.trim !== !1 && s.trim() === "") return "";
5439
5439
  let l = "", n, i;
5440
- const e = ls(s);
5440
+ const e = hs(s);
5441
5441
  let a = [""];
5442
5442
  for (const [C, m] of s.split(" ").entries()) {
5443
5443
  o.trim !== !1 && (a[a.length - 1] = a[a.length - 1].trimStart());
@@ -5460,32 +5460,32 @@ const us = ss(), qe = /* @__PURE__ */ new Set(["\x1B", "›"]), os = 39, Ot = "\x
5460
5460
  }
5461
5461
  a[a.length - 1] += m;
5462
5462
  }
5463
- o.trim !== !1 && (a = a.map((C) => cs(C)));
5463
+ o.trim !== !1 && (a = a.map((C) => Ds(C)));
5464
5464
  const c = [...a.join(`
5465
5465
  `)];
5466
5466
  for (const [C, m] of c.entries()) {
5467
5467
  if (l += m, qe.has(m)) {
5468
- const { groups: w } = new RegExp(`(?:\\${nr}(?<code>\\d+)m|\\${_t}(?<uri>.*)${Ot})`).exec(c.slice(C).join("")) || { groups: {} };
5468
+ const { groups: w } = new RegExp(`(?:\\${ur}(?<code>\\d+)m|\\${xt}(?<uri>.*)${$t})`).exec(c.slice(C).join("")) || { groups: {} };
5469
5469
  if (w.code !== void 0) {
5470
5470
  const D = Number.parseFloat(w.code);
5471
- n = D === os ? void 0 : D;
5471
+ n = D === ls ? void 0 : D;
5472
5472
  } else w.uri !== void 0 && (i = w.uri.length === 0 ? void 0 : w.uri);
5473
5473
  }
5474
- const v = us.codes.get(Number(n));
5474
+ const v = as.codes.get(Number(n));
5475
5475
  c[C + 1] === `
5476
- ` ? (i && (l += Ci("")), n && v && (l += gi(v))) : m === `
5477
- ` && (n && v && (l += gi(n)), i && (l += Ci(i)));
5476
+ ` ? (i && (l += Fi("")), n && v && (l += Ei(v))) : m === `
5477
+ ` && (n && v && (l += Ei(n)), i && (l += Fi(i)));
5478
5478
  }
5479
5479
  return l;
5480
5480
  };
5481
- function Ei(s, r, o) {
5481
+ function bi(s, r, o) {
5482
5482
  return String(s).normalize().replace(/\r\n/g, `
5483
5483
  `).split(`
5484
- `).map((l) => hs(l, r, o)).join(`
5484
+ `).map((l) => fs(l, r, o)).join(`
5485
5485
  `);
5486
5486
  }
5487
- var Ds = Object.defineProperty, fs = (s, r, o) => r in s ? Ds(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, ne = (s, r, o) => (fs(s, typeof r != "symbol" ? r + "" : r, o), o);
5488
- function ps(s, r) {
5487
+ var ps = Object.defineProperty, ds = (s, r, o) => r in s ? ps(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, ne = (s, r, o) => (ds(s, typeof r != "symbol" ? r + "" : r, o), o);
5488
+ function ms(s, r) {
5489
5489
  if (s === r) return;
5490
5490
  const o = s.split(`
5491
5491
  `), l = r.split(`
@@ -5493,27 +5493,27 @@ function ps(s, r) {
5493
5493
  for (let i = 0; i < Math.max(o.length, l.length); i++) o[i] !== l[i] && n.push(i);
5494
5494
  return n;
5495
5495
  }
5496
- const ur = Symbol("clack:cancel");
5497
- function ds(s) {
5498
- return s === ur;
5496
+ const ar = Symbol("clack:cancel");
5497
+ function At(s) {
5498
+ return s === ar;
5499
5499
  }
5500
5500
  function Me(s, r) {
5501
5501
  s.isTTY && s.setRawMode(r);
5502
5502
  }
5503
- const Fi = /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"]]), ms = /* @__PURE__ */ new Set(["up", "down", "left", "right", "space", "enter"]);
5503
+ const Ai = /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"]]), gs = /* @__PURE__ */ new Set(["up", "down", "left", "right", "space", "enter"]);
5504
5504
  let Le = class {
5505
- constructor({ render: r, input: o = Ni, output: l = Ii, ...n }, i = !0) {
5505
+ constructor({ render: r, input: o = Ti, output: l = Mi, ...n }, i = !0) {
5506
5506
  ne(this, "input"), ne(this, "output"), ne(this, "rl"), ne(this, "opts"), ne(this, "_track", !1), ne(this, "_render"), ne(this, "_cursor", 0), ne(this, "state", "initial"), ne(this, "value"), ne(this, "error", ""), ne(this, "subscribers", /* @__PURE__ */ new Map()), ne(this, "_prevFrame", ""), this.opts = n, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render = r.bind(this), this._track = i, this.input = o, this.output = l;
5507
5507
  }
5508
5508
  prompt() {
5509
- const r = new Sr(0);
5509
+ const r = new _r(0);
5510
5510
  return r._write = (o, l, n) => {
5511
5511
  this._track && (this.value = this.rl.line.replace(/\t/g, ""), this._cursor = this.rl.cursor, this.emit("value", this.value)), n();
5512
- }, this.input.pipe(r), this.rl = Pt.createInterface({ input: this.input, output: r, tabSize: 2, prompt: "", escapeCodeTimeout: 50 }), Pt.emitKeypressEvents(this.input, this.rl), this.rl.prompt(), this.opts.initialValue !== void 0 && this._track && this.rl.write(this.opts.initialValue), this.input.on("keypress", this.onKeypress), Me(this.input, !0), this.output.on("resize", this.render), this.render(), new Promise((o, l) => {
5512
+ }, this.input.pipe(r), this.rl = Nt.createInterface({ input: this.input, output: r, tabSize: 2, prompt: "", escapeCodeTimeout: 50 }), Nt.emitKeypressEvents(this.input, this.rl), this.rl.prompt(), this.opts.initialValue !== void 0 && this._track && this.rl.write(this.opts.initialValue), this.input.on("keypress", this.onKeypress), Me(this.input, !0), this.output.on("resize", this.render), this.render(), new Promise((o, l) => {
5513
5513
  this.once("submit", () => {
5514
5514
  this.output.write(X.cursor.show), this.output.off("resize", this.render), Me(this.input, !1), o(this.value);
5515
5515
  }), this.once("cancel", () => {
5516
- this.output.write(X.cursor.show), this.output.off("resize", this.render), Me(this.input, !1), o(ur);
5516
+ this.output.write(X.cursor.show), this.output.off("resize", this.render), Me(this.input, !1), o(ar);
5517
5517
  });
5518
5518
  });
5519
5519
  }
@@ -5534,7 +5534,7 @@ let Le = class {
5534
5534
  this.subscribers.clear();
5535
5535
  }
5536
5536
  onKeypress(r, o) {
5537
- if (this.state === "error" && (this.state = "active"), o?.name && !this._track && Fi.has(o.name) && this.emit("cursor", Fi.get(o.name)), o?.name && ms.has(o.name) && this.emit("cursor", o.name), r && (r.toLowerCase() === "y" || r.toLowerCase() === "n") && this.emit("confirm", r.toLowerCase() === "y"), r === " " && this.opts.placeholder && (this.value || (this.rl.write(this.opts.placeholder), this.emit("value", this.opts.placeholder))), r && this.emit("key", r.toLowerCase()), o?.name === "return") {
5537
+ if (this.state === "error" && (this.state = "active"), o?.name && !this._track && Ai.has(o.name) && this.emit("cursor", Ai.get(o.name)), o?.name && gs.has(o.name) && this.emit("cursor", o.name), r && (r.toLowerCase() === "y" || r.toLowerCase() === "n") && this.emit("confirm", r.toLowerCase() === "y"), r === " " && this.opts.placeholder && (this.value || (this.rl.write(this.opts.placeholder), this.emit("value", this.opts.placeholder))), r && this.emit("key", r.toLowerCase()), o?.name === "return") {
5538
5538
  if (this.opts.validate) {
5539
5539
  const l = this.opts.validate(this.value);
5540
5540
  l && (this.error = l, this.state = "error", this.rl.write(this.value));
@@ -5548,16 +5548,16 @@ let Le = class {
5548
5548
  `), Me(this.input, !1), this.rl.close(), this.emit(`${this.state}`, this.value), this.unsubscribe();
5549
5549
  }
5550
5550
  restoreCursor() {
5551
- const r = Ei(this._prevFrame, process.stdout.columns, { hard: !0 }).split(`
5551
+ const r = bi(this._prevFrame, process.stdout.columns, { hard: !0 }).split(`
5552
5552
  `).length - 1;
5553
5553
  this.output.write(X.cursor.move(-999, r * -1));
5554
5554
  }
5555
5555
  render() {
5556
- const r = Ei(this._render(this) ?? "", process.stdout.columns, { hard: !0 });
5556
+ const r = bi(this._render(this) ?? "", process.stdout.columns, { hard: !0 });
5557
5557
  if (r !== this._prevFrame) {
5558
5558
  if (this.state === "initial") this.output.write(X.cursor.hide);
5559
5559
  else {
5560
- const o = ps(this._prevFrame, r);
5560
+ const o = ms(this._prevFrame, r);
5561
5561
  if (this.restoreCursor(), o && o?.length === 1) {
5562
5562
  const l = o[0];
5563
5563
  this.output.write(X.cursor.move(0, l)), this.output.write(X.erase.lines(1));
@@ -5580,7 +5580,7 @@ let Le = class {
5580
5580
  }
5581
5581
  }
5582
5582
  };
5583
- class gs extends Le {
5583
+ class Cs extends Le {
5584
5584
  get cursor() {
5585
5585
  return this.value ? 0 : 1;
5586
5586
  }
@@ -5597,10 +5597,10 @@ class gs extends Le {
5597
5597
  });
5598
5598
  }
5599
5599
  }
5600
- var Cs = Object.defineProperty, Es = (s, r, o) => r in s ? Cs(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, bi = (s, r, o) => (Es(s, typeof r != "symbol" ? r + "" : r, o), o);
5601
- let Fs = class extends Le {
5600
+ var Es = Object.defineProperty, Fs = (s, r, o) => r in s ? Es(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, vi = (s, r, o) => (Fs(s, typeof r != "symbol" ? r + "" : r, o), o);
5601
+ let bs = class extends Le {
5602
5602
  constructor(s) {
5603
- super(s, !1), bi(this, "options"), bi(this, "cursor", 0), this.options = s.options, this.value = [...s.initialValues ?? []], this.cursor = Math.max(this.options.findIndex(({ value: r }) => r === s.cursorAt), 0), this.on("key", (r) => {
5603
+ super(s, !1), vi(this, "options"), vi(this, "cursor", 0), this.options = s.options, this.value = [...s.initialValues ?? []], this.cursor = Math.max(this.options.findIndex(({ value: r }) => r === s.cursorAt), 0), this.on("key", (r) => {
5604
5604
  r === "a" && this.toggleAll();
5605
5605
  }), this.on("cursor", (r) => {
5606
5606
  switch (r) {
@@ -5630,10 +5630,10 @@ let Fs = class extends Le {
5630
5630
  this.value = s ? this.value.filter((r) => r !== this._value) : [...this.value, this._value];
5631
5631
  }
5632
5632
  };
5633
- var bs = Object.defineProperty, As = (s, r, o) => r in s ? bs(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, Ai = (s, r, o) => (As(s, typeof r != "symbol" ? r + "" : r, o), o);
5634
- class vs extends Le {
5633
+ var As = Object.defineProperty, vs = (s, r, o) => r in s ? As(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, yi = (s, r, o) => (vs(s, typeof r != "symbol" ? r + "" : r, o), o);
5634
+ class ys extends Le {
5635
5635
  constructor({ mask: r, ...o }) {
5636
- super(o), Ai(this, "valueWithCursor", ""), Ai(this, "_mask", "•"), this._mask = r ?? "•", this.on("finalize", () => {
5636
+ super(o), yi(this, "valueWithCursor", ""), yi(this, "_mask", "•"), this._mask = r ?? "•", this.on("finalize", () => {
5637
5637
  this.valueWithCursor = this.masked;
5638
5638
  }), this.on("value", () => {
5639
5639
  if (this.cursor >= this.value.length) this.valueWithCursor = `${this.masked}${L.inverse(L.hidden("_"))}`;
@@ -5650,10 +5650,10 @@ class vs extends Le {
5650
5650
  return this.value.replaceAll(/./g, this._mask);
5651
5651
  }
5652
5652
  }
5653
- var ys = Object.defineProperty, ws = (s, r, o) => r in s ? ys(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, vi = (s, r, o) => (ws(s, typeof r != "symbol" ? r + "" : r, o), o);
5654
- let Ls = class extends Le {
5653
+ var ws = Object.defineProperty, Ls = (s, r, o) => r in s ? ws(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, wi = (s, r, o) => (Ls(s, typeof r != "symbol" ? r + "" : r, o), o);
5654
+ let Ss = class extends Le {
5655
5655
  constructor(s) {
5656
- super(s, !1), vi(this, "options"), vi(this, "cursor", 0), this.options = s.options, this.cursor = this.options.findIndex(({ value: r }) => r === s.initialValue), this.cursor === -1 && (this.cursor = 0), this.changeValue(), this.on("cursor", (r) => {
5656
+ super(s, !1), wi(this, "options"), wi(this, "cursor", 0), this.options = s.options, this.cursor = this.options.findIndex(({ value: r }) => r === s.initialValue), this.cursor === -1 && (this.cursor = 0), this.changeValue(), this.on("cursor", (r) => {
5657
5657
  switch (r) {
5658
5658
  case "left":
5659
5659
  case "up":
@@ -5674,10 +5674,10 @@ let Ls = class extends Le {
5674
5674
  this.value = this._value.value;
5675
5675
  }
5676
5676
  };
5677
- var Ss = Object.defineProperty, Os = (s, r, o) => r in s ? Ss(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, _s = (s, r, o) => (Os(s, r + "", o), o);
5678
- class $s extends Le {
5677
+ var Os = Object.defineProperty, _s = (s, r, o) => r in s ? Os(s, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[r] = o, $s = (s, r, o) => (_s(s, r + "", o), o);
5678
+ class xs extends Le {
5679
5679
  constructor(r) {
5680
- super(r), _s(this, "valueWithCursor", ""), this.on("finalize", () => {
5680
+ super(r), $s(this, "valueWithCursor", ""), this.on("finalize", () => {
5681
5681
  this.value || (this.value = r.defaultValue), this.valueWithCursor = this.value;
5682
5682
  }), this.on("value", () => {
5683
5683
  if (this.cursor >= this.value.length) this.valueWithCursor = `${this.value}${L.inverse(L.hidden("_"))}`;
@@ -5691,8 +5691,8 @@ class $s extends Le {
5691
5691
  return this._cursor;
5692
5692
  }
5693
5693
  }
5694
- const xs = globalThis.process.platform.startsWith("win");
5695
- function Bs({ input: s = Ni, output: r = Ii, overwrite: o = !0, hideCursor: l = !0 } = {}) {
5694
+ const Bs = globalThis.process.platform.startsWith("win");
5695
+ function Ps({ input: s = Ti, output: r = Mi, overwrite: o = !0, hideCursor: l = !0 } = {}) {
5696
5696
  const n = _e.createInterface({ input: s, output: r, prompt: "", tabSize: 1 });
5697
5697
  _e.emitKeypressEvents(s, n), s.isTTY && s.setRawMode(!0);
5698
5698
  const i = (e, { name: a }) => {
@@ -5709,25 +5709,25 @@ function Bs({ input: s = Ni, output: r = Ii, overwrite: o = !0, hideCursor: l =
5709
5709
  });
5710
5710
  };
5711
5711
  return l && r.write(X.cursor.hide), s.once("keypress", i), () => {
5712
- s.off("keypress", i), l && r.write(X.cursor.show), s.isTTY && !xs && s.setRawMode(!1), n.terminal = !1, n.close();
5712
+ s.off("keypress", i), l && r.write(X.cursor.show), s.isTTY && !Bs && s.setRawMode(!1), n.terminal = !1, n.close();
5713
5713
  };
5714
5714
  }
5715
- function Ps() {
5715
+ function Rs() {
5716
5716
  return Z.platform !== "win32" ? Z.env.TERM !== "linux" : !!Z.env.CI || !!Z.env.WT_SESSION || !!Z.env.TERMINUS_SUBLIME || Z.env.ConEmuTask === "{cmd::Cmder}" || Z.env.TERM_PROGRAM === "Terminus-Sublime" || Z.env.TERM_PROGRAM === "vscode" || Z.env.TERM === "xterm-256color" || Z.env.TERM === "alacritty" || Z.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
5717
5717
  }
5718
- const bt = Ps(), K = (s, r) => bt ? s : r, Rs = K("◆", "*"), or = K("■", "x"), ar = K("▲", "x"), $t = K("◇", "o"), Ns = K("┌", "T"), N = K("│", "|"), ce = K("└", "—"), At = K("●", ">"), vt = K("○", " "), Is = K("◻", "[•]"), yi = K("◼", "[+]"), Ts = K("◻", "[ ]"), Ms = K("▪", "•"), Gs = K("●", "•"), ks = K("◆", "*"), Hs = K("▲", "!"), Us = K("■", "x"), Se = (s) => {
5718
+ const vt = Rs(), K = (s, r) => vt ? s : r, Ns = K("◆", "*"), lr = K("■", "x"), cr = K("▲", "x"), Bt = K("◇", "o"), Is = K("┌", "T"), N = K("│", "|"), ce = K("└", "—"), yt = K("●", ">"), wt = K("○", " "), Ts = K("◻", "[•]"), Li = K("◼", "[+]"), Ms = K("◻", "[ ]"), Gs = K("▪", "•"), ks = K("●", "•"), Hs = K("◆", "*"), Us = K("▲", "!"), js = K("■", "x"), Se = (s) => {
5719
5719
  switch (s) {
5720
5720
  case "initial":
5721
5721
  case "active":
5722
- return L.cyan(Rs);
5722
+ return L.cyan(Ns);
5723
5723
  case "cancel":
5724
- return L.red(or);
5724
+ return L.red(lr);
5725
5725
  case "error":
5726
- return L.yellow(ar);
5726
+ return L.yellow(cr);
5727
5727
  case "submit":
5728
- return L.green($t);
5728
+ return L.green(Bt);
5729
5729
  }
5730
- }, js = (s) => new $s({ validate: s.validate, placeholder: s.placeholder, defaultValue: s.defaultValue, initialValue: s.initialValue, render() {
5730
+ }, Ws = (s) => new xs({ validate: s.validate, placeholder: s.placeholder, defaultValue: s.defaultValue, initialValue: s.initialValue, render() {
5731
5731
  const r = `${L.gray(N)}
5732
5732
  ${Se(this.state)} ${s.message}
5733
5733
  `, o = s.placeholder ? L.inverse(s.placeholder[0]) + L.dim(s.placeholder.slice(1)) : L.inverse(L.hidden("_")), l = this.value ? this.valueWithCursor : o;
@@ -5747,7 +5747,7 @@ ${L.yellow(ce)} ${L.yellow(this.error)}
5747
5747
  ${L.cyan(ce)}
5748
5748
  `;
5749
5749
  }
5750
- } }).prompt(), Ws = (s) => new vs({ validate: s.validate, mask: s.mask ?? Ms, render() {
5750
+ } }).prompt(), Vs = (s) => new ys({ validate: s.validate, mask: s.mask ?? Gs, render() {
5751
5751
  const r = `${L.gray(N)}
5752
5752
  ${Se(this.state)} ${s.message}
5753
5753
  `, o = this.valueWithCursor, l = this.masked;
@@ -5767,9 +5767,9 @@ ${L.yellow(ce)} ${L.yellow(this.error)}
5767
5767
  ${L.cyan(ce)}
5768
5768
  `;
5769
5769
  }
5770
- } }).prompt(), Vs = (s) => {
5770
+ } }).prompt(), qs = (s) => {
5771
5771
  const r = s.active ?? "Yes", o = s.inactive ?? "No";
5772
- return new gs({ active: r, inactive: o, initialValue: s.initialValue ?? !0, render() {
5772
+ return new Cs({ active: r, inactive: o, initialValue: s.initialValue ?? !0, render() {
5773
5773
  const l = `${L.gray(N)}
5774
5774
  ${Se(this.state)} ${s.message}
5775
5775
  `, n = this.value ? r : o;
@@ -5780,18 +5780,18 @@ ${Se(this.state)} ${s.message}
5780
5780
  return `${l}${L.gray(N)} ${L.strikethrough(L.dim(n))}
5781
5781
  ${L.gray(N)}`;
5782
5782
  default:
5783
- return `${l}${L.cyan(N)} ${this.value ? `${L.green(At)} ${r}` : `${L.dim(vt)} ${L.dim(r)}`} ${L.dim("/")} ${this.value ? `${L.dim(vt)} ${L.dim(o)}` : `${L.green(At)} ${o}`}
5783
+ return `${l}${L.cyan(N)} ${this.value ? `${L.green(yt)} ${r}` : `${L.dim(wt)} ${L.dim(r)}`} ${L.dim("/")} ${this.value ? `${L.dim(wt)} ${L.dim(o)}` : `${L.green(yt)} ${o}`}
5784
5784
  ${L.cyan(ce)}
5785
5785
  `;
5786
5786
  }
5787
5787
  } }).prompt();
5788
- }, qs = (s) => {
5788
+ }, zs = (s) => {
5789
5789
  const r = (l, n) => {
5790
5790
  const i = l.label ?? String(l.value);
5791
- return n === "active" ? `${L.green(At)} ${i} ${l.hint ? L.dim(`(${l.hint})`) : ""}` : n === "selected" ? `${L.dim(i)}` : n === "cancelled" ? `${L.strikethrough(L.dim(i))}` : `${L.dim(vt)} ${L.dim(i)}`;
5791
+ return n === "active" ? `${L.green(yt)} ${i} ${l.hint ? L.dim(`(${l.hint})`) : ""}` : n === "selected" ? `${L.dim(i)}` : n === "cancelled" ? `${L.strikethrough(L.dim(i))}` : `${L.dim(wt)} ${L.dim(i)}`;
5792
5792
  };
5793
5793
  let o = 0;
5794
- return new Ls({ options: s.options, initialValue: s.initialValue, render() {
5794
+ return new Ss({ options: s.options, initialValue: s.initialValue, render() {
5795
5795
  const l = `${L.gray(N)}
5796
5796
  ${Se(this.state)} ${s.message}
5797
5797
  `;
@@ -5812,12 +5812,12 @@ ${L.cyan(ce)}
5812
5812
  }
5813
5813
  }
5814
5814
  } }).prompt();
5815
- }, zs = (s) => {
5815
+ }, Ys = (s) => {
5816
5816
  const r = (o, l) => {
5817
5817
  const n = o.label ?? String(o.value);
5818
- return l === "active" ? `${L.cyan(Is)} ${n} ${o.hint ? L.dim(`(${o.hint})`) : ""}` : l === "selected" ? `${L.green(yi)} ${L.dim(n)}` : l === "cancelled" ? `${L.strikethrough(L.dim(n))}` : l === "active-selected" ? `${L.green(yi)} ${n} ${o.hint ? L.dim(`(${o.hint})`) : ""}` : l === "submitted" ? `${L.dim(n)}` : `${L.dim(Ts)} ${L.dim(n)}`;
5818
+ return l === "active" ? `${L.cyan(Ts)} ${n} ${o.hint ? L.dim(`(${o.hint})`) : ""}` : l === "selected" ? `${L.green(Li)} ${L.dim(n)}` : l === "cancelled" ? `${L.strikethrough(L.dim(n))}` : l === "active-selected" ? `${L.green(Li)} ${n} ${o.hint ? L.dim(`(${o.hint})`) : ""}` : l === "submitted" ? `${L.dim(n)}` : `${L.dim(Ms)} ${L.dim(n)}`;
5819
5819
  };
5820
- return new Fs({ options: s.options, initialValues: s.initialValues, required: s.required ?? !0, cursorAt: s.cursorAt, validate(o) {
5820
+ return new bs({ options: s.options, initialValues: s.initialValues, required: s.required ?? !0, cursorAt: s.cursorAt, validate(o) {
5821
5821
  if (this.required && o.length === 0) return `Please select at least one option.
5822
5822
  ${L.reset(L.dim(`Press ${L.gray(L.bgWhite(L.inverse(" space ")))} to select, ${L.gray(L.bgWhite(L.inverse(" enter ")))} to submit`))}`;
5823
5823
  }, render() {
@@ -5854,12 +5854,12 @@ ${L.cyan(ce)}
5854
5854
  `;
5855
5855
  }
5856
5856
  } }).prompt();
5857
- }, Ys = (s = "") => {
5857
+ }, Et = (s = "") => {
5858
5858
  process.stdout.write(`${L.gray(ce)} ${L.red(s)}
5859
5859
 
5860
5860
  `);
5861
5861
  }, Xs = (s = "") => {
5862
- process.stdout.write(`${L.gray(Ns)} ${s}
5862
+ process.stdout.write(`${L.gray(Is)} ${s}
5863
5863
  `);
5864
5864
  }, ve = (s = "") => {
5865
5865
  process.stdout.write(`${L.gray(N)}
@@ -5877,22 +5877,22 @@ ${L.gray(ce)} ${s}
5877
5877
  `)}
5878
5878
  `);
5879
5879
  }, info: (s) => {
5880
- de.message(s, { symbol: L.blue(Gs) });
5880
+ de.message(s, { symbol: L.blue(ks) });
5881
5881
  }, success: (s) => {
5882
- de.message(s, { symbol: L.green(ks) });
5882
+ de.message(s, { symbol: L.green(Hs) });
5883
5883
  }, step: (s) => {
5884
- de.message(s, { symbol: L.green($t) });
5884
+ de.message(s, { symbol: L.green(Bt) });
5885
5885
  }, warn: (s) => {
5886
- de.message(s, { symbol: L.yellow(Hs) });
5886
+ de.message(s, { symbol: L.yellow(Us) });
5887
5887
  }, warning: (s) => {
5888
5888
  de.warn(s);
5889
5889
  }, error: (s) => {
5890
- de.message(s, { symbol: L.red(Us) });
5890
+ de.message(s, { symbol: L.red(js) });
5891
5891
  } }, Ks = () => {
5892
- const s = bt ? ["◒", "◐", "◓", "◑"] : ["•", "o", "O", "0"], r = bt ? 80 : 120;
5892
+ const s = vt ? ["◒", "◐", "◓", "◑"] : ["•", "o", "O", "0"], r = vt ? 80 : 120;
5893
5893
  let o, l, n = !1, i = "";
5894
5894
  const e = (m = "") => {
5895
- n = !0, o = Bs(), i = m.replace(/\.+$/, ""), process.stdout.write(`${L.gray(N)}
5895
+ n = !0, o = Ps(), i = m.replace(/\.+$/, ""), process.stdout.write(`${L.gray(N)}
5896
5896
  `);
5897
5897
  let v = 0, w = 0;
5898
5898
  l = setInterval(() => {
@@ -5901,7 +5901,7 @@ ${L.gray(ce)} ${s}
5901
5901
  }, r);
5902
5902
  }, a = (m = "", v = 0) => {
5903
5903
  i = m ?? i, n = !1, clearInterval(l);
5904
- const w = v === 0 ? L.green($t) : v === 1 ? L.red(or) : L.red(ar);
5904
+ const w = v === 0 ? L.green(Bt) : v === 1 ? L.red(lr) : L.red(cr);
5905
5905
  process.stdout.write(X.cursor.move(-999, 0)), process.stdout.write(X.erase.down(1)), process.stdout.write(`${w} ${i}
5906
5906
  `), o();
5907
5907
  }, c = (m = "") => {
@@ -5917,14 +5917,14 @@ ${L.gray(ce)} ${s}
5917
5917
  const i = s[n], e = await i({ results: o })?.catch((a) => {
5918
5918
  throw a;
5919
5919
  });
5920
- if (typeof r?.onCancel == "function" && ds(e)) {
5920
+ if (typeof r?.onCancel == "function" && At(e)) {
5921
5921
  o[n] = "canceled", r.onCancel({ results: o });
5922
5922
  continue;
5923
5923
  }
5924
5924
  o[n] = e;
5925
5925
  }
5926
5926
  return o;
5927
- }, Et = 10, wi = (s = 0) => (r) => `\x1B[${r + s}m`, Li = (s = 0) => (r) => `\x1B[${38 + s};5;${r}m`, Si = (s = 0) => (r, o, l) => `\x1B[${38 + s};2;${r};${o};${l}m`, U = {
5927
+ }, Ft = 10, Si = (s = 0) => (r) => `\x1B[${r + s}m`, Oi = (s = 0) => (r) => `\x1B[${38 + s};5;${r}m`, _i = (s = 0) => (r, o, l) => `\x1B[${38 + s};2;${r};${o};${l}m`, U = {
5928
5928
  modifier: {
5929
5929
  reset: [0, 0],
5930
5930
  // 21 isn't widely supported and 22 does the same thing
@@ -6003,7 +6003,7 @@ function eu() {
6003
6003
  return Object.defineProperty(U, "codes", {
6004
6004
  value: s,
6005
6005
  enumerable: !1
6006
- }), U.color.close = "\x1B[39m", U.bgColor.close = "\x1B[49m", U.color.ansi = wi(), U.color.ansi256 = Li(), U.color.ansi16m = Si(), U.bgColor.ansi = wi(Et), U.bgColor.ansi256 = Li(Et), U.bgColor.ansi16m = Si(Et), Object.defineProperties(U, {
6006
+ }), U.color.close = "\x1B[39m", U.bgColor.close = "\x1B[49m", U.color.ansi = Si(), U.color.ansi256 = Oi(), U.color.ansi16m = _i(), U.bgColor.ansi = Si(Ft), U.bgColor.ansi256 = Oi(Ft), U.bgColor.ansi16m = _i(Ft), Object.defineProperties(U, {
6007
6007
  rgbToAnsi256: {
6008
6008
  value(r, o, l) {
6009
6009
  return r === o && o === l ? r < 8 ? 16 : r > 248 ? 231 : Math.round((r - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(o / 255 * 5) + Math.round(l / 255 * 5);
@@ -6104,7 +6104,7 @@ function ru(s, { streamIsTTY: r, sniffFlags: o = !0 } = {}) {
6104
6104
  if (W.TERM === "dumb")
6105
6105
  return i;
6106
6106
  if (Z.platform === "win32") {
6107
- const e = Or.release().split(".");
6107
+ const e = $r.release().split(".");
6108
6108
  return Number(e[0]) >= 10 && Number(e[2]) >= 10586 ? Number(e[2]) >= 14931 ? 3 : 2 : 1;
6109
6109
  }
6110
6110
  if ("CI" in W)
@@ -6124,7 +6124,7 @@ function ru(s, { streamIsTTY: r, sniffFlags: o = !0 } = {}) {
6124
6124
  }
6125
6125
  return /-256(color)?$/i.test(W.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(W.TERM) || "COLORTERM" in W ? 1 : i;
6126
6126
  }
6127
- function Oi(s, r = {}) {
6127
+ function $i(s, r = {}) {
6128
6128
  const o = ru(s, {
6129
6129
  streamIsTTY: s && s.isTTY,
6130
6130
  ...r
@@ -6132,8 +6132,8 @@ function Oi(s, r = {}) {
6132
6132
  return iu(o);
6133
6133
  }
6134
6134
  const nu = {
6135
- stdout: Oi({ isTTY: Rt.isatty(1) }),
6136
- stderr: Oi({ isTTY: Rt.isatty(2) })
6135
+ stdout: $i({ isTTY: It.isatty(1) }),
6136
+ stderr: $i({ isTTY: It.isatty(2) })
6137
6137
  };
6138
6138
  function su(s, r, o) {
6139
6139
  let l = s.indexOf(r);
@@ -6157,7 +6157,7 @@ function uu(s, r, o, l) {
6157
6157
  } while (l !== -1);
6158
6158
  return i += s.slice(n), i;
6159
6159
  }
6160
- const { stdout: _i, stderr: $i } = nu, yt = Symbol("GENERATOR"), Ce = Symbol("STYLER"), we = Symbol("IS_EMPTY"), xi = [
6160
+ const { stdout: xi, stderr: Bi } = nu, Lt = Symbol("GENERATOR"), Ce = Symbol("STYLER"), we = Symbol("IS_EMPTY"), Pi = [
6161
6161
  "ansi",
6162
6162
  "ansi",
6163
6163
  "ansi256",
@@ -6165,7 +6165,7 @@ const { stdout: _i, stderr: $i } = nu, yt = Symbol("GENERATOR"), Ce = Symbol("ST
6165
6165
  ], Ee = /* @__PURE__ */ Object.create(null), ou = (s, r = {}) => {
6166
6166
  if (r.level && !(Number.isInteger(r.level) && r.level >= 0 && r.level <= 3))
6167
6167
  throw new Error("The `level` option should be an integer from 0 to 3");
6168
- const o = _i ? _i.level : 0;
6168
+ const o = xi ? xi.level : 0;
6169
6169
  s.level = r.level === void 0 ? o : r.level;
6170
6170
  }, au = (s) => {
6171
6171
  const r = (...o) => o.join(" ");
@@ -6178,7 +6178,7 @@ Object.setPrototypeOf(Oe.prototype, Function.prototype);
6178
6178
  for (const [s, r] of Object.entries(le))
6179
6179
  Ee[s] = {
6180
6180
  get() {
6181
- const o = je(this, Lt(r.open, r.close, this[Ce]), this[we]);
6181
+ const o = je(this, Ot(r.open, r.close, this[Ce]), this[we]);
6182
6182
  return Object.defineProperty(this, s, { value: o }), o;
6183
6183
  }
6184
6184
  };
@@ -6188,13 +6188,13 @@ Ee.visible = {
6188
6188
  return Object.defineProperty(this, "visible", { value: s }), s;
6189
6189
  }
6190
6190
  };
6191
- const wt = (s, r, o, ...l) => s === "rgb" ? r === "ansi16m" ? le[o].ansi16m(...l) : r === "ansi256" ? le[o].ansi256(le.rgbToAnsi256(...l)) : le[o].ansi(le.rgbToAnsi(...l)) : s === "hex" ? wt("rgb", r, o, ...le.hexToRgb(...l)) : le[o][s](...l), lu = ["rgb", "hex", "ansi256"];
6191
+ const St = (s, r, o, ...l) => s === "rgb" ? r === "ansi16m" ? le[o].ansi16m(...l) : r === "ansi256" ? le[o].ansi256(le.rgbToAnsi256(...l)) : le[o].ansi(le.rgbToAnsi(...l)) : s === "hex" ? St("rgb", r, o, ...le.hexToRgb(...l)) : le[o][s](...l), lu = ["rgb", "hex", "ansi256"];
6192
6192
  for (const s of lu) {
6193
6193
  Ee[s] = {
6194
6194
  get() {
6195
6195
  const { level: o } = this;
6196
6196
  return function(...l) {
6197
- const n = Lt(wt(s, xi[o], "color", ...l), le.color.close, this[Ce]);
6197
+ const n = Ot(St(s, Pi[o], "color", ...l), le.color.close, this[Ce]);
6198
6198
  return je(this, n, this[we]);
6199
6199
  };
6200
6200
  }
@@ -6204,7 +6204,7 @@ for (const s of lu) {
6204
6204
  get() {
6205
6205
  const { level: o } = this;
6206
6206
  return function(...l) {
6207
- const n = Lt(wt(s, xi[o], "bgColor", ...l), le.bgColor.close, this[Ce]);
6207
+ const n = Ot(St(s, Pi[o], "bgColor", ...l), le.bgColor.close, this[Ce]);
6208
6208
  return je(this, n, this[we]);
6209
6209
  };
6210
6210
  }
@@ -6216,13 +6216,13 @@ const cu = Object.defineProperties(() => {
6216
6216
  level: {
6217
6217
  enumerable: !0,
6218
6218
  get() {
6219
- return this[yt].level;
6219
+ return this[Lt].level;
6220
6220
  },
6221
6221
  set(s) {
6222
- this[yt].level = s;
6222
+ this[Lt].level = s;
6223
6223
  }
6224
6224
  }
6225
- }), Lt = (s, r, o) => {
6225
+ }), Ot = (s, r, o) => {
6226
6226
  let l, n;
6227
6227
  return o === void 0 ? (l = s, n = r) : (l = o.openAll + s, n = r + o.closeAll), {
6228
6228
  open: s,
@@ -6233,7 +6233,7 @@ const cu = Object.defineProperties(() => {
6233
6233
  };
6234
6234
  }, je = (s, r, o) => {
6235
6235
  const l = (...n) => hu(l, n.length === 1 ? "" + n[0] : n.join(" "));
6236
- return Object.setPrototypeOf(l, cu), l[yt] = s, l[Ce] = r, l[we] = o, l;
6236
+ return Object.setPrototypeOf(l, cu), l[Lt] = s, l[Ce] = r, l[we] = o, l;
6237
6237
  }, hu = (s, r) => {
6238
6238
  if (s.level <= 0 || !r)
6239
6239
  return s[we] ? "" : r;
@@ -6250,10 +6250,10 @@ const cu = Object.defineProperties(() => {
6250
6250
  };
6251
6251
  Object.defineProperties(Oe.prototype, Ee);
6252
6252
  const Y = Oe();
6253
- Oe({ level: $i ? $i.level : 0 });
6254
- var Ge = { exports: {} }, Du = Ge.exports, Bi;
6253
+ Oe({ level: Bi ? Bi.level : 0 });
6254
+ var Ge = { exports: {} }, Du = Ge.exports, Ri;
6255
6255
  function fu() {
6256
- return Bi || (Bi = 1, function(s, r) {
6256
+ return Ri || (Ri = 1, function(s, r) {
6257
6257
  (function(o, l) {
6258
6258
  s.exports = l();
6259
6259
  })(Du, function() {
@@ -6449,7 +6449,7 @@ function fu() {
6449
6449
  g: 0,
6450
6450
  b: 0
6451
6451
  }, F = 1, O = null, B = null, $ = null, M = !1, G = !1;
6452
- return typeof E == "string" && (E = gr(E)), o(E) == "object" && (De(E.r) && De(E.g) && De(E.b) ? (b = a(E.r, E.g, E.b), M = !0, G = String(E.r).substr(-1) === "%" ? "prgb" : "rgb") : De(E.h) && De(E.s) && De(E.v) ? (O = he(E.s), B = he(E.v), b = v(E.h, O, B), M = !0, G = "hsv") : De(E.h) && De(E.s) && De(E.l) && (O = he(E.s), $ = he(E.l), b = C(E.h, O, $), M = !0, G = "hsl"), E.hasOwnProperty("a") && (F = E.a)), F = z(F), {
6452
+ return typeof E == "string" && (E = Er(E)), o(E) == "object" && (De(E.r) && De(E.g) && De(E.b) ? (b = a(E.r, E.g, E.b), M = !0, G = String(E.r).substr(-1) === "%" ? "prgb" : "rgb") : De(E.h) && De(E.s) && De(E.v) ? (O = he(E.s), B = he(E.v), b = v(E.h, O, B), M = !0, G = "hsv") : De(E.h) && De(E.s) && De(E.l) && (O = he(E.s), $ = he(E.l), b = C(E.h, O, $), M = !0, G = "hsl"), E.hasOwnProperty("a") && (F = E.a)), F = z(F), {
6453
6453
  ok: M,
6454
6454
  format: E.format || G,
6455
6455
  r: Math.min(255, Math.max(b.r, 0)),
@@ -6654,7 +6654,7 @@ function fu() {
6654
6654
  return (Math.max(F.getLuminance(), O.getLuminance()) + 0.05) / (Math.min(F.getLuminance(), O.getLuminance()) + 0.05);
6655
6655
  }, i.isReadable = function(E, b, F) {
6656
6656
  var O = i.readability(E, b), B, $;
6657
- switch ($ = !1, B = Cr(F), B.level + B.size) {
6657
+ switch ($ = !1, B = Fr(F), B.level + B.size) {
6658
6658
  case "AAsmall":
6659
6659
  case "AAAlarge":
6660
6660
  $ = O >= 4.5;
@@ -6863,7 +6863,7 @@ function fu() {
6863
6863
  function Fe(E) {
6864
6864
  return Math.round(parseFloat(E) * 255).toString(16);
6865
6865
  }
6866
- function Bt(E) {
6866
+ function Rt(E) {
6867
6867
  return k(E) / 255;
6868
6868
  }
6869
6869
  var ue = function() {
@@ -6885,7 +6885,7 @@ function fu() {
6885
6885
  function De(E) {
6886
6886
  return !!ue.CSS_UNIT.exec(E);
6887
6887
  }
6888
- function gr(E) {
6888
+ function Er(E) {
6889
6889
  E = E.replace(l, "").replace(n, "").toLowerCase();
6890
6890
  var b = !1;
6891
6891
  if (R[E])
@@ -6930,7 +6930,7 @@ function fu() {
6930
6930
  r: k(F[1]),
6931
6931
  g: k(F[2]),
6932
6932
  b: k(F[3]),
6933
- a: Bt(F[4]),
6933
+ a: Rt(F[4]),
6934
6934
  format: b ? "name" : "hex8"
6935
6935
  } : (F = ue.hex6.exec(E)) ? {
6936
6936
  r: k(F[1]),
@@ -6941,7 +6941,7 @@ function fu() {
6941
6941
  r: k(F[1] + "" + F[1]),
6942
6942
  g: k(F[2] + "" + F[2]),
6943
6943
  b: k(F[3] + "" + F[3]),
6944
- a: Bt(F[4] + "" + F[4]),
6944
+ a: Rt(F[4] + "" + F[4]),
6945
6945
  format: b ? "name" : "hex8"
6946
6946
  } : (F = ue.hex3.exec(E)) ? {
6947
6947
  r: k(F[1] + "" + F[1]),
@@ -6950,7 +6950,7 @@ function fu() {
6950
6950
  format: b ? "name" : "hex"
6951
6951
  } : !1;
6952
6952
  }
6953
- function Cr(E) {
6953
+ function Fr(E) {
6954
6954
  var b, F;
6955
6955
  return E = E || {
6956
6956
  level: "AA",
@@ -6964,10 +6964,10 @@ function fu() {
6964
6964
  });
6965
6965
  }(Ge)), Ge.exports;
6966
6966
  }
6967
- var Ft, Pi;
6967
+ var bt, Ni;
6968
6968
  function pu() {
6969
- if (Pi) return Ft;
6970
- Pi = 1;
6969
+ if (Ni) return bt;
6970
+ Ni = 1;
6971
6971
  const s = fu(), r = { r: 256, g: 256, b: 256, a: 1 }, o = { h: 360, s: 1, v: 1, a: 1 };
6972
6972
  function l(m, v, w) {
6973
6973
  let D = {};
@@ -7187,7 +7187,7 @@ function pu() {
7187
7187
  return c(this.stops, v, "toHsv", o);
7188
7188
  }
7189
7189
  }
7190
- return Ft = function(m) {
7190
+ return bt = function(m) {
7191
7191
  if (arguments.length === 1) {
7192
7192
  if (!Array.isArray(arguments[0]))
7193
7193
  throw new Error('"stops" is not an array');
@@ -7195,33 +7195,33 @@ function pu() {
7195
7195
  } else
7196
7196
  m = Array.prototype.slice.call(arguments);
7197
7197
  return new C(m);
7198
- }, Ft;
7198
+ }, bt;
7199
7199
  }
7200
7200
  var du = pu();
7201
- const Ri = /* @__PURE__ */ We(du), Q = (...s) => {
7201
+ const Ii = /* @__PURE__ */ We(du), Q = (...s) => {
7202
7202
  let r, o;
7203
7203
  if (s.length === 0)
7204
7204
  throw new Error("Missing gradient colors");
7205
7205
  if (Array.isArray(s[0]))
7206
- r = Ri(s[0]), o = xt(s[1]);
7206
+ r = Ii(s[0]), o = Pt(s[1]);
7207
7207
  else {
7208
7208
  if (s.length === 1)
7209
7209
  throw new Error(`Expected an array of colors, received ${JSON.stringify(s[0])}`);
7210
- r = Ri(...s);
7210
+ r = Ii(...s);
7211
7211
  }
7212
7212
  const l = (n, i) => mu(n ? n.toString() : "", r, i ?? o);
7213
7213
  return l.multiline = (n, i) => gu(n ? n.toString() : "", r, i ?? o), l;
7214
- }, lr = (s, r, o) => r.interpolation?.toLowerCase() === "hsv" ? s.hsv(o, r.hsvSpin?.toLowerCase() || !1) : s.rgb(o);
7214
+ }, hr = (s, r, o) => r.interpolation?.toLowerCase() === "hsv" ? s.hsv(o, r.hsvSpin?.toLowerCase() || !1) : s.rgb(o);
7215
7215
  function mu(s, r, o) {
7216
- const l = xt(o), n = Math.max(s.replace(/\s/g, "").length, r.stops.length), i = lr(r, l, n);
7216
+ const l = Pt(o), n = Math.max(s.replace(/\s/g, "").length, r.stops.length), i = hr(r, l, n);
7217
7217
  let e = "";
7218
7218
  for (const a of s)
7219
7219
  e += a.match(/\s/g) ? a : Y.hex(i.shift()?.toHex() || "#000")(a);
7220
7220
  return e;
7221
7221
  }
7222
7222
  function gu(s, r, o) {
7223
- const l = xt(o), n = s.split(`
7224
- `), i = Math.max(...n.map((c) => c.length), r.stops.length), e = lr(r, l, i), a = [];
7223
+ const l = Pt(o), n = s.split(`
7224
+ `), i = Math.max(...n.map((c) => c.length), r.stops.length), e = hr(r, l, i), a = [];
7225
7225
  for (const c of n) {
7226
7226
  const C = e.slice(0);
7227
7227
  let m = "";
@@ -7232,7 +7232,7 @@ function gu(s, r, o) {
7232
7232
  return a.join(`
7233
7233
  `);
7234
7234
  }
7235
- function xt(s) {
7235
+ function Pt(s) {
7236
7236
  const r = { interpolation: "rgb", hsvSpin: "short", ...s };
7237
7237
  if (s !== void 0 && typeof s != "object")
7238
7238
  throw new TypeError(`Expected \`options\` to be an \`object\`, got \`${typeof s}\``);
@@ -7264,13 +7264,13 @@ function ie(s) {
7264
7264
  const r = (o) => Q(...s.colors)(o, s.options);
7265
7265
  return r.multiline = (o = "") => Q(...s.colors).multiline(o, s.options), r;
7266
7266
  }
7267
- const Cu = ie(te.atlas), Eu = ie(te.cristal), Fu = ie(te.teen), bu = ie(te.mind), Au = ie(te.morning), cr = ie(te.vice), vu = ie(te.passion), yu = ie(te.fruit), wu = ie(te.instagram), Lu = ie(te.retro), Su = ie(te.summer), Ou = ie(te.rainbow), _u = ie(te.pastel);
7267
+ const Cu = ie(te.atlas), Eu = ie(te.cristal), Fu = ie(te.teen), bu = ie(te.mind), Au = ie(te.morning), Dr = ie(te.vice), vu = ie(te.passion), yu = ie(te.fruit), wu = ie(te.instagram), Lu = ie(te.retro), Su = ie(te.summer), Ou = ie(te.rainbow), _u = ie(te.pastel);
7268
7268
  Q.atlas = Cu;
7269
7269
  Q.cristal = Eu;
7270
7270
  Q.teen = Fu;
7271
7271
  Q.mind = bu;
7272
7272
  Q.morning = Au;
7273
- Q.vice = cr;
7273
+ Q.vice = Dr;
7274
7274
  Q.passion = vu;
7275
7275
  Q.fruit = yu;
7276
7276
  Q.instagram = wu;
@@ -7279,11 +7279,11 @@ Q.summer = Su;
7279
7279
  Q.rainbow = Ou;
7280
7280
  Q.pastel = _u;
7281
7281
  const $u = "my-arcgis-app";
7282
- function hr() {
7282
+ function fr() {
7283
7283
  Xs("initialize a new arcgis project");
7284
7284
  }
7285
- async function Dr() {
7286
- return await js({
7285
+ async function pr() {
7286
+ return await Ws({
7287
7287
  message: "What is the name of your project?",
7288
7288
  initialValue: "",
7289
7289
  placeholder: $u,
@@ -7294,13 +7294,13 @@ async function Dr() {
7294
7294
  });
7295
7295
  }
7296
7296
  async function xu() {
7297
- const s = Object.entries(me).filter(([, r]) => !Mr[r]).map(([, r]) => ({ value: r, label: r }));
7298
- return await qs({
7297
+ const s = Object.entries(me).filter(([, r]) => !kr[r]).map(([, r]) => ({ value: r, label: r }));
7298
+ return await zs({
7299
7299
  message: "Which template would you like to use?",
7300
7300
  options: s
7301
7301
  });
7302
7302
  }
7303
- function fr() {
7303
+ function dr() {
7304
7304
  ve(Y.greenBright("Your new project is ready!"));
7305
7305
  }
7306
7306
  async function Bu(s) {
@@ -7310,7 +7310,7 @@ async function Bu(s) {
7310
7310
  See https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic
7311
7311
 
7312
7312
  for step-by-step instructions.
7313
- `), await Ws({
7313
+ `), await Vs({
7314
7314
  message: `Please enter your personal access token for ${s}`,
7315
7315
  mask: "*",
7316
7316
  validate(r) {
@@ -7319,14 +7319,14 @@ async function Bu(s) {
7319
7319
  }
7320
7320
  });
7321
7321
  }
7322
- function pr(s) {
7322
+ function mr(s) {
7323
7323
  return {
7324
7324
  name: s.name,
7325
7325
  shouldCleanup: !1,
7326
7326
  async doCleanup(o) {
7327
7327
  if (console.error(Y.bgRed(o)), this.shouldCleanup && this.name)
7328
7328
  try {
7329
- await Vn(this.name);
7329
+ await zn(this.name);
7330
7330
  } catch (l) {
7331
7331
  console.error(Y.bgRed(l));
7332
7332
  }
@@ -7334,58 +7334,59 @@ function pr(s) {
7334
7334
  }
7335
7335
  };
7336
7336
  }
7337
- async function dr(s, r, o) {
7337
+ async function gr(s, r, o) {
7338
7338
  const { startMsg: l, successMsg: n, failureMsg: i } = s, e = Ks();
7339
7339
  e.start(l), await r().then(() => e.stop(n)).catch((a) => {
7340
7340
  e.stop(Y.bgRed(i), 1), o(a, e);
7341
7341
  });
7342
7342
  }
7343
7343
  async function Pu(s) {
7344
- const r = pr(s);
7344
+ const r = mr(s);
7345
7345
  try {
7346
- hr();
7346
+ fr();
7347
7347
  const o = await Js(
7348
7348
  {
7349
- projectName: s.name ? async () => await Promise.resolve(s.name) : Dr,
7349
+ projectName: s.name ? async () => await Promise.resolve(s.name) : pr,
7350
7350
  projectTemplate: s.template ? async () => await Promise.resolve(s.template) : xu
7351
7351
  },
7352
7352
  {
7353
7353
  // On Cancel callback that wraps the group
7354
7354
  // So if the user cancels one of the prompts in the group this function will be called
7355
7355
  onCancel: () => {
7356
- Ys("Operation cancelled."), process.exit(0);
7356
+ Et("Operation cancelled."), process.exit(0);
7357
7357
  }
7358
7358
  }
7359
7359
  );
7360
7360
  r.name = o.projectName;
7361
- const l = Wi[o.projectTemplate], n = er(o.projectTemplate, s);
7362
- await dr(
7361
+ const l = qi[o.projectTemplate], n = ir(o.projectTemplate, s);
7362
+ await gr(
7363
7363
  {
7364
7364
  startMsg: "Downloading project template...",
7365
7365
  successMsg: "Project template downloaded successfully",
7366
7366
  failureMsg: "Error downloading project template"
7367
7367
  },
7368
7368
  async () => {
7369
- await Ji(o.projectName, n, l), r.shouldCleanup = !0;
7369
+ await Qi(o.projectName, n, l), r.shouldCleanup = !0;
7370
7370
  },
7371
7371
  (c) => {
7372
7372
  throw ve(Y.bgRed("Please ensure git is installed and try again.")), c;
7373
7373
  }
7374
7374
  );
7375
- const i = await Zi(o.projectName);
7376
- if (await Vs({
7375
+ const i = await er(o.projectName);
7376
+ let e;
7377
+ if (s.packages ? e = !0 : e = await qs({
7377
7378
  message: "Would you like to add any additional components?",
7378
7379
  initialValue: !1
7379
- })) {
7380
- const c = s.packages ? s.packages : await zs({
7380
+ }), At(e) && (Et("Operation cancelled."), process.exit(0)), e) {
7381
+ const c = s.packages ? s.packages : await Ys({
7381
7382
  message: "Would you like to add any additional components? (select multiple)",
7382
7383
  options: Object.entries(He).map(([, C]) => ({ value: C, label: C }))
7383
7384
  });
7384
- jn(i, c, o.projectTemplate), await Qi(o.projectName, i);
7385
+ At(c) && (Et("Operation cancelled."), process.exit(0)), Vn(i, c, o.projectTemplate), await tr(o.projectName, i);
7385
7386
  }
7386
- const a = Un(i);
7387
- fr(), console.log(Y.magenta(`To get started, run the following commands:
7388
- `)), console.log(Y.grey(`$ cd ${o.projectName}`)), console.log(Y.grey("$ npm install")), console.log(Y.grey(`$ npm run ${a}`)), console.log(cr(`
7387
+ const a = Wn(i);
7388
+ dr(), console.log(Y.magenta(`To get started, run the following commands:
7389
+ `)), console.log(Y.grey(`$ cd ${o.projectName}`)), console.log(Y.grey("$ npm install")), console.log(Y.grey(`$ npm run ${a}`)), console.log(Dr(`
7389
7390
 
7390
7391
  Happy mapping!`));
7391
7392
  } catch (o) {
@@ -7393,25 +7394,25 @@ Happy mapping!`));
7393
7394
  }
7394
7395
  }
7395
7396
  async function Ru(s) {
7396
- const { template: r, branch: o = Ui } = s;
7397
+ const { template: r, branch: o = Wi } = s;
7397
7398
  r !== me.LUMINA_COMPONENTS && (ve(Y.red("Template is not a code sample")), process.exit(1)), s.host || (ve(Y.red("Host option is required for the lumina-components template")), process.exit(1));
7398
- const l = pr(s);
7399
+ const l = mr(s);
7399
7400
  try {
7400
- hr();
7401
- const n = s.name ?? await Dr();
7401
+ fr();
7402
+ const n = s.name ?? await pr();
7402
7403
  l.name = n;
7403
- const i = Wi[r], e = await qn(r, s);
7404
+ const i = qi[r], e = await Yn(r, s);
7404
7405
  let a = "";
7405
7406
  e || (a = await Bu(s.host));
7406
- const c = er(r, { ...s, ssh: e, accessToken: a });
7407
- await dr(
7407
+ const c = ir(r, { ...s, ssh: e, accessToken: a });
7408
+ await gr(
7408
7409
  {
7409
7410
  startMsg: "Downloading project template...",
7410
7411
  successMsg: "Project template downloaded successfully",
7411
7412
  failureMsg: "Error downloading project template"
7412
7413
  },
7413
7414
  async () => {
7414
- await Ji(n, c, i, o), l.shouldCleanup = !0;
7415
+ await Qi(n, c, i, o), l.shouldCleanup = !0;
7415
7416
  },
7416
7417
  (g) => {
7417
7418
  throw ve(Y.bgRed("Please ensure git is installed and try again.")), g;
@@ -7422,7 +7423,7 @@ async function Ru(s) {
7422
7423
  version: m,
7423
7424
  "acme:scripts": v,
7424
7425
  ...w
7425
- } = await Zi(n), D = m.split(".").slice(0, 2), d = o.includes("release"), f = d ? `~${D.join(".")}.0` : `>=${D.join(".")}.0-next <${D[0]}.${Number.parseInt(D[1]) + 1}.0`, A = w.files?.filter(
7426
+ } = await er(n), D = m.split(".").slice(0, 2), d = o.includes("release"), f = d ? `~${D.join(".")}.0` : `>=${D.join(".")}.0-next <${D[0]}.${Number.parseInt(D[1]) + 1}.0`, A = w.files?.filter(
7426
7427
  (g) => g !== "*" && !g.includes("Publishing source code for demo purposes only")
7427
7428
  ), t = d ? void 0 : {
7428
7429
  "@esri/calcite-components/@arcgis/lumina": f,
@@ -7437,20 +7438,20 @@ async function Ru(s) {
7437
7438
  ...t ? { resolutions: t } : {},
7438
7439
  ...A ? { files: A } : {}
7439
7440
  };
7440
- zn(f, h), await Qi(n, h), fr(), console.log(Y.magenta(`To get started, run the following commands:
7441
+ Xn(f, h), await tr(n, h), dr(), console.log(Y.magenta(`To get started, run the following commands:
7441
7442
  `)), console.log(Y.grey(`$ cd ${n}`)), console.log(Y.grey("$ yarn set version 4.5.1")), console.log(Y.grey("$ yarn install")), console.log(Y.grey("$ yarn start"));
7442
7443
  } catch (n) {
7443
7444
  await l.doCleanup(n);
7444
7445
  }
7445
7446
  }
7446
- const mr = (s) => {
7447
- const r = new Nr();
7447
+ const Cr = (s) => {
7448
+ const r = new Tr();
7448
7449
  return s?.exitOverride && r.exitOverride(), s?.suppressOutput && r.configureOutput({
7449
7450
  writeOut: () => "",
7450
7451
  writeErr: () => ""
7451
- }), r.version(Ir), r.option("-n, --name <name>", "Name of the project").option("-t, --template <template>", "Template to use").option("-p, --packages <packages>", "Additional packages to add").option("--host <host>", "Host to use for the source control repository").option("--branch <branch>", "Branch to checkout in the source control repository"), r.command("init").description("Initialize a new ArcGIS project").action(async () => {
7452
- const o = Wn(r.opts());
7453
- if (o.template && Tr[o.template] === ki.CODE_SAMPLE) {
7452
+ }), r.version(Mr), r.option("-n, --name <name>", "Name of the project").option("-t, --template <template>", "Template to use").option("-p, --packages <packages>", "Additional packages to add").option("--host <host>", "Host to use for the source control repository").option("--branch <branch>", "Branch to checkout in the source control repository"), r.command("init").description("Initialize a new ArcGIS project").action(async () => {
7453
+ const o = qn(r.opts());
7454
+ if (o.template && Gr[o.template] === Ui.CODE_SAMPLE) {
7454
7455
  await Ru(o);
7455
7456
  return;
7456
7457
  }
@@ -7458,9 +7459,9 @@ const mr = (s) => {
7458
7459
  }), r;
7459
7460
  };
7460
7461
  let Nu = {
7461
- makeProgram: mr
7462
+ makeProgram: Cr
7462
7463
  };
7463
- process.env.NODE_ENV !== "test" && (Nu = void 0, mr().parse());
7464
+ process.env.NODE_ENV !== "test" && (Nu = void 0, Cr().parse());
7464
7465
  export {
7465
7466
  Nu as exportsForTests
7466
7467
  };