vite 7.1.5 → 7.1.6

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.
@@ -75,12 +75,12 @@ var require_extractICSS = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
75
75
  const importPattern = /^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;
76
76
  const balancedQuotes = /^("[^"]*"|'[^']*'|[^"']+)$/;
77
77
  const getDeclsObject = (rule) => {
78
- const object$1 = {};
78
+ const object = {};
79
79
  rule.walkDecls((decl) => {
80
80
  const before = decl.raws.before ? decl.raws.before.trim() : "";
81
- object$1[before + decl.prop] = decl.value;
81
+ object[before + decl.prop] = decl.value;
82
82
  });
83
- return object$1;
83
+ return object;
84
84
  };
85
85
  /**
86
86
  *
@@ -188,7 +188,6 @@ var require_src$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/icss-
188
188
  //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/Parser.js
189
189
  var require_Parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/Parser.js": ((exports) => {
190
190
  Object.defineProperty(exports, "__esModule", { value: true });
191
- exports.default = void 0;
192
191
  var _icssUtils = require_src$4();
193
192
  const importRegexp = /^:import\((.+)\)$/;
194
193
  var Parser$1 = class {
@@ -580,9 +579,9 @@ var require_lodash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loda
580
579
  * @param {Object} object The object to query.
581
580
  * @returns {Function} Returns the new accessor function.
582
581
  */
