@mcesystems/adb-kit 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -5688,6 +5688,755 @@ var require_dump = __commonJS({
5688
5688
  }
5689
5689
  });
5690
5690
 
5691
+ // ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
5692
+ var require_ms = __commonJS({
5693
+ "../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports2, module2) {
5694
+ var s = 1e3;
5695
+ var m = s * 60;
5696
+ var h = m * 60;
5697
+ var d = h * 24;
5698
+ var w = d * 7;
5699
+ var y = d * 365.25;
5700
+ module2.exports = function(val, options) {
5701
+ options = options || {};
5702
+ var type = typeof val;
5703
+ if (type === "string" && val.length > 0) {
5704
+ return parse(val);
5705
+ } else if (type === "number" && isFinite(val)) {
5706
+ return options.long ? fmtLong(val) : fmtShort(val);
5707
+ }
5708
+ throw new Error(
5709
+ "val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
5710
+ );
5711
+ };
5712
+ function parse(str) {
5713
+ str = String(str);
5714
+ if (str.length > 100) {
5715
+ return;
5716
+ }
5717
+ var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
5718
+ str
5719
+ );
5720
+ if (!match) {
5721
+ return;
5722
+ }
5723
+ var n = parseFloat(match[1]);
5724
+ var type = (match[2] || "ms").toLowerCase();
5725
+ switch (type) {
5726
+ case "years":
5727
+ case "year":
5728
+ case "yrs":
5729
+ case "yr":
5730
+ case "y":
5731
+ return n * y;
5732
+ case "weeks":
5733
+ case "week":
5734
+ case "w":
5735
+ return n * w;
5736
+ case "days":
5737
+ case "day":
5738
+ case "d":
5739
+ return n * d;
5740
+ case "hours":
5741
+ case "hour":
5742
+ case "hrs":
5743
+ case "hr":
5744
+ case "h":
5745
+ return n * h;
5746
+ case "minutes":
5747
+ case "minute":
5748
+ case "mins":
5749
+ case "min":
5750
+ case "m":
5751
+ return n * m;
5752
+ case "seconds":
5753
+ case "second":
5754
+ case "secs":
5755
+ case "sec":
5756
+ case "s":
5757
+ return n * s;
5758
+ case "milliseconds":
5759
+ case "millisecond":
5760
+ case "msecs":
5761
+ case "msec":
5762
+ case "ms":
5763
+ return n;
5764
+ default:
5765
+ return void 0;
5766
+ }
5767
+ }
5768
+ function fmtShort(ms) {
5769
+ var msAbs = Math.abs(ms);
5770
+ if (msAbs >= d) {
5771
+ return Math.round(ms / d) + "d";
5772
+ }
5773
+ if (msAbs >= h) {
5774
+ return Math.round(ms / h) + "h";
5775
+ }
5776
+ if (msAbs >= m) {
5777
+ return Math.round(ms / m) + "m";
5778
+ }
5779
+ if (msAbs >= s) {
5780
+ return Math.round(ms / s) + "s";
5781
+ }
5782
+ return ms + "ms";
5783
+ }
5784
+ function fmtLong(ms) {
5785
+ var msAbs = Math.abs(ms);
5786
+ if (msAbs >= d) {
5787
+ return plural(ms, msAbs, d, "day");
5788
+ }
5789
+ if (msAbs >= h) {
5790
+ return plural(ms, msAbs, h, "hour");
5791
+ }
5792
+ if (msAbs >= m) {
5793
+ return plural(ms, msAbs, m, "minute");
5794
+ }
5795
+ if (msAbs >= s) {
5796
+ return plural(ms, msAbs, s, "second");
5797
+ }
5798
+ return ms + " ms";
5799
+ }
5800
+ function plural(ms, msAbs, n, name) {
5801
+ var isPlural = msAbs >= n * 1.5;
5802
+ return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
5803
+ }
5804
+ }
5805
+ });
5806
+
5807
+ // ../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js
5808
+ var require_common = __commonJS({
5809
+ "../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js"(exports2, module2) {
5810
+ function setup(env2) {
5811
+ createDebug.debug = createDebug;
5812
+ createDebug.default = createDebug;
5813
+ createDebug.coerce = coerce;
5814
+ createDebug.disable = disable;
5815
+ createDebug.enable = enable;
5816
+ createDebug.enabled = enabled;
5817
+ createDebug.humanize = require_ms();
5818
+ createDebug.destroy = destroy;
5819
+ Object.keys(env2).forEach((key) => {
5820
+ createDebug[key] = env2[key];
5821
+ });
5822
+ createDebug.names = [];
5823
+ createDebug.skips = [];
5824
+ createDebug.formatters = {};
5825
+ function selectColor(namespace) {
5826
+ let hash = 0;
5827
+ for (let i = 0; i < namespace.length; i++) {
5828
+ hash = (hash << 5) - hash + namespace.charCodeAt(i);
5829
+ hash |= 0;
5830
+ }
5831
+ return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
5832
+ }
5833
+ createDebug.selectColor = selectColor;
5834
+ function createDebug(namespace) {
5835
+ let prevTime;
5836
+ let enableOverride = null;
5837
+ let namespacesCache;
5838
+ let enabledCache;
5839
+ function debug2(...args) {
5840
+ if (!debug2.enabled) {
5841
+ return;
5842
+ }
5843
+ const self2 = debug2;
5844
+ const curr = Number(/* @__PURE__ */ new Date());
5845
+ const ms = curr - (prevTime || curr);
5846
+ self2.diff = ms;
5847
+ self2.prev = prevTime;
5848
+ self2.curr = curr;
5849
+ prevTime = curr;
5850
+ args[0] = createDebug.coerce(args[0]);
5851
+ if (typeof args[0] !== "string") {
5852
+ args.unshift("%O");
5853
+ }
5854
+ let index = 0;
5855
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
5856
+ if (match === "%%") {
5857
+ return "%";
5858
+ }
5859
+ index++;
5860
+ const formatter = createDebug.formatters[format];
5861
+ if (typeof formatter === "function") {
5862
+ const val = args[index];
5863
+ match = formatter.call(self2, val);
5864
+ args.splice(index, 1);
5865
+ index--;
5866
+ }
5867
+ return match;
5868
+ });
5869
+ createDebug.formatArgs.call(self2, args);
5870
+ const logFn = self2.log || createDebug.log;
5871
+ logFn.apply(self2, args);
5872
+ }
5873
+ debug2.namespace = namespace;
5874
+ debug2.useColors = createDebug.useColors();
5875
+ debug2.color = createDebug.selectColor(namespace);
5876
+ debug2.extend = extend;
5877
+ debug2.destroy = createDebug.destroy;
5878
+ Object.defineProperty(debug2, "enabled", {
5879
+ enumerable: true,
5880
+ configurable: false,
5881
+ get: () => {
5882
+ if (enableOverride !== null) {
5883
+ return enableOverride;
5884
+ }
5885
+ if (namespacesCache !== createDebug.namespaces) {
5886
+ namespacesCache = createDebug.namespaces;
5887
+ enabledCache = createDebug.enabled(namespace);
5888
+ }
5889
+ return enabledCache;
5890
+ },
5891
+ set: (v) => {
5892
+ enableOverride = v;
5893
+ }
5894
+ });
5895
+ if (typeof createDebug.init === "function") {
5896
+ createDebug.init(debug2);
5897
+ }
5898
+ return debug2;
5899
+ }
5900
+ function extend(namespace, delimiter) {
5901
+ const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
5902
+ newDebug.log = this.log;
5903
+ return newDebug;
5904
+ }
5905
+ function enable(namespaces) {
5906
+ createDebug.save(namespaces);
5907
+ createDebug.namespaces = namespaces;
5908
+ createDebug.names = [];
5909
+ createDebug.skips = [];
5910
+ let i;
5911
+ const split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
5912
+ const len = split.length;
5913
+ for (i = 0; i < len; i++) {
5914
+ if (!split[i]) {
5915
+ continue;
5916
+ }
5917
+ namespaces = split[i].replace(/\*/g, ".*?");
5918
+ if (namespaces[0] === "-") {
5919
+ createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
5920
+ } else {
5921
+ createDebug.names.push(new RegExp("^" + namespaces + "$"));
5922
+ }
5923
+ }
5924
+ }
5925
+ function disable() {
5926
+ const namespaces = [
5927
+ ...createDebug.names.map(toNamespace),
5928
+ ...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace)
5929
+ ].join(",");
5930
+ createDebug.enable("");
5931
+ return namespaces;
5932
+ }
5933
+ function enabled(name) {
5934
+ if (name[name.length - 1] === "*") {
5935
+ return true;
5936
+ }
5937
+ let i;
5938
+ let len;
5939
+ for (i = 0, len = createDebug.skips.length; i < len; i++) {
5940
+ if (createDebug.skips[i].test(name)) {
5941
+ return false;
5942
+ }
5943
+ }
5944
+ for (i = 0, len = createDebug.names.length; i < len; i++) {
5945
+ if (createDebug.names[i].test(name)) {
5946
+ return true;
5947
+ }
5948
+ }
5949
+ return false;
5950
+ }
5951
+ function toNamespace(regexp) {
5952
+ return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
5953
+ }
5954
+ function coerce(val) {
5955
+ if (val instanceof Error) {
5956
+ return val.stack || val.message;
5957
+ }
5958
+ return val;
5959
+ }
5960
+ function destroy() {
5961
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
5962
+ }
5963
+ createDebug.enable(createDebug.load());
5964
+ return createDebug;
5965
+ }
5966
+ module2.exports = setup;
5967
+ }
5968
+ });
5969
+
5970
+ // ../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/browser.js
5971
+ var require_browser = __commonJS({
5972
+ "../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/browser.js"(exports2, module2) {
5973
+ exports2.formatArgs = formatArgs;
5974
+ exports2.save = save;
5975
+ exports2.load = load;
5976
+ exports2.useColors = useColors;
5977
+ exports2.storage = localstorage();
5978
+ exports2.destroy = /* @__PURE__ */ (() => {
5979
+ let warned = false;
5980
+ return () => {
5981
+ if (!warned) {
5982
+ warned = true;
5983
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
5984
+ }
5985
+ };
5986
+ })();
5987
+ exports2.colors = [
5988
+ "#0000CC",
5989
+ "#0000FF",
5990
+ "#0033CC",
5991
+ "#0033FF",
5992
+ "#0066CC",
5993
+ "#0066FF",
5994
+ "#0099CC",
5995
+ "#0099FF",
5996
+ "#00CC00",
5997
+ "#00CC33",
5998
+ "#00CC66",
5999
+ "#00CC99",
6000
+ "#00CCCC",
6001
+ "#00CCFF",
6002
+ "#3300CC",
6003
+ "#3300FF",
6004
+ "#3333CC",
6005
+ "#3333FF",
6006
+ "#3366CC",
6007
+ "#3366FF",
6008
+ "#3399CC",
6009
+ "#3399FF",
6010
+ "#33CC00",
6011
+ "#33CC33",
6012
+ "#33CC66",
6013
+ "#33CC99",
6014
+ "#33CCCC",
6015
+ "#33CCFF",
6016
+ "#6600CC",
6017
+ "#6600FF",
6018
+ "#6633CC",
6019
+ "#6633FF",
6020
+ "#66CC00",
6021
+ "#66CC33",
6022
+ "#9900CC",
6023
+ "#9900FF",
6024
+ "#9933CC",
6025
+ "#9933FF",
6026
+ "#99CC00",
6027
+ "#99CC33",
6028
+ "#CC0000",
6029
+ "#CC0033",
6030
+ "#CC0066",
6031
+ "#CC0099",
6032
+ "#CC00CC",
6033
+ "#CC00FF",
6034
+ "#CC3300",
6035
+ "#CC3333",
6036
+ "#CC3366",
6037
+ "#CC3399",
6038
+ "#CC33CC",
6039
+ "#CC33FF",
6040
+ "#CC6600",
6041
+ "#CC6633",
6042
+ "#CC9900",
6043
+ "#CC9933",
6044
+ "#CCCC00",
6045
+ "#CCCC33",
6046
+ "#FF0000",
6047
+ "#FF0033",
6048
+ "#FF0066",
6049
+ "#FF0099",
6050
+ "#FF00CC",
6051
+ "#FF00FF",
6052
+ "#FF3300",
6053
+ "#FF3333",
6054
+ "#FF3366",
6055
+ "#FF3399",
6056
+ "#FF33CC",
6057
+ "#FF33FF",
6058
+ "#FF6600",
6059
+ "#FF6633",
6060
+ "#FF9900",
6061
+ "#FF9933",
6062
+ "#FFCC00",
6063
+ "#FFCC33"
6064
+ ];
6065
+ function useColors() {
6066
+ if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
6067
+ return true;
6068
+ }
6069
+ if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
6070
+ return false;
6071
+ }
6072
+ let m;
6073
+ return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
6074
+ typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
6075
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
6076
+ typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
6077
+ typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
6078
+ }
6079
+ function formatArgs(args) {
6080
+ args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
6081
+ if (!this.useColors) {
6082
+ return;
6083
+ }
6084
+ const c = "color: " + this.color;
6085
+ args.splice(1, 0, c, "color: inherit");
6086
+ let index = 0;
6087
+ let lastC = 0;
6088
+ args[0].replace(/%[a-zA-Z%]/g, (match) => {
6089
+ if (match === "%%") {
6090
+ return;
6091
+ }
6092
+ index++;
6093
+ if (match === "%c") {
6094
+ lastC = index;
6095
+ }
6096
+ });
6097
+ args.splice(lastC, 0, c);
6098
+ }
6099
+ exports2.log = console.debug || console.log || (() => {
6100
+ });
6101
+ function save(namespaces) {
6102
+ try {
6103
+ if (namespaces) {
6104
+ exports2.storage.setItem("debug", namespaces);
6105
+ } else {
6106
+ exports2.storage.removeItem("debug");
6107
+ }
6108
+ } catch (error) {
6109
+ }
6110
+ }
6111
+ function load() {
6112
+ let r;
6113
+ try {
6114
+ r = exports2.storage.getItem("debug");
6115
+ } catch (error) {
6116
+ }
6117
+ if (!r && typeof process !== "undefined" && "env" in process) {
6118
+ r = process.env.DEBUG;
6119
+ }
6120
+ return r;
6121
+ }
6122
+ function localstorage() {
6123
+ try {
6124
+ return localStorage;
6125
+ } catch (error) {
6126
+ }
6127
+ }
6128
+ module2.exports = require_common()(exports2);
6129
+ var { formatters } = module2.exports;
6130
+ formatters.j = function(v) {
6131
+ try {
6132
+ return JSON.stringify(v);
6133
+ } catch (error) {
6134
+ return "[UnexpectedJSONParseError]: " + error.message;
6135
+ }
6136
+ };
6137
+ }
6138
+ });
6139
+
6140
+ // ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
6141
+ var require_has_flag = __commonJS({
6142
+ "../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports2, module2) {
6143
+ "use strict";
6144
+ module2.exports = (flag, argv = process.argv) => {
6145
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
6146
+ const position = argv.indexOf(prefix + flag);
6147
+ const terminatorPosition = argv.indexOf("--");
6148
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
6149
+ };
6150
+ }
6151
+ });
6152
+
6153
+ // ../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
6154
+ var require_supports_color = __commonJS({
6155
+ "../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports2, module2) {
6156
+ "use strict";
6157
+ var os = __require("os");
6158
+ var tty = __require("tty");
6159
+ var hasFlag = require_has_flag();
6160
+ var { env: env2 } = process;
6161
+ var forceColor;
6162
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
6163
+ forceColor = 0;
6164
+ } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
6165
+ forceColor = 1;
6166
+ }
6167
+ if ("FORCE_COLOR" in env2) {
6168
+ if (env2.FORCE_COLOR === "true") {
6169
+ forceColor = 1;
6170
+ } else if (env2.FORCE_COLOR === "false") {
6171
+ forceColor = 0;
6172
+ } else {
6173
+ forceColor = env2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env2.FORCE_COLOR, 10), 3);
6174
+ }
6175
+ }
6176
+ function translateLevel(level) {
6177
+ if (level === 0) {
6178
+ return false;
6179
+ }
6180
+ return {
6181
+ level,
6182
+ hasBasic: true,
6183
+ has256: level >= 2,
6184
+ has16m: level >= 3
6185
+ };
6186
+ }
6187
+ function supportsColor(haveStream, streamIsTTY) {
6188
+ if (forceColor === 0) {
6189
+ return 0;
6190
+ }
6191
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
6192
+ return 3;
6193
+ }
6194
+ if (hasFlag("color=256")) {
6195
+ return 2;
6196
+ }
6197
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
6198
+ return 0;
6199
+ }
6200
+ const min = forceColor || 0;
6201
+ if (env2.TERM === "dumb") {
6202
+ return min;
6203
+ }
6204
+ if (process.platform === "win32") {
6205
+ const osRelease = os.release().split(".");
6206
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
6207
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
6208
+ }
6209
+ return 1;
6210
+ }
6211
+ if ("CI" in env2) {
6212
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
6213
+ return 1;
6214
+ }
6215
+ return min;
6216
+ }
6217
+ if ("TEAMCITY_VERSION" in env2) {
6218
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
6219
+ }
6220
+ if (env2.COLORTERM === "truecolor") {
6221
+ return 3;
6222
+ }
6223
+ if ("TERM_PROGRAM" in env2) {
6224
+ const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
6225
+ switch (env2.TERM_PROGRAM) {
6226
+ case "iTerm.app":
6227
+ return version >= 3 ? 3 : 2;
6228
+ case "Apple_Terminal":
6229
+ return 2;
6230
+ }
6231
+ }
6232
+ if (/-256(color)?$/i.test(env2.TERM)) {
6233
+ return 2;
6234
+ }
6235
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
6236
+ return 1;
6237
+ }
6238
+ if ("COLORTERM" in env2) {
6239
+ return 1;
6240
+ }
6241
+ return min;
6242
+ }
6243
+ function getSupportLevel(stream) {
6244
+ const level = supportsColor(stream, stream && stream.isTTY);
6245
+ return translateLevel(level);
6246
+ }
6247
+ module2.exports = {
6248
+ supportsColor: getSupportLevel,
6249
+ stdout: translateLevel(supportsColor(true, tty.isatty(1))),
6250
+ stderr: translateLevel(supportsColor(true, tty.isatty(2)))
6251
+ };
6252
+ }
6253
+ });
6254
+
6255
+ // ../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/node.js
6256
+ var require_node = __commonJS({
6257
+ "../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/node.js"(exports2, module2) {
6258
+ var tty = __require("tty");
6259
+ var util = __require("util");
6260
+ exports2.init = init;
6261
+ exports2.log = log;
6262
+ exports2.formatArgs = formatArgs;
6263
+ exports2.save = save;
6264
+ exports2.load = load;
6265
+ exports2.useColors = useColors;
6266
+ exports2.destroy = util.deprecate(
6267
+ () => {
6268
+ },
6269
+ "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
6270
+ );
6271
+ exports2.colors = [6, 2, 3, 4, 5, 1];
6272
+ try {
6273
+ const supportsColor = require_supports_color();
6274
+ if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
6275
+ exports2.colors = [
6276
+ 20,
6277
+ 21,
6278
+ 26,
6279
+ 27,
6280
+ 32,
6281
+ 33,
6282
+ 38,
6283
+ 39,
6284
+ 40,
6285
+ 41,
6286
+ 42,
6287
+ 43,
6288
+ 44,
6289
+ 45,
6290
+ 56,
6291
+ 57,
6292
+ 62,
6293
+ 63,
6294
+ 68,
6295
+ 69,
6296
+ 74,
6297
+ 75,
6298
+ 76,
6299
+ 77,
6300
+ 78,
6301
+ 79,
6302
+ 80,
6303
+ 81,
6304
+ 92,
6305
+ 93,
6306
+ 98,
6307
+ 99,
6308
+ 112,
6309
+ 113,
6310
+ 128,
6311
+ 129,
6312
+ 134,
6313
+ 135,
6314
+ 148,
6315
+ 149,
6316
+ 160,
6317
+ 161,
6318
+ 162,
6319
+ 163,
6320
+ 164,
6321
+ 165,
6322
+ 166,
6323
+ 167,
6324
+ 168,
6325
+ 169,
6326
+ 170,
6327
+ 171,
6328
+ 172,
6329
+ 173,
6330
+ 178,
6331
+ 179,
6332
+ 184,
6333
+ 185,
6334
+ 196,
6335
+ 197,
6336
+ 198,
6337
+ 199,
6338
+ 200,
6339
+ 201,
6340
+ 202,
6341
+ 203,
6342
+ 204,
6343
+ 205,
6344
+ 206,
6345
+ 207,
6346
+ 208,
6347
+ 209,
6348
+ 214,
6349
+ 215,
6350
+ 220,
6351
+ 221
6352
+ ];
6353
+ }
6354
+ } catch (error) {
6355
+ }
6356
+ exports2.inspectOpts = Object.keys(process.env).filter((key) => {
6357
+ return /^debug_/i.test(key);
6358
+ }).reduce((obj2, key) => {
6359
+ const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
6360
+ return k.toUpperCase();
6361
+ });
6362
+ let val = process.env[key];
6363
+ if (/^(yes|on|true|enabled)$/i.test(val)) {
6364
+ val = true;
6365
+ } else if (/^(no|off|false|disabled)$/i.test(val)) {
6366
+ val = false;
6367
+ } else if (val === "null") {
6368
+ val = null;
6369
+ } else {
6370
+ val = Number(val);
6371
+ }
6372
+ obj2[prop] = val;
6373
+ return obj2;
6374
+ }, {});
6375
+ function useColors() {
6376
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd);
6377
+ }
6378
+ function formatArgs(args) {
6379
+ const { namespace: name, useColors: useColors2 } = this;
6380
+ if (useColors2) {
6381
+ const c = this.color;
6382
+ const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
6383
+ const prefix = ` ${colorCode};1m${name} \x1B[0m`;
6384
+ args[0] = prefix + args[0].split("\n").join("\n" + prefix);
6385
+ args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
6386
+ } else {
6387
+ args[0] = getDate() + name + " " + args[0];
6388
+ }
6389
+ }
6390
+ function getDate() {
6391
+ if (exports2.inspectOpts.hideDate) {
6392
+ return "";
6393
+ }
6394
+ return (/* @__PURE__ */ new Date()).toISOString() + " ";
6395
+ }
6396
+ function log(...args) {
6397
+ return process.stderr.write(util.formatWithOptions(exports2.inspectOpts, ...args) + "\n");
6398
+ }
6399
+ function save(namespaces) {
6400
+ if (namespaces) {
6401
+ process.env.DEBUG = namespaces;
6402
+ } else {
6403
+ delete process.env.DEBUG;
6404
+ }
6405
+ }
6406
+ function load() {
6407
+ return process.env.DEBUG;
6408
+ }
6409
+ function init(debug2) {
6410
+ debug2.inspectOpts = {};
6411
+ const keys = Object.keys(exports2.inspectOpts);
6412
+ for (let i = 0; i < keys.length; i++) {
6413
+ debug2.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
6414
+ }
6415
+ }
6416
+ module2.exports = require_common()(exports2);
6417
+ var { formatters } = module2.exports;
6418
+ formatters.o = function(v) {
6419
+ this.inspectOpts.colors = this.useColors;
6420
+ return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
6421
+ };
6422
+ formatters.O = function(v) {
6423
+ this.inspectOpts.colors = this.useColors;
6424
+ return util.inspect(v, this.inspectOpts);
6425
+ };
6426
+ }
6427
+ });
6428
+
6429
+ // ../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js
6430
+ var require_src = __commonJS({
6431
+ "../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js"(exports2, module2) {
6432
+ if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
6433
+ module2.exports = require_browser();
6434
+ } else {
6435
+ module2.exports = require_node();
6436
+ }
6437
+ }
6438
+ });
6439
+
5691
6440
  // ../../node_modules/.pnpm/@devicefarmer+adbkit@3.3.8/node_modules/@devicefarmer/adbkit/dist/src/adb/connection.js
