@symbo.ls/scratch 3.0.2 → 3.1.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.
@@ -83,7 +83,7 @@ var require_cjs = __commonJS({
83
83
  var isString2 = (arg) => typeof arg === "string";
84
84
  var isNumber2 = (arg) => typeof arg === "number";
85
85
  var isArray2 = (arg) => Array.isArray(arg);
86
- var STATE_METHODS2 = [
86
+ var STATE_METHODS3 = [
87
87
  "update",
88
88
  "parse",
89
89
  "clean",
@@ -117,8 +117,8 @@ var require_cjs = __commonJS({
117
117
  "removePathCollection",
118
118
  "getByPath"
119
119
  ];
120
- var PROPS_METHODS2 = ["update", "__element"];
121
- var METHODS2 = [
120
+ var PROPS_METHODS3 = ["update", "__element"];
121
+ var METHODS3 = [
122
122
  "set",
123
123
  "reset",
124
124
  "update",
@@ -146,13 +146,84 @@ var require_cjs = __commonJS({
146
146
  "nextElement",
147
147
  "previousElement"
148
148
  ];
149
- var METHODS_EXL2 = [
149
+ var METHODS_EXL3 = [
150
150
  ...["node", "context", "extends", "__element", "__ref"],
151
- ...METHODS2,
152
- ...STATE_METHODS2,
153
- ...PROPS_METHODS2
151
+ ...METHODS3,
152
+ ...STATE_METHODS3,
153
+ ...PROPS_METHODS3
154
154
  ];
155
155
  var isMobile2 = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
156
+ var STATE_METHODS22 = [
157
+ "update",
158
+ "parse",
159
+ "clean",
160
+ "create",
161
+ "destroy",
162
+ "add",
163
+ "toggle",
164
+ "remove",
165
+ "apply",
166
+ "set",
167
+ "reset",
168
+ "replace",
169
+ "quietReplace",
170
+ "quietUpdate",
171
+ "applyReplace",
172
+ "applyFunction",
173
+ "keys",
174
+ "values",
175
+ "ref",
176
+ "rootUpdate",
177
+ "parentUpdate",
178
+ "parent",
179
+ "__element",
180
+ "__depends",
181
+ "__ref",
182
+ "__children",
183
+ "root",
184
+ "setByPath",
185
+ "setPathCollection",
186
+ "removeByPath",
187
+ "removePathCollection",
188
+ "getByPath"
189
+ ];
190
+ var PROPS_METHODS22 = ["update", "__element"];
191
+ var METHODS22 = [
192
+ "set",
193
+ "reset",
194
+ "update",
195
+ "remove",
196
+ "updateContent",
197
+ "removeContent",
198
+ "lookup",
199
+ "lookdown",
200
+ "lookdownAll",
201
+ "getRef",
202
+ "getPath",
203
+ "setNodeStyles",
204
+ "spotByPath",
205
+ "keys",
206
+ "parse",
207
+ "setProps",
208
+ "parseDeep",
209
+ "variables",
210
+ "if",
211
+ "log",
212
+ "verbose",
213
+ "warn",
214
+ "error",
215
+ "call",
216
+ "nextElement",
217
+ "previousElement"
218
+ ];
219
+ var METHODS_EXL22 = [
220
+ ...["node", "context", "extends", "__element", "__ref"],
221
+ ...METHODS22,
222
+ ...STATE_METHODS22,
223
+ ...PROPS_METHODS22
224
+ ];
225
+ var window32 = globalThis;
226
+ var document32 = window32.document;
156
227
  async function toggleFullscreen(opts) {
157
228
  if (!document.fullscreenElement) {
158
229
  try {
@@ -378,16 +449,16 @@ var isScalingUnit = (unit) => {
378
449
  return unit === "em" || unit === "rem" || unit === "vw" || unit === "vh" || unit === "vmax" || unit === "vmin";
379
450
  };
380
451
 
381
- // ../../node_modules/@domql/utils/globals.js
452
+ // ../../../domql/packages/utils/globals.js
382
453
  var window2 = globalThis;
383
454
  var document2 = window2.document;
384
455
 
385
- // ../../node_modules/@domql/utils/node.js
456
+ // ../../../domql/packages/utils/node.js
386
457
  var isDOMNode = (obj) => {
387
458
  return typeof window2 !== "undefined" && (obj instanceof window2.Node || obj instanceof window2.Window || obj === window2 || obj === document);
388
459
  };
389
460
 
390
- // ../../node_modules/@domql/utils/types.js
461
+ // ../../../domql/packages/utils/types.js
391
462
  var isString = (arg) => typeof arg === "string";
392
463
  var isNumber = (arg) => typeof arg === "number";
393
464
  var isFunction = (arg) => typeof arg === "function";
@@ -401,7 +472,7 @@ var isUndefined = (arg) => {
401
472
  return arg === void 0;
402
473
  };
403
474
 
404
- // ../../node_modules/@domql/utils/array.js
475
+ // ../../../domql/packages/utils/array.js
405
476
  var unstackArrayOfObjects = (arr, exclude = []) => {
406
477
  return arr.reduce(
407
478
  (a, c) => deepMerge(a, deepClone(c, { exclude }), exclude),
@@ -409,7 +480,7 @@ var unstackArrayOfObjects = (arr, exclude = []) => {
409
480
  );
410
481
  };
411
482
 
412
- // ../../node_modules/@domql/utils/keys.js
483
+ // ../../../domql/packages/utils/keys.js
413
484
  var STATE_METHODS = [
414
485
  "update",
415
486
  "parse",
@@ -480,7 +551,7 @@ var METHODS_EXL = [
480
551
  ...PROPS_METHODS
481
552
  ];
482
553
 
483
- // ../../node_modules/@domql/utils/object.js
554
+ // ../../../domql/packages/utils/object.js
484
555
  var deepMerge = (element, extend, excludeFrom = METHODS_EXL) => {
485
556
  for (const e in extend) {
486
557
  const hasOwnProperty = Object.prototype.hasOwnProperty.call(extend, e);
@@ -547,9 +618,84 @@ var deepClone = (obj, options = {}) => {
547
618
  return clone;
548
619
  };
549
620
 
550
- // ../../node_modules/@domql/utils/cookie.js
621
+ // ../../../domql/packages/utils/cookie.js
551
622
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
552
623
 
624
+ // ../../../domql/packages/event/dist/esm/keys.js
625
+ var STATE_METHODS2 = [
626
+ "update",
627
+ "parse",
628
+ "clean",
629
+ "create",
630
+ "destroy",
631
+ "add",
632
+ "toggle",
633
+ "remove",
634
+ "apply",
635
+ "set",
636
+ "reset",
637
+ "replace",
638
+ "quietReplace",
639
+ "quietUpdate",
640
+ "applyReplace",
641
+ "applyFunction",
642
+ "keys",
643
+ "values",
644
+ "ref",
645
+ "rootUpdate",
646
+ "parentUpdate",
647
+ "parent",
648
+ "__element",
649
+ "__depends",
650
+ "__ref",
651
+ "__children",
652
+ "root",
653
+ "setByPath",
654
+ "setPathCollection",
655
+ "removeByPath",
656
+ "removePathCollection",
657
+ "getByPath"
658
+ ];
659
+ var PROPS_METHODS2 = ["update", "__element"];
660
+ var METHODS2 = [
661
+ "set",
662
+ "reset",
663
+ "update",
664
+ "remove",
665
+ "updateContent",
666
+ "removeContent",
667
+ "lookup",
668
+ "lookdown",
669
+ "lookdownAll",
670
+ "getRef",
671
+ "getPath",
672
+ "setNodeStyles",
673
+ "spotByPath",
674
+ "keys",
675
+ "parse",
676
+ "setProps",
677
+ "parseDeep",
678
+ "variables",
679
+ "if",
680
+ "log",
681
+ "verbose",
682
+ "warn",
683
+ "error",
684
+ "call",
685
+ "nextElement",
686
+ "previousElement"
687
+ ];
688
+ var METHODS_EXL2 = [
689
+ ...["node", "context", "extends", "__element", "__ref"],
690
+ ...METHODS2,
691
+ ...STATE_METHODS2,
692
+ ...PROPS_METHODS2
693
+ ];
694
+
695
+ // ../../../domql/packages/event/dist/esm/globals.js
696
+ var window3 = globalThis;
697
+ var document3 = window3.document;
698
+
553
699
  // src/utils/color.js
554
700
  var ENV = "development";
555
701
  var colorStringToRgbaArray = (color) => {
@@ -665,7 +811,7 @@ var mixTwoRgba = (colorA, colorB, range = 0.5) => {
665
811
  var opacify = (color, opacity) => {
666
812
  const arr = colorStringToRgbaArray(color);
667
813
  if (!arr) {
668
- if (ENV === "test" || ENV === "development") console.warn(color + " color is not rgba");
814
+ if (ENV === "testing" || ENV === "development") console.warn(color + " color is not rgba");
669
815
  return;
670
816
  }
671
817
  arr[3] = opacity;
@@ -736,7 +882,7 @@ var getFontFaceString = (LIBRARY) => {
736
882
  };
737
883
 
738
884
  // src/utils/sequence.js
739
- var import_utils6 = __toESM(require_cjs(), 1);
885
+ var import_utils5 = __toESM(require_cjs(), 1);
740
886
 
741
887
  // src/defaultConfig/index.js
742
888
  var defaultConfig_exports = {};
@@ -1090,8 +1236,12 @@ var generateSequence = (sequenceProps) => {
1090
1236
  return sequenceProps;
1091
1237
  };
1092
1238
  var generateSequencePosition = (sequenceProps, position = 0) => {
1239
+ var _a;
1093
1240
  const { type, base, ratio, subSequence } = sequenceProps;
1094
- const letterKey = (void 0).call("isString", position) ? position : numToLetterMap[position];
1241
+ const letterKey = isString(position) ? position : numToLetterMap[position];
1242
+ const index = isString(position) ? (_a = Object.entries(numToLetterMap).find(
1243
+ ([, value2]) => value2 === position
1244
+ )) == null ? void 0 : _a[0] : position;
1095
1245
  if (!letterKey) {
1096
1246
  console.warn(`Position ${position} is out of range in numToLetterMap`);
1097
1247
  return null;
@@ -1102,11 +1252,11 @@ var generateSequencePosition = (sequenceProps, position = 0) => {
1102
1252
  vars: {},
1103
1253
  ...sequenceProps
1104
1254
  };
1105
- const value = base * Math.pow(ratio, position);
1255
+ const value = base * Math.pow(ratio, index);
1106
1256
  const scaling = ~~(value / base * 100) / 100;
1107
1257
  const prefix = "--" + (type && type.replace(".", "-")) + "-";
1108
1258
  const variable = prefix + letterKey;
1109
- const scalingVariable = setScalingVar(position, sequenceProps);
1259
+ const scalingVariable = setScalingVar(index, sequenceProps);
1110
1260
  const props = {
1111
1261
  key: letterKey,
1112
1262
  variable,
@@ -1115,7 +1265,7 @@ var generateSequencePosition = (sequenceProps, position = 0) => {
1115
1265
  scaling,
1116
1266
  scalingVariable,
1117
1267
  ratio,
1118
- index: position
1268
+ index
1119
1269
  };
1120
1270
  setSequenceValue(props, result);
1121
1271
  if (subSequence) {
@@ -1132,7 +1282,7 @@ var getSequenceValue = (value = "A", sequenceProps) => {
1132
1282
  useVariable
1133
1283
  } = sequenceProps;
1134
1284
  if (isString(value) && value.slice(0, 2) === "--") return `var(${value})`;
1135
- const prefix = `--${(0, import_utils6.toDashCase)(sequenceProps.type.replace(".", "-"))}-`;
1285
+ const prefix = `--${(0, import_utils5.toDashCase)(sequenceProps.type.replace(".", "-"))}-`;
1136
1286
  const startsWithDashOrLetterRegex = /^-?[a-zA-Z]/i;
1137
1287
  const startsWithDashOrLetter = startsWithDashOrLetterRegex.test(value);
1138
1288
  if (value === "none" || value === "auto" || value === "unset" || value === "inherit" || value === "fit-content" || value === "min-content" || value === "max-content" || value.includes("calc") || value.includes("var") || !startsWithDashOrLetter) return value;
@@ -1266,6 +1416,8 @@ var applyMediaSequenceVars = (FACTORY2, media, options = {}) => {
1266
1416
  };
1267
1417
 
1268
1418
  // src/utils/sprite.js
1419
+ var ENV2 = "development";
1420
+ var isDev = ENV2 === "development" || ENV2 === "testing";
1269
1421
  var generateSprite = (icons) => {
1270
1422
  const CONFIG2 = getActiveConfig();
1271
1423
  let sprite = "";
@@ -1279,7 +1431,8 @@ var generateSprite = (icons) => {
1279
1431
  var parseRootAttributes = (htmlString) => {
1280
1432
  const val = htmlString.default || htmlString;
1281
1433
  if (!isString(val)) {
1282
- return console.warn(`parseRootAttributes: ${val} is not a string`);
1434
+ if (isDev) console.warn("parseRootAttributes:", val, "is not a string");
1435
+ return;
1283
1436
  }
1284
1437
  const match = val.match(/<svg\s+(.*?)>/);
1285
1438
  if (!match || !match[1]) {
@@ -1321,3 +1474,4 @@ var convertSvgToSymbol = (key, code) => {
1321
1474
  symbol = symbol.replace("</svg", "</symbol");
1322
1475
  return symbol;
1323
1476
  };
1477
+ // @preserve-env
@@ -83,7 +83,7 @@ var require_cjs = __commonJS({
83
83
  var isString2 = (arg) => typeof arg === "string";
84
84
  var isNumber2 = (arg) => typeof arg === "number";
85
85
  var isArray2 = (arg) => Array.isArray(arg);
86
- var STATE_METHODS2 = [
86
+ var STATE_METHODS3 = [
87
87
  "update",
88
88
  "parse",
89
89
  "clean",
@@ -117,8 +117,8 @@ var require_cjs = __commonJS({
117
117
  "removePathCollection",
118
118
  "getByPath"
119
119
  ];
120
- var PROPS_METHODS2 = ["update", "__element"];
121
- var METHODS2 = [
120
+ var PROPS_METHODS3 = ["update", "__element"];
121
+ var METHODS3 = [
122
122
  "set",
123
123
  "reset",
124
124
  "update",
@@ -146,13 +146,84 @@ var require_cjs = __commonJS({
146
146
  "nextElement",
147
147
  "previousElement"
148
148
  ];
149
- var METHODS_EXL2 = [
149
+ var METHODS_EXL3 = [
150
150
  ...["node", "context", "extends", "__element", "__ref"],
151
- ...METHODS2,
152
- ...STATE_METHODS2,
153
- ...PROPS_METHODS2
151
+ ...METHODS3,
152
+ ...STATE_METHODS3,
153
+ ...PROPS_METHODS3
154
154
  ];
155
155
  var isMobile2 = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
156
+ var STATE_METHODS22 = [
157
+ "update",
158
+ "parse",
159
+ "clean",
160
+ "create",
161
+ "destroy",
162
+ "add",
163
+ "toggle",
164
+ "remove",
165
+ "apply",
166
+ "set",
167
+ "reset",
168
+ "replace",
169
+ "quietReplace",
170
+ "quietUpdate",
171
+ "applyReplace",
172
+ "applyFunction",
173
+ "keys",
174
+ "values",
175
+ "ref",
176
+ "rootUpdate",
177
+ "parentUpdate",
178
+ "parent",
179
+ "__element",
180
+ "__depends",
181
+ "__ref",
182
+ "__children",
183
+ "root",
184
+ "setByPath",
185
+ "setPathCollection",
186
+ "removeByPath",
187
+ "removePathCollection",
188
+ "getByPath"
189
+ ];
190
+ var PROPS_METHODS22 = ["update", "__element"];
191
+ var METHODS22 = [
192
+ "set",
193
+ "reset",
194
+ "update",
195
+ "remove",
196
+ "updateContent",
197
+ "removeContent",
198
+ "lookup",
199
+ "lookdown",
200
+ "lookdownAll",
201
+ "getRef",
202
+ "getPath",
203
+ "setNodeStyles",
204
+ "spotByPath",
205
+ "keys",
206
+ "parse",
207
+ "setProps",
208
+ "parseDeep",
209
+ "variables",
210
+ "if",
211
+ "log",
212
+ "verbose",
213
+ "warn",
214
+ "error",
215
+ "call",
216
+ "nextElement",
217
+ "previousElement"
218
+ ];
219
+ var METHODS_EXL22 = [
220
+ ...["node", "context", "extends", "__element", "__ref"],
221
+ ...METHODS22,
222
+ ...STATE_METHODS22,
223
+ ...PROPS_METHODS22
224
+ ];
225
+ var window32 = globalThis;
226
+ var document32 = window32.document;
156
227
  async function toggleFullscreen(opts) {
157
228
  if (!document.fullscreenElement) {
158
229
  try {
@@ -341,16 +412,16 @@ __export(sequence_exports, {
341
412
  });
342
413
  module.exports = __toCommonJS(sequence_exports);
343
414
 
344
- // ../../node_modules/@domql/utils/globals.js
415
+ // ../../../domql/packages/utils/globals.js
345
416
  var window2 = globalThis;
346
417
  var document2 = window2.document;
347
418
 
348
- // ../../node_modules/@domql/utils/node.js
419
+ // ../../../domql/packages/utils/node.js
349
420
  var isDOMNode = (obj) => {
350
421
  return typeof window2 !== "undefined" && (obj instanceof window2.Node || obj instanceof window2.Window || obj === window2 || obj === document);
351
422
  };
352
423
 
353
- // ../../node_modules/@domql/utils/types.js
424
+ // ../../../domql/packages/utils/types.js
354
425
  var isString = (arg) => typeof arg === "string";
355
426
  var isFunction = (arg) => typeof arg === "function";
356
427
  var isNull = (arg) => arg === null;
@@ -363,7 +434,7 @@ var isUndefined = (arg) => {
363
434
  return arg === void 0;
364
435
  };
365
436
 
366
- // ../../node_modules/@domql/utils/array.js
437
+ // ../../../domql/packages/utils/array.js
367
438
  var unstackArrayOfObjects = (arr, exclude = []) => {
368
439
  return arr.reduce(
369
440
  (a, c) => deepMerge(a, deepClone(c, { exclude }), exclude),
@@ -371,7 +442,7 @@ var unstackArrayOfObjects = (arr, exclude = []) => {
371
442
  );
372
443
  };
373
444
 
374
- // ../../node_modules/@domql/utils/keys.js
445
+ // ../../../domql/packages/utils/keys.js
375
446
  var STATE_METHODS = [
376
447
  "update",
377
448
  "parse",
@@ -442,7 +513,7 @@ var METHODS_EXL = [
442
513
  ...PROPS_METHODS
443
514
  ];
444
515
 
445
- // ../../node_modules/@domql/utils/object.js
516
+ // ../../../domql/packages/utils/object.js
446
517
  var deepMerge = (element, extend, excludeFrom = METHODS_EXL) => {
447
518
  for (const e in extend) {
448
519
  const hasOwnProperty = Object.prototype.hasOwnProperty.call(extend, e);
@@ -509,11 +580,86 @@ var deepClone = (obj, options = {}) => {
509
580
  return clone;
510
581
  };
511
582
 
512
- // ../../node_modules/@domql/utils/cookie.js
583
+ // ../../../domql/packages/utils/cookie.js
513
584
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
514
585
 
586
+ // ../../../domql/packages/event/dist/esm/keys.js
587
+ var STATE_METHODS2 = [
588
+ "update",
589
+ "parse",
590
+ "clean",
591
+ "create",
592
+ "destroy",
593
+ "add",
594
+ "toggle",
595
+ "remove",
596
+ "apply",
597
+ "set",
598
+ "reset",
599
+ "replace",
600
+ "quietReplace",
601
+ "quietUpdate",
602
+ "applyReplace",
603
+ "applyFunction",
604
+ "keys",
605
+ "values",
606
+ "ref",
607
+ "rootUpdate",
608
+ "parentUpdate",
609
+ "parent",
610
+ "__element",
611
+ "__depends",
612
+ "__ref",
613
+ "__children",
614
+ "root",
615
+ "setByPath",
616
+ "setPathCollection",
617
+ "removeByPath",
618
+ "removePathCollection",
619
+ "getByPath"
620
+ ];
621
+ var PROPS_METHODS2 = ["update", "__element"];
622
+ var METHODS2 = [
623
+ "set",
624
+ "reset",
625
+ "update",
626
+ "remove",
627
+ "updateContent",
628
+ "removeContent",
629
+ "lookup",
630
+ "lookdown",
631
+ "lookdownAll",
632
+ "getRef",
633
+ "getPath",
634
+ "setNodeStyles",
635
+ "spotByPath",
636
+ "keys",
637
+ "parse",
638
+ "setProps",
639
+ "parseDeep",
640
+ "variables",
641
+ "if",
642
+ "log",
643
+ "verbose",
644
+ "warn",
645
+ "error",
646
+ "call",
647
+ "nextElement",
648
+ "previousElement"
649
+ ];
650
+ var METHODS_EXL2 = [
651
+ ...["node", "context", "extends", "__element", "__ref"],
652
+ ...METHODS2,
653
+ ...STATE_METHODS2,
654
+ ...PROPS_METHODS2
655
+ ];
656
+
657
+ // ../../../domql/packages/event/dist/esm/globals.js
658
+ var window3 = globalThis;
659
+ var document3 = window3.document;
660
+
515
661
  // src/utils/sequence.js
516
- var import_utils5 = __toESM(require_cjs(), 1);
662
+ var import_utils4 = __toESM(require_cjs(), 1);
517
663
 
518
664
  // src/defaultConfig/index.js
519
665
  var defaultConfig_exports = {};
@@ -872,8 +1018,12 @@ var generateSequence = (sequenceProps) => {
872
1018
  return sequenceProps;
873
1019
  };
874
1020
  var generateSequencePosition = (sequenceProps, position = 0) => {
1021
+ var _a;
875
1022
  const { type, base, ratio, subSequence } = sequenceProps;
876
- const letterKey = (void 0).call("isString", position) ? position : numToLetterMap[position];
1023
+ const letterKey = isString(position) ? position : numToLetterMap[position];
1024
+ const index = isString(position) ? (_a = Object.entries(numToLetterMap).find(
1025
+ ([, value2]) => value2 === position
1026
+ )) == null ? void 0 : _a[0] : position;
877
1027
  if (!letterKey) {
878
1028
  console.warn(`Position ${position} is out of range in numToLetterMap`);
879
1029
  return null;
@@ -884,11 +1034,11 @@ var generateSequencePosition = (sequenceProps, position = 0) => {
884
1034
  vars: {},
885
1035
  ...sequenceProps
886
1036
  };
887
- const value = base * Math.pow(ratio, position);
1037
+ const value = base * Math.pow(ratio, index);
888
1038
  const scaling = ~~(value / base * 100) / 100;
889
1039
  const prefix = "--" + (type && type.replace(".", "-")) + "-";
890
1040
  const variable = prefix + letterKey;
891
- const scalingVariable = setScalingVar(position, sequenceProps);
1041
+ const scalingVariable = setScalingVar(index, sequenceProps);
892
1042
  const props = {
893
1043
  key: letterKey,
894
1044
  variable,
@@ -897,7 +1047,7 @@ var generateSequencePosition = (sequenceProps, position = 0) => {
897
1047
  scaling,
898
1048
  scalingVariable,
899
1049
  ratio,
900
- index: position
1050
+ index
901
1051
  };
902
1052
  setSequenceValue(props, result);
903
1053
  if (subSequence) {
@@ -914,7 +1064,7 @@ var getSequenceValue = (value = "A", sequenceProps) => {
914
1064
  useVariable
915
1065
  } = sequenceProps;
916
1066
  if (isString(value) && value.slice(0, 2) === "--") return `var(${value})`;
917
- const prefix = `--${(0, import_utils5.toDashCase)(sequenceProps.type.replace(".", "-"))}-`;
1067
+ const prefix = `--${(0, import_utils4.toDashCase)(sequenceProps.type.replace(".", "-"))}-`;
918
1068
  const startsWithDashOrLetterRegex = /^-?[a-zA-Z]/i;
919
1069
  const startsWithDashOrLetter = startsWithDashOrLetterRegex.test(value);
920
1070
  if (value === "none" || value === "auto" || value === "unset" || value === "inherit" || value === "fit-content" || value === "min-content" || value === "max-content" || value.includes("calc") || value.includes("var") || !startsWithDashOrLetter) return value;
@@ -972,3 +1122,4 @@ var findHeadings = (propertyNames) => {
972
1122
  return sequence[findLetter];
973
1123
  });
974
1124
  };
1125
+ // @preserve-env