@shopify/create-app 3.80.7 → 3.81.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3INFDIM3.js → chunk-2YVW3FGK.js} +42 -507
- package/dist/{chunk-4CUOCZWA.js → chunk-4S4CSWD6.js} +15 -10
- package/dist/{chunk-YD5O6X2N.js → chunk-4WMN57JE.js} +26 -26
- package/dist/{chunk-TMCHXNDX.js → chunk-6EPG6YJ6.js} +32 -33
- package/dist/{chunk-3WLCDYDH.js → chunk-C4ABWPZH.js} +275 -76
- package/dist/{chunk-TJM3YBLQ.js → chunk-CTFDRWUN.js} +15 -12
- package/dist/{chunk-25SITN3I.js → chunk-ILI5X6PP.js} +2 -2
- package/dist/{chunk-OB3TW53B.js → chunk-TT3RANTU.js} +240 -216
- package/dist/{chunk-LQ2ZKVR6.js → chunk-UMUTXITN.js} +87 -4
- package/dist/{chunk-3AUF6SFV.js → chunk-UQP4ZLNS.js} +5 -5
- package/dist/{chunk-LH5HVQQC.js → chunk-VMUIREUQ.js} +2 -2
- package/dist/{chunk-CDBXAE2F.js → chunk-Y2JP6WFP.js} +99 -11
- package/dist/{custom-oclif-loader-6FO7YJKC.js → custom-oclif-loader-NCDQWHDP.js} +7 -8
- package/dist/{del-KB2YLEEB.js → del-MOZRBB7Y.js} +4 -4
- package/dist/{devtools-J4QAI6HR.js → devtools-LDCSRUXB.js} +4 -4
- package/dist/{error-handler-4H2Q3GJ6.js → error-handler-DQ6X5YKA.js} +11 -12
- package/dist/hooks/postrun.js +9 -10
- package/dist/hooks/prerun.js +9 -10
- package/dist/{http-proxy-KGLXPNEY.js → http-proxy-LHSVRGJ5.js} +14 -10
- package/dist/index.js +11767 -5697
- package/dist/index.test.js +10022 -8822
- package/dist/lib-UJ7YNLH4.js +11 -0
- package/dist/{local-BLTCJNBH.js → local-EXTM5UPB.js} +9 -14
- package/dist/{magic-string.es-BSVDQOZI.js → magic-string.es-UZAAPNRE.js} +42 -36
- package/dist/{node-package-manager-XGVFWJHO.js → node-package-manager-4LLKYFW5.js} +8 -9
- package/dist/{out-5KP5WGIK.js → out-NKJPLKLB.js} +2 -2
- package/dist/{path-GWAZZN2N.js → path-COZT77T2.js} +2 -3
- package/dist/toml_patch_bg.wasm +0 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-4M5QZZEG.js → ui-6L3VQT6P.js} +7 -10
- package/oclif.manifest.json +1 -1
- package/package.json +6 -7
- package/dist/chunk-3I3GQNEW.js +0 -95
- package/dist/chunk-ZUCWDIGE.js +0 -111
- package/dist/lib-TMSQAG3Q.js +0 -11
- package/dist/toml-patch-wasm-J5VGG6WG.js +0 -140
|
@@ -5,18 +5,16 @@ import {
|
|
|
5
5
|
require_source,
|
|
6
6
|
require_source_map,
|
|
7
7
|
require_supports_hyperlinks
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2YVW3FGK.js";
|
|
9
9
|
import {
|
|
10
10
|
cwd,
|
|
11
|
+
delimiter,
|
|
11
12
|
dirname,
|
|
12
13
|
joinPath,
|
|
13
14
|
normalizePath,
|
|
14
15
|
relativizePath,
|
|
15
16
|
sniffForPath
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
delimiter
|
|
19
|
-
} from "./chunk-CDBXAE2F.js";
|
|
17
|
+
} from "./chunk-Y2JP6WFP.js";
|
|
20
18
|
import {
|
|
21
19
|
require_graceful_fs
|
|
22
20
|
} from "./chunk-75LV6AQS.js";
|
|
@@ -84,9 +82,9 @@ var require_node_abort_controller = __commonJS({
|
|
|
84
82
|
}
|
|
85
83
|
});
|
|
86
84
|
|
|
87
|
-
// ../../node_modules/.pnpm/react@18.
|
|
85
|
+
// ../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js
|
|
88
86
|
var require_react_production_min = __commonJS({
|
|
89
|
-
"../../node_modules/.pnpm/react@18.
|
|
87
|
+
"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js"(exports) {
|
|
90
88
|
"use strict";
|
|
91
89
|
init_cjs_shims();
|
|
92
90
|
var l = Symbol.for("react.element"), n = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), u = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), z = Symbol.iterator;
|
|
@@ -198,6 +196,9 @@ var require_react_production_min = __commonJS({
|
|
|
198
196
|
throw a._result;
|
|
199
197
|
}
|
|
200
198
|
var U = { current: null }, V = { transition: null }, W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K };
|
|
199
|
+
function X() {
|
|
200
|
+
throw Error("act(...) is not supported in production builds of React.");
|
|
201
|
+
}
|
|
201
202
|
exports.Children = { map: S, forEach: function(a, b, e) {
|
|
202
203
|
S(a, function() {
|
|
203
204
|
b.apply(this, arguments);
|
|
@@ -222,6 +223,7 @@ var require_react_production_min = __commonJS({
|
|
|
222
223
|
exports.StrictMode = q;
|
|
223
224
|
exports.Suspense = w;
|
|
224
225
|
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
|
|
226
|
+
exports.act = X;
|
|
225
227
|
exports.cloneElement = function(a, b, e) {
|
|
226
228
|
if (a == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
|
|
227
229
|
var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
|
|
@@ -268,9 +270,7 @@ var require_react_production_min = __commonJS({
|
|
|
268
270
|
V.transition = b;
|
|
269
271
|
}
|
|
270
272
|
};
|
|
271
|
-
exports.unstable_act =
|
|
272
|
-
throw Error("act(...) is not supported in production builds of React.");
|
|
273
|
-
};
|
|
273
|
+
exports.unstable_act = X;
|
|
274
274
|
exports.useCallback = function(a, b) {
|
|
275
275
|
return U.current.useCallback(a, b);
|
|
276
276
|
};
|
|
@@ -315,19 +315,19 @@ var require_react_production_min = __commonJS({
|
|
|
315
315
|
exports.useTransition = function() {
|
|
316
316
|
return U.current.useTransition();
|
|
317
317
|
};
|
|
318
|
-
exports.version = "18.
|
|
318
|
+
exports.version = "18.3.1";
|
|
319
319
|
}
|
|
320
320
|
});
|
|
321
321
|
|
|
322
|
-
// ../../node_modules/.pnpm/react@18.
|
|
322
|
+
// ../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js
|
|
323
323
|
var require_react_development = __commonJS({
|
|
324
|
-
"../../node_modules/.pnpm/react@18.
|
|
324
|
+
"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js"(exports, module) {
|
|
325
325
|
"use strict";
|
|
326
326
|
init_cjs_shims();
|
|
327
327
|
process.env.NODE_ENV !== "production" && function() {
|
|
328
328
|
"use strict";
|
|
329
329
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
330
|
-
var ReactVersion = "18.
|
|
330
|
+
var ReactVersion = "18.3.1", REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
331
331
|
function getIteratorFn(maybeIterable) {
|
|
332
332
|
if (maybeIterable === null || typeof maybeIterable != "object")
|
|
333
333
|
return null;
|
|
@@ -1577,14 +1577,14 @@ Check the top-level render call using <` + parentName + ">.");
|
|
|
1577
1577
|
toArray,
|
|
1578
1578
|
only: onlyChild
|
|
1579
1579
|
};
|
|
1580
|
-
exports.Children = Children, exports.Component = Component, exports.Fragment = REACT_FRAGMENT_TYPE, exports.Profiler = REACT_PROFILER_TYPE, exports.PureComponent = PureComponent2, exports.StrictMode = REACT_STRICT_MODE_TYPE, exports.Suspense = REACT_SUSPENSE_TYPE, exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals, exports.cloneElement = cloneElement$1, exports.createContext = createContext6, exports.createElement = createElement$1, exports.createFactory = createFactory, exports.createRef = createRef, exports.forwardRef = forwardRef3, exports.isValidElement = isValidElement, exports.lazy = lazy, exports.memo = memo2, exports.startTransition = startTransition, exports.unstable_act = act, exports.useCallback = useCallback10, exports.useContext = useContext9, exports.useDebugValue = useDebugValue, exports.useDeferredValue = useDeferredValue, exports.useEffect = useEffect11, exports.useId = useId, exports.useImperativeHandle = useImperativeHandle, exports.useInsertionEffect = useInsertionEffect, exports.useLayoutEffect = useLayoutEffect6, exports.useMemo = useMemo5, exports.useReducer = useReducer2, exports.useRef = useRef5, exports.useState = useState14, exports.useSyncExternalStore = useSyncExternalStore, exports.useTransition = useTransition, exports.version = ReactVersion, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1580
|
+
exports.Children = Children, exports.Component = Component, exports.Fragment = REACT_FRAGMENT_TYPE, exports.Profiler = REACT_PROFILER_TYPE, exports.PureComponent = PureComponent2, exports.StrictMode = REACT_STRICT_MODE_TYPE, exports.Suspense = REACT_SUSPENSE_TYPE, exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals, exports.act = act, exports.cloneElement = cloneElement$1, exports.createContext = createContext6, exports.createElement = createElement$1, exports.createFactory = createFactory, exports.createRef = createRef, exports.forwardRef = forwardRef3, exports.isValidElement = isValidElement, exports.lazy = lazy, exports.memo = memo2, exports.startTransition = startTransition, exports.unstable_act = act, exports.useCallback = useCallback10, exports.useContext = useContext9, exports.useDebugValue = useDebugValue, exports.useDeferredValue = useDeferredValue, exports.useEffect = useEffect11, exports.useId = useId, exports.useImperativeHandle = useImperativeHandle, exports.useInsertionEffect = useInsertionEffect, exports.useLayoutEffect = useLayoutEffect6, exports.useMemo = useMemo5, exports.useReducer = useReducer2, exports.useRef = useRef5, exports.useState = useState14, exports.useSyncExternalStore = useSyncExternalStore, exports.useTransition = useTransition, exports.version = ReactVersion, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1581
1581
|
}();
|
|
1582
1582
|
}
|
|
1583
1583
|
});
|
|
1584
1584
|
|
|
1585
|
-
// ../../node_modules/.pnpm/react@18.
|
|
1585
|
+
// ../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js
|
|
1586
1586
|
var require_react = __commonJS({
|
|
1587
|
-
"../../node_modules/.pnpm/react@18.
|
|
1587
|
+
"../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"(exports, module) {
|
|
1588
1588
|
"use strict";
|
|
1589
1589
|
init_cjs_shims();
|
|
1590
1590
|
process.env.NODE_ENV === "production" ? module.exports = require_react_production_min() : module.exports = require_react_development();
|
|
@@ -2813,9 +2813,9 @@ var require_scheduler = __commonJS({
|
|
|
2813
2813
|
}
|
|
2814
2814
|
});
|
|
2815
2815
|
|
|
2816
|
-
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
2816
|
+
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler.production.min.js
|
|
2817
2817
|
var require_react_reconciler_production_min = __commonJS({
|
|
2818
|
-
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
2818
|
+
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler.production.min.js"(exports, module) {
|
|
2819
2819
|
init_cjs_shims();
|
|
2820
2820
|
module.exports = function($$$hostConfig) {
|
|
2821
2821
|
var exports2 = {}, aa = require_react(), ba = require_scheduler(), ca = Object.assign;
|
|
@@ -6571,9 +6571,9 @@ No matching component was found for:
|
|
|
6571
6571
|
}
|
|
6572
6572
|
});
|
|
6573
6573
|
|
|
6574
|
-
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
6574
|
+
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler.development.js
|
|
6575
6575
|
var require_react_reconciler_development = __commonJS({
|
|
6576
|
-
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
6576
|
+
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler.development.js"(exports, module) {
|
|
6577
6577
|
"use strict";
|
|
6578
6578
|
init_cjs_shims();
|
|
6579
6579
|
process.env.NODE_ENV !== "production" && (module.exports = function($$$hostConfig) {
|
|
@@ -15770,18 +15770,18 @@ Check the render method of %s.`, getComponentNameFromFiber(current) || "Unknown"
|
|
|
15770
15770
|
}
|
|
15771
15771
|
});
|
|
15772
15772
|
|
|
15773
|
-
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
15773
|
+
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/index.js
|
|
15774
15774
|
var require_react_reconciler = __commonJS({
|
|
15775
|
-
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
15775
|
+
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/index.js"(exports, module) {
|
|
15776
15776
|
"use strict";
|
|
15777
15777
|
init_cjs_shims();
|
|
15778
15778
|
process.env.NODE_ENV === "production" ? module.exports = require_react_reconciler_production_min() : module.exports = require_react_reconciler_development();
|
|
15779
15779
|
}
|
|
15780
15780
|
});
|
|
15781
15781
|
|
|
15782
|
-
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
15782
|
+
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js
|
|
15783
15783
|
var require_react_reconciler_constants_production_min = __commonJS({
|
|
15784
|
-
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
15784
|
+
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js"(exports) {
|
|
15785
15785
|
"use strict";
|
|
15786
15786
|
init_cjs_shims();
|
|
15787
15787
|
exports.ConcurrentRoot = 1;
|
|
@@ -15793,9 +15793,9 @@ var require_react_reconciler_constants_production_min = __commonJS({
|
|
|
15793
15793
|
}
|
|
15794
15794
|
});
|
|
15795
15795
|
|
|
15796
|
-
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
15796
|
+
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js
|
|
15797
15797
|
var require_react_reconciler_constants_development = __commonJS({
|
|
15798
|
-
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
15798
|
+
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js"(exports) {
|
|
15799
15799
|
"use strict";
|
|
15800
15800
|
init_cjs_shims();
|
|
15801
15801
|
process.env.NODE_ENV !== "production" && function() {
|
|
@@ -15818,9 +15818,9 @@ var require_react_reconciler_constants_development = __commonJS({
|
|
|
15818
15818
|
}
|
|
15819
15819
|
});
|
|
15820
15820
|
|
|
15821
|
-
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
15821
|
+
// ../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/constants.js
|
|
15822
15822
|
var require_constants = __commonJS({
|
|
15823
|
-
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.
|
|
15823
|
+
"../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/constants.js"(exports, module) {
|
|
15824
15824
|
"use strict";
|
|
15825
15825
|
init_cjs_shims();
|
|
15826
15826
|
process.env.NODE_ENV === "production" ? module.exports = require_react_reconciler_constants_production_min() : module.exports = require_react_reconciler_constants_development();
|
|
@@ -16244,11 +16244,11 @@ var require_path = __commonJS({
|
|
|
16244
16244
|
return path8.isAbsolute(x) ? path8.normalize(x) : path8.normalize(path8.concat(cwd3, x));
|
|
16245
16245
|
},
|
|
16246
16246
|
normalize(x) {
|
|
16247
|
-
let
|
|
16247
|
+
let output2 = [], skip = 0;
|
|
16248
16248
|
x.split("/").reverse().filter((x2) => x2 !== ".").forEach((x2) => {
|
|
16249
|
-
x2 === ".." ? skip++ : skip === 0 ?
|
|
16249
|
+
x2 === ".." ? skip++ : skip === 0 ? output2.push(x2) : skip--;
|
|
16250
16250
|
});
|
|
16251
|
-
let result =
|
|
16251
|
+
let result = output2.reverse().join("/");
|
|
16252
16252
|
return (isBrowser2 && result[0] === "/" ? result[1] === "/" ? window.location.protocol : window.location.origin : "") + result;
|
|
16253
16253
|
},
|
|
16254
16254
|
isData: (x) => x.indexOf("data:") === 0,
|
|
@@ -18578,7 +18578,7 @@ var require_difference = __commonJS({
|
|
|
18578
18578
|
}
|
|
18579
18579
|
});
|
|
18580
18580
|
|
|
18581
|
-
// ../../node_modules/.pnpm/tslib@2.
|
|
18581
|
+
// ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
18582
18582
|
var tslib_es6_exports = {};
|
|
18583
18583
|
__export(tslib_es6_exports, {
|
|
18584
18584
|
__addDisposableResource: () => __addDisposableResource,
|
|
@@ -18606,6 +18606,7 @@ __export(tslib_es6_exports, {
|
|
|
18606
18606
|
__propKey: () => __propKey,
|
|
18607
18607
|
__read: () => __read,
|
|
18608
18608
|
__rest: () => __rest,
|
|
18609
|
+
__rewriteRelativeImportExtension: () => __rewriteRelativeImportExtension,
|
|
18609
18610
|
__runInitializers: () => __runInitializers,
|
|
18610
18611
|
__setFunctionName: () => __setFunctionName,
|
|
18611
18612
|
__spread: () => __spread,
|
|
@@ -18709,8 +18710,8 @@ function __generator(thisArg, body) {
|
|
|
18709
18710
|
var _2 = { label: 0, sent: function() {
|
|
18710
18711
|
if (t[0] & 1) throw t[1];
|
|
18711
18712
|
return t[1];
|
|
18712
|
-
}, trys: [], ops: [] }, f, y, t, g;
|
|
18713
|
-
return g =
|
|
18713
|
+
}, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
|
|
18714
|
+
return g.next = verb(0), g.throw = verb(1), g.return = verb(2), typeof Symbol == "function" && (g[Symbol.iterator] = function() {
|
|
18714
18715
|
return this;
|
|
18715
18716
|
}), g;
|
|
18716
18717
|
function verb(n) {
|
|
@@ -18818,15 +18819,20 @@ function __await(v) {
|
|
|
18818
18819
|
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
18819
18820
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
18820
18821
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
18821
|
-
return i =
|
|
18822
|
+
return i = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() {
|
|
18822
18823
|
return this;
|
|
18823
18824
|
}, i;
|
|
18824
|
-
function
|
|
18825
|
+
function awaitReturn(f) {
|
|
18826
|
+
return function(v) {
|
|
18827
|
+
return Promise.resolve(v).then(f, reject);
|
|
18828
|
+
};
|
|
18829
|
+
}
|
|
18830
|
+
function verb(n, f) {
|
|
18825
18831
|
g[n] && (i[n] = function(v) {
|
|
18826
18832
|
return new Promise(function(a, b) {
|
|
18827
18833
|
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
18828
18834
|
});
|
|
18829
|
-
});
|
|
18835
|
+
}, f && (i[n] = f(i[n])));
|
|
18830
18836
|
}
|
|
18831
18837
|
function resume(n, v) {
|
|
18832
18838
|
try {
|
|
@@ -18886,7 +18892,7 @@ function __makeTemplateObject(cooked, raw) {
|
|
|
18886
18892
|
function __importStar(mod) {
|
|
18887
18893
|
if (mod && mod.__esModule) return mod;
|
|
18888
18894
|
var result = {};
|
|
18889
|
-
if (mod != null) for (var k
|
|
18895
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) k[i] !== "default" && __createBinding(result, mod, k[i]);
|
|
18890
18896
|
return __setModuleDefault(result, mod), result;
|
|
18891
18897
|
}
|
|
18892
18898
|
function __importDefault(mod) {
|
|
@@ -18910,17 +18916,23 @@ function __classPrivateFieldIn(state, receiver) {
|
|
|
18910
18916
|
function __addDisposableResource(env3, value, async) {
|
|
18911
18917
|
if (value != null) {
|
|
18912
18918
|
if (typeof value != "object" && typeof value != "function") throw new TypeError("Object expected.");
|
|
18913
|
-
var dispose;
|
|
18919
|
+
var dispose, inner;
|
|
18914
18920
|
if (async) {
|
|
18915
18921
|
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
18916
18922
|
dispose = value[Symbol.asyncDispose];
|
|
18917
18923
|
}
|
|
18918
18924
|
if (dispose === void 0) {
|
|
18919
18925
|
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
|
18920
|
-
dispose = value[Symbol.dispose];
|
|
18926
|
+
dispose = value[Symbol.dispose], async && (inner = dispose);
|
|
18921
18927
|
}
|
|
18922
18928
|
if (typeof dispose != "function") throw new TypeError("Object not disposable.");
|
|
18923
|
-
|
|
18929
|
+
inner && (dispose = function() {
|
|
18930
|
+
try {
|
|
18931
|
+
inner.call(this);
|
|
18932
|
+
} catch (e) {
|
|
18933
|
+
return Promise.reject(e);
|
|
18934
|
+
}
|
|
18935
|
+
}), env3.stack.push({ value, dispose, async });
|
|
18924
18936
|
} else async && env3.stack.push({ async: !0 });
|
|
18925
18937
|
return value;
|
|
18926
18938
|
}
|
|
@@ -18928,24 +18940,32 @@ function __disposeResources(env3) {
|
|
|
18928
18940
|
function fail(e) {
|
|
18929
18941
|
env3.error = env3.hasError ? new _SuppressedError(e, env3.error, "An error was suppressed during disposal.") : e, env3.hasError = !0;
|
|
18930
18942
|
}
|
|
18943
|
+
var r, s = 0;
|
|
18931
18944
|
function next() {
|
|
18932
|
-
for (; env3.stack.
|
|
18933
|
-
var rec = env3.stack.pop();
|
|
18945
|
+
for (; r = env3.stack.pop(); )
|
|
18934
18946
|
try {
|
|
18935
|
-
|
|
18936
|
-
if (
|
|
18937
|
-
|
|
18938
|
-
|
|
18947
|
+
if (!r.async && s === 1) return s = 0, env3.stack.push(r), Promise.resolve().then(next);
|
|
18948
|
+
if (r.dispose) {
|
|
18949
|
+
var result = r.dispose.call(r.value);
|
|
18950
|
+
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) {
|
|
18951
|
+
return fail(e), next();
|
|
18952
|
+
});
|
|
18953
|
+
} else s |= 1;
|
|
18939
18954
|
} catch (e) {
|
|
18940
18955
|
fail(e);
|
|
18941
18956
|
}
|
|
18942
|
-
|
|
18957
|
+
if (s === 1) return env3.hasError ? Promise.reject(env3.error) : Promise.resolve();
|
|
18943
18958
|
if (env3.hasError) throw env3.error;
|
|
18944
18959
|
}
|
|
18945
18960
|
return next();
|
|
18946
18961
|
}
|
|
18947
|
-
|
|
18948
|
-
"
|
|
18962
|
+
function __rewriteRelativeImportExtension(path8, preserveJsx) {
|
|
18963
|
+
return typeof path8 == "string" && /^\.\.?\//.test(path8) ? path8.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m, tsx, d, ext2, cm) {
|
|
18964
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext2 || !cm) ? m : d + ext2 + "." + cm.toLowerCase() + "js";
|
|
18965
|
+
}) : path8;
|
|
18966
|
+
}
|
|
18967
|
+
var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys, _SuppressedError, tslib_es6_default, init_tslib_es6 = __esm({
|
|
18968
|
+
"../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs"() {
|
|
18949
18969
|
init_cjs_shims();
|
|
18950
18970
|
extendStatics = function(d, b) {
|
|
18951
18971
|
return extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -18976,6 +18996,12 @@ var extendStatics, __assign, __createBinding, __setModuleDefault, _SuppressedErr
|
|
|
18976
18996
|
Object.defineProperty(o, "default", { enumerable: !0, value: v });
|
|
18977
18997
|
} : function(o, v) {
|
|
18978
18998
|
o.default = v;
|
|
18999
|
+
}, ownKeys = function(o) {
|
|
19000
|
+
return ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
19001
|
+
var ar = [];
|
|
19002
|
+
for (var k in o2) Object.prototype.hasOwnProperty.call(o2, k) && (ar[ar.length] = k);
|
|
19003
|
+
return ar;
|
|
19004
|
+
}, ownKeys(o);
|
|
18979
19005
|
};
|
|
18980
19006
|
_SuppressedError = typeof SuppressedError == "function" ? SuppressedError : function(error, suppressed, message) {
|
|
18981
19007
|
var e = new Error(message);
|
|
@@ -18987,6 +19013,10 @@ var extendStatics, __assign, __createBinding, __setModuleDefault, _SuppressedErr
|
|
|
18987
19013
|
__rest,
|
|
18988
19014
|
__decorate,
|
|
18989
19015
|
__param,
|
|
19016
|
+
__esDecorate,
|
|
19017
|
+
__runInitializers,
|
|
19018
|
+
__propKey,
|
|
19019
|
+
__setFunctionName,
|
|
18990
19020
|
__metadata,
|
|
18991
19021
|
__awaiter,
|
|
18992
19022
|
__generator,
|
|
@@ -19008,7 +19038,8 @@ var extendStatics, __assign, __createBinding, __setModuleDefault, _SuppressedErr
|
|
|
19008
19038
|
__classPrivateFieldSet,
|
|
19009
19039
|
__classPrivateFieldIn,
|
|
19010
19040
|
__addDisposableResource,
|
|
19011
|
-
__disposeResources
|
|
19041
|
+
__disposeResources,
|
|
19042
|
+
__rewriteRelativeImportExtension
|
|
19012
19043
|
};
|
|
19013
19044
|
}
|
|
19014
19045
|
});
|
|
@@ -20718,10 +20749,10 @@ var require_merge_stream = __commonJS({
|
|
|
20718
20749
|
init_cjs_shims();
|
|
20719
20750
|
var { PassThrough: PassThrough2 } = __require("stream");
|
|
20720
20751
|
module.exports = function() {
|
|
20721
|
-
var sources = [],
|
|
20722
|
-
return
|
|
20752
|
+
var sources = [], output2 = new PassThrough2({ objectMode: !0 });
|
|
20753
|
+
return output2.setMaxListeners(0), output2.add = add, output2.isEmpty = isEmpty, output2.on("unpipe", remove2), Array.prototype.slice.call(arguments).forEach(add), output2;
|
|
20723
20754
|
function add(source) {
|
|
20724
|
-
return Array.isArray(source) ? (source.forEach(add), this) : (sources.push(source), source.once("end", remove2.bind(null, source)), source.once("error",
|
|
20755
|
+
return Array.isArray(source) ? (source.forEach(add), this) : (sources.push(source), source.once("end", remove2.bind(null, source)), source.once("error", output2.emit.bind(output2, "error")), source.pipe(output2, { end: !1 }), this);
|
|
20725
20756
|
}
|
|
20726
20757
|
function isEmpty() {
|
|
20727
20758
|
return sources.length == 0;
|
|
@@ -20729,7 +20760,7 @@ var require_merge_stream = __commonJS({
|
|
|
20729
20760
|
function remove2(source) {
|
|
20730
20761
|
sources = sources.filter(function(it) {
|
|
20731
20762
|
return it !== source;
|
|
20732
|
-
}), !sources.length &&
|
|
20763
|
+
}), !sources.length && output2.readable && output2.end();
|
|
20733
20764
|
}
|
|
20734
20765
|
};
|
|
20735
20766
|
}
|
|
@@ -23580,7 +23611,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
23580
23611
|
try {
|
|
23581
23612
|
await getAndSet();
|
|
23582
23613
|
} catch (error) {
|
|
23583
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
23614
|
+
let { sendErrorToBugsnag } = await import("./error-handler-DQ6X5YKA.js");
|
|
23584
23615
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
23585
23616
|
}
|
|
23586
23617
|
}, durationStack = [];
|
|
@@ -23619,15 +23650,15 @@ var coreData = createRuntimeMetadataContainer({ cmd_all_timing_network_ms: 0, cm
|
|
|
23619
23650
|
init_cjs_shims();
|
|
23620
23651
|
var import_react22 = __toESM(require_react(), 1);
|
|
23621
23652
|
|
|
23622
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
23653
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/index.js
|
|
23623
23654
|
init_cjs_shims();
|
|
23624
23655
|
|
|
23625
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
23656
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/render.js
|
|
23626
23657
|
init_cjs_shims();
|
|
23627
23658
|
import { Stream } from "node:stream";
|
|
23628
23659
|
import process12 from "node:process";
|
|
23629
23660
|
|
|
23630
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
23661
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/ink.js
|
|
23631
23662
|
init_cjs_shims();
|
|
23632
23663
|
var import_react10 = __toESM(require_react(), 1), import_throttle = __toESM(require_throttle(), 1);
|
|
23633
23664
|
import process11 from "node:process";
|
|
@@ -23709,7 +23740,7 @@ ansiEscapes.iTerm = {
|
|
|
23709
23740
|
};
|
|
23710
23741
|
var ansi_escapes_default = ansiEscapes;
|
|
23711
23742
|
|
|
23712
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
23743
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/ink.js
|
|
23713
23744
|
var import_is_ci = __toESM(require_is_ci(), 1);
|
|
23714
23745
|
|
|
23715
23746
|
// ../../node_modules/.pnpm/auto-bind@5.0.1/node_modules/auto-bind/index.js
|
|
@@ -23736,7 +23767,7 @@ function autoBind(self2, { include, exclude } = {}) {
|
|
|
23736
23767
|
return self2;
|
|
23737
23768
|
}
|
|
23738
23769
|
|
|
23739
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
23770
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/ink.js
|
|
23740
23771
|
var import_signal_exit2 = __toESM(require_signal_exit(), 1);
|
|
23741
23772
|
|
|
23742
23773
|
// ../../node_modules/.pnpm/patch-console@2.0.0/node_modules/patch-console/dist/index.js
|
|
@@ -24639,15 +24670,15 @@ async function initYoga(t) {
|
|
|
24639
24670
|
// ../../node_modules/.pnpm/yoga-wasm-web@0.3.3/node_modules/yoga-wasm-web/dist/node.js
|
|
24640
24671
|
var Yoga = await initYoga(await E(_(import.meta.url).resolve("./yoga.wasm")));
|
|
24641
24672
|
|
|
24642
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
24673
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/reconciler.js
|
|
24643
24674
|
init_cjs_shims();
|
|
24644
24675
|
var import_react_reconciler = __toESM(require_react_reconciler(), 1), import_constants = __toESM(require_constants(), 1);
|
|
24645
24676
|
import process3 from "node:process";
|
|
24646
24677
|
|
|
24647
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
24678
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/dom.js
|
|
24648
24679
|
init_cjs_shims();
|
|
24649
24680
|
|
|
24650
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
24681
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/measure-text.js
|
|
24651
24682
|
init_cjs_shims();
|
|
24652
24683
|
|
|
24653
24684
|
// ../../node_modules/.pnpm/widest-line@4.0.1/node_modules/widest-line/index.js
|
|
@@ -24659,12 +24690,12 @@ init_cjs_shims();
|
|
|
24659
24690
|
// ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
|
|
24660
24691
|
init_cjs_shims();
|
|
24661
24692
|
|
|
24662
|
-
// ../../node_modules/.pnpm/ansi-regex@6.0
|
|
24693
|
+
// ../../node_modules/.pnpm/ansi-regex@6.1.0/node_modules/ansi-regex/index.js
|
|
24663
24694
|
init_cjs_shims();
|
|
24664
24695
|
function ansiRegex({ onlyFirst = !1 } = {}) {
|
|
24665
24696
|
let pattern = [
|
|
24666
|
-
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)
|
|
24667
|
-
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-
|
|
24697
|
+
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))",
|
|
24698
|
+
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"
|
|
24668
24699
|
].join("|");
|
|
24669
24700
|
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
24670
24701
|
}
|
|
@@ -24715,7 +24746,7 @@ function widestLine(string) {
|
|
|
24715
24746
|
return lineWidth;
|
|
24716
24747
|
}
|
|
24717
24748
|
|
|
24718
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
24749
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/measure-text.js
|
|
24719
24750
|
var cache = {}, measureText = (text) => {
|
|
24720
24751
|
if (text.length === 0)
|
|
24721
24752
|
return {
|
|
@@ -24730,7 +24761,7 @@ var cache = {}, measureText = (text) => {
|
|
|
24730
24761
|
return cache[text] = { width, height }, { width, height };
|
|
24731
24762
|
}, measure_text_default = measureText;
|
|
24732
24763
|
|
|
24733
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
24764
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/wrap-text.js
|
|
24734
24765
|
init_cjs_shims();
|
|
24735
24766
|
|
|
24736
24767
|
// ../../node_modules/.pnpm/wrap-ansi@8.1.0/node_modules/wrap-ansi/index.js
|
|
@@ -24977,7 +25008,7 @@ var astralRegex = /^[\uD800-\uDBFF][\uDC00-\uDFFF]$/, ESCAPES2 = [
|
|
|
24977
25008
|
"\x1B",
|
|
24978
25009
|
"\x9B"
|
|
24979
25010
|
], wrapAnsi2 = (code) => `${ESCAPES2[0]}[${code}m`, checkAnsi = (ansiCodes, isEscapes, endAnsiCode) => {
|
|
24980
|
-
let
|
|
25011
|
+
let output2 = [];
|
|
24981
25012
|
ansiCodes = [...ansiCodes];
|
|
24982
25013
|
for (let ansiCode of ansiCodes) {
|
|
24983
25014
|
let ansiCodeOrigin = ansiCode;
|
|
@@ -24985,21 +25016,21 @@ var astralRegex = /^[\uD800-\uDBFF][\uDC00-\uDFFF]$/, ESCAPES2 = [
|
|
|
24985
25016
|
let item = ansi_styles_default.codes.get(Number.parseInt(ansiCode, 10));
|
|
24986
25017
|
if (item) {
|
|
24987
25018
|
let indexEscape = ansiCodes.indexOf(item.toString());
|
|
24988
|
-
indexEscape === -1 ?
|
|
25019
|
+
indexEscape === -1 ? output2.push(wrapAnsi2(isEscapes ? item : ansiCodeOrigin)) : ansiCodes.splice(indexEscape, 1);
|
|
24989
25020
|
} else if (isEscapes) {
|
|
24990
|
-
|
|
25021
|
+
output2.push(wrapAnsi2(0));
|
|
24991
25022
|
break;
|
|
24992
25023
|
} else
|
|
24993
|
-
|
|
25024
|
+
output2.push(wrapAnsi2(ansiCodeOrigin));
|
|
24994
25025
|
}
|
|
24995
|
-
if (isEscapes && (
|
|
25026
|
+
if (isEscapes && (output2 = output2.filter((element, index) => output2.indexOf(element) === index), endAnsiCode !== void 0)) {
|
|
24996
25027
|
let fistEscapeCode = wrapAnsi2(ansi_styles_default.codes.get(Number.parseInt(endAnsiCode, 10)));
|
|
24997
|
-
|
|
25028
|
+
output2 = output2.reduce((current, next) => next === fistEscapeCode ? [next, ...current] : [...current, next], []);
|
|
24998
25029
|
}
|
|
24999
|
-
return
|
|
25030
|
+
return output2.join("");
|
|
25000
25031
|
};
|
|
25001
25032
|
function sliceAnsi(string, begin, end) {
|
|
25002
|
-
let characters = [...string], ansiCodes = [], stringEnd = typeof end == "number" ? end : characters.length, isInsideEscape = !1, ansiCode, visible = 0,
|
|
25033
|
+
let characters = [...string], ansiCodes = [], stringEnd = typeof end == "number" ? end : characters.length, isInsideEscape = !1, ansiCode, visible = 0, output2 = "";
|
|
25003
25034
|
for (let [index, character] of characters.entries()) {
|
|
25004
25035
|
let leftEscape = !1;
|
|
25005
25036
|
if (ESCAPES2.includes(character)) {
|
|
@@ -25007,15 +25038,15 @@ function sliceAnsi(string, begin, end) {
|
|
|
25007
25038
|
ansiCode = code && code.length > 0 ? code[0] : void 0, visible < stringEnd && (isInsideEscape = !0, ansiCode !== void 0 && ansiCodes.push(ansiCode));
|
|
25008
25039
|
} else isInsideEscape && character === "m" && (isInsideEscape = !1, leftEscape = !0);
|
|
25009
25040
|
if (!isInsideEscape && !leftEscape && visible++, !astralRegex.test(character) && isFullwidthCodePoint(character.codePointAt()) && (visible++, typeof end != "number" && stringEnd++), visible > begin && visible <= stringEnd)
|
|
25010
|
-
|
|
25041
|
+
output2 += character;
|
|
25011
25042
|
else if (visible === begin && !isInsideEscape && ansiCode !== void 0)
|
|
25012
|
-
|
|
25043
|
+
output2 = checkAnsi(ansiCodes);
|
|
25013
25044
|
else if (visible >= stringEnd) {
|
|
25014
|
-
|
|
25045
|
+
output2 += checkAnsi(ansiCodes, !0, ansiCode);
|
|
25015
25046
|
break;
|
|
25016
25047
|
}
|
|
25017
25048
|
}
|
|
25018
|
-
return
|
|
25049
|
+
return output2;
|
|
25019
25050
|
}
|
|
25020
25051
|
|
|
25021
25052
|
// ../../node_modules/.pnpm/cli-truncate@3.1.0/node_modules/cli-truncate/index.js
|
|
@@ -25075,7 +25106,7 @@ function cliTruncate(text, columns, options) {
|
|
|
25075
25106
|
throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${position}`);
|
|
25076
25107
|
}
|
|
25077
25108
|
|
|
25078
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25109
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/wrap-text.js
|
|
25079
25110
|
var cache2 = {}, wrapText = (text, maxWidth, wrapType) => {
|
|
25080
25111
|
let cacheKey = text + String(maxWidth) + String(wrapType), cachedText = cache2[cacheKey];
|
|
25081
25112
|
if (cachedText)
|
|
@@ -25091,7 +25122,7 @@ var cache2 = {}, wrapText = (text, maxWidth, wrapType) => {
|
|
|
25091
25122
|
return cache2[cacheKey] = wrappedText, wrappedText;
|
|
25092
25123
|
}, wrap_text_default = wrapText;
|
|
25093
25124
|
|
|
25094
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25125
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/squash-text-nodes.js
|
|
25095
25126
|
init_cjs_shims();
|
|
25096
25127
|
var squashTextNodes = (node) => {
|
|
25097
25128
|
let text = "";
|
|
@@ -25105,7 +25136,7 @@ var squashTextNodes = (node) => {
|
|
|
25105
25136
|
return text;
|
|
25106
25137
|
}, squash_text_nodes_default = squashTextNodes;
|
|
25107
25138
|
|
|
25108
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25139
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/dom.js
|
|
25109
25140
|
var createNode = (nodeName) => {
|
|
25110
25141
|
let node = {
|
|
25111
25142
|
nodeName,
|
|
@@ -25158,7 +25189,7 @@ var createNode = (nodeName) => {
|
|
|
25158
25189
|
typeof text != "string" && (text = String(text)), node.nodeValue = text, markNodeAsDirty(node);
|
|
25159
25190
|
};
|
|
25160
25191
|
|
|
25161
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25192
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/styles.js
|
|
25162
25193
|
init_cjs_shims();
|
|
25163
25194
|
var applyPositionStyles = (node, style) => {
|
|
25164
25195
|
"position" in style && node.setPositionType(style.position === "absolute" ? Yoga.POSITION_TYPE_ABSOLUTE : Yoga.POSITION_TYPE_RELATIVE);
|
|
@@ -25183,10 +25214,10 @@ var applyPositionStyles = (node, style) => {
|
|
|
25183
25214
|
applyPositionStyles(node, style), applyMarginStyles(node, style), applyPaddingStyles(node, style), applyFlexStyles(node, style), applyDimensionStyles(node, style), applyDisplayStyles(node, style), applyBorderStyles(node, style), applyGapStyles(node, style);
|
|
25184
25215
|
}, styles_default = styles2;
|
|
25185
25216
|
|
|
25186
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25217
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/reconciler.js
|
|
25187
25218
|
if (process3.env.DEV === "true")
|
|
25188
25219
|
try {
|
|
25189
|
-
await import("./devtools-
|
|
25220
|
+
await import("./devtools-LDCSRUXB.js");
|
|
25190
25221
|
} catch (error) {
|
|
25191
25222
|
if (error.code === "MODULE_NOT_FOUND")
|
|
25192
25223
|
console.warn(`
|
|
@@ -25334,10 +25365,10 @@ var diff = (before, after) => {
|
|
|
25334
25365
|
}
|
|
25335
25366
|
});
|
|
25336
25367
|
|
|
25337
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25368
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/renderer.js
|
|
25338
25369
|
init_cjs_shims();
|
|
25339
25370
|
|
|
25340
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25371
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/render-node-to-output.js
|
|
25341
25372
|
init_cjs_shims();
|
|
25342
25373
|
|
|
25343
25374
|
// ../../node_modules/.pnpm/indent-string@5.0.0/node_modules/indent-string/index.js
|
|
@@ -25369,11 +25400,11 @@ function indentString(string, count = 1, options = {}) {
|
|
|
25369
25400
|
return string.replace(regex2, indent.repeat(count));
|
|
25370
25401
|
}
|
|
25371
25402
|
|
|
25372
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25403
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/get-max-width.js
|
|
25373
25404
|
init_cjs_shims();
|
|
25374
25405
|
var getMaxWidth = (yogaNode) => yogaNode.getComputedWidth() - yogaNode.getComputedPadding(Yoga.EDGE_LEFT) - yogaNode.getComputedPadding(Yoga.EDGE_RIGHT) - yogaNode.getComputedBorder(Yoga.EDGE_LEFT) - yogaNode.getComputedBorder(Yoga.EDGE_RIGHT), get_max_width_default = getMaxWidth;
|
|
25375
25406
|
|
|
25376
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25407
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/render-border.js
|
|
25377
25408
|
init_cjs_shims();
|
|
25378
25409
|
var import_cli_boxes = __toESM(require_cli_boxes(), 1);
|
|
25379
25410
|
|
|
@@ -25717,7 +25748,7 @@ Object.defineProperties(createChalk.prototype, styles4);
|
|
|
25717
25748
|
var chalk = createChalk(), chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
25718
25749
|
var source_default = chalk;
|
|
25719
25750
|
|
|
25720
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25751
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/colorize.js
|
|
25721
25752
|
init_cjs_shims();
|
|
25722
25753
|
var rgbRegex = /^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/, ansiRegex2 = /^ansi256\(\s?(\d+)\s?\)$/, isNamedColor = (color) => color in source_default, colorize = (str, color, type) => {
|
|
25723
25754
|
if (!color)
|
|
@@ -25747,8 +25778,8 @@ var rgbRegex = /^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/, ansiRegex2 = /^ansi256\
|
|
|
25747
25778
|
return str;
|
|
25748
25779
|
}, colorize_default = colorize;
|
|
25749
25780
|
|
|
25750
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25751
|
-
var renderBorder = (x, y, node,
|
|
25781
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/render-border.js
|
|
25782
|
+
var renderBorder = (x, y, node, output2) => {
|
|
25752
25783
|
if (node.style.borderStyle) {
|
|
25753
25784
|
let width = node.yogaNode.getComputedWidth(), height = node.yogaNode.getComputedHeight(), box = typeof node.style.borderStyle == "string" ? import_cli_boxes.default[node.style.borderStyle] : node.style.borderStyle, topBorderColor = node.style.borderTopColor ?? node.style.borderColor, bottomBorderColor = node.style.borderBottomColor ?? node.style.borderColor, leftBorderColor = node.style.borderLeftColor ?? node.style.borderColor, rightBorderColor = node.style.borderRightColor ?? node.style.borderColor, dimTopBorderColor = node.style.borderTopDimColor ?? node.style.borderDimColor, dimBottomBorderColor = node.style.borderBottomDimColor ?? node.style.borderDimColor, dimLeftBorderColor = node.style.borderLeftDimColor ?? node.style.borderDimColor, dimRightBorderColor = node.style.borderRightDimColor ?? node.style.borderDimColor, showTopBorder = node.style.borderTop !== !1, showBottomBorder = node.style.borderBottom !== !1, showLeftBorder = node.style.borderLeft !== !1, showRightBorder = node.style.borderRight !== !1, contentWidth = width - (showLeftBorder ? 1 : 0) - (showRightBorder ? 1 : 0), topBorder = showTopBorder ? colorize_default((showLeftBorder ? box.topLeft : "") + box.top.repeat(contentWidth) + (showRightBorder ? box.topRight : ""), topBorderColor, "foreground") : void 0;
|
|
25754
25785
|
showTopBorder && dimTopBorderColor && (topBorder = source_default.dim(topBorder));
|
|
@@ -25763,13 +25794,13 @@ var renderBorder = (x, y, node, output) => {
|
|
|
25763
25794
|
let bottomBorder = showBottomBorder ? colorize_default((showLeftBorder ? box.bottomLeft : "") + box.bottom.repeat(contentWidth) + (showRightBorder ? box.bottomRight : ""), bottomBorderColor, "foreground") : void 0;
|
|
25764
25795
|
showBottomBorder && dimBottomBorderColor && (bottomBorder = source_default.dim(bottomBorder));
|
|
25765
25796
|
let offsetY = showTopBorder ? 1 : 0;
|
|
25766
|
-
topBorder &&
|
|
25797
|
+
topBorder && output2.write(x, y, topBorder, { transformers: [] }), showLeftBorder && output2.write(x, y + offsetY, leftBorder, { transformers: [] }), showRightBorder && output2.write(x + width - 1, y + offsetY, rightBorder, {
|
|
25767
25798
|
transformers: []
|
|
25768
|
-
}), bottomBorder &&
|
|
25799
|
+
}), bottomBorder && output2.write(x, y + height - 1, bottomBorder, { transformers: [] });
|
|
25769
25800
|
}
|
|
25770
25801
|
}, render_border_default = renderBorder;
|
|
25771
25802
|
|
|
25772
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25803
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/render-node-to-output.js
|
|
25773
25804
|
var applyPaddingToText = (node, text) => {
|
|
25774
25805
|
let yogaNode = node.childNodes[0]?.yogaNode;
|
|
25775
25806
|
if (yogaNode) {
|
|
@@ -25778,7 +25809,7 @@ var applyPaddingToText = (node, text) => {
|
|
|
25778
25809
|
`.repeat(offsetY) + indentString(text, offsetX);
|
|
25779
25810
|
}
|
|
25780
25811
|
return text;
|
|
25781
|
-
}, renderNodeToOutput = (node,
|
|
25812
|
+
}, renderNodeToOutput = (node, output2, options) => {
|
|
25782
25813
|
let { offsetX = 0, offsetY = 0, transformers = [], skipStaticElements } = options;
|
|
25783
25814
|
if (skipStaticElements && node.internal_static)
|
|
25784
25815
|
return;
|
|
@@ -25795,33 +25826,33 @@ var applyPaddingToText = (node, text) => {
|
|
|
25795
25826
|
let textWrap = node.style.textWrap ?? "wrap";
|
|
25796
25827
|
text = wrap_text_default(text, maxWidth, textWrap);
|
|
25797
25828
|
}
|
|
25798
|
-
text = applyPaddingToText(node, text),
|
|
25829
|
+
text = applyPaddingToText(node, text), output2.write(x, y, text, { transformers: newTransformers });
|
|
25799
25830
|
}
|
|
25800
25831
|
return;
|
|
25801
25832
|
}
|
|
25802
25833
|
let clipped = !1;
|
|
25803
25834
|
if (node.nodeName === "ink-box") {
|
|
25804
|
-
render_border_default(x, y, node,
|
|
25835
|
+
render_border_default(x, y, node, output2);
|
|
25805
25836
|
let clipHorizontally = node.style.overflowX === "hidden" || node.style.overflow === "hidden", clipVertically = node.style.overflowY === "hidden" || node.style.overflow === "hidden";
|
|
25806
25837
|
if (clipHorizontally || clipVertically) {
|
|
25807
25838
|
let x1 = clipHorizontally ? x + yogaNode.getComputedBorder(Yoga.EDGE_LEFT) : void 0, x2 = clipHorizontally ? x + yogaNode.getComputedWidth() - yogaNode.getComputedBorder(Yoga.EDGE_RIGHT) : void 0, y1 = clipVertically ? y + yogaNode.getComputedBorder(Yoga.EDGE_TOP) : void 0, y2 = clipVertically ? y + yogaNode.getComputedHeight() - yogaNode.getComputedBorder(Yoga.EDGE_BOTTOM) : void 0;
|
|
25808
|
-
|
|
25839
|
+
output2.clip({ x1, x2, y1, y2 }), clipped = !0;
|
|
25809
25840
|
}
|
|
25810
25841
|
}
|
|
25811
25842
|
if (node.nodeName === "ink-root" || node.nodeName === "ink-box") {
|
|
25812
25843
|
for (let childNode of node.childNodes)
|
|
25813
|
-
renderNodeToOutput(childNode,
|
|
25844
|
+
renderNodeToOutput(childNode, output2, {
|
|
25814
25845
|
offsetX: x,
|
|
25815
25846
|
offsetY: y,
|
|
25816
25847
|
transformers: newTransformers,
|
|
25817
25848
|
skipStaticElements
|
|
25818
25849
|
});
|
|
25819
|
-
clipped &&
|
|
25850
|
+
clipped && output2.unclip();
|
|
25820
25851
|
}
|
|
25821
25852
|
}
|
|
25822
25853
|
}, render_node_to_output_default = renderNodeToOutput;
|
|
25823
25854
|
|
|
25824
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
25855
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/output.js
|
|
25825
25856
|
init_cjs_shims();
|
|
25826
25857
|
|
|
25827
25858
|
// ../../node_modules/.pnpm/slice-ansi@6.0.0/node_modules/slice-ansi/index.js
|
|
@@ -26033,7 +26064,7 @@ function tokenize2(str, endChar = Number.POSITIVE_INFINITY) {
|
|
|
26033
26064
|
return ret;
|
|
26034
26065
|
}
|
|
26035
26066
|
|
|
26036
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26067
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/output.js
|
|
26037
26068
|
var Output = class {
|
|
26038
26069
|
constructor(options) {
|
|
26039
26070
|
Object.defineProperty(this, "width", {
|
|
@@ -26077,7 +26108,7 @@ var Output = class {
|
|
|
26077
26108
|
});
|
|
26078
26109
|
}
|
|
26079
26110
|
get() {
|
|
26080
|
-
let
|
|
26111
|
+
let output2 = [];
|
|
26081
26112
|
for (let y = 0; y < this.height; y++) {
|
|
26082
26113
|
let row = [];
|
|
26083
26114
|
for (let x = 0; x < this.width; x++)
|
|
@@ -26087,7 +26118,7 @@ var Output = class {
|
|
|
26087
26118
|
fullWidth: !1,
|
|
26088
26119
|
styles: []
|
|
26089
26120
|
});
|
|
26090
|
-
|
|
26121
|
+
output2.push(row);
|
|
26091
26122
|
}
|
|
26092
26123
|
let clips = [];
|
|
26093
26124
|
for (let operation of this.operations)
|
|
@@ -26116,7 +26147,7 @@ var Output = class {
|
|
|
26116
26147
|
}
|
|
26117
26148
|
let offsetY = 0;
|
|
26118
26149
|
for (let [index, line] of lines.entries()) {
|
|
26119
|
-
let currentLine =
|
|
26150
|
+
let currentLine = output2[y + offsetY];
|
|
26120
26151
|
if (!currentLine)
|
|
26121
26152
|
continue;
|
|
26122
26153
|
for (let transformer of transformers)
|
|
@@ -26136,24 +26167,24 @@ var Output = class {
|
|
|
26136
26167
|
}
|
|
26137
26168
|
}
|
|
26138
26169
|
return {
|
|
26139
|
-
output:
|
|
26170
|
+
output: output2.map((line) => {
|
|
26140
26171
|
let lineWithoutEmptyItems = line.filter((item) => item !== void 0);
|
|
26141
26172
|
return styledCharsToString(lineWithoutEmptyItems).trimEnd();
|
|
26142
26173
|
}).join(`
|
|
26143
26174
|
`),
|
|
26144
|
-
height:
|
|
26175
|
+
height: output2.length
|
|
26145
26176
|
};
|
|
26146
26177
|
}
|
|
26147
26178
|
};
|
|
26148
26179
|
|
|
26149
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26180
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/renderer.js
|
|
26150
26181
|
var renderer = (node) => {
|
|
26151
26182
|
if (node.yogaNode) {
|
|
26152
|
-
let
|
|
26183
|
+
let output2 = new Output({
|
|
26153
26184
|
width: node.yogaNode.getComputedWidth(),
|
|
26154
26185
|
height: node.yogaNode.getComputedHeight()
|
|
26155
26186
|
});
|
|
26156
|
-
render_node_to_output_default(node,
|
|
26187
|
+
render_node_to_output_default(node, output2, { skipStaticElements: !0 });
|
|
26157
26188
|
let staticOutput;
|
|
26158
26189
|
node.staticNode?.yogaNode && (staticOutput = new Output({
|
|
26159
26190
|
width: node.staticNode.yogaNode.getComputedWidth(),
|
|
@@ -26161,7 +26192,7 @@ var renderer = (node) => {
|
|
|
26161
26192
|
}), render_node_to_output_default(node.staticNode, staticOutput, {
|
|
26162
26193
|
skipStaticElements: !1
|
|
26163
26194
|
}));
|
|
26164
|
-
let { output: generatedOutput, height: outputHeight } =
|
|
26195
|
+
let { output: generatedOutput, height: outputHeight } = output2.get();
|
|
26165
26196
|
return {
|
|
26166
26197
|
output: generatedOutput,
|
|
26167
26198
|
outputHeight,
|
|
@@ -26178,7 +26209,7 @@ var renderer = (node) => {
|
|
|
26178
26209
|
};
|
|
26179
26210
|
}, renderer_default = renderer;
|
|
26180
26211
|
|
|
26181
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26212
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/log-update.js
|
|
26182
26213
|
init_cjs_shims();
|
|
26183
26214
|
|
|
26184
26215
|
// ../../node_modules/.pnpm/cli-cursor@4.0.0/node_modules/cli-cursor/index.js
|
|
@@ -26208,13 +26239,13 @@ cliCursor.toggle = (force, writableStream) => {
|
|
|
26208
26239
|
};
|
|
26209
26240
|
var cli_cursor_default = cliCursor;
|
|
26210
26241
|
|
|
26211
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26242
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/log-update.js
|
|
26212
26243
|
var create = (stream2, { showCursor = !1 } = {}) => {
|
|
26213
26244
|
let previousLineCount = 0, previousOutput = "", hasHiddenCursor = !1, render3 = (str) => {
|
|
26214
26245
|
!showCursor && !hasHiddenCursor && (cli_cursor_default.hide(), hasHiddenCursor = !0);
|
|
26215
|
-
let
|
|
26246
|
+
let output2 = str + `
|
|
26216
26247
|
`;
|
|
26217
|
-
|
|
26248
|
+
output2 !== previousOutput && (previousOutput = output2, stream2.write(ansi_escapes_default.eraseLines(previousLineCount) + output2), previousLineCount = output2.split(`
|
|
26218
26249
|
`).length);
|
|
26219
26250
|
};
|
|
26220
26251
|
return render3.clear = () => {
|
|
@@ -26224,17 +26255,17 @@ var create = (stream2, { showCursor = !1 } = {}) => {
|
|
|
26224
26255
|
}, render3;
|
|
26225
26256
|
}, logUpdate = { create }, log_update_default = logUpdate;
|
|
26226
26257
|
|
|
26227
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26258
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/instances.js
|
|
26228
26259
|
init_cjs_shims();
|
|
26229
26260
|
var instances = /* @__PURE__ */ new WeakMap(), instances_default = instances;
|
|
26230
26261
|
|
|
26231
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26262
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/App.js
|
|
26232
26263
|
init_cjs_shims();
|
|
26233
26264
|
var import_react9 = __toESM(require_react(), 1);
|
|
26234
26265
|
import { EventEmitter as EventEmitter2 } from "node:events";
|
|
26235
26266
|
import process10 from "node:process";
|
|
26236
26267
|
|
|
26237
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26268
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/AppContext.js
|
|
26238
26269
|
init_cjs_shims();
|
|
26239
26270
|
var import_react = __toESM(require_react(), 1), AppContext = (0, import_react.createContext)({
|
|
26240
26271
|
exit() {
|
|
@@ -26243,7 +26274,7 @@ var import_react = __toESM(require_react(), 1), AppContext = (0, import_react.cr
|
|
|
26243
26274
|
AppContext.displayName = "InternalAppContext";
|
|
26244
26275
|
var AppContext_default = AppContext;
|
|
26245
26276
|
|
|
26246
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26277
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/StdinContext.js
|
|
26247
26278
|
init_cjs_shims();
|
|
26248
26279
|
var import_react2 = __toESM(require_react(), 1);
|
|
26249
26280
|
import { EventEmitter } from "node:events";
|
|
@@ -26261,7 +26292,7 @@ var StdinContext = (0, import_react2.createContext)({
|
|
|
26261
26292
|
StdinContext.displayName = "InternalStdinContext";
|
|
26262
26293
|
var StdinContext_default = StdinContext;
|
|
26263
26294
|
|
|
26264
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26295
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/StdoutContext.js
|
|
26265
26296
|
init_cjs_shims();
|
|
26266
26297
|
var import_react3 = __toESM(require_react(), 1);
|
|
26267
26298
|
import process8 from "node:process";
|
|
@@ -26273,7 +26304,7 @@ var StdoutContext = (0, import_react3.createContext)({
|
|
|
26273
26304
|
StdoutContext.displayName = "InternalStdoutContext";
|
|
26274
26305
|
var StdoutContext_default = StdoutContext;
|
|
26275
26306
|
|
|
26276
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26307
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/StderrContext.js
|
|
26277
26308
|
init_cjs_shims();
|
|
26278
26309
|
var import_react4 = __toESM(require_react(), 1);
|
|
26279
26310
|
import process9 from "node:process";
|
|
@@ -26285,7 +26316,7 @@ var StderrContext = (0, import_react4.createContext)({
|
|
|
26285
26316
|
StderrContext.displayName = "InternalStderrContext";
|
|
26286
26317
|
var StderrContext_default = StderrContext;
|
|
26287
26318
|
|
|
26288
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26319
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/FocusContext.js
|
|
26289
26320
|
init_cjs_shims();
|
|
26290
26321
|
var import_react5 = __toESM(require_react(), 1), FocusContext = (0, import_react5.createContext)({
|
|
26291
26322
|
activeId: void 0,
|
|
@@ -26311,7 +26342,7 @@ var import_react5 = __toESM(require_react(), 1), FocusContext = (0, import_react
|
|
|
26311
26342
|
FocusContext.displayName = "InternalFocusContext";
|
|
26312
26343
|
var FocusContext_default = FocusContext;
|
|
26313
26344
|
|
|
26314
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26345
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/ErrorOverview.js
|
|
26315
26346
|
init_cjs_shims();
|
|
26316
26347
|
var import_react8 = __toESM(require_react(), 1), import_stack_utils = __toESM(require_stack_utils(), 1);
|
|
26317
26348
|
import * as fs from "node:fs";
|
|
@@ -26341,7 +26372,7 @@ var generateLineNumbers = (line, around) => {
|
|
|
26341
26372
|
return generateLineNumbers(line, (_a = options.around) !== null && _a !== void 0 ? _a : 3).filter((line2) => lines[line2 - 1] !== void 0).map((line2) => ({ line: line2, value: lines[line2 - 1] }));
|
|
26342
26373
|
}, dist_default3 = codeExcerpt;
|
|
26343
26374
|
|
|
26344
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26375
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/Box.js
|
|
26345
26376
|
init_cjs_shims();
|
|
26346
26377
|
var import_react6 = __toESM(require_react(), 1), Box = (0, import_react6.forwardRef)(({ children, ...style }, ref) => import_react6.default.createElement("ink-box", { ref, style: {
|
|
26347
26378
|
...style,
|
|
@@ -26357,7 +26388,7 @@ Box.defaultProps = {
|
|
|
26357
26388
|
};
|
|
26358
26389
|
var Box_default = Box;
|
|
26359
26390
|
|
|
26360
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26391
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/Text.js
|
|
26361
26392
|
init_cjs_shims();
|
|
26362
26393
|
var import_react7 = __toESM(require_react(), 1);
|
|
26363
26394
|
function Text({ color, backgroundColor, dimColor = !1, bold = !1, italic = !1, underline = !1, strikethrough = !1, inverse = !1, wrap = "wrap", children }) {
|
|
@@ -26367,7 +26398,7 @@ function Text({ color, backgroundColor, dimColor = !1, bold = !1, italic = !1, u
|
|
|
26367
26398
|
return import_react7.default.createElement("ink-text", { style: { flexGrow: 0, flexShrink: 1, flexDirection: "row", textWrap: wrap }, internal_transform: transform }, children);
|
|
26368
26399
|
}
|
|
26369
26400
|
|
|
26370
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26401
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/ErrorOverview.js
|
|
26371
26402
|
var cleanupPath = (path8) => path8?.replace(`file://${cwd2()}/`, ""), stackUtils = new import_stack_utils.default({
|
|
26372
26403
|
cwd: cwd2(),
|
|
26373
26404
|
internals: import_stack_utils.default.nodeInternals()
|
|
@@ -26459,7 +26490,7 @@ function ErrorOverview({ error }) {
|
|
|
26459
26490
|
);
|
|
26460
26491
|
}
|
|
26461
26492
|
|
|
26462
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26493
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/App.js
|
|
26463
26494
|
var tab = " ", shiftTab = "\x1B[Z", escape = "\x1B", App = class extends import_react9.PureComponent {
|
|
26464
26495
|
constructor() {
|
|
26465
26496
|
super(...arguments), Object.defineProperty(this, "state", {
|
|
@@ -26741,7 +26772,7 @@ Object.defineProperty(App, "displayName", {
|
|
|
26741
26772
|
value: "InternalApp"
|
|
26742
26773
|
});
|
|
26743
26774
|
|
|
26744
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26775
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/ink.js
|
|
26745
26776
|
var isCi = process11.env.CI === "false" ? !1 : import_is_ci.default, noop = () => {
|
|
26746
26777
|
}, Ink = class {
|
|
26747
26778
|
constructor(options) {
|
|
@@ -26840,21 +26871,21 @@ var isCi = process11.env.CI === "false" ? !1 : import_is_ci.default, noop = () =
|
|
|
26840
26871
|
value: () => {
|
|
26841
26872
|
if (this.isUnmounted)
|
|
26842
26873
|
return;
|
|
26843
|
-
let { output, outputHeight, staticOutput } = renderer_default(this.rootNode), hasStaticOutput = staticOutput && staticOutput !== `
|
|
26874
|
+
let { output: output2, outputHeight, staticOutput } = renderer_default(this.rootNode), hasStaticOutput = staticOutput && staticOutput !== `
|
|
26844
26875
|
`;
|
|
26845
26876
|
if (this.options.debug) {
|
|
26846
|
-
hasStaticOutput && (this.fullStaticOutput += staticOutput), this.options.stdout.write(this.fullStaticOutput +
|
|
26877
|
+
hasStaticOutput && (this.fullStaticOutput += staticOutput), this.options.stdout.write(this.fullStaticOutput + output2);
|
|
26847
26878
|
return;
|
|
26848
26879
|
}
|
|
26849
26880
|
if (isCi) {
|
|
26850
|
-
hasStaticOutput && this.options.stdout.write(staticOutput), this.lastOutput =
|
|
26881
|
+
hasStaticOutput && this.options.stdout.write(staticOutput), this.lastOutput = output2;
|
|
26851
26882
|
return;
|
|
26852
26883
|
}
|
|
26853
26884
|
if (hasStaticOutput && (this.fullStaticOutput += staticOutput), outputHeight >= this.options.stdout.rows) {
|
|
26854
|
-
this.options.stdout.write(ansi_escapes_default.clearTerminal + this.fullStaticOutput +
|
|
26885
|
+
this.options.stdout.write(ansi_escapes_default.clearTerminal + this.fullStaticOutput + output2), this.lastOutput = output2;
|
|
26855
26886
|
return;
|
|
26856
26887
|
}
|
|
26857
|
-
hasStaticOutput && (this.log.clear(), this.options.stdout.write(staticOutput), this.log(
|
|
26888
|
+
hasStaticOutput && (this.log.clear(), this.options.stdout.write(staticOutput), this.log(output2)), !hasStaticOutput && output2 !== this.lastOutput && this.throttledLog(output2), this.lastOutput = output2;
|
|
26858
26889
|
}
|
|
26859
26890
|
}), autoBind(this), this.options = options, this.rootNode = createNode("ink-root"), this.rootNode.onComputeLayout = this.calculateLayout, this.rootNode.onRender = options.debug ? this.onRender : (0, import_throttle.default)(this.onRender, 32, {
|
|
26860
26891
|
leading: !0,
|
|
@@ -26933,7 +26964,7 @@ var isCi = process11.env.CI === "false" ? !1 : import_is_ci.default, noop = () =
|
|
|
26933
26964
|
}
|
|
26934
26965
|
};
|
|
26935
26966
|
|
|
26936
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26967
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/render.js
|
|
26937
26968
|
var render = (node, options) => {
|
|
26938
26969
|
let inkOptions = {
|
|
26939
26970
|
stdout: process12.stdout,
|
|
@@ -26961,7 +26992,7 @@ var render = (node, options) => {
|
|
|
26961
26992
|
return instance2 || (instance2 = createInstance(), instances_default.set(stdout, instance2)), instance2;
|
|
26962
26993
|
};
|
|
26963
26994
|
|
|
26964
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
26995
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/Static.js
|
|
26965
26996
|
init_cjs_shims();
|
|
26966
26997
|
var import_react11 = __toESM(require_react(), 1);
|
|
26967
26998
|
function Static(props) {
|
|
@@ -26977,23 +27008,23 @@ function Static(props) {
|
|
|
26977
27008
|
return import_react11.default.createElement("ink-box", { internal_static: !0, style }, children);
|
|
26978
27009
|
}
|
|
26979
27010
|
|
|
26980
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27011
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/Transform.js
|
|
26981
27012
|
init_cjs_shims();
|
|
26982
27013
|
var import_react12 = __toESM(require_react(), 1);
|
|
26983
27014
|
|
|
26984
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27015
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/Newline.js
|
|
26985
27016
|
init_cjs_shims();
|
|
26986
27017
|
var import_react13 = __toESM(require_react(), 1);
|
|
26987
27018
|
|
|
26988
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27019
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/components/Spacer.js
|
|
26989
27020
|
init_cjs_shims();
|
|
26990
27021
|
var import_react14 = __toESM(require_react(), 1);
|
|
26991
27022
|
|
|
26992
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27023
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/hooks/use-input.js
|
|
26993
27024
|
init_cjs_shims();
|
|
26994
27025
|
var import_react16 = __toESM(require_react(), 1), import_is_upper_case = __toESM(require_dist(), 1);
|
|
26995
27026
|
|
|
26996
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27027
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/parse-keypress.js
|
|
26997
27028
|
init_cjs_shims();
|
|
26998
27029
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
26999
27030
|
var metaKeyCodeRe = /^(?:\x1b)([a-zA-Z0-9])$/, fnKeyRe = /^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/, keyName = {
|
|
@@ -27147,12 +27178,12 @@ var metaKeyCodeRe = /^(?:\x1b)([a-zA-Z0-9])$/, fnKeyRe = /^(?:\x1b+)(O|N|\[|\[\[
|
|
|
27147
27178
|
return key;
|
|
27148
27179
|
}, parse_keypress_default = parseKeypress;
|
|
27149
27180
|
|
|
27150
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27181
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/hooks/use-stdin.js
|
|
27151
27182
|
init_cjs_shims();
|
|
27152
27183
|
var import_react15 = __toESM(require_react(), 1);
|
|
27153
27184
|
var useStdin = () => (0, import_react15.useContext)(StdinContext_default), use_stdin_default = useStdin;
|
|
27154
27185
|
|
|
27155
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27186
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/hooks/use-input.js
|
|
27156
27187
|
var useInput = (inputHandler, options = {}) => {
|
|
27157
27188
|
let { stdin, setRawMode, internal_exitOnCtrlC, internal_eventEmitter } = use_stdin_default();
|
|
27158
27189
|
(0, import_react16.useEffect)(() => {
|
|
@@ -27194,29 +27225,29 @@ var useInput = (inputHandler, options = {}) => {
|
|
|
27194
27225
|
}, [options.isActive, stdin, internal_exitOnCtrlC, inputHandler]);
|
|
27195
27226
|
}, use_input_default = useInput;
|
|
27196
27227
|
|
|
27197
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27228
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/hooks/use-app.js
|
|
27198
27229
|
init_cjs_shims();
|
|
27199
27230
|
var import_react17 = __toESM(require_react(), 1);
|
|
27200
27231
|
var useApp = () => (0, import_react17.useContext)(AppContext_default), use_app_default = useApp;
|
|
27201
27232
|
|
|
27202
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27233
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/hooks/use-stdout.js
|
|
27203
27234
|
init_cjs_shims();
|
|
27204
27235
|
var import_react18 = __toESM(require_react(), 1);
|
|
27205
27236
|
var useStdout = () => (0, import_react18.useContext)(StdoutContext_default), use_stdout_default = useStdout;
|
|
27206
27237
|
|
|
27207
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27238
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/hooks/use-stderr.js
|
|
27208
27239
|
init_cjs_shims();
|
|
27209
27240
|
var import_react19 = __toESM(require_react(), 1);
|
|
27210
27241
|
|
|
27211
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27242
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/hooks/use-focus.js
|
|
27212
27243
|
init_cjs_shims();
|
|
27213
27244
|
var import_react20 = __toESM(require_react(), 1);
|
|
27214
27245
|
|
|
27215
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27246
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/hooks/use-focus-manager.js
|
|
27216
27247
|
init_cjs_shims();
|
|
27217
27248
|
var import_react21 = __toESM(require_react(), 1);
|
|
27218
27249
|
|
|
27219
|
-
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.
|
|
27250
|
+
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/measure-element.js
|
|
27220
27251
|
init_cjs_shims();
|
|
27221
27252
|
var measureElement = (node) => ({
|
|
27222
27253
|
width: node.yogaNode?.getComputedWidth() ?? 0,
|
|
@@ -27596,6 +27627,25 @@ var ConcurrentOutput = ({ processes, prefixColumnSize, abortSignal, showTimestam
|
|
|
27596
27627
|
// ../cli-kit/dist/private/node/ui.js
|
|
27597
27628
|
init_cjs_shims();
|
|
27598
27629
|
|
|
27630
|
+
// ../cli-kit/dist/private/node/output.js
|
|
27631
|
+
init_cjs_shims();
|
|
27632
|
+
function withOrWithoutStyle(message) {
|
|
27633
|
+
return shouldDisplayColors() ? message : unstyled(message);
|
|
27634
|
+
}
|
|
27635
|
+
function consoleLog(message) {
|
|
27636
|
+
process.stdout.write(`${withOrWithoutStyle(message)}
|
|
27637
|
+
`);
|
|
27638
|
+
}
|
|
27639
|
+
function consoleWarn(message) {
|
|
27640
|
+
process.stderr.write(`${withOrWithoutStyle(message)}
|
|
27641
|
+
`);
|
|
27642
|
+
}
|
|
27643
|
+
function output(content, logLevel = "info", logger = consoleWarn) {
|
|
27644
|
+
isUnitTest() && collectLog(logLevel, content);
|
|
27645
|
+
let message = stringifyMessage(content);
|
|
27646
|
+
outputWhereAppropriate(logLevel, logger, message);
|
|
27647
|
+
}
|
|
27648
|
+
|
|
27599
27649
|
// ../cli-kit/dist/public/node/tree-kill.js
|
|
27600
27650
|
init_cjs_shims();
|
|
27601
27651
|
import { exec as exec2, spawn } from "child_process";
|
|
@@ -27689,9 +27739,9 @@ function buildProcessTree(parentPid, tree, pidsToProcess, spawnChildProcessesLis
|
|
|
27689
27739
|
|
|
27690
27740
|
// ../cli-kit/dist/private/node/ui.js
|
|
27691
27741
|
import { EventEmitter as EventEmitter3 } from "events";
|
|
27692
|
-
function renderOnce(element, { logLevel = "info",
|
|
27693
|
-
let { output, unmount } = renderString(element, renderOptions);
|
|
27694
|
-
return
|
|
27742
|
+
function renderOnce(element, { logLevel = "info", renderOptions }) {
|
|
27743
|
+
let { output: renderedString, unmount } = renderString(element, renderOptions);
|
|
27744
|
+
return renderedString && output(renderedString, logLevel), unmount(), renderedString;
|
|
27695
27745
|
}
|
|
27696
27746
|
async function render2(element, options) {
|
|
27697
27747
|
let { waitUntilExit } = render_default(element, options);
|
|
@@ -28017,15 +28067,10 @@ var import_react35 = __toESM(require_react(), 1), typeToLogLevel = {
|
|
|
28017
28067
|
warning: "warn",
|
|
28018
28068
|
success: "info",
|
|
28019
28069
|
error: "error"
|
|
28020
|
-
}, typeToLogger = {
|
|
28021
|
-
info: consoleLog,
|
|
28022
|
-
warning: consoleWarn,
|
|
28023
|
-
success: consoleLog,
|
|
28024
|
-
error: consoleError
|
|
28025
28070
|
};
|
|
28026
28071
|
function alert({ type, headline, body, nextSteps, reference, link: link2, customSections, orderedNextSteps = !1, renderOptions }) {
|
|
28027
28072
|
let { type: alertType, ..._eventProps } = arguments[0];
|
|
28028
|
-
return renderOnce(import_react35.default.createElement(Alert, { type, headline, body, nextSteps, reference, link: link2, orderedNextSteps, customSections }), { logLevel: typeToLogLevel[type],
|
|
28073
|
+
return renderOnce(import_react35.default.createElement(Alert, { type, headline, body, nextSteps, reference, link: link2, orderedNextSteps, customSections }), { logLevel: typeToLogLevel[type], renderOptions });
|
|
28029
28074
|
}
|
|
28030
28075
|
|
|
28031
28076
|
// ../cli-kit/dist/private/node/ui/components/FatalError.js
|
|
@@ -29197,7 +29242,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
|
|
|
29197
29242
|
}
|
|
29198
29243
|
|
|
29199
29244
|
// ../cli-kit/dist/public/node/ui.js
|
|
29200
|
-
var import_react55 = __toESM(require_react()), defaultUIDebugOptions = {
|
|
29245
|
+
var import_react55 = __toESM(require_react(), 1), defaultUIDebugOptions = {
|
|
29201
29246
|
skipTTYCheck: !1
|
|
29202
29247
|
};
|
|
29203
29248
|
async function renderConcurrent({ renderOptions, ...props }) {
|
|
@@ -29217,7 +29262,7 @@ function renderError(options) {
|
|
|
29217
29262
|
return alert({ ...options, type: "error" });
|
|
29218
29263
|
}
|
|
29219
29264
|
function renderFatalError(error, { renderOptions } = {}) {
|
|
29220
|
-
return renderOnce(import_react55.default.createElement(FatalError, { error }), { logLevel: "error",
|
|
29265
|
+
return renderOnce(import_react55.default.createElement(FatalError, { error }), { logLevel: "error", renderOptions });
|
|
29221
29266
|
}
|
|
29222
29267
|
async function renderSelectPrompt({ renderOptions, isConfirmationPrompt, ...props }, uiDebugOptions = defaultUIDebugOptions) {
|
|
29223
29268
|
return throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions), runWithTimer("cmd_all_timing_prompts_ms")(async () => {
|
|
@@ -29308,12 +29353,6 @@ async function renderDangerousConfirmationPrompt({ renderOptions, ...props }, ui
|
|
|
29308
29353
|
}), confirmed;
|
|
29309
29354
|
});
|
|
29310
29355
|
}
|
|
29311
|
-
function renderText({ text, logLevel = "info", logger = consoleLog }) {
|
|
29312
|
-
let textWithLineReturn = text;
|
|
29313
|
-
return text.endsWith(`
|
|
29314
|
-
`) || (textWithLineReturn += `
|
|
29315
|
-
`), isUnitTest() && collectLog(logLevel, textWithLineReturn), outputWhereAppropriate(logLevel, logger, textWithLineReturn), textWithLineReturn;
|
|
29316
|
-
}
|
|
29317
29356
|
var keypress = async (stdin = process.stdin, uiDebugOptions = defaultUIDebugOptions) => (throwInNonTTY({ message: "Press any key" }, uiDebugOptions), runWithTimer("cmd_all_timing_prompts_ms")(() => new Promise((resolve, reject) => {
|
|
29318
29357
|
let handler2 = (buffer) => {
|
|
29319
29358
|
stdin.setRawMode(!1);
|
|
@@ -30759,20 +30798,20 @@ function formatPackageManagerCommand(packageManager, scriptName, ...scriptArgs)
|
|
|
30759
30798
|
}
|
|
30760
30799
|
}
|
|
30761
30800
|
function outputContent(strings, ...keys) {
|
|
30762
|
-
let
|
|
30801
|
+
let output2 = "";
|
|
30763
30802
|
return strings.forEach((string, i) => {
|
|
30764
|
-
if (
|
|
30803
|
+
if (output2 += string, i >= keys.length)
|
|
30765
30804
|
return;
|
|
30766
30805
|
let token = keys[i];
|
|
30767
30806
|
if (typeof token == "string")
|
|
30768
|
-
|
|
30807
|
+
output2 += token;
|
|
30769
30808
|
else if (token) {
|
|
30770
30809
|
let enumTokenOutput = token.output();
|
|
30771
30810
|
Array.isArray(enumTokenOutput) ? enumTokenOutput.forEach((line) => {
|
|
30772
|
-
|
|
30773
|
-
}) :
|
|
30811
|
+
output2 += line;
|
|
30812
|
+
}) : output2 += enumTokenOutput;
|
|
30774
30813
|
}
|
|
30775
|
-
}), new TokenizedString(
|
|
30814
|
+
}), new TokenizedString(output2);
|
|
30776
30815
|
}
|
|
30777
30816
|
function logLevelValue(level) {
|
|
30778
30817
|
switch (level) {
|
|
@@ -30803,22 +30842,25 @@ function shouldOutput(logLevel) {
|
|
|
30803
30842
|
}
|
|
30804
30843
|
var collectedLogs = {};
|
|
30805
30844
|
function collectLog(key, content) {
|
|
30806
|
-
let
|
|
30807
|
-
data.push(stripAnsi(stringifyMessage(content) ?? "")),
|
|
30845
|
+
let output2 = collectedLogs.output ?? [], data = collectedLogs[key] ?? [];
|
|
30846
|
+
data.push(stripAnsi(stringifyMessage(content) ?? "")), output2.push(stripAnsi(stringifyMessage(content) ?? "")), collectedLogs[key] = data, collectedLogs.output = output2;
|
|
30808
30847
|
}
|
|
30809
|
-
function
|
|
30848
|
+
function outputResult(content) {
|
|
30849
|
+
output(content, "info", consoleLog);
|
|
30850
|
+
}
|
|
30851
|
+
function outputInfo(content, logger = consoleWarn) {
|
|
30810
30852
|
let message = stringifyMessage(content);
|
|
30811
30853
|
isUnitTest() && collectLog("info", content), outputWhereAppropriate("info", logger, message);
|
|
30812
30854
|
}
|
|
30813
|
-
function outputSuccess(content, logger =
|
|
30855
|
+
function outputSuccess(content, logger = consoleWarn) {
|
|
30814
30856
|
let message = source_default.bold(`\u2705 Success! ${stringifyMessage(content)}.`);
|
|
30815
30857
|
isUnitTest() && collectLog("success", content), outputWhereAppropriate("info", logger, message);
|
|
30816
30858
|
}
|
|
30817
|
-
function outputCompleted(content, logger =
|
|
30859
|
+
function outputCompleted(content, logger = consoleWarn) {
|
|
30818
30860
|
let message = `${source_default.green("\u2714")} ${stringifyMessage(content)}`;
|
|
30819
30861
|
isUnitTest() && collectLog("completed", content), outputWhereAppropriate("info", logger, message);
|
|
30820
30862
|
}
|
|
30821
|
-
function outputDebug(content, logger =
|
|
30863
|
+
function outputDebug(content, logger = consoleWarn) {
|
|
30822
30864
|
isUnitTest() && collectLog("debug", content);
|
|
30823
30865
|
let message = source_default.gray(stringifyMessage(content));
|
|
30824
30866
|
outputWhereAppropriate("debug", logger, `${(/* @__PURE__ */ new Date()).toISOString()}: ${message}`);
|
|
@@ -30829,7 +30871,7 @@ function outputWarn(content, logger = consoleWarn) {
|
|
|
30829
30871
|
outputWhereAppropriate("warn", logger, message);
|
|
30830
30872
|
}
|
|
30831
30873
|
function outputNewline() {
|
|
30832
|
-
|
|
30874
|
+
consoleWarn("");
|
|
30833
30875
|
}
|
|
30834
30876
|
function stringifyMessage(message) {
|
|
30835
30877
|
return message instanceof TokenizedString ? message.value : message;
|
|
@@ -30837,24 +30879,9 @@ function stringifyMessage(message) {
|
|
|
30837
30879
|
function itemToString(item) {
|
|
30838
30880
|
return tokenItemToString(item);
|
|
30839
30881
|
}
|
|
30840
|
-
function consoleLog(message) {
|
|
30841
|
-
process.stdout.write(`${withOrWithoutStyle(message)}
|
|
30842
|
-
`);
|
|
30843
|
-
}
|
|
30844
|
-
function consoleError(message) {
|
|
30845
|
-
process.stderr.write(`${withOrWithoutStyle(message)}
|
|
30846
|
-
`);
|
|
30847
|
-
}
|
|
30848
|
-
function consoleWarn(message) {
|
|
30849
|
-
process.stderr.write(`${withOrWithoutStyle(message)}
|
|
30850
|
-
`);
|
|
30851
|
-
}
|
|
30852
30882
|
function outputWhereAppropriate(logLevel, logger, message) {
|
|
30853
30883
|
shouldOutput(logLevel) && (logger instanceof Writable2 ? logger.write(message) : logger(message, logLevel));
|
|
30854
30884
|
}
|
|
30855
|
-
function withOrWithoutStyle(message) {
|
|
30856
|
-
return shouldDisplayColors() ? message : unstyled(message);
|
|
30857
|
-
}
|
|
30858
30885
|
function unstyled(message) {
|
|
30859
30886
|
return stripAnsi(message);
|
|
30860
30887
|
}
|
|
@@ -31001,7 +31028,7 @@ init_cjs_shims();
|
|
|
31001
31028
|
// ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
|
|
31002
31029
|
init_cjs_shims();
|
|
31003
31030
|
|
|
31004
|
-
// ../../node_modules/.pnpm/yocto-queue@1.
|
|
31031
|
+
// ../../node_modules/.pnpm/yocto-queue@1.2.1/node_modules/yocto-queue/index.js
|
|
31005
31032
|
init_cjs_shims();
|
|
31006
31033
|
var Node = class {
|
|
31007
31034
|
value;
|
|
@@ -31025,6 +31052,10 @@ var Node = class {
|
|
|
31025
31052
|
if (current)
|
|
31026
31053
|
return this.#head = this.#head.next, this.#size--, current.value;
|
|
31027
31054
|
}
|
|
31055
|
+
peek() {
|
|
31056
|
+
if (this.#head)
|
|
31057
|
+
return this.#head.value;
|
|
31058
|
+
}
|
|
31028
31059
|
clear() {
|
|
31029
31060
|
this.#head = void 0, this.#tail = void 0, this.#size = 0;
|
|
31030
31061
|
}
|
|
@@ -31036,6 +31067,10 @@ var Node = class {
|
|
|
31036
31067
|
for (; current; )
|
|
31037
31068
|
yield current.value, current = current.next;
|
|
31038
31069
|
}
|
|
31070
|
+
*drain() {
|
|
31071
|
+
for (; this.#head; )
|
|
31072
|
+
yield this.dequeue();
|
|
31073
|
+
}
|
|
31039
31074
|
};
|
|
31040
31075
|
|
|
31041
31076
|
// ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
|
|
@@ -32051,7 +32086,7 @@ function removeFileSync(path8) {
|
|
|
32051
32086
|
outputDebug(outputContent`Sync-removing file at ${outputToken.path(path8)}...`), removeSync(path8);
|
|
32052
32087
|
}
|
|
32053
32088
|
async function rmdir(path8, options = {}) {
|
|
32054
|
-
let { default: del } = await import("./del-
|
|
32089
|
+
let { default: del } = await import("./del-MOZRBB7Y.js");
|
|
32055
32090
|
outputDebug(outputContent`Removing directory at ${outputToken.path(path8)}...`), await del(path8, { force: options.force });
|
|
32056
32091
|
}
|
|
32057
32092
|
async function isDirectory(path8) {
|
|
@@ -32107,7 +32142,7 @@ async function generateRandomNameForSubdirectory(options) {
|
|
|
32107
32142
|
return await fileExists(randomDirectoryPath) ? generateRandomNameForSubdirectory(options) : generated;
|
|
32108
32143
|
}
|
|
32109
32144
|
async function glob(pattern, options) {
|
|
32110
|
-
let { default: fastGlob } = await import("./out-
|
|
32145
|
+
let { default: fastGlob } = await import("./out-NKJPLKLB.js"), overridenOptions = options;
|
|
32111
32146
|
return options?.dot == null && (overridenOptions = { ...options, dot: !0 }), fastGlob(pattern, overridenOptions);
|
|
32112
32147
|
}
|
|
32113
32148
|
async function findPathUp(matcher, options) {
|
|
@@ -32182,8 +32217,6 @@ var identifier = "shopify-cli", cacheFolder = () => process.env.XDG_CACHE_HOME ?
|
|
|
32182
32217
|
themeToken: "SHOPIFY_CLI_THEME_TOKEN",
|
|
32183
32218
|
unitTest: "SHOPIFY_UNIT_TEST",
|
|
32184
32219
|
verbose: "SHOPIFY_FLAG_VERBOSE",
|
|
32185
|
-
noThemeBundling: "SHOPIFY_CLI_NO_THEME_BUNDLING",
|
|
32186
|
-
bundledThemeCLI: "SHOPIFY_CLI_BUNDLED_THEME_CLI",
|
|
32187
32220
|
// Variables to detect if the CLI is running in a cloud environment
|
|
32188
32221
|
codespaces: "CODESPACES",
|
|
32189
32222
|
codespaceName: "CODESPACE_NAME",
|
|
@@ -32262,7 +32295,7 @@ async function spinFqdn(env3 = process.env) {
|
|
|
32262
32295
|
return setCachedSpinFqdn(spinFqdn2), spinFqdn2;
|
|
32263
32296
|
}
|
|
32264
32297
|
async function show(spinInstance, env3 = process.env) {
|
|
32265
|
-
let
|
|
32298
|
+
let output2 = await captureOutput("spin", spinInstance === void 0 ? ["show", "--latest", "--json"] : ["show", "--json"], { env: env3 }), json = JSON.parse(output2);
|
|
32266
32299
|
if (json.error) {
|
|
32267
32300
|
let { errorMessage, nextSteps } = SpinInstanceNotFoundMessages(spinInstance, json.error);
|
|
32268
32301
|
throw new AbortError(errorMessage, nextSteps);
|
|
@@ -32411,12 +32444,6 @@ function alwaysLogMetrics(env3 = process.env) {
|
|
|
32411
32444
|
function firstPartyDev(env3 = process.env) {
|
|
32412
32445
|
return isTruthy(env3[environmentVariables.firstPartyDev]);
|
|
32413
32446
|
}
|
|
32414
|
-
function useThemebundling(env3 = process.env) {
|
|
32415
|
-
return !isTruthy(env3[environmentVariables.noThemeBundling]);
|
|
32416
|
-
}
|
|
32417
|
-
function useEmbeddedThemeCLI(env3 = process.env) {
|
|
32418
|
-
return !isTruthy(env3[environmentVariables.bundledThemeCLI]);
|
|
32419
|
-
}
|
|
32420
32447
|
function gitpodURL(env3 = process.env) {
|
|
32421
32448
|
return env3[environmentVariables.gitpod];
|
|
32422
32449
|
}
|
|
@@ -32520,6 +32547,8 @@ export {
|
|
|
32520
32547
|
uniqBy,
|
|
32521
32548
|
difference,
|
|
32522
32549
|
asHumanFriendlyArray,
|
|
32550
|
+
tslib_es6_exports,
|
|
32551
|
+
init_tslib_es6,
|
|
32523
32552
|
getRandomName,
|
|
32524
32553
|
capitalize,
|
|
32525
32554
|
pluralize,
|
|
@@ -32606,8 +32635,6 @@ export {
|
|
|
32606
32635
|
alwaysLogAnalytics,
|
|
32607
32636
|
alwaysLogMetrics,
|
|
32608
32637
|
firstPartyDev,
|
|
32609
|
-
useThemebundling,
|
|
32610
|
-
useEmbeddedThemeCLI,
|
|
32611
32638
|
gitpodURL,
|
|
32612
32639
|
codespaceURL,
|
|
32613
32640
|
codespacePortForwardingDomain,
|
|
@@ -32639,6 +32666,7 @@ export {
|
|
|
32639
32666
|
outputToken,
|
|
32640
32667
|
formatPackageManagerCommand,
|
|
32641
32668
|
outputContent,
|
|
32669
|
+
outputResult,
|
|
32642
32670
|
outputInfo,
|
|
32643
32671
|
outputSuccess,
|
|
32644
32672
|
outputCompleted,
|
|
@@ -32647,9 +32675,6 @@ export {
|
|
|
32647
32675
|
outputNewline,
|
|
32648
32676
|
stringifyMessage,
|
|
32649
32677
|
itemToString,
|
|
32650
|
-
consoleLog,
|
|
32651
|
-
consoleError,
|
|
32652
|
-
consoleWarn,
|
|
32653
32678
|
unstyled,
|
|
32654
32679
|
shouldDisplayColors,
|
|
32655
32680
|
formatSection,
|
|
@@ -32695,7 +32720,6 @@ export {
|
|
|
32695
32720
|
renderTasks,
|
|
32696
32721
|
renderTextPrompt,
|
|
32697
32722
|
renderDangerousConfirmationPrompt,
|
|
32698
|
-
renderText,
|
|
32699
32723
|
keypress,
|
|
32700
32724
|
isTTY
|
|
32701
32725
|
};
|
|
@@ -32789,4 +32813,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
32789
32813
|
* LICENSE file in the root directory of this source tree.
|
|
32790
32814
|
*)
|
|
32791
32815
|
*/
|
|
32792
|
-
//# sourceMappingURL=chunk-
|
|
32816
|
+
//# sourceMappingURL=chunk-TT3RANTU.js.map
|