5692
6441
  var require_connection = __commonJS({
5693
6442
  "../../node_modules/.pnpm/@devicefarmer+adbkit@3.3.8/node_modules/@devicefarmer/adbkit/dist/src/adb/connection.js"(exports2) {
@@ -5728,7 +6477,7 @@ var require_connection = __commonJS({
5728
6477
  var child_process_1 = __require("child_process");
5729
6478
  var parser_1 = __importDefault(require_parser());
5730
6479
  var dump_1 = __importDefault(require_dump());
5731
- var debug_1 = __importDefault(__require("debug"));
6480
+ var debug_1 = __importDefault(require_src());
5732
6481
  var bluebird_1 = __importDefault(require_bluebird());
5733
6482
  var debug2 = (0, debug_1.default)("adb:connection");
5734
6483
  var Connection = class extends events_1.EventEmitter {
@@ -5814,7 +6563,7 @@ var require_command = __commonJS({
5814
6563
  };
5815
6564
  Object.defineProperty(exports2, "__esModule", { value: true });
5816
6565
  var protocol_1 = __importDefault(require_protocol());
5817
- var debug_1 = __importDefault(__require("debug"));
6566
+ var debug_1 = __importDefault(require_src());
5818
6567
  var debug2 = (0, debug_1.default)("adb:command");
5819
6568
  var RE_SQUOT = /'/g;
5820
6569
  var RE_ESCAPE = /([$`\\!"])/g;
@@ -24370,7 +25119,7 @@ var require_service = __commonJS({
24370
25119
  return mod && mod.__esModule ? mod : { "default": mod };
24371
25120
  };
24372
25121
  Object.defineProperty(exports2, "__esModule", { value: true });
24373
- var debug_1 = __importDefault(__require("debug"));
25122
+ var debug_1 = __importDefault(require_src());
24374
25123
  var events_1 = __require("events");
24375
25124
  var packet_1 = __importDefault(require_packet());
24376
25125
  var bluebird_1 = __importDefault(require_bluebird());
@@ -24566,7 +25315,7 @@ var require_socket = __commonJS({
24566
25315
  Object.defineProperty(exports2, "__esModule", { value: true });
24567
25316
  var events_1 = __require("events");
24568
25317
  var crypto = __importStar(__require("crypto"));
24569
- var debug_1 = __importDefault(__require("debug"));
25318
+ var debug_1 = __importDefault(require_src());
24570
25319
  var bluebird_1 = __importDefault(require_bluebird());
24571
25320
  var packetreader_1 = __importDefault(require_packetreader());
24572
25321
  var rollingcounter_1 = __importDefault(require_rollingcounter());
@@ -26228,7 +26977,7 @@ var require_sync = __commonJS({
26228
26977
  var Path = __importStar(__require("path"));
26229
26978
  var bluebird_1 = __importDefault(require_bluebird());
26230
26979
  var events_1 = __require("events");
26231
- var debug_1 = __importDefault(__require("debug"));
26980
+ var debug_1 = __importDefault(require_src());
26232
26981
  var parser_1 = __importDefault(require_parser());
26233
26982
  var protocol_1 = __importDefault(require_protocol());
26234
26983
  var stats_1 = __importDefault(require_stats());
@@ -26751,7 +27500,7 @@ var require_framebuffer = __commonJS({
26751
27500
  };
26752
27501
  Object.defineProperty(exports2, "__esModule", { value: true });
26753
27502
  var child_process_1 = __require("child_process");
26754
- var debug_1 = __importDefault(__require("debug"));
27503
+ var debug_1 = __importDefault(require_src());
26755
27504
  var rgbtransform_1 = __importDefault(require_rgbtransform());
26756
27505
  var protocol_1 = __importDefault(require_protocol());
26757
27506
  var command_1 = __importDefault(require_command());
@@ -28445,7 +29194,7 @@ var require_DeviceClient = __commonJS({
28445
29194
  var host_1 = require_host();
28446
29195
  var host_transport_1 = require_host_transport();
28447
29196
  var host_serial_1 = require_host_serial();
28448
- var debug_1 = __importDefault(__require("debug"));
29197
+ var debug_1 = __importDefault(require_src());
28449
29198
  var bluebird_1 = __importDefault(require_bluebird());
28450
29199
  var debug2 = (0, debug_1.default)("adb:client");
28451
29200
  var NoUserOptionError = (err) => err.message.indexOf("--user") !== -1;
@@ -29423,6 +30172,538 @@ var require_dist = __commonJS({
29423
30172
  }
29424
30173
  });
29425
30174
 
30175
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js
30176
+ var require_common2 = __commonJS({
30177
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js"(exports2, module2) {
30178
+ function setup(env2) {
30179
+ createDebug.debug = createDebug;
30180
+ createDebug.default = createDebug;
30181
+ createDebug.coerce = coerce;
30182
+ createDebug.disable = disable;
30183
+ createDebug.enable = enable;
30184
+ createDebug.enabled = enabled;
30185
+ createDebug.humanize = require_ms();
30186
+ createDebug.destroy = destroy;
30187
+ Object.keys(env2).forEach((key) => {
30188
+ createDebug[key] = env2[key];
30189
+ });
30190
+ createDebug.names = [];
30191
+ createDebug.skips = [];
30192
+ createDebug.formatters = {};
30193
+ function selectColor(namespace) {
30194
+ let hash = 0;
30195
+ for (let i = 0; i < namespace.length; i++) {
30196
+ hash = (hash << 5) - hash + namespace.charCodeAt(i);
30197
+ hash |= 0;
30198
+ }
30199
+ return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
30200
+ }
30201
+ createDebug.selectColor = selectColor;
30202
+ function createDebug(namespace) {
30203
+ let prevTime;
30204
+ let enableOverride = null;
30205
+ let namespacesCache;
30206
+ let enabledCache;
30207
+ function debug2(...args) {
30208
+ if (!debug2.enabled) {
30209
+ return;
30210
+ }
30211
+ const self2 = debug2;
30212
+ const curr = Number(/* @__PURE__ */ new Date());
30213
+ const ms = curr - (prevTime || curr);
30214
+ self2.diff = ms;
30215
+ self2.prev = prevTime;
30216
+ self2.curr = curr;
30217
+ prevTime = curr;
30218
+ args[0] = createDebug.coerce(args[0]);
30219
+ if (typeof args[0] !== "string") {
30220
+ args.unshift("%O");
30221
+ }
30222
+ let index = 0;
30223
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
30224
+ if (match === "%%") {
30225
+ return "%";
30226
+ }
30227
+ index++;
30228
+ const formatter = createDebug.formatters[format];
30229
+ if (typeof formatter === "function") {
30230
+ const val = args[index];
30231
+ match = formatter.call(self2, val);
30232
+ args.splice(index, 1);
30233
+ index--;
30234
+ }
30235
+ return match;
30236
+ });
30237
+ createDebug.formatArgs.call(self2, args);
30238
+ const logFn = self2.log || createDebug.log;
30239
+ logFn.apply(self2, args);
30240
+ }
30241
+ debug2.namespace = namespace;
30242
+ debug2.useColors = createDebug.useColors();
30243
+ debug2.color = createDebug.selectColor(namespace);
30244
+ debug2.extend = extend;
30245
+ debug2.destroy = createDebug.destroy;
30246
+ Object.defineProperty(debug2, "enabled", {
30247
+ enumerable: true,
30248
+ configurable: false,
30249
+ get: () => {
30250
+ if (enableOverride !== null) {
30251
+ return enableOverride;
30252
+ }
30253
+ if (namespacesCache !== createDebug.namespaces) {
30254
+ namespacesCache = createDebug.namespaces;
30255
+ enabledCache = createDebug.enabled(namespace);
30256
+ }
30257
+ return enabledCache;
30258
+ },
30259
+ set: (v) => {
30260
+ enableOverride = v;
30261
+ }
30262
+ });
30263
+ if (typeof createDebug.init === "function") {
30264
+ createDebug.init(debug2);
30265
+ }
30266
+ return debug2;
30267
+ }
30268
+ function extend(namespace, delimiter) {
30269
+ const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
30270
+ newDebug.log = this.log;
30271
+ return newDebug;
30272
+ }
30273
+ function enable(namespaces) {
30274
+ createDebug.save(namespaces);
30275
+ createDebug.namespaces = namespaces;
30276
+ createDebug.names = [];
30277
+ createDebug.skips = [];
30278
+ const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
30279
+ for (const ns of split) {
30280
+ if (ns[0] === "-") {
30281
+ createDebug.skips.push(ns.slice(1));
30282
+ } else {
30283
+ createDebug.names.push(ns);
30284
+ }
30285
+ }
30286
+ }
30287
+ function matchesTemplate(search, template) {
30288
+ let searchIndex = 0;
30289
+ let templateIndex = 0;
30290
+ let starIndex = -1;
30291
+ let matchIndex = 0;
30292
+ while (searchIndex < search.length) {
30293
+ if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
30294
+ if (template[templateIndex] === "*") {
30295
+ starIndex = templateIndex;
30296
+ matchIndex = searchIndex;
30297
+ templateIndex++;
30298
+ } else {
30299
+ searchIndex++;
30300
+ templateIndex++;
30301
+ }
30302
+ } else if (starIndex !== -1) {
30303
+ templateIndex = starIndex + 1;
30304
+ matchIndex++;
30305
+ searchIndex = matchIndex;
30306
+ } else {
30307
+ return false;
30308
+ }
30309
+ }
30310
+ while (templateIndex < template.length && template[templateIndex] === "*") {
30311
+ templateIndex++;
30312
+ }
30313
+ return templateIndex === template.length;
30314
+ }
30315
+ function disable() {
30316
+ const namespaces = [
30317
+ ...createDebug.names,
30318
+ ...createDebug.skips.map((namespace) => "-" + namespace)
30319
+ ].join(",");
30320
+ createDebug.enable("");
30321
+ return namespaces;
30322
+ }
30323
+ function enabled(name) {
30324
+ for (const skip of createDebug.skips) {
30325
+ if (matchesTemplate(name, skip)) {
30326
+ return false;
30327
+ }
30328
+ }
30329
+ for (const ns of createDebug.names) {
30330
+ if (matchesTemplate(name, ns)) {
30331
+ return true;
30332
+ }
30333
+ }
30334
+ return false;
30335
+ }
30336
+ function coerce(val) {
30337
+ if (val instanceof Error) {
30338
+ return val.stack || val.message;
30339
+ }
30340
+ return val;
30341
+ }
30342
+ function destroy() {
30343
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
30344
+ }
30345
+ createDebug.enable(createDebug.load());
30346
+ return createDebug;
30347
+ }
30348
+ module2.exports = setup;
30349
+ }
30350
+ });
30351
+
30352
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js
30353
+ var require_browser2 = __commonJS({
30354
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js"(exports2, module2) {
30355
+ exports2.formatArgs = formatArgs;
30356
+ exports2.save = save;
30357
+ exports2.load = load;
30358
+ exports2.useColors = useColors;
30359
+ exports2.storage = localstorage();
30360
+ exports2.destroy = /* @__PURE__ */ (() => {
30361
+ let warned = false;
30362
+ return () => {
30363
+ if (!warned) {
30364
+ warned = true;
30365
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
30366
+ }
30367
+ };
30368
+ })();
30369
+ exports2.colors = [
30370
+ "#0000CC",
30371
+ "#0000FF",
30372
+ "#0033CC",
30373
+ "#0033FF",
30374
+ "#0066CC",
30375
+ "#0066FF",
30376
+ "#0099CC",
30377
+ "#0099FF",
30378
+ "#00CC00",
30379
+ "#00CC33",
30380
+ "#00CC66",
30381
+ "#00CC99",
30382
+ "#00CCCC",
30383
+ "#00CCFF",
30384
+ "#3300CC",
30385
+ "#3300FF",
30386
+ "#3333CC",
30387
+ "#3333FF",
30388
+ "#3366CC",
30389
+ "#3366FF",
30390
+ "#3399CC",
30391
+ "#3399FF",
30392
+ "#33CC00",
30393
+ "#33CC33",
30394
+ "#33CC66",
30395
+ "#33CC99",
30396
+ "#33CCCC",
30397
+ "#33CCFF",
30398
+ "#6600CC",
30399
+ "#6600FF",
30400
+ "#6633CC",
30401
+ "#6633FF",
30402
+ "#66CC00",
30403
+ "#66CC33",
30404
+ "#9900CC",
30405
+ "#9900FF",
30406
+ "#9933CC",
30407
+ "#9933FF",
30408
+ "#99CC00",
30409
+ "#99CC33",
30410
+ "#CC0000",
30411
+ "#CC0033",
30412
+ "#CC0066",
30413
+ "#CC0099",
30414
+ "#CC00CC",
30415
+ "#CC00FF",
30416
+ "#CC3300",
30417
+ "#CC3333",
30418
+ "#CC3366",
30419
+ "#CC3399",
30420
+ "#CC33CC",
30421
+ "#CC33FF",
30422
+ "#CC6600",
30423
+ "#CC6633",
30424
+ "#CC9900",
30425
+ "#CC9933",
30426
+ "#CCCC00",
30427
+ "#CCCC33",
30428
+ "#FF0000",
30429
+ "#FF0033",
30430
+ "#FF0066",
30431
+ "#FF0099",
30432
+ "#FF00CC",
30433
+ "#FF00FF",
30434
+ "#FF3300",
30435
+ "#FF3333",
30436
+ "#FF3366",
30437
+ "#FF3399",
30438
+ "#FF33CC",
30439
+ "#FF33FF",
30440
+ "#FF6600",
30441
+ "#FF6633",
30442
+ "#FF9900",
30443
+ "#FF9933",
30444
+ "#FFCC00",
30445
+ "#FFCC33"
30446
+ ];
30447
+ function useColors() {
30448
+ if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
30449
+ return true;
30450
+ }
30451
+ if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
30452
+ return false;
30453
+ }
30454
+ let m;
30455
+ return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
30456
+ typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
30457
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
30458
+ typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
30459
+ typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
30460
+ }
30461
+ function formatArgs(args) {
30462
+ args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
30463
+ if (!this.useColors) {
30464
+ return;
30465
+ }
30466
+ const c = "color: " + this.color;
30467
+ args.splice(1, 0, c, "color: inherit");
30468
+ let index = 0;
30469
+ let lastC = 0;
30470
+ args[0].replace(/%[a-zA-Z%]/g, (match) => {
30471
+ if (match === "%%") {
30472
+ return;
30473
+ }
30474
+ index++;
30475
+ if (match === "%c") {
30476
+ lastC = index;
30477
+ }
30478
+ });
30479
+ args.splice(lastC, 0, c);
30480
+ }
30481
+ exports2.log = console.debug || console.log || (() => {
30482
+ });
30483
+ function save(namespaces) {
30484
+ try {
30485
+ if (namespaces) {
30486
+ exports2.storage.setItem("debug", namespaces);
30487
+ } else {
30488
+ exports2.storage.removeItem("debug");
30489
+ }
30490
+ } catch (error) {
30491
+ }
30492
+ }
30493
+ function load() {
30494
+ let r;
30495
+ try {
30496
+ r = exports2.storage.getItem("debug") || exports2.storage.getItem("DEBUG");
30497
+ } catch (error) {
30498
+ }
30499
+ if (!r && typeof process !== "undefined" && "env" in process) {
30500
+ r = process.env.DEBUG;
30501
+ }
30502
+ return r;
30503
+ }
30504
+ function localstorage() {
30505
+ try {
30506
+ return localStorage;
30507
+ } catch (error) {
30508
+ }
30509
+ }
30510
+ module2.exports = require_common2()(exports2);
30511
+ var { formatters } = module2.exports;
30512
+ formatters.j = function(v) {
30513
+ try {
30514
+ return JSON.stringify(v);
30515
+ } catch (error) {
30516
+ return "[UnexpectedJSONParseError]: " + error.message;
30517
+ }
30518
+ };
30519
+ }
30520
+ });
30521
+
30522
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js
30523
+ var require_node2 = __commonJS({
30524
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js"(exports2, module2) {
30525
+ var tty = __require("tty");
30526
+ var util = __require("util");
30527
+ exports2.init = init;
30528
+ exports2.log = log;
30529
+ exports2.formatArgs = formatArgs;
30530
+ exports2.save = save;
30531
+ exports2.load = load;
30532
+ exports2.useColors = useColors;
30533
+ exports2.destroy = util.deprecate(
30534
+ () => {
30535
+ },
30536
+ "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
30537
+ );
30538
+ exports2.colors = [6, 2, 3, 4, 5, 1];
30539
+ try {
30540
+ const supportsColor = require_supports_color();
30541
+ if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
30542
+ exports2.colors = [
30543
+ 20,
30544
+ 21,
30545
+ 26,
30546
+ 27,
30547
+ 32,
30548
+ 33,
30549
+ 38,
30550
+ 39,
30551
+ 40,
30552
+ 41,
30553
+ 42,
30554
+ 43,
30555
+ 44,
30556
+ 45,
30557
+ 56,
30558
+ 57,
30559
+ 62,
30560
+ 63,
30561
+ 68,
30562
+ 69,
30563
+ 74,
30564
+ 75,
30565
+ 76,
30566
+ 77,
30567
+ 78,
30568
+ 79,
30569
+ 80,
30570
+ 81,
30571
+ 92,
30572
+ 93,
30573
+ 98,
30574
+ 99,
30575
+ 112,
30576
+ 113,
30577
+ 128,
30578
+ 129,
30579
+ 134,
30580
+ 135,
30581
+ 148,
30582
+ 149,
30583
+ 160,
30584
+ 161,
30585
+ 162,
30586
+ 163,
30587
+ 164,
30588
+ 165,
30589
+ 166,
30590
+ 167,
30591
+ 168,
30592
+ 169,
30593
+ 170,
30594
+ 171,
30595
+ 172,
30596
+ 173,
30597
+ 178,
30598
+ 179,
30599
+ 184,
30600
+ 185,
30601
+ 196,
30602
+ 197,
30603
+ 198,
30604
+ 199,
30605
+ 200,
30606
+ 201,
30607
+ 202,
30608
+ 203,
30609
+ 204,
30610
+ 205,
30611
+ 206,
30612
+ 207,
30613
+ 208,
30614
+ 209,
30615
+ 214,
30616
+ 215,
30617
+ 220,
30618
+ 221
30619
+ ];
30620
+ }
30621
+ } catch (error) {
30622
+ }
30623
+ exports2.inspectOpts = Object.keys(process.env).filter((key) => {
30624
+ return /^debug_/i.test(key);
30625
+ }).reduce((obj2, key) => {
30626
+ const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
30627
+ return k.toUpperCase();
30628
+ });
30629
+ let val = process.env[key];
30630
+ if (/^(yes|on|true|enabled)$/i.test(val)) {
30631
+ val = true;
30632
+ } else if (/^(no|off|false|disabled)$/i.test(val)) {
30633
+ val = false;
30634
+ } else if (val === "null") {
30635
+ val = null;
30636
+ } else {
30637
+ val = Number(val);
30638
+ }
30639
+ obj2[prop] = val;
30640
+ return obj2;
30641
+ }, {});
30642
+ function useColors() {
30643
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd);
30644
+ }
30645
+ function formatArgs(args) {
30646
+ const { namespace: name, useColors: useColors2 } = this;
30647
+ if (useColors2) {
30648
+ const c = this.color;
30649
+ const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
30650
+ const prefix = ` ${colorCode};1m${name} \x1B[0m`;
30651
+ args[0] = prefix + args[0].split("\n").join("\n" + prefix);
30652
+ args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
30653
+ } else {
30654
+ args[0] = getDate() + name + " " + args[0];
30655
+ }
30656
+ }
30657
+ function getDate() {
30658
+ if (exports2.inspectOpts.hideDate) {
30659
+ return "";
30660
+ }
30661
+ return (/* @__PURE__ */ new Date()).toISOString() + " ";
30662
+ }
30663
+ function log(...args) {
30664
+ return process.stderr.write(util.formatWithOptions(exports2.inspectOpts, ...args) + "\n");
30665
+ }
30666
+ function save(namespaces) {
30667
+ if (namespaces) {
30668
+ process.env.DEBUG = namespaces;
30669
+ } else {
30670
+ delete process.env.DEBUG;
30671
+ }
30672
+ }
30673
+ function load() {
30674
+ return process.env.DEBUG;
30675
+ }
30676
+ function init(debug2) {
30677
+ debug2.inspectOpts = {};
30678
+ const keys = Object.keys(exports2.inspectOpts);
30679
+ for (let i = 0; i < keys.length; i++) {
30680
+ debug2.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
30681
+ }
30682
+ }
30683
+ module2.exports = require_common2()(exports2);
30684
+ var { formatters } = module2.exports;
30685
+ formatters.o = function(v) {
30686
+ this.inspectOpts.colors = this.useColors;
30687
+ return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
30688
+ };
30689
+ formatters.O = function(v) {
30690
+ this.inspectOpts.colors = this.useColors;
30691
+ return util.inspect(v, this.inspectOpts);
30692
+ };
30693
+ }
30694
+ });
30695
+
30696
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js
30697
+ var require_src2 = __commonJS({
30698
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js"(exports2, module2) {
30699
+ if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
30700
+ module2.exports = require_browser2();
30701
+ } else {
30702
+ module2.exports = require_node2();
30703
+ }
30704
+ }
30705
+ });
30706
+
29426
30707
  // src/logic/adbDeviceKit.ts
29427
30708
  var adbkit = __toESM(require_dist());
29428
30709
 
@@ -29472,11 +30753,11 @@ function getAdbBinaryPath() {
29472
30753
  }
29473
30754
 
29474
30755
  // src/utils/debug.ts
29475
- import debug from "debug";
29476
- var logTask = debug("adb-kit:task");
29477
- var logInfo = debug("adb-kit:info");
29478
- var logWarning = debug("adb-kit:warning");
29479
- var logError = debug("adb-kit:error");
30756
+ var import_debug = __toESM(require_src2());
30757
+ var logTask = (0, import_debug.default)("adb-kit:task");
30758
+ var logInfo = (0, import_debug.default)("adb-kit:info");
30759
+ var logWarning = (0, import_debug.default)("adb-kit:warning");
30760
+ var logError = (0, import_debug.default)("adb-kit:error");
29480
30761
  logTask.color = "40";
29481
30762
  logInfo.color = "45";
29482
30763
  logWarning.color = "214";