@symbo.ls/scratch 2.11.55 → 2.11.94

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.
@@ -282,13 +282,13 @@ var require_cjs3 = __commonJS({
282
282
  document: () => document4,
283
283
  global: () => global,
284
284
  self: () => self,
285
- window: () => window3
285
+ window: () => window2
286
286
  });
287
287
  module2.exports = __toCommonJS2(globals_exports);
288
288
  var global = globalThis;
289
289
  var self = globalThis;
290
- var window3 = globalThis;
291
- var document4 = window3.document;
290
+ var window2 = globalThis;
291
+ var document4 = window2.document;
292
292
  }
293
293
  });
294
294
 
@@ -360,10 +360,10 @@ var require_types = __commonJS({
360
360
  isFunction: () => isFunction,
361
361
  isNot: () => isNot,
362
362
  isNull: () => isNull,
363
- isNumber: () => isNumber,
363
+ isNumber: () => isNumber2,
364
364
  isObject: () => isObject7,
365
365
  isObjectLike: () => isObjectLike3,
366
- isString: () => isString8,
366
+ isString: () => isString9,
367
367
  isUndefined: () => isUndefined,
368
368
  isValidHtmlTag: () => isValidHtmlTag
369
369
  });
@@ -376,8 +376,8 @@ var require_types = __commonJS({
376
376
  return false;
377
377
  return typeof arg === "object" && arg.constructor === Object;
378
378
  };
379
- var isString8 = (arg) => typeof arg === "string";
380
- var isNumber = (arg) => typeof arg === "number";
379
+ var isString9 = (arg) => typeof arg === "string";
380
+ var isNumber2 = (arg) => typeof arg === "number";
381
381
  var isFunction = (arg) => typeof arg === "function";
382
382
  var isBoolean = (arg) => arg === true || arg === false;
383
383
  var isNull = (arg) => arg === null;
@@ -388,7 +388,7 @@ var require_types = __commonJS({
388
388
  return typeof arg === "object";
389
389
  };
390
390
  var isDefined2 = (arg) => {
391
- return isObject7(arg) || isObjectLike3(arg) || isString8(arg) || isNumber(arg) || isFunction(arg) || isArray6(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
391
+ return isObject7(arg) || isObjectLike3(arg) || isString9(arg) || isNumber2(arg) || isFunction(arg) || isArray6(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
392
392
  };
393
393
  var isUndefined = (arg) => {
394
394
  return arg === void 0;
@@ -397,8 +397,8 @@ var require_types = __commonJS({
397
397
  boolean: isBoolean,
398
398
  array: isArray6,
399
399
  object: isObject7,
400
- string: isString8,
401
- number: isNumber,
400
+ string: isString9,
401
+ number: isNumber2,
402
402
  null: isNull,
403
403
  function: isFunction,
404
404
  objectLike: isObjectLike3,
@@ -443,6 +443,9 @@ var require_array = __commonJS({
443
443
  var array_exports = {};
444
444
  __export2(array_exports, {
445
445
  arrayContainsOtherArray: () => arrayContainsOtherArray,
446
+ createNestedObject: () => createNestedObject,
447
+ cutArrayAfterValue: () => cutArrayAfterValue,
448
+ cutArrayBeforeValue: () => cutArrayBeforeValue,
446
449
  joinArrays: () => joinArrays,
447
450
  mergeAndCloneIfArray: () => mergeAndCloneIfArray,
448
451
  mergeArray: () => mergeArray,
@@ -482,6 +485,73 @@ var require_array = __commonJS({
482
485
  var mergeAndCloneIfArray = (obj) => {
483
486
  return (0, import_types.isArray)(obj) ? mergeArray(obj) : (0, import_object.deepClone)(obj);
484
487
  };
488
+ var cutArrayBeforeValue = (arr, value) => {
489
+ const index = arr.indexOf(value);
490
+ if (index !== -1) {
491
+ return arr.slice(0, index);
492
+ }
493
+ return arr;
494
+ };
495
+ var cutArrayAfterValue = (arr, value) => {
496
+ const index = arr.indexOf(value);
497
+ if (index !== -1) {
498
+ return arr.slice(index + 1);
499
+ }
500
+ return arr;
501
+ };
502
+ var createNestedObject = (arr, lastValue) => {
503
+ let nestedObject = {};
504
+ if (arr.length === 0) {
505
+ return lastValue;
506
+ }
507
+ arr.reduce((obj, value, index) => {
508
+ if (!obj[value]) {
509
+ obj[value] = {};
510
+ }
511
+ if (index === arr.length - 1 && lastValue) {
512
+ obj[value] = lastValue;
513
+ }
514
+ return obj[value];
515
+ }, nestedObject);
516
+ return nestedObject;
517
+ };
518
+ }
519
+ });
520
+
521
+ // ../../node_modules/@domql/utils/dist/cjs/string.js
522
+ var require_string = __commonJS({
523
+ "../../node_modules/@domql/utils/dist/cjs/string.js"(exports, module2) {
524
+ "use strict";
525
+ var __defProp2 = Object.defineProperty;
526
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
527
+ var __getOwnPropNames2 = Object.getOwnPropertyNames;
528
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
529
+ var __export2 = (target, all) => {
530
+ for (var name in all)
531
+ __defProp2(target, name, { get: all[name], enumerable: true });
532
+ };
533
+ var __copyProps2 = (to, from, except, desc) => {
534
+ if (from && typeof from === "object" || typeof from === "function") {
535
+ for (let key of __getOwnPropNames2(from))
536
+ if (!__hasOwnProp2.call(to, key) && key !== except)
537
+ __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
538
+ }
539
+ return to;
540
+ };
541
+ var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
542
+ var string_exports = {};
543
+ __export2(string_exports, {
544
+ stringIncludesAny: () => stringIncludesAny
545
+ });
546
+ module2.exports = __toCommonJS2(string_exports);
547
+ var stringIncludesAny = (str, characters) => {
548
+ for (const char of characters) {
549
+ if (str.includes(char)) {
550
+ return true;
551
+ }
552
+ }
553
+ return false;
554
+ };
485
555
  }
486
556
  });
487
557
 
@@ -525,15 +595,18 @@ var require_object = __commonJS({
525
595
  merge: () => merge5,
526
596
  mergeArrayExclude: () => mergeArrayExclude,
527
597
  mergeIfExisted: () => mergeIfExisted,
598
+ objectToString: () => objectToString,
528
599
  overwrite: () => overwrite,
529
600
  overwriteDeep: () => overwriteDeep2,
530
601
  overwriteShallow: () => overwriteShallow,
531
- removeFromObject: () => removeFromObject
602
+ removeFromObject: () => removeFromObject,
603
+ stringToObject: () => stringToObject
532
604
  });
533
605
  module2.exports = __toCommonJS2(object_exports);
534
606
  var import_globals3 = require_cjs3();
535
607
  var import_types = require_types();
536
608
  var import_array = require_array();
609
+ var import_string = require_string();
537
610
  var exec = (param, element, state, context) => {
538
611
  if ((0, import_types.isFunction)(param)) {
539
612
  return param(
@@ -551,7 +624,7 @@ var require_object = __commonJS({
551
624
  };
552
625
  var merge5 = (element, obj, excludeFrom = []) => {
553
626
  for (const e in obj) {
554
- if (excludeFrom.includes(e) || e.includes("__"))
627
+ if (excludeFrom.includes(e) || e.startsWith("__"))
555
628
  continue;
556
629
  const elementProp = element[e];
557
630
  const objProp = obj[e];
@@ -563,7 +636,7 @@ var require_object = __commonJS({
563
636
  };
564
637
  var deepMerge3 = (element, extend, excludeFrom = []) => {
565
638
  for (const e in extend) {
566
- if (excludeFrom.includes(e) || e.includes("__"))
639
+ if (excludeFrom.includes(e) || e.startsWith("__"))
567
640
  continue;
568
641
  const elementProp = element[e];
569
642
  const extendProp = extend[e];
@@ -578,7 +651,7 @@ var require_object = __commonJS({
578
651
  var clone = (obj, excludeFrom = []) => {
579
652
  const o = {};
580
653
  for (const prop in obj) {
581
- if (excludeFrom.includes(prop) || prop.includes("__"))
654
+ if (excludeFrom.includes(prop) || prop.startsWith("__"))
582
655
  continue;
583
656
  o[prop] = obj[prop];
584
657
  }
@@ -590,7 +663,7 @@ var require_object = __commonJS({
590
663
  }
591
664
  const o = {};
592
665
  for (const k in obj) {
593
- if (excludeFrom.includes(k) || k.includes("__"))
666
+ if (excludeFrom.includes(k) || k.startsWith("__"))
594
667
  continue;
595
668
  let v = obj[k];
596
669
  if (k === "extend" && (0, import_types.isArray)(v)) {
@@ -611,7 +684,7 @@ var require_object = __commonJS({
611
684
  var deepClone2 = (obj, excludeFrom = []) => {
612
685
  const o = (0, import_types.isArray)(obj) ? [] : {};
613
686
  for (const prop in obj) {
614
- if (excludeFrom.includes(prop) || prop.includes("__"))
687
+ if (excludeFrom.includes(prop) || prop.startsWith("__"))
615
688
  continue;
616
689
  let objProp = obj[prop];
617
690
  if (prop === "extend" && (0, import_types.isArray)(objProp)) {
@@ -650,6 +723,40 @@ var require_object = __commonJS({
650
723
  }
651
724
  return stringified;
652
725
  };
726
+ var objectToString = (obj, indent = 0) => {
727
+ const spaces = " ".repeat(indent);
728
+ let str = "{\n";
729
+ for (const [key, value] of Object.entries(obj)) {
730
+ const keyAllowdChars = (0, import_string.stringIncludesAny)(key, ["-", ":", "@", ".", "!"]);
731
+ const stringedKey = keyAllowdChars ? `'${key}'` : key;
732
+ str += `${spaces} ${stringedKey}: `;
733
+ if ((0, import_types.isArray)(value)) {
734
+ str += "[\n";
735
+ for (const element of value) {
736
+ if ((0, import_types.isObject)(element) && element !== null) {
737
+ str += `${spaces} ${objectToString(element, indent + 2)},
738
+ `;
739
+ } else if ((0, import_types.isString)(element)) {
740
+ str += `${spaces} '${element}',
741
+ `;
742
+ } else {
743
+ str += `${spaces} ${element},
744
+ `;
745
+ }
746
+ }
747
+ str += `${spaces} ]`;
748
+ } else if ((0, import_types.isObject)(value)) {
749
+ str += objectToString(value, indent + 1);
750
+ } else if ((0, import_types.isString)(value)) {
751
+ str += (0, import_string.stringIncludesAny)(value, ["\n", "'"]) ? `\`${value}\`` : `'${value}'`;
752
+ } else {
753
+ str += value;
754
+ }
755
+ str += ",\n";
756
+ }
757
+ str += `${spaces}}`;
758
+ return str;
759
+ };
653
760
  var detachFunctionsFromObject = (obj, detached = {}) => {
654
761
  for (const prop in obj) {
655
762
  const objProp = obj[prop];
@@ -720,6 +827,16 @@ var require_object = __commonJS({
720
827
  }
721
828
  return stringified;
722
829
  };
830
+ var stringToObject = (str) => {
831
+ let obj;
832
+ try {
833
+ obj = import_globals3.window.eval("(" + str + ")");
834
+ } catch (e) {
835
+ console.warn(e);
836
+ }
837
+ if (obj)
838
+ return obj;
839
+ };
723
840
  var diffObjects = (original, objToDiff, cache) => {
724
841
  for (const e in objToDiff) {
725
842
  if (e === "ref")
@@ -765,7 +882,7 @@ var require_object = __commonJS({
765
882
  const { ref } = element;
766
883
  const changes = {};
767
884
  for (const e in params) {
768
- if (excludeFrom.includes(e) || e.includes("__"))
885
+ if (excludeFrom.includes(e) || e.startsWith("__"))
769
886
  continue;
770
887
  const elementProp = element[e];
771
888
  const paramsProp = params[e];
@@ -778,7 +895,7 @@ var require_object = __commonJS({
778
895
  };
779
896
  var overwriteShallow = (obj, params, excludeFrom = []) => {
780
897
  for (const e in params) {
781
- if (excludeFrom.includes(e) || e.includes("__"))
898
+ if (excludeFrom.includes(e) || e.startsWith("__"))
782
899
  continue;
783
900
  obj[e] = params[e];
784
901
  }
@@ -786,7 +903,7 @@ var require_object = __commonJS({
786
903
  };
787
904
  var overwriteDeep2 = (obj, params, excludeFrom = []) => {
788
905
  for (const e in params) {
789
- if (excludeFrom.includes(e) || e.includes("__"))
906
+ if (excludeFrom.includes(e) || e.startsWith("__"))
790
907
  continue;
791
908
  const objProp = obj[e];
792
909
  const paramsProp = params[e];
@@ -967,6 +1084,7 @@ var require_cjs4 = __commonJS({
967
1084
  __reExport(utils_exports, require_array(), module2.exports);
968
1085
  __reExport(utils_exports, require_node(), module2.exports);
969
1086
  __reExport(utils_exports, require_log(), module2.exports);
1087
+ __reExport(utils_exports, require_string(), module2.exports);
970
1088
  }
971
1089
  });
972
1090
 
@@ -983,7 +1101,7 @@ __export(transforms_exports, {
983
1101
  transfromGap: () => transfromGap
984
1102
  });
985
1103
  module.exports = __toCommonJS(transforms_exports);
986
- var import_utils25 = __toESM(require_cjs4(), 1);
1104
+ var import_utils26 = __toESM(require_cjs4(), 1);
987
1105
 
988
1106
  // src/factory.js
989
1107
  var import_utils = __toESM(require_cjs4(), 1);
@@ -1205,10 +1323,11 @@ var getActiveConfig = (def) => {
1205
1323
  };
1206
1324
 
1207
1325
  // src/system/color.js
1208
- var import_utils8 = __toESM(require_cjs4(), 1);
1326
+ var import_utils9 = __toESM(require_cjs4(), 1);
1209
1327
 
1210
1328
  // src/utils/color.js
1211
1329
  var import_globals = __toESM(require_cjs3(), 1);
1330
+ var import_utils2 = __toESM(require_cjs4(), 1);
1212
1331
  var hexToRgbArray = (hex, alpha = 1) => {
1213
1332
  const [r, g, b] = hex.match(/\w\w/g).map((x) => parseInt(x, 16));
1214
1333
  return [r, g, b];
@@ -1244,17 +1363,35 @@ var getColorShade = (col, amt) => {
1244
1363
  g = 255;
1245
1364
  else if (g < 0)
1246
1365
  g = 0;
1247
- return (g | b << 8 | r << 16).toString(16);
1366
+ return ((g | b << 8 | r << 16) + 16777216).toString(16).slice(1);
1367
+ };
1368
+ var getRgbTone = (rgb, tone) => {
1369
+ if ((0, import_utils2.isString)(rgb))
1370
+ rgb = rgb.split(", ").map((v) => parseFloat(v));
1371
+ if ((0, import_utils2.isNumber)(tone))
1372
+ tone += "";
1373
+ const toHex = rgbArrayToHex(rgb);
1374
+ const abs = tone.slice(0, 1);
1375
+ if (abs === "-" || abs === "+") {
1376
+ const colorShade = getColorShade(toHex, parseFloat(tone));
1377
+ return hexToRgbArray(colorShade).join(", ");
1378
+ } else {
1379
+ const [r, g, b] = rgb;
1380
+ const hsl = rgbToHSL(r, g, b);
1381
+ const [h, s, l] = hsl;
1382
+ const newRgb = hslToRgb(h, s, parseFloat(tone) / 100 * 255);
1383
+ return newRgb;
1384
+ }
1248
1385
  };
1249
1386
 
1250
1387
  // src/utils/sequence.js
1251
- var import_utils4 = __toESM(require_cjs4(), 1);
1388
+ var import_utils5 = __toESM(require_cjs4(), 1);
1252
1389
 
1253
1390
  // ../utils/src/index.js
1254
- var import_utils3 = __toESM(require_cjs4());
1391
+ var import_utils4 = __toESM(require_cjs4());
1255
1392
 
1256
1393
  // ../utils/src/scaling.js
1257
- var import_utils2 = __toESM(require_cjs4());
1394
+ var import_utils3 = __toESM(require_cjs4());
1258
1395
 
1259
1396
  // ../utils/src/index.js
1260
1397
  var toCamelCase = (str) => {
@@ -1262,13 +1399,13 @@ var toCamelCase = (str) => {
1262
1399
  return index === 0 ? word.toLowerCase() : word.toUpperCase();
1263
1400
  }).replaceAll(/\s+/g, "");
1264
1401
  };
1265
- var toDashCase = (val) => val.replace(/[A-Z]/g, (match, offset) => (offset > 0 ? "-" : "") + match.toLowerCase()).replace(".", "-");
1402
+ var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
1266
1403
  var arrayzeValue = (val) => {
1267
- if ((0, import_utils3.isString)(val))
1404
+ if ((0, import_utils4.isString)(val))
1268
1405
  return val.split(" ");
1269
- if ((0, import_utils3.isObject)(val))
1406
+ if ((0, import_utils4.isObject)(val))
1270
1407
  return Object.keys(val).map((v) => val[v]);
1271
- if ((0, import_utils3.isArray)(val))
1408
+ if ((0, import_utils4.isArray)(val))
1272
1409
  return val;
1273
1410
  };
1274
1411
 
@@ -1379,7 +1516,7 @@ var getSequenceValue = (value = "A", sequenceProps) => {
1379
1516
  unit = UNIT2.default,
1380
1517
  useVariable
1381
1518
  } = sequenceProps;
1382
- if ((0, import_utils4.isString)(value) && value.slice(0, 2) === "--")
1519
+ if ((0, import_utils5.isString)(value) && value.slice(0, 2) === "--")
1383
1520
  return `var(${value})`;
1384
1521
  const prefix = `--${toDashCase(sequenceProps.type.replace(".", "-"))}-`;
1385
1522
  const startsWithDashOrLetterRegex = /^-?[a-zA-Z]/i;
@@ -1434,15 +1571,15 @@ var getSequenceValuePropertyPair = (value, propertyName, sequenceProps) => {
1434
1571
  };
1435
1572
 
1436
1573
  // src/utils/var.js
1437
- var import_utils6 = __toESM(require_cjs4(), 1);
1574
+ var import_utils7 = __toESM(require_cjs4(), 1);
1438
1575
 
1439
1576
  // src/utils/sprite.js
1440
- var import_utils7 = __toESM(require_cjs4(), 1);
1577
+ var import_utils8 = __toESM(require_cjs4(), 1);
1441
1578
 
1442
1579
  // src/system/color.js
1443
1580
  var getColor = (value, key, config) => {
1444
1581
  const CONFIG2 = config || getActiveConfig();
1445
- if (!(0, import_utils8.isString)(value)) {
1582
+ if (!(0, import_utils9.isString)(value)) {
1446
1583
  if (CONFIG2.verbose)
1447
1584
  console.warn(value, "- type for color is not valid");
1448
1585
  return;
@@ -1451,7 +1588,7 @@ var getColor = (value, key, config) => {
1451
1588
  return `var(${value})`;
1452
1589
  if (key && value[key])
1453
1590
  value = value[key];
1454
- const [name, alpha, tone] = (0, import_utils8.isArray)(value) ? value : value.split(" ");
1591
+ const [name, alpha, tone] = (0, import_utils9.isArray)(value) ? value : value.split(" ");
1455
1592
  const { COLOR: COLOR2, GRADIENT: GRADIENT2 } = CONFIG2;
1456
1593
  let val = COLOR2[name] || GRADIENT2[name];
1457
1594
  if (!val) {
@@ -1466,22 +1603,11 @@ var getColor = (value, key, config) => {
1466
1603
  console.warn(value, " - does not have ", key);
1467
1604
  }
1468
1605
  let rgb = val.rgb;
1469
- if (!rgb)
1606
+ if (!rgb) {
1470
1607
  return CONFIG2.useVariable ? `var(${val.var})` : val.value;
1608
+ }
1471
1609
  if (tone && !val[tone]) {
1472
- const toHex = rgbArrayToHex(rgb.split(", ").map((v) => parseFloat(v)));
1473
- const abs = tone.slice(0, 1);
1474
- if (abs === "-" || abs === "+") {
1475
- rgb = hexToRgbArray(
1476
- getColorShade(toHex, parseFloat(tone))
1477
- ).join(", ");
1478
- } else {
1479
- const [r, g, b] = [...rgb.split(", ").map((v) => parseInt(v))];
1480
- const hsl = rgbToHSL(r, g, b);
1481
- const [h, s, l] = hsl;
1482
- const newRgb = hslToRgb(h, s, parseFloat(tone) / 100 * 255);
1483
- rgb = newRgb;
1484
- }
1610
+ rgb = getRgbTone(rgb, tone);
1485
1611
  val[tone] = { rgb, var: `${val.var}-${tone}` };
1486
1612
  }
1487
1613
  if (val[tone])
@@ -1494,17 +1620,17 @@ var getMediaColor = (value, globalTheme, config) => {
1494
1620
  const CONFIG2 = config || getActiveConfig();
1495
1621
  if (!globalTheme)
1496
1622
  globalTheme = CONFIG2.globalTheme;
1497
- if (!(0, import_utils8.isString)(value)) {
1623
+ if (!(0, import_utils9.isString)(value)) {
1498
1624
  if (CONFIG2.verbose)
1499
1625
  console.warn(value, "- type for color is not valid");
1500
1626
  return;
1501
1627
  }
1502
1628
  if (value.slice(0, 2) === "--")
1503
1629
  return `var(${value})`;
1504
- const [name] = (0, import_utils8.isArray)(value) ? value : value.split(" ");
1630
+ const [name] = (0, import_utils9.isArray)(value) ? value : value.split(" ");
1505
1631
  const { COLOR: COLOR2, GRADIENT: GRADIENT2 } = CONFIG2;
1506
1632
  const val = COLOR2[name] || GRADIENT2[name];
1507
- const isObj = (0, import_utils8.isObject)(val);
1633
+ const isObj = (0, import_utils9.isObject)(val);
1508
1634
  if (isObj && val.value)
1509
1635
  return getColor(value, `@${globalTheme}`, config);
1510
1636
  else if (isObj) {
@@ -1527,16 +1653,16 @@ var getMediaColor = (value, globalTheme, config) => {
1527
1653
  };
1528
1654
 
1529
1655
  // src/system/theme.js
1530
- var import_utils10 = __toESM(require_cjs4(), 1);
1656
+ var import_utils11 = __toESM(require_cjs4(), 1);
1531
1657
 
1532
1658
  // src/system/font.js
1533
- var import_utils11 = __toESM(require_cjs4(), 1);
1659
+ var import_utils12 = __toESM(require_cjs4(), 1);
1534
1660
 
1535
1661
  // src/system/typography.js
1536
- var import_utils14 = __toESM(require_cjs4(), 1);
1662
+ var import_utils15 = __toESM(require_cjs4(), 1);
1537
1663
 
1538
1664
  // src/system/spacing.js
1539
- var import_utils17 = __toESM(require_cjs4(), 1);
1665
+ var import_utils18 = __toESM(require_cjs4(), 1);
1540
1666
  var getSequence = (sequenceProps) => {
1541
1667
  const CONFIG2 = getActiveConfig();
1542
1668
  const { SPACING: SPACING2 } = CONFIG2;
@@ -1550,7 +1676,7 @@ var getSpacingByKey = (value, propertyName = "padding", sequenceProps) => {
1550
1676
  const stack = arrayzeValue(value);
1551
1677
  if (!stack)
1552
1678
  return;
1553
- if ((0, import_utils17.isString)(value) && value.includes("calc")) {
1679
+ if ((0, import_utils18.isString)(value) && value.includes("calc")) {
1554
1680
  return { [propertyName]: value };
1555
1681
  }
1556
1682
  if (stack.length > 1) {
@@ -1595,13 +1721,13 @@ var getTimingByKey = (value, property = "timing") => {
1595
1721
  };
1596
1722
 
1597
1723
  // src/system/document.js
1598
- var import_utils21 = __toESM(require_cjs4(), 1);
1724
+ var import_utils22 = __toESM(require_cjs4(), 1);
1599
1725
 
1600
1726
  // src/system/svg.js
1601
1727
  var import_globals2 = __toESM(require_cjs3(), 1);
1602
1728
 
1603
1729
  // src/system/reset.js
1604
- var import_utils24 = __toESM(require_cjs4(), 1);
1730
+ var import_utils25 = __toESM(require_cjs4(), 1);
1605
1731
 
1606
1732
  // src/transforms/index.js
1607
1733
  var isBorderStyle = (str) => [
@@ -1674,7 +1800,7 @@ var transformBackgroundImage = (backgroundImage, globalTheme) => {
1674
1800
  return v;
1675
1801
  }).join(" ");
1676
1802
  };
1677
- var transfromGap = (gap) => (0, import_utils25.isString)(gap) && gap.split(" ").map((v) => getSpacingByKey(v, "gap").gap).join(" ");
1803
+ var transfromGap = (gap) => (0, import_utils26.isString)(gap) && gap.split(" ").map((v) => getSpacingByKey(v, "gap").gap).join(" ");
1678
1804
  var transformTransition = (transition) => {
1679
1805
  const arr = transition.split(" ");
1680
1806
  if (!arr.length)
@@ -1692,7 +1818,7 @@ var transformTransition = (transition) => {
1692
1818
  }).join(" ");
1693
1819
  };
1694
1820
  var transformDuration = (duration, props, propertyName) => {
1695
- if (!(0, import_utils25.isString)(duration))
1821
+ if (!(0, import_utils26.isString)(duration))
1696
1822
  return;
1697
1823
  return duration.split(",").map((v) => getTimingByKey(v).timing || v).join(",");
1698
1824
  };