@voidzero-dev/vite-plus-core 0.1.2 → 0.1.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 (90) hide show
  1. package/dist/rolldown/cli.mjs +11 -22
  2. package/dist/rolldown/config.d.mts +1 -1
  3. package/dist/rolldown/config.mjs +10 -11
  4. package/dist/rolldown/experimental-index.d.mts +20 -6
  5. package/dist/rolldown/experimental-index.mjs +24 -22
  6. package/dist/rolldown/filter-index.d.mts +1 -1
  7. package/dist/rolldown/filter-index.mjs +2 -8
  8. package/dist/rolldown/get-log-filter.mjs +1 -2
  9. package/dist/rolldown/index.d.mts +3 -3
  10. package/dist/rolldown/index.mjs +10 -13
  11. package/dist/rolldown/parallel-plugin-worker.mjs +7 -9
  12. package/dist/rolldown/parallel-plugin.d.mts +1 -1
  13. package/dist/rolldown/parallel-plugin.mjs +1 -2
  14. package/dist/rolldown/parse-ast-index.d.mts +1 -1
  15. package/dist/rolldown/parse-ast-index.mjs +4 -6
  16. package/dist/rolldown/plugins-index.d.mts +3 -3
  17. package/dist/rolldown/plugins-index.mjs +4 -6
  18. package/dist/rolldown/shared/{binding-C4ZlFAt6.d.mts → binding-BohGL_65.d.mts} +10 -5
  19. package/dist/rolldown/shared/{binding-Bd04_f8P.mjs → binding-COZdHtee.mjs} +7 -16
  20. package/dist/rolldown/shared/{bindingify-input-options-ffqkmT9z.mjs → bindingify-input-options-DdW_FOGG.mjs} +33 -56
  21. package/dist/rolldown/shared/{constructors-C5a55nbY.mjs → constructors-CQlws1EK.mjs} +2 -4
  22. package/dist/rolldown/shared/{constructors-cPsD1J5w.d.mts → constructors-ColrbLxz.d.mts} +2 -2
  23. package/dist/rolldown/shared/{define-config-DX_4SBzo.d.mts → define-config-BqZZMLjO.d.mts} +66 -30
  24. package/dist/rolldown/shared/{define-config-BMj_QknW.mjs → define-config-DJOr6Iwt.mjs} +1 -2
  25. package/dist/rolldown/shared/{error-BYPsvVEN.mjs → error-FTNambir.mjs} +3 -8
  26. package/dist/rolldown/shared/{load-config-Oj1-3DPg.mjs → load-config-DBRCgd9m.mjs} +2 -4
  27. package/dist/rolldown/shared/{logs-CCc_0vhs.mjs → logs-D80CXhvg.mjs} +5 -8
  28. package/dist/rolldown/shared/{misc-Xty885dB.mjs → misc-DJYbNKZX.mjs} +1 -2
  29. package/dist/rolldown/shared/{normalize-string-or-regex-DoNa0azR.mjs → normalize-string-or-regex-CJTjKt5t.mjs} +3 -6
  30. package/dist/rolldown/shared/{parse-Wj8OTS4w.mjs → parse-q7gzDQmi.mjs} +2 -5
  31. package/dist/rolldown/shared/{prompt-CmNr0AI-.mjs → prompt-DZIXsnf9.mjs} +1 -3
  32. package/dist/rolldown/shared/{rolldown-y9H0nYAD.mjs → rolldown-BJMdRJb1.mjs} +2 -4
  33. package/dist/rolldown/shared/{rolldown-build-DkOWV5Vu.mjs → rolldown-build-DKv2K096.mjs} +424 -473
  34. package/dist/rolldown/shared/{transform-DoG7c5_r.d.mts → transform-BoJxrM-e.d.mts} +1 -1
  35. package/dist/rolldown/shared/{transform-D55YcCvB.mjs → transform-CQppMqL8.mjs} +3 -6
  36. package/dist/rolldown/shared/{watch-CVufTfok.mjs → watch-BeMWbIuq.mjs} +71 -77
  37. package/dist/rolldown/utils-index.d.mts +2 -2
  38. package/dist/rolldown/utils-index.mjs +9 -18
  39. package/dist/tsdown/{build-TmLngPCw-I7MHSf0I.js → build-TmLngPCw-CBoVPzkZ.js} +57 -150
  40. package/dist/tsdown/build-gOkJM1H9-D9ngUBpk.js +5 -0
  41. package/dist/tsdown/{chunk-CdeBBKNj.js → chunk-CSNpwdVU.js} +13 -23
  42. package/dist/tsdown/{debug-tOJ_PtrM-DITcI9An.js → debug-tOJ_PtrM-C-Do1Twv.js} +4 -6
  43. package/dist/tsdown/{detect-DK-FDZQ9-CALXiuJa.js → detect-DK-FDZQ9-CHuRhyUG.js} +2 -4
  44. package/dist/tsdown/{dist-DVPyDO-_.js → dist-Ba2DZx1w.js} +3 -6
  45. package/dist/tsdown/{dist-uzMTIu3J.js → dist-DCol2bGA.js} +24 -56
  46. package/dist/tsdown/{dist-kuoe97DJ.js → dist-_l70jCqI.js} +1 -2
  47. package/dist/tsdown/{filename-C2azOotK.js → filename-BDcjeHGl.js} +1 -3
  48. package/dist/tsdown/{index-node-Djp92Gzb-fgHTblzo.js → index-node-Djp92Gzb-B-AUHI4t.js} +2 -4
  49. package/dist/tsdown/index-types.d.ts +8 -7
  50. package/dist/tsdown/index.js +7 -9
  51. package/dist/tsdown/{main-BWoReXjl.js → main-DYgM-9Cb.js} +7 -22
  52. package/dist/tsdown/{node-Ba_UB_xO.js → node-B3Gdtau1.js} +1 -4
  53. package/dist/tsdown/npm_cjs_chunk_chunk.cjs +6 -8
  54. package/dist/tsdown/npm_cjs_chunk_lt.cjs +13 -16
  55. package/dist/tsdown/npm_cjs_chunk_range.cjs +16 -28
  56. package/dist/tsdown/npm_cjs_chunk_semver.cjs +40 -52
  57. package/dist/tsdown/npm_entry_picomatch.cjs +18 -30
  58. package/dist/tsdown/npm_entry_semver_functions_coerce.cjs +3 -7
  59. package/dist/tsdown/npm_entry_semver_functions_lt.cjs +3 -5
  60. package/dist/tsdown/npm_entry_semver_functions_satisfies.cjs +5 -8
  61. package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +5 -8
  62. package/dist/tsdown/npm_entry_tree-kill.cjs +2 -6
  63. package/dist/tsdown/{resolver-CdD-yT15-OWjlgV0D.js → resolver-CdD-yT15-3eaymYLw.js} +2 -4
  64. package/dist/tsdown/run.js +6 -12
  65. package/dist/tsdown/{tsc-D6YfZJBZ.js → tsc-CberiTDq.js} +4 -6
  66. package/dist/tsdown/{tsc-context-CGmk4Cps.js → tsc-context-DiIjfXAG.js} +2 -4
  67. package/dist/vite/client/client.mjs +4 -19
  68. package/dist/vite/client/env.mjs +1 -2
  69. package/dist/vite/node/chunks/build.js +2 -3
  70. package/dist/vite/node/chunks/build2.js +91 -243
  71. package/dist/vite/node/chunks/chunk.js +7 -13
  72. package/dist/vite/node/chunks/config.js +2 -3
  73. package/dist/vite/node/chunks/dist.js +27 -61
  74. package/dist/vite/node/chunks/dist2.js +11 -95
  75. package/dist/vite/node/chunks/lib.js +1 -7
  76. package/dist/vite/node/chunks/logger.js +3 -8
  77. package/dist/vite/node/chunks/node.js +137 -428
  78. package/dist/vite/node/chunks/optimizer.js +2 -3
  79. package/dist/vite/node/chunks/postcss-import.js +1 -13
  80. package/dist/vite/node/chunks/preview.js +2 -3
  81. package/dist/vite/node/chunks/server.js +2 -3
  82. package/dist/vite/node/cli.js +1 -4
  83. package/dist/vite/node/index.d.ts +2 -2
  84. package/dist/vite/node/index.js +1 -2
  85. package/dist/vite/node/internal.js +1 -2
  86. package/dist/vite/node/module-runner.js +44 -3
  87. package/package.json +5 -5
  88. package/dist/rolldown/cli-setup.d.mts +0 -1
  89. package/dist/rolldown/cli-setup.mjs +0 -17
  90. package/dist/tsdown/build-gOkJM1H9-BRI3DQle.js +0 -6
@@ -40,7 +40,6 @@ import { Buffer as Buffer$1 } from "node:buffer";
40
40
  import zlib from "zlib";
41
41
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
42
42
  import * as qs from "node:querystring";
43
-
44
43
  //#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js
45
44
  var require_constants$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46
45
  const WIN_SLASH = "\\\\/";
@@ -93,28 +92,24 @@ var require_constants$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
93
92
  END_ANCHOR: `(?:[${WIN_SLASH}]|$)`,
94
93
  SEP: "\\"
95
94
  };
96
- /**
97
- * POSIX Bracket Regex
98
- */
99
- const POSIX_REGEX_SOURCE = {
100
- alnum: "a-zA-Z0-9",
101
- alpha: "a-zA-Z",
102
- ascii: "\\x00-\\x7F",
103
- blank: " \\t",
104
- cntrl: "\\x00-\\x1F\\x7F",
105
- digit: "0-9",
106
- graph: "\\x21-\\x7E",
107
- lower: "a-z",
108
- print: "\\x20-\\x7E ",
109
- punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
110
- space: " \\t\\r\\n\\v\\f",
111
- upper: "A-Z",
112
- word: "A-Za-z0-9_",
113
- xdigit: "A-Fa-f0-9"
114
- };
115
95
  module.exports = {
116
96
  MAX_LENGTH: 1024 * 64,
117
- POSIX_REGEX_SOURCE,
97
+ POSIX_REGEX_SOURCE: {
98
+ alnum: "a-zA-Z0-9",
99
+ alpha: "a-zA-Z",
100
+ ascii: "\\x00-\\x7F",
101
+ blank: " \\t",
102
+ cntrl: "\\x00-\\x1F\\x7F",
103
+ digit: "0-9",
104
+ graph: "\\x21-\\x7E",
105
+ lower: "a-z",
106
+ print: "\\x20-\\x7E ",
107
+ punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
108
+ space: " \\t\\r\\n\\v\\f",
109
+ upper: "A-Z",
110
+ word: "A-Za-z0-9_",
111
+ xdigit: "A-Fa-f0-9"
112
+ },
118
113
  REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
119
114
  REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
120
115
  REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
@@ -204,7 +199,6 @@ var require_constants$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
204
199
  }
205
200
  };
206
201
  }));
207
-
208
202
  //#endregion
209
203
  //#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js
210
204
  var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -253,7 +247,6 @@ var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
253
247
  return last;
254
248
  };
255
249
  }));
256
-
257
250
  //#endregion
258
251
  //#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js
259
252
  var require_scan$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -541,7 +534,6 @@ var require_scan$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
541
534
  };
542
535
  module.exports = scan;
543
536
  }));
544
-
545
537
  //#endregion
546
538
  //#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
547
539
  var require_parse$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -1396,7 +1388,6 @@ var require_parse$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1396
1388
  };
1397
1389
  module.exports = parse;
1398
1390
  }));
1399
-
1400
1391
  //#endregion
1401
1392
  //#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js
1402
1393
  var require_picomatch$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -1687,7 +1678,6 @@ var require_picomatch$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1687
1678
  */
1688
1679
  module.exports = picomatch;
1689
1680
  }));
1690
-
1691
1681
  //#endregion
1692
1682
  //#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js
1693
1683
  var require_picomatch$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -1703,7 +1693,6 @@ var require_picomatch$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1703
1693
  Object.assign(picomatch, pico);
1704
1694
  module.exports = picomatch;
1705
1695
  }));
1706
-
1707
1696
  //#endregion
1708
1697
  //#region ../../rolldown-vite/packages/vite/src/shared/constants.ts
1709
1698
  /**
@@ -1726,7 +1715,6 @@ let SOURCEMAPPING_URL = "sourceMa";
1726
1715
  SOURCEMAPPING_URL += "ppingURL";
1727
1716
  const MODULE_RUNNER_SOURCEMAPPING_SOURCE = "//# sourceMappingSource=vite-generated";
1728
1717
  const ERR_OUTDATED_OPTIMIZED_DEP = "ERR_OUTDATED_OPTIMIZED_DEP";
1729
-
1730
1718
  //#endregion
1731
1719
  //#region ../../rolldown-vite/packages/vite/src/shared/utils.ts
1732
1720
  const isWindows = typeof process !== "undefined" && process.platform === "win32";
@@ -1775,7 +1763,6 @@ function promiseWithResolvers() {
1775
1763
  reject
1776
1764
  };
1777
1765
  }
1778
-
1779
1766
  //#endregion
1780
1767
  //#region ../../rolldown-vite/packages/vite/src/module-runner/importMetaResolver.ts
1781
1768
  const customizationHookNamespace = "vite-module-runner:import-meta-resolve/v1/";
@@ -1841,7 +1828,6 @@ const importMetaResolveWithCustomHookString = `
1841
1828
  })()
1842
1829
 
1843
1830
  `;
1844
-
1845
1831
  //#endregion
1846
1832
  //#region ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
1847
1833
  var comma = ",".charCodeAt(0);
@@ -2007,7 +1993,6 @@ function encode$1(decoded) {
2007
1993
  }
2008
1994
  return writer.flush();
2009
1995
  }
2010
-
2011
1996
  //#endregion
2012
1997
  //#region ../../node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs
2013
1998
  const schemeRegex = /^[\w+.-]+:\/\//;
@@ -2172,7 +2157,6 @@ function resolve$3(input, base) {
2172
2157
  default: return url.scheme + "//" + url.user + url.host + url.port + url.path + queryHash;
2173
2158
  }
2174
2159
  }
2175
-
2176
2160
  //#endregion
2177
2161
  //#region ../../node_modules/.pnpm/@jridgewell+trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs
2178
2162
  function stripFilename(path) {
@@ -2263,8 +2247,6 @@ function parse$3(map) {
2263
2247
  }
2264
2248
  var LINE_GTR_ZERO = "`line` must be greater than 0 (lines start at line 1)";
2265
2249
  var COL_GTR_EQ_ZERO = "`column` must be greater than or equal to 0 (columns start at column 0)";
2266
- var LEAST_UPPER_BOUND = -1;
2267
- var GREATEST_LOWER_BOUND = 1;
2268
2250
  var TraceMap = class {
2269
2251
  constructor(map, mapUrl) {
2270
2252
  const isString = typeof map === "string";
@@ -2305,7 +2287,7 @@ function traceSegment(map, line, column) {
2305
2287
  const decoded = decodedMappings(map);
2306
2288
  if (line >= decoded.length) return null;
2307
2289
  const segments = decoded[line];
2308
- const index = traceSegmentInternal(segments, cast$1(map)._decodedMemo, line, column, GREATEST_LOWER_BOUND);
2290
+ const index = traceSegmentInternal(segments, cast$1(map)._decodedMemo, line, column, 1);
2309
2291
  return index === -1 ? null : segments[index];
2310
2292
  }
2311
2293
  function originalPositionFor$1(map, needle) {
@@ -2316,7 +2298,7 @@ function originalPositionFor$1(map, needle) {
2316
2298
  const decoded = decodedMappings(map);
2317
2299
  if (line >= decoded.length) return OMapping(null, null, null, null);
2318
2300
  const segments = decoded[line];
2319
- const index = traceSegmentInternal(segments, cast$1(map)._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);
2301
+ const index = traceSegmentInternal(segments, cast$1(map)._decodedMemo, line, column, bias || 1);
2320
2302
  if (index === -1) return OMapping(null, null, null, null);
2321
2303
  const segment = segments[index];
2322
2304
  if (segment.length === 1) return OMapping(null, null, null, null);
@@ -2333,12 +2315,11 @@ function OMapping(source, line, column, name) {
2333
2315
  }
2334
2316
  function traceSegmentInternal(segments, memo, line, column, bias) {
2335
2317
  let index = memoizedBinarySearch(segments, column, memo, line);
2336
- if (found) index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);
2337
- else if (bias === LEAST_UPPER_BOUND) index++;
2318
+ if (found) index = (bias === -1 ? upperBound : lowerBound)(segments, column, index);
2319
+ else if (bias === -1) index++;
2338
2320
  if (index === -1 || index === segments.length) return -1;
2339
2321
  return index;
2340
2322
  }
2341
-
2342
2323
  //#endregion
2343
2324
  //#region ../../node_modules/.pnpm/@jridgewell+gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs
2344
2325
  var SetArray = class {
@@ -2481,7 +2462,6 @@ function skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIn
2481
2462
  if (prev.length === 1) return false;
2482
2463
  return sourcesIndex === prev[SOURCES_INDEX] && sourceLine === prev[SOURCE_LINE] && sourceColumn === prev[SOURCE_COLUMN] && namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME);
2483
2464
  }
2484
-
2485
2465
  //#endregion
2486
2466
  //#region ../../node_modules/.pnpm/@jridgewell+remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.mjs
2487
2467
  var SOURCELESS_MAPPING = /* @__PURE__ */ SegmentObject("", -1, -1, "", null, false);
