vite-plugin-vue-devtools 8.0.2 → 8.0.4
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/client/assets/IconTitle.vue_vue_type_script_setup_true_lang-B_FdkgLM.js +1 -0
- package/client/assets/SectionBlock-DpPQ0kPE.js +1 -0
- package/client/assets/assets-CK6y5fUW.js +12 -0
- package/client/assets/components-C_ueBAhv.js +1 -0
- package/client/assets/custom-inspector-tab-view-DeW1pB64.js +1 -0
- package/client/assets/{custom-tab-view-BGjRlmIC.js → custom-tab-view-Brzik6VU.js} +1 -1
- package/client/assets/graph-BOeFouqU.js +1020 -0
- package/client/assets/{index-DkeGUpKU.css → index-DVOrYgP_.css} +1 -1
- package/client/assets/{index-CtdYRAx7.js → index-UN1oN3sU.js} +213 -209
- package/client/assets/index-lUvZHcVj.css +1 -0
- package/client/assets/overview-RP5Dmibr.js +1 -0
- package/client/assets/pages-Dc7L5p5x.js +1 -0
- package/client/assets/pinia-BanCEYKW.js +1 -0
- package/client/assets/{router-BZru8YYb.js → router-B0LIl27Q.js} +1 -1
- package/client/assets/settings-CdmIq4-1.js +1 -0
- package/client/assets/timeline-CBTvOEMI.js +1 -0
- package/client/index.html +2 -2
- package/dist/vite.cjs +141 -65
- package/dist/vite.js +141 -61
- package/package.json +6 -7
- package/src/overlay/devtools-overlay.mjs +3 -3
- package/client/assets/IconTitle.vue_vue_type_script_setup_true_lang-B9Nj8PlY.js +0 -1
- package/client/assets/SectionBlock-BrHcKx8P.js +0 -1
- package/client/assets/assets-tWZ16yre.js +0 -12
- package/client/assets/components-EaHI7FxW.js +0 -1
- package/client/assets/custom-inspector-tab-view-CZIfhGNk.js +0 -1
- package/client/assets/graph-Dvz7NSzX.js +0 -1068
- package/client/assets/index-ENvNlo7R.css +0 -1
- package/client/assets/overview-CXo9qbzV.js +0 -1
- package/client/assets/pages-BLZMWMb9.js +0 -1
- package/client/assets/pinia-CsnX6hr4.js +0 -1
- package/client/assets/settings-C2YlJymx.js +0 -1
- package/client/assets/timeline-B5ZeLLK0.js +0 -1
- /package/dist/{vite.d.cts → vite-DYBstpQM.d.ts} +0 -0
- /package/dist/{vite.d.ts → vite-TAG462UM.d.cts} +0 -0
package/dist/vite.cjs
CHANGED
|
@@ -29,15 +29,11 @@ node_fs = __toESM(node_fs);
|
|
|
29
29
|
let node_path = require("node:path");
|
|
30
30
|
node_path = __toESM(node_path);
|
|
31
31
|
let node_url = require("node:url");
|
|
32
|
-
node_url = __toESM(node_url);
|
|
33
32
|
let __vue_devtools_core = require("@vue/devtools-core");
|
|
34
|
-
__vue_devtools_core = __toESM(__vue_devtools_core);
|
|
35
33
|
let __vue_devtools_kit = require("@vue/devtools-kit");
|
|
36
|
-
__vue_devtools_kit = __toESM(__vue_devtools_kit);
|
|
37
34
|
let sirv = require("sirv");
|
|
38
35
|
sirv = __toESM(sirv);
|
|
39
36
|
let vite = require("vite");
|
|
40
|
-
vite = __toESM(vite);
|
|
41
37
|
let vite_plugin_inspect = require("vite-plugin-inspect");
|
|
42
38
|
vite_plugin_inspect = __toESM(vite_plugin_inspect);
|
|
43
39
|
let vite_plugin_vue_inspector = require("vite-plugin-vue-inspector");
|
|
@@ -134,6 +130,7 @@ const DIR_CLIENT = (0, node_path.resolve)(DIR_DIST, "../client");
|
|
|
134
130
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js
|
|
135
131
|
var require_array = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js": ((exports) => {
|
|
136
132
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
133
|
+
exports.splitWhen = exports.flatten = void 0;
|
|
137
134
|
function flatten(items) {
|
|
138
135
|
return items.reduce((collection, item) => [].concat(collection, item), []);
|
|
139
136
|
}
|
|
@@ -154,6 +151,7 @@ var require_array = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
154
151
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js
|
|
155
152
|
var require_errno = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js": ((exports) => {
|
|
156
153
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
154
|
+
exports.isEnoentCodeError = void 0;
|
|
157
155
|
function isEnoentCodeError(error) {
|
|
158
156
|
return error.code === "ENOENT";
|
|
159
157
|
}
|
|
@@ -164,6 +162,7 @@ var require_errno = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
164
162
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js
|
|
165
163
|
var require_fs$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js": ((exports) => {
|
|
166
164
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
165
|
+
exports.createDirentFromStats = void 0;
|
|
167
166
|
var DirentFromStats$1 = class {
|
|
168
167
|
constructor(name, stats) {
|
|
169
168
|
this.name = name;
|
|
@@ -186,6 +185,7 @@ var require_fs$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
186
185
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js
|
|
187
186
|
var require_path = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js": ((exports) => {
|
|
188
187
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188
|
+
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
|
189
189
|
const os$1 = require("os");
|
|
190
190
|
const path$10 = require("path");
|
|
191
191
|
const IS_WINDOWS_PLATFORM = os$1.platform() === "win32";
|
|
@@ -512,6 +512,12 @@ var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/b
|
|
|
512
512
|
|
|
513
513
|
//#endregion
|
|
514
514
|
//#region ../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js
|
|
515
|
+
/*!
|
|
516
|
+
* is-number <https://github.com/jonschlinkert/is-number>
|
|
517
|
+
*
|
|
518
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
519
|
+
* Released under the MIT License.
|
|
520
|
+
*/
|
|
515
521
|
var require_is_number = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js": ((exports, module) => {
|
|
516
522
|
module.exports = function(num) {
|
|
517
523
|
if (typeof num === "number") return num - num === 0;
|
|
@@ -522,6 +528,12 @@ var require_is_number = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/i
|
|
|
522
528
|
|
|
523
529
|
//#endregion
|
|
524
530
|
//#region ../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js
|
|
531
|
+
/*!
|
|
532
|
+
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
533
|
+
*
|
|
534
|
+
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
535
|
+
* Released under the MIT License.
|
|
536
|
+
*/
|
|
525
537
|
var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js": ((exports, module) => {
|
|
526
538
|
const isNumber$1 = require_is_number();
|
|
527
539
|
const toRegexRange$1 = (min, max, options$1) => {
|
|
@@ -716,6 +728,12 @@ var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
716
728
|
|
|
717
729
|
//#endregion
|
|
718
730
|
//#region ../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js
|
|
731
|
+
/*!
|
|
732
|
+
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
733
|
+
*
|
|
734
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
735
|
+
* Licensed under the MIT License.
|
|
736
|
+
*/
|
|
719
737
|
var require_fill_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js": ((exports, module) => {
|
|
720
738
|
const util$1 = require("util");
|
|
721
739
|
const toRegexRange = require_to_regex_range();
|
|
@@ -1205,7 +1223,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
1205
1223
|
*/
|
|
1206
1224
|
if (value === CHAR_LEFT_CURLY_BRACE$1) {
|
|
1207
1225
|
depth$1++;
|
|
1208
|
-
|
|
1226
|
+
block = push({
|
|
1209
1227
|
type: "brace",
|
|
1210
1228
|
open: true,
|
|
1211
1229
|
close: false,
|
|
@@ -1214,8 +1232,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
1214
1232
|
commas: 0,
|
|
1215
1233
|
ranges: 0,
|
|
1216
1234
|
nodes: []
|
|
1217
|
-
};
|
|
1218
|
-
block = push(brace);
|
|
1235
|
+
});
|
|
1219
1236
|
stack.push(block);
|
|
1220
1237
|
push({
|
|
1221
1238
|
type: "open",
|
|
@@ -1479,12 +1496,6 @@ var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
1479
1496
|
const END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;
|
|
1480
1497
|
const START_ANCHOR = `(?:^|${SLASH_LITERAL})`;
|
|
1481
1498
|
const DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;
|
|
1482
|
-
const NO_DOT = `(?!${DOT_LITERAL})`;
|
|
1483
|
-
const NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`;
|
|
1484
|
-
const NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`;
|
|
1485
|
-
const NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;
|
|
1486
|
-
const QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;
|
|
1487
|
-
const STAR = `${QMARK}*?`;
|
|
1488
1499
|
const POSIX_CHARS = {
|
|
1489
1500
|
DOT_LITERAL,
|
|
1490
1501
|
PLUS_LITERAL,
|
|
@@ -1494,12 +1505,12 @@ var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
1494
1505
|
QMARK,
|
|
1495
1506
|
END_ANCHOR,
|
|
1496
1507
|
DOTS_SLASH,
|
|
1497
|
-
NO_DOT
|
|
1498
|
-
NO_DOTS
|
|
1499
|
-
NO_DOT_SLASH,
|
|
1500
|
-
NO_DOTS_SLASH
|
|
1501
|
-
QMARK_NO_DOT
|
|
1502
|
-
STAR
|
|
1508
|
+
NO_DOT: `(?!${DOT_LITERAL})`,
|
|
1509
|
+
NO_DOTS: `(?!${START_ANCHOR}${DOTS_SLASH})`,
|
|
1510
|
+
NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`,
|
|
1511
|
+
NO_DOTS_SLASH: `(?!${DOTS_SLASH})`,
|
|
1512
|
+
QMARK_NO_DOT: `[^.${SLASH_LITERAL}]`,
|
|
1513
|
+
STAR: `${QMARK}*?`,
|
|
1503
1514
|
START_ANCHOR
|
|
1504
1515
|
};
|
|
1505
1516
|
/**
|
|
@@ -1671,9 +1682,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pic
|
|
|
1671
1682
|
return output;
|
|
1672
1683
|
};
|
|
1673
1684
|
exports.wrapOutput = (input, state = {}, options$1 = {}) => {
|
|
1674
|
-
|
|
1675
|
-
const append$1 = options$1.contains ? "" : "$";
|
|
1676
|
-
let output = `${prepend}(?:${input})${append$1}`;
|
|
1685
|
+
let output = `${options$1.contains ? "" : "^"}(?:${input})${options$1.contains ? "" : "$"}`;
|
|
1677
1686
|
if (state.negated === true) output = `(?:^(?!${output}).*$)`;
|
|
1678
1687
|
return output;
|
|
1679
1688
|
};
|
|
@@ -2019,13 +2028,13 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2019
2028
|
const win32$1 = utils$12.isWindows(options$1);
|
|
2020
2029
|
const PLATFORM_CHARS = constants$1.globChars(win32$1);
|
|
2021
2030
|
const EXTGLOB_CHARS = constants$1.extglobChars(PLATFORM_CHARS);
|
|
2022
|
-
const { DOT_LITERAL: DOT_LITERAL$1, PLUS_LITERAL: PLUS_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT
|
|
2031
|
+
const { DOT_LITERAL: DOT_LITERAL$1, PLUS_LITERAL: PLUS_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT, NO_DOT_SLASH, NO_DOTS_SLASH, QMARK: QMARK$1, QMARK_NO_DOT, STAR, START_ANCHOR: START_ANCHOR$1 } = PLATFORM_CHARS;
|
|
2023
2032
|
const globstar = (opts$1) => {
|
|
2024
2033
|
return `(${capture}(?:(?!${START_ANCHOR$1}${opts$1.dot ? DOTS_SLASH$1 : DOT_LITERAL$1}).)*?)`;
|
|
2025
2034
|
};
|
|
2026
|
-
const nodot = opts.dot ? "" : NO_DOT
|
|
2027
|
-
const qmarkNoDot = opts.dot ? QMARK$1 : QMARK_NO_DOT
|
|
2028
|
-
let star = opts.bash === true ? globstar(opts) : STAR
|
|
2035
|
+
const nodot = opts.dot ? "" : NO_DOT;
|
|
2036
|
+
const qmarkNoDot = opts.dot ? QMARK$1 : QMARK_NO_DOT;
|
|
2037
|
+
let star = opts.bash === true ? globstar(opts) : STAR;
|
|
2029
2038
|
if (opts.capture) star = `(${star})`;
|
|
2030
2039
|
if (typeof opts.noext === "boolean") opts.noextglob = opts.noext;
|
|
2031
2040
|
const state = {
|
|
@@ -2245,8 +2254,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2245
2254
|
if (inner.includes(":")) {
|
|
2246
2255
|
const idx = prev.value.lastIndexOf("[");
|
|
2247
2256
|
const pre = prev.value.slice(0, idx);
|
|
2248
|
-
const
|
|
2249
|
-
const posix = POSIX_REGEX_SOURCE[rest$1];
|
|
2257
|
+
const posix = POSIX_REGEX_SOURCE[prev.value.slice(idx + 2)];
|
|
2250
2258
|
if (posix) {
|
|
2251
2259
|
prev.value = pre + posix;
|
|
2252
2260
|
state.backtrack = true;
|
|
@@ -2514,7 +2522,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2514
2522
|
push({
|
|
2515
2523
|
type: "qmark",
|
|
2516
2524
|
value,
|
|
2517
|
-
output: QMARK_NO_DOT
|
|
2525
|
+
output: QMARK_NO_DOT
|
|
2518
2526
|
});
|
|
2519
2527
|
continue;
|
|
2520
2528
|
}
|
|
@@ -2733,11 +2741,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2733
2741
|
}
|
|
2734
2742
|
if (state.index === state.start || prev.type === "slash" || prev.type === "dot") {
|
|
2735
2743
|
if (prev.type === "dot") {
|
|
2736
|
-
state.output += NO_DOT_SLASH
|
|
2737
|
-
prev.output += NO_DOT_SLASH
|
|
2744
|
+
state.output += NO_DOT_SLASH;
|
|
2745
|
+
prev.output += NO_DOT_SLASH;
|
|
2738
2746
|
} else if (opts.dot === true) {
|
|
2739
|
-
state.output += NO_DOTS_SLASH
|
|
2740
|
-
prev.output += NO_DOTS_SLASH
|
|
2747
|
+
state.output += NO_DOTS_SLASH;
|
|
2748
|
+
prev.output += NO_DOTS_SLASH;
|
|
2741
2749
|
} else {
|
|
2742
2750
|
state.output += nodot;
|
|
2743
2751
|
prev.output += nodot;
|
|
@@ -2790,15 +2798,15 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2790
2798
|
if (len > max) throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
|
|
2791
2799
|
input = REPLACEMENTS[input] || input;
|
|
2792
2800
|
const win32$1 = utils$12.isWindows(options$1);
|
|
2793
|
-
const { DOT_LITERAL: DOT_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT
|
|
2794
|
-
const nodot = opts.dot ? NO_DOTS
|
|
2795
|
-
const slashDot = opts.dot ? NO_DOTS_SLASH
|
|
2801
|
+
const { DOT_LITERAL: DOT_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT, NO_DOTS, NO_DOTS_SLASH, STAR, START_ANCHOR: START_ANCHOR$1 } = constants$1.globChars(win32$1);
|
|
2802
|
+
const nodot = opts.dot ? NO_DOTS : NO_DOT;
|
|
2803
|
+
const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
|
|
2796
2804
|
const capture = opts.capture ? "" : "?:";
|
|
2797
2805
|
const state = {
|
|
2798
2806
|
negated: false,
|
|
2799
2807
|
prefix: ""
|
|
2800
2808
|
};
|
|
2801
|
-
let star = opts.bash === true ? ".*?" : STAR
|
|
2809
|
+
let star = opts.bash === true ? ".*?" : STAR;
|
|
2802
2810
|
if (opts.capture) star = `(${star})`;
|
|
2803
2811
|
const globstar = (opts$1) => {
|
|
2804
2812
|
if (opts$1.noglobstar === true) return star;
|
|
@@ -2823,8 +2831,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2823
2831
|
}
|
|
2824
2832
|
}
|
|
2825
2833
|
};
|
|
2826
|
-
|
|
2827
|
-
let source = create(output);
|
|
2834
|
+
let source = create(utils$12.removePrefix(input, state));
|
|
2828
2835
|
if (source && opts.strictSlashes !== true) source += `${SLASH_LITERAL$1}?`;
|
|
2829
2836
|
return source;
|
|
2830
2837
|
};
|
|
@@ -3530,6 +3537,7 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
3530
3537
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js
|
|
3531
3538
|
var require_pattern = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js": ((exports) => {
|
|
3532
3539
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3540
|
+
exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
|
3533
3541
|
const path$6 = require("path");
|
|
3534
3542
|
const globParent = require_glob_parent();
|
|
3535
3543
|
const micromatch = require_micromatch();
|
|
@@ -3802,6 +3810,7 @@ var require_merge2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/merg
|
|
|
3802
3810
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js
|
|
3803
3811
|
var require_stream$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js": ((exports) => {
|
|
3804
3812
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3813
|
+
exports.merge = void 0;
|
|
3805
3814
|
const merge2 = require_merge2();
|
|
3806
3815
|
function merge(streams) {
|
|
3807
3816
|
const mergedStream = merge2(streams);
|
|
@@ -3822,6 +3831,7 @@ var require_stream$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fa
|
|
|
3822
3831
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js
|
|
3823
3832
|
var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js": ((exports) => {
|
|
3824
3833
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3834
|
+
exports.isEmpty = exports.isString = void 0;
|
|
3825
3835
|
function isString(input) {
|
|
3826
3836
|
return typeof input === "string";
|
|
3827
3837
|
}
|
|
@@ -3836,6 +3846,7 @@ var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast
|
|
|
3836
3846
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js
|
|
3837
3847
|
var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js": ((exports) => {
|
|
3838
3848
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3849
|
+
exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
|
|
3839
3850
|
const array = require_array();
|
|
3840
3851
|
exports.array = array;
|
|
3841
3852
|
const errno = require_errno();
|
|
@@ -3856,6 +3867,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
|
|
|
3856
3867
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js
|
|
3857
3868
|
var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js": ((exports) => {
|
|
3858
3869
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3870
|
+
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
|
3859
3871
|
const utils$9 = require_utils$1();
|
|
3860
3872
|
function generate(input, settings) {
|
|
3861
3873
|
const patterns = processPatterns(input, settings);
|
|
@@ -3950,6 +3962,7 @@ var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
3950
3962
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js
|
|
3951
3963
|
var require_async$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js": ((exports) => {
|
|
3952
3964
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3965
|
+
exports.read = void 0;
|
|
3953
3966
|
function read$3(path$11, settings, callback) {
|
|
3954
3967
|
settings.fs.lstat(path$11, (lstatError, lstat) => {
|
|
3955
3968
|
if (lstatError !== null) {
|
|
@@ -3987,6 +4000,7 @@ var require_async$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
3987
4000
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js
|
|
3988
4001
|
var require_sync$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js": ((exports) => {
|
|
3989
4002
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4003
|
+
exports.read = void 0;
|
|
3990
4004
|
function read$2(path$11, settings) {
|
|
3991
4005
|
const lstat = settings.fs.lstatSync(path$11);
|
|
3992
4006
|
if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) return lstat;
|
|
@@ -4006,6 +4020,7 @@ var require_sync$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
4006
4020
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js
|
|
4007
4021
|
var require_fs$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js": ((exports) => {
|
|
4008
4022
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4023
|
+
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4009
4024
|
const fs$6 = require("fs");
|
|
4010
4025
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
4011
4026
|
lstat: fs$6.lstat,
|
|
@@ -4044,6 +4059,7 @@ var require_settings$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
4044
4059
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js
|
|
4045
4060
|
var require_out$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js": ((exports) => {
|
|
4046
4061
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4062
|
+
exports.statSync = exports.stat = exports.Settings = void 0;
|
|
4047
4063
|
const async$1 = require_async$5();
|
|
4048
4064
|
const sync$1 = require_sync$5();
|
|
4049
4065
|
const settings_1$3 = require_settings$3();
|
|
@@ -4125,6 +4141,7 @@ var require_run_parallel = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
4125
4141
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js
|
|
4126
4142
|
var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js": ((exports) => {
|
|
4127
4143
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4144
|
+
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
|
|
4128
4145
|
const NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
|
|
4129
4146
|
if (NODE_PROCESS_VERSION_PARTS[0] === void 0 || NODE_PROCESS_VERSION_PARTS[1] === void 0) throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
|
|
4130
4147
|
const MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
|
|
@@ -4143,6 +4160,7 @@ var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@
|
|
|
4143
4160
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js
|
|
4144
4161
|
var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js": ((exports) => {
|
|
4145
4162
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4163
|
+
exports.createDirentFromStats = void 0;
|
|
4146
4164
|
var DirentFromStats = class {
|
|
4147
4165
|
constructor(name, stats) {
|
|
4148
4166
|
this.name = name;
|
|
@@ -4165,6 +4183,7 @@ var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodel
|
|
|
4165
4183
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js
|
|
4166
4184
|
var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js": ((exports) => {
|
|
4167
4185
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4186
|
+
exports.fs = void 0;
|
|
4168
4187
|
const fs$4 = require_fs$1();
|
|
4169
4188
|
exports.fs = fs$4;
|
|
4170
4189
|
}) });
|
|
@@ -4173,6 +4192,7 @@ var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@node
|
|
|
4173
4192
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js
|
|
4174
4193
|
var require_common$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js": ((exports) => {
|
|
4175
4194
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4195
|
+
exports.joinPathSegments = void 0;
|
|
4176
4196
|
function joinPathSegments$1(a, b, separator) {
|
|
4177
4197
|
/**
|
|
4178
4198
|
* The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).
|
|
@@ -4187,6 +4207,7 @@ var require_common$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@n
|
|
|
4187
4207
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js
|
|
4188
4208
|
var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js": ((exports) => {
|
|
4189
4209
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4210
|
+
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4190
4211
|
const fsStat$5 = require_out$3();
|
|
4191
4212
|
const rpl = require_run_parallel();
|
|
4192
4213
|
const constants_1$1 = require_constants();
|
|
@@ -4215,8 +4236,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4215
4236
|
callSuccessCallback$1(callback, entries);
|
|
4216
4237
|
return;
|
|
4217
4238
|
}
|
|
4218
|
-
|
|
4219
|
-
rpl(tasks, (rplError, rplEntries) => {
|
|
4239
|
+
rpl(entries.map((entry) => makeRplTaskEntry(entry, settings)), (rplError, rplEntries) => {
|
|
4220
4240
|
if (rplError !== null) {
|
|
4221
4241
|
callFailureCallback$1(callback, rplError);
|
|
4222
4242
|
return;
|
|
@@ -4252,7 +4272,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4252
4272
|
callFailureCallback$1(callback, readdirError);
|
|
4253
4273
|
return;
|
|
4254
4274
|
}
|
|
4255
|
-
|
|
4275
|
+
rpl(names.map((name) => {
|
|
4256
4276
|
const path$11 = common$4.joinPathSegments(directory, name, settings.pathSegmentSeparator);
|
|
4257
4277
|
return (done) => {
|
|
4258
4278
|
fsStat$5.stat(path$11, settings.fsStatSettings, (error, stats) => {
|
|
@@ -4269,8 +4289,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4269
4289
|
done(null, entry);
|
|
4270
4290
|
});
|
|
4271
4291
|
};
|
|
4272
|
-
})
|
|
4273
|
-
rpl(tasks, (rplError, entries) => {
|
|
4292
|
+
}), (rplError, entries) => {
|
|
4274
4293
|
if (rplError !== null) {
|
|
4275
4294
|
callFailureCallback$1(callback, rplError);
|
|
4276
4295
|
return;
|
|
@@ -4292,6 +4311,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4292
4311
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js
|
|
4293
4312
|
var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js": ((exports) => {
|
|
4294
4313
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4314
|
+
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4295
4315
|
const fsStat$4 = require_out$3();
|
|
4296
4316
|
const constants_1 = require_constants();
|
|
4297
4317
|
const utils$7 = require_utils();
|
|
@@ -4338,6 +4358,7 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
4338
4358
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js
|
|
4339
4359
|
var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js": ((exports) => {
|
|
4340
4360
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4361
|
+
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4341
4362
|
const fs$3 = require("fs");
|
|
4342
4363
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
4343
4364
|
lstat: fs$3.lstat,
|
|
@@ -4386,6 +4407,7 @@ var require_settings$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
4386
4407
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js
|
|
4387
4408
|
var require_out$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js": ((exports) => {
|
|
4388
4409
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4410
|
+
exports.Settings = exports.scandirSync = exports.scandir = void 0;
|
|
4389
4411
|
const async = require_async$4();
|
|
4390
4412
|
const sync = require_sync$4();
|
|
4391
4413
|
const settings_1$2 = require_settings$2();
|
|
@@ -4678,6 +4700,7 @@ var require_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fastq
|
|
|
4678
4700
|
//#region ../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js
|
|
4679
4701
|
var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js": ((exports) => {
|
|
4680
4702
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4703
|
+
exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
|
|
4681
4704
|
function isFatalError(settings, error) {
|
|
4682
4705
|
if (settings.errorFilter === null) return true;
|
|
4683
4706
|
return !settings.errorFilter(error);
|
|
@@ -4978,6 +5001,7 @@ var require_settings$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
4978
5001
|
//#region ../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js
|
|
4979
5002
|
var require_out$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js": ((exports) => {
|
|
4980
5003
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5004
|
+
exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
|
|
4981
5005
|
const async_1$2 = require_async$2();
|
|
4982
5006
|
const stream_1$4 = require_stream$2();
|
|
4983
5007
|
const sync_1$2 = require_sync$2();
|
|
@@ -5241,8 +5265,7 @@ var require_deep = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
5241
5265
|
_getEntryLevel(basePath, entryPath) {
|
|
5242
5266
|
const entryPathDepth = entryPath.split("/").length;
|
|
5243
5267
|
if (basePath === "") return entryPathDepth;
|
|
5244
|
-
|
|
5245
|
-
return entryPathDepth - basePathDepth;
|
|
5268
|
+
return entryPathDepth - basePath.split("/").length;
|
|
5246
5269
|
}
|
|
5247
5270
|
_isSkippedSymbolicLink(entry) {
|
|
5248
5271
|
return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
|
|
@@ -5543,6 +5566,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
5543
5566
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js
|
|
5544
5567
|
var require_settings = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js": ((exports) => {
|
|
5545
5568
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5569
|
+
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
5546
5570
|
const fs$1 = require("fs");
|
|
5547
5571
|
const os = require("os");
|
|
5548
5572
|
/**
|
|
@@ -5695,7 +5719,7 @@ var require_out = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-gl
|
|
|
5695
5719
|
}) });
|
|
5696
5720
|
|
|
5697
5721
|
//#endregion
|
|
5698
|
-
//#region ../../node_modules/.pnpm/image-meta@0.2.
|
|
5722
|
+
//#region ../../node_modules/.pnpm/image-meta@0.2.2/node_modules/image-meta/dist/index.mjs
|
|
5699
5723
|
var import_out = /* @__PURE__ */ __toESM(require_out(), 1);
|
|
5700
5724
|
const decoder = new TextDecoder();
|
|
5701
5725
|
const toUTF8String = (input, start = 0, end = input.length) => decoder.decode(input.slice(start, end));
|
|
@@ -5719,8 +5743,7 @@ const methods = {
|
|
|
5719
5743
|
function readUInt(input, bits, offset, isBigEndian) {
|
|
5720
5744
|
offset = offset || 0;
|
|
5721
5745
|
const endian = isBigEndian ? "BE" : "LE";
|
|
5722
|
-
|
|
5723
|
-
return methods[methodName](input, offset);
|
|
5746
|
+
return methods["readUInt" + bits + endian](input, offset);
|
|
5724
5747
|
}
|
|
5725
5748
|
const BMP = {
|
|
5726
5749
|
validate: (input) => toUTF8String(input, 0, 2) === "BM",
|
|
@@ -5788,6 +5811,66 @@ const GIF = {
|
|
|
5788
5811
|
width: readUInt16LE(input, 6)
|
|
5789
5812
|
})
|
|
5790
5813
|
};
|
|
5814
|
+
const HEIC = {
|
|
5815
|
+
validate: (input) => {
|
|
5816
|
+
const ftypBox = findBox$1(input, "ftyp");
|
|
5817
|
+
if (!ftypBox) return false;
|
|
5818
|
+
const majorBrand = toUTF8String(input, ftypBox.offset + 8, ftypBox.offset + 12);
|
|
5819
|
+
return [
|
|
5820
|
+
"heic",
|
|
5821
|
+
"heix",
|
|
5822
|
+
"hevc",
|
|
5823
|
+
"hevx",
|
|
5824
|
+
"mif1",
|
|
5825
|
+
"msf1"
|
|
5826
|
+
].includes(majorBrand);
|
|
5827
|
+
},
|
|
5828
|
+
calculate: (input) => {
|
|
5829
|
+
const metaBox = findBox$1(input, "meta");
|
|
5830
|
+
if (!metaBox) throw new TypeError("heic: meta box not found");
|
|
5831
|
+
const iprpBox = findBox$1(input, "iprp", metaBox.offset + 12, metaBox.offset + metaBox.size);
|
|
5832
|
+
if (!iprpBox) throw new TypeError("heic: iprp box not found");
|
|
5833
|
+
const ipcoBox = findBox$1(input, "ipco", iprpBox.offset + 8, iprpBox.offset + iprpBox.size);
|
|
5834
|
+
if (!ipcoBox) throw new TypeError("heic: ipco box not found");
|
|
5835
|
+
const dimensions = findAllBoxes(input, "ispe", ipcoBox.offset + 8, ipcoBox.offset + ipcoBox.size).map((box) => ({
|
|
5836
|
+
width: readUInt32BE(input, box.offset + 12),
|
|
5837
|
+
height: readUInt32BE(input, box.offset + 16)
|
|
5838
|
+
}));
|
|
5839
|
+
if (dimensions.length === 0) throw new TypeError("heic: ispe box not found");
|
|
5840
|
+
let largestDimension = dimensions[0];
|
|
5841
|
+
for (let i = 1; i < dimensions.length; i++) {
|
|
5842
|
+
const curr = dimensions[i];
|
|
5843
|
+
if (curr.width * curr.height > largestDimension.width * largestDimension.height) largestDimension = curr;
|
|
5844
|
+
}
|
|
5845
|
+
return largestDimension;
|
|
5846
|
+
}
|
|
5847
|
+
};
|
|
5848
|
+
function findBox$1(input, type, startOffset = 0, endOffset = input.length) {
|
|
5849
|
+
let offset = startOffset;
|
|
5850
|
+
while (offset < endOffset) {
|
|
5851
|
+
const size = readUInt32BE(input, offset);
|
|
5852
|
+
if (toUTF8String(input, offset + 4, offset + 8) === type) return {
|
|
5853
|
+
offset,
|
|
5854
|
+
size
|
|
5855
|
+
};
|
|
5856
|
+
if (size <= 0 || offset + size > endOffset) break;
|
|
5857
|
+
offset += size;
|
|
5858
|
+
}
|
|
5859
|
+
}
|
|
5860
|
+
function findAllBoxes(input, type, startOffset = 0, endOffset = input.length) {
|
|
5861
|
+
let offset = startOffset;
|
|
5862
|
+
const boxes = [];
|
|
5863
|
+
while (offset < endOffset) {
|
|
5864
|
+
const size = readUInt32BE(input, offset);
|
|
5865
|
+
if (toUTF8String(input, offset + 4, offset + 8) === type) boxes.push({
|
|
5866
|
+
offset,
|
|
5867
|
+
size
|
|
5868
|
+
});
|
|
5869
|
+
if (size <= 0 || offset + size > endOffset) break;
|
|
5870
|
+
offset += size;
|
|
5871
|
+
}
|
|
5872
|
+
return boxes;
|
|
5873
|
+
}
|
|
5791
5874
|
const SIZE_HEADER = 8;
|
|
5792
5875
|
const FILE_LENGTH_OFFSET = 4;
|
|
5793
5876
|
const ENTRY_LENGTH_OFFSET = 4;
|
|
@@ -5869,11 +5952,9 @@ const J2C = {
|
|
|
5869
5952
|
};
|
|
5870
5953
|
const BoxTypes = {
|
|
5871
5954
|
ftyp: "66747970",
|
|
5872
|
-
ihdr: "69686472",
|
|
5873
5955
|
jp2h: "6a703268",
|
|
5874
5956
|
jp__: "6a502020",
|
|
5875
|
-
rreq: "72726571"
|
|
5876
|
-
xml_: "786d6c20"
|
|
5957
|
+
rreq: "72726571"
|
|
5877
5958
|
};
|
|
5878
5959
|
const calculateRREQLength = (box) => {
|
|
5879
5960
|
const unit = box[0];
|
|
@@ -5896,8 +5977,7 @@ const JP2 = {
|
|
|
5896
5977
|
if (signature !== BoxTypes.jp__ || signatureLength < 1) return false;
|
|
5897
5978
|
const ftypeBoxStart = signatureLength + 4;
|
|
5898
5979
|
const ftypBoxLength = readUInt32BE(input, signatureLength);
|
|
5899
|
-
|
|
5900
|
-
return toHexString(ftypBox, 0, 4) === BoxTypes.ftyp;
|
|
5980
|
+
return toHexString(input.slice(ftypeBoxStart, ftypeBoxStart + ftypBoxLength), 0, 4) === BoxTypes.ftyp;
|
|
5901
5981
|
},
|
|
5902
5982
|
calculate(input) {
|
|
5903
5983
|
const signatureLength = readUInt32BE(input, 0);
|
|
@@ -6054,8 +6134,7 @@ const handlers = {
|
|
|
6054
6134
|
const PNM = {
|
|
6055
6135
|
validate: (input) => toUTF8String(input, 0, 2) in PNMTypes,
|
|
6056
6136
|
calculate(input) {
|
|
6057
|
-
const
|
|
6058
|
-
const type = PNMTypes[signature];
|
|
6137
|
+
const type = PNMTypes[toUTF8String(input, 0, 2)];
|
|
6059
6138
|
const lines = toUTF8String(input, 3).split(/[\n\r]+/);
|
|
6060
6139
|
return (handlers[type] || handlers.default)(lines);
|
|
6061
6140
|
}
|
|
@@ -6192,8 +6271,7 @@ const TIFF = {
|
|
|
6192
6271
|
validate: (input) => signatures.has(toHexString(input, 0, 4)),
|
|
6193
6272
|
calculate(input) {
|
|
6194
6273
|
const isBigEndian = determineEndianness(input) === "BE";
|
|
6195
|
-
const
|
|
6196
|
-
const tags = extractTags(ifdBuffer, isBigEndian);
|
|
6274
|
+
const tags = extractTags(readIFD(input, isBigEndian), isBigEndian);
|
|
6197
6275
|
const width = tags[256];
|
|
6198
6276
|
const height = tags[257];
|
|
6199
6277
|
if (!width || !height) throw new TypeError("Invalid Tiff. Missing tags");
|
|
@@ -6251,11 +6329,9 @@ const AVIF = {
|
|
|
6251
6329
|
const iprpBox = findBox(input, "iprp", metaBox.offset + 12, metaBox.offset + metaBox.size);
|
|
6252
6330
|
const ipcoBox = findBox(input, "ipco", iprpBox.offset + 8, iprpBox.offset + iprpBox.size);
|
|
6253
6331
|
const ispeBox = findBox(input, "ispe", ipcoBox.offset + 8, ipcoBox.offset + ipcoBox.size);
|
|
6254
|
-
const width = readUInt32BE(input, ispeBox.offset + 12);
|
|
6255
|
-
const height = readUInt32BE(input, ispeBox.offset + 16);
|
|
6256
6332
|
return {
|
|
6257
|
-
width,
|
|
6258
|
-
height
|
|
6333
|
+
width: readUInt32BE(input, ispeBox.offset + 12),
|
|
6334
|
+
height: readUInt32BE(input, ispeBox.offset + 16)
|
|
6259
6335
|
};
|
|
6260
6336
|
}
|
|
6261
6337
|
};
|
|
@@ -6276,6 +6352,7 @@ const typeHandlers = {
|
|
|
6276
6352
|
cur: CUR,
|
|
6277
6353
|
dds: DDS,
|
|
6278
6354
|
gif: GIF,
|
|
6355
|
+
heic: HEIC,
|
|
6279
6356
|
icns: ICNS,
|
|
6280
6357
|
ico: ICO,
|
|
6281
6358
|
j2c: J2C,
|
|
@@ -6749,12 +6826,11 @@ function VitePluginVueDevTools(options$1) {
|
|
|
6749
6826
|
}
|
|
6750
6827
|
}));
|
|
6751
6828
|
(0, __vue_devtools_kit.setViteServerContext)(server);
|
|
6752
|
-
|
|
6829
|
+
(0, __vue_devtools_core.createViteServerRpc)(getRpcFunctions({
|
|
6753
6830
|
rpc: inspect.api.rpc,
|
|
6754
6831
|
server,
|
|
6755
6832
|
config
|
|
6756
|
-
});
|
|
6757
|
-
(0, __vue_devtools_core.createViteServerRpc)(rpcFunctions);
|
|
6833
|
+
}));
|
|
6758
6834
|
const _printUrls = server.printUrls;
|
|
6759
6835
|
const colorUrl = (url) => cyan(url.replace(/:(\d+)\//, (_, port) => `:${bold(port)}/`));
|
|
6760
6836
|
server.printUrls = () => {
|