vite-plugin-vue-devtools 8.0.2 → 8.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/client/assets/IconTitle.vue_vue_type_script_setup_true_lang-Enp_Ksfn.js +1 -0
  2. package/client/assets/SectionBlock-BTPkVZM2.js +1 -0
  3. package/client/assets/assets-D3XLNB-6.js +12 -0
  4. package/client/assets/components-Dza6_XRl.js +1 -0
  5. package/client/assets/custom-inspector-tab-view-_L81oF56.js +1 -0
  6. package/client/assets/{custom-tab-view-BGjRlmIC.js → custom-tab-view-CmLn18C4.js} +1 -1
  7. package/client/assets/graph-fTuEulvH.js +1020 -0
  8. package/client/assets/{index-CtdYRAx7.js → index-DH8HZ7DP.js} +213 -209
  9. package/client/assets/{index-DkeGUpKU.css → index-DVOrYgP_.css} +1 -1
  10. package/client/assets/index-lUvZHcVj.css +1 -0
  11. package/client/assets/overview-DFLns6CN.js +1 -0
  12. package/client/assets/pages-yIVwEfZL.js +1 -0
  13. package/client/assets/pinia-Cq2YPuZV.js +1 -0
  14. package/client/assets/{router-BZru8YYb.js → router-Drkf543k.js} +1 -1
  15. package/client/assets/settings-DyJW_A0F.js +1 -0
  16. package/client/assets/timeline-R3j-Lp7H.js +1 -0
  17. package/client/index.html +2 -2
  18. package/dist/vite.cjs +102 -61
  19. package/dist/vite.js +102 -61
  20. package/package.json +6 -7
  21. package/src/overlay/devtools-overlay.mjs +3 -3
  22. package/client/assets/IconTitle.vue_vue_type_script_setup_true_lang-B9Nj8PlY.js +0 -1
  23. package/client/assets/SectionBlock-BrHcKx8P.js +0 -1
  24. package/client/assets/assets-tWZ16yre.js +0 -12
  25. package/client/assets/components-EaHI7FxW.js +0 -1
  26. package/client/assets/custom-inspector-tab-view-CZIfhGNk.js +0 -1
  27. package/client/assets/graph-Dvz7NSzX.js +0 -1068
  28. package/client/assets/index-ENvNlo7R.css +0 -1
  29. package/client/assets/overview-CXo9qbzV.js +0 -1
  30. package/client/assets/pages-BLZMWMb9.js +0 -1
  31. package/client/assets/pinia-CsnX6hr4.js +0 -1
  32. package/client/assets/settings-C2YlJymx.js +0 -1
  33. package/client/assets/timeline-B5ZeLLK0.js +0 -1
package/dist/vite.cjs CHANGED
@@ -1205,7 +1205,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
1205
1205
  */
