@angular/material 20.2.0 → 20.2.2

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 (160) hide show
  1. package/fesm2022/animation.mjs.map +1 -1
  2. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  3. package/fesm2022/autocomplete.mjs +13 -13
  4. package/fesm2022/autocomplete.mjs.map +1 -1
  5. package/fesm2022/badge/testing.mjs.map +1 -1
  6. package/fesm2022/badge.mjs +10 -10
  7. package/fesm2022/badge.mjs.map +1 -1
  8. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  9. package/fesm2022/bottom-sheet.mjs +10 -10
  10. package/fesm2022/bottom-sheet.mjs.map +1 -1
  11. package/fesm2022/button/testing.mjs.map +1 -1
  12. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  13. package/fesm2022/button-toggle.mjs +10 -10
  14. package/fesm2022/button-toggle.mjs.map +1 -1
  15. package/fesm2022/button.mjs +13 -13
  16. package/fesm2022/button.mjs.map +1 -1
  17. package/fesm2022/card/testing.mjs.map +1 -1
  18. package/fesm2022/card.mjs +46 -46
  19. package/fesm2022/card.mjs.map +1 -1
  20. package/fesm2022/checkbox/testing.mjs.map +1 -1
  21. package/fesm2022/checkbox.mjs +7 -7
  22. package/fesm2022/checkbox.mjs.map +1 -1
  23. package/fesm2022/chips/testing.mjs.map +1 -1
  24. package/fesm2022/chips.mjs +43 -43
  25. package/fesm2022/chips.mjs.map +1 -1
  26. package/fesm2022/common-module.mjs +4 -4
  27. package/fesm2022/common-module.mjs.map +1 -1
  28. package/fesm2022/core/testing.mjs.map +1 -1
  29. package/fesm2022/core.mjs +12 -12
  30. package/fesm2022/core.mjs.map +1 -1
  31. package/fesm2022/date-formats.mjs.map +1 -1
  32. package/fesm2022/date-range-input-harness.mjs.map +1 -1
  33. package/fesm2022/datepicker/testing.mjs.map +1 -1
  34. package/fesm2022/datepicker.mjs +84 -83
  35. package/fesm2022/datepicker.mjs.map +1 -1
  36. package/fesm2022/dialog/testing.mjs.map +1 -1
  37. package/fesm2022/dialog-module.mjs +25 -25
  38. package/fesm2022/dialog-module.mjs.map +1 -1
  39. package/fesm2022/dialog.mjs.map +1 -1
  40. package/fesm2022/divider/testing.mjs.map +1 -1
  41. package/fesm2022/divider.mjs +7 -7
  42. package/fesm2022/divider.mjs.map +1 -1
  43. package/fesm2022/error-options.mjs +6 -6
  44. package/fesm2022/error-options.mjs.map +1 -1
  45. package/fesm2022/error-state.mjs.map +1 -1
  46. package/fesm2022/expansion/testing.mjs.map +1 -1
  47. package/fesm2022/expansion.mjs +25 -25
  48. package/fesm2022/expansion.mjs.map +1 -1
  49. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  50. package/fesm2022/form-field/testing.mjs.map +1 -1
  51. package/fesm2022/form-field-module.mjs +4 -4
  52. package/fesm2022/form-field-module.mjs.map +1 -1
  53. package/fesm2022/form-field.mjs.map +1 -1
  54. package/fesm2022/form-field2.mjs +30 -30
  55. package/fesm2022/form-field2.mjs.map +1 -1
  56. package/fesm2022/grid-list/testing.mjs.map +1 -1
  57. package/fesm2022/grid-list.mjs +22 -22
  58. package/fesm2022/grid-list.mjs.map +1 -1
  59. package/fesm2022/icon/testing.mjs +7 -7
  60. package/fesm2022/icon/testing.mjs.map +1 -1
  61. package/fesm2022/icon-button.mjs +6 -6
  62. package/fesm2022/icon-button.mjs.map +1 -1
  63. package/fesm2022/icon-registry.mjs +3 -3
  64. package/fesm2022/icon-registry.mjs.map +1 -1
  65. package/fesm2022/icon.mjs +7 -7
  66. package/fesm2022/icon.mjs.map +1 -1
  67. package/fesm2022/input/testing.mjs.map +1 -1
  68. package/fesm2022/input-harness.mjs.map +1 -1
  69. package/fesm2022/input-value-accessor.mjs.map +1 -1
  70. package/fesm2022/input.mjs +7 -7
  71. package/fesm2022/input.mjs.map +1 -1
  72. package/fesm2022/internal-form-field.mjs +3 -3
  73. package/fesm2022/internal-form-field.mjs.map +1 -1
  74. package/fesm2022/line.mjs +7 -7
  75. package/fesm2022/line.mjs.map +1 -1
  76. package/fesm2022/list/testing.mjs.map +1 -1
  77. package/fesm2022/list.mjs +49 -49
  78. package/fesm2022/list.mjs.map +1 -1
  79. package/fesm2022/material.mjs.map +1 -1
  80. package/fesm2022/menu/testing.mjs.map +1 -1
  81. package/fesm2022/menu.mjs +22 -22
  82. package/fesm2022/menu.mjs.map +1 -1
  83. package/fesm2022/option-harness.mjs.map +1 -1
  84. package/fesm2022/option-module.mjs +4 -4
  85. package/fesm2022/option-module.mjs.map +1 -1
  86. package/fesm2022/option.mjs +6 -6
  87. package/fesm2022/option.mjs.map +1 -1
  88. package/fesm2022/paginator/testing.mjs.map +1 -1
  89. package/fesm2022/paginator.mjs +13 -12
  90. package/fesm2022/paginator.mjs.map +1 -1
  91. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  92. package/fesm2022/progress-bar.mjs +7 -7
  93. package/fesm2022/progress-bar.mjs.map +1 -1
  94. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  95. package/fesm2022/progress-spinner.mjs +7 -7
  96. package/fesm2022/progress-spinner.mjs.map +1 -1
  97. package/fesm2022/pseudo-checkbox-module.mjs +4 -4
  98. package/fesm2022/pseudo-checkbox-module.mjs.map +1 -1
  99. package/fesm2022/pseudo-checkbox.mjs +3 -3
  100. package/fesm2022/pseudo-checkbox.mjs.map +1 -1
  101. package/fesm2022/public-api.mjs.map +1 -1
  102. package/fesm2022/radio/testing.mjs.map +1 -1
  103. package/fesm2022/radio.mjs +10 -10
  104. package/fesm2022/radio.mjs.map +1 -1
  105. package/fesm2022/ripple-loader.mjs +3 -3
  106. package/fesm2022/ripple-loader.mjs.map +1 -1
  107. package/fesm2022/ripple-module.mjs +4 -4
  108. package/fesm2022/ripple-module.mjs.map +1 -1
  109. package/fesm2022/ripple.mjs +6 -6
  110. package/fesm2022/ripple.mjs.map +1 -1
  111. package/fesm2022/select/testing.mjs.map +1 -1
  112. package/fesm2022/select-module.mjs +10 -10
  113. package/fesm2022/select-module.mjs.map +1 -1
  114. package/fesm2022/select.mjs.map +1 -1
  115. package/fesm2022/sidenav/testing.mjs.map +1 -1
  116. package/fesm2022/sidenav.mjs +22 -22
  117. package/fesm2022/sidenav.mjs.map +1 -1
  118. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  119. package/fesm2022/slide-toggle.mjs +7 -7
  120. package/fesm2022/slide-toggle.mjs.map +1 -1
  121. package/fesm2022/slider/testing.mjs.map +1 -1
  122. package/fesm2022/slider.mjs +16 -16
  123. package/fesm2022/slider.mjs.map +1 -1
  124. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  125. package/fesm2022/snack-bar.mjs +22 -22
  126. package/fesm2022/snack-bar.mjs.map +1 -1
  127. package/fesm2022/sort/testing.mjs.map +1 -1
  128. package/fesm2022/sort.mjs +18 -16
  129. package/fesm2022/sort.mjs.map +1 -1
  130. package/fesm2022/stepper/testing.mjs.map +1 -1
  131. package/fesm2022/stepper.mjs +31 -31
  132. package/fesm2022/stepper.mjs.map +1 -1
  133. package/fesm2022/structural-styles.mjs +3 -3
  134. package/fesm2022/structural-styles.mjs.map +1 -1
  135. package/fesm2022/table/testing.mjs.map +1 -1
  136. package/fesm2022/table.mjs +55 -55
  137. package/fesm2022/table.mjs.map +1 -1
  138. package/fesm2022/tabs/testing.mjs.map +1 -1
  139. package/fesm2022/tabs.mjs +43 -43
  140. package/fesm2022/tabs.mjs.map +1 -1
  141. package/fesm2022/timepicker/testing.mjs.map +1 -1
  142. package/fesm2022/timepicker.mjs +13 -13
  143. package/fesm2022/timepicker.mjs.map +1 -1
  144. package/fesm2022/toolbar/testing.mjs.map +1 -1
  145. package/fesm2022/toolbar.mjs +10 -10
  146. package/fesm2022/toolbar.mjs.map +1 -1
  147. package/fesm2022/tooltip/testing.mjs.map +1 -1
  148. package/fesm2022/tooltip-module.mjs +9 -955
  149. package/fesm2022/tooltip-module.mjs.map +1 -1
  150. package/fesm2022/tooltip.mjs +6 -5
  151. package/fesm2022/tooltip.mjs.map +1 -1
  152. package/fesm2022/tooltip2.mjs +954 -0
  153. package/fesm2022/tooltip2.mjs.map +1 -0
  154. package/fesm2022/tree/testing.mjs.map +1 -1
  155. package/fesm2022/tree.mjs +25 -25
  156. package/fesm2022/tree.mjs.map +1 -1
  157. package/package.json +2 -2
  158. package/schematics/ng-add/index.js +1 -1
  159. package/schematics/ng-update/index_bundled.js +303 -152
  160. package/schematics/ng-update/index_bundled.js.map +1 -1