@@ -2595,7 +2575,6 @@ function remapping(input, loader, options) {
2595
2575
  };
2596
2576
  return new SourceMap$1(traceMappings(buildSourceMapTree(input, loader)), opts);
2597
2577
  }
2598
-
2599
2578
  //#endregion
2600
2579
  //#region ../../node_modules/.pnpm/obug@1.0.2_ms@2.1.3/node_modules/obug/dist/core.js
2601
2580
  function coerce(value) {
@@ -2726,7 +2705,6 @@ function setup(useColors, colors, log, load, save, formatArgs, init) {
2726
2705
  createDebug.enable(load());
2727
2706
  return createDebug;
2728
2707
  }
2729
-
2730
2708
  //#endregion
2731
2709
  //#region ../../node_modules/.pnpm/obug@1.0.2_ms@2.1.3/node_modules/obug/dist/node.js
2732
2710
  const require$1 = createRequire(import.meta.url);
@@ -2876,7 +2854,6 @@ createDebug.formatters.O = function(v) {
2876
2854
  var node_default = createDebug;
2877
2855
  createDebug.default = createDebug;
2878
2856
  createDebug.debug = createDebug;
2879
-
2880
2857
  //#endregion
2881
2858
  //#region ../../node_modules/.pnpm/@rollup+pluginutils@5.3.0_rollup@4.53.3/node_modules/@rollup/pluginutils/dist/es/index.js
2882
2859
  var import_picomatch = /* @__PURE__ */ __toESM(require_picomatch$2(), 1);
@@ -3012,7 +2989,6 @@ const dataToEsm = function dataToEsm(data, options = {}) {
3012
2989
  const defaultExportCode = `export default${_}{${n}${t}${defaultExportRows.join(`,${n}${t}`)}${n}};${n}`;
3013
2990
  return `${namedExportCode}${arbitraryExportCode}${defaultExportCode}`;
3014
2991
  };
3015
-
3016
2992
  //#endregion
3017
2993
  //#region ../../rolldown-vite/packages/vite/src/shared/builtin.ts
3018
2994
  function createIsBuiltin(builtins) {
@@ -3020,7 +2996,6 @@ function createIsBuiltin(builtins) {
3020
2996
  const regexBuiltins = builtins.filter((builtin) => typeof builtin !== "string");
3021
2997
  return (id) => plainBuiltinsSet.has(id) || regexBuiltins.some((regexp) => regexp.test(id));
3022
2998
  }
3023
-
3024
2999
  //#endregion
3025
3000
  //#region ../../rolldown-vite/packages/vite/src/node/packages.ts
3026
3001
  let pnp;
@@ -3230,7 +3205,6 @@ function traverseBetweenDirs(longerDir, shorterDir, cb) {
3230
3205
  longerDir = path.dirname(longerDir);
3231
3206
  }
3232
3207
  }
3233
-
3234
3208
  //#endregion
3235
3209
  //#region ../../rolldown-vite/packages/vite/src/node/utils.ts
3236
3210
  var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
@@ -4193,7 +4167,6 @@ function monotonicDateNow() {
4193
4167
  lastDateNow++;
4194
4168
  return lastDateNow;
4195
4169
  }
4196
-
4197
4170
  //#endregion
4198
4171
  //#region ../../rolldown-vite/packages/vite/src/node/plugin.ts
4199
4172
  async function resolveEnvironmentPlugins(environment) {
@@ -4220,7 +4193,6 @@ function perEnvironmentPlugin(name, applyToEnvironment) {
4220
4193
  applyToEnvironment
4221
4194
  };
4222
4195
  }
4223
-
4224
4196
  //#endregion
4225
4197
  //#region ../../rolldown-vite/packages/vite/src/node/environment.ts
4226
4198
  /**
@@ -4242,7 +4214,6 @@ function perEnvironmentState(initial) {
4242
4214
  return state;
4243
4215
  };
4244
4216
  }
4245
-
4246
4217
  //#endregion
4247
4218
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/reporter.ts
4248
4219
  const groups = [
@@ -4465,7 +4436,6 @@ function throttle(fn) {
4465
4436
  }, 100);
4466
4437
  };
4467
4438
  }
4468
-
4469
4439
  //#endregion
4470
4440
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/esbuild.ts
4471
4441
  const debug$14 = createDebugger("vite:esbuild");
@@ -4694,7 +4664,6 @@ async function reloadOnTsconfigChange(server, changedFile) {
4694
4664
  }
4695
4665
  }
4696
4666
  }
4697
-
4698
4667
  //#endregion
4699
4668
  //#region ../../node_modules/.pnpm/artichokie@0.4.2/node_modules/artichokie/dist/index.js
4700
4669
  const AsyncFunction = async function() {}.constructor;
@@ -5029,7 +4998,6 @@ var WorkerWithFallback = class {
5029
4998
  this._fakeWorker.stop();
5030
4999
  }
5031
5000
  };
5032
-
5033
5001
  //#endregion
5034
5002
  //#region ../../node_modules/.pnpm/resolve.exports@2.0.3/node_modules/resolve.exports/dist/index.mjs
5035
5003
  function e(e, n, r) {
@@ -5079,7 +5047,6 @@ function o(e, r, t) {
5079
5047
  function f(e, r, t) {
5080
5048
  if (e.imports) return n$1(e.name, e.imports, r, t);
5081
5049
  }
5082
-
5083
5050
  //#endregion
5084
5051
  //#region ../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs
5085
5052
  const HASH_RE = /#/g;
@@ -5109,11 +5076,6 @@ function encodeQueryItem(key, value) {
5109
5076
  function stringifyQuery(query) {
5110
5077
  return Object.keys(query).filter((k) => query[k] !== void 0).map((k) => encodeQueryItem(k, query[k])).filter(Boolean).join("&");
5111
5078
  }
5112
- const protocolRelative = Symbol.for("ufo:protocolRelative");
5113
-
5114
- //#endregion
5115
- //#region ../../node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.mjs
5116
- const BUILTIN_MODULES = new Set(builtinModules);
5117
5079
  function clearImports(imports) {
5118
5080
  return (imports || "").replace(/\/\/[^\n]*\n|\/\*.*\*\//g, "").replace(/\s+/g, " ");
5119
5081
  }
@@ -5175,7 +5137,7 @@ codes.ERR_INVALID_ARG_TYPE = createError(
5175
5137
  * @param {unknown} actual
5176
5138
  */
5177
5139
  (name, expected, actual) => {
5178
- assert(typeof name === "string", "'name' must be a string");
5140
+ assert.ok(typeof name === "string", "'name' must be a string");
5179
5141
  if (!Array.isArray(expected)) expected = [expected];
5180
5142
  let message = "The ";
5181
5143
  if (name.endsWith(" argument")) message += `${name} `;
@@ -5191,10 +5153,10 @@ codes.ERR_INVALID_ARG_TYPE = createError(
5191
5153
  /** @type {Array<string>} */
5192
5154
  const other = [];
5193
5155
  for (const value of expected) {
5194
- assert(typeof value === "string", "All expected entries have to be of type string");
5156
+ assert.ok(typeof value === "string", "All expected entries have to be of type string");
5195
5157
  if (kTypes.has(value)) types.push(value.toLowerCase());
5196
5158
  else if (classRegExp.exec(value) === null) {
5197
- assert(value !== "object", "The value \"object\" should be written as \"Object\"");
5159
+ assert.ok(value !== "object", "The value \"object\" should be written as \"Object\"");
5198
5160
  other.push(value);
5199
5161
  } else instances.push(value);
5200
5162
  }
@@ -5259,7 +5221,7 @@ codes.ERR_INVALID_PACKAGE_TARGET = createError(
5259
5221
  (packagePath, key, target, isImport = false, base = void 0) => {
5260
5222
  const relatedError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
5261
5223
  if (key === ".") {
5262
- assert(isImport === false);
5224
+ assert.ok(isImport === false);
5263
5225
  return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? "; targets must start with \"./\"" : ""}`;
5264
5226
  }
5265
5227
  return `Invalid "${isImport ? "imports" : "exports"}" target ${JSON.stringify(target)} defined for '${key}' in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? "; targets must start with \"./\"" : ""}`;
@@ -5426,15 +5388,15 @@ const captureLargerStackTrace = hideStackFrames(
5426
5388
  */
5427
5389
  function getMessage(key, parameters, self) {
5428
5390
  const message = messages.get(key);
5429
- assert(message !== void 0, "expected `message` to be found");
5391
+ assert.ok(message !== void 0, "expected `message` to be found");
5430
5392
  if (typeof message === "function") {
5431
- assert(message.length <= parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`);
5393
+ assert.ok(message.length <= parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`);
5432
5394
  return Reflect.apply(message, self, parameters);
5433
5395
  }
5434
5396
  const regex = /%[dfijoOs]/g;
5435
5397
  let expectedLength = 0;
5436
5398
  while (regex.exec(message) !== null) expectedLength++;
5437
- assert(expectedLength === parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`);
5399
+ assert.ok(expectedLength === parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`);
5438
5400
  if (parameters.length === 0) return message;
5439
5401
  parameters.unshift(message);
5440
5402
  return Reflect.apply(format, null, parameters);
@@ -5455,6 +5417,7 @@ function determineSpecificType(value) {
5455
5417
  if (inspected.length > 28) inspected = `${inspected.slice(0, 25)}...`;
5456
5418
  return `type ${typeof value} (${inspected})`;
5457
5419
  }
5420
+ Object.freeze(["node", "import"]);
5458
5421
  const ESM_STATIC_IMPORT_RE = /(?<=\s|^|;|\})import\s*(?:[\s"']*(?<imports>[\p{L}\p{M}\w\t\n\r $*,/{}@.]+)from\s*)?["']\s*(?<specifier>(?<="\s*)[^"]*[^\s"](?=\s*")|(?<='\s*)[^']*[^\s'](?=\s*'))\s*["'][\s;]*/gmu;
5459
5422
  const TYPE_RE = /^\s*?type\s/;
5460
5423
  function parseStaticImport(matched) {
@@ -5481,7 +5444,6 @@ function hasESMSyntax(code, opts = {}) {
5481
5444
  if (opts.stripComments) code = code.replace(COMMENT_RE, "");
5482
5445
  return ESM_RE.test(code);
5483
5446
  }
5484
-
5485
5447
  //#endregion
5486
5448
  //#region ../../node_modules/.pnpm/es-module-lexer@1.7.0/node_modules/es-module-lexer/dist/lexer.js
5487
5449
  var ImportType;
@@ -5554,7 +5516,6 @@ const E = () => {
5554
5516
  const init = WebAssembly.compile(E()).then(WebAssembly.instantiate).then((({ exports: A }) => {
5555
5517
  C = A;
5556
5518
  }));
5557
-
5558
5519
  //#endregion
5559
5520
  //#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.3/node_modules/fdir/dist/index.mjs
5560
5521
  var __require = /* @__PURE__ */ createRequire$1(import.meta.url);
@@ -6063,7 +6024,6 @@ var Builder = class {
6063
6024
  return this;
6064
6025
  }
6065
6026
  };
6066
-
6067
6027
  //#endregion
6068
6028
  //#region ../../node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs
6069
6029
  const isReadonlyArray = Array.isArray;
@@ -6352,7 +6312,6 @@ function globSync(patternsOrOptions, options) {
6352
6312
  if (!relative) return crawler.sync();
6353
6313
  return formatPaths(crawler.sync(), relative);
6354
6314
  }
6355
-
6356
6315
  //#endregion
6357
6316
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/oxc.ts
6358
6317
  const IIFE_BEGIN_RE = /(?:(?:(?:const|var)\s+[^.\s]+|[^.\s]+\.[^.\s]+\.[^.\s]+)\s*=\s*|^|\n)\(?function\([^()]*\)\s*\{(?:\s*"use strict";)?/;
@@ -6544,7 +6503,6 @@ function convertEsbuildConfigToOxcConfig(esbuildConfig, logger) {
6544
6503
  function warnDeprecatedShouldBeConvertedToPluginOptions(logger, name) {
6545
6504
  logger.warn(import_picocolors.default.yellow(`\`esbuild.${name}\` option was specified. But this option is deprecated and will be removed in future versions. This option can be achieved by using a plugin with transform hook, please use that instead.`));
6546
6505
  }
6547
-
6548
6506
  //#endregion
6549
6507
  //#region ../../node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs
6550
6508
  var BitSet = class BitSet {
@@ -7480,7 +7438,6 @@ var MagicString = class MagicString {
7480
7438
  return this._replaceRegexp(searchValue, replacement);
7481
7439
  }
7482
7440
  };
7483
-
7484
7441
  //#endregion
7485
7442
  //#region ../../node_modules/.pnpm/@rollup+plugin-alias@6.0.0_rollup@4.53.3/node_modules/@rollup/plugin-alias/dist/index.js
7486
7443
  function matches$1(pattern, importee) {
@@ -7541,7 +7498,6 @@ function alias$1(options = {}) {
7541
7498
  }
7542
7499
  };
7543
7500
  }
7544
-
7545
7501
  //#endregion
7546
7502
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/optimizedDeps.ts
7547
7503
  const debug$13 = createDebugger("vite:optimize-deps");
@@ -7602,10 +7558,9 @@ function throwFileNotFoundInOptimizedDep(id) {
7602
7558
  err.code = ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR;
7603
7559
  throw err;
7604
7560
  }
7605
-
7606
7561
  //#endregion
7607
- //#region ../../node_modules/.pnpm/dotenv-expand@12.0.3_patch_hash=49330a663821151418e003e822a82a6a61d2f0f8a6e3cab00c1c94815a112889/node_modules/dotenv-expand/lib/main.js
7608
- var require_main = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7562
+ //#region ../../rolldown-vite/packages/vite/src/node/env.ts
7563
+ var import_main = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
7609
7564
  function _resolveEscapeSequences(value) {
7610
7565
  return value.replace(/\\\$/g, "$");
7611
7566
  }
@@ -7656,11 +7611,7 @@ var require_main = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7656
7611
  return options;
7657
7612
  }
7658
7613
  module.exports.expand = expand;
7659
- }));
7660
-
7661
- //#endregion
7662
- //#region ../../rolldown-vite/packages/vite/src/node/env.ts
7663
- var import_main = require_main();
7614
+ })))();
7664
7615
  const debug$12 = createDebugger("vite:env");
7665
7616
  function getEnvFilesForMode(mode, envDir) {
7666
7617
  if (envDir !== false) return [
@@ -7704,7 +7655,6 @@ function resolveEnvPrefix({ envPrefix = "VITE_" }) {
7704
7655
  if (envPrefix.some((prefix) => /\s/.test(prefix))) console.warn(import_picocolors.default.yellow(`[vite] Warning: envPrefix option contains values with whitespace, which does not work in practice.`));
7705
7656
  return envPrefix;
7706
7657
  }
7707
-
7708
7658
  //#endregion
7709
7659
  //#region ../../rolldown-vite/packages/vite/src/node/deprecations.ts
7710
7660
  const docsURL = "https://vite.dev";
@@ -7762,7 +7712,6 @@ function ignoreDeprecationWarnings(fn) {
7762
7712
  _ignoreDeprecationWarnings = before;
7763
7713
  return ret;
7764
7714
  }
7765
-
7766
7715
  //#endregion
7767
7716
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/error.ts
7768
7717
  function prepareError(err) {
@@ -7836,7 +7785,6 @@ function errorMiddleware(server, allowNext = false) {
7836
7785
  }
7837
7786
  };
7838
7787
  }
7839
-
7840
7788
  //#endregion
7841
7789
  //#region ../../node_modules/.pnpm/ms@2.0.0/node_modules/ms/index.js
7842
7790
  var require_ms$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -7946,7 +7894,6 @@ var require_ms$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7946
7894
  return Math.ceil(ms / n) + " " + name + "s";
7947
7895
  }
7948
7896
  }));
7949
-
7950
7897
  //#endregion
7951
7898
  //#region ../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/debug.js
7952
7899
  var require_debug$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -8087,7 +8034,6 @@ var require_debug$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8087
8034
  return val;
8088
8035
  }
8089
8036
  }));
8090
-
8091
8037
  //#endregion
8092
8038
  //#region ../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/browser.js
8093
8039
  var require_browser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -8210,7 +8156,6 @@ var require_browser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8210
8156
  } catch (e) {}
8211
8157
  }
8212
8158
  }));
8213
-
8214
8159
  //#endregion
8215
8160
  //#region ../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/node.js
8216
8161
  var require_node$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -8383,7 +8328,6 @@ var require_node$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8383
