vite 8.1.0-beta.0 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
1
  import "@vite/env";
2
- //#region ../../node_modules/.pnpm/nanoid@5.1.11/node_modules/nanoid/non-secure/index.js
2
+ //#region ../../node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/non-secure/index.js
3
3
  let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
4
4
  let nanoid = (size = 21) => {
5
5
  let id = "";
6
6
  let i = size | 0;
7
- while (i--) id += urlAlphabet[Math.random() * 64 | 0];
7
+ while (i-- > 0) id += urlAlphabet[Math.random() * 64 | 0];
8
8
  return id;
9
9
  };
10
10
  //#endregion
11
- //#region \0@oxc-project+runtime@0.135.0/helpers/esm/typeof.js
11
+ //#region \0@oxc-project+runtime@0.137.0/helpers/esm/typeof.js
12
12
  function _typeof(o) {
13
13
  "@babel/helpers - typeof";
14
14
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -18,7 +18,7 @@ function _typeof(o) {
18
18
  }, _typeof(o);
19
19
  }
20
20
  //#endregion
21
- //#region \0@oxc-project+runtime@0.135.0/helpers/esm/toPrimitive.js
21
+ //#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPrimitive.js
22
22
  function toPrimitive(t, r) {
23
23
  if ("object" != _typeof(t) || !t) return t;
24
24
  var e = t[Symbol.toPrimitive];
@@ -30,13 +30,13 @@ function toPrimitive(t, r) {
30
30
  return ("string" === r ? String : Number)(t);
31
31
  }
32
32
  //#endregion
33
- //#region \0@oxc-project+runtime@0.135.0/helpers/esm/toPropertyKey.js
33
+ //#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPropertyKey.js
34
34
  function toPropertyKey(t) {
35
35
  var i = toPrimitive(t, "string");
36
36
  return "symbol" == _typeof(i) ? i : i + "";
37
37
  }
38
38
  //#endregion
39
- //#region \0@oxc-project+runtime@0.135.0/helpers/esm/defineProperty.js
39
+ //#region \0@oxc-project+runtime@0.137.0/helpers/esm/defineProperty.js
40
40
  function _defineProperty(e, r, t) {
41
41
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
42
42
  value: t,
@@ -1206,9 +1206,7 @@ function updateStyle(id, content) {
1206
1206
  }
1207
1207
  function removeStyle(id) {
1208
1208
  if (linkSheetsMap.has(id)) {
1209
- document.querySelectorAll(`link[rel="stylesheet"][data-vite-dev-id]`).forEach((el) => {
1210
- if (el.getAttribute("data-vite-dev-id") === id) el.remove();
1211
- });
1209
+ document.querySelectorAll(`link[rel="stylesheet"][data-vite-dev-id="${CSS.escape(id)}"]`).forEach((el) => el.remove());
1212
1210
  linkSheetsMap.delete(id);
1213
1211
  }
1214
1212
  const style = sheetsMap.get(id);
@@ -1,6 +1,6 @@
1
1
  import { H as __require, z as __commonJSMin } from "./logger.js";
2
2
  import { t as require_lib } from "./lib.js";
3
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/fs.js
3
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/fs.js
4
4
  var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getFileSystem = getFileSystem;
@@ -22,7 +22,7 @@ var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
22
22
  }
23
23
  }));
24
24
  //#endregion
25
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/unquote.js
25
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/unquote.js
26
26
  var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.default = unquote;
@@ -35,7 +35,7 @@ var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
35
35
  }
36
36
  }));
37
37
  //#endregion
38
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/replaceValueSymbols.js
38
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/replaceValueSymbols.js
39
39
  var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
40
40
  const matchValueName = /[$]?[\w-]+/g;
41
41
  const replaceValueSymbols = (value, replacements) => {
@@ -52,7 +52,7 @@ var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, modul
52
52
  module.exports = replaceValueSymbols;
53
53
  }));
54
54
  //#endregion
55
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/replaceSymbols.js
55
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/replaceSymbols.js
56
56
  var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