1206
1206
  if (value === CHAR_LEFT_CURLY_BRACE$1) {
1207
1207
  depth$1++;
1208
- const brace = {
1208
+ block = push({
1209
1209
  type: "brace",
1210
1210
  open: true,
1211
1211
  close: false,
@@ -1214,8 +1214,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
1214
1214
  commas: 0,
1215
1215
  ranges: 0,
1216
1216
  nodes: []
1217
- };
1218
- block = push(brace);
1217
+ });
1219
1218
  stack.push(block);
1220
1219
  push({
1221
1220
  type: "open",
@@ -1479,12 +1478,6 @@ var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
1479
1478
  const END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;
1480
1479
  const START_ANCHOR = `(?:^|${SLASH_LITERAL})`;
1481
1480
  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
1481
  const POSIX_CHARS = {
1489
1482
  DOT_LITERAL,
1490
1483
  PLUS_LITERAL,
@@ -1494,12 +1487,12 @@ var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
1494
1487
  QMARK,
1495
1488
  END_ANCHOR,
1496
1489
  DOTS_SLASH,
1497
- NO_DOT,
1498
- NO_DOTS,
1499
- NO_DOT_SLASH,
1500
- NO_DOTS_SLASH,
1501
- QMARK_NO_DOT,
1502
- STAR,
1490
+ NO_DOT: `(?!${DOT_LITERAL})`,
1491
+ NO_DOTS: `(?!${START_ANCHOR}${DOTS_SLASH})`,
1492
+ NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`,
1493
+ NO_DOTS_SLASH: `(?!${DOTS_SLASH})`,
1494
+ QMARK_NO_DOT: `[^.${SLASH_LITERAL}]`,
1495
+ STAR: `${QMARK}*?`,
1503
1496
  START_ANCHOR
1504
1497
  };
1505
1498
  /**
@@ -1671,9 +1664,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pic
1671
1664
  return output;
1672
1665
  };
1673
1666
  exports.wrapOutput = (input, state = {}, options$1 = {}) => {
1674
- const prepend = options$1.contains ? "" : "^";
1675
- const append$1 = options$1.contains ? "" : "$";
1676
- let output = `${prepend}(?:${input})${append$1}`;
1667
+ let output = `${options$1.contains ? "" : "^"}(?:${input})${options$1.contains ? "" : "$"}`;
1677
1668
  if (state.negated === true) output = `(?:^(?!${output}).*$)`;
1678
1669
  return output;
1679
1670
  };
@@ -2019,13 +2010,13 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
2019
2010
  const win32$1 = utils$12.isWindows(options$1);
2020
2011
  const PLATFORM_CHARS = constants$1.globChars(win32$1);
2021
2012
  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: NO_DOT$1, NO_DOT_SLASH: NO_DOT_SLASH$1, NO_DOTS_SLASH: NO_DOTS_SLASH$1, QMARK: QMARK$1, QMARK_NO_DOT: QMARK_NO_DOT$1, STAR: STAR$1, START_ANCHOR: START_ANCHOR$1 } = PLATFORM_CHARS;
2013
+ 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
2014
  const globstar = (opts$1) => {
2024
2015
  return `(${capture}(?:(?!${START_ANCHOR$1}${opts$1.dot ? DOTS_SLASH$1 : DOT_LITERAL$1}).)*?)`;
2025
2016
  };
2026
- const nodot = opts.dot ? "" : NO_DOT$1;
2027
- const qmarkNoDot = opts.dot ? QMARK$1 : QMARK_NO_DOT$1;
2028
- let star = opts.bash === true ? globstar(opts) : STAR$1;
2017
+ const nodot = opts.dot ? "" : NO_DOT;
2018
+ const qmarkNoDot = opts.dot ? QMARK$1 : QMARK_NO_DOT;
2019
+ let star = opts.bash === true ? globstar(opts) : STAR;
2029
2020
  if (opts.capture) star = `(${star})`;
2030
2021
  if (typeof opts.noext === "boolean") opts.noextglob = opts.noext;
2031
2022
  const state = {
@@ -2245,8 +2236,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
2245
2236
  if (inner.includes(":")) {
2246
2237
  const idx = prev.value.lastIndexOf("[");
2247
2238
  const pre = prev.value.slice(0, idx);
2248
- const rest$1 = prev.value.slice(idx + 2);
2249
- const posix = POSIX_REGEX_SOURCE[rest$1];
2239
+ const posix = POSIX_REGEX_SOURCE[prev.value.slice(idx + 2)];
2250
2240
  if (posix) {
2251
2241
  prev.value = pre + posix;
2252
2242
  state.backtrack = true;
@@ -2514,7 +2504,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
2514
2504
  push({
2515
2505
  type: "qmark",
2516
2506
  value,
2517
- output: QMARK_NO_DOT$1
2507
+ output: QMARK_NO_DOT
2518
2508
  });
2519
2509
  continue;
2520
2510
  }
@@ -2733,11 +2723,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
2733
2723
  }
2734
2724
  if (state.index === state.start || prev.type === "slash" || prev.type === "dot") {
2735
2725
  if (prev.type === "dot") {
2736
- state.output += NO_DOT_SLASH$1;
2737
- prev.output += NO_DOT_SLASH$1;
2726
+ state.output += NO_DOT_SLASH;
2727
+ prev.output += NO_DOT_SLASH;
2738
2728
  } else if (opts.dot === true) {
2739
- state.output += NO_DOTS_SLASH$1;
2740
- prev.output += NO_DOTS_SLASH$1;
2729
+ state.output += NO_DOTS_SLASH;
2730
+ prev.output += NO_DOTS_SLASH;
2741
2731
  } else {
2742
2732
  state.output += nodot;
2743
2733
  prev.output += nodot;
@@ -2790,15 +2780,15 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
2790
2780
  if (len > max) throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
2791
2781
  input = REPLACEMENTS[input] || input;
2792
2782
  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: NO_DOT$1, NO_DOTS: NO_DOTS$1, NO_DOTS_SLASH: NO_DOTS_SLASH$1, STAR: STAR$1, START_ANCHOR: START_ANCHOR$1 } = constants$1.globChars(win32$1);
2794
- const nodot = opts.dot ? NO_DOTS$1 : NO_DOT$1;
2795
- const slashDot = opts.dot ? NO_DOTS_SLASH$1 : NO_DOT$1;
2783
+ 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);
2784
+ const nodot = opts.dot ? NO_DOTS : NO_DOT;
2785
+ const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
2796
2786
  const capture = opts.capture ? "" : "?:";
2797
2787
  const state = {
2798
2788
  negated: false,
2799
2789
  prefix: ""
2800
2790
  };
2801
- let star = opts.bash === true ? ".*?" : STAR$1;
2791
+ let star = opts.bash === true ? ".*?" : STAR;
2802
2792
  if (opts.capture) star = `(${star})`;
2803
2793
  const globstar = (opts$1) => {
2804
2794
  if (opts$1.noglobstar === true) return star;
@@ -2823,8 +2813,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
2823
2813
  }
2824
2814
  }
2825
2815
  };
2826
- const output = utils$12.removePrefix(input, state);
2827
- let source = create(output);
2816
+ let source = create(utils$12.removePrefix(input, state));
2828
2817
  if (source && opts.strictSlashes !== true) source += `${SLASH_LITERAL$1}?`;
2829
2818
  return source;
2830
2819
  };
@@ -4006,6 +3995,7 @@ var require_sync$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
4006
3995
  //#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js
4007
3996
  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
3997
  Object.defineProperty(exports, "__esModule", { value: true });
3998
+ exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
4009
3999
  const fs$6 = require("fs");
4010
4000
  exports.FILE_SYSTEM_ADAPTER = {
4011
4001
  lstat: fs$6.lstat,
@@ -4215,8 +4205,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
4215
4205
  callSuccessCallback$1(callback, entries);
4216
4206
  return;
4217
4207
  }
4218
- const tasks = entries.map((entry) => makeRplTaskEntry(entry, settings));
4219
- rpl(tasks, (rplError, rplEntries) => {
4208
+ rpl(entries.map((entry) => makeRplTaskEntry(entry, settings)), (rplError, rplEntries) => {
4220
4209
  if (rplError !== null) {
4221
4210
  callFailureCallback$1(callback, rplError);
4222
4211
  return;
@@ -4252,7 +4241,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
4252
4241
  callFailureCallback$1(callback, readdirError);
4253
4242
  return;
4254
4243
  }
4255
- const tasks = names.map((name) => {
4244
+ rpl(names.map((name) => {
4256
4245
  const path$11 = common$4.joinPathSegments(directory, name, settings.pathSegmentSeparator);
4257
4246
  return (done) => {
4258
4247
  fsStat$5.stat(path$11, settings.fsStatSettings, (error, stats) => {
@@ -4269,8 +4258,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
4269
4258
  done(null, entry);
4270
4259
  });
4271
4260
  };
4272
- });
4273
- rpl(tasks, (rplError, entries) => {
4261
+ }), (rplError, entries) => {
4274
4262
  if (rplError !== null) {
4275
4263
  callFailureCallback$1(callback, rplError);
4276
4264
  return;
@@ -4338,6 +4326,7 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
4338
4326
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js
4339
4327
  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
4328
  Object.defineProperty(exports, "__esModule", { value: true });
4329
+ exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
4341
4330
  const fs$3 = require("fs");
4342
4331
  exports.FILE_SYSTEM_ADAPTER = {
4343
4332
  lstat: fs$3.lstat,
@@ -5241,8 +5230,7 @@ var require_deep = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
5241
5230
  _getEntryLevel(basePath, entryPath) {
5242
5231
  const entryPathDepth = entryPath.split("/").length;
5243
5232
  if (basePath === "") return entryPathDepth;
5244
- const basePathDepth = basePath.split("/").length;
5245
- return entryPathDepth - basePathDepth;
5233
+ return entryPathDepth - basePath.split("/").length;
5246
5234
  }
5247
5235
  _isSkippedSymbolicLink(entry) {
5248
5236
  return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
@@ -5543,6 +5531,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
5543
5531
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js
5544
5532
  var require_settings = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js": ((exports) => {
5545
5533
  Object.defineProperty(exports, "__esModule", { value: true });
5534
+ exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
5546
5535
  const fs$1 = require("fs");
5547
5536
  const os = require("os");
5548
5537
  /**
@@ -5695,7 +5684,7 @@ var require_out = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-gl
5695
5684
  }) });
5696
5685
 
5697
5686
  //#endregion
5698
- //#region ../../node_modules/.pnpm/image-meta@0.2.1/node_modules/image-meta/dist/index.mjs
5687
+ //#region ../../node_modules/.pnpm/image-meta@0.2.2/node_modules/image-meta/dist/index.mjs
5699
5688
  var import_out = /* @__PURE__ */ __toESM(require_out(), 1);
5700
5689
  const decoder = new TextDecoder();
5701
5690
  const toUTF8String = (input, start = 0, end = input.length) => decoder.decode(input.slice(start, end));
@@ -5719,8 +5708,7 @@ const methods = {
5719
5708
  function readUInt(input, bits, offset, isBigEndian) {
5720
5709
  offset = offset || 0;
5721
5710
  const endian = isBigEndian ? "BE" : "LE";
5722
- const methodName = "readUInt" + bits + endian;
5723
- return methods[methodName](input, offset);
5711
+ return methods["readUInt" + bits + endian](input, offset);
5724
5712
  }
5725
5713
  const BMP = {
5726
5714
  validate: (input) => toUTF8String(input, 0, 2) === "BM",
@@ -5788,6 +5776,66 @@ const GIF = {
5788
5776
  width: readUInt16LE(input, 6)
5789
5777
  })
5790
5778
  };
5779
+ const HEIC = {
5780
+ validate: (input) => {
5781
+ const ftypBox = findBox$1(input, "ftyp");
5782
+ if (!ftypBox) return false;
5783
+ const majorBrand = toUTF8String(input, ftypBox.offset + 8, ftypBox.offset + 12);
5784
+ return [
5785
+ "heic",
5786
+ "heix",
5787
+ "hevc",
5788
+ "hevx",
5789
+ "mif1",
5790
+ "msf1"
5791
+ ].includes(majorBrand);
5792
+ },
5793
+ calculate: (input) => {
5794
+ const metaBox = findBox$1(input, "meta");
5795
+ if (!metaBox) throw new TypeError("heic: meta box not found");
5796
+ const iprpBox = findBox$1(input, "iprp", metaBox.offset + 12, metaBox.offset + metaBox.size);
5797
+ if (!iprpBox) throw new TypeError("heic: iprp box not found");
5798
+ const ipcoBox = findBox$1(input, "ipco", iprpBox.offset + 8, iprpBox.offset + iprpBox.size);
5799
+ if (!ipcoBox) throw new TypeError("heic: ipco box not found");
5800
+ const dimensions = findAllBoxes(input, "ispe", ipcoBox.offset + 8, ipcoBox.offset + ipcoBox.size).map((box) => ({
5801
+ width: readUInt32BE(input, box.offset + 12),
5802
+ height: readUInt32BE(input, box.offset + 16)
5803
+ }));
5804
+ if (dimensions.length === 0) throw new TypeError("heic: ispe box not found");
5805
+ let largestDimension = dimensions[0];
5806
+ for (let i = 1; i < dimensions.length; i++) {
5807
+ const curr = dimensions[i];
5808
+ if (curr.width * curr.height > largestDimension.width * largestDimension.height) largestDimension = curr;
5809
+ }
5810
+ return largestDimension;
5811
+ }
5812
+ };
5813
+ function findBox$1(input, type, startOffset = 0, endOffset = input.length) {
5814
+ let offset = startOffset;
5815
+ while (offset < endOffset) {
5816
+ const size = readUInt32BE(input, offset);
5817
+ if (toUTF8String(input, offset + 4, offset + 8) === type) return {
5818
+ offset,
5819
+ size
5820
+ };
5821
+ if (size <= 0 || offset + size > endOffset) break;
5822
+ offset += size;
5823
+ }
5824
+ }
5825
+ function findAllBoxes(input, type, startOffset = 0, endOffset = input.length) {
5826
+ let offset = startOffset;
5827
+ const boxes = [];
5828
+ while (offset < endOffset) {
5829
+ const size = readUInt32BE(input, offset);
5830
+ if (toUTF8String(input, offset + 4, offset + 8) === type) boxes.push({
5831
+ offset,
5832
+ size
5833
+ });
5834
+ if (size <= 0 || offset + size > endOffset) break;
5835
+ offset += size;
5836
+ }
5837
+ return boxes;
5838
+ }
5791
5839
  const SIZE_HEADER = 8;
5792
5840
  const FILE_LENGTH_OFFSET = 4;
5793
5841
  const ENTRY_LENGTH_OFFSET = 4;
@@ -5869,11 +5917,9 @@ const J2C = {
5869
5917
  };
5870
5918
  const BoxTypes = {
5871
5919
  ftyp: "66747970",
5872
- ihdr: "69686472",
5873
5920
  jp2h: "6a703268",
5874
5921
  jp__: "6a502020",
5875
- rreq: "72726571",
5876
- xml_: "786d6c20"
5922
+ rreq: "72726571"
5877
5923
  };
5878
5924
  const calculateRREQLength = (box) => {
5879
5925
  const unit = box[0];
@@ -5896,8 +5942,7 @@ const JP2 = {
5896
5942
  if (signature !== BoxTypes.jp__ || signatureLength < 1) return false;
5897
5943
  const ftypeBoxStart = signatureLength + 4;
5898
5944
  const ftypBoxLength = readUInt32BE(input, signatureLength);
5899
- const ftypBox = input.slice(ftypeBoxStart, ftypeBoxStart + ftypBoxLength);
5900
- return toHexString(ftypBox, 0, 4) === BoxTypes.ftyp;
5945
+ return toHexString(input.slice(ftypeBoxStart, ftypeBoxStart + ftypBoxLength), 0, 4) === BoxTypes.ftyp;
5901
5946
  },
5902
5947
  calculate(input) {
5903
5948
  const signatureLength = readUInt32BE(input, 0);
@@ -6054,8 +6099,7 @@ const handlers = {
6054
6099
  const PNM = {
6055
6100
  validate: (input) => toUTF8String(input, 0, 2) in PNMTypes,
6056
6101
  calculate(input) {
6057
- const signature = toUTF8String(input, 0, 2);
6058
- const type = PNMTypes[signature];
6102
+ const type = PNMTypes[toUTF8String(input, 0, 2)];
6059
6103
  const lines = toUTF8String(input, 3).split(/[\n\r]+/);
6060
6104
  return (handlers[type] || handlers.default)(lines);
6061
6105
  }
@@ -6192,8 +6236,7 @@ const TIFF = {
6192
6236
  validate: (input) => signatures.has(toHexString(input, 0, 4)),
6193
6237
  calculate(input) {
6194
6238
  const isBigEndian = determineEndianness(input) === "BE";
6195
- const ifdBuffer = readIFD(input, isBigEndian);
6196
- const tags = extractTags(ifdBuffer, isBigEndian);
6239
+ const tags = extractTags(readIFD(input, isBigEndian), isBigEndian);
6197
6240
  const width = tags[256];
6198
6241
  const height = tags[257];
6199
6242
  if (!width || !height) throw new TypeError("Invalid Tiff. Missing tags");
@@ -6251,11 +6294,9 @@ const AVIF = {
6251
6294
  const iprpBox = findBox(input, "iprp", metaBox.offset + 12, metaBox.offset + metaBox.size);
6252
6295
  const ipcoBox = findBox(input, "ipco", iprpBox.offset + 8, iprpBox.offset + iprpBox.size);
6253
6296
  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
6297
  return {
6257
- width,
6258
- height
6298
+ width: readUInt32BE(input, ispeBox.offset + 12),
6299
+ height: readUInt32BE(input, ispeBox.offset + 16)
6259
6300
  };
6260
6301
  }
6261
6302
  };
@@ -6276,6 +6317,7 @@ const typeHandlers = {
6276
6317
  cur: CUR,
6277
6318
  dds: DDS,
6278
6319
  gif: GIF,
6320
+ heic: HEIC,
6279
6321
  icns: ICNS,
6280
6322
  ico: ICO,
6281
6323
  j2c: J2C,
@@ -6749,12 +6791,11 @@ function VitePluginVueDevTools(options$1) {
6749
6791
  }
6750
6792
  }));
6751
6793
  (0, __vue_devtools_kit.setViteServerContext)(server);
6752
- const rpcFunctions = getRpcFunctions({
6794
+ (0, __vue_devtools_core.createViteServerRpc)(getRpcFunctions({
6753
6795
  rpc: inspect.api.rpc,
6754
6796
  server,
6755
6797
  config
6756
- });
6757
- (0, __vue_devtools_core.createViteServerRpc)(rpcFunctions);
6798
+ }));
6758
6799
  const _printUrls = server.printUrls;
6759
6800
  const colorUrl = (url) => cyan(url.replace(/:(\d+)\//, (_, port) => `:${bold(port)}/`));
6760
6801
  server.printUrls = () => {