8328
  */
8384
8329
  exports.enable(load());
8385
8330
  }));
8386
-
8387
8331
  //#endregion
8388
8332
  //#region ../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/index.js
8389
8333
  var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -8394,7 +8338,6 @@ var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8394
8338
  if (typeof process !== "undefined" && process.type === "renderer") module.exports = require_browser$1();
8395
8339
  else module.exports = require_node$1();
8396
8340
  }));
8397
-
8398
8341
  //#endregion
8399
8342
  //#region ../../node_modules/.pnpm/encodeurl@1.0.2/node_modules/encodeurl/index.js
8400
8343
  /*!
@@ -8445,7 +8388,6 @@ var require_encodeurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8445
8388
  return String(url).replace(UNMATCHED_SURROGATE_PAIR_REGEXP, UNMATCHED_SURROGATE_PAIR_REPLACE).replace(ENCODE_CHARS_REGEXP, encodeURI);
8446
8389
  }
8447
8390
  }));
8448
-
8449
8391
  //#endregion
8450
8392
  //#region ../../node_modules/.pnpm/escape-html@1.0.3/node_modules/escape-html/index.js
8451
8393
  /*!
@@ -8507,7 +8449,6 @@ var require_escape_html = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8507
8449
  return lastIndex !== index ? html + str.substring(lastIndex, index) : html;
8508
8450
  }
8509
8451
  }));
8510
-
8511
8452
  //#endregion
8512
8453
  //#region ../../node_modules/.pnpm/ee-first@1.1.1/node_modules/ee-first/index.js
8513
8454
  /*!
@@ -8577,7 +8518,6 @@ var require_ee_first = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8577
8518
  };
8578
8519
  }
8579
8520
  }));
8580
-
8581
8521
  //#endregion
8582
8522
  //#region ../../node_modules/.pnpm/on-finished@2.3.0/node_modules/on-finished/index.js
8583
8523
  /*!
@@ -8723,7 +8663,6 @@ var require_on_finished = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8723
8663
  };
8724
8664
  }
8725
8665
  }));
8726
-
8727
8666
  //#endregion
8728
8667
  //#region ../../node_modules/.pnpm/parseurl@1.3.3/node_modules/parseurl/index.js
8729
8668
  /*!
@@ -8829,7 +8768,6 @@ var require_parseurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8829
8768
  return typeof parsedUrl === "object" && parsedUrl !== null && (Url === void 0 || parsedUrl instanceof Url) && parsedUrl._raw === url;
8830
8769
  }
8831
8770
  }));
8832
-
8833
8771
  //#endregion
8834
8772
  //#region ../../node_modules/.pnpm/statuses@1.5.0/node_modules/statuses/codes.json
8835
8773
  var require_codes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -8900,7 +8838,6 @@ var require_codes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8900
8838
  "511": "Network Authentication Required"
8901
8839
  };
8902
8840
  }));
8903
-
8904
8841
  //#endregion
8905
8842
  //#region ../../node_modules/.pnpm/statuses@1.5.0/node_modules/statuses/index.js
8906
8843
  /*!
@@ -8986,7 +8923,6 @@ var require_statuses = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8986
8923
  return n;
8987
8924
  }
8988
8925
  }));
8989
-
8990
8926
  //#endregion
8991
8927
  //#region ../../node_modules/.pnpm/unpipe@1.0.0/node_modules/unpipe/index.js
8992
8928
  /*!
@@ -9031,7 +8967,6 @@ var require_unpipe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9031
8967
  }
9032
8968
  }
9033
8969
  }));
9034
-
9035
8970
  //#endregion
9036
8971
  //#region ../../node_modules/.pnpm/finalhandler@1.1.2/node_modules/finalhandler/index.js
9037
8972
  /*!
@@ -9250,7 +9185,6 @@ var require_finalhandler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9250
9185
  }
9251
9186
  }
9252
9187
  }));
9253
-
9254
9188
  //#endregion
9255
9189
  //#region ../../node_modules/.pnpm/utils-merge@1.0.1/node_modules/utils-merge/index.js
9256
9190
  var require_utils_merge = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -9273,7 +9207,6 @@ var require_utils_merge = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9273
9207
  return a;
9274
9208
  };
9275
9209
  }));
9276
-
9277
9210
  //#endregion
9278
9211
  //#region ../../node_modules/.pnpm/connect@3.7.0/node_modules/connect/index.js
9279
9212
  /*!
@@ -9484,7 +9417,6 @@ var require_connect = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9484
9417
  return fqdnIndex !== -1 && url.lastIndexOf("?", fqdnIndex) === -1 ? url.substr(0, url.indexOf("/", 3 + fqdnIndex)) : void 0;
9485
9418
  }
9486
9419
  }));
9487
-
9488
9420
  //#endregion
9489
9421
  //#region ../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js
9490
9422
  /*
@@ -9536,7 +9468,6 @@ var require_object_assign = /* @__PURE__ */ __commonJSMin(((exports, module) =>
9536
9468
  return to;
9537
9469
  };
9538
9470
  }));
9539
-
9540
9471
  //#endregion
9541
9472
  //#region ../../node_modules/.pnpm/vary@1.1.2/node_modules/vary/index.js
9542
9473
  /*!
@@ -9626,7 +9557,6 @@ var require_vary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9626
9557
  if (val = append(Array.isArray(val) ? val.join(", ") : String(val), field)) res.setHeader("Vary", val);
9627
9558
  }
9628
9559
  }));
9629
-
9630
9560
  //#endregion
9631
9561
  //#region ../../node_modules/.pnpm/cors@2.8.6/node_modules/cors/lib/index.js
9632
9562
  var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -9793,7 +9723,6 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9793
9723
  module.exports = middlewareWrapper;
9794
9724
  })();
9795
9725
  }));
9796
-
9797
9726
  //#endregion
9798
9727
  //#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
9799
9728
  var require_constants$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -9846,28 +9775,24 @@ var require_constants$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9846
9775
  START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
9847
9776
  END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
9848
9777
  };
9849
- /**
9850
- * POSIX Bracket Regex
9851
- */
9852
- const POSIX_REGEX_SOURCE = {
9853
- alnum: "a-zA-Z0-9",
9854
- alpha: "a-zA-Z",
9855
- ascii: "\\x00-\\x7F",
9856
- blank: " \\t",
9857
- cntrl: "\\x00-\\x1F\\x7F",
9858
- digit: "0-9",
9859
- graph: "\\x21-\\x7E",
9860
- lower: "a-z",
9861
- print: "\\x20-\\x7E ",
9862
- punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
9863
- space: " \\t\\r\\n\\v\\f",
9864
- upper: "A-Z",
9865
- word: "A-Za-z0-9_",
9866
- xdigit: "A-Fa-f0-9"
9867
- };
9868
9778
  module.exports = {
9869
9779
  MAX_LENGTH: 1024 * 64,
9870
- POSIX_REGEX_SOURCE,
9780
+ POSIX_REGEX_SOURCE: {
9781
+ alnum: "a-zA-Z0-9",
9782
+ alpha: "a-zA-Z",
9783
+ ascii: "\\x00-\\x7F",
9784
+ blank: " \\t",
9785
+ cntrl: "\\x00-\\x1F\\x7F",
9786
+ digit: "0-9",
9787
+ graph: "\\x21-\\x7E",
9788
+ lower: "a-z",
9789
+ print: "\\x20-\\x7E ",
9790
+ punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
9791
+ space: " \\t\\r\\n\\v\\f",
9792
+ upper: "A-Z",
9793
+ word: "A-Za-z0-9_",
9794
+ xdigit: "A-Fa-f0-9"
9795
+ },
9871
9796
  REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
9872
9797
  REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
9873
9798
  REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
@@ -9957,7 +9882,6 @@ var require_constants$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9957
9882
  }
9958
9883
  };
9959
9884
  }));
9960
-
9961
9885
  //#endregion
9962
9886
  //#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js
9963
9887
  var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -10003,7 +9927,6 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
10003
9927
  return output;
10004
9928
  };
10005
9929
  }));
10006
-
10007
9930
  //#endregion
10008
9931
  //#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
10009
9932
  var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -10291,7 +10214,6 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10291
10214
  };
10292
10215
  module.exports = scan;
10293
10216
  }));
10294
-
10295
10217
  //#endregion
10296
10218
  //#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
10297
10219
  var require_parse$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -11149,7 +11071,6 @@ var require_parse$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11149
11071
  };
11150
11072
  module.exports = parse;
11151
11073
  }));
11152
-
11153
11074
  //#endregion
11154
11075
  //#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js
11155
11076
  var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -11441,13 +11362,11 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11441
11362
  */
11442
11363
  module.exports = picomatch;
11443
11364
  }));
11444
-
11445
11365
  //#endregion
11446
11366
  //#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js
11447
11367
  var require_picomatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11448
11368
  module.exports = require_picomatch$1();
11449
11369
  }));
11450
-
11451
11370
  //#endregion
11452
11371
  //#region ../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js
11453
11372
  var require_readdirp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -11702,7 +11621,6 @@ var require_readdirp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11702
11621
  readdirp.default = readdirp;
11703
11622
  module.exports = readdirp;
11704
11623
  }));
11705
-
11706
11624
  //#endregion
11707
11625
  //#region ../../node_modules/.pnpm/normalize-path@3.0.0/node_modules/normalize-path/index.js
11708
11626
  var require_normalize_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -11730,7 +11648,6 @@ var require_normalize_path = /* @__PURE__ */ __commonJSMin(((exports, module) =>
11730
11648
  return prefix + segs.join("/");
11731
11649
  };
11732
11650
  }));
11733
-
11734
11651
  //#endregion
11735
11652
  //#region ../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js
11736
11653
  var require_anymatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -11803,7 +11720,6 @@ var require_anymatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11803
11720
  anymatch.default = anymatch;
11804
11721
  module.exports = anymatch;
11805
11722
  }));
11806
-
11807
11723
  //#endregion
11808
11724
  //#region ../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js
11809
11725
  var require_is_extglob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -11823,7 +11739,6 @@ var require_is_extglob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11823
11739
  return false;
11824
11740
  };
11825
11741
  }));
11826
-
11827
11742
  //#endregion
11828
11743
  //#region ../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js
11829
11744
  var require_is_glob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -11921,7 +11836,6 @@ var require_is_glob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11921
11836
  return check(str);
11922
11837
  };
11923
11838
  }));
11924
-
11925
11839
  //#endregion
11926
11840
  //#region ../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js
11927
11841
  var require_glob_parent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -11949,7 +11863,6 @@ var require_glob_parent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11949
11863
  return str.replace(escaped, "$1");
11950
11864
  };
11951
11865
  }));
11952
-
11953
11866
  //#endregion
11954
11867
  //#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js
11955
11868
  var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -12045,7 +11958,6 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
12045
11958
  return result;
12046
11959
  };
12047
11960
  }));
12048
-
12049
11961
  //#endregion
12050
11962
  //#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js
12051
11963
  var require_stringify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -12066,7 +11978,6 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12066
11978
  return stringify(ast);
12067
11979
  };
12068
11980
  }));
12069
-
12070
11981
  //#endregion
12071
11982
  //#region ../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js
12072
11983
  /*!
@@ -12082,7 +11993,6 @@ var require_is_number = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12082
11993
  return false;
12083
11994
  };
12084
11995
  }));
12085
-
12086
11996
  //#endregion
12087
11997
  //#region ../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js
12088
11998
  /*!
@@ -12282,7 +12192,6 @@ var require_to_regex_range = /* @__PURE__ */ __commonJSMin(((exports, module) =>
12282
12192
  */
12283
12193
  module.exports = toRegexRange;
12284
12194
  }));
12285
-
12286
12195
  //#endregion
12287
12196
  //#region ../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js
12288
12197
  /*!
@@ -12447,7 +12356,6 @@ var require_fill_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12447
12356
  };
12448
12357
  module.exports = fill;
12449
12358
  }));
12450
-
12451
12359
  //#endregion
12452
12360
  //#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js
12453
12361
  var require_compile = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -12484,7 +12392,6 @@ var require_compile = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12484
12392
  };
12485
12393
  module.exports = compile;
12486
12394
  }));
12487
-
12488
12395
  //#endregion
12489
12396
  //#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js
12490
12397
  var require_expand = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -12561,7 +12468,6 @@ var require_expand = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12561
12468
  };
12562
12469
  module.exports = expand;
12563
12470
  }));
12564
-
12565
12471
  //#endregion
12566
12472
  //#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js
12567
12473
  var require_constants$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -12613,7 +12519,6 @@ var require_constants$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12613
12519
  CHAR_ZERO_WIDTH_NOBREAK_SPACE: ""
12614
12520
  };
12615
12521
  }));
12616
-
12617
12522
  //#endregion
12618
12523
  //#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js
12619
12524
  var require_parse$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -12901,7 +12806,6 @@ var require_parse$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12901
12806
  };
12902
12807
  module.exports = parse;
12903
12808
  }));
12904
-
12905
12809
  //#endregion
12906
12810
  //#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js
12907
12811
  var require_braces = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -13029,7 +12933,6 @@ var require_braces = /* @__PURE__ */ __commonJSMin(((exports, module) => {
13029
12933
  */
13030
12934
  module.exports = braces;
13031
12935
  }));
13032
-
13033
12936
  //#endregion
13034
12937
  //#region ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json
13035
12938
  var require_binary_extensions$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -13297,13 +13200,11 @@ var require_binary_extensions$1 = /* @__PURE__ */ __commonJSMin(((exports, modul
13297
13200
  "zipx"
13298
13201
  ];
13299
13202
  }));
13300
-
13301
13203
  //#endregion
13302
13204
  //#region ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js
13303
13205
  var require_binary_extensions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
13304
13206
  module.exports = require_binary_extensions$1();
13305
13207
  }));
13306
-
13307
13208
  //#endregion
13308
13209
  //#region ../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js
13309
13210
  var require_is_binary_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -13312,7 +13213,6 @@ var require_is_binary_path = /* @__PURE__ */ __commonJSMin(((exports, module) =>
13312
13213
  const extensions = new Set(binaryExtensions);
13313
13214
  module.exports = (filePath) => extensions.has(path$10.extname(filePath).slice(1).toLowerCase());
13314
13215
  }));
13315
-
13316
13216
  //#endregion
13317
13217
  //#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=8a4f9e2b397e6034b91a0508faae3cecb97f222313faa129d7cb0eb71e9d0e84/node_modules/chokidar/lib/constants.js
13318
13218
  var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -13377,7 +13277,6 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
13377
13277
  exports.isLinux = platform === "linux";
13378
13278
  exports.isIBMi = os$3.type() === "OS400";
13379
13279
  }));
13380
-
13381
13280
  //#endregion
13382
13281
  //#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=8a4f9e2b397e6034b91a0508faae3cecb97f222313faa129d7cb0eb71e9d0e84/node_modules/chokidar/lib/nodefs-handler.js
13383
13282
  var require_nodefs_handler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -13835,7 +13734,6 @@ var require_nodefs_handler = /* @__PURE__ */ __commonJSMin(((exports, module) =>
13835
13734
  };
13836
13735
  module.exports = NodeFsHandler;
13837
13736
  }));
13838
-
13839
13737
  //#endregion
13840
13738
  //#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=8a4f9e2b397e6034b91a0508faae3cecb97f222313faa129d7cb0eb71e9d0e84/node_modules/chokidar/lib/fsevents-handler.js
13841
13739
  var require_fsevents_handler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -14171,7 +14069,6 @@ var require_fsevents_handler = /* @__PURE__ */ __commonJSMin(((exports, module)
14171
14069
  module.exports = FsEventsHandler;
14172
14070
  module.exports.canUse = canUse;
14173
14071
  }));
14174
-
14175
14072
  //#endregion
14176
14073
  //#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=8a4f9e2b397e6034b91a0508faae3cecb97f222313faa129d7cb0eb71e9d0e84/node_modules/chokidar/index.js
14177
14074
  var require_chokidar = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -14856,7 +14753,6 @@ var require_chokidar = /* @__PURE__ */ __commonJSMin(((exports) => {
14856
14753
  };
14857
14754
  exports.watch = watch;
14858
14755
  }));
14859
-
14860
14756
  //#endregion
14861
14757
  //#region ../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/quote.js
14862
14758
  var require_quote = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -14870,7 +14766,6 @@ var require_quote = /* @__PURE__ */ __commonJSMin(((exports, module) => {
14870
14766
  }).join(" ");
14871
14767
  };
14872
14768
  }));
14873
-
14874
14769
  //#endregion
14875
14770
  //#region ../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/parse.js
14876
14771
  var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -15010,14 +14905,12 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15010
14905
  }, []);
15011
14906
  };
15012
14907
  }));
15013
-
15014
14908
  //#endregion
15015
14909
  //#region ../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/index.js
15016
14910
  var require_shell_quote = /* @__PURE__ */ __commonJSMin(((exports) => {
15017
14911
  exports.quote = require_quote();
15018
14912
  exports.parse = require_parse$1();
15019
14913
  }));