57
57
  const replaceValueSymbols = require_replaceValueSymbols();
58
58
  const replaceSymbols = (css, replacements) => {
@@ -65,7 +65,7 @@ var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) =>
65
65
  module.exports = replaceSymbols;
66
66
  }));
67
67
  //#endregion
68
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/extractICSS.js
68
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/extractICSS.js
69
69
  var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
70
70
  const importPattern = /^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;
71
71
  const balancedQuotes = /^("[^"]*"|'[^']*'|[^"']+)$/;
@@ -119,7 +119,7 @@ var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
119
119
  module.exports = extractICSS;
120
120
  }));
121
121
  //#endregion
122
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/createICSSRules.js
122
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/createICSSRules.js
123
123
  var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) => {
124
124
  const createImports = (imports, postcss, mode = "rule") => {
125
125
  return Object.keys(imports).map((path) => {
@@ -163,7 +163,7 @@ var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) =
163
163
  module.exports = createICSSRules;
164
164
  }));
165
165
  //#endregion
166
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/index.js
166
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/index.js
167
167
  var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
168
168
  module.exports = {
169
169
  replaceValueSymbols: require_replaceValueSymbols(),
@@ -173,7 +173,7 @@ var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
173
173
  };
174
174
  }));
175
175
  //#endregion
176
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/Parser.js
176
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/Parser.js
177
177
  var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
178
178
  Object.defineProperty(exports, "__esModule", { value: true });
179
179
  exports.default = void 0;
@@ -241,7 +241,7 @@ var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
241
241
  exports.default = Parser;
242
242
  }));
243
243
  //#endregion
