@symbo.ls/scratch 2.11.237 → 2.11.247

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.
@@ -114,26 +114,6 @@ var FONT_FACE = {};
114
114
  // src/defaultConfig/media.js
115
115
  var MEDIA = {
116
116
  tv: "(min-width: 2780px)",
117
- screenL: "(max-width: 1920px)",
118
- "screenL<": "(min-width: 1920px)",
119
- screenM: "(max-width: 1680px)",
120
- "screenM<": "(min-width: 1680px)",
121
- screenS: "(max-width: 1440px)",
122
- "screenS<": "(min-width: 1440px)",
123
- tabletL: "(max-width: 1366px)",
124
- "tabletL<": "(min-width: 1366px)",
125
- tabletM: "(max-width: 1280px)",
126
- "tabletM<": "(min-width: 1280px)",
127
- tabletS: "(max-width: 1024px)",
128
- "tabletS<": "(min-width: 1024px)",
129
- mobileL: "(max-width: 768px)",
130
- "mobileL<": "(min-width: 768px)",
131
- mobileM: "(max-width: 560px)",
132
- "mobileM<": "(min-width: 560px)",
133
- mobileS: "(max-width: 480px)",
134
- "mobileS<": "(min-width: 480px)",
135
- mobileXS: "(max-width: 375px)",
136
- "mobileXS<": "(min-width: 375px)",
137
117
  light: "(prefers-color-scheme: light)",
138
118
  dark: "(prefers-color-scheme: dark)",
139
119
  print: "print"
@@ -25,26 +25,6 @@ __export(media_exports, {
25
25
  module.exports = __toCommonJS(media_exports);
26
26
  var MEDIA = {
27
27
  tv: "(min-width: 2780px)",
28
- screenL: "(max-width: 1920px)",
29
- "screenL<": "(min-width: 1920px)",
30
- screenM: "(max-width: 1680px)",
31
- "screenM<": "(min-width: 1680px)",
32
- screenS: "(max-width: 1440px)",
33
- "screenS<": "(min-width: 1440px)",
34
- tabletL: "(max-width: 1366px)",
35
- "tabletL<": "(min-width: 1366px)",
36
- tabletM: "(max-width: 1280px)",
37
- "tabletM<": "(min-width: 1280px)",
38
- tabletS: "(max-width: 1024px)",
39
- "tabletS<": "(min-width: 1024px)",
40
- mobileL: "(max-width: 768px)",
41
- "mobileL<": "(min-width: 768px)",
42
- mobileM: "(max-width: 560px)",
43
- "mobileM<": "(min-width: 560px)",
44
- mobileS: "(max-width: 480px)",
45
- "mobileS<": "(min-width: 480px)",
46
- mobileXS: "(max-width: 375px)",
47
- "mobileXS<": "(min-width: 375px)",
48
28
  light: "(prefers-color-scheme: light)",
49
29
  dark: "(prefers-color-scheme: dark)",
50
30
  print: "print"
@@ -407,7 +407,8 @@ var require_string = __commonJS({
407
407
  var string_exports = {};
408
408
  __export2(string_exports, {
409
409
  replaceLiteralsWithObjectFields: () => replaceLiteralsWithObjectFields,
410
- stringIncludesAny: () => stringIncludesAny
410
+ stringIncludesAny: () => stringIncludesAny,
411
+ trimStringFromSymbols: () => trimStringFromSymbols
411
412
  });
412
413
  module2.exports = __toCommonJS2(string_exports);
413
414
  var stringIncludesAny = (str, characters) => {
@@ -418,6 +419,10 @@ var require_string = __commonJS({
418
419
  }
419
420
  return false;
420
421
  };
422
+ var trimStringFromSymbols = (str, characters) => {
423
+ const pattern = new RegExp(`[${characters.join("\\")}]`, "g");
424
+ return str.replace(pattern, "");
425
+ };
421
426
  var brackRegex = /\{\{\s*((?:\.\.\/)+)?([^}\s]+)\s*\}\}/g;
422
427
  var replaceLiteralsWithObjectFields = (str, state) => {
423
428
  if (!str.includes("{{"))
@@ -469,6 +474,7 @@ var require_object = __commonJS({
469
474
  clone: () => clone,
470
475
  deepClone: () => deepClone2,
471
476
  deepCloneExclude: () => deepCloneExclude,
477
+ deepCloneWithExtnd: () => deepCloneWithExtnd,
472
478
  deepContains: () => deepContains,
473
479
  deepDestringify: () => deepDestringify,
474
480
  deepDiff: () => deepDiff,
@@ -599,6 +605,23 @@ var require_object = __commonJS({
599
605
  }
600
606
  return o;
601
607
  };
608
+ var deepCloneWithExtnd = (obj, excludeFrom = [], cleanUndefined = false) => {
609
+ const o = (0, import_types.isArray)(obj) ? [] : {};
610
+ for (const prop in obj) {
611
+ if (prop === "__proto__")
612
+ continue;
613
+ if (excludeFrom.includes(prop) || prop.startsWith("__"))
614
+ continue;
615
+ const objProp = obj[prop];
616
+ if (cleanUndefined && (0, import_types.isUndefined)(objProp))
617
+ continue;
618
+ if ((0, import_types.isObjectLike)(objProp)) {
619
+ o[prop] = deepCloneWithExtnd(objProp, excludeFrom, cleanUndefined);
620
+ } else
621
+ o[prop] = objProp;
622
+ }
623
+ return o;
624
+ };
602
625
  var deepStringify = (obj, stringified = {}) => {
603
626
  for (const prop in obj) {
604
627
  const objProp = obj[prop];
@@ -629,7 +652,7 @@ var require_object = __commonJS({
629
652
  const spaces = " ".repeat(indent);
630
653
  let str = "{\n";
631
654
  for (const [key, value] of Object.entries(obj)) {
632
- const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!"]);
655
+ const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
633
656
  const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
634
657
  str += `${spaces} ${stringedKey}: `;
635
658
  if ((0, import_types.isArray)(value)) {
@@ -1416,26 +1439,6 @@ var FONT_FACE = {};
1416
1439
  // src/defaultConfig/media.js
1417
1440
  var MEDIA = {
1418
1441
  tv: "(min-width: 2780px)",
1419
- screenL: "(max-width: 1920px)",
1420
- "screenL<": "(min-width: 1920px)",
1421
- screenM: "(max-width: 1680px)",
1422
- "screenM<": "(min-width: 1680px)",
1423
- screenS: "(max-width: 1440px)",
1424
- "screenS<": "(min-width: 1440px)",
1425
- tabletL: "(max-width: 1366px)",
1426
- "tabletL<": "(min-width: 1366px)",
1427
- tabletM: "(max-width: 1280px)",
1428
- "tabletM<": "(min-width: 1280px)",
1429
- tabletS: "(max-width: 1024px)",
1430
- "tabletS<": "(min-width: 1024px)",
1431
- mobileL: "(max-width: 768px)",
1432
- "mobileL<": "(min-width: 768px)",
1433
- mobileM: "(max-width: 560px)",
1434
- "mobileM<": "(min-width: 560px)",
1435
- mobileS: "(max-width: 480px)",
1436
- "mobileS<": "(min-width: 480px)",
1437
- mobileXS: "(max-width: 375px)",
1438
- "mobileXS<": "(min-width: 375px)",
1439
1442
  light: "(prefers-color-scheme: light)",
1440
1443
  dark: "(prefers-color-scheme: dark)",
1441
1444
  print: "print"
package/dist/cjs/index.js CHANGED
@@ -248,7 +248,7 @@ var require_types = __commonJS({
248
248
  isFunction: () => isFunction2,
249
249
  isNot: () => isNot,
250
250
  isNull: () => isNull,
251
- isNumber: () => isNumber2,
251
+ isNumber: () => isNumber3,
252
252
  isObject: () => isObject8,
253
253
  isObjectLike: () => isObjectLike3,
254
254
  isString: () => isString10,
@@ -262,7 +262,7 @@ var require_types = __commonJS({
262
262
  return typeof arg === "object" && arg.constructor === Object;
263
263
  };
264
264
  var isString10 = (arg) => typeof arg === "string";
265
- var isNumber2 = (arg) => typeof arg === "number";
265
+ var isNumber3 = (arg) => typeof arg === "number";
266
266
  var isFunction2 = (arg) => typeof arg === "function";
267
267
  var isBoolean = (arg) => arg === true || arg === false;
268
268
  var isNull = (arg) => arg === null;
@@ -274,7 +274,7 @@ var require_types = __commonJS({
274
274
  return typeof arg === "object";
275
275
  };
276
276
  var isDefined2 = (arg) => {
277
- return isObject8(arg) || isObjectLike3(arg) || isString10(arg) || isNumber2(arg) || isFunction2(arg) || isArray8(arg) || isObjectLike3(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
277
+ return isObject8(arg) || isObjectLike3(arg) || isString10(arg) || isNumber3(arg) || isFunction2(arg) || isArray8(arg) || isObjectLike3(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
278
278
  };
279
279
  var isUndefined = (arg) => {
280
280
  return arg === void 0;
@@ -285,7 +285,7 @@ var require_types = __commonJS({
285
285
  object: isObject8,
286
286
  string: isString10,
287
287
  date: isDate,
288
- number: isNumber2,
288
+ number: isNumber3,
289
289
  null: isNull,
290
290
  function: isFunction2,
291
291
  objectLike: isObjectLike3,
@@ -443,7 +443,8 @@ var require_string = __commonJS({
443
443
  var string_exports = {};
444
444
  __export2(string_exports, {
445
445
  replaceLiteralsWithObjectFields: () => replaceLiteralsWithObjectFields,
446
- stringIncludesAny: () => stringIncludesAny
446
+ stringIncludesAny: () => stringIncludesAny,
447
+ trimStringFromSymbols: () => trimStringFromSymbols
447
448
  });
448
449
  module2.exports = __toCommonJS2(string_exports);
449
450
  var stringIncludesAny = (str, characters) => {
@@ -454,6 +455,10 @@ var require_string = __commonJS({
454
455
  }
455
456
  return false;
456
457
  };
458
+ var trimStringFromSymbols = (str, characters) => {
459
+ const pattern = new RegExp(`[${characters.join("\\")}]`, "g");
460
+ return str.replace(pattern, "");
461
+ };
457
462
  var brackRegex = /\{\{\s*((?:\.\.\/)+)?([^}\s]+)\s*\}\}/g;
458
463
  var replaceLiteralsWithObjectFields = (str, state) => {
459
464
  if (!str.includes("{{"))
@@ -505,6 +510,7 @@ var require_object = __commonJS({
505
510
  clone: () => clone,
506
511
  deepClone: () => deepClone2,
507
512
  deepCloneExclude: () => deepCloneExclude,
513
+ deepCloneWithExtnd: () => deepCloneWithExtnd,
508
514
  deepContains: () => deepContains,
509
515
  deepDestringify: () => deepDestringify,
510
516
  deepDiff: () => deepDiff,
@@ -635,6 +641,23 @@ var require_object = __commonJS({
635
641
  }
636
642
  return o;
637
643
  };
644
+ var deepCloneWithExtnd = (obj, excludeFrom = [], cleanUndefined = false) => {
645
+ const o = (0, import_types.isArray)(obj) ? [] : {};
646
+ for (const prop in obj) {
647
+ if (prop === "__proto__")
648
+ continue;
649
+ if (excludeFrom.includes(prop) || prop.startsWith("__"))
650
+ continue;
651
+ const objProp = obj[prop];
652
+ if (cleanUndefined && (0, import_types.isUndefined)(objProp))
653
+ continue;
654
+ if ((0, import_types.isObjectLike)(objProp)) {
655
+ o[prop] = deepCloneWithExtnd(objProp, excludeFrom, cleanUndefined);
656
+ } else
657
+ o[prop] = objProp;
658
+ }
659
+ return o;
660
+ };
638
661
  var deepStringify = (obj, stringified = {}) => {
639
662
  for (const prop in obj) {
640
663
  const objProp = obj[prop];
@@ -665,7 +688,7 @@ var require_object = __commonJS({
665
688
  const spaces = " ".repeat(indent);
666
689
  let str = "{\n";
667
690
  for (const [key, value] of Object.entries(obj)) {
668
- const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!"]);
691
+ const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
669
692
  const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
670
693
  str += `${spaces} ${stringedKey}: `;
671
694
  if ((0, import_types.isArray)(value)) {
@@ -1742,6 +1765,8 @@ var arrayzeValue = (val) => {
1742
1765
  return val.split(" ");
1743
1766
  if ((0, import_utils3.isObject)(val))
1744
1767
  return Object.keys(val).map((v) => val[v]);
1768
+ if ((0, import_utils3.isNumber)(val))
1769
+ return [val];
1745
1770
  if ((0, import_utils3.isArray)(val))
1746
1771
  return val;
1747
1772
  };
@@ -1845,26 +1870,6 @@ var FONT_FACE = {};
1845
1870
  // src/defaultConfig/media.js
1846
1871
  var MEDIA = {
1847
1872
  tv: "(min-width: 2780px)",
1848
- screenL: "(max-width: 1920px)",
1849
- "screenL<": "(min-width: 1920px)",
1850
- screenM: "(max-width: 1680px)",
1851
- "screenM<": "(min-width: 1680px)",
1852
- screenS: "(max-width: 1440px)",
1853
- "screenS<": "(min-width: 1440px)",
1854
- tabletL: "(max-width: 1366px)",
1855
- "tabletL<": "(min-width: 1366px)",
1856
- tabletM: "(max-width: 1280px)",
1857
- "tabletM<": "(min-width: 1280px)",
1858
- tabletS: "(max-width: 1024px)",
1859
- "tabletS<": "(min-width: 1024px)",
1860
- mobileL: "(max-width: 768px)",
1861
- "mobileL<": "(min-width: 768px)",
1862
- mobileM: "(max-width: 560px)",
1863
- "mobileM<": "(min-width: 560px)",
1864
- mobileS: "(max-width: 480px)",
1865
- "mobileS<": "(min-width: 480px)",
1866
- mobileXS: "(max-width: 375px)",
1867
- "mobileXS<": "(min-width: 375px)",
1868
1873
  light: "(prefers-color-scheme: light)",
1869
1874
  dark: "(prefers-color-scheme: dark)",
1870
1875
  print: "print"
package/dist/cjs/set.js CHANGED
@@ -212,7 +212,7 @@ var require_types = __commonJS({
212
212
  isFunction: () => isFunction2,
213
213
  isNot: () => isNot,
214
214
  isNull: () => isNull,
215
- isNumber: () => isNumber2,
215
+ isNumber: () => isNumber3,
216
216
  isObject: () => isObject8,
217
217
  isObjectLike: () => isObjectLike3,
218
218
  isString: () => isString9,
@@ -226,7 +226,7 @@ var require_types = __commonJS({
226
226
  return typeof arg === "object" && arg.constructor === Object;
227
227
  };
228
228
  var isString9 = (arg) => typeof arg === "string";
229
- var isNumber2 = (arg) => typeof arg === "number";
229
+ var isNumber3 = (arg) => typeof arg === "number";
230
230
  var isFunction2 = (arg) => typeof arg === "function";
231
231
  var isBoolean = (arg) => arg === true || arg === false;
232
232
  var isNull = (arg) => arg === null;
@@ -238,7 +238,7 @@ var require_types = __commonJS({
238
238
  return typeof arg === "object";
239
239
  };
240
240
  var isDefined2 = (arg) => {
241
- return isObject8(arg) || isObjectLike3(arg) || isString9(arg) || isNumber2(arg) || isFunction2(arg) || isArray8(arg) || isObjectLike3(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
241
+ return isObject8(arg) || isObjectLike3(arg) || isString9(arg) || isNumber3(arg) || isFunction2(arg) || isArray8(arg) || isObjectLike3(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
242
242
  };
243
243
  var isUndefined = (arg) => {
244
244
  return arg === void 0;
@@ -249,7 +249,7 @@ var require_types = __commonJS({
249
249
  object: isObject8,
250
250
  string: isString9,
251
251
  date: isDate,
252
- number: isNumber2,
252
+ number: isNumber3,
253
253
  null: isNull,
254
254
  function: isFunction2,
255
255
  objectLike: isObjectLike3,
@@ -407,7 +407,8 @@ var require_string = __commonJS({
407
407
  var string_exports = {};
408
408
  __export2(string_exports, {
409
409
  replaceLiteralsWithObjectFields: () => replaceLiteralsWithObjectFields,
410
- stringIncludesAny: () => stringIncludesAny
410
+ stringIncludesAny: () => stringIncludesAny,
411
+ trimStringFromSymbols: () => trimStringFromSymbols
411
412
  });
412
413
  module2.exports = __toCommonJS2(string_exports);
413
414
  var stringIncludesAny = (str, characters) => {
@@ -418,6 +419,10 @@ var require_string = __commonJS({
418
419
  }
419
420
  return false;
420
421
  };
422
+ var trimStringFromSymbols = (str, characters) => {
423
+ const pattern = new RegExp(`[${characters.join("\\")}]`, "g");
424
+ return str.replace(pattern, "");
425
+ };
421
426
  var brackRegex = /\{\{\s*((?:\.\.\/)+)?([^}\s]+)\s*\}\}/g;
422
427
  var replaceLiteralsWithObjectFields = (str, state) => {
423
428
  if (!str.includes("{{"))
@@ -469,6 +474,7 @@ var require_object = __commonJS({
469
474
  clone: () => clone,
470
475
  deepClone: () => deepClone2,
471
476
  deepCloneExclude: () => deepCloneExclude,
477
+ deepCloneWithExtnd: () => deepCloneWithExtnd,
472
478
  deepContains: () => deepContains,
473
479
  deepDestringify: () => deepDestringify,
474
480
  deepDiff: () => deepDiff,
@@ -599,6 +605,23 @@ var require_object = __commonJS({
599
605
  }
600
606
  return o;
601
607
  };
608
+ var deepCloneWithExtnd = (obj, excludeFrom = [], cleanUndefined = false) => {
609
+ const o = (0, import_types.isArray)(obj) ? [] : {};
610
+ for (const prop in obj) {
611
+ if (prop === "__proto__")
612
+ continue;
613
+ if (excludeFrom.includes(prop) || prop.startsWith("__"))
614
+ continue;
615
+ const objProp = obj[prop];
616
+ if (cleanUndefined && (0, import_types.isUndefined)(objProp))
617
+ continue;
618
+ if ((0, import_types.isObjectLike)(objProp)) {
619
+ o[prop] = deepCloneWithExtnd(objProp, excludeFrom, cleanUndefined);
620
+ } else
621
+ o[prop] = objProp;
622
+ }
623
+ return o;
624
+ };
602
625
  var deepStringify = (obj, stringified = {}) => {
603
626
  for (const prop in obj) {
604
627
  const objProp = obj[prop];
@@ -629,7 +652,7 @@ var require_object = __commonJS({
629
652
  const spaces = " ".repeat(indent);
630
653
  let str = "{\n";
631
654
  for (const [key, value] of Object.entries(obj)) {
632
- const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!"]);
655
+ const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
633
656
  const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
634
657
  str += `${spaces} ${stringedKey}: `;
635
658
  if ((0, import_types.isArray)(value)) {
@@ -1452,26 +1475,6 @@ var FONT_FACE = {};
1452
1475
  // src/defaultConfig/media.js
1453
1476
  var MEDIA = {
1454
1477
  tv: "(min-width: 2780px)",
1455
- screenL: "(max-width: 1920px)",
1456
- "screenL<": "(min-width: 1920px)",
1457
- screenM: "(max-width: 1680px)",
1458
- "screenM<": "(min-width: 1680px)",
1459
- screenS: "(max-width: 1440px)",
1460
- "screenS<": "(min-width: 1440px)",
1461
- tabletL: "(max-width: 1366px)",
1462
- "tabletL<": "(min-width: 1366px)",
1463
- tabletM: "(max-width: 1280px)",
1464
- "tabletM<": "(min-width: 1280px)",
1465
- tabletS: "(max-width: 1024px)",
1466
- "tabletS<": "(min-width: 1024px)",
1467
- mobileL: "(max-width: 768px)",
1468
- "mobileL<": "(min-width: 768px)",
1469
- mobileM: "(max-width: 560px)",
1470
- "mobileM<": "(min-width: 560px)",
1471
- mobileS: "(max-width: 480px)",
1472
- "mobileS<": "(min-width: 480px)",
1473
- mobileXS: "(max-width: 375px)",
1474
- "mobileXS<": "(min-width: 375px)",
1475
1478
  light: "(prefers-color-scheme: light)",
1476
1479
  dark: "(prefers-color-scheme: dark)",
1477
1480
  print: "print"
@@ -1738,6 +1741,8 @@ var arrayzeValue = (val) => {
1738
1741
  return val.split(" ");
1739
1742
  if ((0, import_utils4.isObject)(val))
1740
1743
  return Object.keys(val).map((v) => val[v]);
1744
+ if ((0, import_utils4.isNumber)(val))
1745
+ return [val];
1741
1746
  if ((0, import_utils4.isArray)(val))
1742
1747
  return val;
1743
1748
  };
@@ -212,7 +212,7 @@ var require_types = __commonJS({
212
212
  isFunction: () => isFunction,
213
213
  isNot: () => isNot,
214
214
  isNull: () => isNull,
215
- isNumber: () => isNumber2,
215
+ isNumber: () => isNumber3,
216
216
  isObject: () => isObject5,
217
217
  isObjectLike: () => isObjectLike2,
218
218
  isString: () => isString6,
@@ -226,7 +226,7 @@ var require_types = __commonJS({
226
226
  return typeof arg === "object" && arg.constructor === Object;
227
227
  };
228
228
  var isString6 = (arg) => typeof arg === "string";
229
- var isNumber2 = (arg) => typeof arg === "number";
229
+ var isNumber3 = (arg) => typeof arg === "number";
230
230
  var isFunction = (arg) => typeof arg === "function";
231
231
  var isBoolean = (arg) => arg === true || arg === false;
232
232
  var isNull = (arg) => arg === null;
@@ -238,7 +238,7 @@ var require_types = __commonJS({
238
238
  return typeof arg === "object";
239
239
  };
240
240
  var isDefined2 = (arg) => {
241
- return isObject5(arg) || isObjectLike2(arg) || isString6(arg) || isNumber2(arg) || isFunction(arg) || isArray5(arg) || isObjectLike2(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
241
+ return isObject5(arg) || isObjectLike2(arg) || isString6(arg) || isNumber3(arg) || isFunction(arg) || isArray5(arg) || isObjectLike2(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
242
242
  };
243
243
  var isUndefined = (arg) => {
244
244
  return arg === void 0;
@@ -249,7 +249,7 @@ var require_types = __commonJS({
249
249
  object: isObject5,
250
250
  string: isString6,
251
251
  date: isDate,
252
- number: isNumber2,
252
+ number: isNumber3,
253
253
  null: isNull,
254
254
  function: isFunction,
255
255
  objectLike: isObjectLike2,
@@ -407,7 +407,8 @@ var require_string = __commonJS({
407
407
  var string_exports = {};
408
408
  __export2(string_exports, {
409
409
  replaceLiteralsWithObjectFields: () => replaceLiteralsWithObjectFields,
410
- stringIncludesAny: () => stringIncludesAny
410
+ stringIncludesAny: () => stringIncludesAny,
411
+ trimStringFromSymbols: () => trimStringFromSymbols
411
412
  });
412
413
  module2.exports = __toCommonJS2(string_exports);
413
414
  var stringIncludesAny = (str, characters) => {
@@ -418,6 +419,10 @@ var require_string = __commonJS({
418
419
  }
419
420
  return false;
420
421
  };
422
+ var trimStringFromSymbols = (str, characters) => {
423
+ const pattern = new RegExp(`[${characters.join("\\")}]`, "g");
424
+ return str.replace(pattern, "");
425
+ };
421
426
  var brackRegex = /\{\{\s*((?:\.\.\/)+)?([^}\s]+)\s*\}\}/g;
422
427
  var replaceLiteralsWithObjectFields = (str, state) => {
423
428
  if (!str.includes("{{"))
@@ -469,6 +474,7 @@ var require_object = __commonJS({
469
474
  clone: () => clone,
470
475
  deepClone: () => deepClone2,
471
476
  deepCloneExclude: () => deepCloneExclude,
477
+ deepCloneWithExtnd: () => deepCloneWithExtnd,
472
478
  deepContains: () => deepContains,
473
479
  deepDestringify: () => deepDestringify,
474
480
  deepDiff: () => deepDiff,
@@ -599,6 +605,23 @@ var require_object = __commonJS({
599
605
  }
600
606
  return o;
601
607
  };
608
+ var deepCloneWithExtnd = (obj, excludeFrom = [], cleanUndefined = false) => {
609
+ const o = (0, import_types.isArray)(obj) ? [] : {};
610
+ for (const prop in obj) {
611
+ if (prop === "__proto__")
612
+ continue;
613
+ if (excludeFrom.includes(prop) || prop.startsWith("__"))
614
+ continue;
615
+ const objProp = obj[prop];
616
+ if (cleanUndefined && (0, import_types.isUndefined)(objProp))
617
+ continue;
618
+ if ((0, import_types.isObjectLike)(objProp)) {
619
+ o[prop] = deepCloneWithExtnd(objProp, excludeFrom, cleanUndefined);
620
+ } else
621
+ o[prop] = objProp;
622
+ }
623
+ return o;
624
+ };
602
625
  var deepStringify = (obj, stringified = {}) => {
603
626
  for (const prop in obj) {
604
627
  const objProp = obj[prop];
@@ -629,7 +652,7 @@ var require_object = __commonJS({
629
652
  const spaces = " ".repeat(indent);
630
653
  let str = "{\n";
631
654
  for (const [key, value] of Object.entries(obj)) {
632
- const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!"]);
655
+ const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
633
656
  const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
634
657
  str += `${spaces} ${stringedKey}: `;
635
658
  if ((0, import_types.isArray)(value)) {
@@ -1453,26 +1476,6 @@ var FONT_FACE = {};
1453
1476
  // src/defaultConfig/media.js
1454
1477
  var MEDIA = {
1455
1478
  tv: "(min-width: 2780px)",
1456
- screenL: "(max-width: 1920px)",
1457
- "screenL<": "(min-width: 1920px)",
1458
- screenM: "(max-width: 1680px)",
1459
- "screenM<": "(min-width: 1680px)",
1460
- screenS: "(max-width: 1440px)",
1461
- "screenS<": "(min-width: 1440px)",
1462
- tabletL: "(max-width: 1366px)",
1463
- "tabletL<": "(min-width: 1366px)",
1464
- tabletM: "(max-width: 1280px)",
1465
- "tabletM<": "(min-width: 1280px)",
1466
- tabletS: "(max-width: 1024px)",
1467
- "tabletS<": "(min-width: 1024px)",
1468
- mobileL: "(max-width: 768px)",
1469
- "mobileL<": "(min-width: 768px)",
1470
- mobileM: "(max-width: 560px)",
1471
- "mobileM<": "(min-width: 560px)",
1472
- mobileS: "(max-width: 480px)",
1473
- "mobileS<": "(min-width: 480px)",
1474
- mobileXS: "(max-width: 375px)",
1475
- "mobileXS<": "(min-width: 375px)",
1476
1479
  light: "(prefers-color-scheme: light)",
1477
1480
  dark: "(prefers-color-scheme: dark)",
1478
1481
  print: "print"
@@ -212,7 +212,7 @@ var require_types = __commonJS({
212
212
  isFunction: () => isFunction,
213
213
  isNot: () => isNot,
214
214
  isNull: () => isNull,
215
- isNumber: () => isNumber2,
215
+ isNumber: () => isNumber3,
216
216
  isObject: () => isObject4,
217
217
  isObjectLike: () => isObjectLike2,
218
218
  isString: () => isString5,
@@ -226,7 +226,7 @@ var require_types = __commonJS({
226
226
  return typeof arg === "object" && arg.constructor === Object;
227
227
  };
228
228
  var isString5 = (arg) => typeof arg === "string";
229
- var isNumber2 = (arg) => typeof arg === "number";
229
+ var isNumber3 = (arg) => typeof arg === "number";
230
230
  var isFunction = (arg) => typeof arg === "function";
231
231
  var isBoolean = (arg) => arg === true || arg === false;
232
232
  var isNull = (arg) => arg === null;
@@ -238,7 +238,7 @@ var require_types = __commonJS({
238
238
  return typeof arg === "object";
239
239
  };
240
240
  var isDefined2 = (arg) => {
241
- return isObject4(arg) || isObjectLike2(arg) || isString5(arg) || isNumber2(arg) || isFunction(arg) || isArray4(arg) || isObjectLike2(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
241
+ return isObject4(arg) || isObjectLike2(arg) || isString5(arg) || isNumber3(arg) || isFunction(arg) || isArray4(arg) || isObjectLike2(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
242
242
  };
243
243
  var isUndefined = (arg) => {
244
244
  return arg === void 0;
@@ -249,7 +249,7 @@ var require_types = __commonJS({
249
249
  object: isObject4,
250
250
  string: isString5,
251
251
  date: isDate,
252
- number: isNumber2,
252
+ number: isNumber3,
253
253
  null: isNull,
254
254
  function: isFunction,
255
255
  objectLike: isObjectLike2,
@@ -407,7 +407,8 @@ var require_string = __commonJS({
407
407
  var string_exports = {};
408
408
  __export2(string_exports, {
409
409
  replaceLiteralsWithObjectFields: () => replaceLiteralsWithObjectFields,
410
- stringIncludesAny: () => stringIncludesAny
410
+ stringIncludesAny: () => stringIncludesAny,
411
+ trimStringFromSymbols: () => trimStringFromSymbols
411
412
  });
412
413
  module2.exports = __toCommonJS2(string_exports);
413
414
  var stringIncludesAny = (str, characters) => {
@@ -418,6 +419,10 @@ var require_string = __commonJS({
418
419
  }
419
420
  return false;
420
421
  };
422
+ var trimStringFromSymbols = (str, characters) => {
423
+ const pattern = new RegExp(`[${characters.join("\\")}]`, "g");
424
+ return str.replace(pattern, "");
425
+ };
421
426
  var brackRegex = /\{\{\s*((?:\.\.\/)+)?([^}\s]+)\s*\}\}/g;
422
427
  var replaceLiteralsWithObjectFields = (str, state) => {
423
428
  if (!str.includes("{{"))
@@ -469,6 +474,7 @@ var require_object = __commonJS({
469
474
  clone: () => clone,
470
475
  deepClone: () => deepClone2,
471
476
  deepCloneExclude: () => deepCloneExclude,
477
+ deepCloneWithExtnd: () => deepCloneWithExtnd,
472
478
  deepContains: () => deepContains,
473
479
  deepDestringify: () => deepDestringify,
474
480
  deepDiff: () => deepDiff,
@@ -599,6 +605,23 @@ var require_object = __commonJS({
599
605
  }
600
606
  return o;
601
607
  };
608
+ var deepCloneWithExtnd = (obj, excludeFrom = [], cleanUndefined = false) => {
609
+ const o = (0, import_types.isArray)(obj) ? [] : {};
610
+ for (const prop in obj) {
611
+ if (prop === "__proto__")
612
+ continue;
613
+ if (excludeFrom.includes(prop) || prop.startsWith("__"))
614
+ continue;
615
+ const objProp = obj[prop];
616
+ if (cleanUndefined && (0, import_types.isUndefined)(objProp))
617
+ continue;
618
+ if ((0, import_types.isObjectLike)(objProp)) {
619
+ o[prop] = deepCloneWithExtnd(objProp, excludeFrom, cleanUndefined);
620
+ } else
621
+ o[prop] = objProp;
622
+ }
623
+ return o;
624
+ };
602
625
  var deepStringify = (obj, stringified = {}) => {
603
626
  for (const prop in obj) {
604
627
  const objProp = obj[prop];
@@ -629,7 +652,7 @@ var require_object = __commonJS({
629
652
  const spaces = " ".repeat(indent);
630
653
  let str = "{\n";
631
654
  for (const [key, value] of Object.entries(obj)) {
632
- const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!"]);
655
+ const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
633
656
  const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
634
657
  str += `${spaces} ${stringedKey}: `;
635
658
  if ((0, import_types.isArray)(value)) {
@@ -1450,26 +1473,6 @@ var FONT_FACE = {};
1450
1473
  // src/defaultConfig/media.js
1451
1474
  var MEDIA = {
1452
1475
  tv: "(min-width: 2780px)",
1453
- screenL: "(max-width: 1920px)",
1454
- "screenL<": "(min-width: 1920px)",
1455
- screenM: "(max-width: 1680px)",
1456
- "screenM<": "(min-width: 1680px)",
1457
- screenS: "(max-width: 1440px)",
1458
- "screenS<": "(min-width: 1440px)",
1459
- tabletL: "(max-width: 1366px)",
1460
- "tabletL<": "(min-width: 1366px)",
1461
- tabletM: "(max-width: 1280px)",
1462
- "tabletM<": "(min-width: 1280px)",
1463
- tabletS: "(max-width: 1024px)",
1464
- "tabletS<": "(min-width: 1024px)",
1465
- mobileL: "(max-width: 768px)",
1466
- "mobileL<": "(min-width: 768px)",
1467
- mobileM: "(max-width: 560px)",
1468
- "mobileM<": "(min-width: 560px)",
1469
- mobileS: "(max-width: 480px)",
1470
- "mobileS<": "(min-width: 480px)",
1471
- mobileXS: "(max-width: 375px)",
1472
- "mobileXS<": "(min-width: 375px)",
1473
1476
  light: "(prefers-color-scheme: light)",
1474
1477
  dark: "(prefers-color-scheme: dark)",
1475
1478
  print: "print"