15020
-
15021
14914
  //#endregion
15022
14915
  //#region ../../node_modules/.pnpm/launch-editor@2.13.1/node_modules/launch-editor/editor-info/macos.js
15023
14916
  var require_macos = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -15052,7 +14945,6 @@ var require_macos = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15052
14945
  "/Applications/Zed.app/Contents/MacOS/zed": "zed"
15053
14946
  };
15054
14947
  }));
15055
-
15056
14948
  //#endregion
15057
14949
  //#region ../../node_modules/.pnpm/launch-editor@2.13.1/node_modules/launch-editor/editor-info/linux.js
15058
14950
  var require_linux = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -15087,7 +14979,6 @@ var require_linux = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15087
14979
  zed: "zed"
15088
14980
  };
15089
14981
  }));
15090
-
15091
14982
  //#endregion
15092
14983
  //#region ../../node_modules/.pnpm/launch-editor@2.13.1/node_modules/launch-editor/editor-info/windows.js
15093
14984
  var require_windows$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -15121,7 +15012,6 @@ var require_windows$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15121
15012
  "Antigravity.exe"
15122
15013
  ];
15123
15014
  }));
15124
-
15125
15015
  //#endregion
15126
15016
  //#region ../../node_modules/.pnpm/launch-editor@2.13.1/node_modules/launch-editor/guess.js
15127
15017
  var require_guess = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -15183,7 +15073,6 @@ var require_guess = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15183
15073
  return [null];
15184
15074
  };
15185
15075
  }));
15186
-
15187
15076
  //#endregion
15188
15077
  //#region ../../node_modules/.pnpm/launch-editor@2.13.1/node_modules/launch-editor/get-args.js
15189
15078
  var require_get_args = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -15263,7 +15152,6 @@ var require_get_args = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15263
15152
  return [fileName];
15264
15153
  };
15265
15154
  }));
15266
-
15267
15155
  //#endregion
15268
15156
  //#region ../../node_modules/.pnpm/launch-editor@2.13.1/node_modules/launch-editor/index.js
15269
15157
  var require_launch_editor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -15363,7 +15251,6 @@ var require_launch_editor = /* @__PURE__ */ __commonJSMin(((exports, module) =>
15363
15251
  }
15364
15252
  module.exports = launchEditor;
15365
15253
  }));
15366
-
15367
15254
  //#endregion
15368
15255
  //#region ../../node_modules/.pnpm/launch-editor-middleware@2.13.1/node_modules/launch-editor-middleware/index.js
15369
15256
  var require_launch_editor_middleware = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -15400,7 +15287,6 @@ var require_launch_editor_middleware = /* @__PURE__ */ __commonJSMin(((exports,
15400
15287
  };
15401
15288
  };
15402
15289
  }));
15403
-
15404
15290
  //#endregion
15405
15291
  //#region ../../rolldown-vite/packages/vite/src/node/http.ts
15406
15292
  async function resolveHttpServer(app, httpsOptions) {
@@ -15498,7 +15384,6 @@ function setClientErrorHandler(server, logger) {
15498
15384
  socket.end(`HTTP/1.1 ${msg}\r\n\r\n`);
15499
15385
  });
15500
15386
  }
15501
-
15502
15387
  //#endregion
15503
15388
  //#region ../../rolldown-vite/packages/vite/src/node/ssr/ssrStacktrace.ts
15504
15389
  let offset;
@@ -15560,7 +15445,6 @@ function ssrFixStacktrace(e, moduleGraph) {
15560
15445
  if (alreadyRewritten) e.message += " (The stacktrace appears to be already rewritten by something else, but was passed to vite.ssrFixStacktrace. This may cause incorrect stacktraces.)";
15561
15446
  rewroteStacktraces.add(e);
15562
15447
  }
15563
-
15564
15448
  //#endregion
15565
15449
  //#region ../../rolldown-vite/packages/vite/src/node/ssr/runtime/serverModuleRunner.ts
15566
15450
  function createHMROptions(environment, options) {
@@ -15620,7 +15504,6 @@ function createServerModuleRunner(environment, options = {}) {
15620
15504
  sourcemapInterceptor: resolveSourceMapOptions(options)
15621
15505
  }, options.evaluator);
15622
15506
  }
15623
-
15624
15507
  //#endregion
15625
15508
  //#region ../../rolldown-vite/packages/vite/src/node/ssr/ssrModuleLoader.ts
15626
15509
  async function ssrLoadModule(url, server, fixStacktrace) {
@@ -15669,7 +15552,6 @@ var SSRCompatModuleRunner = class extends ModuleRunner {
15669
15552
  }
15670
15553
  }
15671
15554
  };
15672
-
15673
15555
  //#endregion
15674
15556
  //#region ../../node_modules/.pnpm/periscopic@4.0.2/node_modules/periscopic/src/index.js
15675
15557
  /**
@@ -15710,7 +15592,6 @@ function extract_identifiers(param, nodes = []) {
15710
15592
  }
15711
15593
  return nodes;
15712
15594
  }
15713
-
15714
15595
  //#endregion
15715
15596
  //#region ../../node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/walker.js
15716
15597
  /**
@@ -15761,7 +15642,6 @@ var WalkerBase = class {
15761
15642
  else delete parent[prop];
15762
15643
  }
15763
15644
  };
15764
-
15765
15645
  //#endregion
15766
15646
  //#region ../../node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/sync.js
15767
15647
  /**
@@ -15877,7 +15757,6 @@ var SyncWalker = class extends WalkerBase {
15877
15757
  function isNode(value) {
15878
15758
  return value !== null && typeof value === "object" && "type" in value && typeof value.type === "string";
15879
15759
  }
15880
-
15881
15760
  //#endregion
15882
15761
  //#region ../../node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/index.js
15883
15762
  /**
@@ -15896,12 +15775,10 @@ function isNode(value) {
15896
15775
  function walk$1(ast, { enter, leave }) {
15897
15776
  return new SyncWalker(enter, leave).visit(ast, null);
15898
15777
  }
15899
-
15900
15778
  //#endregion
15901
15779
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/json.ts
15902
15780
  const jsonLangRE = new RegExp(`\\.(?:json|json5)(?:$|\\?)`);
15903
15781
  const isJSONRequest = (request) => jsonLangRE.test(request);
15904
-
15905
15782
  //#endregion
15906
15783
  //#region ../../rolldown-vite/packages/vite/src/node/ssr/ssrTransform.ts
15907
15784
  const ssrModuleExportsKey = `__vite_ssr_exports__`;
@@ -16207,7 +16084,6 @@ function isInDestructuringAssignment(parent, parentStack) {
16207
16084
  if (parent.type === "Property" || parent.type === "ArrayPattern") return parentStack.some((i) => i.type === "AssignmentExpression");
16208
16085
  return false;
16209
16086
  }
16210
-
16211
16087
  //#endregion
16212
16088
  //#region ../../node_modules/.pnpm/is-docker@3.0.0/node_modules/is-docker/index.js
16213
16089
  let isDockerCached;
@@ -16230,7 +16106,6 @@ function isDocker() {
16230
16106
  if (isDockerCached === void 0) isDockerCached = hasDockerEnv() || hasDockerCGroup();
16231
16107
  return isDockerCached;
16232
16108
  }
16233
-
16234
16109
  //#endregion
16235
16110
  //#region ../../node_modules/.pnpm/is-inside-container@1.0.0/node_modules/is-inside-container/index.js
16236
16111
  let cachedResult;
@@ -16246,7 +16121,6 @@ function isInsideContainer() {
16246
16121
  if (cachedResult === void 0) cachedResult = hasContainerEnv() || isDocker();
16247
16122
  return cachedResult;
16248
16123
  }
16249
-
16250
16124
  //#endregion
16251
16125
  //#region ../../node_modules/.pnpm/is-wsl@3.1.0/node_modules/is-wsl/index.js
16252
16126
  const isWsl = () => {
@@ -16262,7 +16136,6 @@ const isWsl = () => {
16262
16136
  }
16263
16137
  };
16264
16138
  var is_wsl_default = process$1.env.__IS_WSL_TEST__ ? isWsl : isWsl();
16265
-
16266
16139
  //#endregion
16267
16140
  //#region ../../node_modules/.pnpm/wsl-utils@0.1.0/node_modules/wsl-utils/index.js
16268
16141
  const wslDrivesMountPoint = (() => {
@@ -16292,7 +16165,6 @@ const powerShellPath = async () => {
16292
16165
  if (is_wsl_default) return powerShellPathFromWsl();
16293
16166
  return `${process$1.env.SYSTEMROOT || process$1.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
16294
16167
  };
16295
-
16296
16168
  //#endregion
16297
16169
  //#region ../../node_modules/.pnpm/define-lazy-prop@3.0.0/node_modules/define-lazy-prop/index.js
16298
16170
  function defineLazyProperty(object, propertyName, valueGetter) {
@@ -16315,7 +16187,6 @@ function defineLazyProperty(object, propertyName, valueGetter) {
16315
16187
  });
16316
16188
  return object;
16317
16189
  }
16318
-
16319
16190
  //#endregion
16320
16191
  //#region ../../node_modules/.pnpm/default-browser-id@5.0.1/node_modules/default-browser-id/index.js
16321
16192
  const execFileAsync$3 = promisify(execFile);
@@ -16330,7 +16201,6 @@ async function defaultBrowserId() {
16330
16201
  if (browserId === "com.apple.safari") return "com.apple.Safari";
16331
16202
  return browserId;
16332
16203
  }
16333
-
16334
16204
  //#endregion
16335
16205
  //#region ../../node_modules/.pnpm/run-applescript@7.1.0/node_modules/run-applescript/index.js
16336
16206
  const execFileAsync$2 = promisify(execFile);
@@ -16346,13 +16216,11 @@ async function runAppleScript(script, { humanReadableOutput = true, signal } = {
16346
16216
  ], execOptions);
16347
16217
  return stdout.trim();
16348
16218
  }
16349
-
16350
16219
  //#endregion
16351
16220
  //#region ../../node_modules/.pnpm/bundle-name@4.1.0/node_modules/bundle-name/index.js
16352
16221
  async function bundleName(bundleId) {
16353
16222
  return runAppleScript(`tell application "Finder" to set app_path to application file id "${bundleId}" as string\ntell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`);
16354
16223
  }
16355
-
16356
16224
  //#endregion
16357
16225
  //#region ../../node_modules/.pnpm/default-browser@5.4.0/node_modules/default-browser/windows.js
16358
16226
  const execFileAsync$1 = promisify(execFile);
@@ -16422,7 +16290,7 @@ const windowsBrowserProgIds = {
16422
16290
  id: "com.microsoft.ie"
16423
16291
  }
16424
16292
  };
16425
- const _windowsBrowserProgIdMap = new Map(Object.entries(windowsBrowserProgIds));
16293
+ new Map(Object.entries(windowsBrowserProgIds));
16426
16294
  var UnknownBrowserError = class extends Error {};
16427
16295
  async function defaultBrowser$1(_execFileAsync = execFileAsync$1) {
16428
16296
  const { stdout } = await _execFileAsync("reg", [
@@ -16438,7 +16306,6 @@ async function defaultBrowser$1(_execFileAsync = execFileAsync$1) {
16438
16306
  if (!browser) throw new UnknownBrowserError(`Unknown browser ID: ${id}`);
16439
16307
  return browser;
16440
16308
  }
16441
-
16442
16309
  //#endregion
16443
16310
  //#region ../../node_modules/.pnpm/default-browser@5.4.0/node_modules/default-browser/index.js
16444
16311
  const execFileAsync = promisify(execFile);
@@ -16466,7 +16333,6 @@ async function defaultBrowser() {
16466
16333
  if (process$1.platform === "win32") return defaultBrowser$1();
16467
16334
  throw new Error("Only macOS, Linux, and Windows are supported");
16468
16335
  }
16469
-
16470
16336
  //#endregion
16471
16337
  //#region ../../node_modules/.pnpm/open@10.2.0/node_modules/open/index.js
16472
16338
  const execFile$1 = promisify(childProcess.execFile);
@@ -16668,7 +16534,6 @@ defineLazyProperty(apps, "edge", () => detectPlatformBinary({
16668
16534
  }, { wsl: "/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe" }));
16669
16535
  defineLazyProperty(apps, "browser", () => "browser");
16670
16536
  defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
16671
-
16672
16537
  //#endregion
16673
16538
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
16674
16539
  var require_windows = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16699,7 +16564,6 @@ var require_windows = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16699
16564
  return checkStat(fs$5.statSync(path), path, options);
16700
16565
  }
16701
16566
  }));
16702
-
16703
16567
  //#endregion
16704
16568
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
16705
16569
  var require_mode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16730,7 +16594,6 @@ var require_mode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16730
16594
  return mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
16731
16595
  }
16732
16596
  }));
16733
-
16734
16597
  //#endregion
16735
16598
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
16736
16599
  var require_isexe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16773,7 +16636,6 @@ var require_isexe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16773
16636
  }
16774
16637
  }
16775
16638
  }));
16776
-
16777
16639
  //#endregion
16778
16640
  //#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
16779
16641
  var require_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16846,7 +16708,6 @@ var require_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16846
16708
  module.exports = which;
16847
16709
  which.sync = whichSync;
16848
16710
  }));
16849
-
16850
16711
  //#endregion
16851
16712
  //#region ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
16852
16713
  var require_path_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16858,7 +16719,6 @@ var require_path_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16858
16719
  module.exports = pathKey;
16859
16720
  module.exports.default = pathKey;
16860
16721
  }));
16861
-
16862
16722
  //#endregion
16863
16723
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
16864
16724
  var require_resolveCommand = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16890,7 +16750,6 @@ var require_resolveCommand = /* @__PURE__ */ __commonJSMin(((exports, module) =>
16890
16750
  }
16891
16751
  module.exports = resolveCommand;
16892
16752
  }));
16893
-
16894
16753
  //#endregion
16895
16754
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
16896
16755
  var require_escape = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16911,13 +16770,11 @@ var require_escape = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16911
16770
  module.exports.command = escapeCommand;
16912
16771
  module.exports.argument = escapeArgument;
16913
16772
  }));
16914
-
16915
16773
  //#endregion
16916
16774
  //#region ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
16917
16775
  var require_shebang_regex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16918
16776
  module.exports = /^#!(.*)/;
16919
16777
  }));
16920
-
16921
16778
  //#endregion
16922
16779
  //#region ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
16923
16780
  var require_shebang_command = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16931,7 +16788,6 @@ var require_shebang_command = /* @__PURE__ */ __commonJSMin(((exports, module) =
16931
16788
  return argument ? `${binary} ${argument}` : binary;
16932
16789
  };
16933
16790
  }));
16934
-
16935
16791
  //#endregion
16936
16792
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
16937
16793
  var require_readShebang = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16950,7 +16806,6 @@ var require_readShebang = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16950
16806
  }
16951
16807
  module.exports = readShebang;
16952
16808
  }));
16953
-
16954
16809
  //#endregion
16955
16810
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
16956
16811
  var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -17012,7 +16867,6 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
17012
16867
  }
17013
16868
  module.exports = parse;
17014
16869
  }));
17015
-
17016
16870
  //#endregion
17017
16871
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
17018
16872
  var require_enoent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -17052,10 +16906,18 @@ var require_enoent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
17052
16906
  notFoundError
17053
16907
  };
17054
16908
  }));
17055
-
17056
16909
  //#endregion
17057
- //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
17058
- var require_cross_spawn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16910
+ //#region ../../rolldown-vite/packages/vite/src/node/server/openBrowser.ts
16911
+ /**
16912
+ * The following is modified based on source found in
16913
+ * https://github.com/facebook/create-react-app
16914
+ *
16915
+ * MIT Licensed
16916
+ * Copyright (c) 2015-present, Facebook, Inc.
16917
+ * https://github.com/facebook/create-react-app/blob/main/LICENSE
16918
+ *
16919
+ */
16920
+ var import_cross_spawn = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
17059
16921
  const cp = __require$1("child_process");
17060
16922
  const parse = require_parse();
17061
16923
  const enoent = require_enoent();
@@ -17076,20 +16938,7 @@ var require_cross_spawn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
17076
16938
  module.exports.sync = spawnSync;
17077
16939
  module.exports._parse = parse;
17078
16940
  module.exports._enoent = enoent;
17079
- }));
17080
-
17081
- //#endregion
17082
- //#region ../../rolldown-vite/packages/vite/src/node/server/openBrowser.ts
17083
- /**
17084
- * The following is modified based on source found in
17085
- * https://github.com/facebook/create-react-app
17086
- *
17087
- * MIT Licensed
17088
- * Copyright (c) 2015-present, Facebook, Inc.
17089
- * https://github.com/facebook/create-react-app/blob/main/LICENSE
17090
- *
17091
- */
17092
- var import_cross_spawn = /* @__PURE__ */ __toESM(require_cross_spawn(), 1);
16941
+ })))(), 1);
17093
16942
  /**
17094
16943
  * Reads the BROWSER environment variable and decides what to do with it.
17095
16944
  */