244
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/saveJSON.js
244
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/saveJSON.js
245
245
  var require_saveJSON = /* @__PURE__ */ __commonJSMin(((exports) => {
246
246
  Object.defineProperty(exports, "__esModule", { value: true });
247
247
  exports.default = saveJSON;
@@ -256,16 +256,6 @@ var require_saveJSON = /* @__PURE__ */ __commonJSMin(((exports) => {
256
256
  //#endregion
257
257
  //#region ../../node_modules/.pnpm/lodash.camelcase@4.3.0/node_modules/lodash.camelcase/index.js
258
258
  var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module) => {
259
- /**
260
- * lodash (Custom Build) <https://lodash.com/>
261
- * Build: `lodash modularize exports="npm" -o ./`
262
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
263
- * Released under MIT license <https://lodash.com/license>
264
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
265
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
266
- */
267
- /** Used as references for various `Number` constants. */
268
- var INFINITY = Infinity;
269
259
  /** `Object#toString` result references. */
270
260
  var symbolTag = "[object Symbol]";
271
261
  /** Used to match words composed of alphanumeric characters. */
@@ -668,7 +658,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module)
668
658
  if (typeof value == "string") return value;
669
659
  if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
670
660
  var result = value + "";
671
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
661
+ return result == "0" && 1 / value == -Infinity ? "-0" : result;
672
662
  }
673
663
  /**
674
664
  * Casts `array` to a slice if it's needed.
@@ -893,7 +883,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module)
893
883
  module.exports = camelCase;
894
884
  }));
895
885
  //#endregion
896
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/localsConvention.js
886
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/localsConvention.js
897
887
  var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
898
888
  Object.defineProperty(exports, "__esModule", { value: true });
899
889
  exports.makeLocalsConventionReducer = makeLocalsConventionReducer;
@@ -933,7 +923,7 @@ var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
933
923
  }
934
924
  }));
935
925
  //#endregion
936
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/FileSystemLoader.js
926
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/FileSystemLoader.js
937
927
  var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
938
928
  Object.defineProperty(exports, "__esModule", { value: true });
939
929
  exports.default = void 0;
@@ -1018,7 +1008,7 @@ var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
1018
1008
  exports.default = FileSystemLoader;
1019
1009
  }));
1020
1010
  //#endregion
1021
- //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.15/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
1011
+ //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.16/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
1022
1012
  var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1023
1013
  const PERMANENT_MARKER = 2;
1024
1014
  const TEMPORARY_MARKER = 1;
@@ -1057,7 +1047,7 @@ var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) =
1057
1047
  module.exports = topologicalSort;
1058
1048
  }));
1059
1049
  //#endregion
1060
- //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.15/node_modules/postcss-modules-extract-imports/src/index.js
1050
+ //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.16/node_modules/postcss-modules-extract-imports/src/index.js
1061
1051
  var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1062
1052
  const topologicalSort = require_topologicalSort();
1063
1053
  const matchImports = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;
@@ -4563,7 +4553,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4563
4553
  module.exports = exports.default;
4564
4554
  }));
4565
4555
  //#endregion
4566
- //#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.15/node_modules/postcss-modules-local-by-default/src/index.js
4556
+ //#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.16/node_modules/postcss-modules-local-by-default/src/index.js
4567
4557
  var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4568
4558
  const selectorParser = require_dist();
4569
4559
  const valueParser = require_lib();
@@ -4961,7 +4951,7 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4961
4951
  module.exports.postcss = true;
4962
4952
  }));
4963
4953
  //#endregion
4964
- //#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.15/node_modules/postcss-modules-scope/src/index.js
4954
+ //#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.16/node_modules/postcss-modules-scope/src/index.js
4965
4955
  var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4966
4956
  const selectorParser = require_dist();
4967
4957
  const hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -5141,7 +5131,7 @@ var require_string_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5141
5131
  module.exports = hash;
5142
5132
  }));
5143
5133
  //#endregion
5144
- //#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.15/node_modules/postcss-modules-values/src/index.js
5134
+ //#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.16/node_modules/postcss-modules-values/src/index.js
5145
5135
  var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5146
5136
  const ICSSUtils = require_src$4();
5147
5137
  const matchImports = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;
@@ -5228,7 +5218,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5228
5218
  module.exports.postcss = true;
5229
5219
  }));
5230
5220
  //#endregion
5231
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/scoping.js
5221
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/scoping.js
5232
5222
  var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
5233
5223
  Object.defineProperty(exports, "__esModule", { value: true });
5234
5224
  exports.behaviours = void 0;
@@ -5290,7 +5280,7 @@ var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
5290
5280
  }
5291
5281
  }));
5292
5282
  //#endregion
5293
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/pluginFactory.js
5283
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/pluginFactory.js
5294
5284
  var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
5295
5285
  Object.defineProperty(exports, "__esModule", { value: true });
5296
5286
  exports.makePlugin = makePlugin;
@@ -5364,7 +5354,7 @@ var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
5364
5354
  }
5365
5355
  }));
5366
5356
  //#endregion
5367
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/index.js
5357
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/index.js
5368
5358
  var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5369
5359
  var _fs = __require("fs");
5370
5360
  var _fs2 = require_fs();
@@ -1,5 +1,5 @@
1
1
  //#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/unicode.js
2
- const UNDEFINED_CODE_POINTS = new Set([
2
+ const UNDEFINED_CODE_POINTS = /* @__PURE__ */ new Set([
3
3
  65534,
4
4
  65535,
5
5
  131070,
@@ -323,7 +323,7 @@ function getTokenAttr(token, attrName) {
323
323
  }
324
324
  //#endregion
325
325
  //#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js
326
- const decodeMap = new Map([
326
+ const decodeMap = /* @__PURE__ */ new Map([
327
327
  [0, 65533],
328
328
  [128, 8364],
329
329
  [130, 8218],
@@ -1038,7 +1038,7 @@ var TAG_ID;
1038
1038
  TAG_ID[TAG_ID["WBR"] = 122] = "WBR";
1039
1039
  TAG_ID[TAG_ID["XMP"] = 123] = "XMP";
1040
1040
  })(TAG_ID || (TAG_ID = {}));
1041
- const TAG_NAME_TO_ID = new Map([
1041
+ const TAG_NAME_TO_ID = /* @__PURE__ */ new Map([
1042
1042
  [TAG_NAMES.A, TAG_ID.A],
1043
1043
  [TAG_NAMES.ADDRESS, TAG_ID.ADDRESS],
1044
1044
  [TAG_NAMES.ANNOTATION_XML, TAG_ID.ANNOTATION_XML],
@@ -1169,7 +1169,7 @@ function getTagID(tagName) {
1169
1169
  }
1170
1170
  const $ = TAG_ID;
1171
1171
  const SPECIAL_ELEMENTS = {
1172
- [NS.HTML]: new Set([
1172
+ [NS.HTML]: /* @__PURE__ */ new Set([
1173
1173
  $.ADDRESS,
1174
1174
  $.APPLET,
1175
1175
  $.AREA,
@@ -1252,7 +1252,7 @@ const SPECIAL_ELEMENTS = {
1252
1252
  $.WBR,
1253
1253
  $.XMP
1254
1254
  ]),
1255
- [NS.MATHML]: new Set([
1255
+ [NS.MATHML]: /* @__PURE__ */ new Set([
1256
1256
  $.MI,
1257
1257
  $.MO,
1258
1258
  $.MN,
@@ -1260,7 +1260,7 @@ const SPECIAL_ELEMENTS = {
1260
1260
  $.MTEXT,
1261
1261
  $.ANNOTATION_XML
1262
1262
  ]),
1263
- [NS.SVG]: new Set([
1263
+ [NS.SVG]: /* @__PURE__ */ new Set([
1264
1264
  $.TITLE,
1265
1265
  $.FOREIGN_OBJECT,
1266
1266
  $.DESC
@@ -1269,7 +1269,7 @@ const SPECIAL_ELEMENTS = {
1269
1269
  [NS.XML]: /* @__PURE__ */ new Set(),
1270
1270
  [NS.XMLNS]: /* @__PURE__ */ new Set()
1271
1271
  };
1272
- const NUMBERED_HEADERS = new Set([
1272
+ const NUMBERED_HEADERS = /* @__PURE__ */ new Set([
1273
1273
  $.H1,
1274
1274
  $.H2,
1275
1275
  $.H3,
@@ -3337,7 +3337,7 @@ var Tokenizer = class {
3337
3337
  };
3338
3338
  //#endregion
3339
3339
  //#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/open-element-stack.js
3340
- const IMPLICIT_END_TAG_REQUIRED = new Set([
3340
+ const IMPLICIT_END_TAG_REQUIRED = /* @__PURE__ */ new Set([
3341
3341
  TAG_ID.DD,
3342
3342
  TAG_ID.DT,
3343
3343
  TAG_ID.LI,
@@ -3349,7 +3349,7 @@ const IMPLICIT_END_TAG_REQUIRED = new Set([
3349
3349
  TAG_ID.RT,
3350
3350
  TAG_ID.RTC
3351
3351
  ]);
3352
- const IMPLICIT_END_TAG_REQUIRED_THOROUGHLY = new Set([
3352
+ const IMPLICIT_END_TAG_REQUIRED_THOROUGHLY = /* @__PURE__ */ new Set([
3353
3353
  ...IMPLICIT_END_TAG_REQUIRED,
3354
3354
  TAG_ID.CAPTION,
3355
3355
  TAG_ID.COLGROUP,
@@ -3360,7 +3360,7 @@ const IMPLICIT_END_TAG_REQUIRED_THOROUGHLY = new Set([
3360
3360
  TAG_ID.THEAD,
3361
3361
  TAG_ID.TR
3362
3362
  ]);
3363
- const SCOPING_ELEMENTS_HTML = new Set([
3363
+ const SCOPING_ELEMENTS_HTML = /* @__PURE__ */ new Set([
3364
3364
  TAG_ID.APPLET,
3365
3365
  TAG_ID.CAPTION,
3366
3366
  TAG_ID.HTML,
@@ -3371,13 +3371,13 @@ const SCOPING_ELEMENTS_HTML = new Set([
3371
3371
  TAG_ID.TEMPLATE,
3372
3372
  TAG_ID.TH
3373
3373
  ]);
3374
- const SCOPING_ELEMENTS_HTML_LIST = new Set([
3374
+ const SCOPING_ELEMENTS_HTML_LIST = /* @__PURE__ */ new Set([
3375
3375
  ...SCOPING_ELEMENTS_HTML,
3376
3376
  TAG_ID.OL,
3377
3377
  TAG_ID.UL
3378
3378
  ]);
3379
- const SCOPING_ELEMENTS_HTML_BUTTON = new Set([...SCOPING_ELEMENTS_HTML, TAG_ID.BUTTON]);
3380
- const SCOPING_ELEMENTS_MATHML = new Set([
3379
+ const SCOPING_ELEMENTS_HTML_BUTTON = /* @__PURE__ */ new Set([...SCOPING_ELEMENTS_HTML, TAG_ID.BUTTON]);
3380
+ const SCOPING_ELEMENTS_MATHML = /* @__PURE__ */ new Set([
3381
3381
  TAG_ID.ANNOTATION_XML,
3382
3382
  TAG_ID.MI,
3383
3383
  TAG_ID.MN,
@@ -3385,29 +3385,29 @@ const SCOPING_ELEMENTS_MATHML = new Set([
3385
3385
  TAG_ID.MS,
3386
3386
  TAG_ID.MTEXT
3387
3387
  ]);
3388
- const SCOPING_ELEMENTS_SVG = new Set([
3388
+ const SCOPING_ELEMENTS_SVG = /* @__PURE__ */ new Set([
3389
3389
  TAG_ID.DESC,
3390
3390
  TAG_ID.FOREIGN_OBJECT,
3391
3391
  TAG_ID.TITLE
3392
3392
  ]);
3393
- const TABLE_ROW_CONTEXT = new Set([
3393
+ const TABLE_ROW_CONTEXT = /* @__PURE__ */ new Set([
3394
3394
  TAG_ID.TR,
3395
3395
  TAG_ID.TEMPLATE,
3396
3396
  TAG_ID.HTML
3397
3397
  ]);
3398
- const TABLE_BODY_CONTEXT = new Set([
3398
+ const TABLE_BODY_CONTEXT = /* @__PURE__ */ new Set([
3399
3399
  TAG_ID.TBODY,
3400
3400
  TAG_ID.TFOOT,
3401
3401
  TAG_ID.THEAD,
3402
3402
  TAG_ID.TEMPLATE,
3403
3403
  TAG_ID.HTML
3404
3404
  ]);
3405
- const TABLE_CONTEXT = new Set([
3405
+ const TABLE_CONTEXT = /* @__PURE__ */ new Set([
3406
3406
  TAG_ID.TABLE,
3407
3407
  TAG_ID.TEMPLATE,
3408
3408
  TAG_ID.HTML
3409
3409
  ]);
3410
- const TABLE_CELLS = new Set([TAG_ID.TD, TAG_ID.TH]);
3410
+ const TABLE_CELLS = /* @__PURE__ */ new Set([TAG_ID.TD, TAG_ID.TH]);
3411
3411
  var OpenElementStack = class {
3412
3412
  get currentTmplContentOrNode() {
3413
3413
  return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
@@ -3943,7 +3943,7 @@ const QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES = [
3943
3943
  "-//w3c//dtd html 4.01 frameset//",
3944
3944
  "-//w3c//dtd html 4.01 transitional//"
3945
3945
  ];
3946
- const QUIRKS_MODE_PUBLIC_IDS = new Set([
3946
+ const QUIRKS_MODE_PUBLIC_IDS = /* @__PURE__ */ new Set([
3947
3947
  "-//w3o//dtd w3 html strict 3.0//en//",
3948
3948
  "-/w3c/dtd html 4.0 transitional/en",
3949
3949
  "html"
@@ -4043,7 +4043,7 @@ const SVG_ATTRS_ADJUSTMENT_MAP = new Map([
4043
4043
  "yChannelSelector",
4044
4044
  "zoomAndPan"
4045
4045
  ].map((attr) => [attr.toLowerCase(), attr]));
4046
- const XML_ATTRS_ADJUSTMENT_MAP = new Map([
4046
+ const XML_ATTRS_ADJUSTMENT_MAP = /* @__PURE__ */ new Map([
4047
4047
  ["xlink:actuate", {
4048
4048
  prefix: "xlink",
4049
4049
  name: "actuate",
@@ -4138,7 +4138,7 @@ const SVG_TAG_NAMES_ADJUSTMENT_MAP = new Map([
4138
4138
  "radialGradient",
4139
4139
  "textPath"
4140
4140
  ].map((tn) => [tn.toLowerCase(), tn]));
4141
- const EXITS_FOREIGN_CONTENT = new Set([
4141
+ const EXITS_FOREIGN_CONTENT = /* @__PURE__ */ new Set([
4142
4142
  TAG_ID.B,
4143
4143
  TAG_ID.BIG,
4144
4144
  TAG_ID.BLOCKQUOTE,
@@ -4271,7 +4271,7 @@ const BASE_LOC = {
4271
4271
  endCol: -1,
4272
4272
  endOffset: -1
4273
4273
  };
4274
- const TABLE_STRUCTURE_TAGS = new Set([
4274
+ const TABLE_STRUCTURE_TAGS = /* @__PURE__ */ new Set([
4275
4275
  TAG_ID.TABLE,
4276
4276
  TAG_ID.TBODY,
4277
4277
  TAG_ID.TFOOT,
@@ -6253,7 +6253,7 @@ function tokenInTableText(p, token) {
6253
6253
  p.insertionMode = p.originalInsertionMode;
6254
6254
  p._processToken(token);
6255
6255
  }
6256
- const TABLE_VOID_ELEMENTS = new Set([
6256
+ const TABLE_VOID_ELEMENTS = /* @__PURE__ */ new Set([
6257
6257
  TAG_ID.CAPTION,
6258
6258
  TAG_ID.COL,
6259
6259
  TAG_ID.COLGROUP,
@@ -10,7 +10,14 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
10
  var __getOwnPropNames = Object.getOwnPropertyNames;
11
11
  var __getProtoOf = Object.getPrototypeOf;
12
12
  var __hasOwnProp = Object.prototype.hasOwnProperty;
13
- var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
13
+ var __esmMin = (fn, res, err) => () => {
14
+ if (err) throw err[0];
15
+ try {
16
+ return fn && (res = fn(fn = 0)), res;
17
+ } catch (e) {
18
+ throw err = [e], e;
19
+ }
20
+ };
14
21
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
15
22
  var __exportAll = (all, no_symbols) => {
16
23
  let target = {};
@@ -36,7 +43,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
36
43
  enumerable: true
37
44
  }) : target, mod));
38
45
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
39
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
46
+ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
40
47
  //#endregion
41
48
  //#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
42
49
  var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -237,13 +244,13 @@ const KNOWN_ASSET_TYPES = [
237
244
  ];
238
245
  const DEFAULT_ASSETS_RE = new RegExp(`\\.(` + KNOWN_ASSET_TYPES.join("|") + `)(\\?.*)?$`, "i");
239
246
  const DEP_VERSION_RE = /[?&](v=[\w.-]+)\b/;
240
- const loopbackHosts = new Set([
247
+ const loopbackHosts = /* @__PURE__ */ new Set([
241
248
  "localhost",
242
249
  "127.0.0.1",
243
250
  "::1",
244
251
  "0000:0000:0000:0000:0000:0000:0000:0001"
245
252
  ]);
246
- const wildcardHosts = new Set([
253
+ const wildcardHosts = /* @__PURE__ */ new Set([
247
254
  "0.0.0.0",
248
255
  "::",
249
256
  "0000:0000:0000:0000:0000:0000:0000:0000"