@@ -34,7 +34,10 @@ var __objRest = (source, exclude) => {
34
34
  var __commonJS = (cb, mod) => function __require() {
35
35
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
36
36
  };
37
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
37
+ var __publicField = (obj, key, value) => {
38
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
39
+ return value;
40
+ };
38
41
  var __async = (__this, __arguments, generator) => {
39
42
  return new Promise((resolve, reject) => {
40
43
  var fulfilled = (value) => {
@@ -171,7 +174,8 @@ var require_data = __commonJS({
171
174
  "src/material/schematics/ng-update/data/index.js"(exports2) {
172
175
  "use strict";
173
176
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
174
- if (k2 === void 0) k2 = k;
177
+ if (k2 === void 0)
178
+ k2 = k;
175
179
  var desc = Object.getOwnPropertyDescriptor(m, k);
176
180
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
177
181
  desc = { enumerable: true, get: function() {
@@ -180,11 +184,14 @@ var require_data = __commonJS({
180
184
  }
181
185
  Object.defineProperty(o, k2, desc);
182
186
  } : function(o, m, k, k2) {
183
- if (k2 === void 0) k2 = k;
187
+ if (k2 === void 0)
188
+ k2 = k;
184
189
  o[k2] = m[k];
185
190
  });
186
191
  var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
187
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
192
+ for (var p in m)
193
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
194
+ __createBinding(exports3, m, p);
188
195
  };
189
196
  Object.defineProperty(exports2, "__esModule", { value: true });
190
197
  __exportStar(require_attribute_selectors(), exports2);
@@ -342,8 +349,10 @@ var require_tokenize = __commonJS({
342
349
  return returned.length === 0 && pos >= length;
343
350
  }
344
351
  function nextToken(opts) {
345
- if (returned.length) return returned.pop();
346
- if (pos >= length) return;
352
+ if (returned.length)
353
+ return returned.pop();
354
+ if (pos >= length)
355
+ return;
347
356
  let ignoreUnclosed = opts ? opts.ignoreUnclosed : false;
348
357
  code = css.charCodeAt(pos);
349
358
  switch (code) {
@@ -550,7 +559,8 @@ var require_terminal_highlight = __commonJS({
550
559
  if (!processor.endOfFile()) {
551
560
  let next = processor.nextToken();
552
561
  processor.back(next);
553
- if (next[0] === "brackets" || next[0] === "(") return "call";
562
+ if (next[0] === "brackets" || next[0] === "(")
563
+ return "call";
554
564
  }
555
565
  return type;
556
566
  }
@@ -618,9 +628,11 @@ var require_css_syntax_error = __commonJS({
618
628
  this.message += ": " + this.reason;
619
629
  }
620
630
  showSourceCode(color) {
621
- if (!this.source) return "";
631
+ if (!this.source)
632
+ return "";
622
633
  let css = this.source;
623
- if (color == null) color = pico.isColorSupported;
634
+ if (color == null)
635
+ color = pico.isColorSupported;
624
636
  let aside = (text) => text;
625
637
  let mark = (text) => text;
626
638
  let highlight = (text) => text;
@@ -730,7 +742,8 @@ var require_stringifier = __commonJS({
730
742
  if (value.includes("\n")) {
731
743
  let indent = this.raw(node, null, "indent");
732
744
  if (indent.length) {
733
- for (let step = 0; step < depth; step++) value += indent;
745
+ for (let step = 0; step < depth; step++)
746
+ value += indent;
734
747
  }
735
748
  }
736
749
  return value;
@@ -745,20 +758,23 @@ var require_stringifier = __commonJS({
745
758
  } else {
746
759
  after = this.raw(node, "after", "emptyBody");
747
760
  }
748
- if (after) this.builder(after);
761
+ if (after)
762
+ this.builder(after);
749
763
  this.builder("}", node, "end");
750
764
  }
751
765
  body(node) {
752
766
  let last = node.nodes.length - 1;
753
767
  while (last > 0) {
754
- if (node.nodes[last].type !== "comment") break;
768
+ if (node.nodes[last].type !== "comment")
769
+ break;
755
770
  last -= 1;
756
771
  }
757
772
  let semicolon = this.raw(node, "semicolon");
758
773
  for (let i = 0; i < node.nodes.length; i++) {
759
774
  let child = node.nodes[i];
760
775
  let before = this.raw(child, "before");
761
- if (before) this.builder(before);
776
+ if (before)
777
+ this.builder(before);
762
778
  this.stringify(child, last !== i || semicolon);
763
779
  }
764
780
  }
@@ -773,7 +789,8 @@ var require_stringifier = __commonJS({
773
789
  if (node.important) {
774
790
  string += node.raws.important || " !important";
775
791
  }
776
- if (semicolon) string += ";";
792
+ if (semicolon)
793
+ string += ";";
777
794
  this.builder(string, node);
778
795
  }
779
796
  document(node) {
@@ -781,10 +798,12 @@ var require_stringifier = __commonJS({
781
798
  }
782
799
  raw(node, own, detect) {
783
800
  let value;
784
- if (!detect) detect = own;
801
+ if (!detect)
802
+ detect = own;
785
803
  if (own) {
786
804
  value = node.raws[own];
787
- if (typeof value !== "undefined") return value;
805
+ if (typeof value !== "undefined")
806
+ return value;
788
807
  }
789
808
  let parent = node.parent;
790
809
  if (detect === "before") {
@@ -795,9 +814,11 @@ var require_stringifier = __commonJS({
795
814
  return "";
796
815
  }
797
816
  }
798
- if (!parent) return DEFAULT_RAW[detect];
817
+ if (!parent)
818
+ return DEFAULT_RAW[detect];
799
819
  let root = node.root();
800
- if (!root.rawCache) root.rawCache = {};
820
+ if (!root.rawCache)
821
+ root.rawCache = {};
801
822
  if (typeof root.rawCache[detect] !== "undefined") {
802
823
  return root.rawCache[detect];
803
824
  }
@@ -810,11 +831,13 @@ var require_stringifier = __commonJS({
810
831
  } else {
811
832
  root.walk((i) => {
812
833
  value = i.raws[own];
813
- if (typeof value !== "undefined") return false;
834
+ if (typeof value !== "undefined")
835
+ return false;
814
836
  });
815
837
  }
816
838
  }
817
- if (typeof value === "undefined") value = DEFAULT_RAW[detect];
839
+ if (typeof value === "undefined")
840
+ value = DEFAULT_RAW[detect];
818
841
  root.rawCache[detect] = value;
819
842
  return value;
820
843
  }
@@ -831,7 +854,8 @@ var require_stringifier = __commonJS({
831
854
  }
832
855
  }
833
856
  });
834
- if (value) value = value.replace(/\S/g, "");
857
+ if (value)
858
+ value = value.replace(/\S/g, "");
835
859
  return value;
836
860
  }
837
861
  rawBeforeComment(root, node) {
@@ -875,7 +899,8 @@ var require_stringifier = __commonJS({
875
899
  root.walk((i) => {
876
900
  if (i.type !== "decl") {
877
901
  value = i.raws.between;
878
- if (typeof value !== "undefined") return false;
902
+ if (typeof value !== "undefined")
903
+ return false;
879
904
  }
880
905
  });
881
906
  return value;
@@ -893,7 +918,8 @@ var require_stringifier = __commonJS({
893
918
  }
894
919
  }
895
920
  });
896
- if (value) value = value.replace(/\S/g, "");
921
+ if (value)
922
+ value = value.replace(/\S/g, "");
897
923
  return value;
898
924
  }
899
925
  rawColon(root) {
@@ -911,13 +937,15 @@ var require_stringifier = __commonJS({
911
937
  root.walk((i) => {
912
938
  if (i.nodes && i.nodes.length === 0) {
913
939
  value = i.raws.after;
914
- if (typeof value !== "undefined") return false;
940
+ if (typeof value !== "undefined")
941
+ return false;
915
942
  }
916
943
  });
917
944
  return value;
918
945
  }
919
946
  rawIndent(root) {
920
- if (root.raws.indent) return root.raws.indent;
947
+ if (root.raws.indent)
948
+ return root.raws.indent;
921
949
  let value;
922
950
  root.walk((i) => {
923
951
  let p = i.parent;
@@ -937,7 +965,8 @@ var require_stringifier = __commonJS({
937
965
  root.walk((i) => {
938
966
  if (i.nodes && i.nodes.length && i.last.type === "decl") {
939
967
  value = i.raws.semicolon;
940
- if (typeof value !== "undefined") return false;
968
+ if (typeof value !== "undefined")
969
+ return false;
941
970
  }
942
971
  });
943
972
  return value;
@@ -952,7 +981,8 @@ var require_stringifier = __commonJS({
952
981
  }
953
982
  root(node) {
954
983
  this.body(node);
955
- if (node.raws.after) this.builder(node.raws.after);
984
+ if (node.raws.after)
985
+ this.builder(node.raws.after);
956
986
  }
957
987
  rule(node) {
958
988
  this.block(node, this.rawValue(node, "selector"));
@@ -1011,17 +1041,20 @@ var require_node = __commonJS({
1011
1041
  if (!Object.prototype.hasOwnProperty.call(obj, i)) {
1012
1042
  continue;
1013
1043
  }
1014
- if (i === "proxyCache") continue;
1044
+ if (i === "proxyCache")
1045
+ continue;
1015
1046
  let value = obj[i];
1016
1047
  let type = typeof value;
1017
1048
  if (i === "parent" && type === "object") {
1018
- if (parent) cloned[i] = parent;
1049
+ if (parent)
1050
+ cloned[i] = parent;
1019
1051
  } else if (i === "source") {
1020
1052
  cloned[i] = value;
1021
1053
  } else if (Array.isArray(value)) {
1022
1054
  cloned[i] = value.map((j) => cloneNode(j, cloned));
1023
1055
  } else {
1024
- if (type === "object" && value !== null) value = cloneNode(value);
1056
+ if (type === "object" && value !== null)
1057
+ value = cloneNode(value);
1025
1058
  cloned[i] = value;
1026
1059
  }
1027
1060
  }
@@ -1099,7 +1132,8 @@ var require_node = __commonJS({
1099
1132
  cleanRaws(keepBetween) {
1100
1133
  delete this.raws.before;
1101
1134
  delete this.raws.after;
1102
- if (!keepBetween) delete this.raws.between;
1135
+ if (!keepBetween)
1136
+ delete this.raws.between;
1103
1137
  }
1104
1138
  clone(overrides = {}) {
1105
1139
  let cloned = cloneNode(this);
@@ -1142,7 +1176,8 @@ var require_node = __commonJS({
1142
1176
  }
1143
1177
  },
1144
1178
  set(node, prop, value) {
1145
- if (node[prop] === value) return true;
1179
+ if (node[prop] === value)
1180
+ return true;
1146
1181
  node[prop] = value;
1147
1182
  if (prop === "prop" || prop === "value" || prop === "name" || prop === "params" || prop === "important" || /* c8 ignore next */
1148
1183
  prop === "text") {
@@ -1166,7 +1201,8 @@ var require_node = __commonJS({
1166
1201
  }
1167
1202
  }
1168
1203
  next() {
1169
- if (!this.parent) return void 0;
1204
+ if (!this.parent)
1205
+ return void 0;
1170
1206
  let index = this.parent.index(this);
1171
1207
  return this.parent.nodes[index + 1];
1172
1208
  }
@@ -1181,7 +1217,8 @@ var require_node = __commonJS({
1181
1217
  sourceOffset(inputString, this.source.end)
1182
1218
  );
1183
1219
  let index = stringRepresentation.indexOf(opts.word);
1184
- if (index !== -1) pos = this.positionInside(index);
1220
+ if (index !== -1)
1221
+ pos = this.positionInside(index);
1185
1222
  }
1186
1223
  return pos;
1187
1224
  }
@@ -1202,7 +1239,8 @@ var require_node = __commonJS({
1202
1239
  return { column, line, offset: end };
1203
1240
  }
1204
1241
  prev() {
1205
- if (!this.parent) return void 0;
1242
+ if (!this.parent)
1243
+ return void 0;
1206
1244
  let index = this.parent.index(this);
1207
1245
  return this.parent.nodes[index - 1];
1208
1246
  }
@@ -1318,7 +1356,8 @@ var require_node = __commonJS({
1318
1356
  if (!Object.prototype.hasOwnProperty.call(this, name)) {
1319
1357
  continue;
1320
1358
  }
1321
- if (name === "parent" || name === "proxyCache") continue;
1359
+ if (name === "parent" || name === "proxyCache")
1360
+ continue;
1322
1361
  let value = this[name];
1323
1362
  if (Array.isArray(value)) {
1324
1363
  fixed[name] = value.map((i) => {
@@ -1331,7 +1370,8 @@ var require_node = __commonJS({
1331
1370
  } else if (typeof value === "object" && value.toJSON) {
1332
1371
  fixed[name] = value.toJSON(null, inputs);
1333
1372
  } else if (name === "source") {
1334
- if (value == null) continue;
1373
+ if (value == null)
1374
+ continue;
1335
1375
  let inputId = inputs.get(value.input);
1336
1376
  if (inputId == null) {
1337
1377
  inputId = inputsNextIndex;
@@ -1359,7 +1399,8 @@ var require_node = __commonJS({
1359
1399
  return this.proxyCache;
1360
1400
  }
1361
1401
  toString(stringifier = stringify) {
1362
- if (stringifier.stringify) stringifier = stringifier.stringify;
1402
+ if (stringifier.stringify)
1403
+ stringifier = stringifier.stringify;
1363
1404
  let result = "";
1364
1405
  stringifier(this, (i) => {
1365
1406
  result += i;
@@ -1368,7 +1409,8 @@ var require_node = __commonJS({
1368
1409
  }
1369
1410
  warn(result, text, opts = {}) {
1370
1411
  let data = { node: this };
1371
- for (let i in opts) data[i] = opts[i];
1412
+ for (let i in opts)
1413
+ data[i] = opts[i];
1372
1414
  return result.warn(text, data);
1373
1415
  }
1374
1416
  };
@@ -1429,7 +1471,8 @@ var require_container = __commonJS({
1429
1471
  var Rule;
1430
1472
  function cleanSource(nodes) {
1431
1473
  return nodes.map((i) => {
1432
- if (i.nodes) i.nodes = cleanSource(i.nodes);
1474
+ if (i.nodes)
1475
+ i.nodes = cleanSource(i.nodes);
1433
1476
  delete i.source;
1434
1477
  return i;
1435
1478
  });
@@ -1444,17 +1487,20 @@ var require_container = __commonJS({
1444
1487
  }
1445
1488
  var Container = class _Container extends Node {
1446
1489
  get first() {
1447
- if (!this.proxyOf.nodes) return void 0;
1490
+ if (!this.proxyOf.nodes)
1491
+ return void 0;
1448
1492
  return this.proxyOf.nodes[0];
1449
1493
  }
1450
1494
  get last() {
1451
- if (!this.proxyOf.nodes) return void 0;
1495
+ if (!this.proxyOf.nodes)
1496
+ return void 0;
1452
1497
  return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
1453
1498
  }
1454
1499
  append(...children) {
1455
1500
  for (let child of children) {
1456
1501
  let nodes = this.normalize(child, this.last);
1457
- for (let node of nodes) this.proxyOf.nodes.push(node);
1502
+ for (let node of nodes)
1503
+ this.proxyOf.nodes.push(node);
1458
1504
  }
1459
1505
  this.markDirty();
1460
1506
  return this;
@@ -1462,17 +1508,20 @@ var require_container = __commonJS({
1462
1508
  cleanRaws(keepBetween) {
1463
1509
  super.cleanRaws(keepBetween);
1464
1510
  if (this.nodes) {
1465
- for (let node of this.nodes) node.cleanRaws(keepBetween);
1511
+ for (let node of this.nodes)
1512
+ node.cleanRaws(keepBetween);
1466
1513
  }
1467
1514
  }
1468
1515
  each(callback) {
1469
- if (!this.proxyOf.nodes) return void 0;
1516
+ if (!this.proxyOf.nodes)
1517
+ return void 0;
1470
1518
  let iterator = this.getIterator();
1471
1519
  let index, result;
1472
1520
  while (this.indexes[iterator] < this.proxyOf.nodes.length) {
1473
1521
  index = this.indexes[iterator];
1474
1522
  result = callback(this.proxyOf.nodes[index], index);
1475
- if (result === false) break;
1523
+ if (result === false)
1524
+ break;
1476
1525
  this.indexes[iterator] += 1;
1477
1526
  }
1478
1527
  delete this.indexes[iterator];
@@ -1482,8 +1531,10 @@ var require_container = __commonJS({
1482
1531
  return this.nodes.every(condition);
1483
1532
  }
1484
1533
  getIterator() {
1485
- if (!this.lastEach) this.lastEach = 0;
1486
- if (!this.indexes) this.indexes = {};
1534
+ if (!this.lastEach)
1535
+ this.lastEach = 0;
1536
+ if (!this.indexes)
1537
+ this.indexes = {};
1487
1538
  this.lastEach += 1;
1488
1539
  let iterator = this.lastEach;
1489
1540
  this.indexes[iterator] = 0;
@@ -1525,7 +1576,8 @@ var require_container = __commonJS({
1525
1576
  }
1526
1577
  },
1527
1578
  set(node, prop, value) {
1528
- if (node[prop] === value) return true;
1579
+ if (node[prop] === value)
1580
+ return true;
1529
1581
  node[prop] = value;
1530
1582
  if (prop === "name" || prop === "params" || prop === "selector") {
1531
1583
  node.markDirty();
@@ -1535,15 +1587,18 @@ var require_container = __commonJS({
1535
1587
  };
1536
1588
  }
1537
1589
  index(child) {
1538
- if (typeof child === "number") return child;
1539
- if (child.proxyOf) child = child.proxyOf;
1590
+ if (typeof child === "number")
1591
+ return child;
1592
+ if (child.proxyOf)
1593
+ child = child.proxyOf;
1540
1594
  return this.proxyOf.nodes.indexOf(child);
1541
1595
  }
1542
1596
  insertAfter(exist, add) {
1543
1597
  let existIndex = this.index(exist);
1544
1598
  let nodes = this.normalize(add, this.proxyOf.nodes[existIndex]).reverse();
1545
1599
  existIndex = this.index(exist);
1546
- for (let node of nodes) this.proxyOf.nodes.splice(existIndex + 1, 0, node);
1600
+ for (let node of nodes)
1601
+ this.proxyOf.nodes.splice(existIndex + 1, 0, node);
1547
1602
  let index;
1548
1603
  for (let id in this.indexes) {
1549
1604
  index = this.indexes[id];
@@ -1563,7 +1618,8 @@ var require_container = __commonJS({
1563
1618
  type
1564
1619
  ).reverse();
1565
1620
  existIndex = this.index(exist);
1566
- for (let node of nodes) this.proxyOf.nodes.splice(existIndex, 0, node);
1621
+ for (let node of nodes)
1622
+ this.proxyOf.nodes.splice(existIndex, 0, node);
1567
1623
  let index;
1568
1624
  for (let id in this.indexes) {
1569
1625
  index = this.indexes[id];
@@ -1582,12 +1638,14 @@ var require_container = __commonJS({
1582
1638
  } else if (Array.isArray(nodes)) {
1583
1639
  nodes = nodes.slice(0);
1584
1640
  for (let i of nodes) {
1585
- if (i.parent) i.parent.removeChild(i, "ignore");
1641
+ if (i.parent)
1642
+ i.parent.removeChild(i, "ignore");
1586
1643
  }
1587
1644
  } else if (nodes.type === "root" && this.type !== "document") {
1588
1645
  nodes = nodes.nodes.slice(0);
1589
1646
  for (let i of nodes) {
1590
- if (i.parent) i.parent.removeChild(i, "ignore");
1647
+ if (i.parent)
1648
+ i.parent.removeChild(i, "ignore");
1591
1649
  }
1592
1650
  } else if (nodes.type) {
1593
1651
  nodes = [nodes];
@@ -1608,11 +1666,15 @@ var require_container = __commonJS({
1608
1666
  throw new Error("Unknown node type in node creation");
1609
1667
  }
1610
1668
  let processed = nodes.map((i) => {
1611
- if (!i[my]) _Container.rebuild(i);
1669
+ if (!i[my])
1670
+ _Container.rebuild(i);
1612
1671
  i = i.proxyOf;
1613
- if (i.parent) i.parent.removeChild(i);
1614
- if (i[isClean]) markTreeDirty(i);
1615
- if (!i.raws) i.raws = {};
1672
+ if (i.parent)
1673
+ i.parent.removeChild(i);
1674
+ if (i[isClean])
1675
+ markTreeDirty(i);
1676
+ if (!i.raws)
1677
+ i.raws = {};
1616
1678
  if (typeof i.raws.before === "undefined") {
1617
1679
  if (sample && typeof sample.raws.before !== "undefined") {
1618
1680
  i.raws.before = sample.raws.before.replace(/\S/g, "");
@@ -1627,7 +1689,8 @@ var require_container = __commonJS({
1627
1689
  children = children.reverse();
1628
1690
  for (let child of children) {
1629
1691
  let nodes = this.normalize(child, this.first, "prepend").reverse();
1630
- for (let node of nodes) this.proxyOf.nodes.unshift(node);
1692
+ for (let node of nodes)
1693
+ this.proxyOf.nodes.unshift(node);
1631
1694
  for (let id in this.indexes) {
1632
1695
  this.indexes[id] = this.indexes[id] + nodes.length;
1633
1696
  }
@@ -1641,7 +1704,8 @@ var require_container = __commonJS({
1641
1704
  return this;
1642
1705
  }
1643
1706
  removeAll() {
1644
- for (let node of this.proxyOf.nodes) node.parent = void 0;
1707
+ for (let node of this.proxyOf.nodes)
1708
+ node.parent = void 0;
1645
1709
  this.proxyOf.nodes = [];
1646
1710
  this.markDirty();
1647
1711
  return this;
@@ -1666,8 +1730,10 @@ var require_container = __commonJS({
1666
1730
  opts = {};
1667
1731
  }
1668
1732
  this.walkDecls((decl) => {
1669
- if (opts.props && !opts.props.includes(decl.prop)) return;
1670
- if (opts.fast && !decl.value.includes(opts.fast)) return;
1733
+ if (opts.props && !opts.props.includes(decl.prop))
1734
+ return;
1735
+ if (opts.fast && !decl.value.includes(opts.fast))
1736
+ return;
1671
1737
  decl.value = decl.value.replace(pattern, callback);
1672
1738
  });
1673
1739
  this.markDirty();
@@ -1811,11 +1877,13 @@ var require_at_rule = __commonJS({
1811
1877
  this.type = "atrule";
1812
1878
  }
1813
1879
  append(...children) {
1814
- if (!this.proxyOf.nodes) this.nodes = [];
1880
+ if (!this.proxyOf.nodes)
1881
+ this.nodes = [];
1815
1882
  return super.append(...children);
1816
1883
  }
1817
1884
  prepend(...children) {
1818
- if (!this.proxyOf.nodes) this.nodes = [];
1885
+ if (!this.proxyOf.nodes)
1886
+ this.nodes = [];
1819
1887
  return super.prepend(...children);
1820
1888
  }
1821
1889
  };
@@ -3526,7 +3594,8 @@ var require_source_node = __commonJS({
3526
3594
  this.source = aSource == null ? null : aSource;
3527
3595
  this.name = aName == null ? null : aName;
3528
3596
  this[isSourceNode] = true;
3529
- if (aChunks != null) this.add(aChunks);
3597
+ if (aChunks != null)
3598
+ this.add(aChunks);
3530
3599
  }
3531
3600
  SourceNode.fromStringWithSourceMap = function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {
3532
3601
  var node = new SourceNode();
@@ -3800,7 +3869,8 @@ var require_previous_map = __commonJS({
3800
3869
  }
3801
3870
  var PreviousMap = class {
3802
3871
  constructor(css, opts) {
3803
- if (opts.map === false) return;
3872
+ if (opts.map === false)
3873
+ return;
3804
3874
  this.loadAnnotation(css);
3805
3875
  this.inline = this.startWith(this.annotation, "data:");
3806
3876
  let prev = opts.map ? opts.map.prev : void 0;
@@ -3808,8 +3878,10 @@ var require_previous_map = __commonJS({
3808
3878
  if (!this.mapFile && opts.from) {
3809
3879
  this.mapFile = opts.from;
3810
3880
  }
3811
- if (this.mapFile) this.root = dirname(this.mapFile);
3812
- if (text) this.text = text;
3881
+ if (this.mapFile)
3882
+ this.root = dirname(this.mapFile);
3883
+ if (text)
3884
+ this.text = text;
3813
3885
  }
3814
3886
  consumer() {
3815
3887
  if (!this.consumerCache) {
@@ -3837,12 +3909,14 @@ var require_previous_map = __commonJS({
3837
3909
  return sourceMapString.replace(/^\/\*\s*# sourceMappingURL=/, "").trim();
3838
3910
  }
3839
3911
  isMap(map) {
3840
- if (typeof map !== "object") return false;
3912
+ if (typeof map !== "object")
3913
+ return false;
3841
3914
  return typeof map.mappings === "string" || typeof map._mappings === "string" || Array.isArray(map.sections);
3842
3915
  }
3843
3916
  loadAnnotation(css) {
3844
3917
  let comments = css.match(/\/\*\s*# sourceMappingURL=/g);
3845
- if (!comments) return;
3918
+ if (!comments)
3919
+ return;
3846
3920
  let start = css.lastIndexOf(comments.pop());
3847
3921
  let end = css.indexOf("*/", start);
3848
3922
  if (start > -1 && end > -1) {
@@ -3857,7 +3931,8 @@ var require_previous_map = __commonJS({
3857
3931
  }
3858
3932
  }
3859
3933
  loadMap(file, prev) {
3860
- if (prev === false) return false;
3934
+ if (prev === false)
3935
+ return false;
3861
3936
  if (prev) {
3862
3937
  if (typeof prev === "string") {
3863
3938
  return prev;
@@ -3887,12 +3962,14 @@ var require_previous_map = __commonJS({
3887
3962
  return this.decodeInline(this.annotation);
3888
3963
  } else if (this.annotation) {
3889
3964
  let map = this.annotation;
3890
- if (file) map = join(dirname(file), map);
3965
+ if (file)
3966
+ map = join(dirname(file), map);
3891
3967
  return this.loadFile(map);
3892
3968
  }
3893
3969
  }
3894
3970
  startWith(string, start) {
3895
- if (!string) return false;
3971
+ if (!string)
3972
+ return false;
3896
3973
  return string.substr(0, start.length) === start;
3897
3974
  }
3898
3975
  withContent() {
@@ -3919,7 +3996,8 @@ var require_input = __commonJS({
3919
3996
  var sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator);
3920
3997
  var pathAvailable = Boolean(resolve && isAbsolute);
3921
3998
  function getLineToIndex(input) {
3922
- if (input[lineToIndexCache]) return input[lineToIndexCache];
3999
+ if (input[lineToIndexCache])
4000
+ return input[lineToIndexCache];
3923
4001
  let lines = input.css.split("\n");
3924
4002
  let lineToIndex = new Array(lines.length);
3925
4003
  let prevIndex = 0;
@@ -3946,7 +4024,8 @@ var require_input = __commonJS({
3946
4024
  this.hasBOM = false;
3947
4025
  }
3948
4026
  this.document = this.css;
3949
- if (opts.document) this.document = opts.document.toString();
4027
+ if (opts.document)
4028
+ this.document = opts.document.toString();
3950
4029
  if (opts.from) {
3951
4030
  if (!pathAvailable || /^\w+:\/\//.test(opts.from) || isAbsolute(opts.from)) {
3952
4031
  this.file = opts.from;
@@ -3959,13 +4038,15 @@ var require_input = __commonJS({
3959
4038
  if (map.text) {
3960
4039
  this.map = map;
3961
4040
  let file = map.consumer().file;
3962
- if (!this.file && file) this.file = this.mapResolve(file);
4041
+ if (!this.file && file)
4042
+ this.file = this.mapResolve(file);
3963
4043
  }
3964
4044
  }
3965
4045
  if (!this.file) {
3966
4046
  this.id = "<input css " + nanoid(6) + ">";
3967
4047
  }
3968
- if (this.map) this.map.file = this.from;
4048
+ if (this.map)
4049
+ this.map.file = this.from;
3969
4050
  }
3970
4051
  error(message, line, column, opts = {}) {
3971
4052
  let endColumn, endLine, endOffset, offset, result;
@@ -4067,10 +4148,12 @@ var require_input = __commonJS({
4067
4148
  return resolve(this.map.consumer().sourceRoot || this.map.root || ".", file);
4068
4149
  }
4069
4150
  origin(line, column, endLine, endColumn) {
4070
- if (!this.map) return false;
4151
+ if (!this.map)
4152
+ return false;
4071
4153
  let consumer = this.map.consumer();
4072
4154
  let from = consumer.originalPositionFor({ column, line });
4073
- if (!from.source) return false;
4155
+ if (!from.source)
4156
+ return false;
4074
4157
  let to;
4075
4158
  if (typeof endLine === "number") {
4076
4159
  to = consumer.originalPositionFor({ column: endColumn, line: endLine });
@@ -4099,7 +4182,8 @@ var require_input = __commonJS({
4099
4182
  }
4100
4183
  }
4101
4184
  let source = consumer.sourceContentFor(from.source);
4102
- if (source) result.source = source;
4185
+ if (source)
4186
+ result.source = source;
4103
4187
  return result;
4104
4188
  }
4105
4189
  toJSON() {
@@ -4137,7 +4221,8 @@ var require_root = __commonJS({
4137
4221
  constructor(defaults) {
4138
4222
  super(defaults);
4139
4223
  this.type = "root";
4140
- if (!this.nodes) this.nodes = [];
4224
+ if (!this.nodes)
4225
+ this.nodes = [];
4141
4226
  }
4142
4227
  normalize(child, sample, type) {
4143
4228
  let nodes = super.normalize(child);
@@ -4215,19 +4300,23 @@ var require_list = __commonJS({
4215
4300
  } else if (letter === "(") {
4216
4301
  func += 1;
4217
4302
  } else if (letter === ")") {
4218
- if (func > 0) func -= 1;
4303
+ if (func > 0)
4304
+ func -= 1;
4219
4305
  } else if (func === 0) {
4220
- if (separators.includes(letter)) split = true;
4306
+ if (separators.includes(letter))
4307
+ split = true;
4221
4308
  }
4222
4309
  if (split) {
4223
- if (current !== "") array.push(current.trim());
4310
+ if (current !== "")
4311
+ array.push(current.trim());
4224
4312
  current = "";
4225
4313
  split = false;
4226
4314
  } else {
4227
4315
  current += letter;
4228
4316
  }
4229
4317
  }
4230
- if (last || current !== "") array.push(current.trim());
4318
+ if (last || current !== "")
4319
+ array.push(current.trim());
4231
4320
  return array;
4232
4321
  }
4233
4322
  };
@@ -4254,7 +4343,8 @@ var require_rule = __commonJS({
4254
4343
  constructor(defaults) {
4255
4344
  super(defaults);
4256
4345
  this.type = "rule";
4257
- if (!this.nodes) this.nodes = [];
4346
+ if (!this.nodes)
4347
+ this.nodes = [];
4258
4348
  }
4259
4349
  };
4260
4350
  module2.exports = Rule;
@@ -4275,7 +4365,8 @@ var require_fromJSON = __commonJS({
4275
4365
  var Root = require_root();
4276
4366
  var Rule = require_rule();
4277
4367
  function fromJSON(json, inputs) {
4278
- if (Array.isArray(json)) return json.map((n) => fromJSON(n));
4368
+ if (Array.isArray(json))
4369
+ return json.map((n) => fromJSON(n));
4279
4370
  let _a = json, { inputs: ownInputs } = _a, defaults = __objRest(_a, ["inputs"]);
4280
4371
  if (ownInputs) {
4281
4372
  inputs = [];
@@ -4353,7 +4444,8 @@ var require_map_generator = __commonJS({
4353
4444
  content = this.outputFile() + ".map";
4354
4445
  }
4355
4446
  let eol = "\n";
4356
- if (this.css.includes("\r\n")) eol = "\r\n";
4447
+ if (this.css.includes("\r\n"))
4448
+ eol = "\r\n";
4357
4449
  this.css += eol + "/*# sourceMappingURL=" + content + " */";
4358
4450
  }
4359
4451
  applyPrevMaps() {
@@ -4373,12 +4465,14 @@ var require_map_generator = __commonJS({
4373
4465
  }
4374
4466
  }
4375
4467
  clearAnnotation() {
4376
- if (this.mapOpts.annotation === false) return;
4468
+ if (this.mapOpts.annotation === false)
4469
+ return;
4377
4470
  if (this.root) {
4378
4471
  let node;
4379
4472
  for (let i = this.root.nodes.length - 1; i >= 0; i--) {
4380
4473
  node = this.root.nodes[i];
4381
- if (node.type !== "comment") continue;
4474
+ if (node.type !== "comment")
4475
+ continue;
4382
4476
  if (node.text.startsWith("# sourceMappingURL=")) {
4383
4477
  this.root.removeChild(i);
4384
4478
  }
@@ -4419,9 +4513,12 @@ var require_map_generator = __commonJS({
4419
4513
  source: this.opts.from ? this.toUrl(this.path(this.opts.from)) : "<no source>"
4420
4514
  });
4421
4515
  }
4422
- if (this.isSourcesContent()) this.setSourcesContent();
4423
- if (this.root && this.previous().length > 0) this.applyPrevMaps();
4424
- if (this.isAnnotation()) this.addAnnotation();
4516
+ if (this.isSourcesContent())
4517
+ this.setSourcesContent();
4518
+ if (this.root && this.previous().length > 0)
4519
+ this.applyPrevMaps();
4520
+ if (this.isAnnotation())
4521
+ this.addAnnotation();
4425
4522
  if (this.isInline()) {
4426
4523
  return [this.css];
4427
4524
  } else {
@@ -4541,11 +4638,15 @@ var require_map_generator = __commonJS({
4541
4638
  }
4542
4639
  }
4543
4640
  path(file) {
4544
- if (this.mapOpts.absolute) return file;
4545
- if (file.charCodeAt(0) === 60) return file;
4546
- if (/^\w+:\/\//.test(file)) return file;
4641
+ if (this.mapOpts.absolute)
4642
+ return file;
4643
+ if (file.charCodeAt(0) === 60)
4644
+ return file;
4645
+ if (/^\w+:\/\//.test(file))
4646
+ return file;
4547
4647
  let cached = this.memoizedPaths.get(file);
4548
- if (cached) return cached;
4648
+ if (cached)
4649
+ return cached;
4549
4650
  let from = this.opts.to ? dirname(this.opts.to) : ".";
4550
4651
  if (typeof this.mapOpts.annotation === "string") {
4551
4652
  from = dirname(resolve(from, this.mapOpts.annotation));
@@ -4568,7 +4669,8 @@ var require_map_generator = __commonJS({
4568
4669
  });
4569
4670
  } else {
4570
4671
  let input = new Input(this.originalCSS, this.opts);
4571
- if (input.map) this.previousMaps.push(input.map);
4672
+ if (input.map)
4673
+ this.previousMaps.push(input.map);
4572
4674
  }
4573
4675
  }
4574
4676
  return this.previousMaps;
@@ -4609,7 +4711,8 @@ var require_map_generator = __commonJS({
4609
4711
  }
4610
4712
  toFileUrl(path) {
4611
4713
  let cached = this.memoizedFileURLs.get(path);
4612
- if (cached) return cached;
4714
+ if (cached)
4715
+ return cached;
4613
4716
  if (pathToFileURL) {
4614
4717
  let fileURL = pathToFileURL(path).toString();
4615
4718
  this.memoizedFileURLs.set(path, fileURL);
@@ -4622,7 +4725,8 @@ var require_map_generator = __commonJS({
4622
4725
  }
4623
4726
  toUrl(path) {
4624
4727
  let cached = this.memoizedURLs.get(path);
4625
- if (cached) return cached;
4728
+ if (cached)
4729
+ return cached;
4626
4730
  if (sep === "\\") {
4627
4731
  path = path.replace(/\\/g, "/");
4628
4732
  }
@@ -4653,7 +4757,8 @@ var require_parser = __commonJS({
4653
4757
  for (let i = tokens.length - 1; i >= 0; i--) {
4654
4758
  let token = tokens[i];
4655
4759
  let pos = token[3] || token[2];
4656
- if (pos) return pos;
4760
+ if (pos)
4761
+ return pos;
4657
4762
  }
4658
4763
  }
4659
4764
  var Parser = class {
@@ -4746,14 +4851,16 @@ var require_parser = __commonJS({
4746
4851
  }
4747
4852
  checkMissedSemicolon(tokens) {
4748
4853
  let colon = this.colon(tokens);
4749
- if (colon === false) return;
4854
+ if (colon === false)
4855
+ return;
4750
4856
  let founded = 0;
4751
4857
  let token;
4752
4858
  for (let j = colon - 1; j >= 0; j--) {
4753
4859
  token = tokens[j];
4754
4860
  if (token[0] !== "space") {
4755
4861
  founded += 1;
4756
- if (founded === 2) break;
4862
+ if (founded === 2)
4863
+ break;
4757
4864
  }
4758
4865
  }
4759
4866
  throw this.input.error(
@@ -4819,7 +4926,8 @@ var require_parser = __commonJS({
4819
4926
  );
4820
4927
  node.source.end.offset++;
4821
4928
  while (tokens[0][0] !== "word") {
4822
- if (tokens.length === 1) this.unknownWord(tokens);
4929
+ if (tokens.length === 1)
4930
+ this.unknownWord(tokens);
4823
4931
  node.raws.before += tokens.shift()[1];
4824
4932
  }
4825
4933
  node.source.start = this.getPosition(tokens[0][2]);
@@ -4853,7 +4961,8 @@ var require_parser = __commonJS({
4853
4961
  let next;
4854
4962
  while (tokens.length) {
4855
4963
  next = tokens[0][0];
4856
- if (next !== "space" && next !== "comment") break;
4964
+ if (next !== "space" && next !== "comment")
4965
+ break;
4857
4966
  firstSpaces.push(tokens.shift());
4858
4967
  }
4859
4968
  this.precheckMissedSemicolon(tokens);
@@ -4863,7 +4972,8 @@ var require_parser = __commonJS({
4863
4972
  node.important = true;
4864
4973
  let string = this.stringFrom(tokens, i);
4865
4974
  string = this.spacesFromEnd(tokens) + string;
4866
- if (string !== " !important") node.raws.important = string;
4975
+ if (string !== " !important")
4976
+ node.raws.important = string;
4867
4977
  break;
4868
4978
  } else if (token[1].toLowerCase() === "important") {
4869
4979
  let cache = tokens.slice(0);
@@ -4925,7 +5035,8 @@ var require_parser = __commonJS({
4925
5035
  }
4926
5036
  }
4927
5037
  endFile() {
4928
- if (this.current.parent) this.unclosedBlock();
5038
+ if (this.current.parent)
5039
+ this.unclosedBlock();
4929
5040
  if (this.current.nodes && this.current.nodes.length) {
4930
5041
  this.current.raws.semicolon = this.semicolon;
4931
5042
  }
@@ -4961,7 +5072,8 @@ var require_parser = __commonJS({
4961
5072
  };
4962
5073
  node.raws.before = this.spaces;
4963
5074
  this.spaces = "";
4964
- if (node.type !== "comment") this.semicolon = false;
5075
+ if (node.type !== "comment")
5076
+ this.semicolon = false;
4965
5077
  }
4966
5078
  other(start) {
4967
5079
  let end = false;
@@ -4976,10 +5088,12 @@ var require_parser = __commonJS({
4976
5088
  type = token[0];
4977
5089
  tokens.push(token);
4978
5090
  if (type === "(" || type === "[") {
4979
- if (!bracket) bracket = token;
5091
+ if (!bracket)
5092
+ bracket = token;
4980
5093
  brackets.push(type === "(" ? ")" : "]");
4981
5094
  } else if (customProperty && colon && type === "{") {
4982
- if (!bracket) bracket = token;
5095
+ if (!bracket)
5096
+ bracket = token;
4983
5097
  brackets.push("}");
4984
5098
  } else if (brackets.length === 0) {
4985
5099
  if (type === ";") {
@@ -5001,17 +5115,21 @@ var require_parser = __commonJS({
5001
5115
  }
5002
5116
  } else if (type === brackets[brackets.length - 1]) {
5003
5117
  brackets.pop();
5004
- if (brackets.length === 0) bracket = null;
5118
+ if (brackets.length === 0)
5119
+ bracket = null;
5005
5120
  }
5006
5121
  token = this.tokenizer.nextToken();
5007
5122
  }
5008
- if (this.tokenizer.endOfFile()) end = true;
5009
- if (brackets.length > 0) this.unclosedBracket(bracket);
5123
+ if (this.tokenizer.endOfFile())
5124
+ end = true;
5125
+ if (brackets.length > 0)
5126
+ this.unclosedBracket(bracket);
5010
5127
  if (end && colon) {
5011
5128
  if (!customProperty) {
5012
5129
  while (tokens.length) {
5013
5130
  token = tokens[tokens.length - 1][0];
5014
- if (token !== "space" && token !== "comment") break;
5131
+ if (token !== "space" && token !== "comment")
5132
+ break;
5015
5133
  this.tokenizer.back(tokens.pop());
5016
5134
  }
5017
5135
  }
@@ -5098,7 +5216,8 @@ var require_parser = __commonJS({
5098
5216
  let spaces = "";
5099
5217
  while (tokens.length) {
5100
5218
  lastTokenType = tokens[tokens.length - 1][0];
5101
- if (lastTokenType !== "space" && lastTokenType !== "comment") break;
5219
+ if (lastTokenType !== "space" && lastTokenType !== "comment")
5220
+ break;
5102
5221
  spaces = tokens.pop()[1] + spaces;
5103
5222
  }
5104
5223
  return spaces;
@@ -5109,7 +5228,8 @@ var require_parser = __commonJS({
5109
5228
  let spaces = "";
5110
5229
  while (tokens.length) {
5111
5230
  next = tokens[0][0];
5112
- if (next !== "space" && next !== "comment") break;
5231
+ if (next !== "space" && next !== "comment")
5232
+ break;
5113
5233
  spaces += tokens.shift()[1];
5114
5234
  }
5115
5235
  return spaces;
@@ -5119,7 +5239,8 @@ var require_parser = __commonJS({
5119
5239
  let spaces = "";
5120
5240
  while (tokens.length) {
5121
5241
  lastTokenType = tokens[tokens.length - 1][0];
5122
- if (lastTokenType !== "space") break;
5242
+ if (lastTokenType !== "space")
5243
+ break;
5123
5244
  spaces = tokens.pop()[1] + spaces;
5124
5245
  }
5125
5246
  return spaces;
@@ -5218,7 +5339,8 @@ var require_warning = __commonJS({
5218
5339
  this.endLine = range.end.line;
5219
5340
  this.endColumn = range.end.column;
5220
5341
  }
5221
- for (let opt in opts) this[opt] = opts[opt];
5342
+ for (let opt in opts)
5343
+ this[opt] = opts[opt];
5222
5344
  }
5223
5345
  toString() {
5224
5346
  if (this.node) {
@@ -5284,7 +5406,8 @@ var require_warn_once = __commonJS({
5284
5406
  "use strict";
5285
5407
  var printed = {};
5286
5408
  module2.exports = function warnOnce(message) {
5287
- if (printed[message]) return;
5409
+ if (printed[message])
5410
+ return;
5288
5411
  printed[message] = true;
5289
5412
  if (typeof console !== "undefined" && console.warn) {
5290
5413
  console.warn(message);
@@ -5385,7 +5508,8 @@ var require_lazy_result = __commonJS({
5385
5508
  }
5386
5509
  function cleanMarks(node) {
5387
5510
  node[isClean] = false;
5388
- if (node.nodes) node.nodes.forEach((i) => cleanMarks(i));
5511
+ if (node.nodes)
5512
+ node.nodes.forEach((i) => cleanMarks(i));
5389
5513
  return node;
5390
5514
  }
5391
5515
  var postcss = {};
@@ -5423,15 +5547,20 @@ var require_lazy_result = __commonJS({
5423
5547
  } else if (css instanceof _LazyResult || css instanceof Result) {
5424
5548
  root = cleanMarks(css.root);
5425
5549
  if (css.map) {
5426
- if (typeof opts.map === "undefined") opts.map = {};
5427
- if (!opts.map.inline) opts.map.inline = false;
5550
+ if (typeof opts.map === "undefined")
5551
+ opts.map = {};
5552
+ if (!opts.map.inline)
5553
+ opts.map.inline = false;
5428
5554
  opts.map.prev = css.map;
5429
5555
  }
5430
5556
  } else {
5431
5557
  let parser = parse;
5432
- if (opts.syntax) parser = opts.syntax.parse;
5433
- if (opts.parser) parser = opts.parser;
5434
- if (parser.parse) parser = parser.parse;
5558
+ if (opts.syntax)
5559
+ parser = opts.syntax.parse;
5560
+ if (opts.parser)
5561
+ parser = opts.parser;
5562
+ if (parser.parse)
5563
+ parser = parser.parse;
5435
5564
  try {
5436
5565
  root = parser(css, opts);
5437
5566
  } catch (error) {
@@ -5453,8 +5582,10 @@ var require_lazy_result = __commonJS({
5453
5582
  });
5454
5583
  }
5455
5584
  async() {
5456
- if (this.error) return Promise.reject(this.error);
5457
- if (this.processed) return Promise.resolve(this.result);
5585
+ if (this.error)
5586
+ return Promise.reject(this.error);
5587
+ if (this.processed)
5588
+ return Promise.resolve(this.result);
5458
5589
  if (!this.processing) {
5459
5590
  this.processing = this.runAsync();
5460
5591
  }
@@ -5472,7 +5603,8 @@ var require_lazy_result = __commonJS({
5472
5603
  handleError(error, node) {
5473
5604
  let plugin = this.result.lastPlugin;
5474
5605
  try {
5475
- if (node) node.addToError(error);
5606
+ if (node)
5607
+ node.addToError(error);
5476
5608
  this.error = error;
5477
5609
  if (error.name === "CssSyntaxError" && !error.plugin) {
5478
5610
  error.plugin = plugin.postcssPlugin;
@@ -5492,14 +5624,16 @@ var require_lazy_result = __commonJS({
5492
5624
  }
5493
5625
  }
5494
5626
  } catch (err) {
5495
- if (console && console.error) console.error(err);
5627
+ if (console && console.error)
5628
+ console.error(err);
5496
5629
  }
5497
5630
  return error;
5498
5631
  }
5499
5632
  prepareVisitors() {
5500
5633
  this.listeners = {};
5501
5634
  let add = (plugin, type, cb) => {
5502
- if (!this.listeners[type]) this.listeners[type] = [];
5635
+ if (!this.listeners[type])
5636
+ this.listeners[type] = [];
5503
5637
  this.listeners[type].push([plugin, cb]);
5504
5638
  };
5505
5639
  for (let plugin of this.plugins) {
@@ -5608,15 +5742,20 @@ var require_lazy_result = __commonJS({
5608
5742
  }
5609
5743
  }
5610
5744
  stringify() {
5611
- if (this.error) throw this.error;
5612
- if (this.stringified) return this.result;
5745
+ if (this.error)
5746
+ throw this.error;
5747
+ if (this.stringified)
5748
+ return this.result;
5613
5749
  this.stringified = true;
5614
5750
  this.sync();
5615
5751
  let opts = this.result.opts;
5616
5752
  let str = stringify;
5617
- if (opts.syntax) str = opts.syntax.stringify;
5618
- if (opts.stringifier) str = opts.stringifier;
5619
- if (str.stringify) str = str.stringify;
5753
+ if (opts.syntax)
5754
+ str = opts.syntax.stringify;
5755
+ if (opts.stringifier)
5756
+ str = opts.stringifier;
5757
+ if (str.stringify)
5758
+ str = str.stringify;
5620
5759
  let map = new MapGenerator(str, this.result.root, this.result.opts);
5621
5760
  let data = map.generate();
5622
5761
  this.result.css = data[0];
@@ -5624,8 +5763,10 @@ var require_lazy_result = __commonJS({
5624
5763
  return this.result;
5625
5764
  }
5626
5765
  sync() {
5627
- if (this.error) throw this.error;
5628
- if (this.processed) return this.result;
5766
+ if (this.error)
5767
+ throw this.error;
5768
+ if (this.processed)
5769
+ return this.result;
5629
5770
  this.processed = true;
5630
5771
  if (this.processing) {
5631
5772
  throw this.getAsyncError();
@@ -5744,13 +5885,15 @@ var require_lazy_result = __commonJS({
5744
5885
  if (event === CHILDREN) {
5745
5886
  if (node.nodes) {
5746
5887
  node.each((child) => {
5747
- if (!child[isClean]) this.walkSync(child);
5888
+ if (!child[isClean])
5889
+ this.walkSync(child);
5748
5890
  });
5749
5891
  }
5750
5892
  } else {
5751
5893
  let visitors = this.listeners[event];
5752
5894
  if (visitors) {
5753
- if (this.visitSync(visitors, node.toProxy())) return;
5895
+ if (this.visitSync(visitors, node.toProxy()))
5896
+ return;
5754
5897
  }
5755
5898
  }
5756
5899
  }
@@ -5850,7 +5993,8 @@ var require_no_work_result = __commonJS({
5850
5993
  }
5851
5994
  }
5852
5995
  async() {
5853
- if (this.error) return Promise.reject(this.error);
5996
+ if (this.error)
5997
+ return Promise.reject(this.error);
5854
5998
  return Promise.resolve(this.result);
5855
5999
  }
5856
6000
  catch(onRejected) {
@@ -5860,7 +6004,8 @@ var require_no_work_result = __commonJS({
5860
6004
  return this.async().then(onFinally, onFinally);
5861
6005
  }
5862
6006
  sync() {
5863
- if (this.error) throw this.error;
6007
+ if (this.error)
6008
+ throw this.error;
5864
6009
  return this.result;
5865
6010
  }
5866
6011
  then(onFulfilled, onRejected) {
@@ -5993,7 +6138,8 @@ var require_postcss = __commonJS({
5993
6138
  let cache;
5994
6139
  Object.defineProperty(creator, "postcss", {
5995
6140
  get() {
5996
- if (!cache) cache = creator();
6141
+ if (!cache)
6142
+ cache = creator();
5997
6143
  return cache;
5998
6144
  }
5999
6145
  });
@@ -6063,7 +6209,8 @@ var require_scss_stringifier = __commonJS({
6063
6209
  } else {
6064
6210
  after = this.raw(node, "after", "emptyBody");
6065
6211
  }
6066
- if (after) this.builder(after);
6212
+ if (after)
6213
+ this.builder(after);
6067
6214
  this.builder("}", node, "end");
6068
6215
  }
6069
6216
  }
@@ -6101,7 +6248,8 @@ var require_nested_declaration = __commonJS({
6101
6248
  super(defaults);
6102
6249
  this.type = "decl";
6103
6250
  this.isNested = true;
6104
- if (!this.nodes) this.nodes = [];
6251
+ if (!this.nodes)
6252
+ this.nodes = [];
6105
6253
  }
6106
6254
  };
6107
6255
  module2.exports = NestedDeclaration;
@@ -6163,7 +6311,8 @@ var require_scss_tokenize = __commonJS({
6163
6311
  let stringEscaped = false;
6164
6312
  while (deep > 0) {
6165
6313
  next += 1;
6166
- if (css.length <= next) unclosed("interpolation");
6314
+ if (css.length <= next)
6315
+ unclosed("interpolation");
6167
6316
  code = css.charCodeAt(next);
6168
6317
  n = css.charCodeAt(next + 1);
6169
6318
  if (stringQuote) {
@@ -6185,8 +6334,10 @@ var require_scss_tokenize = __commonJS({
6185
6334
  }
6186
6335
  }
6187
6336
  function nextToken(opts) {
6188
- if (returned.length) return returned.pop();
6189
- if (pos >= length) return void 0;
6337
+ if (returned.length)
6338
+ return returned.pop();
6339
+ if (pos >= length)
6340
+ return void 0;
6190
6341
  let ignoreUnclosed = opts ? opts.ignoreUnclosed : false;
6191
6342
  code = css.charCodeAt(pos);
6192
6343
  switch (code) {
@@ -6215,12 +6366,10 @@ var require_scss_tokenize = __commonJS({
6215
6366
  currentToken = [controlChar, controlChar, pos];
6216
6367
  break;
6217
6368
  }
6218
- // SCSS PATCH {
6219
6369
  case COMMA: {
6220
6370
  currentToken = ["word", ",", pos, pos + 1];
6221
6371
  break;
6222
6372
  }
6223
- // } SCSS PATCH
6224
6373
  case OPEN_PARENTHESES: {
6225
6374
  prev = buffer.length ? buffer.pop()[1] : "";
6226
6375
  n = css.charCodeAt(pos + 1);
@@ -6236,7 +6385,8 @@ var require_scss_tokenize = __commonJS({
6236
6385
  brackets += 1;
6237
6386
  } else if (n === CLOSE_PARENTHESES) {
6238
6387
  brackets -= 1;
6239
- if (brackets === 0) break;
6388
+ if (brackets === 0)
6389
+ break;
6240
6390
  }
6241
6391
  next += 1;
6242
6392
  }
@@ -6262,7 +6412,8 @@ var require_scss_tokenize = __commonJS({
6262
6412
  escaped = false;
6263
6413
  while (next < length) {
6264
6414
  next++;
6265
- if (next === length) unclosed("string");
6415
+ if (next === length)
6416
+ unclosed("string");
6266
6417
  code = css.charCodeAt(next);
6267
6418
  n = css.charCodeAt(next + 1);
6268
6419
  if (!escaped && code === quote) {