@@ -17154,7 +17003,6 @@ function execAsync(command, options) {
17154
17003
  });
17155
17004
  });
17156
17005
  }
17157
-
17158
17006
  //#endregion
17159
17007
  //#region ../../rolldown-vite/packages/vite/src/node/shortcuts.ts
17160
17008
  function bindCLIShortcuts(server, opts, enabled = process.stdin.isTTY && !process.env.CI) {
@@ -17266,7 +17114,6 @@ const BASE_PREVIEW_SHORTCUTS = [{
17266
17114
  }
17267
17115
  }
17268
17116
  }];
17269
-
17270
17117
  //#endregion
17271
17118
  //#region ../../rolldown-vite/packages/vite/src/node/watch.ts
17272
17119
  function getResolvedOutDirs(root, outDir, outputOptions) {
@@ -17328,7 +17175,6 @@ var NoopWatcher = class extends EventEmitter {
17328
17175
  function createNoopWatcher(options) {
17329
17176
  return new NoopWatcher(options);
17330
17177
  }
17331
-
17332
17178
  //#endregion
17333
17179
  //#region ../../rolldown-vite/packages/vite/src/node/publicDir.ts
17334
17180
  const publicFilesMap = /* @__PURE__ */ new WeakMap();
@@ -17337,7 +17183,7 @@ async function initPublicFiles(config) {
17337
17183
  try {
17338
17184
  fileNames = await recursiveReaddir(config.publicDir);
17339
17185
  } catch (e) {
17340
- if (e.code === ERR_SYMLINK_IN_RECURSIVE_READDIR) return;
17186
+ if (e.code === "ERR_SYMLINK_IN_RECURSIVE_READDIR") return;
17341
17187
  throw e;
17342
17188
  }
17343
17189
  const publicFiles = new Set(fileNames.map((fileName) => fileName.slice(config.publicDir.length)));
@@ -17357,7 +17203,6 @@ function checkPublicFile(url, config) {
17357
17203
  if (!publicFile.startsWith(withTrailingSlash(publicDir))) return;
17358
17204
  return tryStatSync(publicFile)?.isFile() ? publicFile : void 0;
17359
17205
  }
17360
-
17361
17206
  //#endregion
17362
17207
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/constants.js
17363
17208
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -17381,7 +17226,6 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
17381
17226
  NOOP: () => {}
17382
17227
  };
17383
17228
  }));
17384
-
17385
17229
  //#endregion
17386
17230
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/buffer-util.js
17387
17231
  var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -17482,7 +17326,6 @@ var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
17482
17326
  };
17483
17327
  } catch (e) {}
17484
17328
  }));
17485
-
17486
17329
  //#endregion
17487
17330
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/limiter.js
17488
17331
  var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -17534,7 +17377,6 @@ var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
17534
17377
  };
17535
17378
  module.exports = Limiter;
17536
17379
  }));
17537
-
17538
17380
  //#endregion
17539
17381
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/permessage-deflate.js
17540
17382
  var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -17868,7 +17710,6 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
17868
17710
  this[kCallback](err);
17869
17711
  }
17870
17712
  }));
17871
-
17872
17713
  //#endregion
17873
17714
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/validation.js
17874
17715
  var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -18065,7 +17906,6 @@ var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
18065
17906
  };
18066
17907
  } catch (e) {}
18067
17908
  }));
18068
-
18069
17909
  //#endregion
18070
17910
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/receiver.js
18071
17911
  var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -18513,7 +18353,6 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
18513
18353
  };
18514
18354
  module.exports = Receiver;
18515
18355
  }));
18516
-
18517
18356
  //#endregion
18518
18357
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/sender.js
18519
18358
  var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -18531,10 +18370,7 @@ var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
18531
18370
  const DEFAULT = 0;
18532
18371
  const DEFLATING = 1;
18533
18372
  const GET_BLOB_DATA = 2;
18534
- /**
18535
- * HyBi Sender implementation.
18536
- */
18537
- var Sender = class Sender {
18373
+ module.exports = class Sender {
18538
18374
  /**
18539
18375
  * Creates a Sender instance.
18540
18376
  *
@@ -18979,7 +18815,6 @@ var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
18979
18815
  } else this._socket.write(list[0], cb);
18980
18816
  }
18981
18817
  };
18982
- module.exports = Sender;
18983
18818
  /**
18984
18819
  * Calls queued callbacks with an error.
18985
18820
  *
@@ -19009,7 +18844,6 @@ var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
19009
18844
  sender.onerror(err);
19010
18845
  }
19011
18846
  }));
19012
-
19013
18847
  //#endregion
19014
18848
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/event-target.js
19015
18849
  var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -19159,61 +18993,54 @@ var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
19159
18993
  }
19160
18994
  };
19161
18995
  Object.defineProperty(MessageEvent.prototype, "data", { enumerable: true });
19162
- /**
19163
- * This provides methods for emulating the `EventTarget` interface. It's not
19164
- * meant to be used directly.
19165
- *
19166
- * @mixin
19167
- */
19168
- const EventTarget = {
19169
- addEventListener(type, handler, options = {}) {
19170
- for (const listener of this.listeners(type)) if (!options[kForOnEventAttribute] && listener[kListener] === handler && !listener[kForOnEventAttribute]) return;
19171
- let wrapper;
19172
- if (type === "message") wrapper = function onMessage(data, isBinary) {
19173
- const event = new MessageEvent("message", { data: isBinary ? data : data.toString() });
19174
- event[kTarget] = this;
19175
- callListener(handler, this, event);
19176
- };
19177
- else if (type === "close") wrapper = function onClose(code, message) {
19178
- const event = new CloseEvent("close", {
19179
- code,
19180
- reason: message.toString(),
19181
- wasClean: this._closeFrameReceived && this._closeFrameSent
19182
- });
19183
- event[kTarget] = this;
19184
- callListener(handler, this, event);
19185
- };
19186
- else if (type === "error") wrapper = function onError(error) {
19187
- const event = new ErrorEvent("error", {
19188
- error,
19189
- message: error.message
19190
- });
19191
- event[kTarget] = this;
19192
- callListener(handler, this, event);
19193
- };
19194
- else if (type === "open") wrapper = function onOpen() {
19195
- const event = new Event("open");
19196
- event[kTarget] = this;
19197
- callListener(handler, this, event);
19198
- };
19199
- else return;
19200
- wrapper[kForOnEventAttribute] = !!options[kForOnEventAttribute];
19201
- wrapper[kListener] = handler;
19202
- if (options.once) this.once(type, wrapper);
19203
- else this.on(type, wrapper);
19204
- },
19205
- removeEventListener(type, handler) {
19206
- for (const listener of this.listeners(type)) if (listener[kListener] === handler && !listener[kForOnEventAttribute]) {
19207
- this.removeListener(type, listener);
19208
- break;
19209
- }
19210
- }
19211
- };
19212
18996
  module.exports = {
19213
18997
  CloseEvent,
19214
18998
  ErrorEvent,
19215
18999
  Event,
19216
- EventTarget,
19000
+ EventTarget: {
19001
+ addEventListener(type, handler, options = {}) {
19002
+ for (const listener of this.listeners(type)) if (!options[kForOnEventAttribute] && listener[kListener] === handler && !listener[kForOnEventAttribute]) return;
19003
+ let wrapper;
19004
+ if (type === "message") wrapper = function onMessage(data, isBinary) {
19005
+ const event = new MessageEvent("message", { data: isBinary ? data : data.toString() });
19006
+ event[kTarget] = this;
19007
+ callListener(handler, this, event);
19008
+ };
19009
+ else if (type === "close") wrapper = function onClose(code, message) {
19010
+ const event = new CloseEvent("close", {
19011
+ code,
19012
+ reason: message.toString(),
19013
+ wasClean: this._closeFrameReceived && this._closeFrameSent
19014
+ });
19015
+ event[kTarget] = this;
19016
+ callListener(handler, this, event);
19017
+ };
19018
+ else if (type === "error") wrapper = function onError(error) {
19019
+ const event = new ErrorEvent("error", {
19020
+ error,
19021
+ message: error.message
19022
+ });
19023
+ event[kTarget] = this;
19024
+ callListener(handler, this, event);
19025
+ };
19026
+ else if (type === "open") wrapper = function onOpen() {
19027
+ const event = new Event("open");
19028
+ event[kTarget] = this;
19029
+ callListener(handler, this, event);
19030
+ };
19031
+ else return;
19032
+ wrapper[kForOnEventAttribute] = !!options[kForOnEventAttribute];
19033
+ wrapper[kListener] = handler;
19034
+ if (options.once) this.once(type, wrapper);
19035
+ else this.on(type, wrapper);
19036
+ },
19037
+ removeEventListener(type, handler) {
19038
+ for (const listener of this.listeners(type)) if (listener[kListener] === handler && !listener[kForOnEventAttribute]) {
19039
+ this.removeListener(type, listener);
19040
+ break;
19041
+ }
19042
+ }
19043
+ },
19217
19044
  MessageEvent
19218
19045
  };
19219
19046
  /**
@@ -19229,7 +19056,6 @@ var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
19229
19056
  else listener.call(thisArg, event);
19230
19057
  }
19231
19058
  }));
19232
-
19233
19059
  //#endregion
19234
19060
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/extension.js
19235
19061
  var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -19373,7 +19199,6 @@ var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
19373
19199
  parse
19374
19200
  };
19375
19201
  }));
19376
-
19377
19202
  //#endregion
19378
19203
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/websocket.js
19379
19204
  var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -20345,7 +20170,6 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20345
20170
  }
20346
20171
  }
20347
20172
  }));
20348
-
20349
20173
  //#endregion
20350
20174
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/stream.js
20351
20175
  var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -20462,7 +20286,6 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20462
20286
  }
20463
20287
  module.exports = createWebSocketStream;
20464
20288
  }));
20465
-
20466
20289
  //#endregion
20467
20290
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/subprotocol.js
20468
20291
  var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -20502,7 +20325,6 @@ var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20502
20325
  }
20503
20326
  module.exports = { parse };
20504
20327
  }));
20505
-
20506
20328
  //#endregion
20507
20329
  //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/websocket-server.js
20508
20330
  var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -20877,15 +20699,11 @@ var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module)
20877
20699
  } else abortHandshake(socket, code, message, headers);
20878
20700
  }
20879
20701
  }));
20880
-
20881
- //#endregion
20882
- //#region ../../node_modules/.pnpm/ws@8.19.0/node_modules/ws/wrapper.mjs
20883
- var import_stream = /* @__PURE__ */ __toESM(require_stream(), 1);
20884
- var import_receiver = /* @__PURE__ */ __toESM(require_receiver(), 1);
20885
- var import_sender = /* @__PURE__ */ __toESM(require_sender(), 1);
20886
- var import_websocket = /* @__PURE__ */ __toESM(require_websocket(), 1);
20702
+ require_stream();
20703
+ require_receiver();
20704
+ require_sender();
20705
+ require_websocket();
20887
20706
  var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
20888
-
20889
20707
  //#endregion
20890
20708
  //#region ../../node_modules/.pnpm/host-validation-middleware@0.1.2/node_modules/host-validation-middleware/dist/index.js
20891
20709
  /**
@@ -20965,11 +20783,9 @@ function hostValidationMiddleware$2(options) {
20965
20783
  function generateDefaultErrorMessage(hostname) {
20966
20784
  return `Blocked request. This host (${JSON.stringify(hostname)}) is not allowed.`;
20967
20785
  }
20968
-
20969
20786
  //#endregion
20970
20787
  //#region ../../rolldown-vite/packages/vite/src/node/server/ws.ts
20971
20788
  const WebSocketServerRaw = process.versions.bun ? import.meta.require("ws").WebSocketServer : import_websocket_server.default;
20972
- const HMR_HEADER = "vite-hmr";
20973
20789
  const isWebSocketServer = Symbol("isWebSocketServer");
20974
20790
  const wsServerEvents = [
20975
20791
  "connection",
@@ -21041,7 +20857,7 @@ function createWebSocketServer(server, config, httpsOptions) {
21041
20857
  hmrServerWsListener = (req, socket, head) => {
21042
20858
  const protocol = req.headers["sec-websocket-protocol"];
21043
20859
  const parsedUrl = new URL(`http://example.com${req.url}`);
21044
- if ([HMR_HEADER, "vite-ping"].includes(protocol) && parsedUrl.pathname === hmrBase) handleUpgrade(req, socket, head, protocol === "vite-ping");
20860
+ if (["vite-hmr", "vite-ping"].includes(protocol) && parsedUrl.pathname === hmrBase) handleUpgrade(req, socket, head, protocol === "vite-ping");
21045
20861
  };
21046
20862
  wsServer.on("upgrade", hmrServerWsListener);
21047
20863
  } else {
@@ -21186,7 +21002,6 @@ function createWebSocketServer(server, config, httpsOptions) {
21186
21002
  }
21187
21003
  };
21188
21004
  }
21189
-
21190
21005
  //#endregion
21191
21006
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/base.ts
21192
21007
  function baseMiddleware(rawBase, middlewareMode) {
@@ -21216,7 +21031,6 @@ function baseMiddleware(rawBase, middlewareMode) {
21216
21031
  }
21217
21032
  };
21218
21033
  }
21219
-
21220
21034
  //#endregion
21221
21035
  //#region ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
21222
21036
  var require_ms = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -21335,7 +21149,6 @@ var require_ms = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21335
21149
  return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
21336
21150
  }
21337
21151
  }));
21338
-
21339
21152
  //#endregion
21340
21153
  //#region ../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/common.js
21341
21154
  var require_common$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -21538,7 +21351,6 @@ var require_common$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21538
21351
  }
21539
21352
  module.exports = setup;
21540
21353
  }));
21541
-
21542
21354
  //#endregion
21543
21355
  //#region ../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/browser.js
21544
21356
  var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -21735,7 +21547,6 @@ var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21735
21547
  }
21736
21548
  };
21737
21549
  }));
21738
-
21739
21550
  //#endregion
21740
21551
  //#region ../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/node.js
21741
21552
  var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -21943,7 +21754,6 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21943
21754
  return util.inspect(v, this.inspectOpts);
21944
21755
  };
21945
21756
  }));
21946
-
21947
21757
  //#endregion
21948
21758
  //#region ../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/index.js
21949
21759
  var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -21954,7 +21764,6 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21954
21764
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) module.exports = require_browser();
21955
21765
  else module.exports = require_node();
21956
21766
  }));
21957
-
21958
21767
  //#endregion
21959
21768
  //#region ../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.4.3/node_modules/follow-redirects/debug.js
21960
21769
  var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -21969,7 +21778,6 @@ var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21969
21778
  debug.apply(null, arguments);
21970
21779
  };
21971
21780
  }));
21972
-
21973
21781
  //#endregion
21974
21782
  //#region ../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.4.3/node_modules/follow-redirects/index.js
21975
21783
  var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -22400,7 +22208,6 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
22400
22208
  });
22401
22209
  module.exports.wrap = wrap;
22402
22210
  }));
22403
-
22404
22211
  //#endregion
22405
22212
  //#region ../../node_modules/.pnpm/http-proxy-3@1.23.2/node_modules/http-proxy-3/dist/lib/http-proxy/common.js
22406
22213
  var require_common = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -22551,7 +22358,6 @@ var require_common = /* @__PURE__ */ __commonJSMin(((exports) => {
22551
22358
  return port !== 0;
22552
22359
  }
22553
22360
  }));
22554
-
22555
22361
  //#endregion
22556
22362
  //#region ../../node_modules/.pnpm/http-proxy-3@1.23.2/node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-outgoing.js
22557
22363
  var require_web_outgoing = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -22663,7 +22469,6 @@ var require_web_outgoing = /* @__PURE__ */ __commonJSMin(((exports) => {
22663
22469
  writeStatusCode
22664
22470
  };
22665
22471
  }));
22666
-
22667
22472
  //#endregion
22668
22473
  //#region ../../node_modules/.pnpm/http-proxy-3@1.23.2/node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-incoming.js
22669
22474
  var require_web_incoming = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -22919,7 +22724,6 @@ var require_web_incoming = /* @__PURE__ */ __commonJSMin(((exports) => {
22919
22724
  stream
22920
22725
  };
22921
22726
  }));
22922
-
22923
22727
  //#endregion
22924
22728
  //#region ../../node_modules/.pnpm/http-proxy-3@1.23.2/node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.js
22925
22729
  var require_ws_incoming = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -23129,7 +22933,6 @@ var require_ws_incoming = /* @__PURE__ */ __commonJSMin(((exports) => {
23129
22933
  stream
23130
22934
  };
23131
22935
  }));
23132
-
23133
22936
  //#endregion
23134
22937
  //#region ../../node_modules/.pnpm/http-proxy-3@1.23.2/node_modules/http-proxy-3/dist/lib/http-proxy/index.js
