@statorjs/language-server 0.1.33-next.2 → 0.1.33

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 (2) hide show
  1. package/dist/server.cjs +1139 -682
  2. package/package.json +5 -5
package/dist/server.cjs CHANGED
@@ -5,11 +5,20 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __esm = (fn, res) => function __init() {
9
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
8
+ var __esm = (fn, res, err) => function __init() {
9
+ if (err) throw err[0];
10
+ try {
11
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
12
+ } catch (e) {
13
+ throw err = [e], e;
14
+ }
10
15
  };
11
16
  var __commonJS = (cb, mod) => function __require() {
12
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
17
+ try {
18
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
+ } catch (e) {
20
+ throw mod = 0, e;
21
+ }
13
22
  };
14
23
  var __export = (target, all) => {
15
24
  for (var name in all)
@@ -3069,7 +3078,7 @@ var require_ril = __commonJS({
3069
3078
  var require_main = __commonJS({
3070
3079
  "../../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.js"(exports2) {
3071
3080
  "use strict";
3072
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
3081
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
3073
3082
  if (k2 === void 0) k2 = k;
3074
3083
  var desc = Object.getOwnPropertyDescriptor(m, k);
3075
3084
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -3078,10 +3087,10 @@ var require_main = __commonJS({
3078
3087
  } };
3079
3088
  }
3080
3089
  Object.defineProperty(o, k2, desc);
3081
- } : function(o, m, k, k2) {
3090
+ }) : (function(o, m, k, k2) {
3082
3091
  if (k2 === void 0) k2 = k;
3083
3092
  o[k2] = m[k];
3084
- });
3093
+ }));
3085
3094
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
3086
3095
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
3087
3096
  };
@@ -3764,7 +3773,7 @@ var require_main2 = __commonJS({
3764
3773
  })(WorkspaceEdit2 || (exports3.WorkspaceEdit = WorkspaceEdit2 = {}));
3765
3774
  var TextEditChangeImpl2 = (
3766
3775
  /** @class */
3767
- function() {
3776
+ (function() {
3768
3777
  function TextEditChangeImpl3(edits, changeAnnotations) {
3769
3778
  this.edits = edits;
3770
3779
  this.changeAnnotations = changeAnnotations;
@@ -3838,11 +3847,11 @@ var require_main2 = __commonJS({
3838
3847
  }
3839
3848
  };
3840
3849
  return TextEditChangeImpl3;
3841
- }()
3850
+ })()
3842
3851
  );
3843
3852
  var ChangeAnnotations2 = (
3844
3853
  /** @class */
3845
- function() {
3854
+ (function() {
3846
3855
  function ChangeAnnotations3(annotations) {
3847
3856
  this._annotations = annotations === void 0 ? /* @__PURE__ */ Object.create(null) : annotations;
3848
3857
  this._counter = 0;
@@ -3881,11 +3890,11 @@ var require_main2 = __commonJS({
3881
3890
  return this._counter.toString();
3882
3891
  };
3883
3892
  return ChangeAnnotations3;
3884
- }()
3893
+ })()
3885
3894
  );
3886
3895
  var WorkspaceChange2 = (
3887
3896
  /** @class */
3888
- function() {
3897
+ (function() {
3889
3898
  function WorkspaceChange3(workspaceEdit) {
3890
3899
  var _this = this;
3891
3900
  this._textEditChanges = /* @__PURE__ */ Object.create(null);
@@ -4048,7 +4057,7 @@ var require_main2 = __commonJS({
4048
4057
  }
4049
4058
  };
4050
4059
  return WorkspaceChange3;
4051
- }()
4060
+ })()
4052
4061
  );
4053
4062
  exports3.WorkspaceChange = WorkspaceChange2;
4054
4063
  var TextDocumentIdentifier2;
@@ -4694,7 +4703,7 @@ var require_main2 = __commonJS({
4694
4703
  })(TextDocument3 || (exports3.TextDocument = TextDocument3 = {}));
4695
4704
  var FullTextDocument3 = (
4696
4705
  /** @class */
4697
- function() {
4706
+ (function() {
4698
4707
  function FullTextDocument4(uri, languageId, version, content) {
4699
4708
  this._uri = uri;
4700
4709
  this._languageId = languageId;
@@ -4796,7 +4805,7 @@ var require_main2 = __commonJS({
4796
4805
  configurable: true
4797
4806
  });
4798
4807
  return FullTextDocument4;
4799
- }()
4808
+ })()
4800
4809
  );
4801
4810
  var Is2;
4802
4811
  (function(Is3) {
@@ -6290,7 +6299,7 @@ var require_connection2 = __commonJS({
6290
6299
  var require_api2 = __commonJS({
6291
6300
  "../../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.js"(exports2) {
6292
6301
  "use strict";
6293
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
6302
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
6294
6303
  if (k2 === void 0) k2 = k;
6295
6304
  var desc = Object.getOwnPropertyDescriptor(m, k);
6296
6305
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -6299,10 +6308,10 @@ var require_api2 = __commonJS({
6299
6308
  } };
6300
6309
  }
6301
6310
  Object.defineProperty(o, k2, desc);
6302
- } : function(o, m, k, k2) {
6311
+ }) : (function(o, m, k, k2) {
6303
6312
  if (k2 === void 0) k2 = k;
6304
6313
  o[k2] = m[k];
6305
- });
6314
+ }));
6306
6315
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
6307
6316
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
6308
6317
  };
@@ -6332,7 +6341,7 @@ var require_api2 = __commonJS({
6332
6341
  var require_main3 = __commonJS({
6333
6342
  "../../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.js"(exports2) {
6334
6343
  "use strict";
6335
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
6344
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
6336
6345
  if (k2 === void 0) k2 = k;
6337
6346
  var desc = Object.getOwnPropertyDescriptor(m, k);
6338
6347
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -6341,10 +6350,10 @@ var require_main3 = __commonJS({
6341
6350
  } };
6342
6351
  }
6343
6352
  Object.defineProperty(o, k2, desc);
6344
- } : function(o, m, k, k2) {
6353
+ }) : (function(o, m, k, k2) {
6345
6354
  if (k2 === void 0) k2 = k;
6346
6355
  o[k2] = m[k];
6347
- });
6356
+ }));
6348
6357
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
6349
6358
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
6350
6359
  };
@@ -8577,7 +8586,7 @@ var require_inlineCompletion_proposed = __commonJS({
8577
8586
  var require_api3 = __commonJS({
8578
8587
  "../../node_modules/.pnpm/vscode-languageserver@9.0.1/node_modules/vscode-languageserver/lib/common/api.js"(exports2) {
8579
8588
  "use strict";
8580
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
8589
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
8581
8590
  if (k2 === void 0) k2 = k;
8582
8591
  var desc = Object.getOwnPropertyDescriptor(m, k);
8583
8592
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -8586,10 +8595,10 @@ var require_api3 = __commonJS({
8586
8595
  } };
8587
8596
  }
8588
8597
  Object.defineProperty(o, k2, desc);
8589
- } : function(o, m, k, k2) {
8598
+ }) : (function(o, m, k, k2) {
8590
8599
  if (k2 === void 0) k2 = k;
8591
8600
  o[k2] = m[k];
8592
- });
8601
+ }));
8593
8602
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
8594
8603
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
8595
8604
  };
@@ -8624,7 +8633,7 @@ var require_api3 = __commonJS({
8624
8633
  var require_main4 = __commonJS({
8625
8634
  "../../node_modules/.pnpm/vscode-languageserver@9.0.1/node_modules/vscode-languageserver/lib/node/main.js"(exports2) {
8626
8635
  "use strict";
8627
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
8636
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
8628
8637
  if (k2 === void 0) k2 = k;
8629
8638
  var desc = Object.getOwnPropertyDescriptor(m, k);
8630
8639
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -8633,10 +8642,10 @@ var require_main4 = __commonJS({
8633
8642
  } };
8634
8643
  }
8635
8644
  Object.defineProperty(o, k2, desc);
8636
- } : function(o, m, k, k2) {
8645
+ }) : (function(o, m, k, k2) {
8637
8646
  if (k2 === void 0) k2 = k;
8638
8647
  o[k2] = m[k];
8639
- });
8648
+ }));
8640
8649
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
8641
8650
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
8642
8651
  };
@@ -9084,7 +9093,7 @@ var require_sourceMap = __commonJS({
9084
9093
  var require_source_map = __commonJS({
9085
9094
  "../../node_modules/.pnpm/@volar+source-map@2.4.28/node_modules/@volar/source-map/index.js"(exports2) {
9086
9095
  "use strict";
9087
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
9096
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
9088
9097
  if (k2 === void 0) k2 = k;
9089
9098
  var desc = Object.getOwnPropertyDescriptor(m, k);
9090
9099
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -9093,10 +9102,10 @@ var require_source_map = __commonJS({
9093
9102
  } };
9094
9103
  }
9095
9104
  Object.defineProperty(o, k2, desc);
9096
- } : function(o, m, k, k2) {
9105
+ }) : (function(o, m, k, k2) {
9097
9106
  if (k2 === void 0) k2 = k;
9098
9107
  o[k2] = m[k];
9099
- });
9108
+ }));
9100
9109
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
9101
9110
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
9102
9111
  };
@@ -9355,7 +9364,7 @@ var require_utils = __commonJS({
9355
9364
  var require_language_core = __commonJS({
9356
9365
  "../../node_modules/.pnpm/@volar+language-core@2.4.28/node_modules/@volar/language-core/index.js"(exports2) {
9357
9366
  "use strict";
9358
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
9367
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
9359
9368
  if (k2 === void 0) k2 = k;
9360
9369
  var desc = Object.getOwnPropertyDescriptor(m, k);
9361
9370
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -9364,10 +9373,10 @@ var require_language_core = __commonJS({
9364
9373
  } };
9365
9374
  }
9366
9375
  Object.defineProperty(o, k2, desc);
9367
- } : function(o, m, k, k2) {
9376
+ }) : (function(o, m, k, k2) {
9368
9377
  if (k2 === void 0) k2 = k;
9369
9378
  o[k2] = m[k];
9370
- });
9379
+ }));
9371
9380
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
9372
9381
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
9373
9382
  };