583
- function basePropertyOf(object$1) {
582
+ function basePropertyOf(object) {
584
583
  return function(key) {
585
- return object$1 == null ? void 0 : object$1[key];
584
+ return object == null ? void 0 : object[key];
586
585
  };
587
586
  }
588
587
  /**
@@ -644,14 +643,12 @@ var require_lodash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loda
644
643
  function unicodeWords(string$1) {
645
644
  return string$1.match(reUnicodeWord) || [];
646
645
  }
647
- /** Used for built-in method references. */
648
- var objectProto = Object.prototype;
649
646
  /**
650
647
  * Used to resolve the
651
648
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
652
649
  * of values.
653
650
  */
654
- var objectToString = objectProto.toString;
651
+ var objectToString = Object.prototype.toString;
655
652
  /** Built-in value references. */
656
653
  var Symbol$1 = root$1.Symbol;
657
654
  /** Used to convert symbols to primitives and strings. */
@@ -958,7 +955,6 @@ var require_localsConvention = /* @__PURE__ */ __commonJS({ "../../node_modules/
958
955
  //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/FileSystemLoader.js
959
956
  var require_FileSystemLoader = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/FileSystemLoader.js": ((exports) => {
960
957
  Object.defineProperty(exports, "__esModule", { value: true });
961
- exports.default = void 0;
962
958
  var _postcss$1 = _interopRequireDefault$21(__require("postcss"));
963
959
  var _path = _interopRequireDefault$21(__require("path"));
964
960
  var _Parser$1 = _interopRequireDefault$21(require_Parser());
@@ -973,9 +969,8 @@ var require_FileSystemLoader = /* @__PURE__ */ __commonJS({ "../../node_modules/
973
969
  async load(sourceString, sourcePath, trace, pathFetcher) {
974
970
  const parser$1 = new _Parser$1.default(pathFetcher, trace);
975
971
  const plugins = this.plugins.concat([parser$1.plugin()]);
976
- const result = await (0, _postcss$1.default)(plugins).process(sourceString, { from: sourcePath });
977
972
  return {
978
- injectableSource: result.css,
973
+ injectableSource: (await (0, _postcss$1.default)(plugins).process(sourceString, { from: sourcePath })).css,
979
974
  exportTokens: parser$1.exportTokens
980
975
  };
981
976
  }
@@ -1048,8 +1043,7 @@ var require_topologicalSort = /* @__PURE__ */ __commonJS({ "../../node_modules/.
1048
1043
  const TEMPORARY_MARKER = 1;
1049
1044
  function createError(node, graph) {
1050
1045
  const er = /* @__PURE__ */ new Error("Nondeterministic import's order");
1051
- const related = graph[node];
1052
- const relatedNode = related.find((relatedNode$1) => graph[relatedNode$1].indexOf(node) > -1);
1046
+ const relatedNode = graph[node].find((relatedNode$1) => graph[relatedNode$1].indexOf(node) > -1);
1053
1047
  er.nodes = [node, relatedNode];
1054
1048
  return er;
1055
1049
  }
@@ -1182,8 +1176,7 @@ var require_src$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
1182
1176
  const importsOrder = topologicalSort(graph, failOnWrongOrder);
1183
1177
  if (importsOrder instanceof Error) {
1184
1178
  const importPath = importsOrder.nodes.find((importPath$1) => importDecls.hasOwnProperty(importPath$1));
1185
- const decl = importDecls[importPath];
1186
- throw decl.error("Failed to resolve order of composed modules " + importsOrder.nodes.map((importPath$1) => "`" + importPath$1 + "`").join(", ") + ".", {
1179
+ throw importDecls[importPath].error("Failed to resolve order of composed modules " + importsOrder.nodes.map((importPath$1) => "`" + importPath$1 + "`").join(", ") + ".", {
1187
1180
  plugin: "postcss-modules-extract-imports",
1188
1181
  word: "composes"
1189
1182
  });
@@ -1643,8 +1636,7 @@ var require_generic_names = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
1643
1636
  content: hashPrefix + path.relative(context, filepath).replace(/\\/g, "/") + "\0" + localName,
1644
1637
  context
1645
1638
  };
1646
- var genericName = interpolateName(loaderContext, name, loaderOptions);
1647
- return genericName.replace(new RegExp("[^a-zA-Z0-9\\-_\xA0-￿]", "g"), "-").replace(/^((-?[0-9])|--)/, "_$1");
1639
+ return interpolateName(loaderContext, name, loaderOptions).replace(new RegExp("[^a-zA-Z0-9\\-_\xA0-￿]", "g"), "-").replace(/^((-?[0-9])|--)/, "_$1");
1648
1640
  };
1649
1641
  };
1650
1642
  }) });
@@ -1670,16 +1662,14 @@ var require_unesc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
1670
1662
  if (!valid) break;
1671
1663
  hex$1 += lower[i$1];
1672
1664
  }
1673
- if (hex$1.length === 0) return void 0;
1665
+ if (hex$1.length === 0) return;
1674
1666
  var codePoint = parseInt(hex$1, 16);
1675
- var isSurrogate = codePoint >= 55296 && codePoint <= 57343;
1676
- if (isSurrogate || codePoint === 0 || codePoint > 1114111) return ["�", hex$1.length + (spaceTerminated ? 1 : 0)];
1667
+ if (codePoint >= 55296 && codePoint <= 57343 || codePoint === 0 || codePoint > 1114111) return ["�", hex$1.length + (spaceTerminated ? 1 : 0)];
1677
1668
  return [String.fromCodePoint(codePoint), hex$1.length + (spaceTerminated ? 1 : 0)];
1678
1669
  }
1679
1670
  var CONTAINS_ESCAPE = /\\/;
1680
1671
  function unesc(str$1) {
1681
- var needToProcess = CONTAINS_ESCAPE.test(str$1);
1682
- if (!needToProcess) return str$1;
1672
+ if (!CONTAINS_ESCAPE.test(str$1)) return str$1;
1683
1673
  var ret = "";
1684
1674
  for (var i$1 = 0; i$1 < str$1.length; i$1++) {
1685
1675
  if (str$1[i$1] === "\\") {
@@ -1713,7 +1703,7 @@ var require_getProp = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
1713
1703
  for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) props[_key - 1] = arguments[_key];
1714
1704
  while (props.length > 0) {
1715
1705
  var prop = props.shift();
1716
- if (!obj[prop]) return void 0;
1706
+ if (!obj[prop]) return;
1717
1707
  obj = obj[prop];
1718
1708
  }
1719
1709
  return obj;
@@ -1763,7 +1753,6 @@ var require_stripComments = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
1763
1753
  //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/index.js
1764
1754
  var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/index.js": ((exports) => {
1765
1755
  exports.__esModule = true;
1766
- exports.unesc = exports.stripComments = exports.getProp = exports.ensureObject = void 0;
1767
1756
  var _unesc$1 = _interopRequireDefault$20(require_unesc());
1768
1757
  exports.unesc = _unesc$1["default"];
1769
1758
  var _getProp = _interopRequireDefault$20(require_getProp());
@@ -1804,8 +1793,7 @@ var require_node$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
1804
1793
  for (var i$1 in obj) {
1805
1794
  if (!obj.hasOwnProperty(i$1)) continue;
1806
1795
  var value = obj[i$1];
1807
- var type = typeof value;
1808
- if (i$1 === "parent" && type === "object") {
1796
+ if (i$1 === "parent" && typeof value === "object") {
1809
1797
  if (parent) cloned[i$1] = parent;
1810
1798
  } else if (value instanceof Array) cloned[i$1] = value.map(function(j) {
1811
1799
  return cloneNode$1(j, cloned);
@@ -1872,7 +1860,6 @@ var require_node$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
1872
1860
  if (this.source.end.line === line && this.source.end.column < column) return false;
1873
1861
  return true;
1874
1862
  }
1875
- return void 0;
1876
1863
  };
1877
1864
  _proto.stringifyProperty = function stringifyProperty(name) {
1878
1865
  return this.raws && this.raws[name] || this[name];
@@ -1920,7 +1907,6 @@ var require_node$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
1920
1907
  //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/types.js
1921
1908
  var require_types = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/types.js": ((exports) => {
1922
1909
  exports.__esModule = true;
1923
- exports.UNIVERSAL = exports.TAG = exports.STRING = exports.SELECTOR = exports.ROOT = exports.PSEUDO = exports.NESTING = exports.ID = exports.COMMENT = exports.COMBINATOR = exports.CLASS = exports.ATTRIBUTE = void 0;
1924
1910
  var TAG = "tag";
1925
1911
  exports.TAG = TAG;
1926
1912
  var STRING = "string";
@@ -2040,8 +2026,7 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
2040
2026
  var Container = /* @__PURE__ */ function(_Node) {
2041
2027
  _inheritsLoose$13(Container$1, _Node);
2042
2028
  function Container$1(opts) {
2043
- var _this;
2044
- _this = _Node.call(this, opts) || this;
2029
+ var _this = _Node.call(this, opts) || this;
2045
2030
  if (!_this.nodes) _this.nodes = [];
2046
2031
  return _this;
2047
2032
  }
@@ -2142,7 +2127,7 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
2142
2127
  };
2143
2128
  _proto.atPosition = function atPosition(line, col) {
2144
2129
  if (this.isAtPosition(line, col)) return this._findChildAtPosition(line, col) || this;
2145
- else return void 0;
2130
+ else return;
2146
2131
  };
2147
2132
  _proto._inferEndPosition = function _inferEndPosition() {
2148
2133
  if (this.last && this.last.source && this.last.source.end) {
@@ -2157,7 +2142,7 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
2157
2142
  this.lastEach++;
2158
2143
  var id$1 = this.lastEach;
2159
2144
  this.indexes[id$1] = 0;
2160
- if (!this.length) return void 0;
2145
+ if (!this.length) return;
2161
2146
  var index, result;
2162
2147
  while (this.indexes[id$1] < this.length) {
2163
2148
  index = this.indexes[id$1];
@@ -2329,8 +2314,7 @@ var require_root = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
2329
2314
  var Root = /* @__PURE__ */ function(_Container) {
2330
2315
  _inheritsLoose$12(Root$1, _Container);
2331
2316
  function Root$1(opts) {
2332
- var _this;
2333
- _this = _Container.call(this, opts) || this;
2317
+ var _this = _Container.call(this, opts) || this;
2334
2318
  _this.type = _types$13.ROOT;
2335
2319
  return _this;
2336
2320
  }
@@ -2383,8 +2367,7 @@ var require_selector = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
2383
2367
  var Selector = /* @__PURE__ */ function(_Container) {
2384
2368
  _inheritsLoose$11(Selector$1, _Container);
2385
2369
  function Selector$1(opts) {
2386
- var _this;
2387
- _this = _Container.call(this, opts) || this;
2370
+ var _this = _Container.call(this, opts) || this;
2388
2371
  _this.type = _types$12.SELECTOR;
2389
2372
  return _this;
2390
2373
  }
@@ -2397,8 +2380,7 @@ var require_selector = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
2397
2380
  //#endregion
2398
2381
  //#region ../../node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js
2399
2382
  var require_cssesc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js": ((exports, module) => {
2400
- var object = {};
2401
- var hasOwnProperty$1 = object.hasOwnProperty;
2383
+ var hasOwnProperty$1 = {}.hasOwnProperty;
2402
2384
  var merge = function merge$1(options, defaults) {
2403
2385
  if (!options) return defaults;
2404
2386
  var result = {};
@@ -2498,8 +2480,7 @@ var require_className = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
2498
2480
  var ClassName = /* @__PURE__ */ function(_Node) {
2499
2481
  _inheritsLoose$10(ClassName$1, _Node);
2500
2482
  function ClassName$1(opts) {
2501
- var _this;
2502
- _this = _Node.call(this, opts) || this;
2483
+ var _this = _Node.call(this, opts) || this;
2503
2484
  _this.type = _types$11.CLASS;
2504
2485
  _this._constructed = true;
2505
2486
  return _this;
@@ -2555,8 +2536,7 @@ var require_comment = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
2555
2536
  var Comment = /* @__PURE__ */ function(_Node) {
2556
2537
  _inheritsLoose$9(Comment$1, _Node);
2557
2538
  function Comment$1(opts) {
2558
- var _this;
2559
- _this = _Node.call(this, opts) || this;
2539
+ var _this = _Node.call(this, opts) || this;
2560
2540
  _this.type = _types$10.COMMENT;
2561
2541
  return _this;
2562
2542
  }
@@ -2591,8 +2571,7 @@ var require_id = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-
2591
2571
  var ID = /* @__PURE__ */ function(_Node) {
2592
2572
  _inheritsLoose$8(ID$2, _Node);
2593
2573
  function ID$2(opts) {
2594
- var _this;
2595
- _this = _Node.call(this, opts) || this;
2574
+ var _this = _Node.call(this, opts) || this;
2596
2575
  _this.type = _types$9.ID;
2597
2576
  return _this;
2598
2577
  }
@@ -2728,8 +2707,7 @@ var require_tag = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
2728
2707
  var Tag = /* @__PURE__ */ function(_Namespace) {
2729
2708
  _inheritsLoose$6(Tag$1, _Namespace);
2730
2709
  function Tag$1(opts) {
2731
- var _this;
2732
- _this = _Namespace.call(this, opts) || this;
2710
+ var _this = _Namespace.call(this, opts) || this;
2733
2711
  _this.type = _types$8.TAG;
2734
2712
  return _this;
2735
2713
  }
@@ -2764,8 +2742,7 @@ var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
2764
2742
  var String$1 = /* @__PURE__ */ function(_Node) {
2765
2743
  _inheritsLoose$5(String$2, _Node);
2766
2744
  function String$2(opts) {
2767
- var _this;
2768
- _this = _Node.call(this, opts) || this;
2745
+ var _this = _Node.call(this, opts) || this;
2769
2746
  _this.type = _types$7.STRING;
2770
2747
  return _this;
2771
2748
  }
@@ -2800,8 +2777,7 @@ var require_pseudo = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
2800
2777
  var Pseudo = /* @__PURE__ */ function(_Container) {
2801
2778
  _inheritsLoose$4(Pseudo$1, _Container);
2802
2779
  function Pseudo$1(opts) {
2803
- var _this;
2804
- _this = _Container.call(this, opts) || this;
2780
+ var _this = _Container.call(this, opts) || this;
2805
2781
  _this.type = _types$6.PSEUDO;
2806
2782
  return _this;
2807
2783
  }
@@ -2834,7 +2810,6 @@ var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/util-d
2834
2810
  //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/attribute.js
2835
2811
  var require_attribute = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/attribute.js": ((exports) => {
2836
2812
  exports.__esModule = true;
2837
- exports["default"] = void 0;
2838
2813
  exports.unescapeValue = unescapeValue;
2839
2814
  var _cssesc = _interopRequireDefault$9(require_cssesc());
2840
2815
  var _unesc = _interopRequireDefault$9(require_unesc());
@@ -2949,8 +2924,7 @@ var require_attribute = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
2949
2924
  if (options === void 0) options = {};
2950
2925
  var quoteMark = this._determineQuoteMark(options);
2951
2926
  var cssescopts = CSSESC_QUOTE_OPTIONS[quoteMark];
2952
- var escaped = (0, _cssesc["default"])(this._value, cssescopts);
2953
- return escaped;
2927
+ return (0, _cssesc["default"])(this._value, cssescopts);
2954
2928
  };
2955
2929
  _proto._determineQuoteMark = function _determineQuoteMark(options) {
2956
2930
  return options.smart ? this.smartQuoteMark(options) : this.preferredQuoteMark(options);
@@ -2973,8 +2947,7 @@ var require_attribute = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
2973
2947
  if (pref === Attribute$1.NO_QUOTE) {
2974
2948
  var quote = this.quoteMark || options.quoteMark || Attribute$1.DOUBLE_QUOTE;
2975
2949
  var opts = CSSESC_QUOTE_OPTIONS[quote];
2976
- var quoteValue = (0, _cssesc["default"])(v, opts);
2977
- if (quoteValue.length < escaped.length) return quote;
2950
+ if ((0, _cssesc["default"])(v, opts).length < escaped.length) return quote;
2978
2951
  }
2979
2952
  return pref;
2980
2953
  }
@@ -3185,8 +3158,7 @@ var require_universal = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
3185
3158
  var Universal = /* @__PURE__ */ function(_Namespace) {
3186
3159
  _inheritsLoose$2(Universal$1, _Namespace);
3187
3160
  function Universal$1(opts) {
3188
- var _this;
3189
- _this = _Namespace.call(this, opts) || this;
3161
+ var _this = _Namespace.call(this, opts) || this;
3190
3162
  _this.type = _types$4.UNIVERSAL;
3191
3163
  _this.value = "*";
3192
3164
  return _this;
@@ -3222,8 +3194,7 @@ var require_combinator = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
3222
3194
  var Combinator = /* @__PURE__ */ function(_Node) {
3223
3195
  _inheritsLoose$1(Combinator$1, _Node);
3224
3196
  function Combinator$1(opts) {
3225
- var _this;
3226
- _this = _Node.call(this, opts) || this;
3197
+ var _this = _Node.call(this, opts) || this;
3227
3198
  _this.type = _types$3.COMBINATOR;
3228
3199
  return _this;
3229
3200
  }
@@ -3258,8 +3229,7 @@ var require_nesting = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
3258
3229
  var Nesting = /* @__PURE__ */ function(_Node) {
3259
3230
  _inheritsLoose(Nesting$1, _Node);
3260
3231
  function Nesting$1(opts) {
3261
- var _this;
3262
- _this = _Node.call(this, opts) || this;
3232
+ var _this = _Node.call(this, opts) || this;
3263
3233
  _this.type = _types$2.NESTING;
3264
3234
  _this.value = "&";
3265
3235
  return _this;
@@ -3287,7 +3257,6 @@ var require_sortAscending = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
3287
3257
  //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenTypes.js
3288
3258
  var require_tokenTypes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenTypes.js": ((exports) => {
3289
3259
  exports.__esModule = true;
3290
- exports.word = exports.tilde = exports.tab = exports.str = exports.space = exports.slash = exports.singleQuote = exports.semicolon = exports.plus = exports.pipe = exports.openSquare = exports.openParenthesis = exports.newline = exports.greaterThan = exports.feed = exports.equals = exports.doubleQuote = exports.dollar = exports.cr = exports.comment = exports.comma = exports.combinator = exports.colon = exports.closeSquare = exports.closeParenthesis = exports.caret = exports.bang = exports.backslash = exports.at = exports.asterisk = exports.ampersand = void 0;
3291
3260
  var ampersand = 38;
3292
3261
  exports.ampersand = ampersand;
3293
3262
  var asterisk = 42;
@@ -3356,7 +3325,6 @@ var require_tokenTypes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
3356
3325
  //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenize.js
3357
3326
  var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenize.js": ((exports) => {
3358
3327
  exports.__esModule = true;
3359
- exports.FIELDS = void 0;
3360
3328
  exports["default"] = tokenize;
3361
3329
  var t = _interopRequireWildcard$2(require_tokenTypes());
3362
3330
  var _unescapable, _wordDelimiters;
@@ -3674,7 +3642,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
3674
3642
  return getSource(token[_tokenize.FIELDS.START_LINE], token[_tokenize.FIELDS.START_COL], token[_tokenize.FIELDS.END_LINE], token[_tokenize.FIELDS.END_COL]);
3675
3643
  }
3676
3644
  function getTokenSourceSpan(startToken, endToken) {
3677
- if (!startToken) return void 0;
3645
+ if (!startToken) return;
3678
3646
  return getSource(startToken[_tokenize.FIELDS.START_LINE], startToken[_tokenize.FIELDS.START_COL], endToken[_tokenize.FIELDS.END_LINE], endToken[_tokenize.FIELDS.END_COL]);
3679
3647
  }
3680
3648
  function unescapeProp(node, prop) {
@@ -3791,8 +3759,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
3791
3759
  commentBefore = "";
3792
3760
  }
3793
3761
  node.namespace = (node.namespace || "") + content;
3794
- var rawValue = (0, _util.getProp)(node, "raws", "namespace") || null;
3795
- if (rawValue) node.raws.namespace += content;
3762
+ if ((0, _util.getProp)(node, "raws", "namespace") || null) node.raws.namespace += content;
3796
3763
  lastAdded = "namespace";
3797
3764
  }
3798
3765
  spaceAfterMeaningfulToken = false;
@@ -3841,8 +3808,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
3841
3808
  commentBefore = "";
3842
3809
  }
3843
3810
  node.attribute = (node.attribute || "") + content;
3844
- var _rawValue = (0, _util.getProp)(node, "raws", "attribute") || null;
3845
- if (_rawValue) node.raws.attribute += content;
3811
+ if ((0, _util.getProp)(node, "raws", "attribute") || null) node.raws.attribute += content;
3846
3812
  lastAdded = "attribute";
3847
3813
  } else if (!node.value && node.value !== "" || lastAdded === "value" && !(spaceAfterMeaningfulToken || node.quoteMark)) {
3848
3814
  var _unescaped = (0, _util.unesc)(content);
@@ -3976,11 +3942,10 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
3976
3942
  rawSpace += spaceBefore + n.value + _this2.lossySpace(n.rawSpaceAfter, requiredSpace && rawSpaceBefore.length === 0);
3977
3943
  });
3978
3944
  if (rawSpace === space$1) rawSpace = void 0;
3979
- var result = {
3945
+ return {
3980
3946
  space: space$1,
3981
3947
  rawSpace
3982
3948
  };
3983
- return result;
3984
3949
  };
3985
3950
  _proto.isNamedCombinator = function isNamedCombinator(position) {
3986
3951
  if (position === void 0) position = this.position;
@@ -4120,8 +4085,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
4120
4085
  };
4121
4086
  _proto.nesting = function nesting$1() {
4122
4087
  if (this.nextToken) {
4123
- var nextContent = this.content(this.nextToken);
4124
- if (nextContent === "|") {
4088
+ if (this.content(this.nextToken) === "|") {
4125
4089
  this.position++;
4126
4090
  return;
4127
4091
  }
@@ -4463,20 +4427,17 @@ var require_processor = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
4463
4427
  var _proto = Processor$1.prototype;
4464
4428
  _proto._shouldUpdateSelector = function _shouldUpdateSelector(rule, options) {
4465
4429
  if (options === void 0) options = {};
4466
- var merged = Object.assign({}, this.options, options);
4467
- if (merged.updateSelector === false) return false;
4430
+ if (Object.assign({}, this.options, options).updateSelector === false) return false;
4468
4431
  else return typeof rule !== "string";
4469
4432
  };
4470
4433
  _proto._isLossy = function _isLossy(options) {
4471
4434
  if (options === void 0) options = {};
4472
- var merged = Object.assign({}, this.options, options);
4473
- if (merged.lossless === false) return true;
4435
+ if (Object.assign({}, this.options, options).lossless === false) return true;
4474
4436
  else return false;
4475
4437
  };
4476
4438
  _proto._root = function _root$2(rule, options) {
4477
4439
  if (options === void 0) options = {};
4478
- var parser$1 = new _parser["default"](rule, this._parseOptions(options));
4479
- return parser$1.root;
4440
+ return new _parser["default"](rule, this._parseOptions(options)).root;
4480
4441
  };
4481
4442
  _proto._parseOptions = function _parseOptions(options) {
4482
4443
  return { lossy: this._isLossy(options) };
@@ -4556,7 +4517,6 @@ var require_processor = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
4556
4517
  //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/constructors.js
4557
4518
  var require_constructors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/constructors.js": ((exports) => {
4558
4519
  exports.__esModule = true;
4559
- exports.universal = exports.tag = exports.string = exports.selector = exports.root = exports.pseudo = exports.nesting = exports.id = exports.comment = exports.combinator = exports.className = exports.attribute = void 0;
4560
4520
  var _attribute = _interopRequireDefault$3(require_attribute());
4561
4521
  var _className = _interopRequireDefault$3(require_className());
4562
4522
  var _combinator = _interopRequireDefault$3(require_combinator());
@@ -4626,16 +4586,11 @@ var require_constructors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
4626
4586
  //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/guards.js
4627
4587
  var require_guards = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/guards.js": ((exports) => {
4628
4588
  exports.__esModule = true;
4629
- exports.isComment = exports.isCombinator = exports.isClassName = exports.isAttribute = void 0;
4630
4589
  exports.isContainer = isContainer;
4631
- exports.isIdentifier = void 0;
4632
4590
  exports.isNamespace = isNamespace;
4633
- exports.isNesting = void 0;
4634
4591
  exports.isNode = isNode;
4635
- exports.isPseudo = void 0;
4636
4592
  exports.isPseudoClass = isPseudoClass;
4637
4593
  exports.isPseudoElement = isPseudoElement;
4638
- exports.isUniversal = exports.isTag = exports.isString = exports.isSelector = exports.isRoot = void 0;
4639
4594
  var _types$1 = require_types();
4640
4595
  var _IS_TYPE;
4641
4596
  var IS_TYPE = (_IS_TYPE = {}, _IS_TYPE[_types$1.ATTRIBUTE] = true, _IS_TYPE[_types$1.CLASS] = true, _IS_TYPE[_types$1.COMBINATOR] = true, _IS_TYPE[_types$1.COMMENT] = true, _IS_TYPE[_types$1.ID] = true, _IS_TYPE[_types$1.NESTING] = true, _IS_TYPE[_types$1.PSEUDO] = true, _IS_TYPE[_types$1.ROOT] = true, _IS_TYPE[_types$1.SELECTOR] = true, _IS_TYPE[_types$1.STRING] = true, _IS_TYPE[_types$1.TAG] = true, _IS_TYPE[_types$1.UNIVERSAL] = true, _IS_TYPE);
@@ -4745,7 +4700,6 @@ var require_dist = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
4745
4700
  return new _processor["default"](processor);
4746
4701
  };
4747
4702
  Object.assign(parser, selectors);
4748
- delete parser.__esModule;
4749
4703
  var _default = parser;
4750
4704
  exports["default"] = _default;
4751
4705
  module.exports = exports.default;
@@ -4836,8 +4790,7 @@ var require_src$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
4836
4790
  let childContext;
4837
4791
  const isNested = !!node.length;
4838
4792
  const isScoped = node.value === ":local" || node.value === ":global";
4839
- const isImportExport = node.value === ":import" || node.value === ":export";
4840
- if (isImportExport) context.hasLocals = true;
4793
+ if (node.value === ":import" || node.value === ":export") context.hasLocals = true;
4841
4794
  else if (isNested) {
4842
4795
  if (isScoped) {
4843
4796
  if (node.nodes.length === 0) throw new Error(`${node.value}() can't be empty`);
@@ -4903,8 +4856,7 @@ var require_src$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
4903
4856
  if (!node.value) throw new Error("Invalid class or id selector syntax");
4904
4857
  if (context.global) break;
4905
4858
  const isImportedValue = localAliasMap.has(node.value);
4906
- const isImportedWithExplicitScope = isImportedValue && context.explicit;
4907
- if (!isImportedValue || isImportedWithExplicitScope) {
4859
+ if (!isImportedValue || isImportedValue && context.explicit) {
4908
4860
  const innerNode = node.clone();
4909
4861
  innerNode.spaces = {
4910
4862
  before: "",
@@ -4980,13 +4932,12 @@ var require_src$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
4980
4932
  valueNodes.walk((node, index, nodes) => {
4981
4933
  if (node.type === "function" && (node.value.toLowerCase() === "var" || node.value.toLowerCase() === "env")) return false;
4982
4934
  if (node.type === "word" && specialKeywords.includes(node.value.toLowerCase())) return;
4983
- const subContext = {
4935
+ nodes[index] = localizeDeclNode(node, {
4984
4936
  options: context.options,
4985
4937
  global: context.global,
4986
4938
  localizeNextItem: localize && !context.global,
4987
4939
  localAliasMap: context.localAliasMap
4988
- };
4989
- nodes[index] = localizeDeclNode(node, subContext);
4940
+ });
4990
4941
  });
4991
4942
  declaration.value = valueNodes.toString();
4992
4943
  }
@@ -5017,10 +4968,9 @@ var require_src$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
5017
4968
  "$revert-layer": Infinity
5018
4969
  };
5019
4970
  function localizeDeclaration(declaration, context) {
5020
- const isAnimation = /animation(-name)?$/i.test(declaration.prop);
5021
- if (isAnimation) {
4971
+ if (/animation(-name)?$/i.test(declaration.prop)) {
5022
4972
  let parsedAnimationKeywords = {};
5023
- const valueNodes = valueParser(declaration.value).walk((node) => {
4973
+ declaration.value = valueParser(declaration.value).walk((node) => {
5024
4974
  if (node.type === "div") {
5025
4975
  parsedAnimationKeywords = {};
5026
4976
  return;
@@ -5052,8 +5002,7 @@ var require_src$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
5052
5002
  localizeNextItem: shouldParseAnimationName && !context.global,
5053
5003
  localAliasMap: context.localAliasMap
5054
5004
  });
5055
- });
5056
- declaration.value = valueNodes.toString();
5005
+ }).toString();
5057
5006
  return;
5058
5007
  }
5059
5008
  if (/url\(/i.test(declaration.value)) return localizeDeclarationValues(false, declaration, context);
@@ -5178,8 +5127,7 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
5178
5127
  return node.value;
5179
5128
  });
5180
5129
  }
5181
- const whitespace = "[\\x20\\t\\r\\n\\f]";
5182
- const unescapeRegExp = new RegExp("\\\\([\\da-f]{1,6}" + whitespace + "?|([\\x20\\t\\r\\n\\f])|.)", "ig");
5130
+ const unescapeRegExp = new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)", "ig");
5183
5131
  function unescape(str$1) {
5184
5132
  return str$1.replace(unescapeRegExp, (_, escaped, escapedWhitespace) => {
5185
5133
  const high = "0x" + escaped - 65536;
@@ -5196,8 +5144,7 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
5196
5144
  const exports$1 = Object.create(null);
5197
5145
  function exportScopedName(name, rawName, node) {
5198
5146
  const scopedName = generateScopedName(rawName ? rawName : name, root$2.source.input.from, root$2.source.input.css, node);
5199
- const exportEntry = generateExportEntry(rawName ? rawName : name, scopedName, root$2.source.input.from, root$2.source.input.css, node);
5200
- const { key, value } = exportEntry;
5147
+ const { key, value } = generateExportEntry(rawName ? rawName : name, scopedName, root$2.source.input.from, root$2.source.input.css, node);
5201
5148
  exports$1[key] = exports$1[key] || [];
5202
5149
  if (exports$1[key].indexOf(value) < 0) exports$1[key].push(value);
5203
5150
  return scopedName;
@@ -5251,10 +5198,8 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
5251
5198
  rule$1.selector = traverseNode(parsedSelector.clone()).toString();
5252
5199
  rule$1.walkDecls(/^(composes|compose-with)$/i, (decl) => {
5253
5200
  const localNames = getSingleLocalNamesForComposes(parsedSelector, decl.parent);
5254
- const multiple = decl.value.split(",");
5255
- multiple.forEach((value) => {
5256
- const classes = value.trim().split(/\s+/);
5257
- classes.forEach((className$1) => {
5201
+ decl.value.split(",").forEach((value) => {
5202
+ value.trim().split(/\s+/).forEach((className$1) => {
5258
5203
  const global$1 = /^global\(([^)]+)\)$/.exec(className$1);
5259
5204
  if (global$1) localNames.forEach((exportedName) => {
5260
5205
  exports$1[exportedName].push(global$1[1]);
@@ -5300,8 +5245,7 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
5300
5245
  root$2.walkAtRules(/scope$/i, (atRule) => {
5301
5246
  if (atRule.params) atRule.params = atRule.params.split("to").map((item) => {
5302
5247
  const selector$1 = item.trim().slice(1, -1).trim();
5303
- const localMatch = /^\s*:local\s*\((.+?)\)\s*$/.exec(selector$1);
5304
- if (!localMatch) return `(${selector$1})`;
5248
+ if (!/^\s*:local\s*\((.+?)\)\s*$/.exec(selector$1)) return `(${selector$1})`;
5305
5249
  let parsedSelector = selectorParser().astSync(selector$1);
5306
5250
  return `(${traverseNode(parsedSelector).toString()})`;
5307
5251
  }).join(" to ");
@@ -5321,8 +5265,7 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
5321
5265
  };
5322
5266
  plugin.postcss = true;
5323
5267
  plugin.generateScopedName = function(name, path$2) {
5324
- const sanitisedPath = path$2.replace(/\.[^./\\]+$/, "").replace(/[\W_]+/g, "_").replace(/^_|_$/g, "");
5325
- return `_${sanitisedPath}__${name}`.trim();
5268
+ return `_${path$2.replace(/\.[^./\\]+$/, "").replace(/[\W_]+/g, "_").replace(/^_|_$/g, "")}__${name}`.trim();
5326
5269
  };
5327
5270
  plugin.generateExportEntry = function(name, scopedName) {
5328
5271
  return {
@@ -5392,8 +5335,7 @@ var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
5392
5335
  atRule.remove();
5393
5336
  return;
5394
5337
  }
5395
- let isOnlySpace = /^\s+$/.test(normalizedValue);
5396
- if (!isOnlySpace) value = value.trim();
5338
+ if (!/^\s+$/.test(normalizedValue)) value = value.trim();
5397
5339
  definitions[key] = ICSSUtils.replaceValueSymbols(value, definitions);
5398
5340
  atRule.remove();
5399
5341
  });
@@ -5437,7 +5379,6 @@ var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
5437
5379
  //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/scoping.js
5438
5380
  var require_scoping = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/scoping.js": ((exports) => {
5439
5381
  Object.defineProperty(exports, "__esModule", { value: true });
5440
- exports.behaviours = void 0;
5441
5382
  exports.getDefaultPlugins = getDefaultPlugins;
5442
5383
  exports.getDefaultScopeBehaviour = getDefaultScopeBehaviour;
5443
5384
  exports.getScopedNameGenerator = getScopedNameGenerator;
@@ -5460,7 +5401,7 @@ var require_scoping = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
5460
5401
  generateScopedName,
5461
5402
  exportGlobals
5462
5403
  });
5463
- const plugins = {
5404
+ return {
5464
5405
  [behaviours.LOCAL]: [
5465
5406
  _postcssModulesValues.default,
5466
5407
  (0, _postcssModulesLocalByDefault.default)({ mode: "local" }),
@@ -5473,8 +5414,7 @@ var require_scoping = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
5473
5414
  _postcssModulesExtractImports.default,
5474
5415
  scope
5475
5416
  ]
5476
- };
5477
- return plugins[behaviour];
5417
+ }[behaviour];
5478
5418
  }
5479
5419
  function isValidBehaviour(behaviour) {
5480
5420
  return Object.keys(behaviours).map((key) => behaviours[key]).indexOf(behaviour) > -1;
@@ -5549,8 +5489,7 @@ var require_pluginFactory = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
5549
5489
  const pluginList = getDefaultPluginsList(opts, inputFile);
5550
5490
  const resultPluginIndex = result.processor.plugins.findIndex((plugin$1) => isOurPlugin(plugin$1));
5551
5491
  if (resultPluginIndex === -1) throw new Error("Plugin missing from options.");
5552
- const earlierPlugins = result.processor.plugins.slice(0, resultPluginIndex);
5553
- const loaderPlugins = [...earlierPlugins, ...pluginList];
5492
+ const loaderPlugins = [...result.processor.plugins.slice(0, resultPluginIndex), ...pluginList];
5554
5493
  const loader = getLoader(opts, loaderPlugins);
5555
5494
  const fetcher = async (file, relativeTo, depTrace) => {
5556
5495
  const unquoteFile = (0, _unquote.default)(file);