23135
22938
  var require_http_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -23187,7 +22990,7 @@ var require_http_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
23187
22990
  const debug_1 = __importDefault(require_src$2());
23188
22991
  const common_1 = require_common();
23189
22992
  const log = (0, debug_1.default)("http-proxy-3");
23190
- var ProxyServer = class ProxyServer extends node_events_1.EventEmitter {
22993
+ exports.ProxyServer = class ProxyServer extends node_events_1.EventEmitter {
23191
22994
  /**
23192
22995
  * Creates the proxy server with specified options.
23193
22996
  * @param options - Config object passed to the proxy
@@ -23338,12 +23141,10 @@ var require_http_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
23338
23141
  return new ProxyServer(options);
23339
23142
  }
23340
23143
  };
23341
- exports.ProxyServer = ProxyServer;
23342
23144
  }));
23343
-
23344
23145
  //#endregion
23345
- //#region ../../node_modules/.pnpm/http-proxy-3@1.23.2/node_modules/http-proxy-3/dist/lib/index.js
23346
- var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
23146
+ //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/proxy.ts
23147
+ var import_lib$1 = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports) => {
23347
23148
  Object.defineProperty(exports, "__esModule", { value: true });
23348
23149
  exports.numOpenSockets = exports.ProxyServer = void 0;
23349
23150
  exports.createProxyServer = createProxyServer;
@@ -23378,11 +23179,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
23378
23179
  function createProxyServer(options = {}) {
23379
23180
  return new index_1.ProxyServer(options);
23380
23181
  }
23381
- }));
23382
-
23383
- //#endregion
23384
- //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/proxy.ts
23385
- var import_lib$1 = /* @__PURE__ */ __toESM(require_lib(), 1);
23182
+ })))(), 1);
23386
23183
  const debug$11 = createDebugger("vite:proxy");
23387
23184
  const rewriteOriginHeader = (proxyReq, options, config) => {
23388
23185
  if (options.rewriteWsOrigin) {
@@ -23498,7 +23295,6 @@ function proxyMiddleware(httpServer, options, config) {
23498
23295
  function doesProxyContextMatchUrl(context, url) {
23499
23296
  return context[0] === "^" && new RegExp(context).test(url) || url.startsWith(context);
23500
23297
  }
23501
-
23502
23298
  //#endregion
23503
23299
  //#region ../../node_modules/.pnpm/etag@1.8.1/node_modules/etag/index.js
23504
23300
  /*!
@@ -23575,10 +23371,9 @@ var require_etag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23575
23371
  return "\"" + stat.size.toString(16) + "-" + mtime + "\"";
23576
23372
  }
23577
23373
  }));
23578
-
23579
23374
  //#endregion
23580
- //#region ../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js
23581
- var require_js_tokens = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23375
+ //#region ../../node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs
23376
+ var import_js_tokens = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
23582
23377
  var HashbangComment, Identifier, JSXIdentifier, JSXPunctuator, JSXString, JSXText, KeywordsWithExpressionAfter, KeywordsWithNoLineTerminatorAfter, LineTerminatorSequence, MultiLineComment, Newline, NumericLiteral, Punctuator, RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy, SingleLineComment, StringLiteral, Template, TokensNotPrecedingObjectLiteral, TokensPrecedingExpression, WhiteSpace;
23583
23378
  Punctuator = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;
23584
23379
  Identifier = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy;
@@ -23953,11 +23748,7 @@ var require_js_tokens = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23953
23748
  };
23954
23749
  }
23955
23750
  };
23956
- }));
23957
-
23958
- //#endregion
23959
- //#region ../../node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs
23960
- var import_js_tokens = /* @__PURE__ */ __toESM(require_js_tokens(), 1);
23751
+ })))(), 1);
23961
23752
  const FILL_COMMENT = " ";
23962
23753
  function stripLiteralFromToken(token, fillChar, filter) {
23963
23754
  if (token.type === "SingleLineComment") return FILL_COMMENT.repeat(token.value.length);
@@ -24001,7 +23792,6 @@ function stripLiteral(code, options) {
24001
23792
  for (const token of (0, import_js_tokens.default)(code, { jsx: false })) result += stripLiteralFromToken(token, _options.fillChar, _options.filter);
24002
23793
  return result;
24003
23794
  }
24004
-
24005
23795
  //#endregion
24006
23796
  //#region ../../rolldown-vite/packages/vite/src/node/assetSource.ts
24007
23797
  const ALLOWED_META_NAME = [
@@ -24092,7 +23882,6 @@ function getNodeAssetAttributes(node) {
24092
23882
  function getAttrKey(attr) {
24093
23883
  return attr.prefix === void 0 ? attr.name : `${attr.prefix}:${attr.name}`;
24094
23884
  }
24095
-
24096
23885
  //#endregion
24097
23886
  //#region ../../node_modules/.pnpm/mrmime@2.0.1/node_modules/mrmime/index.mjs
24098
23887
  const mimes = {
@@ -24540,7 +24329,6 @@ function lookup(extn) {
24540
24329
  let idx = tmp.lastIndexOf(".");
24541
24330
  return mimes[!~idx ? tmp : tmp.substring(++idx)];
24542
24331
  }
24543
-
24544
24332
  //#endregion
24545
24333
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/asset.ts
24546
24334
  const assetUrlRE = /__VITE_ASSET__([\w$]+)__(?:\$_(.*?)__)?/g;
@@ -24796,7 +24584,6 @@ function svgToDataURL(content) {
24796
24584
  if (stringContent.includes("<text") || stringContent.includes("<foreignObject") || nestedQuotesRE.test(stringContent)) return `data:image/svg+xml;base64,${content.toString("base64")}`;
24797
24585
  else return "data:image/svg+xml," + stringContent.trim().replaceAll(/>\s+</g, "><").replaceAll("\"", "'").replaceAll("%", "%25").replaceAll("#", "%23").replaceAll("<", "%3c").replaceAll(">", "%3e").replaceAll(/\s+/g, "%20");
24798
24586
  }
24799
-
24800
24587
  //#endregion
24801
24588
  //#region ../../node_modules/.pnpm/lilconfig@3.1.3/node_modules/lilconfig/src/index.js
24802
24589
  var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -25132,7 +24919,6 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25132
24919
  };
25133
24920
  };
25134
24921
  }));
25135
-
25136
24922
  //#endregion
25137
24923
  //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_yaml@2.8.2/node_modules/postcss-load-config/src/req.js
25138
24924
  var require_req = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -25175,7 +24961,6 @@ var require_req = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25175
24961
  }
25176
24962
  module.exports = req;
25177
24963
  }));
25178
-
25179
24964
  //#endregion
25180
24965
  //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_yaml@2.8.2/node_modules/postcss-load-config/src/options.js
25181
24966
  var require_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -25210,7 +24995,6 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25210
24995
  }
25211
24996
  module.exports = options;
25212
24997
  }));
25213
-
25214
24998
  //#endregion
25215
24999
  //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_yaml@2.8.2/node_modules/postcss-load-config/src/plugins.js
25216
25000
  var require_plugins = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -25265,7 +25049,6 @@ var require_plugins = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25265
25049
  }
25266
25050
  module.exports = plugins;
25267
25051
  }));
25268
-
25269
25052
  //#endregion
25270
25053
  //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_yaml@2.8.2/node_modules/postcss-load-config/src/index.js
25271
25054
  var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -25409,10 +25192,9 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25409
25192
  */
25410
25193
  module.exports = rc;
25411
25194
  }));
25412
-
25413
25195
  //#endregion
25414
- //#region ../../node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js
25415
- var require_convert_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
25196
+ //#region ../../rolldown-vite/packages/vite/src/node/server/sourcemap.ts
25197
+ var import_convert_source_map = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports) => {
25416
25198
  Object.defineProperty(exports, "commentRegex", { get: function getCommentRegex() {
25417
25199
  return /^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm;
25418
25200
  } });
@@ -25557,11 +25339,7 @@ var require_convert_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
25557
25339
  var data = "sourceMappingURL=" + file;
25558
25340
  return options && options.multiline ? "/*# " + data + " */" : "//# " + data;
25559
25341
  };
25560
- }));
25561
-
25562
- //#endregion
25563
- //#region ../../rolldown-vite/packages/vite/src/node/server/sourcemap.ts
25564
- var import_convert_source_map = /* @__PURE__ */ __toESM(require_convert_source_map(), 1);
25342
+ })))(), 1);
25565
25343
  const debug$10 = createDebugger("vite:sourcemap", { onlyWhenFocused: true });
25566
25344
  const virtualSourceRE = /^(?:dep:|browser-external:|virtual:)|\0/;
25567
25345
  async function computeSourceRoute(map, file) {
@@ -25634,7 +25412,6 @@ function createConvertSourceMapReadMap(originalFileName) {
25634
25412
  return fsp.readFile(path.resolve(path.dirname(originalFileName), filename), "utf-8");
25635
25413
  };
25636
25414
  }
25637
-
25638
25415
  //#endregion
25639
25416
  //#region ../../rolldown-vite/packages/vite/src/node/idResolver.ts
25640
25417
  /**
@@ -25688,7 +25465,6 @@ function createIdResolver(config, options) {
25688
25465
  return (await (aliasOnly ? resolveAlias : resolve)(environment, id, importer))?.id;
25689
25466
  };
25690
25467
  }
25691
-
25692
25468
  //#endregion
25693
25469
  //#region ../../rolldown-vite/packages/vite/src/node/baseEnvironment.ts
25694
25470
  const environmentColors = [
@@ -25773,7 +25549,6 @@ var BaseEnvironment = class extends PartialEnvironment {
25773
25549
  super(name, config, options);
25774
25550
  }
25775
25551
  };
25776
-
25777
25552
  //#endregion
25778
25553
  //#region ../../rolldown-vite/packages/vite/src/node/server/searchRoot.ts
25779
25554
  const ROOT_FILES = ["pnpm-workspace.yaml", "lerna.json"];
@@ -25812,7 +25587,6 @@ function searchForWorkspaceRoot(current, root = searchForPackageRoot(current)) {
25812
25587
  if (!dir || dir === current) return root;
25813
25588
  return searchForWorkspaceRoot(dir, root);
25814
25589
  }
25815
-
25816
25590
  //#endregion
25817
25591
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/manifest.ts
25818
25592
  const endsWithJSRE = /\.[cm]?js$/;
@@ -25997,7 +25771,6 @@ function getChunkOriginalFileName(chunk, root, isLegacy) {
25997
25771
  return name.replace(/\0/g, "");
25998
25772
  }
25999
25773
  }
26000
-
26001
25774
  //#endregion
26002
25775
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/css.ts
26003
25776
  var import_src = /* @__PURE__ */ __toESM(require_src(), 1);
@@ -27694,7 +27467,6 @@ function resolveLibCssFilename(libOptions, root, packageCache) {
27694
27467
  if (!name) throw new Error("Name in package.json is required if option \"build.lib.cssFileName\" is not provided.");
27695
27468
  return `${name}.css`;
27696
27469
  }
27697
-
27698
27470
  //#endregion
27699
27471
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/modulePreloadPolyfill.ts
27700
27472
  const modulePreloadPolyfillId = "vite/modulepreload-polyfill";
@@ -27719,7 +27491,6 @@ function modulePreloadPolyfillPlugin(config) {
27719
27491
  }
27720
27492
  };
27721
27493
  }
27722
-
27723
27494
  //#endregion
27724
27495
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/html.ts
27725
27496
  var import_escape_html = /* @__PURE__ */ __toESM(require_escape_html(), 1);
@@ -28452,7 +28223,6 @@ function serializeAttrs(attrs) {
28452
28223
  function incrementIndent(indent = "") {
28453
28224
  return `${indent}${indent[0] === " " ? " " : " "}`;
28454
28225
  }
28455
-
28456
28226
  //#endregion
28457
28227
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/define.ts
28458
28228
  const nonJsRe = /\.json(?:$|\?)/;
@@ -28618,7 +28388,6 @@ function getImportMetaEnvKeyRe(marker) {
28618
28388
  }
28619
28389
  return re;
28620
28390
  }
28621
-
28622
28391
  //#endregion
28623
28392
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/clientInjections.ts
28624
28393
  const normalizedClientEntry$1 = normalizePath$1(CLIENT_ENTRY);
@@ -28699,7 +28468,6 @@ async function getHmrImplementation(config) {
28699
28468
  const content = fs.readFileSync(normalizedClientEntry$1, "utf-8");
28700
28469
  return (await createClientConfigValueReplacer(config))(content).replace(/import\s*['"]@vite\/env['"]/, "");
28701
28470
  }
28702
-
28703
28471
  //#endregion
28704
28472
  //#region ../../rolldown-vite/packages/vite/src/node/ssr/fetchModule.ts
28705
28473
  /**
@@ -28769,14 +28537,13 @@ const OTHER_SOURCE_MAP_REGEXP = new RegExp(`//# ${SOURCEMAPPING_URL}=data:applic
28769
28537
  function inlineSourceMap(mod, result, startOffset) {
28770
28538
  const map = result.map;
28771
28539
  let code = result.code;
28772
- if (!map || !("version" in map) || code.includes(MODULE_RUNNER_SOURCEMAPPING_SOURCE)) return result;
28540
+ if (!map || !("version" in map) || code.includes("//# sourceMappingSource=vite-generated")) return result;
28773
28541
  OTHER_SOURCE_MAP_REGEXP.lastIndex = 0;
28774
28542
  if (OTHER_SOURCE_MAP_REGEXP.test(code)) code = code.replace(OTHER_SOURCE_MAP_REGEXP, "");
28775
28543
  const sourceMap = startOffset ? Object.assign({}, map, { mappings: ";".repeat(startOffset) + map.mappings }) : map;
28776
28544
  result.code = `${code.trimEnd()}\n//# sourceURL=${mod.id}\n${MODULE_RUNNER_SOURCEMAPPING_SOURCE}\n//# ${SOURCEMAPPING_URL}=${genSourceMapUrl(sourceMap)}\n`;
28777
28545
  return result;
28778
28546
  }
28779
-
28780
28547
  //#endregion
28781
28548
  //#region ../../rolldown-vite/packages/vite/src/node/optimizer/optimizer.ts
28782
28549
  const debug$9 = createDebugger("vite:deps");
@@ -29144,7 +28911,6 @@ function findInteropMismatches(discovered, optimized) {
29144
28911
  }
29145
28912
  return needsInteropMismatch;
29146
28913
  }
29147
-
29148
28914
  //#endregion
29149
28915
  //#region ../../rolldown-vite/packages/vite/src/node/server/moduleGraph.ts
29150
28916
  var EnvironmentModuleNode = class {
@@ -29439,7 +29205,6 @@ var EnvironmentModuleGraph = class {
29439
29205
  ];
29440
29206
  }
29441
29207
  };
29442
-
29443
29208
  //#endregion
29444
29209
  //#region ../../node_modules/.pnpm/totalist@3.0.1/node_modules/totalist/sync/index.mjs
29445
29210
  function totalist(dir, callback, pre = "") {
@@ -29452,7 +29217,6 @@ function totalist(dir, callback, pre = "") {
29452
29217
  stats.isDirectory() ? totalist(abs, callback, join$1(pre, arr[i])) : callback(join$1(pre, arr[i]), abs, stats);
29453
29218
  }
29454
29219
  }
29455
-
29456
29220
  //#endregion
29457
29221
  //#region ../../node_modules/.pnpm/@polka+url@1.0.0-next.29/node_modules/@polka/url/build.mjs
29458
29222
  /**
@@ -29495,7 +29259,6 @@ function parse$1(req) {
29495
29259
  raw
29496
29260
  };
29497
29261
  }
29498
-
29499
29262
  //#endregion
29500
29263
  //#region ../../node_modules/.pnpm/sirv@3.0.2_patch_hash=c07c56eb72faea34341d465cde2314e89db472106ed378181e3447893af6bf95/node_modules/sirv/build.mjs
29501
29264
  const noop = () => {};
@@ -29641,7 +29404,6 @@ function build_default$1(dir, opts = {}) {
29641
29404
  send$1(req, res, data.abs, data.stats, data.headers);
29642
29405
  };
29643
29406
  }
29644
-
29645
29407
  //#endregion
29646
29408
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/static.ts
29647
29409
  const knownJavascriptExtensionRE = /\.(?:[tj]sx?|[cm][tj]s)$/;
@@ -29809,7 +29571,6 @@ function renderRestrictedErrorHTML(msg) {
29809
29571
  </body>
29810
29572
  `;
29811
29573
  }
29812
-
29813
29574
  //#endregion
29814
29575
  //#region ../../rolldown-vite/packages/vite/src/node/server/transformRequest.ts
29815
29576
  var import_etag = /* @__PURE__ */ __toESM(require_etag(), 1);
@@ -30050,7 +29811,6 @@ function getModuleTypeFromId(id) {
30050
29811
  if (moduleType) return moduleType;
30051
29812
  }
30052
29813
  }
30053
-
30054
29814
  //#endregion
30055
29815
  //#region ../../rolldown-vite/packages/vite/src/node/server/warmup.ts
30056
29816
  function warmupFiles(server, environment) {
@@ -30101,7 +29861,6 @@ async function mapFiles(files, root) {
30101
29861
  }));