@@ -9590,14 +9599,14 @@ var require_language_core = __commonJS({
9590
9599
  // ../../node_modules/.pnpm/vscode-uri@3.1.0/node_modules/vscode-uri/lib/umd/index.js
9591
9600
  var require_umd = __commonJS({
9592
9601
  "../../node_modules/.pnpm/vscode-uri@3.1.0/node_modules/vscode-uri/lib/umd/index.js"(exports2, module2) {
9593
- !function(t, e) {
9602
+ !(function(t, e) {
9594
9603
  if ("object" == typeof exports2 && "object" == typeof module2) module2.exports = e();
9595
9604
  else if ("function" == typeof define && define.amd) define([], e);
9596
9605
  else {
9597
9606
  var r = e();
9598
9607
  for (var n in r) ("object" == typeof exports2 ? exports2 : t)[n] = r[n];
9599
9608
  }
9600
- }(exports2, () => (() => {
9609
+ })(exports2, (() => (() => {
9601
9610
  "use strict";
9602
9611
  var t = { 975: (t2) => {
9603
9612
  function e2(t3) {
@@ -9720,10 +9729,10 @@ var require_umd = __commonJS({
9720
9729
  return -1 === r3 || -1 === i || 0 === s || 1 === s && r3 === i - 1 && r3 === n3 + 1 ? "" : t3.slice(r3, i);
9721
9730
  }, format: function(t3) {
9722
9731
  if (null === t3 || "object" != typeof t3) throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof t3);
9723
- return function(t4, e3) {
9732
+ return (function(t4, e3) {
9724
9733
  var r3 = e3.dir || e3.root, n3 = e3.base || (e3.name || "") + (e3.ext || "");
9725
9734
  return r3 ? r3 === e3.root ? r3 + n3 : r3 + "/" + n3 : n3;
9726
- }(0, t3);
9735
+ })(0, t3);
9727
9736
  }, parse: function(t3) {
9728
9737
  e2(t3);
9729
9738
  var r3 = { root: "", dir: "", base: "", ext: "", name: "" };
@@ -9767,9 +9776,9 @@ var require_umd = __commonJS({
9767
9776
  query;
9768
9777
  fragment;
9769
9778
  constructor(t3, e3, r3, n3, i2, o2 = false) {
9770
- "object" == typeof t3 ? (this.scheme = t3.scheme || h, this.authority = t3.authority || h, this.path = t3.path || h, this.query = t3.query || h, this.fragment = t3.fragment || h) : (this.scheme = /* @__PURE__ */ function(t4, e4) {
9779
+ "object" == typeof t3 ? (this.scheme = t3.scheme || h, this.authority = t3.authority || h, this.path = t3.path || h, this.query = t3.query || h, this.fragment = t3.fragment || h) : (this.scheme = /* @__PURE__ */ (function(t4, e4) {
9771
9780
  return t4 || e4 ? t4 : "file";
9772
- }(t3, o2), this.authority = e3 || h, this.path = function(t4, e4) {
9781
+ })(t3, o2), this.authority = e3 || h, this.path = (function(t4, e4) {
9773
9782
  switch (t4) {
9774
9783
  case "https":
9775
9784
  case "http":
@@ -9777,7 +9786,7 @@ var require_umd = __commonJS({
9777
9786
  e4 ? e4[0] !== c && (e4 = c + e4) : e4 = c;
9778
9787
  }
9779
9788
  return e4;
9780
- }(this.scheme, r3 || h), this.query = n3 || h, this.fragment = i2 || h, a(this, o2));
9789
+ })(this.scheme, r3 || h), this.query = n3 || h, this.fragment = i2 || h, a(this, o2));
9781
9790
  }
9782
9791
  get fsPath() {
9783
9792
  return v(this, false);
@@ -9895,7 +9904,7 @@ var require_umd = __commonJS({
9895
9904
  e2.uriToFsPath = v;
9896
9905
  const C = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
9897
9906
  function w(t3) {
9898
- return t3.match(C) ? t3.replace(C, (t4) => b(t4)) : t3;
9907
+ return t3.match(C) ? t3.replace(C, ((t4) => b(t4))) : t3;
9899
9908
  }
9900
9909
  }, 552: function(t2, e2, r2) {
9901
9910
  var n2 = this && this.__createBinding || (Object.create ? function(t3, e3, r3, n3) {
@@ -9919,7 +9928,7 @@ var require_umd = __commonJS({
9919
9928
  Object.defineProperty(e2, "__esModule", { value: true }), e2.Utils = void 0;
9920
9929
  const s = o(r2(975)), a = s.posix || s, h = "/";
9921
9930
  var c;
9922
- !function(t3) {
9931
+ !(function(t3) {
9923
9932
  t3.joinPath = function(t4, ...e3) {
9924
9933
  return t4.with({ path: a.join(t4.path, ...e3) });
9925
9934
  }, t3.resolvePath = function(t4, ...e3) {
@@ -9936,7 +9945,7 @@ var require_umd = __commonJS({
9936
9945
  }, t3.extname = function(t4) {
9937
9946
  return a.extname(t4.path);
9938
9947
  };
9939
- }(c || (e2.Utils = c = {}));
9948
+ })(c || (e2.Utils = c = {}));
9940
9949
  } }, e = {};
9941
9950
  function r(n2) {
9942
9951
  var i = e[n2];
@@ -9957,7 +9966,7 @@ var require_umd = __commonJS({
9957
9966
  return i.Utils;
9958
9967
  } });
9959
9968
  })(), n;
9960
- })());
9969
+ })()));
9961
9970
  }
9962
9971
  });
9963
9972
 
@@ -13964,7 +13973,7 @@ var require_types2 = __commonJS({
13964
13973
  var require_language_service = __commonJS({
13965
13974
  "../../node_modules/.pnpm/@volar+language-service@2.4.28/node_modules/@volar/language-service/index.js"(exports2) {
13966
13975
  "use strict";
13967
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
13976
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
13968
13977
  if (k2 === void 0) k2 = k;
13969
13978
  var desc = Object.getOwnPropertyDescriptor(m, k);
13970
13979
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -13973,10 +13982,10 @@ var require_language_service = __commonJS({
13973
13982
  } };
13974
13983
  }
13975
13984
  Object.defineProperty(o, k2, desc);
13976
- } : function(o, m, k, k2) {
13985
+ }) : (function(o, m, k, k2) {
13977
13986
  if (k2 === void 0) k2 = k;
13978
13987
  o[k2] = m[k];
13979
- });
13988
+ }));
13980
13989
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
13981
13990
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
13982
13991
  };
@@ -14001,7 +14010,7 @@ var require_main5 = __commonJS({
14001
14010
  var e = { 46: (e2, t2) => {
14002
14011
  "use strict";
14003
14012
  Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, { signal: r2 } = {}) {
14004
- return new Promise((o2, n2) => {
14013
+ return new Promise(((o2, n2) => {
14005
14014
  function s() {
14006
14015
  null == r2 || r2.removeEventListener("abort", s), e3.removeListener(t3, a), e3.removeListener("error", u);
14007
14016
  }
@@ -14012,7 +14021,7 @@ var require_main5 = __commonJS({
14012
14021
  s(), n2(e4);
14013
14022
  }
14014
14023
  null == r2 || r2.addEventListener("abort", s), e3.on(t3, a), e3.on("error", u);
14015
- });
14024
+ }));
14016
14025
  };
14017
14026
  }, 54: function(e2, t2, r2) {
14018
14027
  "use strict";
@@ -14022,12 +14031,12 @@ var require_main5 = __commonJS({
14022
14031
  const n2 = r2(361), s = o2(r2(374)), a = o2(r2(304)), u = s.default("agent-base");
14023
14032
  function i() {
14024
14033
  const { stack: e3 } = new Error();
14025
- return "string" == typeof e3 && e3.split("\n").some((e4) => -1 !== e4.indexOf("(https.js:") || -1 !== e4.indexOf("node:https:"));
14034
+ return "string" == typeof e3 && e3.split("\n").some(((e4) => -1 !== e4.indexOf("(https.js:") || -1 !== e4.indexOf("node:https:")));
14026
14035
  }
14027
14036
  function c(e3, t3) {
14028
14037
  return new c.Agent(e3, t3);
14029
14038
  }
14030
- !function(e3) {
14039
+ !(function(e3) {
14031
14040
  class t3 extends n2.EventEmitter {
14032
14041
  constructor(e4, t4) {
14033
14042
  super();
@@ -14065,9 +14074,9 @@ var require_main5 = __commonJS({
14065
14074
  if (o3) return;
14066
14075
  if (null != n3 && (clearTimeout(n3), n3 = null), s3 = t5, Boolean(s3) && "function" == typeof s3.addRequest) return u("Callback returned another Agent instance %o", t5.constructor.name), void t5.addRequest(e4, r3);
14067
14076
  var s3;
14068
- if (t5) return t5.once("free", () => {
14077
+ if (t5) return t5.once("free", (() => {
14069
14078
  this.freeSocket(t5, r3);
14070
- }), void e4.onSocket(t5);
14079
+ })), void e4.onSocket(t5);
14071
14080
  const a2 = new Error(`no Duplex stream was returned to agent-base for \`${e4.method} ${e4.path}\``);
14072
14081
  c2(a2);
14073
14082
  };
@@ -14088,22 +14097,22 @@ var require_main5 = __commonJS({
14088
14097
  }
14089
14098
  }
14090
14099
  e3.Agent = t3, e3.prototype = e3.Agent.prototype;
14091
- }(c || (c = {})), e2.exports = c;
14100
+ })(c || (c = {})), e2.exports = c;
14092
14101
  }, 304: (e2, t2) => {
14093
14102
  "use strict";
14094
14103
  Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3) {
14095
14104
  return function(t3, r2) {
14096
- return new Promise((o2, n2) => {
14097
- e3.call(this, t3, r2, (e4, t4) => {
14105
+ return new Promise(((o2, n2) => {
14106
+ e3.call(this, t3, r2, ((e4, t4) => {
14098
14107
  e4 ? n2(e4) : o2(t4);
14099
- });
14100
- });
14108
+ }));
14109
+ }));
14101
14110
  };
14102
14111
  };
14103
14112
  }, 370: function(e2, t2, r2) {
14104
14113
  "use strict";
14105
14114
  var o2 = this && this.__awaiter || function(e3, t3, r3, o3) {
14106
- return new (r3 || (r3 = Promise))(function(n3, s2) {
14115
+ return new (r3 || (r3 = Promise))((function(n3, s2) {
14107
14116
  function a2(e4) {
14108
14117
  try {
14109
14118
  i2(o3.next(e4));
@@ -14120,12 +14129,12 @@ var require_main5 = __commonJS({
14120
14129
  }
14121
14130
  function i2(e4) {
14122
14131
  var t4;
14123
- e4.done ? n3(e4.value) : (t4 = e4.value, t4 instanceof r3 ? t4 : new r3(function(e5) {
14132
+ e4.done ? n3(e4.value) : (t4 = e4.value, t4 instanceof r3 ? t4 : new r3((function(e5) {
14124
14133
  e5(t4);
14125
- })).then(a2, u2);
14134
+ }))).then(a2, u2);
14126
14135
  }
14127
14136
  i2((o3 = o3.apply(e3, t3 || [])).next());
14128
- });
14137
+ }));
14129
14138
  }, n2 = this && this.__importDefault || function(e3) {
14130
14139
  return e3 && e3.__esModule ? e3 : { default: e3 };
14131
14140
  };
@@ -14141,7 +14150,7 @@ var require_main5 = __commonJS({
14141
14150
  this.secureProxy = t3.secureProxy || "string" == typeof (o3 = r3.protocol) && /^https:?$/i.test(o3), r3.host = r3.hostname || r3.host, "string" == typeof r3.port && (r3.port = parseInt(r3.port, 10)), !r3.port && r3.host && (r3.port = this.secureProxy ? 443 : 80), r3.host && r3.path && (delete r3.path, delete r3.pathname), this.proxy = r3;
14142
14151
  }
14143
14152
  callback(e3, t3) {
14144
- return o2(this, void 0, void 0, function* () {
14153
+ return o2(this, void 0, void 0, (function* () {
14145
14154
  const { proxy: r3, secureProxy: o3 } = this, n3 = u.default.parse(e3.path);
14146
14155
  let i2;
14147
14156
  if (n3.protocol || (n3.protocol = "http:"), n3.hostname || (n3.hostname = t3.hostname || t3.host || null), null == n3.port && (t3.port, 1) && (n3.port = String(t3.port)), "80" === n3.port && (n3.port = ""), e3.path = u.default.format(n3), r3.auth && e3.setHeader("Proxy-Authorization", `Basic ${Buffer.from(r3.auth).toString("base64")}`), o3 ? (d("Creating `tls.Socket`: %o", r3), i2 = a.default.connect(r3)) : (d("Creating `net.Socket`: %o", r3), i2 = s.default.connect(r3)), e3._header) {
@@ -14149,7 +14158,7 @@ var require_main5 = __commonJS({
14149
14158
  d("Regenerating stored HTTP header string for request"), e3._header = null, e3._implicitHeader(), e3.output && e3.output.length > 0 ? (d("Patching connection write() output buffer with updated header"), t4 = e3.output[0], r4 = t4.indexOf("\r\n\r\n") + 4, e3.output[0] = e3._header + t4.substring(r4), d("Output buffer: %o", e3.output)) : e3.outputData && e3.outputData.length > 0 && (d("Patching connection write() output buffer with updated header"), t4 = e3.outputData[0].data, r4 = t4.indexOf("\r\n\r\n") + 4, e3.outputData[0].data = e3._header + t4.substring(r4), d("Output buffer: %o", e3.outputData[0].data));
14150
14159
  }
14151
14160
  return yield (0, c.default)(i2, "connect"), i2;
14152
- });
14161
+ }));
14153
14162
  }
14154
14163
  }
14155
14164
  t2.default = f;
@@ -14161,13 +14170,13 @@ var require_main5 = __commonJS({
14161
14170
  function n2(e3) {
14162
14171
  return new o2.default(e3);
14163
14172
  }
14164
- !function(e3) {
14173
+ !(function(e3) {
14165
14174
  e3.HttpProxyAgent = o2.default, e3.prototype = o2.default.prototype;
14166
- }(n2 || (n2 = {})), e2.exports = n2;
14175
+ })(n2 || (n2 = {})), e2.exports = n2;
14167
14176
  }, 146: function(e2, t2, r2) {
14168
14177
  "use strict";
14169
14178
  var o2 = this && this.__awaiter || function(e3, t3, r3, o3) {
14170
- return new (r3 || (r3 = Promise))(function(n3, s2) {
14179
+ return new (r3 || (r3 = Promise))((function(n3, s2) {
14171
14180
  function a2(e4) {
14172
14181
  try {
14173
14182
  i2(o3.next(e4));
@@ -14184,12 +14193,12 @@ var require_main5 = __commonJS({
14184
14193
  }
14185
14194
  function i2(e4) {
14186
14195
  var t4;
14187
- e4.done ? n3(e4.value) : (t4 = e4.value, t4 instanceof r3 ? t4 : new r3(function(e5) {
14196
+ e4.done ? n3(e4.value) : (t4 = e4.value, t4 instanceof r3 ? t4 : new r3((function(e5) {
14188
14197
  e5(t4);
14189
- })).then(a2, u2);
14198
+ }))).then(a2, u2);
14190
14199
  }
14191
14200
  i2((o3 = o3.apply(e3, t3 || [])).next());
14192
- });
14201
+ }));
14193
14202
  }, n2 = this && this.__importDefault || function(e3) {
14194
14203
  return e3 && e3.__esModule ? e3 : { default: e3 };
14195
14204
  };
@@ -14205,7 +14214,7 @@ var require_main5 = __commonJS({
14205
14214
  this.secureProxy = t3.secureProxy || "string" == typeof (o3 = r3.protocol) && /^https:?$/i.test(o3), r3.host = r3.hostname || r3.host, "string" == typeof r3.port && (r3.port = parseInt(r3.port, 10)), !r3.port && r3.host && (r3.port = this.secureProxy ? 443 : 80), this.secureProxy && !("ALPNProtocols" in r3) && (r3.ALPNProtocols = ["http 1.1"]), r3.host && r3.path && (delete r3.path, delete r3.pathname), this.proxy = r3;
14206
14215
  }
14207
14216
  callback(e3, t3) {
14208
- return o2(this, void 0, void 0, function* () {
14217
+ return o2(this, void 0, void 0, (function* () {
14209
14218
  const { proxy: r3, secureProxy: o3 } = this;
14210
14219
  let n3;
14211
14220
  o3 ? (f("Creating `tls.Socket`: %o", r3), n3 = a.default.connect(r3)) : (f("Creating `net.Socket`: %o", r3), n3 = s.default.connect(r3));
@@ -14227,21 +14236,21 @@ var require_main5 = __commonJS({
14227
14236
  if (e3.once("socket", h), t3.secureEndpoint) {
14228
14237
  f("Upgrading socket connection to TLS");
14229
14238
  const e4 = t3.servername || t3.host;
14230
- return a.default.connect(Object.assign(Object.assign({}, function(e5, ...t4) {
14239
+ return a.default.connect(Object.assign(Object.assign({}, (function(e5, ...t4) {
14231
14240
  const r4 = {};
14232
14241
  let o4;
14233
14242
  for (o4 in e5) t4.includes(o4) || (r4[o4] = e5[o4]);
14234
14243
  return r4;
14235
- }(t3, "host", "hostname", "path", "port")), { socket: n3, servername: e4 }));
14244
+ })(t3, "host", "hostname", "path", "port")), { socket: n3, servername: e4 }));
14236
14245
  }
14237
14246
  return n3;
14238
14247
  }
14239
14248
  n3.destroy();
14240
14249
  const b = new s.default.Socket({ writable: false });
14241
- return b.readable = true, e3.once("socket", (e4) => {
14250
+ return b.readable = true, e3.once("socket", ((e4) => {
14242
14251
  f("replaying proxy buffer for failed request"), i.default(e4.listenerCount("data") > 0), e4.push(y), e4.push(null);
14243
- }), b;
14244
- });
14252
+ })), b;
14253
+ }));
14245
14254
  }
14246
14255
  }
14247
14256
  function h(e3) {
@@ -14256,9 +14265,9 @@ var require_main5 = __commonJS({
14256
14265
  function n2(e3) {
14257
14266
  return new o2.default(e3);
14258
14267
  }
14259
- !function(e3) {
14268
+ !(function(e3) {
14260
14269
  e3.HttpsProxyAgent = o2.default, e3.prototype = o2.default.prototype;
14261
- }(n2 || (n2 = {})), e2.exports = n2;
14270
+ })(n2 || (n2 = {})), e2.exports = n2;
14262
14271
  }, 829: function(e2, t2, r2) {
14263
14272
  "use strict";
14264
14273
  var o2 = this && this.__importDefault || function(e3) {
@@ -14267,18 +14276,18 @@ var require_main5 = __commonJS({
14267
14276
  Object.defineProperty(t2, "__esModule", { value: true });
14268
14277
  const n2 = o2(r2(374)).default("https-proxy-agent:parse-proxy-response");
14269
14278
  t2.default = function(e3) {
14270
- return new Promise((t3, r3) => {
14279
+ return new Promise(((t3, r3) => {
14271
14280
  let o3 = 0;
14272
14281
  const s = [];
14273
14282
  function a() {
14274
14283
  const r4 = e3.read();
14275
- r4 ? function(e4) {
14284
+ r4 ? (function(e4) {
14276
14285
  s.push(e4), o3 += e4.length;
14277
14286
  const r5 = Buffer.concat(s, o3);
14278
14287
  if (-1 === r5.indexOf("\r\n\r\n")) return n2("have not received end of HTTP headers yet..."), void a();
14279
14288
  const u2 = r5.toString("ascii", 0, r5.indexOf("\r\n")), i2 = +u2.split(" ")[1];
14280
14289
  n2("got proxy server response: %o", u2), t3({ statusCode: i2, buffered: r5 });
14281
- }(r4) : e3.once("readable", a);
14290
+ })(r4) : e3.once("readable", a);
14282
14291
  }
14283
14292
  function u(e4) {
14284
14293
  n2("onclose had error %o", e4);
@@ -14286,10 +14295,10 @@ var require_main5 = __commonJS({
14286
14295
  function i() {
14287
14296
  n2("onend");
14288
14297
  }
14289
- e3.on("error", function t4(o4) {
14298
+ e3.on("error", (function t4(o4) {
14290
14299
  e3.removeListener("end", i), e3.removeListener("error", t4), e3.removeListener("close", u), e3.removeListener("readable", a), n2("onerror %o", o4), r3(o4);
14291
- }), e3.on("close", u), e3.on("end", i), a();
14292
- });
14300
+ })), e3.on("close", u), e3.on("end", i), a();
14301
+ }));
14293
14302
  };
14294
14303
  }, 539: function(e2, t2, r2) {
14295
14304
  "use strict";
@@ -14320,42 +14329,42 @@ var require_main5 = __commonJS({
14320
14329
  var h = c.loadMessageBundle(), g = void 0, v = true;
14321
14330
  function m(e3) {
14322
14331
  var t3;
14323
- return new Promise(function(r3, o3) {
14332
+ return new Promise((function(r3, o3) {
14324
14333
  var n3 = (0, i.parse)(e3.url), s2 = { hostname: n3.hostname, agent: !!e3.agent && e3.agent, port: n3.port ? parseInt(n3.port) : "https:" === n3.protocol ? 443 : 80, path: n3.path, method: e3.type || "GET", headers: e3.headers, rejectUnauthorized: "boolean" != typeof e3.strictSSL || e3.strictSSL };
14325
14334
  e3.user && e3.password && (s2.auth = e3.user + ":" + e3.password);
14326
14335
  var c2 = function(o4) {
14327
14336
  if (o4.statusCode >= 300 && o4.statusCode < 400 && e3.followRedirects && e3.followRedirects > 0 && o4.headers.location) {
14328
14337
  var s3 = o4.headers.location;
14329
- s3.startsWith("/") && (s3 = (0, i.format)({ protocol: n3.protocol, hostname: n3.hostname, port: n3.port, pathname: s3 })), r3(m(function(e4) {
14338
+ s3.startsWith("/") && (s3 = (0, i.format)({ protocol: n3.protocol, hostname: n3.hostname, port: n3.port, pathname: s3 })), r3(m((function(e4) {
14330
14339
  for (var t4 = [], r4 = 1; r4 < arguments.length; r4++) t4[r4 - 1] = arguments[r4];
14331
- return t4.forEach(function(t5) {
14332
- return Object.keys(t5).forEach(function(r5) {
14340
+ return t4.forEach((function(t5) {
14341
+ return Object.keys(t5).forEach((function(r5) {
14333
14342
  return e4[r5] = t5[r5];
14334
- });
14335
- }), e4;
14336
- }({}, e3, { url: s3, followRedirects: e3.followRedirects - 1 })));
14343
+ }));
14344
+ })), e4;
14345
+ })({}, e3, { url: s3, followRedirects: e3.followRedirects - 1 })));
14337
14346
  } else r3({ req: t3, res: o4 });
14338
14347
  };
14339
- (t3 = "https:" === n3.protocol ? u.request(s2, c2) : a.request(s2, c2)).on("error", o3), e3.timeout && t3.setTimeout(e3.timeout), e3.data && t3.write(e3.data), t3.end(), e3.token && (e3.token.isCancellationRequested && t3.destroy(new y()), e3.token.onCancellationRequested(function() {
14348
+ (t3 = "https:" === n3.protocol ? u.request(s2, c2) : a.request(s2, c2)).on("error", o3), e3.timeout && t3.setTimeout(e3.timeout), e3.data && t3.write(e3.data), t3.end(), e3.token && (e3.token.isCancellationRequested && t3.destroy(new y()), e3.token.onCancellationRequested((function() {
14340
14349
  t3.destroy(new y());
14341
- }));
14342
- });
14350
+ })));
14351
+ }));
14343
14352
  }
14344
14353
  t2.configure = function(e3, t3) {
14345
14354
  g = e3, v = t3;
14346
14355
  }, t2.xhr = function(e3) {
14347
- return "boolean" != typeof (e3 = s({}, e3)).strictSSL && (e3.strictSSL = v), e3.agent || (e3.agent = function(e4, t3) {
14356
+ return "boolean" != typeof (e3 = s({}, e3)).strictSSL && (e3.strictSSL = v), e3.agent || (e3.agent = (function(e4, t3) {
14348
14357
  void 0 === t3 && (t3 = {});
14349
- var r3 = (0, i.parse)(e4), o3 = t3.proxyUrl || function(e5) {
14358
+ var r3 = (0, i.parse)(e4), o3 = t3.proxyUrl || (function(e5) {
14350
14359
  return "http:" === e5.protocol ? process.env.HTTP_PROXY || process.env.http_proxy || null : "https:" === e5.protocol && (process.env.HTTPS_PROXY || process.env.https_proxy || process.env.HTTP_PROXY || process.env.http_proxy) || null;
14351
- }(r3);
14360
+ })(r3);
14352
14361
  if (!o3) return null;
14353
14362
  var n3 = (0, i.parse)(o3);
14354
14363
  if (!/^https?:$/.test(n3.protocol)) return null;
14355
14364
  var s2 = { host: n3.hostname, port: Number(n3.port), auth: n3.auth, rejectUnauthorized: "boolean" != typeof t3.strictSSL || t3.strictSSL, protocol: n3.protocol };
14356
14365
  return "http:" === r3.protocol ? d(s2) : f(s2);
14357
- }(e3.url, { proxyUrl: g, strictSSL: v })), "number" != typeof e3.followRedirects && (e3.followRedirects = 5), m(e3).then(function(r3) {
14358
- return new Promise(function(o3, n3) {
14366
+ })(e3.url, { proxyUrl: g, strictSSL: v })), "number" != typeof e3.followRedirects && (e3.followRedirects = 5), m(e3).then((function(r3) {
14367
+ return new Promise((function(o3, n3) {
14359
14368
  var s2, a2, u2 = r3.res, c2 = u2, d2 = false, f2 = u2.headers && u2.headers["content-encoding"];
14360
14369
  if (f2 && (s2 = e3.type, a2 = r3.res.statusCode, !("HEAD" === s2 || a2 >= 100 && a2 < 200 || 204 === a2 || 304 === a2))) {
14361
14370
  var p2 = { flush: l.constants.Z_SYNC_FLUSH, finishFlush: l.constants.Z_SYNC_FLUSH };
@@ -14368,9 +14377,9 @@ var require_main5 = __commonJS({
14368
14377
  }
14369
14378
  }
14370
14379
  var m2 = [];
14371
- c2.on("data", function(e4) {
14380
+ c2.on("data", (function(e4) {
14372
14381
  return m2.push(e4);
14373
- }), c2.on("end", function() {
14382
+ })), c2.on("end", (function() {
14374
14383
  if (!d2) {
14375
14384
  if (d2 = true, e3.followRedirects > 0 && (u2.statusCode >= 300 && u2.statusCode <= 303 || 307 === u2.statusCode)) {
14376
14385
  var r4 = u2.headers.location;
@@ -14386,17 +14395,17 @@ var require_main5 = __commonJS({
14386
14395
  var c3 = Buffer.concat(m2), l2 = { responseText: c3.toString(), body: c3, status: u2.statusCode, headers: u2.headers || {} };
14387
14396
  u2.statusCode >= 200 && u2.statusCode < 300 || 1223 === u2.statusCode ? o3(l2) : n3(l2);
14388
14397
  }
14389
- }), c2.on("error", function(t3) {
14398
+ })), c2.on("error", (function(t3) {
14390
14399
  var r4;
14391
14400
  r4 = y.is(t3) ? t3 : { responseText: h("error", "Unable to access {0}. Error: {1}", e3.url, t3.message), body: Buffer.concat(m2), status: 500, headers: {} }, d2 = true, n3(r4);
14392
- }), e3.token && (e3.token.isCancellationRequested && c2.destroy(new y()), e3.token.onCancellationRequested(function() {
14401
+ })), e3.token && (e3.token.isCancellationRequested && c2.destroy(new y()), e3.token.onCancellationRequested((function() {
14393
14402
  c2.destroy(new y());
14394
- }));
14395
- });
14396
- }, function(t3) {
14403
+ })));
14404
+ }));
14405
+ }), (function(t3) {
14397
14406
  var r3;
14398
14407
  return r3 = y.is(t3) ? t3 : { responseText: e3.agent ? h("error.cannot.connect.proxy", "Unable to connect to {0} through a proxy. Error: {1}", e3.url, t3.message) : h("error.cannot.connect", "Unable to connect to {0}. Error: {1}", e3.url, t3.message), body: Buffer.concat([]), status: 404, headers: {} }, Promise.reject(r3);
14399
- });
14408
+ }));
14400
14409
  }, t2.getErrorStatusDescription = function(e3) {
14401
14410
  if (!(e3 < 400)) switch (e3) {
14402
14411
  case 400:
@@ -14441,7 +14450,7 @@ var require_main5 = __commonJS({
14441
14450
  return h("status.416", "HTTP status code {0}", e3);
14442
14451
  }
14443
14452
  };
14444
- var y = function(e3) {
14453
+ var y = (function(e3) {
14445
14454
  function t3() {
14446
14455
  var r3 = e3.call(this, "The user aborted a request") || this;
14447
14456
  return r3.name = "AbortError", Object.setPrototypeOf(r3, t3.prototype), r3;
@@ -14449,7 +14458,7 @@ var require_main5 = __commonJS({
14449
14458
  return n2(t3, e3), t3.is = function(e4) {
14450
14459
  return e4 instanceof t3;
14451
14460
  }, t3;
14452
- }(Error);
14461
+ })(Error);
14453
14462
  }, 800: (e2, t2, r2) => {
14454
14463
  "use strict";
14455
14464
  Object.defineProperty(t2, "__esModule", { value: true }), t2.config = t2.loadMessageBundle = t2.localize = t2.format = t2.setPseudo = t2.isPseudo = t2.isDefined = t2.BundleFormat = t2.MessageFormat = void 0;
@@ -14458,17 +14467,17 @@ var require_main5 = __commonJS({
14458
14467
  return void 0 !== e3;
14459
14468
  }
14460
14469
  function i(e3, r3) {
14461
- return t2.isPseudo && (e3 = "\uFF3B" + e3.replace(/[aouei]/g, "$&$&") + "\uFF3D"), 0 === r3.length ? e3 : e3.replace(/\{(\d+)\}/g, function(e4, t3) {
14470
+ return t2.isPseudo && (e3 = "\uFF3B" + e3.replace(/[aouei]/g, "$&$&") + "\uFF3D"), 0 === r3.length ? e3 : e3.replace(/\{(\d+)\}/g, (function(e4, t3) {
14462
14471
  var o3 = t3[0], n3 = r3[o3], s2 = e4;
14463
14472
  return "string" == typeof n3 ? s2 = n3 : "number" != typeof n3 && "boolean" != typeof n3 && null != n3 || (s2 = String(n3)), s2;
14464
- });
14473
+ }));
14465
14474
  }
14466
- (s = t2.MessageFormat || (t2.MessageFormat = {})).file = "file", s.bundle = "bundle", s.both = "both", (n2 = t2.BundleFormat || (t2.BundleFormat = {})).standalone = "standalone", n2.languagePack = "languagePack", function(e3) {
14475
+ (s = t2.MessageFormat || (t2.MessageFormat = {})).file = "file", s.bundle = "bundle", s.both = "both", (n2 = t2.BundleFormat || (t2.BundleFormat = {})).standalone = "standalone", n2.languagePack = "languagePack", (function(e3) {
14467
14476
  e3.is = function(e4) {
14468
14477
  var t3 = e4;
14469
14478
  return t3 && u(t3.key) && u(t3.comment);
14470
14479
  };
14471
- }(o2 || (o2 = {})), t2.isDefined = u, t2.isPseudo = false, t2.setPseudo = function(e3) {
14480
+ })(o2 || (o2 = {})), t2.isDefined = u, t2.isPseudo = false, t2.setPseudo = function(e3) {
14472
14481
  t2.isPseudo = e3;
14473
14482
  }, t2.format = i, t2.localize = function(e3, t3) {
14474
14483
  for (var r3 = [], o3 = 2; o3 < arguments.length; o3++) r3[o3 - 2] = arguments[o3];
@@ -14485,12 +14494,12 @@ var require_main5 = __commonJS({
14485
14494
  if (void 0 === r2) throw new Error("No runtime abstraction layer installed");
14486
14495
  return r2;
14487
14496
  }
14488
- Object.defineProperty(t2, "__esModule", { value: true }), function(e3) {
14497
+ Object.defineProperty(t2, "__esModule", { value: true }), (function(e3) {
14489
14498
  e3.install = function(e4) {
14490
14499
  if (void 0 === e4) throw new Error("No runtime abstraction layer provided");
14491
14500
  r2 = e4;
14492
14501
  };
14493
- }(o2 || (o2 = {})), t2.default = o2;
14502
+ })(o2 || (o2 = {})), t2.default = o2;
14494
14503
  }, 472: (e2, t2, r2) => {
14495
14504
  "use strict";
14496
14505
  Object.defineProperty(t2, "__esModule", { value: true }), t2.config = t2.loadMessageBundle = t2.BundleFormat = t2.MessageFormat = void 0;
@@ -14521,14 +14530,14 @@ var require_main5 = __commonJS({
14521
14530
  }
14522
14531
  function v(e3) {
14523
14532
  try {
14524
- return function(e4) {
14533
+ return (function(e4) {
14525
14534
  var t3 = p(o2.join(e4, "nls.metadata.json")), r3 = /* @__PURE__ */ Object.create(null);
14526
14535
  for (var n3 in t3) {
14527
14536
  var s2 = t3[n3];
14528
14537
  r3[n3] = s2.messages;
14529
14538
  }
14530
14539
  return r3;
14531
- }(e3);
14540
+ })(e3);
14532
14541
  } catch (e4) {
14533
14542
  return void console.log("Generating default bundle from meta data failed.", e4);
14534
14543
  }
@@ -14536,21 +14545,21 @@ var require_main5 = __commonJS({
14536
14545
  function m(e3, t3) {
14537
14546
  var r3;
14538
14547
  if (true === c.languagePackSupport && void 0 !== c.cacheRoot && void 0 !== c.languagePackId && void 0 !== c.translationsConfigFile && void 0 !== c.translationsConfig) try {
14539
- r3 = function(e4, t4) {
14548
+ r3 = (function(e4, t4) {
14540
14549
  var r4, s3, a2, u2 = o2.join(c.cacheRoot, "".concat(e4.id, "-").concat(e4.hash, ".json")), i2 = false, l2 = false;
14541
14550
  try {
14542
- return r4 = JSON.parse(n2.readFileSync(u2, { encoding: "utf8", flag: "r" })), s3 = u2, a2 = /* @__PURE__ */ new Date(), n2.utimes(s3, a2, a2, function() {
14543
- }), r4;
14551
+ return r4 = JSON.parse(n2.readFileSync(u2, { encoding: "utf8", flag: "r" })), s3 = u2, a2 = /* @__PURE__ */ new Date(), n2.utimes(s3, a2, a2, (function() {
14552
+ })), r4;
14544
14553
  } catch (e5) {
14545
14554
  if ("ENOENT" === e5.code) l2 = true;
14546
14555
  else {
14547
14556
  if (!(e5 instanceof SyntaxError)) throw e5;
14548
- console.log("Syntax error parsing message bundle: ".concat(e5.message, ".")), n2.unlink(u2, function(e6) {
14557
+ console.log("Syntax error parsing message bundle: ".concat(e5.message, ".")), n2.unlink(u2, (function(e6) {
14549
14558
  e6 && console.error("Deleting corrupted bundle ".concat(u2, " failed."));
14550
- }), i2 = true;
14559
+ })), i2 = true;
14551
14560
  }
14552
14561
  }
14553
- if (r4 = function(e5, t5) {
14562
+ if (r4 = (function(e5, t5) {
14554
14563
  var r5 = c.translationsConfig[e5.id];
14555
14564
  if (r5) {
14556
14565
  var n3 = p(r5).contents, s4 = p(o2.join(t5, "nls.metadata.json")), a3 = /* @__PURE__ */ Object.create(null);
@@ -14566,7 +14575,7 @@ var require_main5 = __commonJS({
14566
14575
  }
14567
14576
  return a3;
14568
14577
  }
14569
- }(e4, t4), !r4 || i2) return r4;
14578
+ })(e4, t4), !r4 || i2) return r4;
14570
14579
  if (l2) try {
14571
14580
  n2.writeFileSync(u2, JSON.stringify(r4), { encoding: "utf8", flag: "wx" });
14572
14581
  } catch (e5) {
@@ -14574,13 +14583,13 @@ var require_main5 = __commonJS({
14574
14583
  throw e5;
14575
14584
  }
14576
14585
  return r4;
14577
- }(e3, t3);
14586
+ })(e3, t3);
14578
14587
  } catch (e4) {
14579
14588
  console.log("Load or create bundle failed ", e4);
14580
14589
  }
14581
14590
  if (!r3) {
14582
14591
  if (c.languagePackSupport) return v(t3);
14583
- var s2 = function(e4) {
14592
+ var s2 = (function(e4) {
14584
14593
  for (var t4 = c.language; t4; ) {
14585
14594
  var r4 = o2.join(e4, "nls.bundle.".concat(t4, ".json"));
14586
14595
  if (n2.existsSync(r4)) return r4;
@@ -14588,7 +14597,7 @@ var require_main5 = __commonJS({
14588
14597
  t4 = s3 > 0 ? t4.substring(0, s3) : void 0;
14589
14598
  }
14590
14599
  if (void 0 === t4 && (r4 = o2.join(e4, "nls.bundle.json"), n2.existsSync(r4))) return r4;
14591
- }(t3);
14600
+ })(t3);
14592
14601
  if (s2) try {
14593
14602
  return p(s2);
14594
14603
  } catch (e4) {
@@ -14602,7 +14611,7 @@ var require_main5 = __commonJS({
14602
14611
  if (!e3) return a.localize;
14603
14612
  var t3 = o2.extname(e3);
14604
14613
  if (t3 && (e3 = e3.substr(0, e3.length - t3.length)), c.messageFormat === a.MessageFormat.both || c.messageFormat === a.MessageFormat.bundle) {
14605
- var r3 = function(e4) {
14614
+ var r3 = (function(e4) {
14606
14615
  for (var t4, r4 = o2.dirname(e4); t4 = o2.join(r4, "nls.metadata.header.json"), !n2.existsSync(t4); ) {
14607
14616
  var s3 = o2.dirname(r4);
14608
14617
  if (s3 === r4) {
@@ -14612,7 +14621,7 @@ var require_main5 = __commonJS({
14612
14621
  r4 = s3;
14613
14622
  }
14614
14623
  return t4;
14615
- }(e3);
14624
+ })(e3);
14616
14625
  if (r3) {
14617
14626
  var s2 = o2.dirname(r3), u2 = i[s2];
14618
14627
  if (void 0 === u2) try {
@@ -14635,7 +14644,7 @@ var require_main5 = __commonJS({
14635
14644
  }
14636
14645
  }
14637
14646
  if (c.messageFormat === a.MessageFormat.both || c.messageFormat === a.MessageFormat.file) try {
14638
- var y2 = p(function(e4) {
14647
+ var y2 = p((function(e4) {
14639
14648
  var t4;
14640
14649
  if (c.cacheLanguageResolution && t4) ;
14641
14650
  else {
@@ -14652,7 +14661,7 @@ var require_main5 = __commonJS({
14652
14661
  c.cacheLanguageResolution;
14653
14662
  }
14654
14663
  return e4 + t4;
14655
- }(e3));
14664
+ })(e3));
14656
14665
  return Array.isArray(y2) ? h(y2) : (0, a.isDefined)(y2.messages) && (0, a.isDefined)(y2.keys) ? h(y2.messages) : (console.error("String bundle '".concat(e3, "' uses an unsupported format.")), function() {
14657
14666
  return "File bundle has unsupported format. See console for details";
14658
14667
  });
@@ -14666,34 +14675,34 @@ var require_main5 = __commonJS({
14666
14675
  function b(e3) {
14667
14676
  return e3 && (f(e3.locale) && (c.locale = e3.locale.toLowerCase(), c.language = c.locale, i = /* @__PURE__ */ Object.create(null)), void 0 !== e3.messageFormat && (c.messageFormat = e3.messageFormat), e3.bundleFormat === a.BundleFormat.standalone && true === c.languagePackSupport && (c.languagePackSupport = false)), (0, a.setPseudo)("pseudo" === c.locale), y;
14668
14677
  }
14669
- !function() {
14678
+ !(function() {
14670
14679
  if (c = { locale: void 0, language: void 0, languagePackSupport: false, cacheLanguageResolution: true, messageFormat: a.MessageFormat.bundle }, f(process.env.VSCODE_NLS_CONFIG)) try {
14671
14680
  var e3 = JSON.parse(process.env.VSCODE_NLS_CONFIG), t3 = void 0;
14672
14681
  if (e3.availableLanguages) {
14673
14682
  var r3 = e3.availableLanguages["*"];
14674
14683
  f(r3) && (t3 = r3);
14675
14684
  }
14676
- if (f(e3.locale) && (c.locale = e3.locale.toLowerCase()), void 0 === t3 ? c.language = c.locale : "en" !== t3 && (c.language = t3), /* @__PURE__ */ function(e4) {
14685
+ if (f(e3.locale) && (c.locale = e3.locale.toLowerCase()), void 0 === t3 ? c.language = c.locale : "en" !== t3 && (c.language = t3), /* @__PURE__ */ (function(e4) {
14677
14686
  return true === e4 || false === e4;
14678
- }(e3._languagePackSupport) && (c.languagePackSupport = e3._languagePackSupport), f(e3._cacheRoot) && (c.cacheRoot = e3._cacheRoot), f(e3._languagePackId) && (c.languagePackId = e3._languagePackId), f(e3._translationsConfigFile)) {
14687
+ })(e3._languagePackSupport) && (c.languagePackSupport = e3._languagePackSupport), f(e3._cacheRoot) && (c.cacheRoot = e3._cacheRoot), f(e3._languagePackId) && (c.languagePackId = e3._languagePackId), f(e3._translationsConfigFile)) {
14679
14688
  c.translationsConfigFile = e3._translationsConfigFile;
14680
14689
  try {
14681
14690
  c.translationsConfig = p(c.translationsConfigFile);
14682
14691
  } catch (t4) {
14683
14692
  if (e3._corruptedFile) {
14684
14693
  var s2 = o2.dirname(e3._corruptedFile);
14685
- n2.exists(s2, function(t5) {
14686
- t5 && n2.writeFile(e3._corruptedFile, "corrupted", "utf8", function(e4) {
14694
+ n2.exists(s2, (function(t5) {
14695
+ t5 && n2.writeFile(e3._corruptedFile, "corrupted", "utf8", (function(e4) {
14687
14696
  console.error(e4);
14688
- });
14689
- });
14697
+ }));
14698
+ }));
14690
14699
  }
14691
14700
  }
14692
14701
  }
14693
14702
  } catch (e4) {
14694
14703
  }
14695
14704
  (0, a.setPseudo)("pseudo" === c.locale), i = /* @__PURE__ */ Object.create(null);
14696
- }(), t2.loadMessageBundle = y, t2.config = b, s.default.install(Object.freeze({ loadMessageBundle: y, config: b }));
14705
+ })(), t2.loadMessageBundle = y, t2.config = b, s.default.install(Object.freeze({ loadMessageBundle: y, config: b }));
14697
14706
  }, 374: (e2, t2) => {
14698
14707
  function r2() {
14699
14708
  }
@@ -14730,12 +14739,12 @@ var require_main5 = __commonJS({
14730
14739
  }, 796: (e2) => {
14731
14740
  "use strict";
14732
14741
  e2.exports = require("zlib");
14733
- } }, t = {}, r = function r2(o2) {
14742
+ } }, t = {}, r = (function r2(o2) {
14734
14743
  var n2 = t[o2];
14735
14744
  if (void 0 !== n2) return n2.exports;
14736
14745
  var s = t[o2] = { exports: {} };
14737
14746
  return e[o2].call(s.exports, s, s.exports, r2), s.exports;
14738
- }(539), o = exports2;
14747
+ })(539), o = exports2;
14739
14748
  for (var n in r) o[n] = r[n];
14740
14749
  r.__esModule && Object.defineProperty(o, "__esModule", { value: true });
14741
14750
  })();
@@ -14935,7 +14944,7 @@ var require_is4 = __commonJS({
14935
14944
  var require_messages3 = __commonJS({
14936
14945
  "../../node_modules/.pnpm/vscode-jsonrpc@9.0.1/node_modules/vscode-jsonrpc/lib/common/messages.js"(exports2) {
14937
14946
  "use strict";
14938
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
14947
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
14939
14948
  if (k2 === void 0) k2 = k;
14940
14949
  var desc = Object.getOwnPropertyDescriptor(m, k);
14941
14950
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -14944,16 +14953,16 @@ var require_messages3 = __commonJS({
14944
14953
  } };
14945
14954
  }
14946
14955
  Object.defineProperty(o, k2, desc);
14947
- } : function(o, m, k, k2) {
14956
+ }) : (function(o, m, k, k2) {
14948
14957
  if (k2 === void 0) k2 = k;
14949
14958
  o[k2] = m[k];
14950
- });
14951
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
14959
+ }));
14960
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
14952
14961
  Object.defineProperty(o, "default", { enumerable: true, value: v });
14953
- } : function(o, v) {
14962
+ }) : function(o, v) {
14954
14963
  o["default"] = v;
14955
14964
  });
14956
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
14965
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
14957
14966
  var ownKeys = function(o) {
14958
14967
  ownKeys = Object.getOwnPropertyNames || function(o2) {
14959
14968
  var ar = [];
@@ -14971,7 +14980,7 @@ var require_messages3 = __commonJS({
14971
14980
  __setModuleDefault(result, mod);
14972
14981
  return result;
14973
14982
  };
14974
- }();
14983
+ })();
14975
14984
  Object.defineProperty(exports2, "__esModule", { value: true });
14976
14985
  exports2.Message = exports2.NotificationType9 = exports2.NotificationType8 = exports2.NotificationType7 = exports2.NotificationType6 = exports2.NotificationType5 = exports2.NotificationType4 = exports2.NotificationType3 = exports2.NotificationType2 = exports2.NotificationType1 = exports2.NotificationType0 = exports2.NotificationType = exports2.RequestType9 = exports2.RequestType8 = exports2.RequestType7 = exports2.RequestType6 = exports2.RequestType5 = exports2.RequestType4 = exports2.RequestType3 = exports2.RequestType2 = exports2.RequestType1 = exports2.RequestType = exports2.RequestType0 = exports2.AbstractMessageSignature = exports2.ParameterStructures = exports2.ResponseError = exports2.ErrorCodes = void 0;
14977
14986
  var is = __importStar(require_is4());
@@ -15884,7 +15893,7 @@ var require_events2 = __commonJS({
15884
15893
  var require_cancellation3 = __commonJS({
15885
15894
  "../../node_modules/.pnpm/vscode-jsonrpc@9.0.1/node_modules/vscode-jsonrpc/lib/common/cancellation.js"(exports2) {
15886
15895
  "use strict";
15887
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
15896
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
15888
15897
  if (k2 === void 0) k2 = k;
15889
15898
  var desc = Object.getOwnPropertyDescriptor(m, k);
15890
15899
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -15893,16 +15902,16 @@ var require_cancellation3 = __commonJS({
15893
15902
  } };
15894
15903
  }
15895
15904
  Object.defineProperty(o, k2, desc);
15896
- } : function(o, m, k, k2) {
15905
+ }) : (function(o, m, k, k2) {
15897
15906
  if (k2 === void 0) k2 = k;
15898
15907
  o[k2] = m[k];
15899
- });
15900
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
15908
+ }));
15909
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
15901
15910
  Object.defineProperty(o, "default", { enumerable: true, value: v });
15902
- } : function(o, v) {
15911
+ }) : function(o, v) {
15903
15912
  o["default"] = v;
15904
15913
  });
15905
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
15914
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
15906
15915
  var ownKeys = function(o) {
15907
15916
  ownKeys = Object.getOwnPropertyNames || function(o2) {
15908
15917
  var ar = [];
@@ -15920,7 +15929,7 @@ var require_cancellation3 = __commonJS({
15920
15929
  __setModuleDefault(result, mod);
15921
15930
  return result;
15922
15931
  };
15923
- }();
15932
+ })();
15924
15933
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
15925
15934
  return mod && mod.__esModule ? mod : { "default": mod };
15926
15935
  };
@@ -16166,7 +16175,7 @@ var require_semaphore2 = __commonJS({
16166
16175
  var require_messageReader2 = __commonJS({
16167
16176
  "../../node_modules/.pnpm/vscode-jsonrpc@9.0.1/node_modules/vscode-jsonrpc/lib/common/messageReader.js"(exports2) {
16168
16177
  "use strict";
16169
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
16178
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
16170
16179
  if (k2 === void 0) k2 = k;
16171
16180
  var desc = Object.getOwnPropertyDescriptor(m, k);
16172
16181
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -16175,16 +16184,16 @@ var require_messageReader2 = __commonJS({
16175
16184
  } };
16176
16185
  }
16177
16186
  Object.defineProperty(o, k2, desc);
16178
- } : function(o, m, k, k2) {
16187
+ }) : (function(o, m, k, k2) {
16179
16188
  if (k2 === void 0) k2 = k;
16180
16189
  o[k2] = m[k];
16181
- });
16182
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
16190
+ }));
16191
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
16183
16192
  Object.defineProperty(o, "default", { enumerable: true, value: v });
16184
- } : function(o, v) {
16193
+ }) : function(o, v) {
16185
16194
  o["default"] = v;
16186
16195
  });
16187
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
16196
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
16188
16197
  var ownKeys = function(o) {
16189
16198
  ownKeys = Object.getOwnPropertyNames || function(o2) {
16190
16199
  var ar = [];
@@ -16202,7 +16211,7 @@ var require_messageReader2 = __commonJS({
16202
16211
  __setModuleDefault(result, mod);
16203
16212
  return result;
16204
16213
  };
16205
- }();
16214
+ })();
16206
16215
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
16207
16216
  return mod && mod.__esModule ? mod : { "default": mod };
16208
16217
  };
@@ -16408,7 +16417,7 @@ ${JSON.stringify(Object.fromEntries(headers))}`));
16408
16417
  var require_messageWriter2 = __commonJS({
16409
16418
  "../../node_modules/.pnpm/vscode-jsonrpc@9.0.1/node_modules/vscode-jsonrpc/lib/common/messageWriter.js"(exports2) {
16410
16419
  "use strict";
16411
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
16420
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
16412
16421
  if (k2 === void 0) k2 = k;
16413
16422
  var desc = Object.getOwnPropertyDescriptor(m, k);
16414
16423
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -16417,16 +16426,16 @@ var require_messageWriter2 = __commonJS({
16417
16426
  } };
16418
16427
  }
16419
16428
  Object.defineProperty(o, k2, desc);
16420
- } : function(o, m, k, k2) {
16429
+ }) : (function(o, m, k, k2) {
16421
16430
  if (k2 === void 0) k2 = k;
16422
16431
  o[k2] = m[k];
16423
- });
16424
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
16432
+ }));
16433
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
16425
16434
  Object.defineProperty(o, "default", { enumerable: true, value: v });
16426
- } : function(o, v) {
16435
+ }) : function(o, v) {
16427
16436
  o["default"] = v;
16428
16437
  });
16429
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
16438
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
16430
16439
  var ownKeys = function(o) {
16431
16440
  ownKeys = Object.getOwnPropertyNames || function(o2) {
16432
16441
  var ar = [];
@@ -16444,7 +16453,7 @@ var require_messageWriter2 = __commonJS({
16444
16453
  __setModuleDefault(result, mod);
16445
16454
  return result;
16446
16455
  };
16447
- }();
16456
+ })();
16448
16457
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
16449
16458
  return mod && mod.__esModule ? mod : { "default": mod };
16450
16459
  };
@@ -16717,7 +16726,7 @@ ${header}`);
16717
16726
  var require_connection3 = __commonJS({
16718
16727
  "../../node_modules/.pnpm/vscode-jsonrpc@9.0.1/node_modules/vscode-jsonrpc/lib/common/connection.js"(exports2) {
16719
16728
  "use strict";
16720
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
16729
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
16721
16730
  if (k2 === void 0) k2 = k;
16722
16731
  var desc = Object.getOwnPropertyDescriptor(m, k);
16723
16732
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -16726,16 +16735,16 @@ var require_connection3 = __commonJS({
16726
16735
  } };
16727
16736
  }
16728
16737
  Object.defineProperty(o, k2, desc);
16729
- } : function(o, m, k, k2) {
16738
+ }) : (function(o, m, k, k2) {
16730
16739
  if (k2 === void 0) k2 = k;
16731
16740
  o[k2] = m[k];
16732
- });
16733
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
16741
+ }));
16742
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
16734
16743
  Object.defineProperty(o, "default", { enumerable: true, value: v });
16735
- } : function(o, v) {
16744
+ }) : function(o, v) {
16736
16745
  o["default"] = v;
16737
16746
  });
16738
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
16747
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
16739
16748
  var ownKeys = function(o) {
16740
16749
  ownKeys = Object.getOwnPropertyNames || function(o2) {
16741
16750
  var ar = [];
@@ -16753,7 +16762,7 @@ var require_connection3 = __commonJS({
16753
16762
  __setModuleDefault(result, mod);
16754
16763
  return result;
16755
16764
  };
16756
- }();
16765
+ })();
16757
16766
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
16758
16767
  return mod && mod.__esModule ? mod : { "default": mod };
16759
16768
  };
@@ -20269,7 +20278,7 @@ var require_protocol_inlayHint2 = __commonJS({
20269
20278
  var require_protocol_diagnostic2 = __commonJS({
20270
20279
  "../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.2/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js"(exports2) {
20271
20280
  "use strict";
20272
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
20281
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
20273
20282
  if (k2 === void 0) k2 = k;
20274
20283
  var desc = Object.getOwnPropertyDescriptor(m, k);
20275
20284
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -20278,16 +20287,16 @@ var require_protocol_diagnostic2 = __commonJS({
20278
20287
  } };
20279
20288
  }
20280
20289
  Object.defineProperty(o, k2, desc);
20281
- } : function(o, m, k, k2) {
20290
+ }) : (function(o, m, k, k2) {
20282
20291
  if (k2 === void 0) k2 = k;
20283
20292
  o[k2] = m[k];
20284
- });
20285
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
20293
+ }));
20294
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
20286
20295
  Object.defineProperty(o, "default", { enumerable: true, value: v });
20287
- } : function(o, v) {
20296
+ }) : function(o, v) {
20288
20297
  o["default"] = v;
20289
20298
  });
20290
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
20299
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
20291
20300
  var ownKeys = function(o) {
20292
20301
  ownKeys = Object.getOwnPropertyNames || function(o2) {
20293
20302
  var ar = [];
@@ -20305,7 +20314,7 @@ var require_protocol_diagnostic2 = __commonJS({
20305
20314
  __setModuleDefault(result, mod);
20306
20315
  return result;
20307
20316
  };
20308
- }();
20317
+ })();
20309
20318
  Object.defineProperty(exports2, "__esModule", { value: true });
20310
20319
  exports2.DiagnosticRefreshRequest = exports2.WorkspaceDiagnosticRequest = exports2.DocumentDiagnosticRequest = exports2.DocumentDiagnosticReportKind = exports2.DiagnosticServerCancellationData = void 0;
20311
20320
  var vscode_jsonrpc_1 = require_api4();
@@ -20354,7 +20363,7 @@ var require_protocol_diagnostic2 = __commonJS({
20354
20363
  var require_protocol_notebook2 = __commonJS({
20355
20364
  "../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.2/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js"(exports2) {
20356
20365
  "use strict";
20357
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
20366
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
20358
20367
  if (k2 === void 0) k2 = k;
20359
20368
  var desc = Object.getOwnPropertyDescriptor(m, k);
20360
20369
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -20363,16 +20372,16 @@ var require_protocol_notebook2 = __commonJS({
20363
20372
  } };
20364
20373
  }
20365
20374
  Object.defineProperty(o, k2, desc);
20366
- } : function(o, m, k, k2) {
20375
+ }) : (function(o, m, k, k2) {
20367
20376
  if (k2 === void 0) k2 = k;
20368
20377
  o[k2] = m[k];
20369
- });
20370
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
20378
+ }));
20379
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
20371
20380
  Object.defineProperty(o, "default", { enumerable: true, value: v });
20372
- } : function(o, v) {
20381
+ }) : function(o, v) {
20373
20382
  o["default"] = v;
20374
20383
  });
20375
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
20384
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
20376
20385
  var ownKeys = function(o) {
20377
20386
  ownKeys = Object.getOwnPropertyNames || function(o2) {
20378
20387
  var ar = [];
@@ -20390,7 +20399,7 @@ var require_protocol_notebook2 = __commonJS({
20390
20399
  __setModuleDefault(result, mod);
20391
20400
  return result;
20392
20401
  };
20393
- }();
20402
+ })();
20394
20403
  Object.defineProperty(exports2, "__esModule", { value: true });
20395
20404
  exports2.DidCloseNotebookDocumentNotification = exports2.DidSaveNotebookDocumentNotification = exports2.DidChangeNotebookDocumentNotification = exports2.NotebookCellArrayChange = exports2.DidOpenNotebookDocumentNotification = exports2.NotebookDocumentSyncRegistrationType = exports2.NotebookDocument = exports2.NotebookCell = exports2.ExecutionSummary = exports2.NotebookCellKind = void 0;
20396
20405
  var vscode_languageserver_types_1 = (init_main2(), __toCommonJS(main_exports2));
@@ -20620,7 +20629,7 @@ var require_protocol_textDocumentContent = __commonJS({
20620
20629
  var require_protocol2 = __commonJS({
20621
20630
  "../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.2/node_modules/vscode-languageserver-protocol/lib/common/protocol.js"(exports2) {
20622
20631
  "use strict";
20623
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
20632
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
20624
20633
  if (k2 === void 0) k2 = k;
20625
20634
  var desc = Object.getOwnPropertyDescriptor(m, k);
20626
20635
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -20629,16 +20638,16 @@ var require_protocol2 = __commonJS({
20629
20638
  } };
20630
20639
  }
20631
20640
  Object.defineProperty(o, k2, desc);
20632
- } : function(o, m, k, k2) {
20641
+ }) : (function(o, m, k, k2) {
20633
20642
  if (k2 === void 0) k2 = k;
20634
20643
  o[k2] = m[k];
20635
- });
20636
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
20644
+ }));
20645
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
20637
20646
  Object.defineProperty(o, "default", { enumerable: true, value: v });
20638
- } : function(o, v) {
20647
+ }) : function(o, v) {
20639
20648
  o["default"] = v;
20640
20649
  });
20641
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
20650
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
20642
20651
  var ownKeys = function(o) {
20643
20652
  ownKeys = Object.getOwnPropertyNames || function(o2) {
20644
20653
  var ar = [];
@@ -20656,7 +20665,7 @@ var require_protocol2 = __commonJS({
20656
20665
  __setModuleDefault(result, mod);
20657
20666
  return result;
20658
20667
  };
20659
- }();
20668
+ })();
20660
20669
  Object.defineProperty(exports2, "__esModule", { value: true });
20661
20670
  exports2.CodeActionRequest = exports2.DocumentSymbolRequest = exports2.DocumentHighlightRequest = exports2.ReferencesRequest = exports2.DefinitionRequest = exports2.SignatureHelpRequest = exports2.SignatureHelpTriggerKind = exports2.HoverRequest = exports2.CompletionResolveRequest = exports2.CompletionRequest = exports2.CompletionTriggerKind = exports2.PublishDiagnosticsNotification = exports2.WatchKind = exports2.GlobPattern = exports2.RelativePattern = exports2.FileChangeType = exports2.DidChangeWatchedFilesNotification = exports2.WillSaveTextDocumentWaitUntilRequest = exports2.WillSaveTextDocumentNotification = exports2.TextDocumentSaveReason = exports2.DidSaveTextDocumentNotification = exports2.DidCloseTextDocumentNotification = exports2.DidChangeTextDocumentNotification = exports2.TextDocumentContentChangeEvent = exports2.DidOpenTextDocumentNotification = exports2.TextDocumentSyncKind = exports2.TelemetryEventNotification = exports2.LogMessageNotification = exports2.ShowMessageRequest = exports2.ShowMessageNotification = exports2.MessageType = exports2.DidChangeConfigurationNotification = exports2.ExitNotification = exports2.ShutdownRequest = exports2.InitializedNotification = exports2.InitializeErrorCodes = exports2.InitializeRequest = exports2.WorkDoneProgressOptions = exports2.TextDocumentRegistrationOptions = exports2.StaticRegistrationOptions = exports2.PositionEncodingKind = exports2.RegularExpressionEngineKind = exports2.FailureHandlingKind = exports2.ResourceOperationKind = exports2.UnregistrationRequest = exports2.RegistrationRequest = exports2.DocumentSelector = exports2.NotebookCellTextDocumentFilter = exports2.NotebookDocumentFilter = exports2.TextDocumentFilter = void 0;
20662
20671
  exports2.UniquenessLevel = exports2.WillDeleteFilesRequest = exports2.DidDeleteFilesNotification = exports2.WillRenameFilesRequest = exports2.DidRenameFilesNotification = exports2.WillCreateFilesRequest = exports2.DidCreateFilesNotification = exports2.FileOperationPatternKind = exports2.LinkedEditingRangeRequest = exports2.ShowDocumentRequest = exports2.SemanticTokensRegistrationType = exports2.SemanticTokensRefreshRequest = exports2.SemanticTokensRangeRequest = exports2.SemanticTokensDeltaRequest = exports2.SemanticTokensRequest = exports2.TokenFormat = exports2.CallHierarchyPrepareRequest = exports2.CallHierarchyOutgoingCallsRequest = exports2.CallHierarchyIncomingCallsRequest = exports2.WorkDoneProgressCancelNotification = exports2.WorkDoneProgressCreateRequest = exports2.WorkDoneProgress = exports2.SelectionRangeRequest = exports2.DeclarationRequest = exports2.FoldingRangeRefreshRequest = exports2.FoldingRangeRequest = exports2.ColorPresentationRequest = exports2.DocumentColorRequest = exports2.ConfigurationRequest = exports2.DidChangeWorkspaceFoldersNotification = exports2.WorkspaceFoldersRequest = exports2.TypeDefinitionRequest = exports2.ImplementationRequest = exports2.ApplyWorkspaceEditRequest = exports2.ExecuteCommandRequest = exports2.PrepareRenameRequest = exports2.RenameRequest = exports2.PrepareSupportDefaultBehavior = exports2.DocumentOnTypeFormattingRequest = exports2.DocumentRangesFormattingRequest = exports2.DocumentRangeFormattingRequest = exports2.DocumentFormattingRequest = exports2.DocumentLinkResolveRequest = exports2.DocumentLinkRequest = exports2.CodeLensRefreshRequest = exports2.CodeLensResolveRequest = exports2.CodeLensRequest = exports2.WorkspaceSymbolResolveRequest = exports2.WorkspaceSymbolRequest = exports2.CodeActionResolveRequest = void 0;
@@ -21364,7 +21373,7 @@ var require_connection4 = __commonJS({
21364
21373
  var require_api5 = __commonJS({
21365
21374
  "../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.2/node_modules/vscode-languageserver-protocol/lib/common/api.js"(exports2) {
21366
21375
  "use strict";
21367
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
21376
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
21368
21377
  if (k2 === void 0) k2 = k;
21369
21378
  var desc = Object.getOwnPropertyDescriptor(m, k);
21370
21379
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -21373,10 +21382,10 @@ var require_api5 = __commonJS({
21373
21382
  } };
21374
21383
  }
21375
21384
  Object.defineProperty(o, k2, desc);
21376
- } : function(o, m, k, k2) {
21385
+ }) : (function(o, m, k, k2) {
21377
21386
  if (k2 === void 0) k2 = k;
21378
21387
  o[k2] = m[k];
21379
- });
21388
+ }));
21380
21389
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
21381
21390
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
21382
21391
  };
@@ -21406,7 +21415,7 @@ var require_api5 = __commonJS({
21406
21415
  var require_protocol3 = __commonJS({
21407
21416
  "../../node_modules/.pnpm/@volar+language-server@2.4.28/node_modules/@volar/language-server/protocol.js"(exports2) {
21408
21417
  "use strict";
21409
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
21418
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
21410
21419
  if (k2 === void 0) k2 = k;
21411
21420
  var desc = Object.getOwnPropertyDescriptor(m, k);
21412
21421
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -21415,10 +21424,10 @@ var require_protocol3 = __commonJS({
21415
21424
  } };
21416
21425
  }
21417
21426
  Object.defineProperty(o, k2, desc);
21418
- } : function(o, m, k, k2) {
21427
+ }) : (function(o, m, k, k2) {
21419
21428
  if (k2 === void 0) k2 = k;
21420
21429
  o[k2] = m[k];
21421
- });
21430
+ }));
21422
21431
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
21423
21432
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
21424
21433
  };
@@ -22862,7 +22871,7 @@ var require_types3 = __commonJS({
22862
22871
  var require_language_server = __commonJS({
22863
22872
  "../../node_modules/.pnpm/@volar+language-server@2.4.28/node_modules/@volar/language-server/index.js"(exports2) {
22864
22873
  "use strict";
22865
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
22874
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
22866
22875
  if (k2 === void 0) k2 = k;
22867
22876
  var desc = Object.getOwnPropertyDescriptor(m, k);
22868
22877
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -22871,10 +22880,10 @@ var require_language_server = __commonJS({
22871
22880
  } };
22872
22881
  }
22873
22882
  Object.defineProperty(o, k2, desc);
22874
- } : function(o, m, k, k2) {
22883
+ }) : (function(o, m, k, k2) {
22875
22884
  if (k2 === void 0) k2 = k;
22876
22885
  o[k2] = m[k];
22877
- });
22886
+ }));
22878
22887
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
22879
22888
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
22880
22889
  };
@@ -26321,7 +26330,7 @@ var require_createSys = __commonJS({
26321
26330
  files: [...dir.files.values()].filter((file) => file.stat?.type === 1).map((file) => file.name),
26322
26331
  directories: [...dir.dirs.values()].filter((dir2) => dir2.exists).map((dir2) => dir2.name)
26323
26332
  };
26324
- }, sys?.realpath ? (path2) => sys.realpath(path2) : (path2) => path2);
26333
+ }, sys?.realpath ? ((path2) => sys.realpath(path2)) : ((path2) => path2));
26325
26334
  return [...new Set(matches)];
26326
26335
  }
26327
26336
  function readFileWorker(fileName, encoding, dir) {
@@ -26487,7 +26496,7 @@ var require_createSys = __commonJS({
26487
26496
  var require_typescript = __commonJS({
26488
26497
  "../../node_modules/.pnpm/@volar+typescript@2.4.28/node_modules/@volar/typescript/index.js"(exports2) {
26489
26498
  "use strict";
26490
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
26499
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
26491
26500
  if (k2 === void 0) k2 = k;
26492
26501
  var desc = Object.getOwnPropertyDescriptor(m, k);
26493
26502
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -26496,10 +26505,10 @@ var require_typescript = __commonJS({
26496
26505
  } };
26497
26506
  }
26498
26507
  Object.defineProperty(o, k2, desc);
26499
- } : function(o, m, k, k2) {
26508
+ }) : (function(o, m, k, k2) {
26500
26509
  if (k2 === void 0) k2 = k;
26501
26510
  o[k2] = m[k];
26502
- });
26511
+ }));
26503
26512
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
26504
26513
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
26505
26514
  };
@@ -27059,7 +27068,7 @@ var require_typescriptProject = __commonJS({
27059
27068
  var require_node5 = __commonJS({
27060
27069
  "../../node_modules/.pnpm/@volar+language-server@2.4.28/node_modules/@volar/language-server/node.js"(exports, module) {
27061
27070
  "use strict";
27062
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
27071
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
27063
27072
  if (k2 === void 0) k2 = k;
27064
27073
  var desc = Object.getOwnPropertyDescriptor(m, k);
27065
27074
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -27068,10 +27077,10 @@ var require_node5 = __commonJS({
27068
27077
  } };
27069
27078
  }
27070
27079
  Object.defineProperty(o, k2, desc);
27071
- } : function(o, m, k, k2) {
27080
+ }) : (function(o, m, k, k2) {
27072
27081
  if (k2 === void 0) k2 = k;
27073
27082
  o[k2] = m[k];
27074
- });
27083
+ }));
27075
27084
  var __exportStar = exports && exports.__exportStar || function(m, exports2) {
27076
27085
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
27077
27086
  };
@@ -29434,7 +29443,7 @@ var require_range = __commonJS({
29434
29443
  var require_comparator = __commonJS({
29435
29444
  "../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/classes/comparator.js"(exports2, module2) {
29436
29445
  "use strict";
29437
- var ANY = Symbol("SemVer ANY");
29446
+ var ANY = /* @__PURE__ */ Symbol("SemVer ANY");
29438
29447
  var Comparator = class _Comparator {
29439
29448
  static get ANY() {
29440
29449
  return ANY;
@@ -34735,9 +34744,9 @@ var require_picocolors = __commonJS({
34735
34744
  }
34736
34745
  });
34737
34746
 
34738
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/tokenize.js
34747
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/tokenize.js
34739
34748
  var require_tokenize = __commonJS({
34740
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/tokenize.js"(exports2, module2) {
34749
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/tokenize.js"(exports2, module2) {
34741
34750
  "use strict";
34742
34751
  var SINGLE_QUOTE = "'".charCodeAt(0);
34743
34752
  var DOUBLE_QUOTE = '"'.charCodeAt(0);
@@ -34954,9 +34963,9 @@ var require_tokenize = __commonJS({
34954
34963
  }
34955
34964
  });
34956
34965
 
34957
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/terminal-highlight.js
34966
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/terminal-highlight.js
34958
34967
  var require_terminal_highlight = __commonJS({
34959
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/terminal-highlight.js"(exports2, module2) {
34968
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/terminal-highlight.js"(exports2, module2) {
34960
34969
  "use strict";
34961
34970
  var pico = require_picocolors();
34962
34971
  var tokenizer = require_tokenize();
@@ -35016,9 +35025,9 @@ var require_terminal_highlight = __commonJS({
35016
35025
  }
35017
35026
  });
35018
35027
 
35019
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/css-syntax-error.js
35028
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/css-syntax-error.js
35020
35029
  var require_css_syntax_error = __commonJS({
35021
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/css-syntax-error.js"(exports2, module2) {
35030
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/css-syntax-error.js"(exports2, module2) {
35022
35031
  "use strict";
35023
35032
  var pico = require_picocolors();
35024
35033
  var terminalHighlight = require_terminal_highlight();
@@ -35113,17 +35122,11 @@ var require_css_syntax_error = __commonJS({
35113
35122
  }
35114
35123
  });
35115
35124
 
35116
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/stringifier.js
35125
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/stringifier.js
35117
35126
  var require_stringifier = __commonJS({
35118
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/stringifier.js"(exports2, module2) {
35127
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/stringifier.js"(exports2, module2) {
35119
35128
  "use strict";
35120
- var STYLE_TAG = /(<)(\/?style\b)/gi;
35121
- var COMMENT_OPEN = /(<)(!--)/g;
35122
- function escapeHTMLInCSS(str) {
35123
- if (typeof str !== "string") return str;
35124
- if (!str.includes("<")) return str;
35125
- return str.replace(STYLE_TAG, "\\3c $2").replace(COMMENT_OPEN, "\\3c $2");
35126
- }
35129
+ var AT_NAME_END = /[\t\n\f\r "#'()/;[\\\]{}]/;
35127
35130
  var DEFAULT_RAW = {
35128
35131
  after: "\n",
35129
35132
  beforeClose: "\n",
@@ -35141,24 +35144,74 @@ var require_stringifier = __commonJS({
35141
35144
  function capitalize(str) {
35142
35145
  return str[0].toUpperCase() + str.slice(1);
35143
35146
  }
35144
- var Stringifier = class {
35147
+ function atruleStart(str, node) {
35148
+ let name = "@" + node.name;
35149
+ let params = node.params ? str.rawValue(node, "params") : "";
35150
+ let afterName = node.raws.afterName;
35151
+ if (typeof afterName === "undefined") {
35152
+ afterName = params ? " " : "";
35153
+ } else if (afterName === "" && params && !AT_NAME_END.test(params[0])) {
35154
+ afterName = " ";
35155
+ }
35156
+ return name + afterName + params;
35157
+ }
35158
+ function isCustomProperty(node) {
35159
+ if (!node.prop.startsWith("--")) return false;
35160
+ let before = node.raws.before;
35161
+ return typeof before === "undefined" || !/[^\s;]$/.test(before);
35162
+ }
35163
+ function pushBody(str, stack, node) {
35164
+ let nodes = node.nodes;
35165
+ let last = nodes.length - 1;
35166
+ while (last > 0) {
35167
+ if (nodes[last].type !== "comment") break;
35168
+ last -= 1;
35169
+ }
35170
+ let semicolon = str.raw(node, "semicolon");
35171
+ let isDocument = node.type === "document";
35172
+ for (let i = nodes.length - 1; i >= 0; i--) {
35173
+ let child = nodes[i];
35174
+ let childSemicolon = last !== i || semicolon;
35175
+ if (!childSemicolon && i < nodes.length - 1 && (child.type === "atrule" && !child.nodes || child.type === "decl" && isCustomProperty(child))) {
35176
+ childSemicolon = true;
35177
+ }
35178
+ stack.push({
35179
+ document: isDocument,
35180
+ node: child,
35181
+ semicolon: childSemicolon
35182
+ });
35183
+ }
35184
+ }
35185
+ function pushBlock(str, stack, node, start) {
35186
+ let between = str.raw(node, "between", "beforeOpen");
35187
+ str.builder(start + between + "{", node, "start");
35188
+ let hasNodes = node.nodes && node.nodes.length;
35189
+ let close = () => {
35190
+ let after = hasNodes ? str.raw(node, "after") : str.raw(node, "after", "emptyBody");
35191
+ if (after) str.builder(after);
35192
+ str.builder("}", node, "end");
35193
+ if (node.type === "rule" && node.raws.ownSemicolon) {
35194
+ str.builder(node.raws.ownSemicolon, node, "end");
35195
+ }
35196
+ };
35197
+ if (hasNodes) {
35198
+ stack.push(close);
35199
+ pushBody(str, stack, node);
35200
+ } else {
35201
+ close();
35202
+ }
35203
+ }
35204
+ var Stringifier = class _Stringifier {
35145
35205
  constructor(builder) {
35146
35206
  this.builder = builder;
35147
35207
  }
35148
35208
  atrule(node, semicolon) {
35149
- let raws = node.raws;
35150
- let name = "@" + node.name;
35151
- let params = node.params ? this.rawValue(node, "params") : "";
35152
- if (typeof raws.afterName !== "undefined") {
35153
- name += raws.afterName;
35154
- } else if (params) {
35155
- name += " ";
35156
- }
35209
+ let start = atruleStart(this, node);
35157
35210
  if (node.nodes) {
35158
- this.block(node, name + params);
35211
+ this.block(node, start);
35159
35212
  } else {
35160
- let end = (raws.between || "") + (semicolon ? ";" : "");
35161
- this.builder(escapeHTMLInCSS(name + params + end), node);
35213
+ let end = (node.raws.between || "") + (semicolon ? ";" : "");
35214
+ this.builder(start + end, node);
35162
35215
  }
35163
35216
  }
35164
35217
  beforeAfter(node, detect) {
@@ -35188,7 +35241,7 @@ var require_stringifier = __commonJS({
35188
35241
  }
35189
35242
  block(node, start) {
35190
35243
  let between = this.raw(node, "between", "beforeOpen");
35191
- this.builder(escapeHTMLInCSS(start + between) + "{", node, "start");
35244
+ this.builder(start + between + "{", node, "start");
35192
35245
  let after;
35193
35246
  if (node.nodes && node.nodes.length) {
35194
35247
  this.body(node);
@@ -35196,29 +35249,40 @@ var require_stringifier = __commonJS({
35196
35249
  } else {
35197
35250
  after = this.raw(node, "after", "emptyBody");
35198
35251
  }
35199
- if (after) this.builder(escapeHTMLInCSS(after));
35252
+ if (after) this.builder(after);
35200
35253
  this.builder("}", node, "end");
35201
35254
  }
35202
35255
  body(node) {
35203
- let nodes = node.nodes;
35204
- let last = nodes.length - 1;
35205
- while (last > 0) {
35206
- if (nodes[last].type !== "comment") break;
35207
- last -= 1;
35208
- }
35209
- let semicolon = this.raw(node, "semicolon");
35210
- let isDocument = node.type === "document";
35211
- for (let i = 0; i < nodes.length; i++) {
35212
- let child = nodes[i];
35256
+ let proto = _Stringifier.prototype;
35257
+ let expandable = ["atrule", "block", "body", "rule", "stringify"].every(
35258
+ (method) => this[method] === proto[method]
35259
+ );
35260
+ let stack = [];
35261
+ pushBody(this, stack, node);
35262
+ while (stack.length > 0) {
35263
+ let entry = stack.pop();
35264
+ if (typeof entry === "function") {
35265
+ entry();
35266
+ continue;
35267
+ }
35268
+ let child = entry.node;
35213
35269
  let before = this.raw(child, "before");
35214
- if (before) this.builder(isDocument ? before : escapeHTMLInCSS(before));
35215
- this.stringify(child, last !== i || semicolon);
35270
+ if (before) {
35271
+ this.builder(before);
35272
+ }
35273
+ if (expandable && child.type === "rule") {
35274
+ pushBlock(this, stack, child, this.rawValue(child, "selector"));
35275
+ } else if (expandable && child.type === "atrule" && child.nodes) {
35276
+ pushBlock(this, stack, child, atruleStart(this, child));
35277
+ } else {
35278
+ this.stringify(child, entry.semicolon);
35279
+ }
35216
35280
  }
35217
35281
  }
35218
35282
  comment(node) {
35219
35283
  let left = this.raw(node, "left", "commentLeft");
35220
35284
  let right = this.raw(node, "right", "commentRight");
35221
- this.builder(escapeHTMLInCSS("/*" + left + node.text + right + "*/"), node);
35285
+ this.builder("/*" + left + node.text + right + "*/", node);
35222
35286
  }
35223
35287
  decl(node, semicolon) {
35224
35288
  let raws = node.raws;
@@ -35228,7 +35292,7 @@ var require_stringifier = __commonJS({
35228
35292
  string += raws.important || " !important";
35229
35293
  }
35230
35294
  if (semicolon) string += ";";
35231
- this.builder(escapeHTMLInCSS(string), node);
35295
+ this.builder(string, node);
35232
35296
  }
35233
35297
  document(node) {
35234
35298
  this.body(node);
@@ -35405,17 +35469,19 @@ var require_stringifier = __commonJS({
35405
35469
  return value;
35406
35470
  }
35407
35471
  root(node) {
35472
+ let inDocument = node.parent && node.parent.type === "document";
35473
+ if (!inDocument && node.source && node.source.input.hasBOM) {
35474
+ this.builder("\uFEFF", node, "start");
35475
+ }
35408
35476
  this.body(node);
35409
35477
  if (node.raws.after) {
35410
- let after = node.raws.after;
35411
- let isDocument = node.parent && node.parent.type === "document";
35412
- this.builder(isDocument ? after : escapeHTMLInCSS(after));
35478
+ this.builder(node.raws.after);
35413
35479
  }
35414
35480
  }
35415
35481
  rule(node) {
35416
35482
  this.block(node, this.rawValue(node, "selector"));
35417
35483
  if (node.raws.ownSemicolon) {
35418
- this.builder(escapeHTMLInCSS(node.raws.ownSemicolon), node, "end");
35484
+ this.builder(node.raws.ownSemicolon, node, "end");
35419
35485
  }
35420
35486
  }
35421
35487
  stringify(node, semicolon) {
@@ -35432,32 +35498,101 @@ var require_stringifier = __commonJS({
35432
35498
  }
35433
35499
  });
35434
35500
 
35435
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/stringify.js
35501
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/stringify.js
35436
35502
  var require_stringify = __commonJS({
35437
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/stringify.js"(exports2, module2) {
35503
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/stringify.js"(exports2, module2) {
35438
35504
  "use strict";
35439
35505
  var Stringifier = require_stringifier();
35506
+ var STYLE_TAG = /(<)(\/?style\b)/gi;
35507
+ var COMMENT_OPEN = /(<)(!--)/g;
35508
+ function escapeHTMLInCSS(str) {
35509
+ if (!str.includes("<")) return str;
35510
+ return str.replace(STYLE_TAG, "\\3c $2").replace(COMMENT_OPEN, "\\3c $2");
35511
+ }
35512
+ function cutEscaped(chunks, css, escaped) {
35513
+ let parts = [];
35514
+ let at = 0;
35515
+ let into = 0;
35516
+ for (let i = 0; i < chunks.length; i += 3) {
35517
+ let from = into;
35518
+ let end = at + chunks[i].length;
35519
+ while (at < end) {
35520
+ if (css[at] === escaped[into]) {
35521
+ at += 1;
35522
+ into += 1;
35523
+ } else {
35524
+ at += 1;
35525
+ into += 4;
35526
+ }
35527
+ }
35528
+ parts.push(escaped.slice(from, into));
35529
+ }
35530
+ return parts;
35531
+ }
35532
+ var SafeStringifier = class extends Stringifier {
35533
+ escapeHTML(print) {
35534
+ let builder = this.builder;
35535
+ let chunks, css;
35536
+ this.builder = (str, child, type) => {
35537
+ if (chunks) {
35538
+ css += str;
35539
+ chunks.push(str, child, type);
35540
+ } else if (str.includes("<")) {
35541
+ css = str;
35542
+ chunks = [str, child, type];
35543
+ } else {
35544
+ builder(str, child, type);
35545
+ }
35546
+ };
35547
+ print();
35548
+ this.builder = builder;
35549
+ if (!chunks) return;
35550
+ let escaped = escapeHTMLInCSS(css);
35551
+ if (escaped === css) {
35552
+ for (let i = 0; i < chunks.length; i += 3) {
35553
+ builder(chunks[i], chunks[i + 1], chunks[i + 2]);
35554
+ }
35555
+ } else {
35556
+ let parts = cutEscaped(chunks, css, escaped);
35557
+ for (let i = 0; i < chunks.length; i += 3) {
35558
+ builder(parts[i / 3], chunks[i + 1], chunks[i + 2]);
35559
+ }
35560
+ }
35561
+ }
35562
+ root(node) {
35563
+ if (node.parent && node.parent.type === "document") {
35564
+ this.escapeHTML(() => this.body(node));
35565
+ if (node.raws.after) this.builder(node.raws.after);
35566
+ } else {
35567
+ this.escapeHTML(() => super.root(node));
35568
+ }
35569
+ }
35570
+ };
35440
35571
  function stringify2(node, builder) {
35441
- let str = new Stringifier(builder);
35442
- str.stringify(node);
35572
+ let str = new SafeStringifier(builder);
35573
+ if (node.type === "root" || node.type === "document") {
35574
+ str.stringify(node);
35575
+ } else {
35576
+ str.escapeHTML(() => str.stringify(node));
35577
+ }
35443
35578
  }
35444
35579
  module2.exports = stringify2;
35445
35580
  stringify2.default = stringify2;
35446
35581
  }
35447
35582
  });
35448
35583
 
35449
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/symbols.js
35584
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/symbols.js
35450
35585
  var require_symbols = __commonJS({
35451
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/symbols.js"(exports2, module2) {
35586
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/symbols.js"(exports2, module2) {
35452
35587
  "use strict";
35453
- module2.exports.isClean = Symbol("isClean");
35454
- module2.exports.my = Symbol("my");
35588
+ module2.exports.isClean = /* @__PURE__ */ Symbol("isClean");
35589
+ module2.exports.my = /* @__PURE__ */ Symbol("my");
35455
35590
  }
35456
35591
  });
35457
35592
 
35458
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/node.js
35593
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/node.js
35459
35594
  var require_node6 = __commonJS({
35460
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/node.js"(exports2, module2) {
35595
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/node.js"(exports2, module2) {
35461
35596
  "use strict";
35462
35597
  var CssSyntaxError2 = require_css_syntax_error();
35463
35598
  var Stringifier = require_stringifier();
@@ -35465,22 +35600,36 @@ var require_node6 = __commonJS({
35465
35600
  var { isClean, my } = require_symbols();
35466
35601
  function cloneNode(obj, parent) {
35467
35602
  let cloned = new obj.constructor();
35468
- for (let i in obj) {
35469
- if (!Object.prototype.hasOwnProperty.call(obj, i)) {
35470
- continue;
35471
- }
35472
- if (i === "proxyCache") continue;
35473
- let value = obj[i];
35474
- let type = typeof value;
35475
- if (i === "parent" && type === "object") {
35476
- if (parent) cloned[i] = parent;
35477
- } else if (i === "source") {
35478
- cloned[i] = value;
35479
- } else if (Array.isArray(value)) {
35480
- cloned[i] = value.map((j) => cloneNode(j, cloned));
35481
- } else {
35482
- if (type === "object" && value !== null) value = cloneNode(value);
35483
- cloned[i] = value;
35603
+ let stack = [[obj, cloned, parent]];
35604
+ while (stack.length > 0) {
35605
+ let [source, target, targetParent] = stack.pop();
35606
+ for (let i in source) {
35607
+ if (!Object.prototype.hasOwnProperty.call(source, i)) {
35608
+ continue;
35609
+ }
35610
+ if (i === "proxyCache") continue;
35611
+ let value = source[i];
35612
+ let type = typeof value;
35613
+ if (i === "parent" && type === "object") {
35614
+ if (targetParent) target[i] = targetParent;
35615
+ } else if (i === "source") {
35616
+ target[i] = value;
35617
+ } else if (Array.isArray(value)) {
35618
+ let children = [];
35619
+ target[i] = children;
35620
+ for (let j of value) {
35621
+ let childClone = new j.constructor();
35622
+ children.push(childClone);
35623
+ stack.push([j, childClone, target]);
35624
+ }
35625
+ } else {
35626
+ if (type === "object" && value !== null) {
35627
+ let valueClone = new value.constructor();
35628
+ stack.push([value, valueClone, void 0]);
35629
+ value = valueClone;
35630
+ }
35631
+ target[i] = value;
35632
+ }
35484
35633
  }
35485
35634
  }
35486
35635
  return cloned;
@@ -35506,7 +35655,7 @@ var require_node6 = __commonJS({
35506
35655
  }
35507
35656
  return offset;
35508
35657
  }
35509
- var Node2 = class {
35658
+ var Node2 = class _Node {
35510
35659
  get proxyOf() {
35511
35660
  return this;
35512
35661
  }
@@ -35514,11 +35663,12 @@ var require_node6 = __commonJS({
35514
35663
  this.raws = {};
35515
35664
  this[isClean] = false;
35516
35665
  this[my] = true;
35517
- for (let name in defaults) {
35666
+ for (let name of Object.keys(defaults)) {
35667
+ if (name === "__proto__") continue;
35518
35668
  if (name === "nodes") {
35519
35669
  this.nodes = [];
35520
35670
  for (let node of defaults[name]) {
35521
- if (typeof node.clone === "function") {
35671
+ if (typeof node.clone === "function" && node.parent) {
35522
35672
  this.append(node.clone());
35523
35673
  } else {
35524
35674
  this.append(node);
@@ -35629,11 +35779,15 @@ var require_node6 = __commonJS({
35629
35779
  return this.parent.nodes[index + 1];
35630
35780
  }
35631
35781
  positionBy(opts = {}) {
35632
- let pos = this.source.start;
35782
+ let inputString = "document" in this.source.input ? this.source.input.document : this.source.input.css;
35783
+ let pos = {
35784
+ column: this.source.start.column,
35785
+ line: this.source.start.line,
35786
+ offset: sourceOffset(inputString, this.source.start)
35787
+ };
35633
35788
  if (opts.index) {
35634
35789
  pos = this.positionInside(opts.index);
35635
35790
  } else if (opts.word) {
35636
- let inputString = "document" in this.source.input ? this.source.input.document : this.source.input.css;
35637
35791
  let stringRepresentation = inputString.slice(
35638
35792
  sourceOffset(inputString, this.source.start),
35639
35793
  sourceOffset(inputString, this.source.end)
@@ -35705,7 +35859,7 @@ var require_node6 = __commonJS({
35705
35859
  line: opts.start.line,
35706
35860
  offset: sourceOffset(inputString, opts.start)
35707
35861
  };
35708
- } else if (opts.index) {
35862
+ } else if (typeof opts.index === "number") {
35709
35863
  start = this.positionInside(opts.index);
35710
35864
  }
35711
35865
  if (opts.end) {
@@ -35716,7 +35870,7 @@ var require_node6 = __commonJS({
35716
35870
  };
35717
35871
  } else if (typeof opts.endIndex === "number") {
35718
35872
  end = this.positionInside(opts.endIndex);
35719
- } else if (opts.index) {
35873
+ } else if (typeof opts.index === "number") {
35720
35874
  end = this.positionInside(opts.index + 1);
35721
35875
  }
35722
35876
  }
@@ -35768,43 +35922,59 @@ var require_node6 = __commonJS({
35768
35922
  return result;
35769
35923
  }
35770
35924
  toJSON(_, inputs) {
35771
- let fixed = {};
35772
35925
  let emitInputs = inputs == null;
35773
35926
  inputs = inputs || /* @__PURE__ */ new Map();
35774
- let inputsNextIndex = 0;
35775
- for (let name in this) {
35776
- if (!Object.prototype.hasOwnProperty.call(this, name)) {
35777
- continue;
35778
- }
35779
- if (name === "parent" || name === "proxyCache") continue;
35780
- let value = this[name];
35781
- if (Array.isArray(value)) {
35782
- fixed[name] = value.map((i) => {
35783
- if (typeof i === "object" && i.toJSON) {
35784
- return i.toJSON(null, inputs);
35785
- } else {
35786
- return i;
35927
+ let holderOfRoot = [];
35928
+ let queue = [[this, holderOfRoot, 0]];
35929
+ for (let step = 0; step < queue.length; step++) {
35930
+ let [node, holder, key] = queue[step];
35931
+ let fixed2 = {};
35932
+ holder[key] = fixed2;
35933
+ for (let name in node) {
35934
+ if (!Object.prototype.hasOwnProperty.call(node, name)) {
35935
+ continue;
35936
+ }
35937
+ if (name === "parent" || name === "proxyCache") continue;
35938
+ let value = node[name];
35939
+ if (Array.isArray(value)) {
35940
+ let fixedArray = [];
35941
+ fixed2[name] = fixedArray;
35942
+ for (let i = 0; i < value.length; i++) {
35943
+ let item = value[i];
35944
+ if (typeof item === "object" && item.toJSON) {
35945
+ if (item.toJSON === _Node.prototype.toJSON) {
35946
+ queue.push([item, fixedArray, i]);
35947
+ } else {
35948
+ fixedArray[i] = item.toJSON(null, inputs);
35949
+ }
35950
+ } else {
35951
+ fixedArray[i] = item;
35952
+ }
35787
35953
  }
35788
- });
35789
- } else if (typeof value === "object" && value.toJSON) {
35790
- fixed[name] = value.toJSON(null, inputs);
35791
- } else if (name === "source") {
35792
- if (value == null) continue;
35793
- let inputId = inputs.get(value.input);
35794
- if (inputId == null) {
35795
- inputId = inputsNextIndex;
35796
- inputs.set(value.input, inputsNextIndex);
35797
- inputsNextIndex++;
35798
- }
35799
- fixed[name] = {
35800
- end: value.end,
35801
- inputId,
35802
- start: value.start
35803
- };
35804
- } else {
35805
- fixed[name] = value;
35954
+ } else if (typeof value === "object" && value.toJSON) {
35955
+ if (value.toJSON === _Node.prototype.toJSON) {
35956
+ queue.push([value, fixed2, name]);
35957
+ } else {
35958
+ fixed2[name] = value.toJSON(null, inputs);
35959
+ }
35960
+ } else if (name === "source") {
35961
+ if (value == null) continue;
35962
+ let inputId = inputs.get(value.input);
35963
+ if (inputId == null) {
35964
+ inputId = inputs.size;
35965
+ inputs.set(value.input, inputId);
35966
+ }
35967
+ fixed2[name] = {
35968
+ end: value.end,
35969
+ inputId,
35970
+ start: value.start
35971
+ };
35972
+ } else {
35973
+ fixed2[name] = value;
35974
+ }
35806
35975
  }
35807
35976
  }
35977
+ let fixed = holderOfRoot[0];
35808
35978
  if (emitInputs) {
35809
35979
  fixed.inputs = [...inputs.keys()].map((input) => input.toJSON());
35810
35980
  }
@@ -35835,9 +36005,9 @@ var require_node6 = __commonJS({
35835
36005
  }
35836
36006
  });
35837
36007
 
35838
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/comment.js
36008
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/comment.js
35839
36009
  var require_comment = __commonJS({
35840
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/comment.js"(exports2, module2) {
36010
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/comment.js"(exports2, module2) {
35841
36011
  "use strict";
35842
36012
  var Node2 = require_node6();
35843
36013
  var Comment2 = class extends Node2 {
@@ -35851,9 +36021,9 @@ var require_comment = __commonJS({
35851
36021
  }
35852
36022
  });
35853
36023
 
35854
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/declaration.js
36024
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/declaration.js
35855
36025
  var require_declaration = __commonJS({
35856
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/declaration.js"(exports2, module2) {
36026
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/declaration.js"(exports2, module2) {
35857
36027
  "use strict";
35858
36028
  var Node2 = require_node6();
35859
36029
  var Declaration2 = class extends Node2 {
@@ -35873,9 +36043,9 @@ var require_declaration = __commonJS({
35873
36043
  }
35874
36044
  });
35875
36045
 
35876
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/container.js
36046
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/container.js
35877
36047
  var require_container = __commonJS({
35878
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/container.js"(exports2, module2) {
36048
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/container.js"(exports2, module2) {
35879
36049
  "use strict";
35880
36050
  var Comment2 = require_comment();
35881
36051
  var Declaration2 = require_declaration();
@@ -35886,17 +36056,24 @@ var require_container = __commonJS({
35886
36056
  var Root2;
35887
36057
  var Rule2;
35888
36058
  function cleanSource(nodes) {
35889
- return nodes.map((i) => {
35890
- if (i.nodes) i.nodes = cleanSource(i.nodes);
35891
- delete i.source;
35892
- return i;
35893
- });
36059
+ let stack = nodes.slice();
36060
+ while (stack.length > 0) {
36061
+ let node = stack.pop();
36062
+ delete node.source;
36063
+ if (node.nodes) {
36064
+ node.nodes = node.nodes.slice();
36065
+ for (let i of node.nodes) stack.push(i);
36066
+ }
36067
+ }
36068
+ return nodes.slice();
35894
36069
  }
35895
36070
  function markTreeDirty(node) {
35896
- node[isClean] = false;
35897
- if (node.proxyOf.nodes) {
35898
- for (let i of node.proxyOf.nodes) {
35899
- markTreeDirty(i);
36071
+ let stack = [node];
36072
+ while (stack.length > 0) {
36073
+ let next = stack.pop();
36074
+ next[isClean] = false;
36075
+ if (next.proxyOf.nodes) {
36076
+ for (let i of next.proxyOf.nodes) stack.push(i);
35900
36077
  }
35901
36078
  }
35902
36079
  }
@@ -35918,9 +36095,17 @@ var require_container = __commonJS({
35918
36095
  return this;
35919
36096
  }
35920
36097
  cleanRaws(keepBetween) {
35921
- super.cleanRaws(keepBetween);
35922
- if (this.nodes) {
35923
- for (let node of this.nodes) node.cleanRaws(keepBetween);
36098
+ let stack = [this];
36099
+ while (stack.length > 0) {
36100
+ let node = stack.pop();
36101
+ if (node !== this && node.cleanRaws !== _Container.prototype.cleanRaws) {
36102
+ node.cleanRaws(keepBetween);
36103
+ continue;
36104
+ }
36105
+ Node2.prototype.cleanRaws.call(node, keepBetween);
36106
+ if (node.nodes) {
36107
+ for (let child of node.nodes) stack.push(child);
36108
+ }
35924
36109
  }
35925
36110
  }
35926
36111
  each(callback) {
@@ -36135,18 +36320,38 @@ var require_container = __commonJS({
36135
36320
  return this.nodes.some(condition);
36136
36321
  }
36137
36322
  walk(callback) {
36138
- return this.each((child, i) => {
36323
+ if (!this.proxyOf.nodes) return void 0;
36324
+ let stack = [{ iterator: this.getIterator(), node: this.proxyOf }];
36325
+ while (stack.length > 0) {
36326
+ let { iterator, node } = stack[stack.length - 1];
36327
+ let index = node.indexes[iterator];
36328
+ if (index >= node.proxyOf.nodes.length) {
36329
+ delete node.indexes[iterator];
36330
+ stack.pop();
36331
+ let parent = stack[stack.length - 1];
36332
+ if (parent) parent.node.indexes[parent.iterator] += 1;
36333
+ continue;
36334
+ }
36335
+ let child = node.proxyOf.nodes[index];
36139
36336
  let result;
36140
36337
  try {
36141
- result = callback(child, i);
36338
+ result = callback(child, index);
36142
36339
  } catch (e) {
36143
36340
  throw child.addToError(e);
36144
36341
  }
36145
- if (result !== false && child.walk) {
36146
- result = child.walk(callback);
36342
+ if (result === false) {
36343
+ for (let opened of stack) {
36344
+ delete opened.node.indexes[opened.iterator];
36345
+ }
36346
+ return false;
36147
36347
  }
36148
- return result;
36149
- });
36348
+ if (child.walk && child.proxyOf.nodes) {
36349
+ stack.push({ iterator: child.getIterator(), node: child });
36350
+ } else {
36351
+ node.indexes[iterator] += 1;
36352
+ }
36353
+ }
36354
+ return void 0;
36150
36355
  }
36151
36356
  walkAtRules(name, callback) {
36152
36357
  if (!callback) {
@@ -36237,30 +36442,32 @@ var require_container = __commonJS({
36237
36442
  module2.exports = Container2;
36238
36443
  Container2.default = Container2;
36239
36444
  Container2.rebuild = (node) => {
36240
- if (node.type === "atrule") {
36241
- Object.setPrototypeOf(node, AtRule2.prototype);
36242
- } else if (node.type === "rule") {
36243
- Object.setPrototypeOf(node, Rule2.prototype);
36244
- } else if (node.type === "decl") {
36245
- Object.setPrototypeOf(node, Declaration2.prototype);
36246
- } else if (node.type === "comment") {
36247
- Object.setPrototypeOf(node, Comment2.prototype);
36248
- } else if (node.type === "root") {
36249
- Object.setPrototypeOf(node, Root2.prototype);
36250
- }
36251
- node[my] = true;
36252
- if (node.nodes) {
36253
- node.nodes.forEach((child) => {
36254
- Container2.rebuild(child);
36255
- });
36445
+ let stack = [node];
36446
+ while (stack.length > 0) {
36447
+ let next = stack.pop();
36448
+ if (next.type === "atrule") {
36449
+ Object.setPrototypeOf(next, AtRule2.prototype);
36450
+ } else if (next.type === "rule") {
36451
+ Object.setPrototypeOf(next, Rule2.prototype);
36452
+ } else if (next.type === "decl") {
36453
+ Object.setPrototypeOf(next, Declaration2.prototype);
36454
+ } else if (next.type === "comment") {
36455
+ Object.setPrototypeOf(next, Comment2.prototype);
36456
+ } else if (next.type === "root") {
36457
+ Object.setPrototypeOf(next, Root2.prototype);
36458
+ }
36459
+ next[my] = true;
36460
+ if (next.nodes) {
36461
+ for (let child of next.nodes) stack.push(child);
36462
+ }
36256
36463
  }
36257
36464
  };
36258
36465
  }
36259
36466
  });
36260
36467
 
36261
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/at-rule.js
36468
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/at-rule.js
36262
36469
  var require_at_rule = __commonJS({
36263
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/at-rule.js"(exports2, module2) {
36470
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/at-rule.js"(exports2, module2) {
36264
36471
  "use strict";
36265
36472
  var Container2 = require_container();
36266
36473
  var AtRule2 = class extends Container2 {
@@ -36283,9 +36490,9 @@ var require_at_rule = __commonJS({
36283
36490
  }
36284
36491
  });
36285
36492
 
36286
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/document.js
36493
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/document.js
36287
36494
  var require_document = __commonJS({
36288
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/document.js"(exports2, module2) {
36495
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/document.js"(exports2, module2) {
36289
36496
  "use strict";
36290
36497
  var Container2 = require_container();
36291
36498
  var LazyResult;
@@ -36313,15 +36520,15 @@ var require_document = __commonJS({
36313
36520
  }
36314
36521
  });
36315
36522
 
36316
- // ../../node_modules/.pnpm/nanoid@3.3.12/node_modules/nanoid/non-secure/index.cjs
36523
+ // ../../node_modules/.pnpm/nanoid@3.3.20/node_modules/nanoid/non-secure/index.cjs
36317
36524
  var require_non_secure = __commonJS({
36318
- "../../node_modules/.pnpm/nanoid@3.3.12/node_modules/nanoid/non-secure/index.cjs"(exports2, module2) {
36525
+ "../../node_modules/.pnpm/nanoid@3.3.20/node_modules/nanoid/non-secure/index.cjs"(exports2, module2) {
36319
36526
  var urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
36320
36527
  var customAlphabet = (alphabet, defaultSize = 21) => {
36321
36528
  return (size = defaultSize) => {
36322
36529
  let id = "";
36323
36530
  let i = size | 0;
36324
- while (i--) {
36531
+ while (i-- > 0) {
36325
36532
  id += alphabet[Math.random() * alphabet.length | 0];
36326
36533
  }
36327
36534
  return id;
@@ -36330,7 +36537,7 @@ var require_non_secure = __commonJS({
36330
36537
  var nanoid = (size = 21) => {
36331
36538
  let id = "";
36332
36539
  let i = size | 0;
36333
- while (i--) {
36540
+ while (i-- > 0) {
36334
36541
  id += urlAlphabet[Math.random() * 64 | 0];
36335
36542
  }
36336
36543
  return id;
@@ -36339,9 +36546,9 @@ var require_non_secure = __commonJS({
36339
36546
  }
36340
36547
  });
36341
36548
 
36342
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.js
36549
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/base64.js
36343
36550
  var require_base64 = __commonJS({
36344
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.js"(exports2) {
36551
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/base64.js"(exports2) {
36345
36552
  var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
36346
36553
  exports2.encode = function(number) {
36347
36554
  if (0 <= number && number < intToCharMap.length) {
@@ -36380,9 +36587,9 @@ var require_base64 = __commonJS({
36380
36587
  }
36381
36588
  });
36382
36589
 
36383
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.js
36590
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/base64-vlq.js
36384
36591
  var require_base64_vlq = __commonJS({
36385
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.js"(exports2) {
36592
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/base64-vlq.js"(exports2) {
36386
36593
  var base64 = require_base64();
36387
36594
  var VLQ_BASE_SHIFT = 5;
36388
36595
  var VLQ_BASE = 1 << VLQ_BASE_SHIFT;
@@ -36434,9 +36641,9 @@ var require_base64_vlq = __commonJS({
36434
36641
  }
36435
36642
  });
36436
36643
 
36437
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.js
36644
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/util.js
36438
36645
  var require_util = __commonJS({
36439
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.js"(exports2) {
36646
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/util.js"(exports2) {
36440
36647
  function getArg(aArgs, aName, aDefaultValue) {
36441
36648
  if (aName in aArgs) {
36442
36649
  return aArgs[aName];
@@ -36616,10 +36823,10 @@ var require_util = __commonJS({
36616
36823
  return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
36617
36824
  }
36618
36825
  exports2.relative = relative;
36619
- var supportsNullProto = function() {
36826
+ var supportsNullProto = (function() {
36620
36827
  var obj = /* @__PURE__ */ Object.create(null);
36621
36828
  return !("__proto__" in obj);
36622
- }();
36829
+ })();
36623
36830
  function identity(s) {
36624
36831
  return s;
36625
36832
  }
@@ -36814,9 +37021,9 @@ var require_util = __commonJS({
36814
37021
  }
36815
37022
  });
36816
37023
 
36817
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.js
37024
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/array-set.js
36818
37025
  var require_array_set = __commonJS({
36819
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.js"(exports2) {
37026
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/array-set.js"(exports2) {
36820
37027
  var util = require_util();
36821
37028
  var has = Object.prototype.hasOwnProperty;
36822
37029
  var hasNativeMap = typeof Map !== "undefined";
@@ -36884,9 +37091,9 @@ var require_array_set = __commonJS({
36884
37091
  }
36885
37092
  });
36886
37093
 
36887
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.js
37094
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/mapping-list.js
36888
37095
  var require_mapping_list = __commonJS({
36889
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.js"(exports2) {
37096
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/mapping-list.js"(exports2) {
36890
37097
  var util = require_util();
36891
37098
  function generatedPositionAfter(mappingA, mappingB) {
36892
37099
  var lineA = mappingA.generatedLine;
@@ -36923,9 +37130,9 @@ var require_mapping_list = __commonJS({
36923
37130
  }
36924
37131
  });
36925
37132
 
36926
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.js
37133
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/source-map-generator.js
36927
37134
  var require_source_map_generator = __commonJS({
36928
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.js"(exports2) {
37135
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/source-map-generator.js"(exports2) {
36929
37136
  var base64VLQ = require_base64_vlq();
36930
37137
  var util = require_util();
36931
37138
  var ArraySet = require_array_set().ArraySet;
@@ -37147,10 +37354,9 @@ var require_source_map_generator = __commonJS({
37147
37354
  next = "";
37148
37355
  if (mapping.generatedLine !== previousGeneratedLine) {
37149
37356
  previousGeneratedColumn = 0;
37150
- while (mapping.generatedLine !== previousGeneratedLine) {
37151
- next += ";";
37152
- previousGeneratedLine++;
37153
- }
37357
+ var lineDelta = mapping.generatedLine - previousGeneratedLine;
37358
+ next += lineDelta === 1 ? ";" : ";".repeat(lineDelta);
37359
+ previousGeneratedLine = mapping.generatedLine;
37154
37360
  } else {
37155
37361
  if (i > 0) {
37156
37362
  if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {
@@ -37216,9 +37422,9 @@ var require_source_map_generator = __commonJS({
37216
37422
  }
37217
37423
  });
37218
37424
 
37219
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.js
37425
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/binary-search.js
37220
37426
  var require_binary_search = __commonJS({
37221
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.js"(exports2) {
37427
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/binary-search.js"(exports2) {
37222
37428
  exports2.GREATEST_LOWER_BOUND = 1;
37223
37429
  exports2.LEAST_UPPER_BOUND = 2;
37224
37430
  function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
@@ -37272,9 +37478,9 @@ var require_binary_search = __commonJS({
37272
37478
  }
37273
37479
  });
37274
37480
 
37275
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.js
37481
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/quick-sort.js
37276
37482
  var require_quick_sort = __commonJS({
37277
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.js"(exports2) {
37483
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/quick-sort.js"(exports2) {
37278
37484
  function SortTemplate(comparator) {
37279
37485
  function swap(ary, x, y) {
37280
37486
  var temp = ary[x];
@@ -37309,9 +37515,17 @@ var require_quick_sort = __commonJS({
37309
37515
  let templateFn = new Function(`return ${template}`)();
37310
37516
  return templateFn(comparator);
37311
37517
  }
37518
+ var isEvalAllowed = (function() {
37519
+ try {
37520
+ new Function("return 0")();
37521
+ return true;
37522
+ } catch {
37523
+ return false;
37524
+ }
37525
+ })();
37312
37526
  var sortCache = /* @__PURE__ */ new WeakMap();
37313
37527
  exports2.quickSort = function(ary, comparator, start = 0) {
37314
- let doQuickSort = sortCache.get(comparator);
37528
+ let doQuickSort = isEvalAllowed ? sortCache.get(comparator) : SortTemplate(comparator);
37315
37529
  if (doQuickSort === void 0) {
37316
37530
  doQuickSort = cloneSort(comparator);
37317
37531
  sortCache.set(comparator, doQuickSort);
@@ -37321,14 +37535,15 @@ var require_quick_sort = __commonJS({
37321
37535
  }
37322
37536
  });
37323
37537
 
37324
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.js
37538
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/source-map-consumer.js
37325
37539
  var require_source_map_consumer = __commonJS({
37326
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.js"(exports2) {
37540
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/source-map-consumer.js"(exports2) {
37327
37541
  var util = require_util();
37328
37542
  var binarySearch = require_binary_search();
37329
37543
  var ArraySet = require_array_set().ArraySet;
37330
37544
  var base64VLQ = require_base64_vlq();
37331
37545
  var quickSort = require_quick_sort().quickSort;
37546
+ var MAX_SECTION_OFFSET_LINE = 1e7;
37332
37547
  function SourceMapConsumer(aSourceMap, aSourceMapURL) {
37333
37548
  var sourceMap = aSourceMap;
37334
37549
  if (typeof aSourceMap === "string") {
@@ -37821,6 +38036,7 @@ var require_source_map_consumer = __commonJS({
37821
38036
  line: -1,
37822
38037
  column: 0
37823
38038
  };
38039
+ var maxOffsetLine = 0;
37824
38040
  this._sections = sections.map(function(s) {
37825
38041
  if (s.url) {
37826
38042
  throw new Error("Support for url field in sections not implemented.");
@@ -37828,10 +38044,24 @@ var require_source_map_consumer = __commonJS({
37828
38044
  var offset = util.getArg(s, "offset");
37829
38045
  var offsetLine = util.getArg(offset, "line");
37830
38046
  var offsetColumn = util.getArg(offset, "column");
38047
+ if (!isValidOffset(offsetLine) || !isValidOffset(offsetColumn)) {
38048
+ throw new Error("Section offset line and column must be non-negative integers.");
38049
+ }
38050
+ if (offsetLine > MAX_SECTION_OFFSET_LINE) {
38051
+ throw new Error("Section offset line must not exceed " + MAX_SECTION_OFFSET_LINE + ".");
38052
+ }
37831
38053
  if (offsetLine < lastOffset.line || offsetLine === lastOffset.line && offsetColumn < lastOffset.column) {
37832
38054
  throw new Error("Section offsets must be ordered and non-overlapping.");
37833
38055
  }
37834
38056
  lastOffset = offset;
38057
+ var consumer = new SourceMapConsumer(util.getArg(s, "map"), aSourceMapURL);
38058
+ var totalOffsetLine = offsetLine + (consumer._maxOffsetLine || 0);
38059
+ if (totalOffsetLine > MAX_SECTION_OFFSET_LINE) {
38060
+ throw new Error("Section offset line must not exceed " + MAX_SECTION_OFFSET_LINE + ", including offsets of nested sections.");
38061
+ }
38062
+ if (totalOffsetLine > maxOffsetLine) {
38063
+ maxOffsetLine = totalOffsetLine;
38064
+ }
37835
38065
  return {
37836
38066
  generatedOffset: {
37837
38067
  // The offset fields are 0-based, but we use 1-based indices when
@@ -37839,9 +38069,14 @@ var require_source_map_consumer = __commonJS({
37839
38069
  generatedLine: offsetLine + 1,
37840
38070
  generatedColumn: offsetColumn + 1
37841
38071
  },
37842
- consumer: new SourceMapConsumer(util.getArg(s, "map"), aSourceMapURL)
38072
+ consumer
37843
38073
  };
37844
38074
  });
38075
+ this._maxOffsetLine = maxOffsetLine;
38076
+ }
38077
+ function isValidOffset(aValue) {
38078
+ return typeof aValue === "number" && aValue >= 0 && aValue <= 9007199254740991 && // Number.MAX_SAFE_INTEGER
38079
+ Math.floor(aValue) === aValue;
37845
38080
  }
37846
38081
  IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
37847
38082
  IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;
@@ -37850,8 +38085,9 @@ var require_source_map_consumer = __commonJS({
37850
38085
  get: function() {
37851
38086
  var sources = [];
37852
38087
  for (var i = 0; i < this._sections.length; i++) {
37853
- for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {
37854
- sources.push(this._sections[i].consumer.sources[j]);
38088
+ var sectionSources = this._sections[i].consumer.sources;
38089
+ for (var j = 0; j < sectionSources.length; j++) {
38090
+ sources.push(sectionSources[j]);
37855
38091
  }
37856
38092
  }
37857
38093
  return sources;
@@ -37968,9 +38204,9 @@ var require_source_map_consumer = __commonJS({
37968
38204
  }
37969
38205
  });
37970
38206
 
37971
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.js
38207
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/source-node.js
37972
38208
  var require_source_node = __commonJS({
37973
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.js"(exports2) {
38209
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/lib/source-node.js"(exports2) {
37974
38210
  var SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
37975
38211
  var util = require_util();
37976
38212
  var REGEX_NEWLINE = /(\r?\n)/;
@@ -38017,6 +38253,10 @@ var require_source_node = __commonJS({
38017
38253
  }
38018
38254
  }
38019
38255
  while (lastGeneratedLine < mapping.generatedLine) {
38256
+ if (remainingLinesIndex >= remainingLines.length) {
38257
+ lastGeneratedLine = mapping.generatedLine;
38258
+ break;
38259
+ }
38020
38260
  node.add(shiftNextLine());
38021
38261
  lastGeneratedLine++;
38022
38262
  }
@@ -38233,22 +38473,29 @@ var require_source_node = __commonJS({
38233
38473
  }
38234
38474
  });
38235
38475
 
38236
- // ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.js
38476
+ // ../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/source-map.js
38237
38477
  var require_source_map2 = __commonJS({
38238
- "../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.js"(exports2) {
38478
+ "../../node_modules/.pnpm/source-map-js@1.2.2/node_modules/source-map-js/source-map.js"(exports2) {
38239
38479
  exports2.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
38240
38480
  exports2.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
38241
38481
  exports2.SourceNode = require_source_node().SourceNode;
38242
38482
  }
38243
38483
  });
38244
38484
 
38245
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/previous-map.js
38485
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/previous-map.js
38246
38486
  var require_previous_map = __commonJS({
38247
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/previous-map.js"(exports2, module2) {
38487
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/previous-map.js"(exports2, module2) {
38248
38488
  "use strict";
38249
- var { existsSync, readFileSync } = require("fs");
38250
- var { dirname, join } = require("path");
38489
+ var { existsSync, readFileSync, realpathSync } = require("fs");
38490
+ var { dirname, isAbsolute, join, relative, sep } = require("path");
38251
38491
  var { SourceMapConsumer, SourceMapGenerator } = require_source_map2();
38492
+ function realPath(path) {
38493
+ try {
38494
+ return realpathSync(path);
38495
+ } catch {
38496
+ return path;
38497
+ }
38498
+ }
38252
38499
  function fromBase64(str) {
38253
38500
  if (Buffer) {
38254
38501
  return Buffer.from(str, "base64").toString();
@@ -38311,7 +38558,10 @@ var require_previous_map = __commonJS({
38311
38558
  }
38312
38559
  loadFile(path, cssFile, trusted) {
38313
38560
  if (!trusted && !this.unsafeMap) {
38314
- if (!/\.map$/i.test(path)) {
38561
+ if (!/\.map$/i.test(path)) return void 0;
38562
+ if (!cssFile) return void 0;
38563
+ let rel = relative(realPath(dirname(cssFile)), realPath(path));
38564
+ if (rel === ".." || rel.startsWith(".." + sep) || isAbsolute(rel)) {
38315
38565
  return void 0;
38316
38566
  }
38317
38567
  }
@@ -38377,9 +38627,9 @@ var require_previous_map = __commonJS({
38377
38627
  }
38378
38628
  });
38379
38629
 
38380
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/input.js
38630
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/input.js
38381
38631
  var require_input = __commonJS({
38382
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/input.js"(exports2, module2) {
38632
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/input.js"(exports2, module2) {
38383
38633
  "use strict";
38384
38634
  var { nanoid } = require_non_secure();
38385
38635
  var { isAbsolute, resolve } = require("path");
@@ -38388,7 +38638,7 @@ var require_input = __commonJS({
38388
38638
  var CssSyntaxError2 = require_css_syntax_error();
38389
38639
  var PreviousMap = require_previous_map();
38390
38640
  var terminalHighlight = require_terminal_highlight();
38391
- var lineToIndexCache = Symbol("lineToIndexCache");
38641
+ var lineToIndexCache = /* @__PURE__ */ Symbol("lineToIndexCache");
38392
38642
  var sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator);
38393
38643
  var pathAvailable = Boolean(resolve && isAbsolute);
38394
38644
  function getLineToIndex(input) {
@@ -38550,11 +38800,15 @@ var require_input = __commonJS({
38550
38800
  origin(line, column, endLine, endColumn) {
38551
38801
  if (!this.map) return false;
38552
38802
  let consumer = this.map.consumer();
38553
- let from = consumer.originalPositionFor({ column, line });
38803
+ let from = consumer.originalPositionFor({ column: column - 1, line });
38554
38804
  if (!from.source) return false;
38555
38805
  let to;
38556
38806
  if (typeof endLine === "number") {
38557
- to = consumer.originalPositionFor({ column: endColumn, line: endLine });
38807
+ let toPosition = consumer.originalPositionFor({
38808
+ column: endColumn - 1,
38809
+ line: endLine
38810
+ });
38811
+ if (toPosition.source) to = toPosition;
38558
38812
  }
38559
38813
  let fromUrl;
38560
38814
  if (isAbsolute(from.source)) {
@@ -38566,8 +38820,8 @@ var require_input = __commonJS({
38566
38820
  );
38567
38821
  }
38568
38822
  let result = {
38569
- column: from.column,
38570
- endColumn: to && to.column,
38823
+ column: from.column + 1,
38824
+ endColumn: to && to.column + 1,
38571
38825
  endLine: to && to.line,
38572
38826
  line: from.line,
38573
38827
  url: fromUrl.toString()
@@ -38607,9 +38861,9 @@ var require_input = __commonJS({
38607
38861
  }
38608
38862
  });
38609
38863
 
38610
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/root.js
38864
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/root.js
38611
38865
  var require_root = __commonJS({
38612
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/root.js"(exports2, module2) {
38866
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/root.js"(exports2, module2) {
38613
38867
  "use strict";
38614
38868
  var Container2 = require_container();
38615
38869
  var LazyResult;
@@ -38621,6 +38875,12 @@ var require_root = __commonJS({
38621
38875
  if (!this.nodes) this.nodes = [];
38622
38876
  }
38623
38877
  normalize(child, sample, type) {
38878
+ let keepBefore = /* @__PURE__ */ new Set();
38879
+ for (let node of Array.isArray(child) ? child : [child]) {
38880
+ if (node && typeof node === "object" && !node.parent && node.raws && typeof node.raws.before !== "undefined") {
38881
+ keepBefore.add(node.raws);
38882
+ }
38883
+ }
38624
38884
  let nodes = super.normalize(child);
38625
38885
  if (sample) {
38626
38886
  if (type === "prepend") {
@@ -38631,7 +38891,9 @@ var require_root = __commonJS({
38631
38891
  }
38632
38892
  } else if (this.first !== sample) {
38633
38893
  for (let node of nodes) {
38634
- node.raws.before = sample.raws.before;
38894
+ if (!keepBefore.has(node.raws)) {
38895
+ node.raws.before = sample.raws.before;
38896
+ }
38635
38897
  }
38636
38898
  }
38637
38899
  }
@@ -38661,9 +38923,9 @@ var require_root = __commonJS({
38661
38923
  }
38662
38924
  });
38663
38925
 
38664
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/list.js
38926
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/list.js
38665
38927
  var require_list = __commonJS({
38666
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/list.js"(exports2, module2) {
38928
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/list.js"(exports2, module2) {
38667
38929
  "use strict";
38668
38930
  var list2 = {
38669
38931
  comma(string) {
@@ -38674,6 +38936,7 @@ var require_list = __commonJS({
38674
38936
  return list2.split(string, spaces);
38675
38937
  },
38676
38938
  split(string, separators, last) {
38939
+ if (typeof string !== "string") return [];
38677
38940
  let array = [];
38678
38941
  let current = "";
38679
38942
  let split = false;
@@ -38681,7 +38944,18 @@ var require_list = __commonJS({
38681
38944
  let inQuote = false;
38682
38945
  let prevQuote = "";
38683
38946
  let escape = false;
38684
- for (let letter of string) {
38947
+ let inComment = false;
38948
+ for (let i = 0; i < string.length; i++) {
38949
+ let letter = string[i];
38950
+ if (inComment) {
38951
+ current += letter;
38952
+ if (letter === "*" && string[i + 1] === "/") {
38953
+ current += "/";
38954
+ i += 1;
38955
+ inComment = false;
38956
+ }
38957
+ continue;
38958
+ }
38685
38959
  if (escape) {
38686
38960
  escape = false;
38687
38961
  } else if (letter === "\\") {
@@ -38693,6 +38967,11 @@ var require_list = __commonJS({
38693
38967
  } else if (letter === '"' || letter === "'") {
38694
38968
  inQuote = true;
38695
38969
  prevQuote = letter;
38970
+ } else if (letter === "/" && string[i + 1] === "*") {
38971
+ current += "/*";
38972
+ i += 1;
38973
+ inComment = true;
38974
+ continue;
38696
38975
  } else if (letter === "(") {
38697
38976
  func += 1;
38698
38977
  } else if (letter === ")") {
@@ -38701,14 +38980,16 @@ var require_list = __commonJS({
38701
38980
  if (separators.includes(letter)) split = true;
38702
38981
  }
38703
38982
  if (split) {
38704
- if (current !== "") array.push(current.trim());
38983
+ let value2 = current.trim();
38984
+ if (last || value2 !== "") array.push(value2);
38705
38985
  current = "";
38706
38986
  split = false;
38707
38987
  } else {
38708
38988
  current += letter;
38709
38989
  }
38710
38990
  }
38711
- if (last || current !== "") array.push(current.trim());
38991
+ let value = current.trim();
38992
+ if (last || value !== "") array.push(value);
38712
38993
  return array;
38713
38994
  }
38714
38995
  };
@@ -38717,9 +38998,9 @@ var require_list = __commonJS({
38717
38998
  }
38718
38999
  });
38719
39000
 
38720
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/rule.js
39001
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/rule.js
38721
39002
  var require_rule = __commonJS({
38722
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/rule.js"(exports2, module2) {
39003
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/rule.js"(exports2, module2) {
38723
39004
  "use strict";
38724
39005
  var Container2 = require_container();
38725
39006
  var list2 = require_list();
@@ -38744,9 +39025,9 @@ var require_rule = __commonJS({
38744
39025
  }
38745
39026
  });
38746
39027
 
38747
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/fromJSON.js
39028
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/fromJSON.js
38748
39029
  var require_fromJSON = __commonJS({
38749
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/fromJSON.js"(exports2, module2) {
39030
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/fromJSON.js"(exports2, module2) {
38750
39031
  "use strict";
38751
39032
  var AtRule2 = require_at_rule();
38752
39033
  var Comment2 = require_comment();
@@ -38755,25 +39036,23 @@ var require_fromJSON = __commonJS({
38755
39036
  var PreviousMap = require_previous_map();
38756
39037
  var Root2 = require_root();
38757
39038
  var Rule2 = require_rule();
38758
- function fromJSON2(json, inputs) {
38759
- if (Array.isArray(json)) return json.map((n) => fromJSON2(n));
38760
- let { inputs: ownInputs, ...defaults } = json;
38761
- if (ownInputs) {
38762
- inputs = [];
38763
- for (let input of ownInputs) {
38764
- let inputHydrated = { ...input, __proto__: Input2.prototype };
38765
- if (inputHydrated.map) {
38766
- inputHydrated.map = {
38767
- ...inputHydrated.map,
38768
- __proto__: PreviousMap.prototype
38769
- };
38770
- }
38771
- inputs.push(inputHydrated);
39039
+ function hydrateInputs(json, inputs) {
39040
+ if (!json.inputs) return inputs;
39041
+ return json.inputs.map((input) => {
39042
+ let inputHydrated = { ...input, __proto__: Input2.prototype };
39043
+ if (inputHydrated.map) {
39044
+ inputHydrated.map = {
39045
+ ...inputHydrated.map,
39046
+ __proto__: PreviousMap.prototype
39047
+ };
38772
39048
  }
38773
- }
38774
- if (defaults.nodes) {
38775
- defaults.nodes = json.nodes.map((n) => fromJSON2(n, inputs));
38776
- }
39049
+ return inputHydrated;
39050
+ });
39051
+ }
39052
+ function constructNode(json, inputs, children) {
39053
+ let defaults = { ...json };
39054
+ delete defaults.inputs;
39055
+ delete defaults.nodes;
38777
39056
  if (defaults.source) {
38778
39057
  let { inputId, ...source } = defaults.source;
38779
39058
  defaults.source = source;
@@ -38781,28 +39060,68 @@ var require_fromJSON = __commonJS({
38781
39060
  defaults.source.input = inputs[inputId];
38782
39061
  }
38783
39062
  }
39063
+ let node;
38784
39064
  if (defaults.type === "root") {
38785
- return new Root2(defaults);
39065
+ node = new Root2(defaults);
38786
39066
  } else if (defaults.type === "decl") {
38787
- return new Declaration2(defaults);
39067
+ node = new Declaration2(defaults);
38788
39068
  } else if (defaults.type === "rule") {
38789
- return new Rule2(defaults);
39069
+ node = new Rule2(defaults);
38790
39070
  } else if (defaults.type === "comment") {
38791
- return new Comment2(defaults);
39071
+ node = new Comment2(defaults);
38792
39072
  } else if (defaults.type === "atrule") {
38793
- return new AtRule2(defaults);
39073
+ node = new AtRule2(defaults);
38794
39074
  } else {
38795
39075
  throw new Error("Unknown node type: " + json.type);
38796
39076
  }
39077
+ if (children) {
39078
+ node.nodes = children;
39079
+ for (let child of children) child.parent = node;
39080
+ }
39081
+ return node;
39082
+ }
39083
+ function fromJSON2(json, inputs) {
39084
+ if (Array.isArray(json)) return json.map((n) => fromJSON2(n));
39085
+ let result;
39086
+ let stack = [
39087
+ { childIndex: 0, children: [], inputs: hydrateInputs(json, inputs), json }
39088
+ ];
39089
+ while (stack.length > 0) {
39090
+ let frame = stack[stack.length - 1];
39091
+ let jsonNodes = frame.json.nodes;
39092
+ if (jsonNodes && frame.childIndex < jsonNodes.length) {
39093
+ let childJson = jsonNodes[frame.childIndex];
39094
+ frame.childIndex += 1;
39095
+ stack.push({
39096
+ childIndex: 0,
39097
+ children: [],
39098
+ inputs: hydrateInputs(childJson, frame.inputs),
39099
+ json: childJson
39100
+ });
39101
+ continue;
39102
+ }
39103
+ stack.pop();
39104
+ let node = constructNode(
39105
+ frame.json,
39106
+ frame.inputs,
39107
+ jsonNodes ? frame.children : void 0
39108
+ );
39109
+ if (stack.length > 0) {
39110
+ stack[stack.length - 1].children.push(node);
39111
+ } else {
39112
+ result = node;
39113
+ }
39114
+ }
39115
+ return result;
38797
39116
  }
38798
39117
  module2.exports = fromJSON2;
38799
39118
  fromJSON2.default = fromJSON2;
38800
39119
  }
38801
39120
  });
38802
39121
 
38803
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/map-generator.js
39122
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/map-generator.js
38804
39123
  var require_map_generator = __commonJS({
38805
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/map-generator.js"(exports2, module2) {
39124
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/map-generator.js"(exports2, module2) {
38806
39125
  "use strict";
38807
39126
  var { dirname, relative, resolve, sep } = require("path");
38808
39127
  var { SourceMapConsumer, SourceMapGenerator } = require_source_map2();
@@ -38866,15 +39185,20 @@ var require_map_generator = __commonJS({
38866
39185
  }
38867
39186
  }
38868
39187
  } else if (this.css) {
39188
+ let annotation = "/*# sourceMappingURL=";
39189
+ let css = "";
39190
+ let cursor = 0;
38869
39191
  let startIndex;
38870
- while ((startIndex = this.css.lastIndexOf("/*#")) !== -1) {
38871
- let endIndex = this.css.indexOf("*/", startIndex + 3);
39192
+ while ((startIndex = this.css.indexOf(annotation, cursor)) !== -1) {
39193
+ let endIndex = this.css.indexOf("*/", startIndex + annotation.length);
38872
39194
  if (endIndex === -1) break;
38873
- while (startIndex > 0 && this.css[startIndex - 1] === "\n") {
39195
+ while (startIndex > cursor && this.css[startIndex - 1] === "\n") {
38874
39196
  startIndex--;
38875
39197
  }
38876
- this.css = this.css.slice(0, startIndex) + this.css.slice(endIndex + 2);
39198
+ css += this.css.slice(cursor, startIndex);
39199
+ cursor = endIndex + 2;
38877
39200
  }
39201
+ if (cursor > 0) this.css = css + this.css.slice(cursor);
38878
39202
  }
38879
39203
  }
38880
39204
  generate() {
@@ -39125,9 +39449,9 @@ var require_map_generator = __commonJS({
39125
39449
  }
39126
39450
  });
39127
39451
 
39128
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/parser.js
39452
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/parser.js
39129
39453
  var require_parser = __commonJS({
39130
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/parser.js"(exports2, module2) {
39454
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/parser.js"(exports2, module2) {
39131
39455
  "use strict";
39132
39456
  var AtRule2 = require_at_rule();
39133
39457
  var Comment2 = require_comment();
@@ -39436,7 +39760,7 @@ var require_parser = __commonJS({
39436
39760
  prev.raws.ownSemicolon = this.spaces;
39437
39761
  this.spaces = "";
39438
39762
  prev.source.end = this.getPosition(token[2]);
39439
- prev.source.end.offset += prev.raws.ownSemicolon.length;
39763
+ prev.source.end.offset++;
39440
39764
  }
39441
39765
  }
39442
39766
  }
@@ -39552,6 +39876,7 @@ var require_parser = __commonJS({
39552
39876
  let token, type;
39553
39877
  let length = tokens.length;
39554
39878
  let value = "";
39879
+ let last = "";
39555
39880
  let clean = true;
39556
39881
  let next, prev;
39557
39882
  for (let i = 0; i < length; i += 1) {
@@ -39563,16 +39888,18 @@ var require_parser = __commonJS({
39563
39888
  prev = tokens[i - 1] ? tokens[i - 1][0] : "empty";
39564
39889
  next = tokens[i + 1] ? tokens[i + 1][0] : "empty";
39565
39890
  if (!SAFE_COMMENT_NEIGHBOR[prev] && !SAFE_COMMENT_NEIGHBOR[next]) {
39566
- if (value.slice(-1) === ",") {
39891
+ if (last === ",") {
39567
39892
  clean = false;
39568
39893
  } else {
39569
39894
  value += token[1];
39895
+ last = token[1].slice(-1);
39570
39896
  }
39571
39897
  } else {
39572
39898
  clean = false;
39573
39899
  }
39574
39900
  } else {
39575
39901
  value += token[1];
39902
+ last = token[1].slice(-1);
39576
39903
  }
39577
39904
  }
39578
39905
  if (!clean) {
@@ -39665,9 +39992,9 @@ var require_parser = __commonJS({
39665
39992
  }
39666
39993
  });
39667
39994
 
39668
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/parse.js
39995
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/parse.js
39669
39996
  var require_parse2 = __commonJS({
39670
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/parse.js"(exports2, module2) {
39997
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/parse.js"(exports2, module2) {
39671
39998
  "use strict";
39672
39999
  var Container2 = require_container();
39673
40000
  var Input2 = require_input();
@@ -39699,15 +40026,20 @@ var require_parse2 = __commonJS({
39699
40026
  }
39700
40027
  });
39701
40028
 
39702
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/warning.js
40029
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/warning.js
39703
40030
  var require_warning = __commonJS({
39704
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/warning.js"(exports2, module2) {
40031
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/warning.js"(exports2, module2) {
39705
40032
  "use strict";
40033
+ var Container2 = require_container();
40034
+ var { my } = require_symbols();
39706
40035
  var Warning2 = class {
39707
40036
  constructor(text, opts = {}) {
39708
40037
  this.type = "warning";
39709
40038
  this.text = text;
39710
40039
  if (opts.node && opts.node.source) {
40040
+ if (!opts.node[my]) {
40041
+ Container2.rebuild(opts.node);
40042
+ }
39711
40043
  let range = opts.node.rangeBy(opts);
39712
40044
  this.line = range.start.line;
39713
40045
  this.column = range.start.column;
@@ -39735,9 +40067,9 @@ var require_warning = __commonJS({
39735
40067
  }
39736
40068
  });
39737
40069
 
39738
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/result.js
40070
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/result.js
39739
40071
  var require_result = __commonJS({
39740
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/result.js"(exports2, module2) {
40072
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/result.js"(exports2, module2) {
39741
40073
  "use strict";
39742
40074
  var Warning2 = require_warning();
39743
40075
  var Result2 = class {
@@ -39774,9 +40106,9 @@ var require_result = __commonJS({
39774
40106
  }
39775
40107
  });
39776
40108
 
39777
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/warn-once.js
40109
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/warn-once.js
39778
40110
  var require_warn_once = __commonJS({
39779
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/warn-once.js"(exports2, module2) {
40111
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/warn-once.js"(exports2, module2) {
39780
40112
  "use strict";
39781
40113
  var printed = {};
39782
40114
  module2.exports = function warnOnce(message) {
@@ -39789,9 +40121,9 @@ var require_warn_once = __commonJS({
39789
40121
  }
39790
40122
  });
39791
40123
 
39792
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/lazy-result.js
40124
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/lazy-result.js
39793
40125
  var require_lazy_result = __commonJS({
39794
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/lazy-result.js"(exports2, module2) {
40126
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/lazy-result.js"(exports2, module2) {
39795
40127
  "use strict";
39796
40128
  var Container2 = require_container();
39797
40129
  var Document2 = require_document();
@@ -39880,8 +40212,14 @@ var require_lazy_result = __commonJS({
39880
40212
  };
39881
40213
  }
39882
40214
  function cleanMarks(node) {
39883
- node[isClean] = false;
39884
- if (node.nodes) node.nodes.forEach((i) => cleanMarks(i));
40215
+ let stack = [node];
40216
+ while (stack.length > 0) {
40217
+ let next = stack.pop();
40218
+ next[isClean] = false;
40219
+ if (next.nodes) {
40220
+ for (let i of next.nodes) stack.push(i);
40221
+ }
40222
+ }
39885
40223
  return node;
39886
40224
  }
39887
40225
  var postcss2 = {};
@@ -40211,14 +40549,19 @@ var require_lazy_result = __commonJS({
40211
40549
  }
40212
40550
  if (visit.iterator !== 0) {
40213
40551
  let iterator = visit.iterator;
40552
+ if (visit.descending) {
40553
+ visit.descending = false;
40554
+ node.indexes[iterator] += 1;
40555
+ }
40214
40556
  let child;
40215
40557
  while (child = node.nodes[node.indexes[iterator]]) {
40216
- node.indexes[iterator] += 1;
40217
40558
  if (!child[isClean]) {
40218
40559
  child[isClean] = true;
40560
+ visit.descending = true;
40219
40561
  stack.push(toStack(child));
40220
40562
  return;
40221
40563
  }
40564
+ node.indexes[iterator] += 1;
40222
40565
  }
40223
40566
  visit.iterator = 0;
40224
40567
  delete node.indexes[iterator];
@@ -40242,20 +40585,53 @@ var require_lazy_result = __commonJS({
40242
40585
  }
40243
40586
  walkSync(node) {
40244
40587
  node[isClean] = true;
40245
- let events = getEvents(node);
40246
- for (let event of events) {
40247
- if (event === CHILDREN) {
40248
- if (node.nodes) {
40249
- node.each((child) => {
40250
- if (!child[isClean]) this.walkSync(child);
40251
- });
40588
+ let stack = [{ eventIndex: 0, events: getEvents(node), iterator: 0, node }];
40589
+ while (stack.length > 0) {
40590
+ let visit = stack[stack.length - 1];
40591
+ let visitNode = visit.node;
40592
+ if (visit.iterator !== 0) {
40593
+ let iterator = visit.iterator;
40594
+ if (visit.descending) {
40595
+ visit.descending = false;
40596
+ visitNode.indexes[iterator] += 1;
40597
+ }
40598
+ let child;
40599
+ let descended = false;
40600
+ while (child = visitNode.nodes[visitNode.indexes[iterator]]) {
40601
+ if (!child[isClean]) {
40602
+ child[isClean] = true;
40603
+ visit.descending = true;
40604
+ stack.push({
40605
+ eventIndex: 0,
40606
+ events: getEvents(child),
40607
+ iterator: 0,
40608
+ node: child
40609
+ });
40610
+ descended = true;
40611
+ break;
40612
+ }
40613
+ visitNode.indexes[iterator] += 1;
40252
40614
  }
40253
- } else {
40254
- let visitors = this.listeners[event];
40255
- if (visitors) {
40256
- if (this.visitSync(visitors, node.toProxy())) return;
40615
+ if (descended) continue;
40616
+ visit.iterator = 0;
40617
+ delete visitNode.indexes[iterator];
40618
+ }
40619
+ if (visit.eventIndex < visit.events.length) {
40620
+ let event = visit.events[visit.eventIndex];
40621
+ visit.eventIndex += 1;
40622
+ if (event === CHILDREN) {
40623
+ if (visitNode.nodes && visitNode.nodes.length) {
40624
+ visit.iterator = visitNode.getIterator();
40625
+ }
40626
+ } else {
40627
+ let visitors = this.listeners[event];
40628
+ if (visitors) {
40629
+ if (this.visitSync(visitors, visitNode.toProxy())) stack.pop();
40630
+ }
40257
40631
  }
40632
+ continue;
40258
40633
  }
40634
+ stack.pop();
40259
40635
  }
40260
40636
  }
40261
40637
  warnings() {
@@ -40272,9 +40648,9 @@ var require_lazy_result = __commonJS({
40272
40648
  }
40273
40649
  });
40274
40650
 
40275
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/no-work-result.js
40651
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/no-work-result.js
40276
40652
  var require_no_work_result = __commonJS({
40277
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/no-work-result.js"(exports2, module2) {
40653
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/no-work-result.js"(exports2, module2) {
40278
40654
  "use strict";
40279
40655
  var MapGenerator = require_map_generator();
40280
40656
  var parse2 = require_parse2();
@@ -40387,9 +40763,9 @@ var require_no_work_result = __commonJS({
40387
40763
  }
40388
40764
  });
40389
40765
 
40390
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/processor.js
40766
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/processor.js
40391
40767
  var require_processor = __commonJS({
40392
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/processor.js"(exports2, module2) {
40768
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/processor.js"(exports2, module2) {
40393
40769
  "use strict";
40394
40770
  var Document2 = require_document();
40395
40771
  var LazyResult = require_lazy_result();
@@ -40397,7 +40773,7 @@ var require_processor = __commonJS({
40397
40773
  var Root2 = require_root();
40398
40774
  var Processor2 = class {
40399
40775
  constructor(plugins = []) {
40400
- this.version = "8.5.15";
40776
+ this.version = "8.5.31";
40401
40777
  this.plugins = this.normalize(plugins);
40402
40778
  }
40403
40779
  normalize(plugins) {
@@ -40445,9 +40821,9 @@ var require_processor = __commonJS({
40445
40821
  }
40446
40822
  });
40447
40823
 
40448
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/postcss.js
40824
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/postcss.js
40449
40825
  var require_postcss = __commonJS({
40450
- "../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/postcss.js"(exports2, module2) {
40826
+ "../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/postcss.js"(exports2, module2) {
40451
40827
  "use strict";
40452
40828
  var AtRule2 = require_at_rule();
40453
40829
  var Comment2 = require_comment();
@@ -40481,7 +40857,7 @@ var require_postcss = __commonJS({
40481
40857
  console.warn(
40482
40858
  name + ": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"
40483
40859
  );
40484
- if (process.env.LANG && process.env.LANG.startsWith("cn")) {
40860
+ if (process.env.LANG && process.env.LANG.startsWith("zh")) {
40485
40861
  console.warn(
40486
40862
  name + ": \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"
40487
40863
  );
@@ -40533,20 +40909,18 @@ var require_postcss = __commonJS({
40533
40909
  }
40534
40910
  });
40535
40911
 
40536
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/unesc.js
40912
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/unesc.js
40537
40913
  var require_unesc = __commonJS({
40538
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/unesc.js"(exports2) {
40914
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/unesc.js"(exports2) {
40539
40915
  "use strict";
40540
40916
  Object.defineProperty(exports2, "__esModule", { value: true });
40541
40917
  exports2.default = unesc;
40542
40918
  function gobbleHex(str) {
40543
40919
  var lower = str.toLowerCase();
40544
40920
  var hex = "";
40545
- var spaceTerminated = false;
40546
40921
  for (var i = 0; i < 6 && lower[i] !== void 0; i++) {
40547
40922
  var code = lower.charCodeAt(i);
40548
40923
  var valid = code >= 97 && code <= 102 || code >= 48 && code <= 57;
40549
- spaceTerminated = code === 32;
40550
40924
  if (!valid) {
40551
40925
  break;
40552
40926
  }
@@ -40555,12 +40929,17 @@ var require_unesc = __commonJS({
40555
40929
  if (hex.length === 0) {
40556
40930
  return void 0;
40557
40931
  }
40932
+ var consumed = hex.length;
40933
+ var next = str[consumed];
40934
+ if (next === " " || next === " " || next === "\n" || next === "\r" || next === "\f") {
40935
+ consumed += next === "\r" && str[consumed + 1] === "\n" ? 2 : 1;
40936
+ }
40558
40937
  var codePoint = parseInt(hex, 16);
40559
40938
  var isSurrogate = codePoint >= 55296 && codePoint <= 57343;
40560
40939
  if (isSurrogate || codePoint === 0 || codePoint > 1114111) {
40561
- return ["\uFFFD", hex.length + (spaceTerminated ? 1 : 0)];
40940
+ return ["\uFFFD", consumed];
40562
40941
  }
40563
- return [String.fromCodePoint(codePoint), hex.length + (spaceTerminated ? 1 : 0)];
40942
+ return [String.fromCodePoint(codePoint), consumed];
40564
40943
  }
40565
40944
  var CONTAINS_ESCAPE = /\\/;
40566
40945
  function unesc(str) {
@@ -40571,7 +40950,7 @@ var require_unesc = __commonJS({
40571
40950
  var ret = "";
40572
40951
  for (var i = 0; i < str.length; i++) {
40573
40952
  if (str[i] === "\\") {
40574
- var gobbled = gobbleHex(str.slice(i + 1, i + 7));
40953
+ var gobbled = gobbleHex(str.slice(i + 1, i + 9));
40575
40954
  if (gobbled !== void 0) {
40576
40955
  ret += gobbled[0];
40577
40956
  i += gobbled[1];
@@ -40594,9 +40973,9 @@ var require_unesc = __commonJS({
40594
40973
  }
40595
40974
  });
40596
40975
 
40597
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/getProp.js
40976
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/getProp.js
40598
40977
  var require_getProp = __commonJS({
40599
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/getProp.js"(exports2) {
40978
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/getProp.js"(exports2) {
40600
40979
  "use strict";
40601
40980
  Object.defineProperty(exports2, "__esModule", { value: true });
40602
40981
  exports2.default = getProp;
@@ -40617,9 +40996,9 @@ var require_getProp = __commonJS({
40617
40996
  }
40618
40997
  });
40619
40998
 
40620
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/ensureObject.js
40999
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/ensureObject.js
40621
41000
  var require_ensureObject = __commonJS({
40622
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/ensureObject.js"(exports2) {
41001
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/ensureObject.js"(exports2) {
40623
41002
  "use strict";
40624
41003
  Object.defineProperty(exports2, "__esModule", { value: true });
40625
41004
  exports2.default = ensureObject;
@@ -40639,9 +41018,9 @@ var require_ensureObject = __commonJS({
40639
41018
  }
40640
41019
  });
40641
41020
 
40642
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/stripComments.js
41021
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/stripComments.js
40643
41022
  var require_stripComments = __commonJS({
40644
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/stripComments.js"(exports2) {
41023
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/stripComments.js"(exports2) {
40645
41024
  "use strict";
40646
41025
  Object.defineProperty(exports2, "__esModule", { value: true });
40647
41026
  exports2.default = stripComments;
@@ -40664,9 +41043,9 @@ var require_stripComments = __commonJS({
40664
41043
  }
40665
41044
  });
40666
41045
 
40667
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/maxNestingDepth.js
41046
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/maxNestingDepth.js
40668
41047
  var require_maxNestingDepth = __commonJS({
40669
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/maxNestingDepth.js"(exports2) {
41048
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/maxNestingDepth.js"(exports2) {
40670
41049
  "use strict";
40671
41050
  Object.defineProperty(exports2, "__esModule", { value: true });
40672
41051
  exports2.MAX_NESTING_DEPTH = void 0;
@@ -40678,9 +41057,9 @@ var require_maxNestingDepth = __commonJS({
40678
41057
  }
40679
41058
  });
40680
41059
 
40681
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/index.js
41060
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/index.js
40682
41061
  var require_util2 = __commonJS({
40683
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/util/index.js"(exports2) {
41062
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/util/index.js"(exports2) {
40684
41063
  "use strict";
40685
41064
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
40686
41065
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -40713,9 +41092,9 @@ var require_util2 = __commonJS({
40713
41092
  }
40714
41093
  });
40715
41094
 
40716
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/node.js
41095
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/node.js
40717
41096
  var require_node7 = __commonJS({
40718
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/node.js"(exports2) {
41097
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/node.js"(exports2) {
40719
41098
  "use strict";
40720
41099
  Object.defineProperty(exports2, "__esModule", { value: true });
40721
41100
  var util_1 = require_util2();
@@ -40752,7 +41131,7 @@ var require_node7 = __commonJS({
40752
41131
  };
40753
41132
  var Node2 = (
40754
41133
  /** @class */
40755
- function() {
41134
+ (function() {
40756
41135
  function Node3(opts) {
40757
41136
  if (opts === void 0) {
40758
41137
  opts = {};
@@ -40881,15 +41260,15 @@ var require_node7 = __commonJS({
40881
41260
  return this.toString();
40882
41261
  };
40883
41262
  return Node3;
40884
- }()
41263
+ })()
40885
41264
  );
40886
41265
  exports2.default = Node2;
40887
41266
  }
40888
41267
  });
40889
41268
 
40890
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/types.js
41269
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/types.js
40891
41270
  var require_types4 = __commonJS({
40892
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/types.js"(exports2) {
41271
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/types.js"(exports2) {
40893
41272
  "use strict";
40894
41273
  Object.defineProperty(exports2, "__esModule", { value: true });
40895
41274
  exports2.UNIVERSAL = exports2.ATTRIBUTE = exports2.CLASS = exports2.COMBINATOR = exports2.COMMENT = exports2.ID = exports2.NESTING = exports2.PSEUDO = exports2.ROOT = exports2.SELECTOR = exports2.STRING = exports2.TAG = void 0;
@@ -40908,11 +41287,11 @@ var require_types4 = __commonJS({
40908
41287
  }
40909
41288
  });
40910
41289
 
40911
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/container.js
41290
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/container.js
40912
41291
  var require_container2 = __commonJS({
40913
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/container.js"(exports2) {
41292
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/container.js"(exports2) {
40914
41293
  "use strict";
40915
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
41294
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
40916
41295
  var extendStatics = function(d, b) {
40917
41296
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
40918
41297
  d2.__proto__ = b2;
@@ -40930,8 +41309,8 @@ var require_container2 = __commonJS({
40930
41309
  }
40931
41310
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
40932
41311
  };
40933
- }();
40934
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
41312
+ })();
41313
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
40935
41314
  if (k2 === void 0) k2 = k;
40936
41315
  var desc = Object.getOwnPropertyDescriptor(m, k);
40937
41316
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -40940,16 +41319,16 @@ var require_container2 = __commonJS({
40940
41319
  } };
40941
41320
  }
40942
41321
  Object.defineProperty(o, k2, desc);
40943
- } : function(o, m, k, k2) {
41322
+ }) : (function(o, m, k, k2) {
40944
41323
  if (k2 === void 0) k2 = k;
40945
41324
  o[k2] = m[k];
40946
- });
40947
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
41325
+ }));
41326
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
40948
41327
  Object.defineProperty(o, "default", { enumerable: true, value: v });
40949
- } : function(o, v) {
41328
+ }) : function(o, v) {
40950
41329
  o["default"] = v;
40951
41330
  });
40952
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
41331
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
40953
41332
  var ownKeys = function(o) {
40954
41333
  ownKeys = Object.getOwnPropertyNames || function(o2) {
40955
41334
  var ar = [];
@@ -40967,7 +41346,7 @@ var require_container2 = __commonJS({
40967
41346
  __setModuleDefault(result, mod);
40968
41347
  return result;
40969
41348
  };
40970
- }();
41349
+ })();
40971
41350
  var __values = exports2 && exports2.__values || function(o) {
40972
41351
  var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
40973
41352
  if (m) return m.call(o);
@@ -41014,7 +41393,7 @@ var require_container2 = __commonJS({
41014
41393
  var types = __importStar(require_types4());
41015
41394
  var Container2 = (
41016
41395
  /** @class */
41017
- function(_super) {
41396
+ (function(_super) {
41018
41397
  __extends(Container3, _super);
41019
41398
  function Container3(opts) {
41020
41399
  var _this = _super.call(this, opts) || this;
@@ -41107,6 +41486,7 @@ var require_container2 = __commonJS({
41107
41486
  var oldIndex = this.index(oldNode);
41108
41487
  var resetNode = [];
41109
41488
  for (var i = 2; i < arguments.length; i++) {
41489
+ arguments[i].parent = this;
41110
41490
  resetNode.push(arguments[i]);
41111
41491
  }
41112
41492
  (_a = this.nodes).splice.apply(_a, __spreadArray([oldIndex + 1, 0, newNode], __read(resetNode), false));
@@ -41126,6 +41506,7 @@ var require_container2 = __commonJS({
41126
41506
  var oldIndex = this.index(oldNode);
41127
41507
  var resetNode = [];
41128
41508
  for (var i = 2; i < arguments.length; i++) {
41509
+ arguments[i].parent = this;
41129
41510
  resetNode.push(arguments[i]);
41130
41511
  }
41131
41512
  (_a = this.nodes).splice.apply(_a, __spreadArray([oldIndex, 0, newNode], __read(resetNode), false));
@@ -41334,17 +41715,17 @@ var require_container2 = __commonJS({
41334
41715
  return typeof child._stringify === "function" ? child._stringify(options, depth, max) : String(child);
41335
41716
  };
41336
41717
  return Container3;
41337
- }(node_12.default)
41718
+ })(node_12.default)
41338
41719
  );
41339
41720
  exports2.default = Container2;
41340
41721
  }
41341
41722
  });
41342
41723
 
41343
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/root.js
41724
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/root.js
41344
41725
  var require_root2 = __commonJS({
41345
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/root.js"(exports2) {
41726
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/root.js"(exports2) {
41346
41727
  "use strict";
41347
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
41728
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41348
41729
  var extendStatics = function(d, b) {
41349
41730
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41350
41731
  d2.__proto__ = b2;
@@ -41362,7 +41743,7 @@ var require_root2 = __commonJS({
41362
41743
  }
41363
41744
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41364
41745
  };
41365
- }();
41746
+ })();
41366
41747
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41367
41748
  return mod && mod.__esModule ? mod : { "default": mod };
41368
41749
  };
@@ -41371,7 +41752,7 @@ var require_root2 = __commonJS({
41371
41752
  var types_1 = require_types4();
41372
41753
  var Root2 = (
41373
41754
  /** @class */
41374
- function(_super) {
41755
+ (function(_super) {
41375
41756
  __extends(Root3, _super);
41376
41757
  function Root3(opts) {
41377
41758
  var _this = _super.call(this, opts) || this;
@@ -41401,17 +41782,17 @@ var require_root2 = __commonJS({
41401
41782
  configurable: true
41402
41783
  });
41403
41784
  return Root3;
41404
- }(container_1.default)
41785
+ })(container_1.default)
41405
41786
  );
41406
41787
  exports2.default = Root2;
41407
41788
  }
41408
41789
  });
41409
41790
 
41410
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/selector.js
41791
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/selector.js
41411
41792
  var require_selector = __commonJS({
41412
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/selector.js"(exports2) {
41793
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/selector.js"(exports2) {
41413
41794
  "use strict";
41414
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
41795
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41415
41796
  var extendStatics = function(d, b) {
41416
41797
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41417
41798
  d2.__proto__ = b2;
@@ -41429,7 +41810,7 @@ var require_selector = __commonJS({
41429
41810
  }
41430
41811
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41431
41812
  };
41432
- }();
41813
+ })();
41433
41814
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41434
41815
  return mod && mod.__esModule ? mod : { "default": mod };
41435
41816
  };
@@ -41438,7 +41819,7 @@ var require_selector = __commonJS({
41438
41819
  var types_1 = require_types4();
41439
41820
  var Selector = (
41440
41821
  /** @class */
41441
- function(_super) {
41822
+ (function(_super) {
41442
41823
  __extends(Selector2, _super);
41443
41824
  function Selector2(opts) {
41444
41825
  var _this = _super.call(this, opts) || this;
@@ -41446,7 +41827,7 @@ var require_selector = __commonJS({
41446
41827
  return _this;
41447
41828
  }
41448
41829
  return Selector2;
41449
- }(container_1.default)
41830
+ })(container_1.default)
41450
41831
  );
41451
41832
  exports2.default = Selector;
41452
41833
  }
@@ -41542,11 +41923,11 @@ var require_cssesc = __commonJS({
41542
41923
  }
41543
41924
  });
41544
41925
 
41545
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/className.js
41926
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/className.js
41546
41927
  var require_className = __commonJS({
41547
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/className.js"(exports2) {
41928
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/className.js"(exports2) {
41548
41929
  "use strict";
41549
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
41930
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41550
41931
  var extendStatics = function(d, b) {
41551
41932
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41552
41933
  d2.__proto__ = b2;
@@ -41564,7 +41945,7 @@ var require_className = __commonJS({
41564
41945
  }
41565
41946
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41566
41947
  };
41567
- }();
41948
+ })();
41568
41949
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41569
41950
  return mod && mod.__esModule ? mod : { "default": mod };
41570
41951
  };
@@ -41575,7 +41956,7 @@ var require_className = __commonJS({
41575
41956
  var types_1 = require_types4();
41576
41957
  var ClassName = (
41577
41958
  /** @class */
41578
- function(_super) {
41959
+ (function(_super) {
41579
41960
  __extends(ClassName2, _super);
41580
41961
  function ClassName2(opts) {
41581
41962
  var _this = _super.call(this, opts) || this;
@@ -41606,17 +41987,17 @@ var require_className = __commonJS({
41606
41987
  return "." + _super.prototype.valueToString.call(this);
41607
41988
  };
41608
41989
  return ClassName2;
41609
- }(node_12.default)
41990
+ })(node_12.default)
41610
41991
  );
41611
41992
  exports2.default = ClassName;
41612
41993
  }
41613
41994
  });
41614
41995
 
41615
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/comment.js
41996
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/comment.js
41616
41997
  var require_comment2 = __commonJS({
41617
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/comment.js"(exports2) {
41998
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/comment.js"(exports2) {
41618
41999
  "use strict";
41619
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42000
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41620
42001
  var extendStatics = function(d, b) {
41621
42002
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41622
42003
  d2.__proto__ = b2;
@@ -41634,7 +42015,7 @@ var require_comment2 = __commonJS({
41634
42015
  }
41635
42016
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41636
42017
  };
41637
- }();
42018
+ })();
41638
42019
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41639
42020
  return mod && mod.__esModule ? mod : { "default": mod };
41640
42021
  };
@@ -41643,7 +42024,7 @@ var require_comment2 = __commonJS({
41643
42024
  var types_1 = require_types4();
41644
42025
  var Comment2 = (
41645
42026
  /** @class */
41646
- function(_super) {
42027
+ (function(_super) {
41647
42028
  __extends(Comment3, _super);
41648
42029
  function Comment3(opts) {
41649
42030
  var _this = _super.call(this, opts) || this;
@@ -41651,17 +42032,17 @@ var require_comment2 = __commonJS({
41651
42032
  return _this;
41652
42033
  }
41653
42034
  return Comment3;
41654
- }(node_12.default)
42035
+ })(node_12.default)
41655
42036
  );
41656
42037
  exports2.default = Comment2;
41657
42038
  }
41658
42039
  });
41659
42040
 
41660
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/id.js
42041
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/id.js
41661
42042
  var require_id = __commonJS({
41662
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/id.js"(exports2) {
42043
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/id.js"(exports2) {
41663
42044
  "use strict";
41664
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42045
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41665
42046
  var extendStatics = function(d, b) {
41666
42047
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41667
42048
  d2.__proto__ = b2;
@@ -41679,7 +42060,7 @@ var require_id = __commonJS({
41679
42060
  }
41680
42061
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41681
42062
  };
41682
- }();
42063
+ })();
41683
42064
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41684
42065
  return mod && mod.__esModule ? mod : { "default": mod };
41685
42066
  };
@@ -41688,7 +42069,7 @@ var require_id = __commonJS({
41688
42069
  var types_1 = require_types4();
41689
42070
  var ID = (
41690
42071
  /** @class */
41691
- function(_super) {
42072
+ (function(_super) {
41692
42073
  __extends(ID2, _super);
41693
42074
  function ID2(opts) {
41694
42075
  var _this = _super.call(this, opts) || this;
@@ -41699,17 +42080,17 @@ var require_id = __commonJS({
41699
42080
  return "#" + _super.prototype.valueToString.call(this);
41700
42081
  };
41701
42082
  return ID2;
41702
- }(node_12.default)
42083
+ })(node_12.default)
41703
42084
  );
41704
42085
  exports2.default = ID;
41705
42086
  }
41706
42087
  });
41707
42088
 
41708
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/namespace.js
42089
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/namespace.js
41709
42090
  var require_namespace = __commonJS({
41710
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/namespace.js"(exports2) {
42091
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/namespace.js"(exports2) {
41711
42092
  "use strict";
41712
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42093
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41713
42094
  var extendStatics = function(d, b) {
41714
42095
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41715
42096
  d2.__proto__ = b2;
@@ -41727,7 +42108,7 @@ var require_namespace = __commonJS({
41727
42108
  }
41728
42109
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41729
42110
  };
41730
- }();
42111
+ })();
41731
42112
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41732
42113
  return mod && mod.__esModule ? mod : { "default": mod };
41733
42114
  };
@@ -41737,7 +42118,7 @@ var require_namespace = __commonJS({
41737
42118
  var node_12 = __importDefault(require_node7());
41738
42119
  var Namespace = (
41739
42120
  /** @class */
41740
- function(_super) {
42121
+ (function(_super) {
41741
42122
  __extends(Namespace2, _super);
41742
42123
  function Namespace2() {
41743
42124
  return _super !== null && _super.apply(this, arguments) || this;
@@ -41803,17 +42184,17 @@ var require_namespace = __commonJS({
41803
42184
  return this.qualifiedName(_super.prototype.valueToString.call(this));
41804
42185
  };
41805
42186
  return Namespace2;
41806
- }(node_12.default)
42187
+ })(node_12.default)
41807
42188
  );
41808
42189
  exports2.default = Namespace;
41809
42190
  }
41810
42191
  });
41811
42192
 
41812
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/tag.js
42193
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/tag.js
41813
42194
  var require_tag = __commonJS({
41814
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/tag.js"(exports2) {
42195
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/tag.js"(exports2) {
41815
42196
  "use strict";
41816
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42197
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41817
42198
  var extendStatics = function(d, b) {
41818
42199
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41819
42200
  d2.__proto__ = b2;
@@ -41831,7 +42212,7 @@ var require_tag = __commonJS({
41831
42212
  }
41832
42213
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41833
42214
  };
41834
- }();
42215
+ })();
41835
42216
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41836
42217
  return mod && mod.__esModule ? mod : { "default": mod };
41837
42218
  };
@@ -41840,7 +42221,7 @@ var require_tag = __commonJS({
41840
42221
  var types_1 = require_types4();
41841
42222
  var Tag = (
41842
42223
  /** @class */
41843
- function(_super) {
42224
+ (function(_super) {
41844
42225
  __extends(Tag2, _super);
41845
42226
  function Tag2(opts) {
41846
42227
  var _this = _super.call(this, opts) || this;
@@ -41848,17 +42229,17 @@ var require_tag = __commonJS({
41848
42229
  return _this;
41849
42230
  }
41850
42231
  return Tag2;
41851
- }(namespace_1.default)
42232
+ })(namespace_1.default)
41852
42233
  );
41853
42234
  exports2.default = Tag;
41854
42235
  }
41855
42236
  });
41856
42237
 
41857
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/string.js
42238
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/string.js
41858
42239
  var require_string = __commonJS({
41859
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/string.js"(exports2) {
42240
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/string.js"(exports2) {
41860
42241
  "use strict";
41861
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42242
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41862
42243
  var extendStatics = function(d, b) {
41863
42244
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41864
42245
  d2.__proto__ = b2;
@@ -41876,7 +42257,7 @@ var require_string = __commonJS({
41876
42257
  }
41877
42258
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41878
42259
  };
41879
- }();
42260
+ })();
41880
42261
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41881
42262
  return mod && mod.__esModule ? mod : { "default": mod };
41882
42263
  };
@@ -41885,7 +42266,7 @@ var require_string = __commonJS({
41885
42266
  var types_1 = require_types4();
41886
42267
  var String2 = (
41887
42268
  /** @class */
41888
- function(_super) {
42269
+ (function(_super) {
41889
42270
  __extends(String3, _super);
41890
42271
  function String3(opts) {
41891
42272
  var _this = _super.call(this, opts) || this;
@@ -41893,17 +42274,17 @@ var require_string = __commonJS({
41893
42274
  return _this;
41894
42275
  }
41895
42276
  return String3;
41896
- }(node_12.default)
42277
+ })(node_12.default)
41897
42278
  );
41898
42279
  exports2.default = String2;
41899
42280
  }
41900
42281
  });
41901
42282
 
41902
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/pseudo.js
42283
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/pseudo.js
41903
42284
  var require_pseudo = __commonJS({
41904
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(exports2) {
42285
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(exports2) {
41905
42286
  "use strict";
41906
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42287
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41907
42288
  var extendStatics = function(d, b) {
41908
42289
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41909
42290
  d2.__proto__ = b2;
@@ -41921,7 +42302,7 @@ var require_pseudo = __commonJS({
41921
42302
  }
41922
42303
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41923
42304
  };
41924
- }();
42305
+ })();
41925
42306
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41926
42307
  return mod && mod.__esModule ? mod : { "default": mod };
41927
42308
  };
@@ -41930,7 +42311,7 @@ var require_pseudo = __commonJS({
41930
42311
  var types_1 = require_types4();
41931
42312
  var Pseudo = (
41932
42313
  /** @class */
41933
- function(_super) {
42314
+ (function(_super) {
41934
42315
  __extends(Pseudo2, _super);
41935
42316
  function Pseudo2(opts) {
41936
42317
  var _this = _super.call(this, opts) || this;
@@ -41948,7 +42329,7 @@ var require_pseudo = __commonJS({
41948
42329
  return [this.rawSpaceBefore, this.stringifyProperty("value"), params, this.rawSpaceAfter].join("");
41949
42330
  };
41950
42331
  return Pseudo2;
41951
- }(container_1.default)
42332
+ })(container_1.default)
41952
42333
  );
41953
42334
  exports2.default = Pseudo;
41954
42335
  }
@@ -41961,11 +42342,11 @@ var require_node8 = __commonJS({
41961
42342
  }
41962
42343
  });
41963
42344
 
41964
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/attribute.js
42345
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/attribute.js
41965
42346
  var require_attribute = __commonJS({
41966
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/attribute.js"(exports2) {
42347
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/attribute.js"(exports2) {
41967
42348
  "use strict";
41968
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42349
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
41969
42350
  var extendStatics = function(d, b) {
41970
42351
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
41971
42352
  d2.__proto__ = b2;
@@ -41983,7 +42364,7 @@ var require_attribute = __commonJS({
41983
42364
  }
41984
42365
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41985
42366
  };
41986
- }();
42367
+ })();
41987
42368
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
41988
42369
  return mod && mod.__esModule ? mod : { "default": mod };
41989
42370
  };
@@ -42042,7 +42423,7 @@ var require_attribute = __commonJS({
42042
42423
  }
42043
42424
  var Attribute = (
42044
42425
  /** @class */
42045
- function(_super) {
42426
+ (function(_super) {
42046
42427
  __extends(Attribute2, _super);
42047
42428
  function Attribute2(opts) {
42048
42429
  if (opts === void 0) {
@@ -42344,7 +42725,7 @@ var require_attribute = __commonJS({
42344
42725
  Attribute2.SINGLE_QUOTE = "'";
42345
42726
  Attribute2.DOUBLE_QUOTE = '"';
42346
42727
  return Attribute2;
42347
- }(namespace_1.default)
42728
+ })(namespace_1.default)
42348
42729
  );
42349
42730
  exports2.default = Attribute;
42350
42731
  var CSSESC_QUOTE_OPTIONS = (_a = {
@@ -42357,11 +42738,11 @@ var require_attribute = __commonJS({
42357
42738
  }
42358
42739
  });
42359
42740
 
42360
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/universal.js
42741
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/universal.js
42361
42742
  var require_universal = __commonJS({
42362
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/universal.js"(exports2) {
42743
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/universal.js"(exports2) {
42363
42744
  "use strict";
42364
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42745
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
42365
42746
  var extendStatics = function(d, b) {
42366
42747
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
42367
42748
  d2.__proto__ = b2;
@@ -42379,7 +42760,7 @@ var require_universal = __commonJS({
42379
42760
  }
42380
42761
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42381
42762
  };
42382
- }();
42763
+ })();
42383
42764
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
42384
42765
  return mod && mod.__esModule ? mod : { "default": mod };
42385
42766
  };
@@ -42388,7 +42769,7 @@ var require_universal = __commonJS({
42388
42769
  var types_1 = require_types4();
42389
42770
  var Universal = (
42390
42771
  /** @class */
42391
- function(_super) {
42772
+ (function(_super) {
42392
42773
  __extends(Universal2, _super);
42393
42774
  function Universal2(opts) {
42394
42775
  var _this = _super.call(this, opts) || this;
@@ -42397,17 +42778,17 @@ var require_universal = __commonJS({
42397
42778
  return _this;
42398
42779
  }
42399
42780
  return Universal2;
42400
- }(namespace_1.default)
42781
+ })(namespace_1.default)
42401
42782
  );
42402
42783
  exports2.default = Universal;
42403
42784
  }
42404
42785
  });
42405
42786
 
42406
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/combinator.js
42787
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/combinator.js
42407
42788
  var require_combinator = __commonJS({
42408
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/combinator.js"(exports2) {
42789
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/combinator.js"(exports2) {
42409
42790
  "use strict";
42410
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42791
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
42411
42792
  var extendStatics = function(d, b) {
42412
42793
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
42413
42794
  d2.__proto__ = b2;
@@ -42425,7 +42806,7 @@ var require_combinator = __commonJS({
42425
42806
  }
42426
42807
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42427
42808
  };
42428
- }();
42809
+ })();
42429
42810
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
42430
42811
  return mod && mod.__esModule ? mod : { "default": mod };
42431
42812
  };
@@ -42434,25 +42815,39 @@ var require_combinator = __commonJS({
42434
42815
  var types_1 = require_types4();
42435
42816
  var Combinator = (
42436
42817
  /** @class */
42437
- function(_super) {
42818
+ (function(_super) {
42438
42819
  __extends(Combinator2, _super);
42439
42820
  function Combinator2(opts) {
42440
42821
  var _this = _super.call(this, opts) || this;
42441
42822
  _this.type = types_1.COMBINATOR;
42823
+ _this._constructed = true;
42442
42824
  return _this;
42443
42825
  }
42826
+ Object.defineProperty(Combinator2.prototype, "value", {
42827
+ get: function() {
42828
+ return this._value;
42829
+ },
42830
+ set: function(value) {
42831
+ if (this._constructed && this.raws) {
42832
+ delete this.raws.value;
42833
+ }
42834
+ this._value = value;
42835
+ },
42836
+ enumerable: false,
42837
+ configurable: true
42838
+ });
42444
42839
  return Combinator2;
42445
- }(node_12.default)
42840
+ })(node_12.default)
42446
42841
  );
42447
42842
  exports2.default = Combinator;
42448
42843
  }
42449
42844
  });
42450
42845
 
42451
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/nesting.js
42846
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/nesting.js
42452
42847
  var require_nesting = __commonJS({
42453
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/nesting.js"(exports2) {
42848
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/nesting.js"(exports2) {
42454
42849
  "use strict";
42455
- var __extends = exports2 && exports2.__extends || /* @__PURE__ */ function() {
42850
+ var __extends = exports2 && exports2.__extends || /* @__PURE__ */ (function() {
42456
42851
  var extendStatics = function(d, b) {
42457
42852
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
42458
42853
  d2.__proto__ = b2;
@@ -42470,7 +42865,7 @@ var require_nesting = __commonJS({
42470
42865
  }
42471
42866
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42472
42867
  };
42473
- }();
42868
+ })();
42474
42869
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
42475
42870
  return mod && mod.__esModule ? mod : { "default": mod };
42476
42871
  };
@@ -42479,7 +42874,7 @@ var require_nesting = __commonJS({
42479
42874
  var types_1 = require_types4();
42480
42875
  var Nesting = (
42481
42876
  /** @class */
42482
- function(_super) {
42877
+ (function(_super) {
42483
42878
  __extends(Nesting2, _super);
42484
42879
  function Nesting2(opts) {
42485
42880
  var _this = _super.call(this, opts) || this;
@@ -42488,15 +42883,15 @@ var require_nesting = __commonJS({
42488
42883
  return _this;
42489
42884
  }
42490
42885
  return Nesting2;
42491
- }(node_12.default)
42886
+ })(node_12.default)
42492
42887
  );
42493
42888
  exports2.default = Nesting;
42494
42889
  }
42495
42890
  });
42496
42891
 
42497
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/sortAscending.js
42892
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/sortAscending.js
42498
42893
  var require_sortAscending = __commonJS({
42499
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/sortAscending.js"(exports2) {
42894
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/sortAscending.js"(exports2) {
42500
42895
  "use strict";
42501
42896
  Object.defineProperty(exports2, "__esModule", { value: true });
42502
42897
  exports2.default = sortAscending;
@@ -42508,9 +42903,9 @@ var require_sortAscending = __commonJS({
42508
42903
  }
42509
42904
  });
42510
42905
 
42511
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/tokenTypes.js
42906
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/tokenTypes.js
42512
42907
  var require_tokenTypes = __commonJS({
42513
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/tokenTypes.js"(exports2) {
42908
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/tokenTypes.js"(exports2) {
42514
42909
  "use strict";
42515
42910
  Object.defineProperty(exports2, "__esModule", { value: true });
42516
42911
  exports2.combinator = exports2.word = exports2.comment = exports2.str = exports2.tab = exports2.newline = exports2.feed = exports2.cr = exports2.backslash = exports2.bang = exports2.slash = exports2.doubleQuote = exports2.singleQuote = exports2.space = exports2.greaterThan = exports2.pipe = exports2.equals = exports2.plus = exports2.caret = exports2.tilde = exports2.dollar = exports2.closeSquare = exports2.openSquare = exports2.closeParenthesis = exports2.openParenthesis = exports2.semicolon = exports2.colon = exports2.comma = exports2.at = exports2.asterisk = exports2.ampersand = void 0;
@@ -42548,11 +42943,11 @@ var require_tokenTypes = __commonJS({
42548
42943
  }
42549
42944
  });
42550
42945
 
42551
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/tokenize.js
42946
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/tokenize.js
42552
42947
  var require_tokenize2 = __commonJS({
42553
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/tokenize.js"(exports2) {
42948
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/tokenize.js"(exports2) {
42554
42949
  "use strict";
42555
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
42950
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
42556
42951
  if (k2 === void 0) k2 = k;
42557
42952
  var desc = Object.getOwnPropertyDescriptor(m, k);
42558
42953
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -42561,16 +42956,16 @@ var require_tokenize2 = __commonJS({
42561
42956
  } };
42562
42957
  }
42563
42958
  Object.defineProperty(o, k2, desc);
42564
- } : function(o, m, k, k2) {
42959
+ }) : (function(o, m, k, k2) {
42565
42960
  if (k2 === void 0) k2 = k;
42566
42961
  o[k2] = m[k];
42567
- });
42568
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
42962
+ }));
42963
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
42569
42964
  Object.defineProperty(o, "default", { enumerable: true, value: v });
42570
- } : function(o, v) {
42965
+ }) : function(o, v) {
42571
42966
  o["default"] = v;
42572
42967
  });
42573
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
42968
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
42574
42969
  var ownKeys = function(o) {
42575
42970
  ownKeys = Object.getOwnPropertyNames || function(o2) {
42576
42971
  var ar = [];
@@ -42588,7 +42983,7 @@ var require_tokenize2 = __commonJS({
42588
42983
  __setModuleDefault(result, mod);
42589
42984
  return result;
42590
42985
  };
42591
- }();
42986
+ })();
42592
42987
  var _a;
42593
42988
  var _b;
42594
42989
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -42806,9 +43201,9 @@ var require_tokenize2 = __commonJS({
42806
43201
  }
42807
43202
  });
42808
43203
 
42809
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/parser.js
43204
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/parser.js
42810
43205
  var require_parser2 = __commonJS({
42811
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/parser.js"(exports2) {
43206
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/parser.js"(exports2) {
42812
43207
  "use strict";
42813
43208
  var __assign = exports2 && exports2.__assign || function() {
42814
43209
  __assign = Object.assign || function(t) {
@@ -42821,7 +43216,7 @@ var require_parser2 = __commonJS({
42821
43216
  };
42822
43217
  return __assign.apply(this, arguments);
42823
43218
  };
42824
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
43219
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
42825
43220
  if (k2 === void 0) k2 = k;
42826
43221
  var desc = Object.getOwnPropertyDescriptor(m, k);
42827
43222
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -42830,16 +43225,16 @@ var require_parser2 = __commonJS({
42830
43225
  } };
42831
43226
  }
42832
43227
  Object.defineProperty(o, k2, desc);
42833
- } : function(o, m, k, k2) {
43228
+ }) : (function(o, m, k, k2) {
42834
43229
  if (k2 === void 0) k2 = k;
42835
43230
  o[k2] = m[k];
42836
- });
42837
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
43231
+ }));
43232
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
42838
43233
  Object.defineProperty(o, "default", { enumerable: true, value: v });
42839
- } : function(o, v) {
43234
+ }) : function(o, v) {
42840
43235
  o["default"] = v;
42841
43236
  });
42842
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
43237
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
42843
43238
  var ownKeys = function(o) {
42844
43239
  ownKeys = Object.getOwnPropertyNames || function(o2) {
42845
43240
  var ar = [];
@@ -42857,7 +43252,7 @@ var require_parser2 = __commonJS({
42857
43252
  __setModuleDefault(result, mod);
42858
43253
  return result;
42859
43254
  };
42860
- }();
43255
+ })();
42861
43256
  var __read = exports2 && exports2.__read || function(o, n) {
42862
43257
  var m = typeof Symbol === "function" && o[Symbol.iterator];
42863
43258
  if (!m) return o;
@@ -42965,14 +43360,11 @@ var require_parser2 = __commonJS({
42965
43360
  return indexes;
42966
43361
  }
42967
43362
  function uniqs() {
42968
- var list2 = Array.prototype.concat.apply([], arguments);
42969
- return list2.filter(function(item, i) {
42970
- return i === list2.indexOf(item);
42971
- });
43363
+ return Array.from(new Set(Array.prototype.concat.apply([], arguments)));
42972
43364
  }
42973
43365
  var Parser = (
42974
43366
  /** @class */
42975
- function() {
43367
+ (function() {
42976
43368
  function Parser2(rule2, options) {
42977
43369
  if (options === void 0) {
42978
43370
  options = {};
@@ -43008,6 +43400,23 @@ var require_parser2 = __commonJS({
43008
43400
  return _this.rule.error(message, errorOptions);
43009
43401
  };
43010
43402
  };
43403
+ Parser2.prototype.namespaceSeparatorFollows = function(attr, pos) {
43404
+ var next = pos;
43405
+ while (attr[next] && attr[next][tokenize_1.FIELDS.TYPE] === tokens.space) {
43406
+ next++;
43407
+ }
43408
+ if (!attr[next] || this.content(attr[next]) !== "|") {
43409
+ return false;
43410
+ }
43411
+ next++;
43412
+ if (attr[next] && attr[next][tokenize_1.FIELDS.TYPE] === tokens.equals) {
43413
+ return false;
43414
+ }
43415
+ while (attr[next] && attr[next][tokenize_1.FIELDS.TYPE] === tokens.space) {
43416
+ next++;
43417
+ }
43418
+ return Boolean(attr[next]);
43419
+ };
43011
43420
  Parser2.prototype.attribute = function() {
43012
43421
  var attr = [];
43013
43422
  var startingToken = this.currToken;
@@ -43016,6 +43425,9 @@ var require_parser2 = __commonJS({
43016
43425
  attr.push(this.currToken);
43017
43426
  this.position++;
43018
43427
  }
43428
+ if (!this.currToken) {
43429
+ return this.expected("closing square bracket", startingToken[tokenize_1.FIELDS.START_POS]);
43430
+ }
43019
43431
  if (this.currToken[tokenize_1.FIELDS.TYPE] !== tokens.closeSquare) {
43020
43432
  return this.expected("closing square bracket", this.currToken[tokenize_1.FIELDS.START_POS]);
43021
43433
  }
@@ -43032,6 +43444,7 @@ var require_parser2 = __commonJS({
43032
43444
  var commentBefore = "";
43033
43445
  var lastAdded = null;
43034
43446
  var spaceAfterMeaningfulToken = false;
43447
+ var namespaceSpaces = null;
43035
43448
  while (pos < len) {
43036
43449
  var token = attr[pos];
43037
43450
  var content = this.content(token);
@@ -43042,6 +43455,15 @@ var require_parser2 = __commonJS({
43042
43455
  if (this.options.lossy) {
43043
43456
  break;
43044
43457
  }
43458
+ if (namespaceSpaces !== null) {
43459
+ namespaceSpaces += content;
43460
+ break;
43461
+ }
43462
+ if (lastAdded === "namespace") {
43463
+ (0, util_1.ensureObject)(node, "raws");
43464
+ node.raws.namespace = (node.raws.namespace || node.namespace) + content;
43465
+ break;
43466
+ }
43045
43467
  if (lastAdded) {
43046
43468
  (0, util_1.ensureObject)(node, "spaces", lastAdded);
43047
43469
  var prevContent = node.spaces[lastAdded].after || "";
@@ -43060,6 +43482,11 @@ var require_parser2 = __commonJS({
43060
43482
  node.operator = content;
43061
43483
  lastAdded = "operator";
43062
43484
  } else if ((!node.namespace || lastAdded === "namespace" && !spaceAfterMeaningfulToken) && next) {
43485
+ node.namespace = (node.namespace || "") + content;
43486
+ var rawValue = (0, util_1.getProp)(node, "raws", "namespace") || null;
43487
+ if (rawValue) {
43488
+ node.raws.namespace += content;
43489
+ }
43063
43490
  if (spaceBefore) {
43064
43491
  (0, util_1.ensureObject)(node, "spaces", "attribute");
43065
43492
  node.spaces.attribute.before = spaceBefore;
@@ -43067,14 +43494,9 @@ var require_parser2 = __commonJS({
43067
43494
  }
43068
43495
  if (commentBefore) {
43069
43496
  (0, util_1.ensureObject)(node, "raws", "spaces", "attribute");
43070
- node.raws.spaces.attribute.before = spaceBefore;
43497
+ node.raws.spaces.attribute.before = commentBefore;
43071
43498
  commentBefore = "";
43072
43499
  }
43073
- node.namespace = (node.namespace || "") + content;
43074
- var rawValue = (0, util_1.getProp)(node, "raws", "namespace") || null;
43075
- if (rawValue) {
43076
- node.raws.namespace += content;
43077
- }
43078
43500
  lastAdded = "namespace";
43079
43501
  }
43080
43502
  spaceAfterMeaningfulToken = false;
@@ -43108,14 +43530,16 @@ var require_parser2 = __commonJS({
43108
43530
  if (next[tokenize_1.FIELDS.TYPE] === tokens.equals) {
43109
43531
  node.operator = content;
43110
43532
  lastAdded = "operator";
43111
- } else if (!node.namespace && !node.attribute) {
43112
- node.namespace = true;
43533
+ } else if (!node.operator) {
43534
+ if (!node.namespace && !node.attribute) {
43535
+ node.namespace = true;
43536
+ }
43537
+ namespaceSpaces = "";
43113
43538
  }
43114
43539
  spaceAfterMeaningfulToken = false;
43115
43540
  break;
43116
43541
  case tokens.word:
43117
- if (next && this.content(next) === "|" && attr[pos + 2] && attr[pos + 2][tokenize_1.FIELDS.TYPE] !== tokens.equals && // this look-ahead probably fails with comment nodes involved.
43118
- !node.operator && !node.namespace) {
43542
+ if (this.namespaceSeparatorFollows(attr, pos + 1) && !node.operator && !node.namespace) {
43119
43543
  node.namespace = content;
43120
43544
  lastAdded = "namespace";
43121
43545
  } else if (!node.attribute || lastAdded === "attribute" && !spaceAfterMeaningfulToken) {
@@ -43129,6 +43553,11 @@ var require_parser2 = __commonJS({
43129
43553
  node.raws.spaces.attribute.before = commentBefore;
43130
43554
  commentBefore = "";
43131
43555
  }
43556
+ if (namespaceSpaces) {
43557
+ (0, util_1.ensureObject)(node, "raws");
43558
+ node.raws.attribute = namespaceSpaces + (node.raws.attribute || node.attribute || "");
43559
+ }
43560
+ namespaceSpaces = null;
43132
43561
  node.attribute = (node.attribute || "") + content;
43133
43562
  var rawValue = (0, util_1.getProp)(node, "raws", "attribute") || null;
43134
43563
  if (rawValue) {
@@ -43397,7 +43826,25 @@ var require_parser2 = __commonJS({
43397
43826
  }
43398
43827
  return this.newNode(node);
43399
43828
  };
43829
+ Parser2.prototype.flushPendingSpaces = function() {
43830
+ if (!this.spaces) {
43831
+ return;
43832
+ }
43833
+ var last = this.current.last;
43834
+ if (last) {
43835
+ last.spaces.after += this.spaces;
43836
+ this.spaces = "";
43837
+ return;
43838
+ }
43839
+ var token = this.currToken || this.prevToken;
43840
+ this.newNode(new string_1.default({
43841
+ value: "",
43842
+ source: token ? getTokenSource(token) : void 0,
43843
+ sourceIndex: token ? token[tokenize_1.FIELDS.START_POS] : 0
43844
+ }));
43845
+ };
43400
43846
  Parser2.prototype.comma = function() {
43847
+ this.flushPendingSpaces();
43401
43848
  if (this.position === this.tokens.length - 1) {
43402
43849
  this.root.trailingComma = true;
43403
43850
  this.position++;
@@ -43444,7 +43891,11 @@ var require_parser2 = __commonJS({
43444
43891
  return this.error("Unexpected '|'.", this.currToken[tokenize_1.FIELDS.START_POS]);
43445
43892
  };
43446
43893
  Parser2.prototype.namespace = function() {
43447
- var before = this.prevToken && this.content(this.prevToken) || true;
43894
+ var prev = this.prevToken;
43895
+ var before = prev && (prev[tokenize_1.FIELDS.TYPE] === tokens.word || prev[tokenize_1.FIELDS.TYPE] === tokens.asterisk || prev[tokenize_1.FIELDS.TYPE] === tokens.ampersand) ? this.content(prev) : true;
43896
+ if (!this.nextToken) {
43897
+ return this.unexpectedPipe();
43898
+ }
43448
43899
  if (this.nextToken[tokenize_1.FIELDS.TYPE] === tokens.word) {
43449
43900
  this.position++;
43450
43901
  return this.word(before);
@@ -43473,6 +43924,7 @@ var require_parser2 = __commonJS({
43473
43924
  Parser2.prototype.parentheses = function() {
43474
43925
  var last = this.current.last;
43475
43926
  var unbalanced = 1;
43927
+ var openingToken = this.currToken;
43476
43928
  this.position++;
43477
43929
  if (last && last.type === types.PSEUDO) {
43478
43930
  var selector = new selector_1.default({
@@ -43497,6 +43949,7 @@ var require_parser2 = __commonJS({
43497
43949
  if (unbalanced) {
43498
43950
  this.parse();
43499
43951
  } else {
43952
+ this.flushPendingSpaces();
43500
43953
  this.current.source.end = tokenEnd(this.currToken);
43501
43954
  this.current.parent.source.end = tokenEnd(this.currToken);
43502
43955
  this.position++;
@@ -43532,7 +43985,7 @@ var require_parser2 = __commonJS({
43532
43985
  }
43533
43986
  }
43534
43987
  if (unbalanced) {
43535
- return this.expected("closing parenthesis", this.currToken[tokenize_1.FIELDS.START_POS]);
43988
+ return this.expected("closing parenthesis", (this.currToken || openingToken)[tokenize_1.FIELDS.START_POS]);
43536
43989
  }
43537
43990
  };
43538
43991
  Parser2.prototype.pseudo = function() {
@@ -43628,10 +44081,13 @@ var require_parser2 = __commonJS({
43628
44081
  });
43629
44082
  var interpolations = indexesOf(word, "#{");
43630
44083
  if (interpolations.length) {
44084
+ var interpolationIndexes_1 = new Set(interpolations);
43631
44085
  hasId = hasId.filter(function(hashIndex) {
43632
- return !~interpolations.indexOf(hashIndex);
44086
+ return !interpolationIndexes_1.has(hashIndex);
43633
44087
  });
43634
44088
  }
44089
+ var classIndexes = new Set(hasClass);
44090
+ var idIndexes = new Set(hasId);
43635
44091
  var indices = (0, sortAscending_1.default)(uniqs(__spreadArray(__spreadArray([0], __read(hasClass), false), __read(hasId), false)));
43636
44092
  indices.forEach(function(ind, i) {
43637
44093
  var index = indices[i + 1] || word.length;
@@ -43643,14 +44099,14 @@ var require_parser2 = __commonJS({
43643
44099
  var current2 = _this.currToken;
43644
44100
  var sourceIndex = current2[tokenize_1.FIELDS.START_POS] + indices[i];
43645
44101
  var source = getSource(current2[1], current2[2] + ind, current2[3], current2[2] + (index - 1));
43646
- if (~hasClass.indexOf(ind)) {
44102
+ if (classIndexes.has(ind)) {
43647
44103
  var classNameOpts = {
43648
44104
  value: value.slice(1),
43649
44105
  source,
43650
44106
  sourceIndex
43651
44107
  };
43652
44108
  node = new className_1.default(unescapeProp(classNameOpts, "value"));
43653
- } else if (~hasId.indexOf(ind)) {
44109
+ } else if (idIndexes.has(ind)) {
43654
44110
  var idOpts = {
43655
44111
  value: value.slice(1),
43656
44112
  source,
@@ -43683,6 +44139,7 @@ var require_parser2 = __commonJS({
43683
44139
  while (this.position < this.tokens.length) {
43684
44140
  this.parse(true);
43685
44141
  }
44142
+ this.flushPendingSpaces();
43686
44143
  this.current._inferEndPosition();
43687
44144
  return this.root;
43688
44145
  };
@@ -43831,15 +44288,15 @@ var require_parser2 = __commonJS({
43831
44288
  return -1;
43832
44289
  };
43833
44290
  return Parser2;
43834
- }()
44291
+ })()
43835
44292
  );
43836
44293
  exports2.default = Parser;
43837
44294
  }
43838
44295
  });
43839
44296
 
43840
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/processor.js
44297
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/processor.js
43841
44298
  var require_processor2 = __commonJS({
43842
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/processor.js"(exports2) {
44299
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/processor.js"(exports2) {
43843
44300
  "use strict";
43844
44301
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
43845
44302
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -43848,7 +44305,7 @@ var require_processor2 = __commonJS({
43848
44305
  var parser_1 = __importDefault(require_parser2());
43849
44306
  var Processor2 = (
43850
44307
  /** @class */
43851
- function() {
44308
+ (function() {
43852
44309
  function Processor3(func, options) {
43853
44310
  this.func = func || function noop() {
43854
44311
  };
@@ -43962,15 +44419,15 @@ var require_processor2 = __commonJS({
43962
44419
  return result.string || result.root.toString(this._stringifyOptions(options));
43963
44420
  };
43964
44421
  return Processor3;
43965
- }()
44422
+ })()
43966
44423
  );
43967
44424
  exports2.default = Processor2;
43968
44425
  }
43969
44426
  });
43970
44427
 
43971
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/constructors.js
44428
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/constructors.js
43972
44429
  var require_constructors = __commonJS({
43973
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/constructors.js"(exports2) {
44430
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/constructors.js"(exports2) {
43974
44431
  "use strict";
43975
44432
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
43976
44433
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -44040,9 +44497,9 @@ var require_constructors = __commonJS({
44040
44497
  }
44041
44498
  });
44042
44499
 
44043
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/guards.js
44500
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/guards.js
44044
44501
  var require_guards = __commonJS({
44045
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/guards.js"(exports2) {
44502
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/guards.js"(exports2) {
44046
44503
  "use strict";
44047
44504
  var _a;
44048
44505
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -44087,11 +44544,11 @@ var require_guards = __commonJS({
44087
44544
  }
44088
44545
  });
44089
44546
 
44090
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/index.js
44547
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/index.js
44091
44548
  var require_selectors = __commonJS({
44092
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/selectors/index.js"(exports2) {
44549
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/selectors/index.js"(exports2) {
44093
44550
  "use strict";
44094
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
44551
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
44095
44552
  if (k2 === void 0) k2 = k;
44096
44553
  var desc = Object.getOwnPropertyDescriptor(m, k);
44097
44554
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -44100,10 +44557,10 @@ var require_selectors = __commonJS({
44100
44557
  } };
44101
44558
  }
44102
44559
  Object.defineProperty(o, k2, desc);
44103
- } : function(o, m, k, k2) {
44560
+ }) : (function(o, m, k, k2) {
44104
44561
  if (k2 === void 0) k2 = k;
44105
44562
  o[k2] = m[k];
44106
- });
44563
+ }));
44107
44564
  var __exportStar2 = exports2 && exports2.__exportStar || function(m, exports3) {
44108
44565
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
44109
44566
  };
@@ -44114,11 +44571,11 @@ var require_selectors = __commonJS({
44114
44571
  }
44115
44572
  });
44116
44573
 
44117
- // ../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/index.js
44574
+ // ../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/index.js
44118
44575
  var require_dist = __commonJS({
44119
- "../../node_modules/.pnpm/postcss-selector-parser@7.1.4/node_modules/postcss-selector-parser/dist/index.js"(exports2, module2) {
44576
+ "../../node_modules/.pnpm/postcss-selector-parser@7.1.7/node_modules/postcss-selector-parser/dist/index.js"(exports2, module2) {
44120
44577
  "use strict";
44121
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
44578
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
44122
44579
  if (k2 === void 0) k2 = k;
44123
44580
  var desc = Object.getOwnPropertyDescriptor(m, k);
44124
44581
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -44127,16 +44584,16 @@ var require_dist = __commonJS({
44127
44584
  } };
44128
44585
  }
44129
44586
  Object.defineProperty(o, k2, desc);
44130
- } : function(o, m, k, k2) {
44587
+ }) : (function(o, m, k, k2) {
44131
44588
  if (k2 === void 0) k2 = k;
44132
44589
  o[k2] = m[k];
44133
- });
44134
- var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
44590
+ }));
44591
+ var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
44135
44592
  Object.defineProperty(o, "default", { enumerable: true, value: v });
44136
- } : function(o, v) {
44593
+ }) : function(o, v) {
44137
44594
  o["default"] = v;
44138
44595
  });
44139
- var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
44596
+ var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
44140
44597
  var ownKeys = function(o) {
44141
44598
  ownKeys = Object.getOwnPropertyNames || function(o2) {
44142
44599
  var ar = [];
@@ -44154,7 +44611,7 @@ var require_dist = __commonJS({
44154
44611
  __setModuleDefault(result, mod);
44155
44612
  return result;
44156
44613
  };
44157
- }();
44614
+ })();
44158
44615
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
44159
44616
  return mod && mod.__esModule ? mod : { "default": mod };
44160
44617
  };
@@ -45116,7 +45573,7 @@ function scanRegions(source) {
45116
45573
  };
45117
45574
  }
45118
45575
 
45119
- // ../../node_modules/.pnpm/postcss@8.5.15/node_modules/postcss/lib/postcss.mjs
45576
+ // ../../node_modules/.pnpm/postcss@8.5.31/node_modules/postcss/lib/postcss.mjs
45120
45577
  var import_postcss = __toESM(require_postcss(), 1);
45121
45578
  var postcss_default = import_postcss.default;
45122
45579
  var stringify = import_postcss.default.stringify;
@@ -46093,10 +46550,10 @@ var LIB;
46093
46550
  return -1 === r3 || -1 === i2 || 0 === s2 || 1 === s2 && r3 === i2 - 1 && r3 === n3 + 1 ? "" : t3.slice(r3, i2);
46094
46551
  }, format: function(t3) {
46095
46552
  if (null === t3 || "object" != typeof t3) throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof t3);
46096
- return function(t4, e3) {
46553
+ return (function(t4, e3) {
46097
46554
  var r3 = e3.dir || e3.root, n3 = e3.base || (e3.name || "") + (e3.ext || "");
46098
46555
  return r3 ? r3 === e3.root ? r3 + n3 : r3 + "/" + n3 : n3;
46099
- }(0, t3);
46556
+ })(0, t3);
46100
46557
  }, parse: function(t3) {
46101
46558
  e2(t3);
46102
46559
  var r3 = { root: "", dir: "", base: "", ext: "", name: "" };
@@ -46151,9 +46608,9 @@ var LIB;
46151
46608
  query;
46152
46609
  fragment;
46153
46610
  constructor(t2, e2, r2, n2, i2, o2 = false) {
46154
- "object" == typeof t2 ? (this.scheme = t2.scheme || c, this.authority = t2.authority || c, this.path = t2.path || c, this.query = t2.query || c, this.fragment = t2.fragment || c) : (this.scheme = /* @__PURE__ */ function(t3, e3) {
46611
+ "object" == typeof t2 ? (this.scheme = t2.scheme || c, this.authority = t2.authority || c, this.path = t2.path || c, this.query = t2.query || c, this.fragment = t2.fragment || c) : (this.scheme = /* @__PURE__ */ (function(t3, e3) {
46155
46612
  return t3 || e3 ? t3 : "file";
46156
- }(t2, o2), this.authority = e2 || c, this.path = function(t3, e3) {
46613
+ })(t2, o2), this.authority = e2 || c, this.path = (function(t3, e3) {
46157
46614
  switch (t3) {
46158
46615
  case "https":
46159
46616
  case "http":
@@ -46161,7 +46618,7 @@ var LIB;
46161
46618
  e3 ? e3[0] !== f && (e3 = f + e3) : e3 = f;
46162
46619
  }
46163
46620
  return e3;
46164
- }(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a(this, o2));
46621
+ })(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a(this, o2));
46165
46622
  }
46166
46623
  get fsPath() {
46167
46624
  return v(this, false);
@@ -46277,12 +46734,12 @@ var LIB;
46277
46734
  }
46278
46735
  const A = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
46279
46736
  function w(t2) {
46280
- return t2.match(A) ? t2.replace(A, (t3) => C(t3)) : t2;
46737
+ return t2.match(A) ? t2.replace(A, ((t3) => C(t3))) : t2;
46281
46738
  }
46282
46739
  var x = r(975);
46283
46740
  const P = x.posix || x, _ = "/";
46284
46741
  var I;
46285
- !function(t2) {
46742
+ !(function(t2) {
46286
46743
  t2.joinPath = function(t3, ...e2) {
46287
46744
  return t3.with({ path: P.join(t3.path, ...e2) });
46288
46745
  }, t2.resolvePath = function(t3, ...e2) {
@@ -46299,7 +46756,7 @@ var LIB;
46299
46756
  }, t2.extname = function(t3) {
46300
46757
  return P.extname(t3.path);
46301
46758
  };
46302
- }(I || (I = {})), LIB = n;
46759
+ })(I || (I = {})), LIB = n;
46303
46760
  })();
46304
46761
  var { URI: URI2, Utils } = LIB;
46305
46762