30102
29862
  return result;
30103
29863
  }
30104
-
30105
29864
  //#endregion
30106
29865
  //#region ../../rolldown-vite/packages/vite/src/node/server/environment.ts
30107
29866
  var DevEnvironment = class extends BaseEnvironment {
@@ -30211,7 +29970,7 @@ var DevEnvironment = class extends BaseEnvironment {
30211
29970
  try {
30212
29971
  await this.transformRequest(url);
30213
29972
  } catch (e) {
30214
- if (e?.code === ERR_OUTDATED_OPTIMIZED_DEP || e?.code === ERR_CLOSED_SERVER) return;
29973
+ if (e?.code === "ERR_OUTDATED_OPTIMIZED_DEP" || e?.code === "ERR_CLOSED_SERVER") return;
30215
29974
  this.logger.error(buildErrorMessage(e, [`Pre-transform error: ${e.message}`], false), {
30216
29975
  error: e,
30217
29976
  timestamp: true
@@ -30300,7 +30059,6 @@ function setupOnCrawlEnd() {
30300
30059
  cancel
30301
30060
  };
30302
30061
  }
30303
-
30304
30062
  //#endregion
30305
30063
  //#region ../../rolldown-vite/packages/vite/src/node/server/environments/fullBundleEnvironment.ts
30306
30064
  const debug$8 = createDebugger("vite:full-bundle-mode");
@@ -30565,7 +30323,6 @@ function debounce(time, cb) {
30565
30323
  timer = globalThis.setTimeout(cb, time);
30566
30324
  };
30567
30325
  }
30568
-
30569
30326
  //#endregion
30570
30327
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/htmlFallback.ts
30571
30328
  const debug$7 = createDebugger("vite:html-fallback");
@@ -30609,7 +30366,6 @@ function htmlFallbackMiddleware(root, spaFallback, clientEnvironment) {
30609
30366
  next();
30610
30367
  };
30611
30368
  }
30612
-
30613
30369
  //#endregion
30614
30370
  //#region ../../rolldown-vite/packages/vite/src/node/server/send.ts
30615
30371
  const debug$6 = createDebugger("vite:send", { onlyWhenFocused: true });
@@ -30649,7 +30405,6 @@ function send(req, res, content, type, options) {
30649
30405
  if (req.method === "HEAD") res.end();
30650
30406
  else res.end(content);
30651
30407
  }
30652
-
30653
30408
  //#endregion
30654
30409
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/transform.ts
30655
30410
  const debugCache = createDebugger("vite:cache");
@@ -30770,7 +30525,7 @@ function transformMiddleware(server) {
30770
30525
  }
30771
30526
  }
30772
30527
  } catch (e) {
30773
- if (e?.code === ERR_OPTIMIZE_DEPS_PROCESSING_ERROR) {
30528
+ if (e?.code === "ERR_OPTIMIZE_DEPS_PROCESSING_ERROR") {
30774
30529
  if (!res.writableEnded) {
30775
30530
  res.statusCode = 504;
30776
30531
  res.statusMessage = "Optimize Deps Processing Error";
@@ -30779,7 +30534,7 @@ function transformMiddleware(server) {
30779
30534
  server.config.logger.error(e.message);
30780
30535
  return;
30781
30536
  }
30782
- if (e?.code === ERR_OUTDATED_OPTIMIZED_DEP) {
30537
+ if (e?.code === "ERR_OUTDATED_OPTIMIZED_DEP") {
30783
30538
  if (!res.writableEnded) {
30784
30539
  res.statusCode = 504;
30785
30540
  res.statusMessage = "Outdated Optimize Dep";
@@ -30787,7 +30542,7 @@ function transformMiddleware(server) {
30787
30542
  }
30788
30543
  return;
30789
30544
  }
30790
- if (e?.code === ERR_CLOSED_SERVER) {
30545
+ if (e?.code === "ERR_CLOSED_SERVER") {
30791
30546
  if (!res.writableEnded) {
30792
30547
  res.statusCode = 504;
30793
30548
  res.statusMessage = "Outdated Request";
@@ -30795,7 +30550,7 @@ function transformMiddleware(server) {
30795
30550
  }
30796
30551
  return;
30797
30552
  }
30798
- if (e?.code === ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR) {
30553
+ if (e?.code === "ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR") {
30799
30554
  if (!res.writableEnded) {
30800
30555
  res.statusCode = 404;
30801
30556
  res.end();
@@ -30803,8 +30558,8 @@ function transformMiddleware(server) {
30803
30558
  server.config.logger.warn(import_picocolors.default.yellow(e.message));
30804
30559
  return;
30805
30560
  }
30806
- if (e?.code === ERR_LOAD_URL) return next();
30807
- if (e?.code === ERR_DENIED_ID) {
30561
+ if (e?.code === "ERR_LOAD_URL") return next();
30562
+ if (e?.code === "ERR_DENIED_ID") {
30808
30563
  const id = e.id;
30809
30564
  const servingAccessResult = checkLoadingAccess(server.config, id);
30810
30565
  if (servingAccessResult === "denied") {
@@ -30832,7 +30587,6 @@ If you intend to import that asset, put the file in the src directory, and use $
30832
30587
  server.config.logger.warn(import_picocolors.default.yellow(warning));
30833
30588
  }
30834
30589
  }
30835
-
30836
30590
  //#endregion
30837
30591
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/indexHtml.ts
30838
30592
  function createDevHtmlTransformFn(config) {
@@ -31127,7 +30881,6 @@ async function generateFallbackHtml(server) {
31127
30881
  </html>
31128
30882
  `;
31129
30883
  }
31130
-
31131
30884
  //#endregion
31132
30885
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/time.ts
31133
30886
  const logTime = createDebugger("vite:time");
@@ -31142,7 +30895,6 @@ function timeMiddleware(root) {
31142
30895
  next();
31143
30896
  };
31144
30897
  }
31145
-
31146
30898
  //#endregion
31147
30899
  //#region ../../rolldown-vite/packages/vite/src/node/server/mixedModuleGraph.ts
31148
30900
  /**
@@ -31557,7 +31309,6 @@ function createBackwardCompatibleFileToModulesMap(moduleGraph) {
31557
31309
  }
31558
31310
  };
31559
31311
  }
31560
-
31561
31312
  //#endregion
31562
31313
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/notFound.ts
31563
31314
  function notFoundMiddleware() {
@@ -31566,7 +31317,6 @@ function notFoundMiddleware() {
31566
31317
  res.end();
31567
31318
  };
31568
31319
  }
31569
-
31570
31320
  //#endregion
31571
31321
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/hostCheck.ts
31572
31322
  function getAdditionalAllowedHosts(resolvedServerOptions, resolvedPreviewOptions) {
@@ -31589,7 +31339,6 @@ function hostValidationMiddleware(allowedHosts, isPreview) {
31589
31339
  }
31590
31340
  });
31591
31341
  }
31592
-
31593
31342
  //#endregion
31594
31343
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/rejectInvalidRequest.ts
31595
31344
  /**
@@ -31605,7 +31354,6 @@ function rejectInvalidRequestMiddleware() {
31605
31354
  return next();
31606
31355
  };
31607
31356
  }
31608
-
31609
31357
  //#endregion
31610
31358
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/memoryFiles.ts
31611
31359
  function memoryFilesMiddleware(server) {
@@ -31634,7 +31382,6 @@ function memoryFilesMiddleware(server) {
31634
31382
  next();
31635
31383
  };
31636
31384
  }
31637
-
31638
31385
  //#endregion
31639
31386
  //#region ../../rolldown-vite/packages/vite/src/node/server/middlewares/rejectNoCorsRequest.ts
31640
31387
  /**
@@ -31661,7 +31408,6 @@ function rejectNoCorsRequestMiddleware() {
31661
31408
  return next();
31662
31409
  };
31663
31410
  }
31664
-
31665
31411
  //#endregion
31666
31412
  //#region ../../rolldown-vite/packages/vite/src/node/server/index.ts
31667
31413
  var import_connect = /* @__PURE__ */ __toESM(require_connect(), 1);
@@ -31974,7 +31720,7 @@ async function startServer(server, hostname, inlinePort) {
31974
31720
  if (!httpServer) throw new Error("Cannot call server.listen in middleware mode.");
31975
31721
  const options = server.config.server;
31976
31722
  const configPort = inlinePort ?? options.port;
31977
- const port = (!configPort || configPort === server._configServerPort ? server._currentServerPort : configPort) ?? DEFAULT_DEV_PORT;
31723
+ const port = (!configPort || configPort === server._configServerPort ? server._currentServerPort : configPort) ?? 5173;
31978
31724
  server._configServerPort = configPort;
31979
31725
  server._currentServerPort = await httpServerStart(httpServer, {
31980
31726
  port,
@@ -32122,12 +31868,11 @@ async function restartServerWithUrls(server) {
32122
31868
  const prevUrls = server.resolvedUrls;
32123
31869
  await server.restart();
32124
31870
  const { logger, server: { port, host } } = server.config;
32125
- if ((port ?? DEFAULT_DEV_PORT) !== (prevPort ?? DEFAULT_DEV_PORT) || host !== prevHost || diffDnsOrderChange(prevUrls, server.resolvedUrls)) {
31871
+ if ((port ?? 5173) !== (prevPort ?? 5173) || host !== prevHost || diffDnsOrderChange(prevUrls, server.resolvedUrls)) {
32126
31872
  logger.info("");
32127
31873
  server.printUrls();
32128
31874
  }
32129
31875
  }
32130
-
32131
31876
  //#endregion
32132
31877
  //#region ../../rolldown-vite/packages/vite/src/node/server/hmr.ts
32133
31878
  const debugHmr = createDebugger("vite:hmr");
@@ -32668,7 +32413,6 @@ function createServerHotChannel() {
32668
32413
  }
32669
32414
  };
32670
32415
  }
32671
-
32672
32416
  //#endregion
32673
32417
  //#region ../../rolldown-vite/packages/vite/src/node/external.ts
32674
32418
  const debug$5 = createDebugger("vite:external");
@@ -32731,7 +32475,6 @@ function canExternalizeFile(filePath) {
32731
32475
  const ext = path.extname(filePath);
32732
32476
  return !ext || ext === ".js" || ext === ".mjs" || ext === ".cjs";
32733
32477
  }
32734
-
32735
32478
  //#endregion
32736
32479
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/worker.ts
32737
32480
  var WorkerOutputCache = class {
@@ -33088,7 +32831,6 @@ function isSameContent(a, b) {
33088
32831
  }
33089
32832
  return Buffer.from(b).equals(a);
33090
32833
  }
33091
-
33092
32834
  //#endregion
33093
32835
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/preAlias.ts
33094
32836
  /**
@@ -33143,7 +32885,6 @@ function getAliasPatternMatcher(entries) {
33143
32885
  const patterns = getAliasPatterns(entries);
33144
32886
  return (importee) => patterns.some((pattern) => matches(pattern, importee));
33145
32887
  }
33146
-
33147
32888
  //#endregion
33148
32889
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/importAnalysis.ts
33149
32890
  const debug$4 = createDebugger("vite:import-analysis");
@@ -33379,7 +33120,7 @@ function importAnalysisPlugin(config) {
33379
33120
  interopNamedImports(str(), importSpecifier, url, index, importer, isNodeMode(), config);
33380
33121
  rewriteDone = true;
33381
33122
  }
33382
- } else if (url.startsWith(wrapId(browserExternalId)) && source.slice(expStart, start).includes("{")) {
33123
+ } else if (url.startsWith(wrapId("__vite-browser-external")) && source.slice(expStart, start).includes("{")) {
33383
33124
  interopNamedImports(str(), importSpecifier, url, index, importer, isNodeMode(), config);
33384
33125
  rewriteDone = true;
33385
33126
  }
@@ -33415,7 +33156,7 @@ function importAnalysisPlugin(config) {
33415
33156
  const staticImportedUrls = new Set(_orderedImportedUrls.map((url) => removeTimestampQuery(url)));
33416
33157
  const acceptedUrls = mergeAcceptedUrls(orderedAcceptedUrls);
33417
33158
  const acceptedExports = mergeAcceptedUrls(orderedAcceptedExports);
33418
- const isClassicWorker = importer.includes(WORKER_FILE_ID) && importer.includes("type=classic");
33159
+ const isClassicWorker = importer.includes("worker_file") && importer.includes("type=classic");
33419
33160
  if (hasEnv && !isClassicWorker) str().prepend(getEnv(ssr));
33420
33161
  if (hasHMR && !ssr && !isClassicWorker) {
33421
33162
  debugHmr?.(`${isSelfAccepting ? `[self-accepts]` : isPartiallySelfAccepting ? `[accepts-exports]` : acceptedUrls.size ? `[accepts-deps]` : `[detected api usage]`} ${prettifyUrl(importer, root)}`);
@@ -33567,7 +33308,6 @@ function __vite__injectQuery(url, queryToInject) {
33567
33308
  const { search, hash } = new URL(url, "http://vite.dev");
33568
33309
  return `${pathname}?${queryToInject}${search ? `&` + search.slice(1) : ""}${hash || ""}`;
33569
33310
  }
33570
-
33571
33311
  //#endregion
33572
33312
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/wasm.ts
33573
33313
  const wasmHelperId = "\0vite/wasm-helper.js";
@@ -33661,7 +33401,6 @@ export default ${wasmHelperCode}
33661
33401
  };
33662
33402
  });
33663
33403
  };
33664
-
33665
33404
  //#endregion
33666
33405
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/workerImportMetaUrl.ts
33667
33406
  function err$1(e, pos) {
@@ -33793,7 +33532,6 @@ function workerImportMetaUrlPlugin(config) {
33793
33532
  }
33794
33533
  };
33795
33534
  }
33796
-
33797
33535
  //#endregion
33798
33536
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/importAnalysisBuild.ts
33799
33537
  /**
@@ -34090,7 +33828,6 @@ function buildImportAnalysisPlugin(config) {
34090
33828
  });
34091
33829
  })];
34092
33830
  }
34093
-
34094
33831
  //#endregion
34095
33832
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/assetImportMetaUrl.ts
34096
33833
  /**
@@ -34213,7 +33950,6 @@ function getQueryDelimiterIndex(rawUrl) {
34213
33950
  else if (rawUrl[i] === "?" && bracketsStack === 0) return i;
34214
33951
  return -1;
34215
33952
  }
34216
-
34217
33953
  //#endregion
34218
33954
  //#region ../../node_modules/.pnpm/@rollup+plugin-dynamic-import-vars@2.1.4_rollup@4.53.3/node_modules/@rollup/plugin-dynamic-import-vars/dist/es/index.js
34219
33955
  var VariableDynamicImportError = class extends Error {};
@@ -34272,7 +34008,6 @@ function dynamicImportToGlob(node, sourceString) {
34272
34008
  if (path$1.extname(glob) === "") throw new VariableDynamicImportError(`invalid import "${sourceString}". A file extension must be included in the static part of the import. ${example}`);
34273
34009
  return glob;
34274
34010
  }
34275
-
34276
34011
  //#endregion
34277
34012
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/dynamicImportVars.ts
34278
34013
  const dynamicImportHelperId = "\0vite/dynamic-import-helper.js";
@@ -34406,7 +34141,6 @@ function dynamicImportVarsPlugin(config) {
34406
34141
  }
34407
34142
  };
34408
34143
  }
34409
-
34410
34144
  //#endregion
34411
34145
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/importMetaGlob.ts
34412
34146
  function importGlobPlugin(config) {
@@ -34743,7 +34477,6 @@ function getCommonBase(globsResolved) {
34743
34477
  function isVirtualModule(id) {
34744
34478
  return id.startsWith("virtual:") || id[0] === "\0" || !id.includes("/");
34745
34479
  }
34746
-
34747
34480
  //#endregion
34748
34481
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/pluginFilter.ts
34749
34482
  function getMatcherString(glob, cwd) {
@@ -34819,7 +34552,6 @@ function createFilterForTransform(idFilter, codeFilter, moduleTypeFilter, cwd) {
34819
34552
  return fallback;
34820
34553
  };
34821
34554
  }
34822
-
34823
34555
  //#endregion
34824
34556
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/esbuildBannerFooterCompatPlugin.ts
34825
34557
  /**
@@ -34855,7 +34587,6 @@ function esbuildBannerFooterCompatPlugin(config) {
34855
34587
  }
34856
34588
  };
34857
34589
  }
34858
-
34859
34590
  //#endregion
34860
34591
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/index.ts
34861
34592
  async function resolvePlugins(config, prePlugins, normalPlugins, postPlugins) {
@@ -35007,7 +34738,6 @@ const viteAliasCustomResolver = async function(id, importer, options) {
35007
34738
  meta: { "vite:alias": { noResolved: true } }
35008
34739
  };
35009
34740
  };
35010
-
35011
34741
  //#endregion
35012
34742
  //#region ../../rolldown-vite/packages/vite/src/node/server/pluginContainer.ts
35013
34743
  /**
@@ -35722,7 +35452,6 @@ var PluginContainer = class {
35722
35452
  function createPluginContainer(environments) {
35723
35453
  return new PluginContainer(environments);
35724
35454
  }
35725
-
35726
35455
  //#endregion
35727
35456
  //#region ../../rolldown-vite/packages/vite/src/node/optimizer/scan.ts
35728
35457
  var ScanEnvironment = class extends BaseEnvironment {
@@ -36108,7 +35837,6 @@ function shouldExternalizeDep(resolvedId, rawId) {
36108
35837
  function isScannable(id, extensions) {
36109
35838
  return JS_TYPES_RE.test(id) || htmlTypesRE.test(id) || extensions?.includes(path.extname(id)) || false;
36110
35839
  }
36111
-
36112
35840
  //#endregion
36113
35841
  //#region ../../rolldown-vite/packages/vite/src/node/optimizer/resolve.ts
36114
35842
  function createOptimizeDepsIncludeResolver(environment) {
@@ -36193,7 +35921,6 @@ function nestedResolveBasedir(id, basedir, preserveSymlinks = false) {
36193
35921
  for (const pkg of pkgs) basedir = resolvePackageData(pkg, basedir, preserveSymlinks)?.dir || basedir;
36194
35922
  return basedir;
36195
35923
  }
36196
-
36197
35924
  //#endregion
36198
35925
  //#region ../../rolldown-vite/packages/vite/src/node/optimizer/rolldownDepPlugin.ts
36199
35926
  const externalWithConversionNamespace = "vite:dep-pre-bundle:external-conversion";
@@ -36243,8 +35970,8 @@ function rolldownDepPlugin(environment, qualified, external) {
36243
35970
  return (kind.startsWith("require") ? _resolveRequire : _resolve)(environment, id, _importer);
36244
35971
  };
36245
35972
  const resolveResult = (id, resolved) => {
36246
- if (resolved.startsWith(browserExternalId)) return { id: browserExternalNamespace + id };
36247
- if (resolved.startsWith(optionalPeerDepId)) return { id: optionalPeerDepNamespace + resolved };
35973
+ if (resolved.startsWith("__vite-browser-external")) return { id: browserExternalNamespace + id };
35974
+ if (resolved.startsWith("__vite-optional-peer-dep")) return { id: optionalPeerDepNamespace + resolved };
36248
35975
  if (isBuiltin(environment.config.resolve.builtins, resolved)) return;
36249
35976
  if (isExternalUrl(resolved)) return {
36250
35977
  id: resolved,
@@ -36400,7 +36127,6 @@ module.exports = ${isNodeBuiltin(idWithoutNamespace) ? "m.default" : "{ ...m }"}
36400
36127
  }
36401
36128
  };
36402
36129
  }
36403
-
36404
36130
  //#endregion
36405
36131
  //#region ../../rolldown-vite/packages/vite/src/node/optimizer/index.ts
36406
36132
  const debug$2 = createDebugger("vite:deps");
@@ -37084,7 +36810,6 @@ const safeRename = promisify(function gracefulRename(from, to, cb) {
37084
36810
  cb(er);
37085
36811
  });
37086
36812
  });
37087
-
37088
36813
  //#endregion
37089
36814
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/resolve.ts
37090
36815
  const normalizedClientEntry = normalizePath$1(CLIENT_ENTRY);
@@ -37559,7 +37284,6 @@ function findNearestPackagePath(file, legacyInconsistentCjsInterop, packageCache
37559
37284
  const pkgData = findNearestPackageData(file, packageCache);
37560
37285
  return pkgData ? path.join(pkgData.dir, "package.json") : null;
37561
37286
  }
37562
-
37563
37287
  //#endregion
37564
37288
  //#region ../../rolldown-vite/packages/vite/src/node/nodeResolve.ts
37565
37289
  /**
@@ -37587,7 +37311,6 @@ function nodeResolveWithVite(id, importer, options) {
37587
37311
  disableOptionalPeerDepHandling: true
37588
37312
  })?.id;
37589
37313
  }
37590
-
37591
37314
  //#endregion
37592
37315
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/terser.ts
37593
37316
  let terserPath;
@@ -37656,7 +37379,6 @@ function terserPlugin(config) {
37656
37379
  }
37657
37380
  };
37658
37381
  }
37659
-
37660
37382
  //#endregion
37661
37383
  //#region ../../rolldown-vite/packages/vite/src/node/ssr/ssrManifestPlugin.ts
37662
37384
  function ssrManifestPlugin() {
@@ -37741,7 +37463,6 @@ function ssrManifestPlugin() {
37741
37463
  }
37742
37464
  };
37743
37465
  }
37744
-
37745
37466
  //#endregion
37746
37467
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/license.ts
37747
37468
  const licenseConfigDefaults = Object.freeze({ fileName: ".vite/license.md" });
@@ -37820,7 +37541,6 @@ function findLicenseFile(pkgDir) {
37820
37541
  const matchedFile = fs.readdirSync(pkgDir).find((file) => licenseFiles.some((re) => re.test(file)));
37821
37542
  if (matchedFile) return path.join(pkgDir, matchedFile);
37822
37543
  }
37823
-
37824
37544
  //#endregion
37825
37545
  //#region ../../rolldown-vite/packages/vite/src/node/plugins/prepareOutDir.ts
37826
37546
  function prepareOutDirPlugin() {
@@ -37865,7 +37585,6 @@ function areSeparateFolders(a, b) {
37865
37585
  const nb = normalizePath$1(b);
37866
37586
  return na !== nb && !na.startsWith(withTrailingSlash(nb)) && !nb.startsWith(withTrailingSlash(na));
37867
37587
  }
37868
-
37869
37588
  //#endregion
37870
37589
  //#region ../../rolldown-vite/packages/vite/src/node/build.ts
37871
37590
  const _buildEnvironmentOptionsDefaults = Object.freeze({
@@ -38572,7 +38291,6 @@ async function createBuilder(inlineConfig = {}, useLegacyBuilder = false) {
38572
38291
  }
38573
38292
  return builder;
38574
38293
  }
38575
-
38576
38294
  //#endregion
38577
38295
  //#region ../../rolldown-vite/packages/vite/src/node/server/environments/runnableEnvironment.ts
38578
38296
  function createRunnableDevEnvironment(name, config, context = {}) {
@@ -38602,7 +38320,6 @@ var RunnableDevEnvironment = class extends DevEnvironment {
38602
38320
  if (this._runner) await this._runner.close();
38603
38321
  }
38604
38322
  };
38605
-
38606
38323
  //#endregion
38607
38324
  //#region ../../node_modules/.pnpm/@polka+compression@1.0.0-next.25/node_modules/@polka/compression/build.mjs
38608
38325
  const NOOP = () => {};
@@ -38686,12 +38403,11 @@ function build_default({ threshold = 1024, level = -1, brotli = false, gzip = tr
38686
38403
  next();
38687
38404
  };
38688
38405
  }
38689
-
38690
38406
  //#endregion
38691
38407
  //#region ../../rolldown-vite/packages/vite/src/node/preview.ts
38692
38408
  function resolvePreviewOptions(preview, server) {
38693
38409
  return {
38694
- port: preview?.port ?? DEFAULT_PREVIEW_PORT,
38410
+ port: preview?.port ?? 4173,
38695
38411
  strictPort: preview?.strictPort ?? server.strictPort,
38696
38412
  host: preview?.host ?? server.host,
38697
38413
  allowedHosts: preview?.allowedHosts ?? server.allowedHosts,
@@ -38798,7 +38514,6 @@ async function preview(inlineConfig = {}) {
38798
38514
  }
38799
38515
  return server;
38800
38516
  }
38801
-
38802
38517
  //#endregion
38803
38518
  //#region ../../rolldown-vite/packages/vite/src/node/ssr/index.ts
38804
38519
  const _ssrConfigDefaults = Object.freeze({
@@ -38809,7 +38524,6 @@ const ssrConfigDefaults = _ssrConfigDefaults;
38809
38524
  function resolveSSROptions(ssr, preserveSymlinks) {
38810
38525
  return mergeWithDefaults(mergeWithDefaults(_ssrConfigDefaults, { optimizeDeps: { esbuildOptions: { preserveSymlinks } } }), ssr ?? {});
38811
38526
  }
38812
-
38813
38527
  //#endregion
38814
38528
  //#region ../../rolldown-vite/packages/vite/src/node/ssr/runnerImport.ts
38815
38529
  /**
@@ -38849,7 +38563,6 @@ async function runnerImport(moduleId, inlineConfig) {
38849
38563
  await environment.close();
38850
38564
  }
38851
38565
  }
38852
-
38853
38566
  //#endregion
38854
38567
  //#region ../../rolldown-vite/packages/vite/src/node/optimizer/pluginConverter.ts
38855
38568
  function convertEsbuildPluginToRolldownPlugin(esbuildPlugin) {
@@ -39001,7 +38714,6 @@ function idToPathAndNamespace(id) {
39001
38714
  if (namespaceIndex >= 0) return [id.slice(namespaceIndex + 1), id.slice(0, namespaceIndex)];
39002
38715
  else return [id, "file"];
39003
38716
  }
39004
-
39005
38717
  //#endregion
39006
38718
  //#region ../../rolldown-vite/packages/vite/src/node/config.ts
39007
38719
  const debug = createDebugger("vite:config", { depth: 10 });
@@ -39916,7 +39628,6 @@ function optimizeDepsDisabledBackwardCompatibility(resolved, optimizeDeps, optim
39916
39628
  `));
39917
39629
  }
39918
39630
  }
39919
-
39920
39631
  //#endregion
39921
39632
  //#region ../../rolldown-vite/packages/vite/src/node/server/environments/fetchableEnvironments.ts
39922
39633
  function createFetchableDevEnvironment(name, config, context) {
@@ -39940,7 +39651,6 @@ var FetchableDevEnvironment = class extends DevEnvironment {
39940
39651
  return response;
39941
39652
  }
39942
39653
  };
39943
-
39944
39654
  //#endregion
39945
39655
  //#region ../../rolldown-vite/packages/vite/src/node/index.ts
39946
39656
  /** @deprecated - use `parse` instead */
@@ -39948,6 +39658,5 @@ const parseAst$1 = parseAst;
39948
39658
  /** @deprecated - use `parseAsync` instead */
39949
39659
  const parseAstAsync$1 = parseAstAsync;
39950
39660
  const esbuildVersion = "0.25.0";
39951
-
39952
39661
  //#endregion
39953
- export { depsFromOptimizedDepInfo as $, builderOptionsDefaults as A, createIdResolver as At, resolveBuilderOptions as B, perEnvironmentPlugin as Bt, resolvePreviewOptions as C, DevEnvironment as Ct, ChunkMetadataMap as D, formatPostcssSourceMap as Dt, BuildEnvironment as E, fetchModule as Et, injectEnvironmentToHooks as F, loadEnv as Ft, toOutputFilePathInHtml as G, normalizePath$1 as Gt, resolveRolldownOptions as H, isCSSRequest as Ht, onRollupLog as I, resolveEnvPrefix as It, addManuallyIncludedOptimizeDeps as J, withFilter as Jt, toOutputFilePathInJS as K, rolldownVersion as Kt, resolveBuildEnvironmentOptions as L, transformWithOxc as Lt, createBuilder as M, createServerModuleRunner as Mt, createToImportMetaURLBasedRelativeRuntime as N, createServerModuleRunnerTransport as Nt, build as O, preprocessCSS as Ot, enhanceRollupError as P, buildErrorMessage as Pt, createIsOptimizedDepUrl as Q, resolveBuildOutputs as R, transformWithEsbuild as Rt, preview as S, send as St, isRunnableDevEnvironment as T, isFileServingAllowed as Tt, resolveUserExternal as U, mergeAlias as Ut, resolveLibFilename as V, createFilter$1 as Vt, toOutputFilePathInCss as W, mergeConfig as Wt, cleanupDepsCacheStaleDirs as X, addOptimizedDepInfo as Y, createIsOptimizedDepFile as Z, resolveConfig as _, createServer$2 as _t, minifySync as a, initDepsOptimizerMetadata as at, sortUserPlugins as b, restartServerWithUrls as bt, parseAstAsync$1 as c, optimizeDeps as ct, isFetchableDevEnvironment as d, optimizedDepInfoFromId as dt, depsLogString as et, defineConfig as f, optimizedDepNeedsInterop as ft, resolveBaseUrl as g, _createServer as gt, loadConfigFromFile as h, createServerHotChannel as ht, minify as i, getOptimizedDepPath as it, clearLine as j, ssrTransform as jt, buildEnvironmentOptionsDefaults as k, searchForWorkspaceRoot as kt, parseSync as l, optimizeExplicitEnvironmentDeps as lt, isResolvedConfig as m, toDiscoveredDependencies as mt, esbuildVersion as n, extractExportsData as nt, parse as o, isDepOptimizationDisabled as ot, getDefaultEnvironmentOptions as p, runOptimizeDeps as pt, toOutputFilePathWithoutRuntime as q, rollupVersion as qt, esmExternalRequirePlugin as r, getDepsCacheDir as rt, parseAst$1 as s, loadCachedDepOptimizationMetadata as st, Visitor as t, discoverProjectDependencies as tt, createFetchableDevEnvironment as u, optimizedDepInfoFromFile as ut, resolveDevEnvironmentOptions as v, createServerCloseFn as vt, createRunnableDevEnvironment as w, isFileLoadingAllowed as wt, runnerImport as x, serverConfigDefaults as xt, resolveDevToolsConfig as y, resolveServerOptions as yt, resolveBuildPlugins as z, perEnvironmentState as zt };
39662
+ export { depsFromOptimizedDepInfo as $, builderOptionsDefaults as A, createIdResolver as At, resolveBuilderOptions as B, perEnvironmentPlugin as Bt, resolvePreviewOptions as C, DevEnvironment as Ct, ChunkMetadataMap as D, formatPostcssSourceMap as Dt, BuildEnvironment as E, fetchModule as Et, injectEnvironmentToHooks as F, loadEnv as Ft, toOutputFilePathInHtml as G, normalizePath$1 as Gt, resolveRolldownOptions as H, isCSSRequest as Ht, onRollupLog as I, resolveEnvPrefix as It, addManuallyIncludedOptimizeDeps as J, withFilter as Jt, toOutputFilePathInJS as K, rolldownVersion as Kt, resolveBuildEnvironmentOptions as L, transformWithOxc as Lt, createBuilder as M, createServerModuleRunner as Mt, createToImportMetaURLBasedRelativeRuntime as N, createServerModuleRunnerTransport as Nt, build as O, preprocessCSS as Ot, enhanceRollupError as P, buildErrorMessage as Pt, createIsOptimizedDepUrl as Q, resolveBuildOutputs as R, transformWithEsbuild as Rt, preview as S, send as St, isRunnableDevEnvironment as T, isFileServingAllowed as Tt, resolveUserExternal as U, mergeAlias as Ut, resolveLibFilename as V, createFilter$1 as Vt, toOutputFilePathInCss as W, mergeConfig as Wt, cleanupDepsCacheStaleDirs as X, addOptimizedDepInfo as Y, createIsOptimizedDepFile as Z, resolveConfig as _, createServer$2 as _t, minifySync as a, initDepsOptimizerMetadata as at, sortUserPlugins as b, restartServerWithUrls as bt, parseAstAsync$1 as c, optimizeDeps as ct, isFetchableDevEnvironment as d, optimizedDepInfoFromId as dt, depsLogString as et, defineConfig as f, optimizedDepNeedsInterop as ft, resolveBaseUrl as g, _createServer as gt, loadConfigFromFile as h, createServerHotChannel as ht, minify as i, getOptimizedDepPath as it, clearLine as j, ssrTransform as jt, buildEnvironmentOptionsDefaults as k, searchForWorkspaceRoot as kt, parseSync as l, optimizeExplicitEnvironmentDeps as lt, isResolvedConfig as m, toDiscoveredDependencies as mt, esbuildVersion as n, extractExportsData as nt, parse as o, isDepOptimizationDisabled as ot, getDefaultEnvironmentOptions as p, runOptimizeDeps as pt, toOutputFilePathWithoutRuntime as q, rollupVersion as qt, esmExternalRequirePlugin as r, getDepsCacheDir as rt, parseAst$1 as s, loadCachedDepOptimizationMetadata as st, Visitor as t, discoverProjectDependencies as tt, createFetchableDevEnvironment as u, optimizedDepInfoFromFile as ut, resolveDevEnvironmentOptions as v, createServerCloseFn as vt, createRunnableDevEnvironment as w, isFileLoadingAllowed as wt, runnerImport as x, serverConfigDefaults as xt, resolveDevToolsConfig as y, resolveServerOptions as yt, resolveBuildPlugins as z, perEnvironmentState as zt };